/**
 * EchoWave Design System
 * Global Stylesheet
 */










:root {
    --accent: #00E5A0;
    --accent-dim: rgba(0,229,160,0.12);
    --accent-glow: rgba(0,229,160,0.25);
    --bg-0: #080808;
    --bg-1: #101010;
    --bg-2: #181818;
    --bg-3: #222222;
    --bg-4: #2a2a2a;
    --border: rgba(255,255,255,0.07);
    --border-md: rgba(255,255,255,0.11);
    --text-1: #F0F0F0;
    --text-2: #909090;
    --text-3: #555555;
    --sidebar-w: 240px;
    --player-h: 76px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 999px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg-0);
    color: var(--text-1);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

/* ── SCROLLBARS ── */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 99px; }

/* ── LAYOUT ── */
.app { display: flex; min-height: 100dvh; }

/* ── SIDEBAR ── */
.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--sidebar-w);
    background: var(--bg-1);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    padding: 24px 16px 140px;
    overflow-y: auto;
    z-index: 400;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}

.sidebar-logo { display: flex; align-items: center; gap: 10px; padding: 0 8px; margin-bottom: 36px; }
.sidebar-logo-link { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon {
    width: 36px; height: 36px;
    background: var(--accent);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    color: #000;
    flex-shrink: 0;
    overflow: hidden;
}
.logo-text {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.5px;
    color: var(--text-1);
}

.nav-section { display: flex; flex-direction: column; gap: 2px; }
.nav-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-3);
    padding: 16px 12px 8px;
}
.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--text-2);
    cursor: pointer;
    transition: all 0.15s;
    position: relative;
    text-decoration: none;
}
.nav-item i { width: 18px; font-size: 1rem; text-align: center; flex-shrink: 0; }
.nav-item:hover { background: var(--bg-2); color: var(--text-1); }
.nav-item.active {
    background: var(--accent-dim);
    color: var(--accent);
    font-weight: 500;
}
.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0; top: 25%; bottom: 25%;
    width: 3px;
    background: var(--accent);
    border-radius: 0 3px 3px 0;
}

.playlist-divider { height: 1px; background: var(--border); margin: 16px 12px; }
.playlist-item {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 12px; border-radius: var(--radius-sm);
    font-size: 0.82rem; color: var(--text-2);
    cursor: pointer; transition: all 0.15s;
}
.playlist-item:hover { background: var(--bg-2); color: var(--text-1); }
.pl-thumb { width: 32px; height: 32px; border-radius: 6px; object-fit: cover; background: var(--bg-3); flex-shrink: 0; }
.pl-name { font-weight: 500; }
.pl-count { font-size: 0.75rem; color: var(--text-3); }

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    z-index: 399;
}
.sidebar-overlay.active { display: block; }

