/* Remove margens e preenchimentos padrão do navegador */
body, html {
    margin: 0;
    padding: 0;
    overflow: hidden; /* Esconde as barras de rolagem */
    background-color: #1a1a1a; /* Um fundo cinza bem escuro, quase preto */
    font-family: monospace; /* Uma fonte que lembra máquina de escrever */
}
/* ===== ESTILOS PARA O ANTI-MENU ===== */

/* --- O Ícone de Gatilho (*) --- */
#anti-menu-trigger {
    position: fixed; /* Fica fixo na tela */
    bottom: 25px;
    right: 30px;
    font-size: 30px;
    color: #cecdc9;
    cursor: pointer; /* Muda o cursor para indicar que é clicável */
    z-index: 1001; /* Garante que ele fique ACIMA da constelação e da sobreposição */
    
    /* Aplica a nossa animação de pulso */
    animation: pulse 2.5s infinite;
}

/* --- A Animação de Pulso --- */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

/* --- A Camada de Sobreposição --- */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Fundo preto 80% opaco */
    z-index: 999; /* Fica ENTRE a constelação e o painel do menu */
    
    /* Lógica para esconder/mostrar */
    opacity: 0;
    pointer-events: none; /* Não pode ser clicado quando invisível */
    transition: opacity 0.5s ease-in-out;
}

#overlay.visible {
    opacity: 1;
    pointer-events: all; /* Pode ser clicado quando visível */
}


/* --- O Painel do Menu --- */
#anti-menu-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* O truque para centralizar perfeitamente */
    width: 80%;
    max-width: 500px;
    padding: 2rem 3rem;
    border: 1.5px solid rgba(255, 215, 0, 0.4);
    background-color: rgba(26, 26, 26, 0.9); /* Fundo quase sólido para boa leitura */
    z-index: 1000; /* Fica acima da sobreposição */

    /* Lógica para esconder/mostrar */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
}

#anti-menu-panel.visible {
    opacity: 1;
    pointer-events: all;
}

/* Estilo do conteúdo do menu */
#anti-menu-panel h2 {
    color: #FFD700;
    font-weight: normal;
    margin-top: 0;
    margin-bottom: 2rem;
}

#anti-menu-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#anti-menu-panel li {
    margin-bottom: 1rem;
}

#anti-menu-panel a {
    color: #FFD700;
    text-decoration: none;
    font-size: 18px;
}

#anti-menu-panel a:hover {
    background-color: rgba(255, 215, 0, 0.2);
}
/* ===== ESTILO PARA O TÍTULO PRINCIPAL ===== */

/* O estado padrão do título */
h1 {
    position: fixed;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Courier New', Courier, monospace;
    font-size: 5rem;
    font-weight: bold;
    color: #f0f0f0;
    text-shadow: 0 0 7px rgba(255, 255, 255, 0.5), 0 0 15px rgba(255, 215, 0, 0.4);
    z-index: 10;
    transition: opacity 0.5s ease-in-out;
}

/* O estado que esconde o título */
h1.hidden {
    opacity: 0;
}
/* ===== ESTILO PARA O SUBTÍTULO ===== */

.subtitulo-constelacao {
    position: fixed;
    top: 160px;
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.2rem;
    font-weight: normal;
    letter-spacing: 3px;
    color: #c4b250ff; 
    z-index: 10;
    pointer-events: none; 
}
/* ... */
@media (max-width: 768px) {
    /* ... (outras regras) ... */
    .subtitulo-constelacao { /* A regra agora se aplica à classe */
        font-size: 1rem;
        top: 80px;
    }
    /* ... */
}