/* ============================================================
   DÉHIMA MUSIC — Main Stylesheet
   Thème : Luxe Sacré · Sombre · Vivant
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Cinzel:wght@400;600;700&family=Nunito:wght@300;400;600;700&display=swap');

:root {
  --gold:       #C9A84C;
  --gold-l:     #E8C96A;
  --gold-d:     #8B6914;
  --crimson:    #8B1A2E;
  --crimson-l:  #C0274A;
  --deep:       #09070A;
  --surface:    #130E15;
  --surface2:   #1E1622;
  --surface3:   #2A1E30;
  --border:     rgba(201,168,76,0.18);
  --text:       #F0E8D8;
  --text-m:     #A89470;
  --text-s:     #6B5A4A;
  --radius:     14px;
  --shadow:     0 8px 32px rgba(0,0,0,0.6);
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--deep);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.65;
}

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

/* Scrollbar custom */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--gold-d); border-radius: 3px; }

/* ============================================================
   SPLASH / INTRO SCREEN
   ============================================================ */
.splash-screen {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--deep);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.8s ease, transform 0.8s ease;
  overflow: hidden;
}
.splash-screen.hidden {
  opacity: 0; transform: scale(1.05); pointer-events: none;
}

.splash-particles {
  position: absolute; inset: 0;
}
.splash-particle {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  animation: particleFly 3s ease-out forwards;
}
@keyframes particleFly {
  0%   { opacity: 1; transform: translate(0,0) scale(1); }
  100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(0); }
}

.splash-glow {
  position: absolute; width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,26,46,0.35) 0%, transparent 70%);
  animation: glowPulse 2s ease-in-out infinite alternate;
}
@keyframes glowPulse {
  from { transform: scale(0.9); opacity: 0.7; }
  to   { transform: scale(1.1); opacity: 1; }
}

.splash-content {
  text-align: center; position: relative; z-index: 1;
  animation: splashReveal 0.8s ease forwards;
}
@keyframes splashReveal {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.splash-logo {
  position: relative; width: 120px; height: 120px;
  margin: 0 auto 1.5rem;
  display: flex; align-items: center; justify-content: center;
}
.logo-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid var(--gold);
  animation: ringExpand 2s ease-out infinite;
}
.ring1 { width: 80px;  height: 80px;  animation-delay: 0s; }
.ring2 { width: 100px; height: 100px; animation-delay: 0.4s; }
.ring3 { width: 120px; height: 120px; animation-delay: 0.8s; }
@keyframes ringExpand {
  0%   { opacity: 0.8; transform: scale(0.8); }
  100% { opacity: 0;   transform: scale(1.4); }
}
.logo-icon-wrap {
  z-index: 1;
  animation: iconFloat 3s ease-in-out infinite;
}
@keyframes iconFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.splash-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold-l), var(--gold), var(--crimson-l));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.2em;
  margin-bottom: 0.3rem;
}
.splash-sub {
  font-size: 0.9rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--text-m); margin-bottom: 2rem;
}

.splash-wave {
  display: flex; align-items: center; justify-content: center;
  gap: 3px; height: 60px; margin-bottom: 1.5rem;
}
.splash-wave span {
  display: block; width: 3px; border-radius: 2px;
  background: linear-gradient(to top, var(--crimson-l), var(--gold));
  animation: waveBar 1s ease-in-out infinite alternate;
}
@keyframes waveBar {
  from { transform: scaleY(0.3); }
  to   { transform: scaleY(1); }
}

.splash-loading {
  font-size: 12px; color: var(--text-s); letter-spacing: 2px;
  animation: blink 1.2s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: 70px;
  background: rgba(9,7,10,0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.navbar.scrolled { background: rgba(9,7,10,0.97); }

.nav-inner {
  max-width: 1300px; margin: 0 auto;
  height: 100%; padding: 0 2rem;
  display: flex; align-items: center; gap: 2rem;
}

.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Cinzel', serif; font-size: 20px; font-weight: 700;
  color: var(--gold); letter-spacing: 3px;
  flex-shrink: 0;
}
.logo-mark {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--crimson));
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: white;
}

.nav-links {
  display: flex; gap: 0.2rem; list-style: none; margin-left: auto;
}
.nav-links a {
  padding: 8px 16px; border-radius: 8px;
  font-size: 14px; letter-spacing: 0.5px;
  color: var(--text-m); transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold); background: rgba(201,168,76,0.08);
}

.nav-right { display: flex; align-items: center; gap: 12px; }

