:root {
    --primary-color: #007BFF; /* Azul mais vibrante do selo */
    --secondary-color: #4C82F7; /* Azul secundário */
    --accent-color: #EF4135; /* Vermelho da Roleta */
    --background-start: #1D2A4A;
    --background-end: #131A33;
    --surface-color: rgba(255, 255, 255, 0.04);
    --surface-hover: rgba(255, 255, 255, 0.08);
    --text-color: #C0D0F0;
    --heading-color: #ffffff;
    --border-color: rgba(76, 130, 247, 0.25);
    --shadow-color: rgba(0, 0, 0, 0.5);
    --font-family: 'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--background-end);
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* --- Animations --- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(76, 130, 247, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 35px rgba(76, 130, 247, 0.7); }
}

/* --- General --- */
.text-gradient {
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 4rem;
    color: var(--heading-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.4);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(76, 130, 247, 0.5);
}

.cta-button i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* --- Header --- */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 10px;
    background: rgba(15, 12, 41, 0.6);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    animation: fadeIn 1s ease-in-out;
}

.header .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-campaign-info {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-color);
}

.campaign-dates {
    background: var(--primary-color);
    padding: 10px;
    border-radius: 20px;
    font-weight: 700;
    color: white;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
    white-space: nowrap;
    
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 8rem;
    overflow: hidden;
    background-image: url('public/img/bg-header.jpg');
    background-size: cover;
    background-position: center;
}

.hero-background-effects {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: 
        radial-gradient(circle at 15% 25%, rgba(76, 130, 247, 0.3), transparent 50%),
        radial-gradient(circle at 85% 65%, rgba(19, 26, 51, 0.8), transparent 50%),
        linear-gradient(to top, var(--background-end) 0%, rgba(19, 26, 51, 0.5) 100%);
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.hero-seal-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInUp 1s ease-out;
}

.hero-text {
    animation: slideInUp 1s ease-out 0.2s backwards;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
}

.hero-seal {
    width: 100%;
    max-width: 450px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5));
}

.hero-headline {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 500;
    line-height: 1.4;
    max-width: 600px;
}

.hero-headline span {
    font-weight: 800;
    font-size: 1.5em; /* Aumenta o tamanho relativo ao pai */
    color: #FFD700; /* Cor de ouro para destaque */
    margin: 0 0.25rem;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
    display: inline-block;
    transform: translateY(0.1em); /* Alinhamento vertical fino */
}

.hero-headline .text-gradient {
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-subtitle strong:not(.text-gradient) {
    color: var(--secondary-color);
}

/* --- Roulette (geral) --- */
.roulette-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.roulette-wheel {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    position: relative;
    background-image: url('public/img/roleta.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 0 40px var(--shadow-color), inset 0 0 30px rgba(0,0,0,0.4);
    animation: spin 20s linear infinite;
}

.roulette-wheel::before {
    content: '';
    position: absolute;
    inset: -15px;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    opacity: 0.5;
    animation: pulse 3s infinite ease-in-out;
}

.prize-segment {
    position: absolute;
    width: 100%;
    height: 100%;
    clip-path: polygon(50% 50%, 0% 0%, 100% 0%);
    display: flex;
    justify-content: center;
}

.prize-segment span {
    color: var(--heading-color);
    font-weight: 600;
    text-align: center;
    display: block;
    margin-top: 20px;
    transform: rotate(-90deg); /* Counter-rotate text */
}

.roulette-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20%; /* Proporcional ao tamanho da roleta */
    height: 20%; /* Proporcional ao tamanho da roleta */
    background: linear-gradient(135deg, #4d4d4d, #2b2b2b);
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.7), 0 5px 15px var(--shadow-color);
}

.roulette-pointer {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 30px solid var(--accent-color);
    z-index: 10;
    filter: drop-shadow(0 -5px 5px var(--shadow-color));
}


/* --- How it works --- */
#como-funciona {
    background: var(--background-start);
    padding-bottom: 8rem;
}

.como-funciona-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.steps-container {
    position: relative;
    max-width: 600px;
    margin: 0;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 25px;
    bottom: 25px;
    left: 20px; /* Alinhado com o centro do ícone */
    width: 4px;
    transform: translateX(-50%);
    background-color: var(--surface-color);
    border-radius: 2px;
}

