* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background-color: #fdc3c3;
    background-image: url('wallpaper.png');
    background-repeat: repeat;
    background-size: auto;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

/* Overlay escuro - CORRIGIDO */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    pointer-events: none; /* IMPEDE que o overlay bloqueie cliques */
    z-index: 1; /* Fica acima do fundo mas NÃO bloqueia cliques */
}

/* Container principal - CORRIGIDO */
.container {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 20px;
    position: relative;
    z-index: 2; /* Fica ACIMA do overlay */
}

/* Botões - CORRIGIDO */
button {
    padding: 1rem 3rem;
    font-size: 1.5rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    position: relative;
    z-index: 3; /* Fica acima de tudo */
    pointer-events: auto; /* GARANTE que pode ser clicado */
}

.btn-yes {
    background: #4CAF50;
    color: white;
}

.btn-yes:hover {
    background: #45a049;
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.4);
}

.btn-no {
    background: #ff4d4d;
    color: white;
}

.btn-no:hover {
    background: #ff3333;
    transform: scale(1.1);
}

/* Níveis de escuridão - CORRIGIDO */
body.page1::before {
    background-color: rgba(0, 0, 0, 0);
}

body.page2::before {
    background-color: rgba(0, 0, 0, 0.3);
}

body.page3::before {
    background-color: rgba(0, 0, 0, 0.6);
}

body.page4::before {
    background-color: rgba(0, 0, 0, 0.8);
}

body.pageJumpscare::before {
    background-color: rgba(0, 0, 0, 0.95);
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        margin: 10px;
        padding: 1rem;
    }
    
    button {
        padding: 0.8rem 2rem;
        font-size: 1.2rem;
    }
}