body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Roboto', sans-serif; /* Combinando Roboto com Orbitron para contraste */
    color: #fff;
    overflow: hidden; 
    text-shadow: 0 0 5px rgba(0,0,0,0.5); 
}

/* Estilização para o vídeo do YouTube como background */
.video-background-youtube {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translateX(-50%) translateY(-50%);
    background: #000; /* Cor de fallback caso o vídeo não carregue */
}

.video-background-youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Impede que o usuário interaja com o iframe */
    filter: brightness(0.6) grayscale(0.2); /* Escurece e adiciona um leve tom cinza */
    transform: scale(1.1); /* Um pequeno zoom para garantir que não haja bordas */
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 10, 30, 0.8) 0%, rgba(0, 40, 80, 0.85) 100%); /* Gradiente mais escuro e angulado */
    z-index: -1;
    backdrop-filter: blur(3px); /* Efeito de desfoque sutil no que está por trás do overlay */
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    padding: 20px;
    position: relative; 
    z-index: 1;
}

header {
    margin-bottom: 30px;
    animation: fadeInDown 1s ease-out; /* Animação para o header */
}

header h1 {
    font-family: 'Orbitron', sans-serif; /* Fonte futurista para o título principal */
    font-size: 4.5rem; 
    font-weight: 700;
    margin-bottom: 10px;
    color: #00ffff; /* Ciano mais intenso */
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.8); /* Sombra mais forte */
}

.highlight {
    color: #00ff88; /* Destaque em verde neon */
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.7);
}

header h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.8rem;
    font-weight: 300;
    color: #a0ffff;
    margin-top: 0;
}

.subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    max-width: 800px;
    margin-bottom: 40px;
    line-height: 1.7;
    animation: fadeInText 1.5s ease-out 0.5s forwards; 
    opacity: 0; 
    background: rgba(0, 0, 0, 0.3); /* Fundo sutil para o texto */
    padding: 15px 30px;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #e0faff;
    font-weight: 400;
}

.countdown {
    margin-bottom: 50px;
    animation: zoomIn 1s ease-out 1s forwards; 
    opacity: 0;
}

.countdown ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 40px; 
}

.countdown ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.1rem;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.4); /* Fundo mais escuro */
    border-radius: 15px; /* Bordas mais arredondadas */
    padding: 20px 30px;
    border: 2px solid #00ffff; /* Borda mais visível */
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.6); /* Sombra mais intensa */
    transition: transform 0.3s ease;
}

.countdown ul li:hover {
    transform: translateY(-5px) scale(1.03); /* Efeito de hover */
}

.countdown ul li span {
    display: block;
    font-family: 'Orbitron', sans-serif; /* Números com fonte futurista */
    font-size: 5rem; 
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

.subscribe-form {
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 550px;
    animation: fadeInText 1.5s ease-out 1.5s forwards;
    opacity: 0;
}

.subscribe-form input {
    flex-grow: 1;
    padding: 20px 30px;
    border: none;
    border-radius: 10px 0 0 10px;
    background: rgba(255, 255, 255, 0.1); /* Fundo mais transparente */
    color: #fff;
    font-size: 1.2rem;
    outline: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.subscribe-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}
.subscribe-form input:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: #00ffff;
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.6);
}

.subscribe-form button {
    padding: 20px 35px;
    border: none;
    background: #00ff88; /* Verde neon para o botão */
    color: #051a2f; 
    border-radius: 0 10px 10px 0;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 700;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
}

.subscribe-form button:hover {
    background: #00e67e;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 255, 136, 0.5);
}

footer {
    position: absolute;
    bottom: 30px;
    width: 100%;
    animation: fadeInUp 1.5s ease-out 2s forwards;
    opacity: 0;
}

.social-media {
    margin-top: 20px;
    margin-bottom: 15px;
}

.social-media a {
    color: #a0ffff;
    text-decoration: none;
    margin: 0 18px;
    font-size: 2.2rem; 
    transition: color 0.3s ease, transform 0.2s ease;
}

.social-media a:hover {
    color: #00ff88; /* Verde neon ao passar o mouse */
    transform: translateY(-5px) scale(1.1);
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 15px;
}

/* Keyframe Animations */
@keyframes fadeInDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    header h1 {
        font-size: 3.5rem;
    }
    header h2 {
        font-size: 1.5rem;
    }
    .subtitle {
        font-size: 1.1rem;
        max-width: 650px;
    }
    .countdown ul {
        gap: 25px;
    }
    .countdown ul li span {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2.8rem;
    }
    header h2 {
        font-size: 1.3rem;
    }
    .subtitle {
        font-size: 1rem;
        max-width: 90%;
        padding: 10px 20px;
    }
    .countdown ul {
        flex-wrap: wrap; /* Permite que os itens do contador quebrem a linha */
        gap: 20px;
    }
    .countdown ul li {
        padding: 15px 20px;
        flex-basis: calc(50% - 20px); /* Dois itens por linha */
    }
    .countdown ul li span {
        font-size: 3.5rem;
    }
    .subscribe-form {
        flex-direction: column;
        max-width: 90%;
    }
    .subscribe-form input {
        border-radius: 10px;
        margin-bottom: 15px;
        text-align: center;
    }
    .subscribe-form button {
        border-radius: 10px;
        width: 100%;
        justify-content: center;
    }
    .social-media a {
        font-size: 2rem;
        margin: 0 12px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2.2rem;
    }
    header h2 {
        font-size: 1rem;
    }
    .subtitle {
        font-size: 0.9rem;
        padding: 10px 15px;
    }
    .countdown ul li {
        font-size: 0.9rem;
        padding: 10px 15px;
        flex-basis: calc(50% - 15px);
    }
    .countdown ul li span {
        font-size: 2.8rem;
    }
    .subscribe-form input,
    .subscribe-form button {
        padding: 15px;
        font-size: 1rem;
    }
    .social-media a {
        font-size: 1.8rem;
        margin: 0 10px;
    }
}