/* Similar Sounds Quiz Styles */

/* Hero gradient - teal/green for sound comparison theme */
.similar-sounds-hero {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
}

/* Play buttons for A/B comparison */
.play-btn {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 50%;
    font-size: 2rem;
    transition: all 0.3s ease;
    border: none;
}
.play-btn:hover:not(:disabled) {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}
.play-btn i {
    color: white !important;
}
.play-btn.playing {
    animation: pulse 1s ease-in-out infinite;
}
.play-btn:disabled {
    opacity: 0.5;
}

/* Sound option buttons (A / B) */
.sound-option-btn {
    min-width: 140px;
    min-height: 100px;
    font-size: 1.4rem;
    transition: all 0.2s ease;
    border-width: 3px;
    border-radius: 12px;
    cursor: pointer;
}
.sound-option-btn:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.sound-option-btn.correct {
    background-color: #198754 !important;
    border-color: #198754 !important;
    color: white !important;
}
.sound-option-btn.incorrect {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: white !important;
}
.sound-option-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Pinyin display in option buttons */
.sound-option-btn .pinyin-display {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.2;
}
.sound-option-btn .pinyin-label {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Quiz card */
.quiz-card {
    min-height: 420px;
}

/* VS divider between play buttons */
.vs-divider {
    font-size: 1.5rem;
    font-weight: 900;
    color: #6c757d;
    letter-spacing: 2px;
}

/* Pulse animation for playing state */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Score display */
.score-display {
    font-size: 2.5rem;
    font-weight: bold;
}

/* Difficulty badge */
.difficulty-badge {
    font-size: 0.85rem;
    padding: 0.35em 0.75em;
}

/* Panel header */
.panel-header {
    background: linear-gradient(135deg, #0d9488, #0f766e);
    color: white;
}

/* Pair accuracy cards in sidebar */
.pair-accuracy-item {
    padding: 0.35rem 0;
    border-bottom: 1px solid #f0f0f0;
}
.pair-accuracy-item:last-child {
    border-bottom: none;
}

/* Results card */
.results-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .play-btn {
        width: 4.5rem;
        height: 4.5rem;
        font-size: 1.6rem;
    }
    .sound-option-btn {
        min-width: 110px;
        min-height: 80px;
        font-size: 1.2rem;
    }
    .sound-option-btn .pinyin-display {
        font-size: 1.4rem;
    }
    .vs-divider {
        font-size: 1.2rem;
    }
    .score-display {
        font-size: 2rem;
    }
}