.btn-nav-outline {
  padding: 8px 20px; border-radius: 20px; font-size: 13px;
  border: 1px solid var(--gold); color: var(--gold);
  background: transparent; transition: all var(--transition);
}
.btn-nav-outline:hover { background: rgba(201,168,76,0.15); }

.btn-nav-solid {
  padding: 8px 20px; border-radius: 20px; font-size: 13px; font-weight: 700;
  background: linear-gradient(135deg, var(--gold-l), var(--gold));
  color: var(--deep); border: none; transition: all var(--transition);
}
.btn-nav-solid:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(201,168,76,0.4); }

/* User menu */
.nav-user-menu { position: relative; }
.nav-avatar-btn {
  display: flex; align-items: center; gap: 8px;
  background: none; border: none; color: var(--text); padding: 6px 10px;
  border-radius: 20px; transition: background var(--transition);
}
.nav-avatar-btn:hover { background: rgba(255,255,255,0.06); }
.nav-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--gold);
}
.nav-username { font-size: 14px; }
.arrow-down { font-size: 10px; color: var(--text-m); }

.user-dropdown {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius); min-width: 200px;
  box-shadow: var(--shadow);
  display: none; flex-direction: column; overflow: hidden;
  z-index: 600;
}
.user-dropdown.open { display: flex; }
.user-dropdown a {
  padding: 11px 18px; font-size: 14px; color: var(--text-m);
  transition: all var(--transition);
}
.user-dropdown a:hover { color: var(--gold); background: rgba(201,168,76,0.08); }
.user-dropdown .highlight-link { color: var(--gold); }
.user-dropdown .logout-link { color: #E87090; }
.dropdown-divider { height: 1px; background: var(--border); margin: 4px 0; }

.hamburger {
  display: none; background: none; border: none;
  color: var(--text); font-size: 22px;
}

/* Mobile menu */
.mobile-menu {
  display: none; flex-direction: column;
  position: fixed; top: 70px; left: 0; right: 0; z-index: 490;
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 16px; }
.mobile-btn { margin-top: 8px; text-align: center; border-radius: 20px !important; border: 1px solid var(--gold); color: var(--gold) !important; }
.mobile-btn.solid { background: var(--gold); color: var(--deep) !important; }

/* ============================================================
   PAGE WRAP
   ============================================================ */
.page-wrap { padding-top: 70px; min-height: calc(100vh - 70px); }
.logged-in .page-wrap { padding-bottom: 90px; }

/* ============================================================
   HERO SECTIONS
   ============================================================ */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  background-attachment: fixed;
  filter: brightness(0.35) saturate(1.2);
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1.0); }

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(9,7,10,0.3) 0%, rgba(9,7,10,0.85) 100%),
    linear-gradient(90deg, rgba(9,7,10,0.9) 0%, transparent 60%);
}

.hero-particles {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
}
.hero-particle {
  position: absolute; width: 2px; height: 2px;
  border-radius: 50%; background: var(--gold);
  animation: floatUp linear infinite;
}
@keyframes floatUp {
  0%   { transform: translateY(0) translateX(0); opacity: 0.8; }
  100% { transform: translateY(-100vh) translateX(20px); opacity: 0; }
}

.hero-content {
  position: relative; z-index: 3;
  max-width: 1300px; margin: 0 auto;
  padding: 2rem 2rem;
  width: 100%;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,0.12); border: 1px solid rgba(201,168,76,0.35);
  border-radius: 20px; padding: 6px 18px;
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease forwards;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #E87090;
  animation: pulseDot 1.4s ease-in-out infinite;
}
@keyframes pulseDot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.7); } }

.hero h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.2rem, 5.5vw, 5rem);
  font-weight: 700; line-height: 1.08;
  margin-bottom: 1.2rem;
  animation: fadeInUp 0.7s 0.1s ease both;
}
.hero h1 .gold { color: var(--gold); }
.hero h1 .outline {
  -webkit-text-stroke: 2px var(--gold);
  color: transparent;
}

.hero-desc {
  font-size: 1.1rem; color: var(--text-m); max-width: 520px;
  margin-bottom: 2rem; line-height: 1.7;
  animation: fadeInUp 0.7s 0.2s ease both;
}

.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeInUp 0.7s 0.3s ease both;
}

