/* ============================================
   هِزاري — ملف CSS الكامل بدون Tailwind/Vite
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg-primary: #0c0c0e;
    --bg-secondary: #111113;
    --bg-tertiary: #161618;
    --border: #1e1e1e;
    --border-light: #2a2a2c;
    --text-primary: #e2e0dc;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --green-dark: #1a3a2a;
    --green: #1a5e40;
    --gold: #d4af5a;
    --gold-light: #e0be6a;
    --red: #6B2D2D;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-full: 999px;
}

body {
    font-family: 'Tajawal', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    direction: rtl;
    min-height: 100vh;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: 'Tajawal', sans-serif; }

/* ============================================
   NAVBAR
   ============================================ */
nav.main-nav {
    position: sticky; top: 0; z-index: 40;
    background: rgba(12,12,14,.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: 1200px; margin: 0 auto;
    padding: 0 20px;
    display: flex; align-items: center; gap: 16px;
    height: 60px;
}
.nav-logo {
    display: flex; align-items: center; gap: 8px;
    flex-shrink: 0;
}
.nav-logo-icon {
    width: 36px; height: 36px; border-radius: 10px;
    background: var(--green-dark);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; color: var(--gold); font-weight: 700;
}
.nav-logo-text { font-size: 18px; font-weight: 700; color: #fff; }
.nav-links {
    display: flex; align-items: center; gap: 2px;
    margin-right: 16px;
}
.nav-links a {
    padding: 6px 12px; border-radius: 8px;
    font-size: 14px; color: var(--text-secondary);
    transition: all .15s;
}
.nav-links a:hover, .nav-links a.active {
    background: var(--bg-secondary); color: #fff;
}
.nav-search { flex: 1; max-width: 380px; margin: 0 auto; position: relative; }
.nav-search input {
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    padding: 8px 36px 8px 16px;
    font-size: 13px; color: #fff;
    font-family: 'Tajawal', sans-serif;
    outline: none; transition: border-color .15s;
}
.nav-search input:focus { border-color: var(--gold); }
.nav-search .search-icon {
    position: absolute; right: 12px; top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted); font-size: 14px; pointer-events: none;
}
.nav-actions { display: flex; align-items: center; gap: 8px; margin-right: auto; }
.btn-login {
    padding: 7px 16px; border-radius: var(--radius-full);
    font-size: 13px; color: var(--text-secondary);
    background: transparent; border: 1px solid var(--border-light);
    transition: all .15s;
}
.btn-login:hover { color: #fff; border-color: #fff; }
.btn-register {
    padding: 7px 18px; border-radius: var(--radius-full);
    font-size: 13px; font-weight: 600;
    background: var(--gold); color: #1a1a1a; border: none;
    transition: all .15s;
}
.btn-register:hover { background: var(--gold-light); }
.badge-premium {
    font-size: 11px; font-weight: 600;
    background: var(--gold); color: #1a1a1a;
    padding: 2px 8px; border-radius: var(--radius-full);
}
.user-menu { position: relative; }
.user-avatar-btn {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--green-dark);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; color: var(--gold); font-weight: 700;
    border: none;
}
.dropdown-menu {
    position: absolute; left: 0; top: calc(100% + 8px);
    width: 180px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius); overflow: hidden;
    display: none; z-index: 100;
}
.user-menu:hover .dropdown-menu { display: block; }
.dropdown-menu a, .dropdown-menu button {
    display: block; width: 100%; text-align: right;
    padding: 10px 16px; font-size: 13px;
    color: var(--text-secondary); background: none; border: none;
    transition: all .15s; font-family: 'Tajawal', sans-serif;
}
.dropdown-menu a:hover, .dropdown-menu button:hover {
    background: var(--bg-tertiary); color: #fff;
}
.dropdown-menu hr { border: none; border-top: 1px solid var(--border); }
.dropdown-menu .text-gold { color: var(--gold); }
.dropdown-menu .text-red { color: #f87171; }

/* ============================================
   LAYOUT
   ============================================ */
main { min-height: calc(100vh - 60px); padding-bottom: 100px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 32px 0; }
.section-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 20px;
}
.section-title { font-size: 20px; font-weight: 700; color: #fff; }
.see-all { font-size: 13px; color: var(--text-muted); transition: color .15s; }
.see-all:hover { color: var(--gold); }

/* ============================================
   HERO
   ============================================ */
.hero {
    background: linear-gradient(135deg, #0a1f14 0%, var(--bg-secondary) 60%, var(--bg-primary) 100%);
    border-bottom: 1px solid var(--border);
    padding: 60px 20px;
    text-align: right;
}
.hero-inner { max-width: 1200px; margin: 0 auto; }
.hero-badge {
    display: inline-block;
    background: rgba(212,175,90,.15); color: var(--gold);
    font-size: 12px; font-weight: 500;
    padding: 4px 14px; border-radius: var(--radius-full);
    margin-bottom: 16px;
}
.hero h1 {
    font-size: 42px; font-weight: 800; color: #fff;
    line-height: 1.3; margin-bottom: 12px;
}
.hero h1 span { color: var(--gold); }
.hero p { font-size: 16px; color: var(--text-secondary); margin-bottom: 28px; line-height: 1.8; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.btn-hero-primary {
    background: var(--gold); color: #1a1a1a;
    font-weight: 700; font-size: 14px;
    padding: 12px 28px; border-radius: var(--radius-full);
    border: none; transition: all .15s;
}
.btn-hero-primary:hover { background: var(--gold-light); }
.btn-hero-secondary {
    background: transparent; color: var(--text-secondary);
    font-size: 14px;
    padding: 12px 28px; border-radius: var(--radius-full);
    border: 1px solid var(--border-light); transition: all .15s;
}
.btn-hero-secondary:hover { color: #fff; border-color: #fff; }
.hero-stats { display: flex; gap: 32px; }
.hero-stat-num { font-size: 26px; font-weight: 800; color: var(--gold); }
.hero-stat-lbl { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ============================================
   CATEGORIES GRID
   ============================================ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
}
.category-card {
    position: relative; border-radius: var(--radius-lg);
    overflow: hidden; aspect-ratio: 1;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    transition: border-color .15s;
}
.category-card:hover { border-color: var(--border-light); }
.category-card img {
    width: 100%; height: 100%; object-fit: cover;
    opacity: .5; transition: opacity .3s;
}
.category-card:hover img { opacity: .65; }
.category-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.85), transparent);
    padding: 14px;
    display: flex; flex-direction: column; justify-content: flex-end;
}
.category-name { font-size: 14px; font-weight: 700; color: #fff; }
.category-count { font-size: 11px; color: rgba(255,255,255,.5); margin-top: 2px; }

/* ============================================
   SONG CARD
   ============================================ */
.songs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}
.song-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color .15s;
}
.song-card:hover { border-color: var(--border-light); }
.song-card-thumb {
    position: relative; aspect-ratio: 1; overflow: hidden;
    background: var(--bg-tertiary);
}
.song-card-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .3s;
}
.song-card:hover .song-card-thumb img { transform: scale(1.05); }
.song-card-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0);
    display: flex; align-items: center; justify-content: center;
    transition: background .2s;
}
.song-card:hover .song-card-overlay { background: rgba(0,0,0,.45); }
.song-play-btn {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--gold); border: none; color: #1a1a1a;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    opacity: 0; transform: scale(.8);
    transition: all .2s;
}
.song-card:hover .song-play-btn { opacity: 1; transform: scale(1); }
.badge-featured {
    position: absolute; top: 8px; right: 8px;
    background: var(--green); color: #fff;
    font-size: 10px; padding: 2px 7px; border-radius: var(--radius-full);
}
.badge-premium-song {
    position: absolute; top: 8px; left: 8px;
    background: var(--gold); color: #1a1a1a;
    font-size: 10px; font-weight: 700;
    padding: 2px 7px; border-radius: var(--radius-full);
}
.song-card-info { padding: 12px; }
.song-card-title {
    font-size: 13px; font-weight: 600; color: #fff;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    margin-bottom: 4px; display: block;
}
.song-card-title:hover { color: var(--gold); }
.song-card-artist {
    font-size: 12px; color: var(--text-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    display: block;
}
.song-card-artist:hover { color: var(--text-secondary); }
.song-card-cat {
    display: inline-block; margin-top: 6px;
    font-size: 10px; padding: 2px 8px; border-radius: var(--radius-full);
}
.song-card-footer {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 8px;
}
.song-plays { font-size: 11px; color: var(--text-muted); }
.btn-like {
    background: none; border: none;
    color: var(--text-muted); font-size: 14px;
    transition: color .15s; padding: 2px;
}
.btn-like:hover, .btn-like.liked { color: #f87171; }

/* ============================================
   TRENDING LIST
   ============================================ */
.trending-list {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.trending-item {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--bg-tertiary);
    transition: background .15s;
    position: relative;
}
.trending-item:last-child { border-bottom: none; }
.trending-item:hover { background: var(--bg-tertiary); }
.trending-rank { font-size: 13px; color: var(--text-muted); width: 22px; text-align: center; flex-shrink: 0; }
.trending-cover {
    width: 48px; height: 48px; border-radius: 8px;
    object-fit: cover; flex-shrink: 0;
    background: var(--bg-tertiary);
}
.trending-info { flex: 1; min-width: 0; }
.trending-title {
    font-size: 14px; font-weight: 600; color: #fff;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.trending-meta { display: flex; align-items: center; gap: 8px; margin-top: 3px; }
.trending-cat {
    font-size: 11px; padding: 1px 8px; border-radius: var(--radius-full); font-weight: 500;
}
.trending-artist { font-size: 11px; color: var(--text-muted); }
.trending-plays { font-size: 11px; color: var(--text-muted); }
.trending-play-btn {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--gold); border: none; color: #1a1a1a;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; flex-shrink: 0;
    opacity: 0; transition: opacity .2s;
}
.trending-item:hover .trending-play-btn { opacity: 1; }

/* ============================================
   ARTISTS ROW
   ============================================ */
.artists-row {
    display: flex; gap: 16px;
    overflow-x: auto; padding-bottom: 8px;
}
.artists-row::-webkit-scrollbar { height: 4px; }
.artists-row::-webkit-scrollbar-track { background: var(--bg-secondary); }
.artists-row::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 2px; }
.artist-chip {
    flex-shrink: 0; text-align: center;
    width: 88px;
}
.artist-chip-avatar {
    width: 68px; height: 68px; border-radius: 50%;
    border: 2px solid var(--border-light);
    overflow: hidden; margin: 0 auto 8px;
    background: var(--bg-secondary);
    transition: border-color .15s;
}
.artist-chip:hover .artist-chip-avatar { border-color: var(--gold); }
.artist-chip-avatar img { width: 100%; height: 100%; object-fit: cover; }
.artist-chip-name { font-size: 12px; font-weight: 500; color: var(--text-secondary); }
.artist-chip:hover .artist-chip-name { color: #fff; }
.artist-chip-region { font-size: 10px; color: var(--text-muted); margin-top: 2px; }

/* ============================================
   CTA
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--green-dark), var(--bg-secondary));
    border: 1px solid #1a3a2a;
    border-radius: var(--radius-lg);
    padding: 40px; text-align: center;
    margin: 32px 0;
}
.cta-section h2 { font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.cta-section p { font-size: 15px; color: var(--text-secondary); margin-bottom: 24px; }
.cta-section .price { color: var(--gold); font-weight: 800; font-size: 20px; }

/* ============================================
   SONGS INDEX PAGE
   ============================================ */
.page-header {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 16px; padding: 28px 0 20px; flex-wrap: wrap;
}
.page-title-h { font-size: 24px; font-weight: 700; color: #fff; }
.page-sub { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.sort-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.sort-pill {
    font-size: 12px; padding: 6px 14px; border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
    background: transparent; color: var(--text-muted);
    transition: all .15s;
}
.sort-pill:hover { color: #fff; border-color: #fff; }
.sort-pill.active {
    background: var(--gold); color: #1a1a1a;
    border-color: var(--gold); font-weight: 600;
}
.songs-layout { display: flex; gap: 24px; align-items: flex-start; }
.sidebar-filters { width: 200px; flex-shrink: 0; }
.filter-section { margin-bottom: 24px; }
.filter-label {
    font-size: 11px; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: .5px;
    margin-bottom: 8px; display: block;
}
.filter-search {
    position: relative; margin-bottom: 16px;
}
.filter-search input {
    width: 100%; background: var(--bg-secondary);
    border: 1px solid var(--border-light); border-radius: 8px;
    padding: 8px 12px; font-size: 13px; color: #fff;
    font-family: 'Tajawal', sans-serif; outline: none;
}
.filter-search input:focus { border-color: var(--gold); }
.filter-links { display: flex; flex-direction: column; gap: 2px; }
.filter-link {
    display: block; padding: 7px 12px; border-radius: 8px;
    font-size: 13px; color: var(--text-secondary);
    transition: all .15s;
}
.filter-link:hover { background: var(--bg-secondary); color: #fff; }
.filter-link.active { background: var(--bg-secondary); color: #fff; }
.songs-content { flex: 1; min-width: 0; }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; }
.filter-tag {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; background: var(--bg-secondary);
    color: var(--text-secondary); padding: 4px 12px; border-radius: var(--radius-full);
}
.filter-tag a { color: var(--text-muted); }
.filter-tag a:hover { color: #fff; }
.empty-state { text-align: center; padding: 60px 0; color: var(--text-muted); }
.empty-state svg { margin: 0 auto 16px; opacity: .3; }

/* ============================================
   SONG SHOW PAGE
   ============================================ */
.song-show-layout { display: flex; gap: 32px; align-items: flex-start; }
.song-show-main { flex: 1; min-width: 0; }
.song-show-side { width: 280px; flex-shrink: 0; }
.song-hero { display: flex; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.song-hero-cover {
    width: 200px; height: 200px; border-radius: var(--radius-lg);
    object-fit: cover; flex-shrink: 0;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.song-hero-info { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; }
.song-hero-cat { font-size: 12px; font-weight: 500; margin-bottom: 8px; display: inline-block; }
.song-hero-title { font-size: 30px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.song-hero-artist { font-size: 16px; color: var(--text-secondary); margin-bottom: 16px; }
.song-hero-artist:hover { color: var(--gold); }
.song-stats { display: flex; gap: 24px; font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.song-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-play-main {
    display: flex; align-items: center; gap: 8px;
    background: var(--gold); color: #1a1a1a; font-weight: 700; font-size: 14px;
    padding: 10px 24px; border-radius: var(--radius-full); border: none;
    transition: all .15s;
}
.btn-play-main:hover { background: var(--gold-light); }
.btn-action {
    display: flex; align-items: center; gap: 7px;
    padding: 10px 18px; border-radius: var(--radius-full);
    font-size: 13px; border: 1px solid var(--border-light);
    background: transparent; color: var(--text-secondary);
    transition: all .15s;
}
.btn-action:hover { color: #fff; border-color: #fff; }
.btn-action.liked { color: #f87171; border-color: rgba(248,113,113,.4); }
.btn-action.favorited { color: var(--gold); border-color: rgba(212,175,90,.4); }
.song-box {
    background: var(--bg-secondary); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 20px; margin-bottom: 16px;
}
.song-box-title { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 16px; }
.song-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.song-info-item label { font-size: 11px; color: var(--text-muted); display: block; margin-bottom: 3px; }
.song-info-item span { font-size: 13px; color: #fff; }
.lyrics-text { font-size: 14px; color: var(--text-secondary); line-height: 2.2; white-space: pre-line; }
.stars { display: flex; gap: 4px; }
.star-btn {
    font-size: 26px; background: none; border: none;
    color: var(--border-light); transition: all .15s;
}
.star-btn.active, .star-btn:hover { color: var(--gold); transform: scale(1.1); }
.rating-display { text-align: left; }
.rating-num { font-size: 28px; font-weight: 800; color: var(--gold); }
.rating-count { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ============================================
   COMMENTS
   ============================================ */
.comment-form { display: flex; gap: 12px; margin-bottom: 24px; }
.comment-avatar {
    width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
    background: var(--green-dark);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; color: var(--gold); font-weight: 700;
}
.comment-form-inner { flex: 1; }
.comment-textarea {
    width: 100%; background: var(--bg-tertiary);
    border: 1px solid var(--border-light); border-radius: 12px;
    padding: 12px 16px; font-size: 13px; color: #fff;
    font-family: 'Tajawal', sans-serif; resize: none; outline: none;
    transition: border-color .15s; min-height: 72px;
}
.comment-textarea:focus { border-color: var(--gold); }
.btn-comment {
    margin-top: 8px; background: var(--gold); color: #1a1a1a;
    font-size: 12px; font-weight: 700; padding: 6px 18px;
    border-radius: var(--radius-full); border: none; transition: all .15s;
}
.btn-comment:hover { background: var(--gold-light); }
.comments-list { display: flex; flex-direction: column; }
.comment-item {
    display: flex; gap: 12px;
    padding: 16px 0; border-bottom: 1px solid var(--border);
}
.comment-item:last-child { border-bottom: none; }
.comment-user { font-size: 13px; font-weight: 600; color: #fff; }
.comment-time { font-size: 11px; color: var(--text-muted); margin-right: 8px; }
.comment-body { font-size: 13px; color: var(--text-secondary); margin-top: 5px; line-height: 1.7; }
.comment-replies { margin-top: 10px; margin-right: 20px; border-right: 2px solid var(--border-light); padding-right: 14px; }

/* ============================================
   RELATED SONGS (sidebar)
   ============================================ */
.related-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px; border-radius: 10px;
    cursor: pointer; transition: background .15s;
    position: relative;
}
.related-item:hover { background: var(--bg-secondary); }
.related-cover {
    width: 44px; height: 44px; border-radius: 8px;
    object-fit: cover; flex-shrink: 0; background: var(--bg-tertiary);
}
.related-title { font-size: 13px; font-weight: 500; color: #fff; }
.related-artist { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.related-play {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--gold); border: none; color: #1a1a1a;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; flex-shrink: 0;
    opacity: 0; transition: opacity .15s; margin-right: auto;
}
.related-item:hover .related-play { opacity: 1; }

/* ============================================
   ARTISTS PAGE
   ============================================ */
.artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}
.artist-card {
    background: var(--bg-secondary); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    text-align: center; padding: 24px 16px;
    transition: border-color .15s;
}
.artist-card:hover { border-color: var(--border-light); }
.artist-card-avatar {
    width: 80px; height: 80px; border-radius: 50%;
    margin: 0 auto 14px; overflow: hidden;
    border: 2px solid var(--border-light); background: var(--bg-tertiary);
}
.artist-card-avatar img { width: 100%; height: 100%; object-fit: cover; }
.artist-card-name { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.artist-card-region { font-size: 12px; color: var(--text-muted); }
.artist-card-stats { display: flex; justify-content: center; gap: 16px; margin-top: 14px; }
.artist-stat { font-size: 11px; color: var(--text-muted); text-align: center; }
.artist-stat strong { display: block; font-size: 14px; color: var(--text-secondary); }
.badge-verified { font-size: 11px; color: #4ade80; margin-right: 4px; }

/* ============================================
   PLAYER BAR
   ============================================ */
#player-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
    background: #0d1f17;
    border-top: 1px solid #1a3a2a;
    padding: 12px 20px;
    display: none;
}
#player-bar.visible { display: block; }
.player-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; gap: 16px;
}
#player-cover {
    width: 48px; height: 48px; border-radius: 8px;
    object-fit: cover; flex-shrink: 0;
}
.player-info { flex: 0 0 200px; min-width: 0; }
#player-title { font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#player-artist { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.player-controls { display: flex; align-items: center; gap: 12px; }
.ctrl-btn {
    background: none; border: none; color: var(--text-muted);
    font-size: 18px; display: flex; align-items: center; transition: color .15s;
}
.ctrl-btn:hover { color: #fff; }
.ctrl-btn.main {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--gold); color: #1a1a1a; font-size: 16px;
    display: flex; align-items: center; justify-content: center;
}
.ctrl-btn.main:hover { background: var(--gold-light); }
.player-progress { flex: 1; display: flex; align-items: center; gap: 10px; }
.time-label { font-size: 11px; color: var(--text-muted); flex-shrink: 0; width: 36px; }
.progress-track {
    flex: 1; height: 4px; background: var(--border-light);
    border-radius: 2px; cursor: pointer; position: relative;
}
.progress-fill { height: 100%; background: var(--gold); border-radius: 2px; width: 0%; }
.volume-wrap { display: flex; align-items: center; gap: 8px; }
.volume-wrap svg { color: var(--text-muted); flex-shrink: 0; }
#volume-slider { width: 80px; accent-color: var(--gold); }
#btn-close-player { background: none; border: none; color: var(--text-muted); font-size: 18px; }
#btn-close-player:hover { color: #fff; }

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 32px 20px; padding-bottom: 100px;
}
.footer-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
}
.footer-logo { display: flex; align-items: center; gap: 8px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: var(--text-muted); transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 12px; color: var(--border-light); }

/* ============================================
   ALERTS & MISC
   ============================================ */
.alert { padding: 12px 16px; border-radius: 10px; font-size: 13px; margin-bottom: 16px; }
.alert-success { background: #14532d22; border: 1px solid #14532d; color: #4ade80; }
.alert-error   { background: #7f1d1d22; border: 1px solid #7f1d1d; color: #f87171; }
.pagination-wrap { display: flex; justify-content: center; gap: 6px; padding: 24px 0; }
.page-btn {
    padding: 7px 14px; border-radius: 8px; font-size: 13px;
    background: var(--bg-secondary); border: 1px solid var(--border-light);
    color: var(--text-secondary); transition: all .15s;
}
.page-btn:hover, .page-btn.active {
    background: var(--gold); color: #1a1a1a; border-color: var(--gold);
}
.page-btn.disabled { opacity: .4; pointer-events: none; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 28px; }
    .songs-layout { flex-direction: column; }
    .sidebar-filters { width: 100%; }
    .song-show-layout { flex-direction: column; }
    .song-show-side { width: 100%; }
    .song-hero-cover { width: 140px; height: 140px; }
    .hero-stats { gap: 16px; }
    .songs-grid { grid-template-columns: repeat(2, 1fr); }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .player-progress { display: none; }
    .volume-wrap { display: none; }
}
