/* ===== G-Soul Artist Page - Shared Styles ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #0f0f1a;
    --bg-secondary: #161625;
    --surface: rgba(40, 40, 70, 0.5);
    --surface-hover: rgba(155, 68, 255, 0.15);
    --primary: #9B44FF;
    --primary-dim: rgba(155, 68, 255, 0.3);
    --accent: #FF5621;
    --accent-dim: rgba(255, 86, 33, 0.3);
    --text: #FFFFFF;
    --text-muted: #a0a3b1;
    --text-dim: #6b6e7e;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.04);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --player-height: 90px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.player-active { padding-bottom: var(--player-height); }

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }
input, textarea { font-family: inherit; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--primary-dim); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* --- Utility Classes --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Glass Components --- */
.glass {
    background: var(--surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
}

.glass-card {
    background: var(--surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: rgba(155, 68, 255, 0.3);
    box-shadow: 0 8px 40px rgba(155, 68, 255, 0.15);
    transform: translateY(-4px);
}

.glass-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
}

.glass-btn:hover {
    background: var(--surface-hover);
    border-color: rgba(155, 68, 255, 0.4);
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 20px rgba(155, 68, 255, 0.4);
}

.btn-primary:hover {
    background: #a855f7;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(155, 68, 255, 0.5);
}

.btn-white {
    background: white;
    border-color: white;
    color: var(--bg);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.btn-white:hover {
    background: #e5e5e5;
    transform: translateY(-2px);
}

/* --- Badge --- */
.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: var(--primary-dim);
    border: 1px solid rgba(155, 68, 255, 0.3);
    color: var(--primary);
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(15, 15, 26, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(155, 68, 255, 0.4);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: white;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.nav-cta {
    padding: 10px 24px;
    border-radius: 100px;
    background: white;
    color: var(--bg);
    font-weight: 700;
    font-size: 13px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-cta:hover { background: #e5e5e5; transform: translateY(-1px); }

/* Mobile menu */
.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 26, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    padding: 40px 24px;
}

.mobile-menu.open { display: flex; flex-direction: column; gap: 8px; }

.mobile-menu a {
    display: block;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.3s;
}

.mobile-menu a:hover, .mobile-menu a.active {
    color: white;
    background: var(--surface);
}

@media (max-width: 768px) {
    .nav-links, .nav-cta-wrap { display: none; }
    .nav-toggle { display: flex; }
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 72px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(155, 68, 255, 0.2) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 80%, rgba(255, 86, 33, 0.1) 0%, transparent 60%);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 8s ease-in-out infinite;
}

.hero-orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(155, 68, 255, 0.15);
    top: 10%;
    left: 20%;
}

.hero-orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(255, 86, 33, 0.1);
    bottom: 20%;
    right: 15%;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

.hero-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 32px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px rgba(155, 68, 255, 0.4), 0 0 120px rgba(155, 68, 255, 0.2);
    animation: float 6s ease-in-out infinite;
}

.hero-avatar i { font-size: 56px; }

.hero-title {
    font-size: clamp(48px, 10vw, 96px);
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 0 0 60px rgba(155, 68, 255, 0.3);
}

.hero-sub {
    font-size: clamp(16px, 2.5vw, 22px);
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 300;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-dim);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.hero-stat i { color: var(--primary); }

.hero-stat-divider {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--text-dim);
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-top: 16px;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
}

/* --- Track Cards --- */
.tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.track-card {
    background: var(--surface);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.track-card:hover {
    border-color: rgba(155, 68, 255, 0.3);
    box-shadow: 0 8px 40px rgba(155, 68, 255, 0.15);
    transform: translateY(-4px);
}

.track-card.playing {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(155, 68, 255, 0.2);
}

.track-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 16px;
}

.track-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.track-card:hover .track-cover img { transform: scale(1.08); }

.track-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.track-card:hover .track-cover-overlay,
.track-card.playing .track-cover-overlay { opacity: 1; }

.track-play-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: white;
    color: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transform: scale(0.8);
    transition: transform 0.3s;
}

.track-card:hover .track-play-btn { transform: scale(1); }

.track-info h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s;
}

.track-card:hover .track-info h3,
.track-card.playing .track-info h3 { color: var(--primary); }