/* ── MAIN CONTENT ── */
.main-wrap {
    margin-left: var(--sidebar-w);
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* ── TOP BAR ── */
.top-bar {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(8,8,8,0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.top-bar-left { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.top-bar-right { display: flex; align-items: center; gap: 8px; }

.mobile-menu-btn {
    display: none;
    background: var(--bg-2);
    border: 1px solid var(--border);
    color: var(--text-1);
    width: 38px; height: 38px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1rem;
    align-items: center; justify-content: center;
    flex-shrink: 0;
}

.back-btn {
    display: flex; align-items: center; gap: 8px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    color: var(--text-2);
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.15s;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
}
.back-btn:hover { background: var(--bg-3); color: var(--text-1); }

.breadcrumb { font-size: 0.82rem; color: var(--text-3); display: flex; align-items: center; gap: 6px; }
.breadcrumb a { color: var(--text-2); transition: color 0.15s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--text-3); }

.search-bar { flex: 1; max-width: 360px; position: relative; }
.search-bar i {
    position: absolute;
    left: 12px; top: 50%;
    transform: translateY(-50%);
    color: var(--text-3);
    font-size: 0.85rem;
    pointer-events: none;
}
.search-bar input, .search-bar .search-form input {
    width: 100%;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 9px 14px 9px 36px;
    color: var(--text-1);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.15s;
}
.search-bar input::placeholder { color: var(--text-3); }
.search-bar input:focus { border-color: rgba(0,229,160,0.4); }
.search-form { display: contents; }

.credits-pill {
    display: flex; align-items: center; gap: 6px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 6px 14px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-1);
    transition: all 0.15s;
    text-decoration: none;
}
.credits-pill i { color: #f0b429; font-size: 0.8rem; }
.credits-pill:hover { background: var(--bg-3); border-color: rgba(240,180,41,0.3); }

.top-btn {
    background: var(--bg-2);
    border: 1px solid var(--border);
    color: var(--text-2);
    width: 38px; height: 38px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.9rem;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.15s;
    position: relative;
    text-decoration: none;
}
.top-btn:hover { background: var(--bg-3); color: var(--text-1); }
.notif-badge {
    position: absolute;
    top: 4px; right: 4px;
    width: 16px; height: 16px;
    background: #ff4757;
    border-radius: 50%;
    font-size: 0.6rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
}

.user-pill {
    display: flex; align-items: center; gap: 8px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 4px 14px 4px 4px;
    cursor: pointer;
    transition: all 0.15s;
    position: relative;
}
.user-pill:hover { background: var(--bg-3); }
.user-avatar {
    width: 30px; height: 30px;
    background: var(--accent);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    color: #000;
    flex-shrink: 0;
}
.user-avatar-img {
    width: 30px; height: 30px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.user-name { font-size: 0.82rem; font-weight: 500; }

/* Buttons */
.btn-outline-sm {
    display: flex; align-items: center; gap: 6px;
    background: transparent;
    border: 1px solid var(--border-md);
    color: var(--text-1);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
}
.btn-outline-sm:hover { background: var(--bg-2); border-color: rgba(255,255,255,0.2); }

.btn-accent-sm {
    display: flex; align-items: center; gap: 6px;
    background: var(--accent);
    color: #000;
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
}
.btn-accent-sm:hover { background: #00ffb3; }

/* Dropdown */
.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    min-width: 180px;
    overflow: hidden;
    opacity: 0; visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.18s;
    z-index: 300;
    box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.dropdown.show { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-item {
    display: flex; align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 0.85rem;
    color: var(--text-2);
    cursor: pointer;
    transition: all 0.1s;
    text-decoration: none;
}
.dropdown-item:hover { background: var(--bg-3); color: var(--text-1); }
.dropdown-divider { height: 1px; background: var(--border); }
.dropdown-item.danger:hover { color: #ff6b6b; }

/* ── PAGE CONTENT ── */
.page { padding: 28px 24px 120px; }

/* ── FLASH MESSAGES ── */
.flash-message {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 20px;
    margin: 0 24px 16px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    animation: flashIn 0.3s ease;
}
.flash-success { background: rgba(0,229,160,0.12); color: var(--accent); border: 1px solid rgba(0,229,160,0.2); }
.flash-error { background: rgba(255,75,75,0.12); color: #ff4b4b; border: 1px solid rgba(255,75,75,0.2); }
.flash-info { background: rgba(56,189,248,0.12); color: #38bdf8; border: 1px solid rgba(56,189,248,0.2); }
.flash-close { background: none; border: none; color: inherit; cursor: pointer; margin-left: auto; opacity: 0.7; }
.flash-close:hover { opacity: 1; }
@keyframes flashIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* ── HERO SLIDER ── */
.hero-slider {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    height: 240px;
    margin-bottom: 40px;
}
.slides-track {
    display: flex;
    height: 100%;
    transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
}
.slide {
    flex: 0 0 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 24px;
}
.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
}
.slide-body { position: relative; z-index: 1; }
.slide-tag {
    display: inline-block;
    background: var(--accent);
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    margin-bottom: 8px;
}
.slide-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 4px;
}
.slide-sub { font-size: 0.8rem; color: rgba(255,255,255,0.65); }

.slide-prev, .slide-next {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    backdrop-filter: blur(6px);
    transition: all 0.15s;
}
.slide-prev:hover, .slide-next:hover { background: var(--accent); color: #000; border-color: var(--accent); }
.slide-prev { left: 14px; }
.slide-next { right: 14px; }

.slider-dots {
    position: absolute;
    bottom: 14px; right: 16px;
    display: flex; gap: 6px;
    z-index: 10;
}
.dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: all 0.2s;
}
.dot.active { background: var(--accent); width: 20px; border-radius: var(--radius-pill); }

/* ── SECTION HEADERS ── */
.sec-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 16px;
}
.sec-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.2px;
}
.sec-title span { color: var(--accent); margin-right: 8px; }
.sec-all {
    font-size: 0.78rem;
    color: var(--text-3);
    cursor: pointer;
    transition: color 0.15s;
    text-decoration: none;
}
.sec-all:hover { color: var(--accent); }

/* ── TRACK CARDS SCROLL ROW ── */
.cards-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
    margin-bottom: 36px;
}
.cards-scroll::-webkit-scrollbar { display: none; }

.track-card {
    flex: 0 0 148px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-1);
}
.track-card:hover {
    background: var(--bg-3);
    border-color: rgba(0,229,160,0.25);
    transform: translateY(-2px);
}
.track-card:hover .card-play { opacity: 1; transform: translateY(0); }

.card-cover {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: var(--bg-3);
    display: block;
    margin-bottom: 10px;
}
.card-play {
    position: absolute;
    top: calc(12px + 80px);
    right: 24px;
    width: 36px; height: 36px;
    background: var(--accent);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #000;
    font-size: 0.85rem;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0,229,160,0.4);
}
.card-title {
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}
.card-artist { font-size: 0.75rem; color: var(--text-3); }

/* ── TRACK CARDS GRID ── */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
    gap: 14px;
    margin-bottom: 36px;
}
.cards-grid .track-card { flex: none; }

/* ── TRENDING LIST ── */
.trending-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 36px;
}
.trending-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
    color: var(--text-1);
}
.trending-item:hover { background: var(--bg-2); }
.trending-item:hover .ti-btn { opacity: 1; }