.vertical-step {
    position: relative;
    margin-bottom: 4rem;
    padding-left: 60px; /* Espaço para o ícone */
    opacity: 0.5;
    transition: opacity 0.5s ease;
}

.vertical-step:last-child {
    margin-bottom: 0;
}

.vertical-step .v-step-icon {
    position: absolute;
    left: 0;
    top: 5px;
    transform: translateX(0); /* Reset transform */
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface-color);
    border: 3px solid var(--surface-hover);
    transition: all 0.4s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vertical-step .v-step-icon::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-color);
    transition: all 0.4s ease;
}

.vertical-step.completed {
    opacity: 1;
}

.vertical-step.completed .v-step-icon {
    background-color: var(--primary-color);
    border-color: var(--secondary-color);
    box-shadow: 0 0 15px var(--secondary-color);
}

.vertical-step.completed .v-step-icon::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: white;
    font-size: 1.2rem;
    width: auto;
    height: auto;
    background: transparent;
}


.v-step-content {
    margin-left: 0; /* Margin não é mais necessária */
}

.v-step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--heading-color);
}

.v-step-content p {
    font-size: 1rem;
    line-height: 1.6;
}

.section-note {
    text-align: left;
    margin-top: 1rem;
    font-style: italic;
    opacity: 0.8;
    color: #FFD700;
}

/* --- Form --- */
#cadastro {
    background: linear-gradient(to bottom, var(--background-end), var(--background-start));
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--surface-color);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    background: rgba(0,0,0,0.2);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.4);
}

.form-group input::placeholder {
    color: #8D9BBD;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.checkbox-group input { width: auto; }
.checkbox-group label { font-size: 0.9rem; }


/* --- Prizes Carousel --- */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-320px * 5)); } /* 320px (largura do slide) * 5 (slides originais) */
}

#premios .container {
    max-width: 100%;
    padding: 0;
}

#premios .section-title {
    padding: 0 2rem; /* Adiciona padding para o título não encostar nas bordas */
     max-width: 1200px;
     margin-left: auto;
     margin-right: auto;
}

.prizes-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
}

.prizes-carousel-wrapper::before,
.prizes-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.prizes-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--background-end) 10%, transparent);
}

.prizes-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--background-end) 10%, transparent);
}

.prizes-carousel {
    display: flex;
    width: calc(320px * 10); /* 320px (largura do slide) * 10 (total de slides) */
    animation: scroll 30s linear infinite;
}

.prizes-carousel:hover {
    animation-play-state: paused;
}

.prize-slide {
    width: 300px;
    height: 350px;
    position: relative;
    flex-shrink: 0;
    margin: 0 10px;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.prize-slide:hover {
    transform: scale(1.03);
}

.prize-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.4s ease;
}

.prize-slide:hover img {
    transform: scale(1.1);
}

.prize-slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%;
    background: linear-gradient(to top, rgba(0,0,0,0.50) 20%, transparent);
    z-index: 2;
}

.prize-slide h3 {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    z-index: 3;
    font-size: 1.4rem;
    color: var(--heading-color);
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
}


/* --- FAQ --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface-color);
    margin-bottom: 1rem;
    border-radius: 10px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-left-color: var(--accent-color);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 150px; /* Adjust as needed */
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* --- Footer --- */
.footer {
    padding: 4rem 0 0;
    margin-top: 4rem;
    background: var(--background-start);
    border-top: 1px solid var(--border-color);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding-bottom: 3rem;
}

.footer-logo img {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 5px 15px var(--shadow-color));
}

.footer-cta {
    text-align: right;
}

.footer-cta p {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.social-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #C13584; /* Cor gradiente do Instagram */
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(193, 53, 132, 0.4);
}

.social-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(193, 53, 132, 0.6);
}

.social-button i {
    font-size: 1.3rem;
}

.footer-copyright {
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--background-end);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}


/* --- Responsive --- */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text {
        margin-bottom: 3rem;
        align-items: center;
    }

    .hero-seal {
        max-width: 350px;
        margin-bottom: 0;
    }

    .como-funciona-content {
        grid-template-columns: 1fr;
    }

    .roulette-wrapper {
        margin-top: 4rem;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-headline {
        font-size: 1.4rem;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-cta {
        text-align: center;
    }

    .roulette-wheel {
        max-width: 320px;
    }
} 