.track-info .track-artist {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.track-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.track-tag {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
}

.track-duration {
    margin-left: auto;
    font-size: 12px;
    color: var(--text-dim);
    font-variant-numeric: tabular-nums;
}

/* --- Track List View --- */
.track-list-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    transition: all 0.3s;
    cursor: pointer;
}

.track-list-item:hover { background: var(--surface); }
.track-list-item.playing { background: var(--primary-dim); }

.track-list-num {
    width: 32px;
    text-align: center;
    font-size: 14px;
    color: var(--text-dim);
    font-variant-numeric: tabular-nums;
}

.track-list-item:hover .track-list-num,
.track-list-item.playing .track-list-num { color: var(--primary); }

.track-list-cover {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.track-list-cover img { width: 100%; height: 100%; object-fit: cover; }

.track-list-info { flex: 1; min-width: 0; }

.track-list-info h4 {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-list-info span {
    font-size: 12px;
    color: var(--text-dim);
}

.track-list-duration {
    font-size: 13px;
    color: var(--text-dim);
    font-variant-numeric: tabular-nums;
}

/* --- Audio Player Bar --- */
.player-bar {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    height: var(--player-height);
    z-index: 2000;
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-top: 1px solid var(--glass-border);
    transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.player-bar.visible { bottom: 0; }

.player-progress-bar {
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.1);
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
}

.player-progress-bar:hover { height: 5px; }

.player-progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 0 2px 2px 0;
    width: 0%;
    transition: width 0.1s linear;
    position: relative;
}

.player-progress-fill::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: white;
    opacity: 0;
    transition: opacity 0.2s;
}

.player-progress-bar:hover .player-progress-fill::after { opacity: 1; }

.player-content {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.player-track-info {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 200px;
    max-width: 300px;
    flex: 1;
}

.player-cover {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.player-cover img { width: 100%; height: 100%; object-fit: cover; }

.player-track-text { min-width: 0; }

.player-track-text h4 {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-track-text span {
    font-size: 12px;
    color: var(--text-muted);
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    justify-content: center;
}

.player-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-muted);
    transition: all 0.3s;
}

.player-btn:hover { color: white; }

.player-btn-play {
    width: 44px;
    height: 44px;
    background: white;
    color: var(--bg) !important;
    font-size: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.player-btn-play:hover { transform: scale(1.08); }

.player-time {
    font-size: 12px;
    color: var(--text-dim);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.player-extra {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 150px;
    justify-content: flex-end;
    flex: 1;
}

.player-volume {
    display: flex;
    align-items: center;
    gap: 8px;
}

.player-volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 80px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.15);
    outline: none;
}

.player-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
}

/* --- Filter / View Toggle --- */
.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.filter-tabs {
    display: flex;
    gap: 4px;
    padding: 4px;
    border-radius: 100px;
    background: var(--surface);
    border: 1px solid var(--glass-border);
}

.filter-tab {
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.3s;
}

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

.filter-tab:hover:not(.active) { color: white; }

.search-box {
    position: relative;
    min-width: 250px;
}

.search-box input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    border-radius: 100px;
    background: var(--surface);
    border: 1px solid var(--glass-border);
    color: white;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.search-box input::placeholder { color: var(--text-dim); }
.search-box input:focus { border-color: var(--primary); }

.search-box i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    font-size: 14px;
}

/* --- About Page --- */
.about-hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-frame {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.about-image-frame img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.about-text h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.about-text p {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.about-stat {
    text-align: center;
    padding: 24px 16px;
    border-radius: var(--radius-md);
    background: var(--surface);
    border: 1px solid var(--glass-border);
}

.about-stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.about-stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    background: var(--surface);
    border: 1px solid var(--glass-border);
    color: white;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus { border-color: var(--primary); }

.form-group textarea { min-height: 150px; resize: vertical; }

.contact-info-card {
    padding: 32px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--glass-border);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--glass-border);
}

.contact-info-item:last-child { border-bottom: none; }

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-info-text h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.contact-info-text p { font-size: 14px; color: var(--text-muted); }

/* --- Social Links --- */
.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-muted);
    transition: all 0.3s;
}

.social-link:hover {
    color: var(--primary);
    background: var(--primary-dim);
    border-color: rgba(155, 68, 255, 0.4);
    transform: translateY(-3px);
}