.ti-rank {
    width: 24px;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-3);
    flex-shrink: 0;
}
.ti-rank.top { color: var(--accent); }
.ti-cover {
    width: 44px; height: 44px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--bg-3);
    flex-shrink: 0;
}
.ti-info { flex: 1; min-width: 0; }
.ti-name { font-size: 0.88rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ti-artist { font-size: 0.75rem; color: var(--text-3); }
.ti-duration { font-size: 0.75rem; color: var(--text-3); flex-shrink: 0; font-variant-numeric: tabular-nums; }
.ti-btn {
    background: none; border: none;
    color: var(--text-2);
    font-size: 0.9rem;
    cursor: pointer;
    opacity: 0;
    transition: all 0.15s;
    padding: 4px 8px;
}
.ti-btn:hover { color: var(--accent); }

/* ── TRACK DETAIL ── */
.track-hero {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 36px;
    align-items: flex-start;
    margin-bottom: 40px;
}
.cover-wrap {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    flex-shrink: 0;
}
.cover-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-play-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.2s;
}
.cover-wrap:hover .cover-play-overlay { opacity: 1; }
.cover-big-play {
    width: 64px; height: 64px;
    background: var(--accent);
    border-radius: 50%;
    border: none;
    display: flex; align-items: center; justify-content: center;
    color: #000; font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.15s;
}
.cover-big-play:hover { transform: scale(1.08); }

.track-info { display: flex; flex-direction: column; gap: 0; }
.track-genre-tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.8px; text-transform: uppercase;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 14px;
    width: fit-content;
    border: 1px solid rgba(0,229,160,0.2);
}
.track-title {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.05;
    letter-spacing: -1px;
    margin-bottom: 10px;
}
.track-artist-row {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 20px;
}
.artist-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border-md); }
.artist-name { font-size: 0.9rem; font-weight: 500; color: var(--text-2); }
.artist-name strong { color: var(--text-1); }
.dot-sep { color: var(--text-3); font-size: 0.7rem; }
.release-year { font-size: 0.82rem; color: var(--text-3); }

.track-stats {
    display: flex; align-items: center; gap: 20px;
    margin-bottom: 24px; flex-wrap: wrap;
}
.stat-item { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--text-2); }
.stat-item i { font-size: 0.75rem; color: var(--text-3); }
.stat-item strong { color: var(--text-1); font-weight: 500; }

