/* ---------------------- */
/* FUNDO COM IMAGEM       */
/* ---------------------- */

body {
    margin: 0;
    font-family: "Montserrat", Arial, sans-serif;
    background: url("background.jpg") no-repeat center center fixed;
    background-size: cover;
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
}

/* Canvas das partículas conectadas */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Overlay escuro */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 20, 40, 0.55);
    backdrop-filter: blur(4px);
    z-index: 1;
}

/* ---------------------- */
/* HERO SECTION           */
/* ---------------------- */

.hero {
    width: 100%;
    padding: 80px 20px 40px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 3;
}

.hero-card {
    background: rgba(255,255,255,0.12);
    padding: 40px 30px;
    border-radius: 20px;
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    text-align: center;
    width: 90%;
    max-width: 420px;
    transform-style: preserve-3d;
    transition: transform 0.2s ease-out;
}

.hero-logo {
    width: 140px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
}

.hero-card h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 16px;
    color: #d9e6f2;
}

/* ---------------------- */
/* CONTEÚDO PRINCIPAL     */
/* ---------------------- */

.container {
    max-width: 600px;
    margin: auto;
    padding: 20px;
    text-align: center;
    position: relative;
    z-index: 3;
}

p {
    font-size: 16px;
    color: #e6f0ff;
}

.highlight {
    font-weight: bold;
    color: #ffffff;
}

.countdown {
    font-size: 28px;
    font-weight: bold;
    margin: 25px 0;
}

/* Formulário */
form {
    margin-top: 30px;
    text-align: left;
}

input, textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.15);
    color: white;
    border-radius: 6px;
    font-size: 16px;
}

button {
    width: 100%;
    padding: 14px;
    background: #0055cc;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s ease;
}

button:hover {
    background: #0073ff;
    transform: translateY(-2px);
}

/* Rodapé */
footer {
    margin-top: 50px;
    padding: 20px;
    font-size: 14px;
    color: #d0d0d0;
    text-align: center;
    position: relative;
    z-index: 3;            /* garante visibilidade */
}

/* ---------------------- */
/* ANIMAÇÕES SUAVES       */
/* ---------------------- */

.fade-in {
    opacity: 0;
    animation: fadeIn 1.2s forwards;
}

.slide-up {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.9s forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.5s; }
.delay-3 { animation-delay: 0.7s; }
.delay-4 { animation-delay: 0.9s; }
.delay-5 { animation-delay: 1.1s; }
.delay-6 { animation-delay: 1.3s; }

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------------------- */
/* DESKTOP BREAKPOINT     */
/* ---------------------- */

@media (min-width: 768px) {
    .hero-card {
        max-width: 500px;
        padding: 50px 40px;
    }

    .hero-card h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }
}