/* --- Footer --- */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 30px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 16px;
    max-width: 320px;
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 12px; }

.footer-col a {
    font-size: 14px;
    color: var(--text-dim);
    transition: color 0.3s;
}

.footer-col a:hover { color: white; }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    font-size: 13px;
    color: var(--text-dim);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

.resp-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.resp-3col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.resp-4col { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
    .resp-2col { grid-template-columns: 1fr; }
    .resp-3col { grid-template-columns: 1fr; }
    .resp-4col { grid-template-columns: 1fr 1fr; }
    .section { padding: 60px 0; }
    .tracks-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .hero-title { letter-spacing: -2px; }
    .hero-stats { gap: 16px; }
    .player-extra { display: none; }
    .player-track-info { min-width: 0; max-width: 140px; flex: 0 1 auto; }
    .player-controls { gap: 8px; flex: 1; }
    .player-btn-shuffle { display: none; }
    .player-time { font-size: 11px; }
    .player-content { padding: 0 12px; gap: 10px; }
    .player-cover { width: 44px; height: 44px; }
    .player-track-text h4 { font-size: 12px; }
    .player-track-text span { font-size: 11px; }
    .player-btn { width: 32px; height: 32px; font-size: 12px; }
    .player-btn-play { width: 38px; height: 38px; font-size: 14px; }
    .about-stats { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .filter-bar { flex-direction: column; align-items: stretch; }
    .search-box { min-width: unset; }
    .td-vote { gap: 8px; }
    .td-like-btn { padding: 10px 20px; font-size: 13px; }
    .td-fav-btn { padding: 10px 20px; font-size: 13px; }
    .top-item { padding: 12px 8px; gap: 10px; }
    .top-cover { width: 44px; height: 44px; }
    .top-info h4 { font-size: 13px; }
}

@media (max-width: 480px) {
    .tracks-grid { grid-template-columns: 1fr; }
    .hero-avatar { width: 100px; height: 100px; }
    .hero-avatar i { font-size: 40px; }
    .player-track-info { max-width: 110px; }
    .player-time { display: none; }
    .player-content { gap: 8px; padding: 0 8px; }
    .top-item { flex-wrap: wrap; }
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Equalizer animation for playing state --- */
.eq-bars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 16px;
}

.eq-bar {
    width: 3px;
    background: var(--primary);
    border-radius: 1px;
    animation: eq 0.8s ease-in-out infinite alternate;
}

.eq-bar:nth-child(1) { height: 8px; animation-delay: 0s; }
.eq-bar:nth-child(2) { height: 14px; animation-delay: 0.2s; }
.eq-bar:nth-child(3) { height: 6px; animation-delay: 0.4s; }
.eq-bar:nth-child(4) { height: 12px; animation-delay: 0.1s; }

@keyframes eq {
    0% { height: 4px; }
    100% { height: 16px; }
}

/* Language badge colors */
.lang-de { background: rgba(255, 206, 68, 0.15); color: #ffce44; border-color: rgba(255, 206, 68, 0.3); }
.lang-ru { background: rgba(68, 165, 255, 0.15); color: #44a5ff; border-color: rgba(68, 165, 255, 0.3); }

/* --- SPA Page Routing --- */
.page { display: none; }
.page.active { display: block; }

.page-transition {
    animation: pageIn 0.35s ease-out;
}

@keyframes pageIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Track Detail Page ===== */
.td-hero {
    position: relative;
    padding: 120px 0 60px;
    overflow: hidden;
}

.td-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.td-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(60px) saturate(1.4) brightness(0.3);
    transform: scale(1.3);
}

.td-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,15,26,0.4) 0%, var(--bg) 100%);
}

.td-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 48px;
    align-items: flex-end;
}

.td-cover {
    width: 320px;
    height: 320px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(155, 68, 255, 0.15);
    border: 1px solid var(--glass-border);
}

.td-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.td-meta {
    flex: 1;
    padding-bottom: 8px;
}

.td-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 24px;
    transition: color 0.3s;
    cursor: pointer;
    background: none;
    border: none;
}

.td-back:hover { color: white; }

.td-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 12px;
}

