/* ═══════════════════════════════════════════════════════════════════
   SoundStage – main.css
   Dark, editorial aesthetic. Syne (headings) + DM Sans (body).
═══════════════════════════════════════════════════════════════════ */

/* ── Variables ──────────────────────────────────────────────────── */
:root {
  --bg:       #0b0b11;
  --bg2:      #111119;
  --surface:  #16161f;
  --surface2: #1d1d2a;
  --border:   #26263a;
  --accent:   #7c6af7;
  --accent2:  #f76a8c;
  --accent3:  #4ade80;
  --text:     #ddddf0;
  --text2:    #9898b8;
  --muted:    #666680;
  --success:  #4ade80;
  --error:    #f87171;
  --warning:  #fbbf24;
  --radius:   10px;
  --shadow:   0 4px 24px rgba(0,0,0,.45);
  --nav-h:    62px;
}

/* ── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }

/* ── Typography ─────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Syne', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

/* ── Navigation ─────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,11,17,.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-logo {
  font-family: 'Syne', system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}
.logo-mark { color: var(--accent); }
.nav-search { flex: 1; max-width: 520px; }
.search-form {
  display: flex;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color .2s;
}
.search-form:focus-within { border-color: var(--accent); }
.search-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.55rem 1rem;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
}
.search-form input::placeholder { color: var(--muted); }
.search-btn {
  background: transparent;
  border: none;
  padding: 0 0.9rem;
  color: var(--muted);
  font-size: 1.2rem;
  cursor: pointer;
  transition: color .2s;
}
.search-btn:hover { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}
.nav-link { color: var(--text2); font-size: 0.9rem; font-weight: 500; transition: color .2s; }
.nav-link:hover, .nav-admin { color: var(--accent2); }

/* Genre dropdown */
.nav-genres-toggle { position: relative; }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--text2);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  transition: all .2s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.genres-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 180px;
  box-shadow: var(--shadow);
  padding: 0.5rem 0;
  z-index: 200;
}
.genres-dropdown a {
  display: block;
  padding: 0.5rem 1.1rem;
  font-size: 0.88rem;
  color: var(--text2);
  transition: all .15s;
}
.genres-dropdown a:hover { background: var(--surface); color: var(--accent); }
.nav-genres-toggle:hover .genres-dropdown { display: block; }

/* User avatar menu */
.nav-user {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}
.nav-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}
.nav-username { font-size: 0.88rem; color: var(--text2); }
.user-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 160px;
  box-shadow: var(--shadow);
  padding: 0.5rem 0;
  z-index: 200;
}
.user-dropdown a {
  display: block;
  padding: 0.5rem 1.1rem;
  font-size: 0.88rem;
  color: var(--text2);
}
.user-dropdown a:hover { color: var(--accent); }
.nav-user:hover .user-dropdown { display: block; }

/* Sign-in button */
.btn-signin {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  transition: all .2s;
  white-space: nowrap;
}
.btn-signin:hover { border-color: var(--accent); color: var(--accent); }

/* ── Flash messages ──────────────────────────────────────────────── */
.flash-container {
  position: fixed;
  top: calc(var(--nav-h) + 12px);
  right: 1rem;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 360px;
}
.flash {
  padding: 0.8rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  box-shadow: var(--shadow);
  animation: slideIn .25s ease;
}
@keyframes slideIn { from { opacity:0; transform:translateX(20px); } }
.flash-success { background: rgba(74,222,128,.15); border: 1px solid var(--success); color: var(--success); }
.flash-danger, .flash-error  { background: rgba(248,113,113,.15); border: 1px solid var(--error);   color: var(--error);   }
.flash-info    { background: rgba(124,106,247,.15); border: 1px solid var(--accent);  color: var(--accent);  }
.flash-warning { background: rgba(251,191,36,.15);  border: 1px solid var(--warning); color: var(--warning); }
.flash-close   { background: none; border: none; cursor: pointer; color: inherit; font-size: 1.1rem; line-height: 1; flex-shrink: 0; }