.track-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.btn-play-main {
    display: flex; align-items: center; gap: 10px;
    background: var(--accent); color: #000; border: none;
    border-radius: var(--radius-pill);
    padding: 12px 28px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem; font-weight: 600;
    cursor: pointer; transition: all 0.15s;
}
.btn-play-main:hover { background: #00ffb3; transform: translateY(-1px); }
.btn-outline {
    display: flex; align-items: center; gap: 8px;
    background: transparent; color: var(--text-1);
    border: 1px solid var(--border-md);
    border-radius: var(--radius-pill);
    padding: 11px 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem; font-weight: 500;
    cursor: pointer; transition: all 0.15s;
    text-decoration: none;
}
.btn-outline:hover { background: var(--bg-2); border-color: rgba(255,255,255,0.2); }
.btn-icon {
    width: 42px; height: 42px;
    background: var(--bg-2);
    border: 1px solid var(--border-md);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-2); font-size: 0.9rem;
    cursor: pointer; transition: all 0.15s;
}
.btn-icon:hover { background: var(--bg-3); color: var(--text-1); }
.btn-icon.liked { color: #ff6b9d; border-color: rgba(255,107,157,0.3); }

/* ── WAVEFORM ── */
.waveform-section {
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin-bottom: 32px;
}
.waveform-label { font-size: 0.75rem; color: var(--text-3); margin-bottom: 12px; letter-spacing: 0.5px; text-transform: uppercase; }
canvas#waveCanvas { width: 100%; height: 64px; cursor: pointer; display: block; }
.waveform-times { display: flex; justify-content: space-between; margin-top: 6px; font-size: 0.7rem; color: var(--text-3); font-variant-numeric: tabular-nums; }

/* ── DETAIL GRID ── */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
}

/* ── PANELS ── */
.panel {
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.panel-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
}
.panel-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.95rem; }
.panel-action { font-size: 0.75rem; color: var(--text-3); cursor: pointer; transition: color 0.15s; text-decoration: none; }
.panel-action:hover { color: var(--accent); }

/* Album tracks */
.album-track {
    display: flex; align-items: center; gap: 14px;
    padding: 10px 20px;
    transition: background 0.12s;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--text-1);
}
.album-track:last-child { border-bottom: none; }
.album-track:hover { background: var(--bg-2); }

/* ── RIGHT COLUMN ── */
.right-col { display: flex; flex-direction: column; gap: 16px; }

/* Artist card */
.artist-card {
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.artist-card-banner {
    height: 80px;
    background: linear-gradient(135deg, #0d2b1e, #062218);
    position: relative;
}
.artist-card-banner::after {
    content: '';
    position: absolute; inset: 0;
    background: repeating-linear-gradient(45deg, rgba(0,229,160,0.03) 0px, rgba(0,229,160,0.03) 1px, transparent 1px, transparent 16px);
}
.artist-card-body { padding: 0 16px 16px; }
.artist-card-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-1);
    margin-top: -28px;
    display: block;
    margin-bottom: 10px;
}
.artist-card-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 2px; }
.artist-card-sub { font-size: 0.75rem; color: var(--text-3); margin-bottom: 12px; }
.artist-card-stats { display: flex; gap: 16px; margin-bottom: 14px; }
.artist-stat { display: flex; flex-direction: column; gap: 1px; }
.artist-stat strong { font-size: 0.88rem; font-weight: 600; }
.artist-stat span { font-size: 0.7rem; color: var(--text-3); }
.btn-follow {
    width: 100%;
    background: var(--accent-dim);
    color: var(--accent);
    border: 1px solid rgba(0,229,160,0.25);
    border-radius: var(--radius-pill);
    padding: 9px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem; font-weight: 600;
    cursor: pointer; transition: all 0.15s;
    text-decoration: none;
    display: block;
    text-align: center;
}
.btn-follow:hover { background: var(--accent); color: #000; }

/* Tags */
.tags-panel { background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px; }
.tags-panel h4 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.85rem; margin-bottom: 12px; }
.tags-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 5px 12px;
    font-size: 0.75rem;
    color: var(--text-2);
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
}
.tag:hover { background: var(--accent-dim); color: var(--accent); border-color: rgba(0,229,160,0.25); }