.hero-stats {
  display: flex; gap: 2.5rem; flex-wrap: wrap;
  margin-top: 3.5rem;
  animation: fadeInUp 0.7s 0.4s ease both;
}
.hstat { text-align: left; }
.hstat-num {
  font-family: 'Cinzel', serif; font-size: 2.2rem; font-weight: 700;
  color: var(--gold); line-height: 1;
}
.hstat-label { font-size: 11px; color: var(--text-s); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 4px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 28px;
  font-size: 15px; font-weight: 700; border: none;
  transition: all var(--transition); cursor: pointer;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-l), var(--gold));
  color: var(--deep);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,168,76,0.45); }

.btn-secondary {
  background: transparent; border: 1.5px solid rgba(240,232,216,0.35);
  color: var(--text);
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.08); }

.btn-ghost {
  background: rgba(255,255,255,0.06); border: none; color: var(--text);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }

.btn-play {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-l), var(--gold));
  border: none; color: var(--deep); font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.btn-play:hover { transform: scale(1.1); box-shadow: 0 0 24px rgba(201,168,76,0.5); }
.btn-play.large { width: 64px; height: 64px; font-size: 26px; }

/* ============================================================
   SECTIONS LAYOUT
   ============================================================ */
.section { padding: 5rem 2rem; }
.section-inner { max-width: 1300px; margin: 0 auto; }

.section-header {
  margin-bottom: 2.5rem;
}
.section-label {
  font-size: 11px; letter-spacing: 3.5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.4rem;
}
.section-title {
  font-family: 'Cinzel', serif; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600;
}
.section-title .gold { color: var(--gold); }

/* ============================================================
   MUSIC CARDS
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1.5rem;
}

.music-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  overflow: hidden; cursor: pointer;
  transition: all var(--transition);
  position: relative;
}
.music-card:hover {
  transform: translateY(-6px);
  border-color: var(--border);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}

.card-thumb {
  position: relative; aspect-ratio: 1; overflow: hidden;
}
.card-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.music-card:hover .card-thumb img { transform: scale(1.08); }

.card-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
}
.music-card:hover .card-overlay { opacity: 1; }

.card-badge {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 10px;
}
.badge-single { background: rgba(139,26,46,0.85); color: #ffb3c1; }
.badge-album  { background: rgba(201,168,76,0.85); color: var(--deep); }
.badge-live   { background: rgba(74,124,158,0.85); color: #b3d4f0; }
.badge-free   { background: rgba(50,160,80,0.85); color: #b3f0c8; }
.badge-paid   { background: rgba(201,168,76,0.9); color: var(--deep); }

.card-info { padding: 14px 14px 16px; }
.card-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-sub   { font-size: 12px; color: var(--text-m); }
.card-price { font-size: 12px; color: var(--gold); margin-top: 4px; font-weight: 700; }
.card-meta  { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.card-plays { font-size: 11px; color: var(--text-s); }

/* ============================================================
   TRACK LIST (pistes d'album)
   ============================================================ */
.track-list { display: flex; flex-direction: column; gap: 2px; }
.track-row {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 14px; border-radius: 10px;
  transition: background var(--transition); cursor: pointer;
}
.track-row:hover { background: rgba(255,255,255,0.05); }
.track-row.active { background: rgba(201,168,76,0.1); }
.track-num { width: 24px; text-align: center; font-size: 13px; color: var(--text-s); flex-shrink: 0; }
.track-row.active .track-num { display: none; }
.track-playing-icon { display: none; width: 24px; }
.track-row.active .track-playing-icon { display: flex; align-items: center; justify-content: center; }
.playing-bars { display: flex; gap: 2px; align-items: flex-end; height: 16px; }
.playing-bars span { width: 3px; border-radius: 1.5px; background: var(--gold); animation: barAnim 0.8s ease-in-out infinite alternate; }
.playing-bars span:nth-child(2) { animation-delay: 0.2s; }
.playing-bars span:nth-child(3) { animation-delay: 0.4s; }
@keyframes barAnim { from { height: 4px; } to { height: 14px; } }
.track-thumb { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.track-info { flex: 1; min-width: 0; }
.track-title { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-artist { font-size: 12px; color: var(--text-m); margin-top: 2px; }
.track-dur { font-size: 12px; color: var(--text-s); }
.track-price-tag { font-size: 11px; font-weight: 700; color: var(--gold); }
.track-actions { display: flex; gap: 6px; align-items: center; }
.track-act-btn {
  background: none; border: none; color: var(--text-s);
  font-size: 16px; padding: 4px; transition: color var(--transition);
}
.track-act-btn:hover { color: var(--gold); }

/* ============================================================
   EVENT CARDS
   ============================================================ */
.event-card {
  background: var(--surface); border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius); overflow: hidden;
  transition: all var(--transition); cursor: pointer;
}
.event-card:hover { border-color: var(--border); transform: translateY(-4px); box-shadow: var(--shadow); }

.event-card-img { aspect-ratio: 16/9; overflow: hidden; position: relative; }
.event-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.event-card:hover .event-card-img img { transform: scale(1.05); }
.event-date-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(9,7,10,0.85); border: 1px solid var(--gold);
  border-radius: 10px; padding: 8px 12px; text-align: center;
  backdrop-filter: blur(8px);
}
.edb-day   { font-family: 'Cinzel', serif; font-size: 1.4rem; font-weight: 700; color: var(--gold); line-height: 1; }
.edb-month { font-size: 10px; color: var(--text-m); letter-spacing: 1px; text-transform: uppercase; }

