* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: #09090e;
    background-image:
        linear-gradient(rgba(0, 242, 254, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 242, 254, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    overflow-x: hidden;
}

/* Animação do card principal */
.caixa-principal {
    background: #12111d;
    border: 3px solid #00f2fe;
    border-radius: 14px;
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 580px;
    box-shadow: 8px 8px 0px #4facfe;
    transition: transform 0.3s ease;
}

.animar-entrada {
    animation: slideDown 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #00f2fe;
    margin-bottom: 2rem;
    animation: glowPulse 2s infinite alternate;
}

.caixa-perguntas {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.5;
    color: #ffffff;
    margin-bottom: 1.8rem;
    padding: 14px;
    background-color: #1a1829;
    border-left: 5px solid #ff0844;
    border-radius: 6px;
    animation: fadeIn 0.4s ease-out;
}

.caixa-alternativas {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.caixa-alternativas button {
    width: 100%;
    padding: 16px;
    background-color: #1a1829;
    border: 2px solid #ff0844;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    box-shadow: 4px 4px 0px #ff0844;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: popUp 0.3s ease-out;
}

.caixa-alternativas button:hover {
    background-color: #ff0844;
    color: #ffffff;
    transform: translate(-4px, -4px) scale(1.01);
    box-shadow: 8px 8px 0px #00f2fe;
}

.caixa-alternativas button:active {
    transform: translate(2px, 2px) scale(0.98);
    box-shadow: 2px 2px 0px #00f2fe;
}

/* Tela de resultado */
.caixa-resultado {
    display: none;
    margin-top: 1.5rem;
    padding: 20px;
    background-color: #00f2fe;
    border: 3px solid #ffffff;
    border-radius: 12px;
    box-shadow: 6px 6px 0px #ff0844;
    animation: bounceIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.texto-resultado {
    font-size: 1.15rem;
    font-weight: 700;
    color: #09090e;
    text-align: center;
    margin-bottom: 15px;
    line-height: 1.5;
}

.btn-refazer {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background-color: #09090e;
    color: #00f2fe;
    border: 2px solid #09090e;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 4px 4px 0px #ffffff;
    transition: all 0.2s ease;
}

.btn-refazer:hover {
    background-color: #ffffff;
    color: #09090e;
    border-color: #ffffff;
    transform: translate(-3px, -3px);
    box-shadow: 7px 7px 0px #ff0844;
}

.btn-refazer:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #ff0844;
}

/* Crédito no final */
.creditos {
    margin-top: 15px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: #09090e;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.creditos span {
    color: #ff0844;
    background: #09090e;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Keyframes de Animação */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes popUp {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes glowPulse {
    from {
        text-shadow: 0 0 2px #00f2fe;
    }
    to {
        text-shadow: 0 0 10px #00f2fe, 0 0 20px #00f2fe;
    }
}