:root {
    --bg-primary: #06060b;
    --bg-secondary: #0e0e16;
    --bg-card: #14141f;
    --bg-hover: #1a1a28;
    --accent: #a855f7;
    --accent-2: #7c3aed;
    --accent-glow: rgba(168, 85, 247, 0.4);
    --gold: #fbbf24;
    --text: #f1f1f5;
    --text-secondary: #c4c4d4;
    --text-muted: #8b8b9e;
    --border: #2a2a3d;
    --success: #22c55e;
    --danger: #ef4444;
    --radius: 16px;
    --shadow: 0 12px 40px rgba(0,0,0,0.35);
    --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    background: var(--bg-primary);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font-family: inherit; }

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(6, 6, 11, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 64px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.logo-icon {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: flex; align-items: center; justify-content: center;
    color: #fff;
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}
.main-nav a {
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}
.main-nav a:hover, .main-nav a.active {
    color: #fff;
    background: rgba(168, 85, 247, 0.15);
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.instagram-btn, .search-toggle, .theme-toggle, .menu-toggle {
    width: 40px; height: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-muted);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
}
.instagram-btn:hover, .search-toggle:hover, .theme-toggle:hover {
    color: var(--accent);
    border-color: var(--accent);
}
.menu-toggle { display: none; }

.search-bar {
    display: none;
    padding: 12px 0 16px;
    border-top: 1px solid var(--border);
}
.search-bar.active { display: block; }
.search-form {
    display: flex;
    gap: 8px;
    position: relative;
}
.search-form input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text);
    outline: none;
}
.search-form input:focus { border-color: var(--accent); }
.search-form button {
    width: 48px;
    border-radius: 12px;
    border: none;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
}

.main-content { padding: 20px 0 48px; min-height: 60vh; }

/* Slider */
.slider-section { margin-bottom: 28px; }
.slider-wrapper {
    position: relative;
    height: 360px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-card);
}
.slider-track { display: flex; height: 100%; transition: transform 0.5s ease; }
.slide { min-width: 100%; height: 100%; position: relative; }
.slide-img { width: 100%; height: 100%; object-fit: cover; }
.slide-content {
    position: absolute;
    bottom: 0; right: 0; left: 0;
    padding: 28px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
}
.slide-content h2 { font-size: 1.6rem; margin-bottom: 6px; }
.slide-content p { color: var(--text-secondary); margin-bottom: 12px; font-size: 0.95rem; }
.slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--accent);
    color: #fff !important;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
}
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px; height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.5);
    color: #fff;
    cursor: pointer;
    z-index: 2;
}
.slider-prev { right: 12px; }
.slider-next { left: 12px; }
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}
.slider-dots span {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
}
.slider-dots span.active { background: var(--accent); width: 22px; border-radius: 4px; }

/* Stats */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}
.stat-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 12px;
    text-align: center;
}
.stat-num { font-size: 1.5rem; font-weight: 800; color: var(--accent); }
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

/* New song banner */
.new-song-banner {
    border-radius: 24px;
    margin-bottom: 28px;
    border: 1px solid rgba(168, 85, 247, 0.4);
    background: linear-gradient(135deg, #1a0b2e, #2d1b4e, #150a28);
    overflow: hidden;
}
.new-song-banner.has-bg {
    background-image: linear-gradient(145deg, rgba(12,6,24,0.92), rgba(20,10,40,0.88)), var(--ns-bg);
    background-size: cover;
    background-position: center;
}
.ns-inner { text-align: center; padding: 40px 20px 36px; }
.new-song-banner .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 14px;
}
.new-song-banner h2 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 8px;
}
.ns-sub { color: rgba(255,255,255,0.7); margin-bottom: 22px; }
.countdown {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}
.countdown-item {
    min-width: 72px;
    padding: 14px 12px;
    background: rgba(0,0,0,0.5);
    border: 2px solid rgba(168, 85, 247, 0.5);
    border-radius: 14px;
}
.countdown-item .num {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
}
.countdown-item .label {
    display: block;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.65);
    margin-top: 4px;
}

