/* 🌙 Global Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: 'Poppins', sans-serif;
    background-color: #121212;
    color: #FFFFFF;
    overflow: hidden !important;  /* Bloqueia scroll horizontal e vertical */
    height: 100vh;
}

/* 🌄 Tela Inicial */
#start-screen {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background-color: #121212;
    color: #FFFFFF;
}

#trust-banner {
    width: 80%;
    max-width: 600px;
    border-radius: 6px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

#start-button {
    padding: 15px 30px;
    background-color: #E50914;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#start-button:hover {
    background-color: #B20710;
    transform: scale(1.05);
}






/* 🔒 Hide inactive screens */
.hidden {
    display: none !important;
}

/* 🚀 Progress Bar */
.progress-container {
    width: 100%;
    height: 6px;
    background-color: #333;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background-color: #E50914;
    transition: width 0.4s ease;
}

/* 🎥 Full-Screen Video Styling */
#intro-video-screen video, #celebration-video-screen video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

/* ⏯️ Button Over Video */
#intro-video-screen button {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 30px;
    background-color: rgba(229, 9, 20, 0.9);
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: none;
    z-index: 20;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#intro-video-screen button:hover {
    background-color: rgba(178, 7, 16, 0.9);
    transform: scale(1.1);
}

/* 📝 Input Field Styling */
input[type="text"] {
    width: 80%;
    padding: 15px;
    margin-top: 10px;
    border-radius: 6px;
    border: 1px solid #333;
    background-color: #1F1F1F;
    color: #FFFFFF;
    font-size: 16px;
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* 📦 Checkbox Options */
.checkbox-option {
    background-color: #1F1F1F;
    border: 2px solid #333;
    padding: 15px 20px;
    margin: 10px auto;
    border-radius: 6px;
    display: flex;
    align-items: center;
    width: 80%;
    max-width: 350px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.checkbox-option:hover {
    border-color: #E50914;
    background-color: #292929;
}

.checkbox-option.checked {
    border-color: #E50914;
    background-color: #292929;
    transform: scale(1.02);
}

.checkbox-option input[type="checkbox"] {
    display: none;
}

/* 🔘 General Button Styles */
button {
    background-color: #E50914;
    color: #FFFFFF;
    padding: 15px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    width: 80%;
    max-width: 300px;
    display: block;
    margin: 20px auto;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #B20710;
    transform: scale(1.05);
}

/* 🚀 Video Progress Bar */
#video-progress-container {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
}

.progress-bar-segment {
    flex: 1;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    transition: background-color 0.4s;
}

.progress-bar-segment.completed {
    background-color: #E50914;
}

/* 📱 Responsive Design */
@media (max-width: 600px) {
    button {
        width: 90%;
        font-size: 14px;
    }

    input[type="text"] {
        width: 90%;
    }

    .checkbox-option {
        width: 90%;
    }
}

/* 📝 Summary Section */
#summary-content {
    font-size: 18px;
    line-height: 1.6;
    text-align: left;
    max-width: 500px;
    margin: 20px auto;
    background-color: #1F1F1F;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

/* ✅ Screen Layout */
.screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    overflow: hidden;  /* 🔒 Impede rolagem interna */
    background-color: #121212;
    color: #FFFFFF;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

/* 🎥 Personalized Videos */
#video-container video {
    width: 100%;
    max-width: 600px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.carousel {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-slide {
    display: none;
    text-align: center;
    background-color: #1F1F1F;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    width: 80%;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 60%;
    border-radius: 10px;
    margin-bottom: 10px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background-color: #E50914;
}

button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #E50914;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #B20710;
}

    /* 🟥 Story-like Progress Bar */
#video-progress-container {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
}

.progress-bar-segment {
    flex: 1;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    transition: background-color 0.4s;
}

.progress-bar-segment.completed {
    background-color: #E50914;
}

/* 📱 Full-Screen Video Styling */
#video-container video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    cursor: pointer;
}


#celebration-video-screen {
    position: relative;
}

#celebration-button {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 30px;
    background-color: rgba(229, 9, 20, 0.9);
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#celebration-button:hover {
    background-color: rgba(178, 7, 16, 0.9);
    transform: scale(1.05);
}

#celebration-video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