/* Similar tracks */
.similar-track {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.12s;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--text-1);
}
.similar-track:last-child { border-bottom: none; }
.similar-track:hover { background: var(--bg-2); }
.sim-cover { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.sim-info { flex: 1; min-width: 0; }
.sim-title { font-size: 0.82rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sim-artist { font-size: 0.72rem; color: var(--text-3); }
.sim-dur { font-size: 0.72rem; color: var(--text-3); flex-shrink: 0; font-variant-numeric: tabular-nums; }

/* Info list */
.info-list { padding: 0 16px; }
.info-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.82rem; }
.info-row:last-child { border-bottom: none; }
.info-key { color: var(--text-3); }
.info-val { color: var(--text-1); font-weight: 500; text-align: right; }
.info-val.accent { color: var(--accent); }

/* ── COMMENTS ── */
.comment-item { padding: 14px 16px; border-bottom: 1px solid var(--border); }
.comment-item:last-child { border-bottom: none; }
.comment-header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.comment-avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--bg-3);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem; font-weight: 600;
    flex-shrink: 0;
    color: var(--accent);
}
.comment-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.comment-user { font-size: 0.82rem; font-weight: 500; }
.comment-time { font-size: 0.7rem; color: var(--text-3); margin-left: auto; }
.comment-text { font-size: 0.82rem; color: var(--text-2); line-height: 1.5; }
.comment-actions { display: flex; gap: 12px; margin-top: 6px; }
.comment-action-btn { background: none; border: none; color: var(--text-3); font-size: 0.72rem; cursor: pointer; transition: color 0.15s; }
.comment-action-btn:hover { color: var(--accent); }
.comment-input-row { display: flex; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--border); }
.comment-input {
    flex: 1;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 8px 16px;
    color: var(--text-1);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    outline: none;
}
.comment-input::placeholder { color: var(--text-3); }
.comment-input:focus { border-color: rgba(0,229,160,0.35); }
.comment-send {
    background: var(--accent);
    border: none;
    border-radius: var(--radius-pill);
    padding: 8px 16px;
    color: #000;
    font-size: 0.82rem; font-weight: 600;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: background 0.15s;
}
.comment-send:hover { background: #00ffb3; }

/* ── FOOTER ── */
.footer {
    background: var(--bg-1);
    border-top: 1px solid var(--border);
    padding: 40px 24px;
}
.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 32px;
    max-width: 900px;
}
.footer-col h5 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: var(--text-1);
    margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
    text-decoration: none;
    font-size: 0.82rem;
    color: var(--text-3);
    display: flex; align-items: center; gap: 8px;
    transition: all 0.15s;
}
.footer-col a:hover { color: var(--accent); transform: translateX(2px); }
.footer-col a i { width: 16px; font-size: 0.8rem; }

.footer-bottom {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-brand {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--text-2);
}
.footer-copy { font-size: 0.75rem; color: var(--text-3); }

