:root {
    --cor-fundo: #000;
    --cor-painel: #facc15;
    --brilho-destaque: #fff;
    --texto-principal: #f8fafc;
    --texto-secundario: #020913;
    --cor-borda: #334155;
    --neon-verde: #22c55e;
    --neon-rosa: #ec4899;
    --neon-amarelo: #facc15;
    --neon-roxo: #8b5cf6;
    --fonte-principal: 'Cascadian Code';
}
/* City Code */
* {
    box-sizing: border-box;/* City Code */
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--cor-fundo);
    color: var(--texto-principal);/* City Code */
    font-family: var(--fonte-principal);
    min-height: 100vh;/* City Code */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;/* City Code */
    overflow-x: hidden;
    padding: 1rem;
}

.cabecalho-jogo {
    text-align: center;
    margin-bottom: 1.5rem;
}/* City Code */

.cabecalho-jogo h1 {
    font-size: 2.2rem;
    color: var(--brilho-destaque);
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.cabecalho-jogo p {
    color: var(--brilho-destaque);
    font-size: 0.95rem;/* City Code */
}

.conteiner-jogo {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;/* City Code */
    justify-content: center;
    align-items: flex-start;/* City Code */
}

.painel-lateral {/* City Code */
    display: flex;
    flex-direction: column;
    gap: 1rem;/* City Code */
    width: 260px;
}

.cartao {
    background-color: var(--cor-painel);/* City Code */
    border: 1px solid var(--cor-borda);
    border-radius: 8px;/* City Code */
    padding: 1.2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);/* City Code */
}


.cartao h2 {
    font-size: 1.1rem;/* City Code */
    margin-bottom: 0.8rem;/* City Code */
    color: var(--brilho-destaque);
    border-bottom: 1px solid var(--cor-borda);
    padding-bottom: 0.4rem;/* City Code */
}

.dica-cartao {/* City Code */
    border-color: rgba(250, 204, 21, 0.4);/* City Code */
    background: linear-gradient(135deg, #1e293b 0%, #172033 100%);
}

.dica-cartao h2 {
    color: var(--neon-amarelo);/* City Code */
    border-bottom-color: rgba(250, 204, 21, 0.2);
}

#texto-dica {
    font-size: 0.88rem;
    color: var(--brilho-destaque);
    line-height: 1.4;
}

.item-status {
    display: flex;/* City Code */
    justify-content: space-between;
    margin-bottom: 0.5rem;/* City Code */
    font-size: 1.2rem;
}

.controles-cartao ul {
    list-style: none;
    font-size: 0.85rem;/* City Code */
    color: var(--texto-secundario);/* City Code */
    display: flex;
    flex-direction: column;/* City Code */
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.botao-neon {
    width: 100%;
    padding: 0.7rem;/* City Code */
    background: var(--neon-verde);/* City Code */
    border: 2px solid var(--neon-verde);
    color: var(--texto-principal);/* City Code */
    font-weight: bold;
    border-radius: 6px;/* City Code */
    cursor: pointer;/* City Code */
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(34, 197, 94, 0.4);
}

.botao-neon:hover {
    background: var(--neon-verde);
    color: var(--cor-fundo);
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.7);
}

.secao-tabuleiro {
    position: relative;
    background-color: #020617;
    border: 2px solid var(--cor-borda);/* City Code */
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);/* City Code */
    display: flex;
    justify-content: center;
    align-items: center;
}

canvas {
    display: block;
    background: #020617;/* City Code */
}

.caixa-previa {
    display: flex;
    justify-content: center;/* City Code */
    align-items: center;/* City Code */
    background: #090d16;
    border-radius: 6px;/* City Code */
    margin-bottom: 0.8rem;
    padding: 0.5rem;
}

.info-tecnologia {
    text-align: center;
}

.info-tecnologia span {
    display: block;
    font-weight: bold;
    font-size: 1rem;
    color: var(--texto-principal);/* City Code */
}

.info-tecnologia small {
    color: var(--texto-secundario);
    font-size: 0.8rem;
}

/* Estilos do Modal de Quiz */
.modal-quiz {
    position: absolute;
    top: 0;
    left: 0;/* City Code */
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.92);/* City Code */
    backdrop-filter: blur(6px);/* City Code */
    display: flex;
    justify-content: center;/* City Code */
    align-items: center;
    padding: 1.5rem;
    border-radius: 6px;
    z-index: 10;
}

.modal-quiz.oculto {
    display: none;
}

.conteudo-quiz {
    text-align: center;
    display: flex;/* City Code */
    flex-direction: column;
    gap: 1rem;
    width: 100%;/* City Code */
}

.tag-tech {
    display: inline-block;
    background: rgba(56, 189, 248, 0.15);/* City Code */
    color: var(--brilho-destaque);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;/* City Code */
    font-weight: bold;
    align-self: center;/* City Code */
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.conteudo-quiz h3 {
    font-size: 1.15rem;
    color: var(--texto-principal);
    line-height: 1.4;/* City Code */
}
/* City Code */
.grupo-botoes-quiz {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.5rem;
}/* City Code */

.botao-alternativa {
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid var(--cor-borda);/* City Code */
    color: var(--texto-principal);/* City Code */
    padding: 0.7rem 1rem;/* City Code */
    border-radius: 6px;
    cursor: pointer;/* City Code */
    font-size: 0.9rem;
    transition: all 0.2s ease;
    text-align: left;/* City Code */
}

.botao-alternativa:hover {
    background: var(--brilho-destaque);
    color: var(--cor-fundo);
    border-color: var(--brilho-destaque);/* City Code */
}

.botao-alternativa.correto {
    background: var(--neon-verde) !important;/* City Code */
    color: var(--cor-fundo) !important;/* City Code */
    border-color: var(--neon-verde) !important;/* City Code */
}

.botao-alternativa.incorreto {
    background: var(--neon-rosa) !important;
    color: var(--texto-principal) !important;
    border-color: var(--neon-rosa) !important;
}

.mensagem-jogo {
    position: absolute;
    top: 0;
    left: 0;/* City Code */
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);/* City Code */
    backdrop-filter: blur(4px);
    display: flex;/* City Code */
    flex-direction: column;
    justify-content: center;/* City Code */
    align-items: center;
    text-align: center;/* City Code */
    border-radius: 6px;/* City Code */
    z-index: 11;
}

.mensagem-jogo.oculto {/* City Code */
    display: none;
}

.mensagem-jogo h2 {
    font-size: 2rem;
    color: var(--neon-rosa);/* City Code */
    margin-bottom: 0.5rem;/* City Code */
    text-shadow: 0 0 10px rgba(236, 72, 153, 0.5);/* City Code */
}

footer p{
 margin-top: 20px;/* City Code */
}

/* Responsividade */
@media (max-width: 900px) {/* City Code */
    .conteiner-jogo {
        flex-direction: column;/* City Code */
        align-items: center;
    }
    .painel-lateral {
        width: 300px;/* City Code */
        flex-direction: row;
        justify-content: space-between;/* City Code */
        flex-wrap: wrap;
    }
    .cartao {
        flex: 1;/* City Code */
        min-width: 140px;/* City Code */
    }
}