/* Cards grid */
.songs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.song-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
}
.song-card:hover {
    transform: translateY(-4px);
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: var(--shadow);
}
.song-cover {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-hover);
}
.song-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.song-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}
.song-card:hover .song-overlay { opacity: 1; }
.play-btn {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff !important;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
}
.song-info { padding: 12px 14px 14px; }
.song-info h3 {
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.song-meta {
    display: flex;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
}
.song-badge {
    position: absolute;
    top: 10px; right: 10px;
    z-index: 2;
    background: var(--gold);
    color: #111;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 50px;
}

/* Sections */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.section-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
}
.icon-wrap {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: rgba(168, 85, 247, 0.15);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
}
.section-divider {
    height: 1px;
    background: var(--border);
    margin: 32px 0;
}

.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}
.quick-btn {
    padding: 8px 14px;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}
.quick-btn:hover, .quick-btn.active {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(168, 85, 247, 0.1);
}

.sort-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Artist */
.artist-spotlight {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.artist-avatar-sm {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: #fff;
    flex-shrink: 0;
}
.artist-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.artist-tags span {
    font-size: 0.78rem;
    padding: 4px 10px;
    border-radius: 50px;
    background: rgba(168, 85, 247, 0.1);
    color: var(--accent);
}

/* Charts */
.charts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}
.chart-list { list-style: none; }
.chart-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    margin-bottom: 8px;
}
.chart-rank {
    width: 30px; height: 30px;
    border-radius: 8px;
    background: rgba(168, 85, 247, 0.15);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.85rem;
}
.chart-thumb { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.chart-info h4 { font-size: 0.9rem; }
.chart-info span { font-size: 0.75rem; color: var(--text-muted); }

/* Song page */
.song-page {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}
.song-cover-large {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.song-cover-large img {
    width: 100%;
    border-radius: 20px;
}
#songCoverSpin.playing,
#songCoverSpin.playing img {
    border-radius: 50%;
}
#songCoverSpin.playing img {
    animation: spin 10s linear infinite;
}
@keyframes spin {
    from { transform: rotate(0); }
    to { transform: rotate(360deg); }
}
.song-details h1 { font-size: 1.55rem; margin-bottom: 10px; }
.song-cats { color: var(--accent); font-size: 0.9rem; margin-bottom: 12px; }
.song-actions-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.action-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}
.action-chip:hover, .action-chip.is-fav {
    border-color: var(--accent);
    color: var(--accent);
}
.song-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}
.song-stats span {
    padding: 6px 12px;
    border-radius: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-muted);
}
.song-description {
    margin-bottom: 18px;
    color: var(--text-secondary);
    line-height: 1.9;
}
.player-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 18px;
}
.quality-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.quality-tab {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-primary);
    color: var(--text-muted);
    cursor: pointer;
    font-weight: 700;
}
.quality-tab.active {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(168, 85, 247, 0.1);
}
.download-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 50px;
    background: var(--accent);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.88rem;
}
.download-btn.gold { background: linear-gradient(135deg, #fbbf24, #d97706); color: #111 !important; }

.lyrics-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    margin: 18px 0;
}
.lyrics-box h3 { margin-bottom: 12px; font-size: 1rem; }
.lyrics-text { line-height: 2; color: var(--text-secondary); white-space: pre-wrap; }

.ext-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.ext-btn {
    padding: 8px 14px;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    font-size: 0.85rem;
    font-weight: 600;
}

.singer-info-box, .comments-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
    margin-top: 16px;
}
.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-primary);
    color: var(--text);
}
.comment-item {
    border-top: 1px solid var(--border);
    padding: 12px 0;
    margin-top: 10px;
}
.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 0.85rem;
}
.comment-header span { color: var(--text-muted); }