.td-artist {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.td-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.td-tag {
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
}

.td-tag-mood {
    background: var(--primary-dim);
    border-color: rgba(155, 68, 255, 0.3);
    color: var(--primary);
}

.td-tag-lang {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.td-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.td-play-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 100px;
    background: var(--primary);
    color: white;
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(155, 68, 255, 0.5);
    transition: all 0.3s;
}

.td-play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(155, 68, 255, 0.6);
}

.td-duration-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 100px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    font-size: 14px;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

/* --- Track Detail Body --- */
.td-body {
    padding: 60px 0 100px;
}

.td-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
}

.td-section {
    margin-bottom: 48px;
}

.td-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.td-section-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.td-section-icon-message {
    background: var(--primary-dim);
    color: var(--primary);
}

.td-section-icon-lyrics {
    background: var(--accent-dim);
    color: var(--accent);
}

.td-section-header h3 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.td-message-content {
    padding: 32px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--glass-border);
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.9;
}

.td-message-placeholder {
    text-align: center;
    padding: 48px 32px;
    color: var(--text-dim);
    font-style: italic;
}

.td-message-placeholder i {
    display: block;
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--primary-dim);
    font-style: normal;
}

.td-lyrics-content {
    padding: 32px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--glass-border);
    font-size: 15px;
    color: var(--text-muted);
    line-height: 2;
    white-space: pre-line;
    font-family: 'Inter', sans-serif;
}

/* Sidebar */
.td-sidebar-card {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--glass-border);
    margin-bottom: 24px;
}

.td-sidebar-card h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.td-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
    font-size: 14px;
}

.td-info-row:last-child { border-bottom: none; }

.td-info-label { color: var(--text-dim); }
.td-info-value { font-weight: 600; color: var(--text); }

/* Related Tracks in Sidebar */
.td-related-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: var(--radius-sm);
}

.td-related-item:hover { background: rgba(255,255,255,0.03); margin: 0 -8px; padding: 10px 8px; }

.td-related-cover {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.td-related-cover img { width: 100%; height: 100%; object-fit: cover; }

.td-related-info { flex: 1; min-width: 0; }

.td-related-info h5 {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.td-related-info span {
    font-size: 12px;
    color: var(--text-dim);
}

/* Track card detail link overlay */
.track-card-link {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    transform: translateY(4px);
    z-index: 2;
    border: 1px solid rgba(255,255,255,0.15);
}

.track-card:hover .track-card-link {
    opacity: 1;
    transform: translateY(0);
}

.track-card-link:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* --- Track Detail Responsive --- */
@media (max-width: 1024px) {
    .td-grid { grid-template-columns: 1fr; }
    .td-hero-content { gap: 32px; }
    .td-cover { width: 260px; height: 260px; }
}

@media (max-width: 768px) {
    .td-hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .td-cover { width: 240px; height: 240px; }
    .td-tags { justify-content: center; }
    .td-actions { justify-content: center; }
    .td-title { letter-spacing: -1px; }
    .td-back { justify-content: center; }
}

@media (max-width: 480px) {
    .td-cover { width: 200px; height: 200px; }
}

/* ===== Now Playing Widget (Track Detail Sidebar) ===== */
.np-widget {
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    margin-bottom: 24px;
    position: sticky;
    top: 88px;
}

.np-widget.is-playing {
    border-color: rgba(155, 68, 255, 0.3);
    box-shadow: 0 0 30px rgba(155, 68, 255, 0.1);
}

/* Now Playing Header */
.np-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-dim);
}

.np-header-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-dim);
    flex-shrink: 0;
}

.np-widget.is-playing .np-header { color: var(--primary); }

.np-widget.is-playing .np-header-dot {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.8); }
}

/* Current Track */
.np-current {
    padding: 0 20px 16px;
    display: flex;
    gap: 14px;
    align-items: center;
}

.np-cover {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    position: relative;
    cursor: pointer;
}

.np-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.np-cover:hover img { transform: scale(1.08); }

.np-cover-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.2s;
}

.np-cover:hover .np-cover-overlay { opacity: 1; }

.np-cover-overlay i { color: white; font-size: 18px; }

.np-track-info {
    flex: 1;
    min-width: 0;
}

.np-track-title {
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
    cursor: pointer;
    transition: color 0.3s;
}

.np-track-title:hover { color: var(--primary); }

