/* ===== SONG-SAMPLES.CSS ===== */
/* Specific styles for the song samples page */

/* Page Title Section */
.page-title {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(49, 46, 129, 0.9));
    padding: 6rem 0 3rem;
    text-align: center;
    margin-top: 5rem;
}

.page-title h1 {
    font-size: var(--text-4xl);
    margin-bottom: var(--spacing-sm);
}

.page-title p {
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.9);
}

/* Sample Intro Section */
.samples-intro {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.max-width-narrow {
    max-width: 800px;
    margin: 0 auto;
}

/* Difficulty Tabs */
.difficulty-tabs {
    display: flex;
    justify-content: center;
    margin: var(--spacing-xl) 0;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: var(--radius-full);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.tab-button {
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    border: none;
    background: transparent;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button.active {
    background: var(--primary-color);
}

.tab-button:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Sample Cards */
.sample-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sample-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.sample-header h3 {
    margin-bottom: 0;
}

.level-badge {
    font-size: var(--text-xs);
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

.level-badge.beginner {
    background-color: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.level-badge.intermediate {
    background-color: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.level-badge.advanced {
    background-color: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
}

.verse-text {
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-md);
}

/* Audio Player */
.audio-player {
    margin-top: auto;
}

.player-controls {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.play-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-right: var(--spacing-md);
    transition: all 0.3s ease;
}

.play-button:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.progress-container {
    flex-grow: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-right: var(--spacing-md);
}

.progress-bar {
    height: 100%;
    background: var(--primary-color);
    width: 0;
    transition: width 0.1s linear;
}

.time-display {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.7);
    min-width: 80px;
    text-align: right;
}

.sample-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-md);
    font-size: var(--text-sm);
}

.sample-actions {
    display: flex;
    justify-content: flex-end;
}

/* Info Cards Section */
.info-card {
    text-align: center;
}

.info-icon {
    width: 64px;
    height: 64px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Media Queries */
@media (max-width: 992px) {
    .tab-button {
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 768px) {
    .difficulty-tabs {
        flex-direction: column;
        padding: 0.5rem;
        border-radius: var(--radius-md);
    }
    
    .tab-button {
        border-radius: var(--radius-md);
        margin-bottom: 0.25rem;
    }
    
    .play-button {
        width: 36px;
        height: 36px;
    }
}