/*!
 * PROJETO: ACAMP TEENS RISE 8
 * ESTILO: Urban/Neon + Teens Energy
 * DESENVOLVEDOR: Romeu Neves (The Uncoder) — https://theuncoder.netlify.app
 * DESENVOLVIDO PARA: AD MINISTÉRIO FAMA — https://ministeriofama.org
 * VERSÃO: 1.0 | 2026 — Layout Single Section com Background Dinâmico
*/

:root {
    --primary-yellow: #FFC909;
    --deep-blue: #1B3693;
    --vibrant-orange: #F15A24;
    --neon-green: #39FF14;
    --font-main: 'Bangers', cursive;
    --font-sec: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    height: 100%;
    overflow: hidden;
    background-color: var(--deep-blue);
}

/* --- SEÇÃO PRINCIPAL --- */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Imagem Mobile */
    background-image: url('../ASSETS/rise8-savethedate-mobile.webp');
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-bottom: 16vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* --- COUNTDOWN --- */
.countdown-container {
    display: flex;
    gap: 12px;
    background: rgba(27, 54, 147, 0.85);
    padding: 15px 20px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
}

.time-block {
    text-align: center;
    color: white;
}

.time-block span {
    display: block;
    font-family: var(--font-main);
    font-size: 2rem;
    color: var(--primary-yellow);
    line-height: 1;
}

.time-block p {
    font-family: var(--font-sec);
    font-size: 0.55rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

/* --- BOTÃO ANIMADO --- */
.btn-inscription {
    background-color: var(--neon-green);
    color: var(--deep-blue);
    font-family: var(--font-main);
    font-size: 1.4rem;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.4);
    transition: all 0.4s ease-in-out;
    animation: pulseButton 2s infinite ease-in-out;
}

@keyframes pulseButton {
    0% {
        transform: scale(1);
        box-shadow: 0 0 15px rgba(57, 255, 20, 0.4);
    }

    50% {
        transform: scale(1.08);
        box-shadow: 0 0 30px rgba(57, 255, 20, 0.7);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 15px rgba(57, 255, 20, 0.4);
    }
}

.btn-inscription:hover {
    animation-play-state: paused;
    background-color: #ffffff;
    color: var(--vibrant-orange);
    transform: scale(1.12);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.8);
}

/* --- FOOTER --- */
.main-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    padding: 10px;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.main-footer p {
    color: #ffffff;
    font-family: var(--font-sec);
    font-size: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-footer strong,
a {
    color: var(--primary-yellow);
}

.btn-pix {
    background-color: var(--primary-yellow) !important;
    color: var(--deep-blue) !important;
    border: 2px solid var(--deep-blue);
}

/* --- MODAL PIX --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 54, 147, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    /* Escondido por padrão */
    justify-content: center;
    align-items: center;
    z-index: 100;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--deep-blue);
    border: 3px solid var(--neon-green);
    border-radius: 25px;
    padding: 30px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.3);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.modal-content h3 {
    font-family: var(--font-main);
    color: var(--neon-green);
    font-size: 2rem;
    margin-bottom: 10px;
}

.modal-content p {
    font-family: var(--font-sec);
    color: white;
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.qr-container {
    background: white;
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 20px;
    display: inline-block;
}

.qr-code {
    width: 200px;
    height: 200px;
    display: block;
}

.pix-key-container {
    background: rgba(0, 0, 0, 0.3);
    border: 1px dashed var(--primary-yellow);
    padding: 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.pix-key-container:hover {
    background: rgba(255, 201, 9, 0.1);
}

.key-label {
    display: block;
    font-family: var(--font-sec);
    color: var(--primary-yellow);
    font-size: 0.7rem;
    font-weight: bold;
}

.pix-key {
    color: white;
    font-family: var(--font-sec);
    font-size: 0.9rem;
    word-break: break-all;
}

.copy-badge {
    margin-top: 10px;
    font-size: 0.6rem;
    color: var(--neon-green);
    font-family: var(--font-sec);
    font-weight: bold;
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- RESPONSIVIDADE PC --- */
@media (min-width: 1024px) {
    .hero-section {
        background-image: url('../ASSETS/rise8-savethedate-mobile.webp');
    }


    .time-block span {
        font-size: 3.5rem;
    }

    .time-block p {
        font-size: 0.8rem;
    }

    .btn-inscription {
        font-size: 2.2rem;
        padding: 20px 60px;
    }

    .main-footer p {
        font-size: 0.85rem;
    }

    .modal-content {
        padding: 20px;
    }

    .qr-code {
        width: 150px;
        height: 150px;
    }
}