.np-track-artist {
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.np-track-mood {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 600;
    background: var(--primary-dim);
    color: var(--primary);
}

/* Progress section */
.np-progress {
    padding: 0 20px 12px;
}

.np-progress-bar {
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    position: relative;
    margin-bottom: 6px;
}

.np-progress-bar:hover { height: 6px; }

.np-progress-fill {
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary), #c084fc);
    width: 0%;
    transition: width 0.15s linear;
    position: relative;
}

.np-progress-fill::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 0 4px rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.2s;
}

.np-progress-bar:hover .np-progress-fill::after { opacity: 1; }

.np-time {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-dim);
    font-variant-numeric: tabular-nums;
}

/* Controls */
.np-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 20px 16px;
}

.np-ctrl-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-muted);
    transition: all 0.2s;
    background: none;
    border: none;
    cursor: pointer;
}

.np-ctrl-btn:hover { color: white; background: rgba(255,255,255,0.06); }

.np-ctrl-play {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white !important;
    font-size: 14px;
    box-shadow: 0 2px 12px rgba(155, 68, 255, 0.4);
}

.np-ctrl-play:hover {
    background: #a855f7;
    transform: scale(1.06);
    box-shadow: 0 4px 16px rgba(155, 68, 255, 0.5);
}

/* Divider */
.np-divider {
    height: 1px;
    background: var(--glass-border);
    margin: 0 20px;
}

/* Up Next */
.np-upnext-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-dim);
}

.np-upnext-count {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-dim);
}

.np-queue {
    padding: 0 12px 12px;
}

.np-queue-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.np-queue-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.np-queue-num {
    width: 20px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dim);
    text-align: center;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

.np-queue-cover {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.np-queue-cover img { width: 100%; height: 100%; object-fit: cover; }

.np-queue-info {
    flex: 1;
    min-width: 0;
}

.np-queue-title {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 1px;
}

.np-queue-meta {
    font-size: 11px;
    color: var(--text-dim);
}

.np-queue-dur {
    font-size: 11px;
    color: var(--text-dim);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

/* Empty state */
.np-empty {
    padding: 32px 20px;
    text-align: center;
    color: var(--text-dim);
    font-size: 13px;
}

.np-empty i {
    display: block;
    font-size: 24px;
    margin-bottom: 10px;
    opacity: 0.4;
}

/* Responsive */
@media (max-width: 1024px) {
    .np-widget { position: static; }
}

/* ===== Full Player Page ===== */
.fp {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.fp-bg {
    position: fixed;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(80px) saturate(1.5) brightness(0.2);
    transform: scale(1.4);
    z-index: 0;
    transition: background-image 0.8s ease;
}

.fp-main {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

/* Cover + Vinyl */
.fp-cover-wrap {
    position: relative;
    flex-shrink: 0;
    width: 380px;
    height: 380px;
}

.fp-cover {
    width: 380px;
    height: 380px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(155, 68, 255, 0.15);
    border: 1px solid var(--glass-border);
    position: relative;
    z-index: 2;
}

.fp-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fp-cover-glow {
    position: absolute;
    inset: -20px;
    background-size: cover;
    background-position: center;
    filter: blur(40px) saturate(2) brightness(0.5);
    opacity: 0.5;
    z-index: -1;
    border-radius: 50%;
}

.fp-vinyl {
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle at center,
        #111 0%, #111 18%,
        #1a1a2e 19%, #1a1a2e 20%,
        #222 21%, #222 38%,
        #1a1a2e 39%, #1a1a2e 40%,
        #2a2a3e 41%, #2a2a3e 58%,
        #1a1a2e 59%, #1a1a2e 60%,
        #333 61%, #333 78%,
        #1a1a2e 79%, #1a1a2e 80%,
        #222 81%, #222 100%
    );
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    z-index: 1;
    transition: transform 0.3s;
}

.fp-vinyl.spinning {
    animation: vinylSpin 3s linear infinite;
}

.fp-vinyl-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary) 0%, #1a1a2e 60%, #111 100%);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

@keyframes vinylSpin {
    from { transform: translateY(-50%) rotate(0deg); }
    to { transform: translateY(-50%) rotate(360deg); }
}

/* Info panel */
.fp-info {
    flex: 1;
    min-width: 0;
}

.fp-now-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-dim);
    margin-bottom: 16px;
}

.fp-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-dim);
    flex-shrink: 0;
}

