/* Importando a fonte Raleway */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;600;800&display=swap');

/* Ajuste no fundo escuro da prisão */
#prison-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease-in-out;
    z-index: 99999; /* Mantendo as grades no topo */
}

/* Criando as grades */
.prison-bars {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg, 
        rgba(50, 50, 50, 1) 0px, 
        rgba(50, 50, 50, 1) 10px, 
        transparent 10px, 
        transparent 40px
    );
    position: absolute;
    top: 0;
    z-index: 99999; /* Grades no topo */
}

/* Card do cronômetro - Aumentando z-index */
#prison-timer {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    font-family: 'Raleway', sans-serif;
    text-align: center;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.2);
    z-index: 100000; /* Agora está acima das grades */
    display: none; /* Oculto até ativar */
    width: 250px;
}

/* Estilizando o cronômetro */
#timer {
    font-size: 32px;
    font-weight: 800;
    margin-top: 10px;
    color: #242424;
}

/* Mensagem do card */
#prison-message {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 10px;
}


/* Fundo escuro bloqueando a tela */
#prison-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease-in-out;
    z-index: 99999; /* Garante que a cela está acima de tudo */
}

/* Criando as grades */
.prison-bars {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg, 
        rgba(50, 50, 50, 1) 0px, 
        rgba(50, 50, 50, 1) 10px, 
        transparent 10px, 
        transparent 40px
    );
    position: absolute;
    top: -100%;
    animation: dropBars 1.5s forwards ease-in-out;
}

/* Animação das grades descendo */
@keyframes dropBars {
    from {
        top: -100%;
    }
    to {
        top: 0;
    }
}

/* Bloquear toda interação */
body.locked {
    pointer-events: none; /* Impede cliques em tudo */
    user-select: none; /* Impede marcação de texto */
    overflow: hidden; /* Remove rolagem para impedir interação */
}

body {
    font-family: 'Raleway', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000; /* Fundo totalmente preto */
    color: #0c0c0c;
    text-align: center;
    display: flex;
    flex-direction: column; /* Ajuste para alinhar melhor os elementos */
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Animação de Fade-in + Movimento */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeMove 1.5s ease-out forwards;
}

@keyframes fadeMove {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ajuste no título para subir mais */
.black-frost {
    font-size: 50px;
    font-weight: 800;
    color: rgba(75, 75, 75, 0.8);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 10px rgb(26, 26, 26);
    margin-top: -50px; /* Sobe um pouco mais */
}

/* Efeito Neon no texto de baixo */
.neon-glow {
    font-size: 18px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.13);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.7), 0 0 10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.315);
}

/* Botão com efeito neon sutil já ativado */
.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: #0d0d0d; /* Fundo escuro */
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px; /* Borda arredondada */
    margin-top: 20px;
    transition: 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5), 0px 0px 15px rgba(255, 255, 255, 0.1);
}

/* Fundo estático do botão */
.cta-button::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(27, 27, 27, 0.08) 0%, rgba(0, 0, 0, 0) 60%);
    opacity: 1; /* Agora fica sempre ativo */
    transition: opacity 0.3s ease-in-out;
}

/* Animação de escrita */
h2 {
    font-size: 28px;
    font-weight: 600;
    min-height: 40px;
}