.event-card-body { padding: 1.2rem 1.4rem; }
.event-card-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.event-card-meta  { font-size: 13px; color: var(--text-m); display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.event-card-footer { display: flex; align-items: center; justify-content: space-between; }
.event-price { font-family: 'Cinzel', serif; font-size: 1rem; color: var(--gold); }

/* ============================================================
   ARTIST CARDS
   ============================================================ */
.artist-card {
  text-align: center; cursor: pointer;
  transition: transform var(--transition);
}
.artist-card:hover { transform: translateY(-6px); }

.artist-avatar-wrap {
  position: relative; width: 100%; aspect-ratio: 1;
  border-radius: 50%; overflow: hidden; margin-bottom: 0.8rem;
  border: 2px solid rgba(201,168,76,0.2);
  transition: border-color var(--transition);
}
.artist-card:hover .artist-avatar-wrap { border-color: var(--gold); }
.artist-avatar-wrap img { width: 100%; height: 100%; object-fit: cover; }
.verified-badge {
  position: absolute; bottom: 4px; right: 4px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold); color: var(--deep);
  font-size: 11px; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--deep);
}
.artist-name { font-size: 15px; font-weight: 700; }
.artist-role { font-size: 12px; color: var(--text-m); margin-top: 2px; }
.artist-follows { font-size: 11px; color: var(--text-s); margin-top: 2px; }

/* ============================================================
   FORMS
   ============================================================ */
.form-wrap {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 2.5rem 2rem;
  max-width: 480px; margin: 0 auto;
}
.form-title {
  font-family: 'Cinzel', serif; font-size: 1.8rem;
  text-align: center; margin-bottom: 0.4rem;
}
.form-sub { text-align: center; color: var(--text-m); margin-bottom: 2rem; font-size: 14px; }

.form-group { margin-bottom: 1.2rem; }
.form-label { display: block; font-size: 13px; color: var(--text-m); margin-bottom: 6px; font-weight: 600; letter-spacing: 0.5px; }
.form-control {
  width: 100%; padding: 12px 16px;
  background: var(--surface2); border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 10px; color: var(--text); font-size: 15px;
  transition: border-color var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--gold); background: var(--surface3); }
.form-control::placeholder { color: var(--text-s); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-btn {
  width: 100%; padding: 14px;
  background: linear-gradient(135deg, var(--gold-l), var(--gold));
  border: none; border-radius: 12px;
  color: var(--deep); font-size: 16px; font-weight: 700;
  cursor: pointer; transition: all var(--transition);
  margin-top: 0.5rem;
}
.form-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.4); }

.form-divider { text-align: center; color: var(--text-s); margin: 1rem 0; font-size: 13px; }
.form-alt { text-align: center; font-size: 14px; color: var(--text-m); }
.form-alt a { color: var(--gold); }

/* ============================================================
   ALERT / MESSAGES
   ============================================================ */