.fp-dot-on {
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.7);
    animation: pulse-dot 2s ease-in-out infinite;
}

.fp-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 8px;
}

.fp-artist {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.fp-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

/* Progress */
.fp-progress-wrap {
    margin-bottom: 28px;
}

.fp-progress-bar {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    position: relative;
    margin-bottom: 8px;
}

.fp-progress-bar:hover { height: 8px; }

.fp-progress-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--primary), #c084fc, var(--accent));
    background-size: 200% 100%;
    animation: progressShimmer 3s ease infinite;
    width: 0%;
    transition: width 0.15s linear;
    position: relative;
}

.fp-progress-fill::after {
    content: '';
    position: absolute;
    right: -7px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 0 8px rgba(155, 68, 255, 0.5);
    opacity: 0;
    transition: opacity 0.2s;
}

.fp-progress-bar:hover .fp-progress-fill::after { opacity: 1; }

@keyframes progressShimmer {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 0%; }
    100% { background-position: 0% 0%; }
}

.fp-time-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-dim);
    font-variant-numeric: tabular-nums;
}

/* Controls */
.fp-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.fp-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: all 0.3s;
}

.fp-btn:hover { color: white; background: rgba(255, 255, 255, 0.1); border-color: rgba(255,255,255,0.2); }

.fp-btn-play {
    width: 64px;
    height: 64px;
    background: var(--primary);
    border: none;
    color: white !important;
    font-size: 24px;
    box-shadow: 0 4px 30px rgba(155, 68, 255, 0.5);
}

.fp-btn-play:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 40px rgba(155, 68, 255, 0.6);
}

/* Volume */
.fp-volume {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 240px;
}

.fp-vol-slider {
    -webkit-appearance: none;
    appearance: none;
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.12);
    outline: none;
}

.fp-vol-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    box-shadow: 0 0 4px rgba(0,0,0,0.3);
}

/* Queue Section */
.fp-queue-section {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.fp-queue-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px 16px;
}

.fp-queue-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.fp-queue-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dim);
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(255,255,255,0.06);
}

.fp-queue {
    padding: 0 16px 16px;
    max-height: 480px;
    overflow-y: auto;
}

.fp-q-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.fp-q-item:hover { background: rgba(255, 255, 255, 0.04); }

.fp-q-item.fp-q-active {
    background: var(--primary-dim);
    border-radius: var(--radius-md);
}

.fp-q-num {
    width: 28px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dim);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

.fp-q-active .fp-q-num { color: var(--primary); }

.fp-q-cover {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.fp-q-cover img { width: 100%; height: 100%; object-fit: cover; }

.fp-q-info { flex: 1; min-width: 0; }

.fp-q-title {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.fp-q-active .fp-q-title { color: var(--primary); }

.fp-q-meta {
    font-size: 12px;
    color: var(--text-dim);
}

.fp-q-dur {
    font-size: 12px;
    color: var(--text-dim);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

/* Full Player Responsive */
@media (max-width: 1024px) {
    .fp-main { flex-direction: column; gap: 40px; text-align: center; }
    .fp-cover-wrap { width: 300px; height: 300px; margin: 0 auto; }
    .fp-cover { width: 300px; height: 300px; }
    .fp-vinyl { display: none; }
    .fp-tags { justify-content: center; }
    .fp-controls { justify-content: center; }
    .fp-volume { margin: 0 auto; }
    .fp-info { width: 100%; }
}

@media (max-width: 480px) {
    .fp-cover-wrap { width: 240px; height: 240px; }
    .fp-cover { width: 240px; height: 240px; }
    .fp-controls { gap: 10px; }
    .fp-btn { width: 42px; height: 42px; font-size: 16px; }
    .fp-btn-play { width: 56px; height: 56px; font-size: 22px; }
}

/* ===== Voting System ===== */

/* Vote row on track cards */
.vote-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.like-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--glass-border);
    color: var(--text-dim);
    cursor: pointer;
    transition: all 0.25s;
}

.like-btn:hover { color: var(--primary); border-color: rgba(155, 68, 255, 0.3); background: rgba(155, 68, 255, 0.08); }

.like-btn i { font-size: 12px; }

.like-btn.is-liked {
    color: var(--primary);
    border-color: rgba(155, 68, 255, 0.4);
    background: rgba(155, 68, 255, 0.12);
}

.vote-score {
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.vote-score.has-votes { color: var(--primary); }

.fav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: none;
    border: 1px solid transparent;
    color: var(--text-dim);
    cursor: pointer;
    transition: all 0.25s;
    font-size: 14px;
    margin-left: auto;
}

.fav-btn:hover { color: #f43f5e; transform: scale(1.15); }

.fav-btn.is-fav {
    color: #f43f5e;
    animation: heartPop 0.35s ease;
}

@keyframes heartPop {
    0% { transform: scale(1); }
    40% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Large vote controls on track detail page */
.td-vote {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 0;
    flex-wrap: wrap;
}

.td-like-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
}

.td-like-btn:hover { color: var(--primary); border-color: rgba(155, 68, 255, 0.4); background: rgba(155, 68, 255, 0.08); }

.td-like-btn.is-liked {
    color: var(--primary);
    border-color: rgba(155, 68, 255, 0.4);
    background: rgba(155, 68, 255, 0.15);
}

.td-vote-score {
    font-size: 15px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    margin-left: 2px;
}

.td-vote-score.has-votes { color: var(--primary); }

.td-fav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
}

.td-fav-btn:hover { color: #f43f5e; border-color: rgba(244, 63, 94, 0.4); }

.td-fav-btn.is-fav {
    color: #f43f5e;
    background: rgba(244, 63, 94, 0.1);
    border-color: rgba(244, 63, 94, 0.4);
}

/* ===== Topliste Section ===== */
.top-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: var(--radius-md);
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid transparent;
}

.top-item:hover {
    background: var(--surface);
    border-color: var(--glass-border);
}

.top-rank {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-dim);
}

