.odd-word-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.game-card {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.words-container {
    min-height: 200px;
    margin: 2rem 0;
}

.word-item {
    display: inline-block;
    background: white;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    margin: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    position: relative;
}

.word-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-primary);
}

.word-item.selected {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.word-item.correct {
    background: #10b981;
    color: white;
    border-color: #10b981;
    animation: correctPulse 0.6s ease;
}

.word-item.incorrect {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
    animation: shake 0.5s ease;
}

.word-item.odd-word {
    background: #f59e0b;
    color: white;
    border-color: #f59e0b;
    position: relative;
}

.word-item.odd-word::after {
    content: '← Odd Word';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    color: #f59e0b;
}

.manual-input-section {
    border-top: 2px solid var(--border-light);
    padding-top: 2rem;
}

.input-word-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid var(--accent-primary);
    border-radius: var(--radius-md);
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    font-weight: 500;
}

.input-word-tag .remove-btn {
    background: none;
    border: none;
    color: var(--accent-primary);
    cursor: pointer;
    padding: 0;
    font-size: 1.2rem;
    line-height: 1;
    transition: color 0.2s;
}

.input-word-tag .remove-btn:hover {
    color: #ef4444;
}

.result-section {
    border-top: 2px solid var(--border-light);
    padding-top: 2rem;
}

.result-section .alert {
    border-radius: var(--radius-md);
    border: none;
}

.result-section .alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-left: 4px solid #10b981;
    color: #065f46;
}

.result-section .alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border-left: 4px solid #ef4444;
    color: #991b1b;
}

.result-section .alert-info {
    background: rgba(99, 102, 241, 0.1);
    border-left: 4px solid var(--accent-primary);
    color: #3730a3;
}

@keyframes correctPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-10px);
    }
    75% {
        transform: translateX(10px);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .game-card {
        padding: 1.5rem;
    }
    
    .word-item {
        font-size: 1rem;
        padding: 0.75rem 1.25rem;
        margin: 0.25rem;
    }
    
    .word-item.odd-word::after {
        font-size: 0.65rem;
        top: -20px;
    }
}