.social-row { display: flex; gap: 8px; }
.social-btn {
    width: 32px; height: 32px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-3);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
}
.social-btn:hover { background: var(--accent); color: #000; border-color: var(--accent); }

/* ── PLAYER ── */
.player {
    position: fixed;
    bottom: 0;
    left: var(--sidebar-w);
    right: 0;
    height: var(--player-h);
    background: rgba(14,14,14,0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0;
    z-index: 500;
    transition: transform 0.3s ease;
}
.player.translate-y-full { transform: translateY(100%); }
.player.translate-y-0 { transform: translateY(0); }

.player-left {
    display: flex; align-items: center; gap: 12px;
    padding: 0 20px; width: 260px; min-width: 0;
}
.player-thumb {
    width: 46px; height: 46px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-3);
    flex-shrink: 0;
}
.player-track-info { min-width: 0; }
.player-track-name { font-size: 0.82rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-track-artist { font-size: 0.72rem; color: var(--text-3); }
.player-like {
    background: none; border: none;
    color: var(--text-3); font-size: 0.9rem;
    cursor: pointer; padding: 4px;
    transition: color 0.15s;
}
.player-like:hover { color: #ff6b9d; }

.player-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 0 20px;
    min-width: 0;
}
.player-controls { display: flex; align-items: center; gap: 16px; }
.ctrl-btn {
    background: none; border: none;
    color: var(--text-2); font-size: 1rem;
    cursor: pointer; transition: color 0.15s;
    padding: 4px;
}
.ctrl-btn:hover { color: var(--text-1); }
.ctrl-btn.sm { font-size: 0.8rem; }
.ctrl-play {
    width: 36px; height: 36px;
    background: var(--accent);
    border-radius: 50%;
    border: none;
    display: flex; align-items: center; justify-content: center;
    color: #000; font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.1s, background 0.15s;
}
.ctrl-play:hover { background: #00ffb3; transform: scale(1.06); }
.ctrl-play:active { transform: scale(0.96); }

.progress-row {
    display: flex; align-items: center; gap: 8px;
    width: 100%; max-width: 480px;
}
.time-label { font-size: 0.68rem; color: var(--text-3); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.progress-track {
    flex: 1; height: 3px;
    background: var(--bg-3);
    border-radius: var(--radius-pill);
    cursor: pointer;
    position: relative;
}
.progress-fill {
    height: 100%;
    background: var(--accent);
    border-radius: var(--radius-pill);
    width: 0%;
    transition: width 0.5s linear;
}
.progress-track:hover .progress-fill { background: #00ffb3; }

.player-right {
    display: flex; align-items: center; gap: 8px;
    padding: 0 20px; width: 200px;
    justify-content: flex-end;
}
.vol-icon { color: var(--text-3); font-size: 0.85rem; }
.vol-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 80px; height: 3px;
    background: var(--bg-3);
    border-radius: var(--radius-pill);
    cursor: pointer;
    outline: none;
}
.vol-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px; height: 12px;
    background: var(--accent);
    border-radius: 50%;
}

/* ── FILTER BAR ── */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.filter-chip {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 7px 16px;
    font-size: 0.8rem;
    color: var(--text-2);
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
}
.filter-chip:hover { background: var(--bg-3); color: var(--text-1); }
.filter-chip.active { background: var(--accent-dim); color: var(--accent); border-color: rgba(0,229,160,0.25); }
.filter-chip select {
    background: transparent;
    border: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    outline: none;
}
.filter-chip select option { background: var(--bg-2); color: var(--text-1); }

/* ── PAGINATION ── */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 32px;
}
.page-btn {
    width: 36px; height: 36px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-2);
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
}
.page-btn:hover { background: var(--bg-3); color: var(--text-1); }
.page-btn.active { background: var(--accent); color: #000; border-color: var(--accent); font-weight: 600; }
.page-btn.disabled { opacity: 0.4; pointer-events: none; }

/* ── EMPTY STATE ── */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-3);
}
.empty-state i { font-size: 3rem; margin-bottom: 16px; display: block; }
.empty-state h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--text-2); margin-bottom: 8px; }
.empty-state p { font-size: 0.85rem; margin-bottom: 20px; }

/* ── MOBILE RESPONSIVE ── */
@media (max-width: 768px) {
    :root { --sidebar-w: 240px; }

    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); box-shadow: 8px 0 32px rgba(0,0,0,0.8); }

    .main-wrap { margin-left: 0; }
    .mobile-menu-btn { display: flex; }

    .search-bar { max-width: 200px; }

    .hero-slider { height: 180px; margin-bottom: 28px; }
    .slide-title { font-size: 1.1rem; }

    .track-card { flex: 0 0 130px; }
    .track-hero { grid-template-columns: 1fr; gap: 20px; }
    .cover-wrap { max-width: 260px; }
    .detail-grid { grid-template-columns: 1fr; }
    .right-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

    .player {
        left: 0;
        flex-direction: column;
        height: auto;
        padding: 10px 16px 14px;
        gap: 8px;
    }
    .player.translate-y-full { transform: translateY(100%); }
    .player.translate-y-0 { transform: translateY(0); }
    .player-left { width: 100%; padding: 0; }
    .player-center { padding: 0; width: 100%; }
    .player-right { display: none; }

    .user-name { display: none; }
    .user-pill { padding: 4px 10px 4px 4px; }

    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .ti-duration { display: none; }
    .breadcrumb { display: none; }
}

@media (max-width: 480px) {
    .page { padding: 20px 16px 140px; }
    .top-bar { padding: 10px 16px; }
    .hero-slider { height: 150px; }
    .slide-title { font-size: 0.95rem; }
    .track-card { flex: 0 0 118px; }
    .track-title { font-size: 1.6rem; }
    .track-actions { gap: 8px; }
    .btn-play-main { padding: 10px 20px; font-size: 0.82rem; }
}

/* ── ACTIVE PLAYING STATE ── */
.track-card.playing .card-play { opacity: 1; transform: translateY(0); }
.track-card.playing { border-color: rgba(0,229,160,0.35); }
.trending-item.playing .ti-name { color: var(--accent); }

/* ── LOADING ── */
.loading-spinner {
    width: 24px; height: 24px;
    border: 2px solid var(--bg-3);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
	
	
	
	