.top-rank-1 { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #1c1c28; border: none; }
.top-rank-2 { background: linear-gradient(135deg, #9ca3af, #6b7280); color: #1c1c28; border: none; }
.top-rank-3 { background: linear-gradient(135deg, #d97706, #b45309); color: #1c1c28; border: none; }

.top-cover {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.top-cover img { width: 100%; height: 100%; object-fit: cover; }

.top-info { flex: 1; min-width: 0; }

.top-info h4 {
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.top-info span { font-size: 12px; color: var(--text-dim); }

.top-score {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 800;
    flex-shrink: 0;
}

.top-score i { font-size: 12px; }
.top-score.positive { color: #22c55e; }
.top-score.zero { color: var(--text-dim); }
.top-score.negative { color: #ef4444; }

/* ===== Category Filter ===== */
.cat-section {
    margin-bottom: 32px;
}

.cat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.cat-header-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    background: var(--primary-dim);
    color: var(--primary);
}

.cat-header h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.cat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.25s;
    white-space: nowrap;
}

.cat-chip i { font-size: 12px; }

.cat-chip:hover {
    border-color: rgba(255,255,255,0.2);
    color: white;
    background: rgba(255,255,255,0.06);
}

.cat-chip.active {
    color: white;
    border-color: var(--chip-color, var(--primary));
    background: color-mix(in srgb, var(--chip-color, var(--primary)) 20%, transparent);
    box-shadow: 0 0 12px color-mix(in srgb, var(--chip-color, var(--primary)) 25%, transparent);
}

.cat-chip .cat-count {
    font-size: 11px;
    font-weight: 700;
    opacity: 0.6;
    margin-left: 2px;
}

/* Active filter summary */
.filter-active-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    background: var(--primary-dim);
    border: 1px solid rgba(155, 68, 255, 0.3);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filter-active-bar span {
    font-size: 13px;
    color: var(--text-muted);
}

.filter-active-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    background: var(--primary);
    color: white;
}

.filter-active-tag i { cursor: pointer; opacity: 0.7; }
.filter-active-tag i:hover { opacity: 1; }

.filter-clear {
    margin-left: auto;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dim);
    cursor: pointer;
    transition: color 0.2s;
    background: none;
    border: none;
}

.filter-clear:hover { color: white; }

.filter-no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-dim);
}

.filter-no-results i {
    display: block;
    font-size: 36px;
    margin-bottom: 16px;
    opacity: 0.3;
}

/* Divider between filter and tracks */
.cat-divider {
    height: 1px;
    background: var(--glass-border);
    margin: 32px 0;
}