/* ── Page structure ──────────────────────────────────────────────── */
.main-content { min-height: calc(100vh - var(--nav-h) - 200px); }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 100% at 60% 50%,
    rgba(124,106,247,.22) 0%, transparent 65%),
    radial-gradient(ellipse 50% 80% at 20% 80%,
    rgba(247,106,140,.15) 0%, transparent 60%);
}
.hero-content {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.hero-headline {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.hero-headline em { font-style: normal; color: var(--accent); }
.hero-sub { color: var(--text2); font-size: 1.1rem; margin-bottom: 2rem; }
.hero-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), #9b6af7);
  color: #fff;
  padding: 0.85rem 2.2rem;
  border-radius: 9px;
  font-weight: 700;
  font-size: 1rem;
  transition: opacity .2s, transform .2s;
}
.hero-cta:hover { opacity: .9; transform: translateY(-2px); }

/* ── Sections ────────────────────────────────────────────────────── */
.section { padding: 3rem 1.5rem; max-width: 1400px; margin: 0 auto; }
.section-dark { background: var(--bg2); max-width: 100%; padding: 3rem 0; }
.section-dark .section-header,
.section-dark .videos-row { max-width: 1400px; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.section-alt { background: var(--surface); max-width: 100%; padding: 3rem 0; }
.section-alt .section-header,
.section-alt .videos-grid { max-width: 1400px; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
}
.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.accent { color: var(--accent); }
.section-more { font-size: 0.85rem; color: var(--muted); transition: color .2s; }
.section-more:hover { color: var(--accent); }

/* ── Artist grid ─────────────────────────────────────────────────── */
.artists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}
.artist-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.2rem 0.8rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all .2s;
  text-align: center;
}
.artist-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow); }
.artist-avatar-wrap { position: relative; }
.artist-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}
.artist-avatar.placeholder {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 800; color: #fff;
}
.artist-badge {
  position: absolute;
  bottom: 0; right: 0;
  background: var(--accent2);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.artist-info strong { font-size: 0.88rem; display: block; }
.artist-info small  { font-size: 0.75rem; color: var(--muted); display: block; }
.genre-tags { color: var(--accent) !important; }

/* ── Video cards ─────────────────────────────────────────────────── */
.videos-row {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.videos-row .video-card { flex: 0 0 260px; }
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.2rem;
}

.video-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .2s;
  display: flex;
  flex-direction: column;
}
.video-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow); }

.video-thumb-link { display: block; }
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--surface2);
  overflow: hidden;
}
.video-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.video-card:hover .video-thumb img { transform: scale(1.04); }
.thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--muted);
}
.video-duration {
  position: absolute;
  bottom: 6px; right: 6px;
  background: rgba(0,0,0,.8);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 4px;
}

.video-meta { padding: 0.85rem; flex: 1; display: flex; flex-direction: column; gap: 0.3rem; }
.video-creator {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--muted);
  transition: color .15s;
}
.video-creator:hover { color: var(--accent); }
.creator-mini-avatar {
  width: 20px; height: 20px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.creator-mini-avatar.placeholder {
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; color: #fff; font-weight: 700;
}
.video-title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}
.video-title a { transition: color .15s; }
.video-title a:hover { color: var(--accent); }
.video-desc {
  font-size: 0.78rem;
  color: var(--text2);
  line-height: 1.4;
  flex: 1;
}
.video-stats {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: auto;
}
.stat { font-size: 0.72rem; color: var(--muted); }

/* ── Watch page ──────────────────────────────────────────────────── */
.watch-layout {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 900px) {
  .watch-layout { grid-template-columns: 1fr; }
  .watch-sidebar { display: none; }
}
.player-wrap {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
}
.yt-player { width: 100%; height: 100%; border: none; display: block; }
.watch-info { padding: 1.2rem 0; }
.watch-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.8rem; }