.alert {
  padding: 12px 18px; border-radius: 10px; font-size: 14px; margin-bottom: 1rem;
}
.alert-success { background: rgba(50,160,80,0.15); border: 1px solid rgba(50,160,80,0.3); color: #7de09e; }
.alert-error   { background: rgba(220,53,69,0.15); border: 1px solid rgba(220,53,69,0.3); color: #f08090; }
.alert-info    { background: rgba(74,124,158,0.15); border: 1px solid rgba(74,124,158,0.3); color: #88bbdd; }

/* ============================================================
   DASHBOARD / ADMIN LAYOUT
   ============================================================ */
.dash-layout { display: flex; min-height: 100vh; }

.dash-sidebar {
  width: 260px; flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 2rem 1rem;
  position: sticky; top: 70px; height: calc(100vh - 70px);
  overflow-y: auto;
}
.dash-sidebar-title { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-s); margin-bottom: 0.8rem; padding: 0 0.8rem; }
.dash-sidebar a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px;
  font-size: 14px; color: var(--text-m);
  transition: all var(--transition); margin-bottom: 2px;
}
.dash-sidebar a:hover, .dash-sidebar a.active { color: var(--gold); background: rgba(201,168,76,0.1); }
.dash-sidebar a .icon { width: 20px; text-align: center; }
.dash-sidebar .divider { height: 1px; background: var(--border); margin: 1rem 0; }

.dash-main { flex: 1; padding: 2rem; }
.dash-title { font-family: 'Cinzel', serif; font-size: 1.8rem; margin-bottom: 0.3rem; }
.dash-sub   { color: var(--text-m); font-size: 14px; margin-bottom: 2rem; }

.stats-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1.2rem; margin-bottom: 2rem; }
.stat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.4rem;
}
.stat-card-icon { font-size: 24px; margin-bottom: 0.8rem; }
.stat-card-num { font-family: 'Cinzel', serif; font-size: 2rem; font-weight: 700; color: var(--gold); }
.stat-card-label { font-size: 13px; color: var(--text-m); margin-top: 2px; }

/* ============================================================
   TABLE
   ============================================================ */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { padding: 12px 16px; text-align: left; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-s); border-bottom: 1px solid var(--border); }
.data-table td { padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 14px; color: var(--text-m); }
.data-table tr:hover td { background: rgba(255,255,255,0.02); color: var(--text); }
.data-table .actions { display: flex; gap: 8px; }
.tbl-btn {
  padding: 5px 12px; border-radius: 6px; font-size: 12px; font-weight: 700;
  border: none; cursor: pointer; transition: all var(--transition);
}
.tbl-btn.edit   { background: rgba(201,168,76,0.15); color: var(--gold); }
.tbl-btn.delete { background: rgba(220,53,69,0.15); color: #f08090; }
.tbl-btn.view   { background: rgba(74,124,158,0.15); color: #88bbdd; }
.tbl-btn:hover  { filter: brightness(1.3); }

/* ============================================================
   SECTION BACKGROUNDS
   ============================================================ */
.bg-surface { background: var(--surface); border-top: 1px solid rgba(201,168,76,0.08); border-bottom: 1px solid rgba(201,168,76,0.08); }
.bg-gradient { background: linear-gradient(135deg, rgba(139,26,46,0.15) 0%, rgba(9,7,10,0) 50%, rgba(201,168,76,0.08) 100%); }

/* ============================================================
   MISC
   ============================================================ */
.divider-gold { height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: 3rem 0; opacity: 0.4; }

.tag {
  display: inline-block; font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 10px; font-weight: 700;
}
.tag-free   { background: rgba(50,160,80,0.2); color: #7de09e; }
.tag-paid   { background: rgba(201,168,76,0.2); color: var(--gold); }
.tag-single { background: rgba(139,26,46,0.3); color: #ffb3c1; }
.tag-album  { background: rgba(201,168,76,0.2); color: var(--gold); }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.6s ease forwards; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 3rem 2rem 0;
}
.footer-inner {
  max-width: 1300px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 3rem; padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer-brand { }
.footer-brand .logo-text { font-family: 'Cinzel', serif; font-size: 20px; font-weight: 700; color: var(--gold); letter-spacing: 3px; }
.footer-brand p { font-size: 13px; color: var(--text-s); margin-top: 0.5rem; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-links h4 { font-family: 'Cinzel', serif; font-size: 13px; color: var(--gold); margin-bottom: 1rem; letter-spacing: 1px; }
.footer-links a { display: block; font-size: 13px; color: var(--text-s); margin-bottom: 0.5rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--text); }
.footer-bottom { text-align: center; padding: 1.2rem; font-size: 12px; color: var(--text-s); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .dash-sidebar { display: none; }
}
@media (max-width: 600px) {
  .hero { min-height: 100vh; }
  .cards-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .form-row { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
}

.track-row {
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px;
  cursor:pointer;
  border-bottom:1px solid var(--border);
  transition:0.2s;
}

.track-row:hover {
  background:rgba(255,255,255,0.05);
}

.track-thumb {
  width:40px;
  height:40px;
  object-fit:cover;
  border-radius:6px;
}