.song-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 28px 0;
    flex-wrap: wrap;
}
.song-nav-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    flex: 1;
    min-width: 140px;
    max-width: 48%;
}
.song-nav-btn.next { flex-direction: row-reverse; text-align: left; }
.song-nav-btn small { display: block; color: var(--text-muted); font-size: 0.75rem; }

/* Footer */
.main-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 40px 0 20px;
    margin-top: 20px;
}
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 28px;
    margin-bottom: 24px;
}
.footer-about h3, .footer-links h4, .footer-info h4 { margin-bottom: 12px; }
.footer-about p, .footer-info p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 8px; }
.footer-links a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-size: 0.9rem;
}
.social-links { display: flex; gap: 10px; margin-top: 12px; }
.social-links a {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-muted);
}
.designer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 50px;
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.25);
}
.designer-link { color: var(--accent) !important; font-weight: 700; }

/* Designer promo */
.designer-promo { margin: 40px 0 10px; }
.designer-promo-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 20px 24px;
    border-radius: 18px;
    border: 1px solid rgba(168, 85, 247, 0.25);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(251, 191, 36, 0.05));
}
.designer-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    display: flex; align-items: center; justify-content: center;
    color: #fff;
}
.designer-btn {
    padding: 10px 18px;
    border-radius: 50px;
    background: var(--accent);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Misc */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 18px;
}
.breadcrumb .sep { opacity: 0.4; }
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}
.empty-icon { font-size: 2.5rem; margin-bottom: 12px; color: var(--accent); }
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    min-width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    font-size: 0.9rem;
}
.pagination .current {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-weight: 700;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { padding: 8px 12px; font-size: 0.85rem; }

.about-card {
    max-width: 640px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px 28px;
    text-align: center;
}
.about-avatar {
    width: 120px; height: 120px;
    border-radius: 50%;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; color: #fff;
}

.marquee-bar {
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 0;
    margin-bottom: 24px;
}
.marquee-track {
    display: flex;
    gap: 40px;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(50%); }
}

.float-btns {
    position: fixed;
    bottom: 24px;
    right: 16px;
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.float-btn {
    width: 48px; height: 48px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    box-shadow: var(--shadow);
}
.float-wa { background: #25d366; }
.float-tg { background: #2AABEE; }
.float-random { background: linear-gradient(135deg, var(--accent), var(--accent-2)); }

.back-to-top {
    position: fixed;
    bottom: 24px;
    left: 16px;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    z-index: 900;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }

.scroll-progress {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 3px;
    z-index: 1100;
    background: transparent;
}
.scroll-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--accent), var(--gold));
}

.corner-banner {
    position: fixed;
    z-index: 800;
    max-width: 120px;
}
.banner-top-left { top: 80px; right: 12px; }
.banner-top-right { top: 80px; left: 12px; }
.banner-bottom-left { bottom: 80px; right: 12px; }
.banner-bottom-right { bottom: 80px; left: 12px; }
.banner-close {
    position: absolute;
    top: -8px; left: -8px;
    width: 24px; height: 24px;
    border-radius: 50%;
    border: none;
    background: var(--danger);
    color: #fff;
    cursor: pointer;
}

.cookie-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 14px 20px;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.88rem;
}
.cookie-bar.show { display: flex; }

#toastBox {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
}
.toast-msg {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 12px 20px;
    border-radius: 50px;
    margin-top: 8px;
    opacity: 0;
    transition: 0.3s;
}
.toast-msg.show { opacity: 1; }

.search-suggest {
    position: absolute;
    top: 100%;
    right: 0; left: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-top: 6px;
    z-index: 100;
    max-height: 300px;
    overflow: auto;
    display: none;
}
.search-suggest.show { display: block; }
.search-suggest a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
}
.search-suggest img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }

