/* Polyglot Game Styles */

.game-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

header {
    margin-bottom: 3rem;
}

.game-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    font-family: var(--font-family-mono);
    color: var(--color-primary);
}

.target-word {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-main);
}

.language-hint {
    font-size: 1.2rem;
    color: var(--color-text-sub);
    margin-bottom: 2rem;
    font-style: italic;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.option-card {
    background-color: var(--color-surface);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 1.2rem;
    font-weight: 600;
}

.option-card:hover:not(.disabled) {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    background-color: rgba(187, 134, 252, 0.1);
}

.option-card.correct {
    border-color: var(--color-secondary);
    background-color: rgba(3, 218, 198, 0.2);
    color: var(--color-secondary);
}

.option-card.incorrect {
    border-color: var(--color-accent);
    background-color: rgba(207, 102, 121, 0.2);
    animation: shake 0.5s cubic-bezier(.36, .07, .19, .97) both;
}

.option-card.disabled {
    cursor: default;
    opacity: 0.7;
}

.feedback-area {
    min-height: 100px;
    margin-top: 2rem;
}

.etymology-info {
    font-size: 1rem;
    color: var(--color-text-sub);
    margin: 1rem 0;
    line-height: 1.5;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: var(--radius-md);
    display: none;
    /* Hidden by default */
}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}