main.games-main {
    margin-top: 120px;
    padding: 2vh 2vw 3vh;
}

.games-intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto calc(16px + 1.5vw);
    font-size: calc(12px + 0.2vw);
}

.games-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(16px + 1vw);
    align-items: start;
}

@media (max-width: 800px) {
    .games-grid {
        grid-template-columns: 1fr;
    }
}

.game-card {
    border: 2px solid var(--navy);
    border-radius: 8px;
    padding: calc(14px + 0.6vw);
    background-color: #fffefb;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.game-header {
    text-align: center;
}

.game-title {
    font-family: "Courier New", Courier, monospace;
    font-weight: bold;
    color: var(--navy);
    font-size: calc(20px + 0.6vw);
    letter-spacing: 1px;
    border-bottom: 2px solid var(--yellow);
    display: inline-block;
    padding-bottom: 4px;
}

.game-tagline {
    margin-top: 6px;
    font-size: calc(11px + 0.15vw);
    color: #444;
}

.idioma-clue {
    text-align: center;
    font-size: calc(14px + 0.3vw);
    line-height: 1.5;
    min-height: 2.4em;
}

.blank {
    display: inline-block;
    font-weight: bold;
    color: var(--blue);
    border-bottom: 2px dashed var(--yellow-deep);
    padding: 0 4px;
}

.idioma-options,
.rootz-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

@media (max-width: 460px) {
    .idioma-options,
    .rootz-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.game-choice {
    font: calc(11px + 0.2vw) "Courier New", Courier, monospace;
    background-color: var(--paper);
    color: var(--ink);
    border: 2px solid var(--navy);
    border-radius: 6px;
    padding: 10px 6px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.15s ease, transform 0.1s ease;
}

.game-choice:hover:not(:disabled) {
    background-color: var(--yellow);
    transform: translateY(-1px);
}

.game-choice.selected {
    background-color: var(--yellow);
    border-color: var(--yellow-deep);
}

.game-choice.correct {
    background-color: #bfe6c4;
    border-color: #2e7d32;
    color: #1b1b1b;
}

.game-choice.incorrect {
    background-color: #f3c1bd;
    border-color: #b3261e;
    color: #1b1b1b;
}

.game-choice:disabled {
    cursor: default;
    opacity: 0.9;
}

.game-submit {
    align-self: center;
    font: bold calc(11px + 0.2vw) "Courier New", Courier, monospace;
    background-color: var(--yellow);
    color: var(--ink);
    border: 2px solid var(--navy);
    border-radius: 6px;
    padding: 8px 24px;
    cursor: pointer;
}

.game-submit:hover:not(:disabled) {
    background-color: var(--yellow-deep);
}

.game-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.game-result {
    min-height: 1.4em;
    text-align: center;
    font-size: calc(11px + 0.2vw);
    font-weight: bold;
}

.game-result.win {
    color: #2e7d32;
}

.game-result.lose {
    color: #b3261e;
}

.game-meta {
    text-align: center;
    font-size: calc(9px + 0.15vw);
    color: #666;
    margin-top: auto;
    padding-top: 4px;
}