/* Vote bar */
.watch-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.2rem; }
.watch-stats { font-size: 0.85rem; color: var(--muted); }
.vote-bar { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.vote-btn {
  display: flex; align-items: center; gap: 0.4rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  color: var(--text2);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.vote-btn:hover { border-color: var(--accent); color: var(--accent); }
.vote-btn.active { background: rgba(124,106,247,.15); border-color: var(--accent); color: var(--accent); }
.vote-btn.dislike:hover { border-color: var(--error); color: var(--error); }
.vote-btn.dislike.active { background: rgba(248,113,113,.15); border-color: var(--error); color: var(--error); }
.vote-btn small { font-size: 0.65rem; color: var(--muted); }
.yt-likes { font-size: 0.78rem; color: var(--muted); display: flex; align-items: center; gap: 0.3rem; }
.vote-login-hint { font-size: 0.78rem; color: var(--accent); }

/* Creator bar */
.watch-creator { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem; background: var(--surface); border-radius: var(--radius); margin-bottom: 1rem; flex-wrap: wrap; }
.creator-bar { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
.creator-bar-avatar {
  width: 48px; height: 48px;
  border-radius: 50%; object-fit: cover; border: 2px solid var(--border);
}
.creator-bar-avatar.placeholder {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.2rem; font-weight: 800;
}
.creator-bio-short { font-size: 0.85rem; color: var(--text2); line-height: 1.5; }

.watch-description { font-size: 0.9rem; color: var(--text2); line-height: 1.6; margin-top: 0.5rem; white-space: pre-wrap; }

/* Comments */
.comments-section { margin-top: 2rem; border-top: 1px solid var(--border); padding-top: 1.5rem; }
.comments-title { font-size: 1.1rem; margin-bottom: 1.2rem; }
.comment-count { color: var(--muted); font-size: 0.9rem; font-weight: 400; margin-left: 0.4rem; }
.comment-form { display: flex; gap: 0.8rem; margin-bottom: 1.5rem; align-items: flex-start; }
.comment-input-wrap { flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.comment-input-wrap textarea {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  padding: 0.7rem 1rem;
  resize: vertical;
  outline: none;
  transition: border-color .2s;
}
.comment-input-wrap textarea:focus { border-color: var(--accent); }
.comment-login { font-size: 0.9rem; color: var(--muted); margin-bottom: 1rem; }
.comment-login a { color: var(--accent); }
.comment-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.comment { display: flex; gap: 0.8rem; margin-bottom: 1.2rem; }
.comment.reply { margin-left: 2.5rem; margin-top: 0.8rem; }
.comment-body { flex: 1; }
.comment-header { display: flex; align-items: baseline; gap: 0.6rem; margin-bottom: 0.3rem; }
.comment-header strong { font-size: 0.88rem; }
.comment-header time { font-size: 0.75rem; color: var(--muted); }
.comment-body p { font-size: 0.9rem; color: var(--text2); line-height: 1.5; }
.reply-btn { background: none; border: none; color: var(--muted); font-size: 0.78rem; cursor: pointer; margin-top: 0.3rem; }
.reply-btn:hover { color: var(--accent); }
.no-comments { color: var(--muted); font-size: 0.9rem; }

/* Sidebar */
.watch-sidebar { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem; }
.sidebar-title { font-size: 1rem; margin-bottom: 1rem; color: var(--text2); }
.related-item { display: flex; gap: 0.7rem; padding: 0.6rem 0; border-bottom: 1px solid var(--border); transition: opacity .15s; }
.related-item:last-child { border-bottom: none; }
.related-item:hover { opacity: 0.8; }
.related-thumb { width: 100px; height: 56px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.related-info strong { font-size: 0.82rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-info small { color: var(--muted); font-size: 0.75rem; }
.no-related { color: var(--muted); font-size: 0.85rem; }

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), #9b6af7);
  color: #fff;
  padding: 0.7rem 1.6rem;
  border-radius: 8px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
}
.btn-primary:hover { opacity: .9; transform: translateY(-1px); }

/* ── Search page ─────────────────────────────────────────────────── */
.search-page { max-width: 1400px; margin: 0 auto; padding: 2rem 1.5rem; }
.search-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.filter-chip {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--text2);
  background: var(--surface);
  cursor: pointer;
  transition: all .15s;
  text-decoration: none;
}
.filter-chip:hover, .filter-chip.active { border-color: var(--accent); color: var(--accent); background: rgba(124,106,247,.1); }
.pagination { display: flex; gap: 0.4rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.page-link {
  padding: 0.4rem 0.9rem;
  border-radius: 7px;
  font-size: 0.85rem;
  border: 1px solid var(--border);
  color: var(--text2);
  background: var(--surface);
  transition: all .15s;
}
.page-link:hover, .page-link.active { border-color: var(--accent); color: var(--accent); }

/* ── Creator profile ─────────────────────────────────────────────── */
.creator-page { max-width: 1400px; margin: 0 auto; }
.creator-banner {
  height: 220px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  border-radius: 0 0 var(--radius) var(--radius);
}
.creator-header { display: flex; align-items: flex-end; gap: 1.5rem; padding: 1.5rem; margin-top: -60px; }
.creator-header-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg);
  flex-shrink: 0;
}
.creator-header-info { padding-bottom: 0.5rem; }
.creator-header-info h1 { font-size: 1.8rem; }
.creator-header-info p { color: var(--text2); font-size: 0.9rem; }

/* ── Dashboard ───────────────────────────────────────────────────── */
.dashboard { max-width: 1100px; margin: 0 auto; padding: 2rem 1.5rem; }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.dash-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
}
.dash-card .label { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 0.3rem; }
.dash-card .value { font-size: 1.8rem; font-weight: 700; font-family: 'Syne', sans-serif; }

/* ── KYC / Subscribe pages ───────────────────────────────────────── */
.centered-page { max-width: 560px; margin: 3rem auto; padding: 0 1.5rem; text-align: center; }
.page-icon { font-size: 3rem; margin-bottom: 1rem; }
.step-list { text-align: left; margin: 1.5rem 0; display: flex; flex-direction: column; gap: 0.8rem; counter-reset: step; }
.step-list li {
  counter-increment: step;
  display: flex; align-items: flex-start; gap: 0.8rem;
  font-size: 0.9rem; color: var(--text2); line-height: 1.5;
}
.step-list li::before {
  content: counter(step);
  background: var(--accent);
  color: #fff;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Admin ───────────────────────────────────────────────────────── */
.admin-layout { display: grid; grid-template-columns: 220px 1fr; min-height: calc(100vh - var(--nav-h)); }
.admin-sidebar { background: var(--surface); border-right: 1px solid var(--border); padding: 1.5rem 0; }
.admin-sidebar a { display: block; padding: 0.6rem 1.4rem; font-size: 0.88rem; color: var(--text2); transition: all .15s; }
.admin-sidebar a:hover, .admin-sidebar a.active { color: var(--accent); background: rgba(124,106,247,.08); }
.admin-main { padding: 2rem; }
.admin-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem; }
.stat-card .s-label { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing:.06em; }
.stat-card .s-val { font-size: 2rem; font-weight: 800; font-family: 'Syne', sans-serif; margin-top: 0.2rem; }
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
th { text-align: left; padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--border); color: var(--muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
td { padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--border); color: var(--text2); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--surface); }
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; }
.badge-active  { background: rgba(74,222,128,.15); color: var(--success); }
.badge-pending { background: rgba(251,191,36,.15);  color: var(--warning); }
.badge-failed  { background: rgba(248,113,113,.15); color: var(--error);   }
.badge-none    { background: var(--surface2);       color: var(--muted);   }

/* ── Footer ──────────────────────────────────────────────────────── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
  margin-top: 3rem;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2rem;
  align-items: start;
}
.footer-brand .logo-mark { font-size: 1.2rem; }
.footer-brand p { color: var(--muted); font-size: 0.85rem; margin-top: 0.4rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-links a { font-size: 0.85rem; color: var(--text2); transition: color .15s; }
.footer-links a:hover { color: var(--accent); }
.footer-legal small { color: var(--muted); font-size: 0.78rem; }

/* ── Utilities ───────────────────────────────────────────────────── */
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mb-1 { margin-bottom: 1rem; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-search { display: none; }
  .artists-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
  .footer-inner { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: flex; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--border); padding: 0; }
  .admin-sidebar a { white-space: nowrap; }
}