.visualizer {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    height: 24px;
    margin-bottom: 10px;
    opacity: 0;
}
.visualizer.on { opacity: 1; }
.visualizer span {
    width: 4px;
    background: var(--accent);
    border-radius: 2px;
    animation: viz 0.7s ease-in-out infinite alternate;
}
.visualizer span:nth-child(2) { animation-delay: .1s; }
.visualizer span:nth-child(3) { animation-delay: .2s; }
.visualizer span:nth-child(4) { animation-delay: .15s; }
.visualizer span:nth-child(5) { animation-delay: .25s; }
@keyframes viz {
    from { height: 5px; }
    to { height: 22px; }
}

.alert-ok {
    background: rgba(34,197,94,0.15);
    color: var(--success);
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 12px;
}
.alert-err {
    background: rgba(239,68,68,0.15);
    color: var(--danger);
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 12px;
}

/* Light theme */
body.theme-light {
    --bg-primary: #f4f5f9;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-hover: #eef0f6;
    --text: #1e1b2e;
    --text-secondary: #3f3a52;
    --text-muted: #6b7280;
    --border: #e5e7ef;
}
body.theme-light .main-header {
    background: rgba(255,255,255,0.95);
}
body.theme-light .new-song-banner {
    background: linear-gradient(135deg, #4c1d95, #6d28d9, #5b21b6);
}
body.theme-light .song-overlay { background: rgba(0,0,0,0.35); }

/* Plyr */
.plyr--audio .plyr__controls {
    background: var(--bg-primary) !important;
    border-radius: 12px;
    border: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 992px) {
    .songs-grid { grid-template-columns: repeat(3, 1fr); }
    .slider-wrapper { height: 280px; }
    .charts-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
    .song-page { grid-template-columns: 1fr; }
    .song-cover-col { max-width: 260px; margin: 0 auto; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .social-links { justify-content: center; }
}
@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 64px;
        right: 0; left: 0;
        flex-direction: column;
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border);
        padding: 12px;
        z-index: 999;
    }
    .main-nav.open { display: flex; }
    .main-nav a { width: 100%; text-align: center; padding: 12px; }
    .menu-toggle { display: flex; }
    .header-inner { position: relative; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .songs-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .slider-wrapper { height: 200px; }
    .slide-content h2 { font-size: 1.2rem; }
    .countdown-item { min-width: 60px; padding: 10px 8px; }
    .countdown-item .num { font-size: 1.3rem; }
    .artist-spotlight { flex-direction: column; text-align: center; }
    .song-nav-btn { max-width: 100%; }
}
@media (max-width: 400px) {
    .songs-grid { gap: 8px; }
    .song-info h3 { font-size: 0.8rem; }
}

@media (hover: none) and (pointer: coarse) {
    .song-overlay { opacity: 1; background: linear-gradient(to top, rgba(0,0,0,0.5), transparent 60%); }
}

/* آهنگ جدید — ظاهر قوی‌تر */
.ns-section { margin: 8px 0 32px; }
.new-song-banner {
    position: relative;
    border-radius: 24px !important;
    overflow: hidden;
    border: 1px solid rgba(168, 85, 247, 0.45) !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 60px rgba(168,85,247,0.12);
}
.new-song-banner .ns-inner {
    position: relative;
    z-index: 2;
    padding: 44px 24px 40px !important;
}
.countdown {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px !important;
}
.countdown-item {
    min-width: 80px !important;
    padding: 18px 14px !important;
    background: rgba(0,0,0,0.55) !important;
    border: 2px solid rgba(168, 85, 247, 0.6) !important;
    border-radius: 16px !important;
}
.countdown-item .num {
    display: block !important;
    font-size: 2.1rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.1 !important;
    text-shadow: 0 0 20px rgba(168,85,247,0.8) !important;
}
.countdown-item .label {
    display: block !important;
    color: rgba(255,255,255,0.75) !important;
    font-size: 0.78rem !important;
    margin-top: 6px !important;
    font-weight: 600;
}
@media (max-width: 600px) {
    .countdown-item { min-width: 64px !important; padding: 12px 8px !important; }
    .countdown-item .num { font-size: 1.5rem !important; }
}
