.music-header {
    padding: 20px 20px 22px 20px;
    background: linear-gradient(165deg, #4B3164 0%, #7A4FA0 55%, #2B1E45 100%);
    border-radius: 0 0 28px 28px;
    color: #fff;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(43, 30, 69, 0.2);
}
.back-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 6px 14px 6px 12px;
    border-radius: 30px;
    margin-bottom: 16px;
}
.back-pill:hover { background: rgba(255, 255, 255, 0.2); }

.music-eyebrow {
    font-size: 12px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.8;
    margin-bottom: 6px;
}
.music-header h1 {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 4px;
}
.music-subhead {
    font-size: 14px;
    font-weight: 300;
    opacity: 0.75;
    margin-bottom: 12px;
}
.demo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 30px;
}

/* ============================================================
   NOW PLAYING
   ============================================================ */
.now-playing-card {
    background: #FFFFFF;
    border-radius: 22px;
    padding: 22px 20px 18px 20px;
    margin: 0 20px 24px 20px;
    border: 1px solid #EFEAE4;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.03);
    text-align: center;
}
.album-art {
    width: 120px;
    height: 120px;
    margin: 0 auto 16px auto;
    border-radius: 20px;
    background: linear-gradient(160deg, #7A4FA0, #4B3164);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 36px;
    box-shadow: 0 10px 24px rgba(107, 63, 160, 0.25);
    transition: transform 0.4s ease;
}
.album-art.is-playing {
    animation: albumSpin 6s linear infinite;
}
@keyframes albumSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.now-playing-info h3 {
    font-size: 19px;
    font-weight: 600;
    color: #2A2624;
    margin-bottom: 2px;
}
.now-playing-info p {
    font-size: 13px;
    color: #8A7A7A;
    font-weight: 300;
    margin-bottom: 18px;
}

.progress-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}
.progress-row .time {
    font-size: 11px;
    color: #A09898;
    font-weight: 400;
    min-width: 30px;
}
.progress-track {
    flex: 1;
    height: 5px;
    background: #F0EBE4;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #6B3FA0, #9B6FC0);
    border-radius: 6px;
    transition: width 0.2s linear;
}

.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}
.ctrl-btn {
    background: #F5F0EA;
    border: 1px solid #EFEAE4;
    color: #4A4442;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: 0.15s;
}
.ctrl-btn:hover { background: #EFEAE4; }
.ctrl-btn.is-active { color: #6B3FA0; }
.ctrl-btn--play {
    width: 56px;
    height: 56px;
    font-size: 18px;
    background: linear-gradient(135deg, #6B3FA0, #5A2E8A);
    border: none;
    color: #fff;
    box-shadow: 0 6px 16px rgba(107, 63, 160, 0.3);
}
.ctrl-btn--play:hover {
    background: linear-gradient(135deg, #5A2E8A, #6B3FA0);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section-block {
    padding: 0 20px 20px 20px;
}
.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.section-heading h2 {
    font-size: 15px;
    font-weight: 600;
    color: #2A2624;
}
.section-heading h2 i {
    color: #6B3FA0;
    margin-right: 6px;
}

.playlist-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.playlist-chip {
    flex-shrink: 0;
    width: 130px;
    height: 90px;
    border-radius: 16px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.15s;
}
.playlist-chip:active { transform: scale(0.96); }
.playlist-chip i { font-size: 16px; margin-bottom: 6px; opacity: 0.85; }

.track-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.track-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #FFFFFF;
    border-radius: 14px;
    padding: 10px 14px;
    border: 1px solid #EFEAE4;
    cursor: pointer;
    transition: 0.15s;
}
.track-item:hover { background: #FAF7F2; }
.track-item.is-active {
    border-color: #6B3FA0;
    background: rgba(107, 63, 160, 0.05);
}
.track-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #F5F0EA;
    color: #6B3FA0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
.track-item.is-active .track-icon {
    background: #6B3FA0;
    color: #fff;
}
.track-meta { flex: 1; min-width: 0; }
.track-meta h4 {
    font-size: 14px;
    font-weight: 500;
    color: #2A2624;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.track-meta p {
    font-size: 12px;
    color: #8A7A7A;
    font-weight: 300;
}
.track-duration {
    font-size: 12px;
    color: #A09898;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .track-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}
