/* Listening Extremo Specific Styles */

#listening-extremo-game {
    background: var(--bg-app);
    color: var(--text);
}

.listening-card {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.listening-progress {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.audio-button-container {
    margin: 30px 0;
}

.audio-main-btn {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: 0 6px 0 #b33939, 0 10px 20px rgba(231, 76, 60, 0.3);
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.audio-main-btn:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 #b33939;
}

.audio-main-btn .label {
    font-size: 0.8rem;
    font-weight: bold;
    margin-top: 5px;
}

.audio-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.speed-btn {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    color: var(--text);
}

.input-area {
    margin-top: 30px;
}

#listening-input {
    width: 100%;
    height: 100px;
    padding: 15px;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    background: var(--bg-app);
    color: var(--text);
    font-size: 1.1rem;
    font-family: inherit;
    resize: none;
    margin-bottom: 20px;
    transition: border-color 0.3s;
}

#listening-input:focus {
    border-color: var(--accent);
    outline: none;
}

.submit-btn, .finish-btn, .next-btn {
    width: 100%;
    padding: 15px;
    border-radius: var(--radius);
    border: none;
    background: var(--accent);
    color: white;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 0 #b33939;
}

.listening-feedback {
    margin-top: 20px;
    padding: 20px;
    border-radius: var(--radius);
    display: none;
}

.listening-feedback.show {
    display: block;
    animation: slideUp 0.3s ease;
}

.listening-feedback.correct {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid #2ecc71;
}

.listening-feedback.correct.almost {
    border-color: #f1c40f;
    background: rgba(241, 196, 15, 0.1);
}
.listening-feedback.correct.almost .status {
    color: #f39c12;
}

.listening-feedback.incorrect {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid #e74c3c;
}

.listening-feedback .status {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.listening-feedback .correction {
    font-style: italic;
    margin-bottom: 20px;
    opacity: 0.8;
}

.listening-results {
    padding: 40px;
    text-align: center;
}

.result-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.score-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
}

.score-item {
    display: flex;
    flex-direction: column;
}

.score-item .val {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent);
}

.score-item .lab {
    font-size: 0.8rem;
    opacity: 0.6;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
