/* ================================================================
   SPOTIFY GOD TIER OVERLAY  ·  style.css
   ================================================================ */

/* ─── Fonts ──────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,700;1,400&family=Syne:wght@400;500;600;700;800&display=swap');

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

/* ─── OBS: Full transparency ──────────────────────────────────────── */
html, body {
  width: 100%;
  height: 100%;
  background: transparent !important;
  overflow: hidden;
}

body {
  font-family: 'Syne', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ─── Dynamic Color Vars (overridden by JS) ───────────────────────── */
:root {
  --dyn-primary: #1ed760;
  --dyn-glow:    rgba(30, 215, 96, 0.45);
  --dyn-glow-s:  rgba(30, 215, 96, 0.75);
  --dyn-subtle:  rgba(30, 215, 96, 0.14);
  --dyn-border:  rgba(30, 215, 96, 0.28);
}

/* ─── Hidden util ─────────────────────────────────────────────────── */
#color-canvas { display: none; position: absolute; }

/* ================================================================
   OBS MODE — masquer les écrans de config immédiatement, sans flash
   ================================================================ */
[data-obs-mode='true'] #auth-screen,
[data-obs-mode='true'] #obs-ready-screen {
  display: none !important;
}

/* ================================================================
   AUTH SCREEN
   ================================================================ */
#auth-screen {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #080808;
  z-index: 9999;
}

#auth-card {
  background: rgba(255,255,255,0.038);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 28px;
  padding: 52px 44px;
  max-width: 500px;
  width: calc(100% - 48px);
  text-align: center;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}

#auth-logo { width: 52px; height: 52px; margin: 0 auto 20px; color: #1ed760; }
#auth-logo svg { width: 100%; height: 100%; }

#auth-card h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.4px;
  margin-bottom: 10px;
}

#auth-card > p {
  color: rgba(255,255,255,0.45);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.auth-steps {
  text-align: left;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.62);
  line-height: 1.5;
}

.step-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #1ed760;
  opacity: 0.7;
  padding-top: 2px;
  flex-shrink: 0;
}

/* Container vertical dans un step (label + widget) */
.step-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

/* Boîte affichant la Redirect URI */
.redirect-uri-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 8px;
  padding: 8px 10px;
  min-width: 0;
}

.redirect-uri-box code {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: none;
  padding: 0;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 10.5px;
  color: rgba(255,255,255,0.60);
}

#copy-redirect-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.35);
  padding: 3px;
  border-radius: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

#copy-redirect-btn:hover { color: #1ed760; }

/* Ligne contenant l'input Client ID */
.input-row { width: 100%; }

#client-id-input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  color: rgba(255,255,255,0.85);
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 12px;
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#client-id-input::placeholder { color: rgba(255,255,255,0.20); }

#client-id-input:focus {
  border-color: rgba(30,215,96,0.45);
  box-shadow: 0 0 0 3px rgba(30,215,96,0.08);
}

.auth-step code {
  background: rgba(30,215,96,0.12);
  color: #1ed760;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 11px;
  font-family: 'SF Mono', 'Fira Code', monospace;
}

.auth-step a {
  color: rgba(255,255,255,0.8);
  text-decoration: underline;
  text-underline-offset: 2px;
}

#auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1ed760;
  color: #000;
  border: none;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease;
}

#auth-btn:hover { background: #2aed6e; transform: scale(1.03); }
#auth-btn:active { transform: scale(0.98); }

/* ================================================================
   OBS READY SCREEN
   ================================================================ */
#obs-ready-screen {
  position: fixed;
  inset: 0;
  display: none;            /* révélé par JS via showOBSUrlPanel() */
  align-items: center;
  justify-content: center;
  background: #080808;
  z-index: 9999;
}

#obs-ready-card {
  background: rgba(255,255,255,0.038);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 28px;
  padding: 52px 44px;
  max-width: 520px;
  width: calc(100% - 48px);
  text-align: center;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}

/* Icône checkmark verte */
#obs-check {
  width: 54px;
  height: 54px;
  background: rgba(30,215,96,0.12);
  border: 1.5px solid rgba(30,215,96,0.28);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  color: #1ed760;
}

#obs-ready-card h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.4px;
  margin-bottom: 10px;
}

#obs-ready-card > p {
  color: rgba(255,255,255,0.45);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 26px;
}

/* Ligne URL + bouton copier */
#obs-url-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

#obs-url-input {
  flex: 1;
  min-width: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  color: rgba(255,255,255,0.72);
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 10.5px;
  padding: 11px 13px;
  outline: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: text;
}

#obs-copy-btn {
  background: #1ed760;
  color: #000;
  border: none;
  border-radius: 10px;
  padding: 11px 22px;
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.18s ease, transform 0.15s ease;
}

#obs-copy-btn:hover  { background: #2aed6e; transform: scale(1.02); }
#obs-copy-btn:active { transform: scale(0.97); }
#obs-copy-btn.copied { background: #17a848; }

/* Confirmation "Copié !" */
#obs-copy-confirm {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 500;
  color: #1ed760;
  letter-spacing: 0.2px;
  opacity: 0;
  margin-bottom: 22px;
  min-height: 18px;
}

/* Bloc instruction OBS */
.obs-instructions {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
  text-align: left;
}

.obs-badge {
  background: #e91547;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 4px;
  flex-shrink: 0;
}

kbd {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 11px;
  font-family: inherit;
  color: rgba(255,255,255,0.80);
}

.obs-note {
  font-size: 11.5px;
  color: rgba(255,255,255,0.25);
  line-height: 1.65;
}

/* ================================================================
   OVERLAY WRAPPER
   ================================================================ */
#overlay {
  position: fixed;
  z-index: 100;
  will-change: transform, opacity;
}

/* ================================================================
   BACKGROUND LAYER  — désactivé (effet supprimé)
   ================================================================ */
#bg-layer {
  display: none !important;
}

.bg-img {
  display: none;
}

#bg-darken {
  display: none;
}

#bg-glow-layer {
  display: none;
}

/* ================================================================
   WIDGET CARD
   ================================================================ */
#widget {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px 18px 18px;
  width: 420px;
  min-height: 100px;
  background: var(--t-bg,   rgba(8,8,10,0.84));
  border: 1px solid var(--t-border, rgba(255,255,255,0.055));
  border-radius: var(--t-r, 20px);
  -webkit-backdrop-filter: blur(var(--t-blur, 26px)) saturate(1.9);
  backdrop-filter:          blur(var(--t-blur, 26px)) saturate(1.9);
  box-shadow:
    0 10px 40px rgba(0,0,0,0.65),
    0 2px  10px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.04);
  overflow: hidden;
  will-change: transform, opacity;
}

/* Top-edge shine */
#widget::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(255,255,255,0.07) 40%, rgba(255,255,255,0.07) 60%, transparent 95%);
  pointer-events: none;
  z-index: 2;
}

/* ================================================================
   COVER SECTION
   ================================================================ */
#cover-section {
  position: relative;
  flex-shrink: 0;
  width: 128px;
  height: 128px;
}

#cover-glow-ring {
  display: none; /* effet supprimé */
}

#cover-wrapper {
  position: relative;
  width: 128px;
  height: 128px;
  border-radius: 14px;
  overflow: hidden;
  z-index: 1;
  will-change: transform, opacity;
  box-shadow:
    0 22px 56px rgba(0,0,0,0.72),
    0 6px  18px rgba(0,0,0,0.5);
}

#cover-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  user-select: none;
}

/* Gloss overlay on cover */
#cover-gloss {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.07) 0%,
    transparent 45%,
    rgba(0,0,0,0.08) 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Reflection below cover */
#cover-shadow-reflection {
  position: absolute;
  bottom: -18px;
  left: 10%;
  right: 10%;
  height: 20px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

/* ================================================================
   INFO SECTION
   ================================================================ */
#info-section {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

/* Header row */
#info-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
}

#now-playing-text {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--t-label, rgba(255,255,255,0.28));
  transition: color 1.2s ease;
}

/* Equalizer bars */
#eq-container {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.eq-bar {
  width: 2.5px;
  border-radius: 1.5px;
  background: var(--dyn-primary);
  transition: background 1.2s ease;
  animation: eq-dance 0.7s ease-in-out infinite alternate;
  animation-play-state: paused;
}
.eq-bar:nth-child(1) { animation-duration: 0.66s; animation-delay: 0s;    }
.eq-bar:nth-child(2) { animation-duration: 0.88s; animation-delay: 0.12s; }
.eq-bar:nth-child(3) { animation-duration: 0.58s; animation-delay: 0.06s; }
.eq-bar:nth-child(4) { animation-duration: 0.95s; animation-delay: 0.18s; }

@keyframes eq-dance {
  from { height: 3px;  opacity: 0.5; }
  to   { height: 12px; opacity: 1;   }
}

/* Title */
#title-mask {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, black 80%, transparent 100%);
  mask-image:         linear-gradient(90deg, black 80%, transparent 100%);
  margin-bottom: 2px;
}

#title-inner {
  overflow: hidden;
  white-space: nowrap;
}

#track-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--t-title, #fff);
  line-height: 1.15;
  letter-spacing: -0.2px;
  white-space: nowrap;
  display: inline-block;
  will-change: transform;
  transition: color 1.2s ease;
}

#track-title.is-marquee {
  animation: marquee-scroll var(--mq-dur, 12s) linear 1.5s infinite;
}

@keyframes marquee-scroll {
  0%,                    calc(var(--mq-pct, 48%) - 0.01%) { transform: translateX(0); }
  calc(var(--mq-pct, 48%)),
  calc(100% - var(--mq-pct, 48%))                         { transform: translateX(var(--mq-dist, -80px)); }
  calc(100% - var(--mq-pct, 48%) + 0.01%), 100%           { transform: translateX(0); }
}

/* Artist */
#track-artist {
  font-size: 13px;
  font-weight: 600;
  color: var(--t-artist, rgba(255,255,255,0.66));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.15px;
  transition: color 1.2s ease;
  margin-bottom: 1px;
}

/* Album */
#track-album {
  font-size: 11px;
  font-weight: 400;
  color: var(--t-album, rgba(255,255,255,0.32));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.3px;
  transition: color 1.2s ease;
  margin-bottom: 9px;
}

/* ================================================================
   PROGRESS BAR
   ================================================================ */
#progress-area {
  margin-top: auto;
}

#progress-rail {
  position: relative;
  height: 3px;
  background: var(--t-pb-bg, rgba(255,255,255,0.07));
  border-radius: 100px;
  overflow: visible;
  margin-bottom: 5px;
}

#progress-bar {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0%;
  background: var(--dyn-primary);
  border-radius: 100px;
  box-shadow: 0 0 8px var(--dyn-glow);
  transition: background 1.2s ease, box-shadow 1.2s ease;
  will-change: width;
}

#progress-knob {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 9px;
  height: 9px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 6px var(--dyn-glow-s);
  transition: box-shadow 1.2s ease;
  will-change: left;
}

#time-row {
  display: flex;
  justify-content: space-between;
}

#time-row span {
  font-size: 10px;
  font-weight: 500;
  color: var(--t-time, rgba(255,255,255,0.38));
  letter-spacing: 0.4px;
  font-variant-numeric: tabular-nums;
  transition: color 1.2s ease;
}

/* ================================================================
   THEME: LUXURY BLACK  (default)
   ================================================================ */
[data-theme="luxury-black"] {
  --t-bg:     rgba(8, 8, 11, 0.86);
  --t-border: rgba(255, 255, 255, 0.055);
  --t-blur:   26px;
  --t-r:      20px;
  --t-title:  #ffffff;
  --t-artist: rgba(255,255,255,0.66);
  --t-album:  rgba(255,255,255,0.30);
  --t-pb-bg:  rgba(255,255,255,0.07);
  --t-time:   rgba(255,255,255,0.36);
  --t-label:  rgba(255,255,255,0.27);
}

/* ================================================================
   THEME: CYBERPUNK ELITE
   ================================================================ */
[data-theme="cyberpunk-elite"] {
  --t-bg:     rgba(3, 6, 14, 0.93);
  --t-border: rgba(0, 240, 200, 0.16);
  --t-blur:   18px;
  --t-r:      6px;
  --t-title:  #d8fff8;
  --t-artist: rgba(0, 240, 200, 0.85);
  --t-album:  rgba(0, 240, 200, 0.42);
  --t-pb-bg:  rgba(0, 240, 200, 0.1);
  --t-time:   rgba(0, 240, 200, 0.52);
  --t-label:  rgba(0, 240, 200, 0.48);
}

[data-theme="cyberpunk-elite"] #widget {
  border-top-color: rgba(0, 240, 200, 0.35);
  border-radius: 0 0 6px 6px;
}

[data-theme="cyberpunk-elite"] #widget::before {
  background: linear-gradient(90deg, rgba(0,240,200,0.45) 0%, rgba(255,0,128,0.2) 50%, transparent 100%);
  opacity: 0.9;
}

/* Scan-line texture */
[data-theme="cyberpunk-elite"] #widget::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 240, 200, 0.015) 2px,
    rgba(0, 240, 200, 0.015) 4px
  );
  pointer-events: none;
  z-index: 3;
  border-radius: inherit;
}

[data-theme="cyberpunk-elite"] #cover-wrapper { border-radius: 3px; }
[data-theme="cyberpunk-elite"] #cover-art     { border-radius: 3px; filter: contrast(1.08) saturate(1.18); }

[data-theme="cyberpunk-elite"] #track-title {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

[data-theme="cyberpunk-elite"] #track-artist { font-weight: 600; }

/* ================================================================
   THEME: SPOTIFY MODERN
   ================================================================ */
[data-theme="spotify-modern"] {
  --t-bg:     rgba(18, 18, 18, 0.95);
  --t-border: rgba(30, 215, 96, 0.11);
  --t-blur:   20px;
  --t-r:      16px;
  --t-title:  #ffffff;
  --t-artist: rgba(255,255,255,0.60);
  --t-album:  rgba(255,255,255,0.30);
  --t-pb-bg:  rgba(255,255,255,0.1);
  --t-time:   rgba(255,255,255,0.38);
  --t-label:  #1ed760;
}

[data-theme="spotify-modern"] #now-playing-text { color: #1ed760; }
[data-theme="spotify-modern"] .eq-bar { background: #1ed760; }

/* ================================================================
   THEME: GLASS PREMIUM
   ================================================================ */
[data-theme="glass-premium"] {
  --t-bg:     rgba(255, 255, 255, 0.10);
  --t-border: rgba(255, 255, 255, 0.22);
  --t-blur:   48px;
  --t-r:      26px;
  --t-title:  #ffffff;
  --t-artist: rgba(255,255,255,0.82);
  --t-album:  rgba(255,255,255,0.52);
  --t-pb-bg:  rgba(255,255,255,0.18);
  --t-time:   rgba(255,255,255,0.60);
  --t-label:  rgba(255,255,255,0.62);
}

[data-theme="glass-premium"] #widget {
  box-shadow:
    0 8px 32px rgba(0,0,0,0.28),
    0 0 0 1px rgba(255,255,255,0.09),
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 -1px 0 rgba(0,0,0,0.06);
}

[data-theme="glass-premium"] #bg-darken {
  background: rgba(4, 4, 8, 0.40);
}

/* ================================================================
   THEME: PURPLE TWITCH
   ================================================================ */
[data-theme="purple-twitch"] {
  --t-bg:     rgba(11, 6, 22, 0.91);
  --t-border: rgba(145, 71, 255, 0.20);
  --t-blur:   24px;
  --t-r:      18px;
  --t-title:  #f2eeff;
  --t-artist: rgba(210,178,255,0.85);
  --t-album:  rgba(145,71,255,0.52);
  --t-pb-bg:  rgba(145,71,255,0.13);
  --t-time:   rgba(210,178,255,0.52);
  --t-label:  #9147ff;
}

[data-theme="purple-twitch"] #widget::before {
  background: linear-gradient(90deg, rgba(145,71,255,0.22) 0%, transparent 60%);
}

[data-theme="purple-twitch"] #now-playing-text { color: #9147ff; }

/* ================================================================
   THEME: GRAFFITI LUXURY
   ================================================================ */
[data-theme="graffiti-luxury"] {
  --t-bg:     rgba(10, 10, 10, 0.90);
  --t-border: rgba(255, 255, 255, 0.042);
  --t-blur:   20px;
  --t-r:      12px;
  --t-title:  #ffffff;
  --t-artist: rgba(255,222,120,0.88);
  --t-album:  rgba(255,222,120,0.44);
  --t-pb-bg:  rgba(255,222,120,0.08);
  --t-time:   rgba(255,222,120,0.50);
  --t-label:  rgba(255,210,50,0.60);
}

[data-theme="graffiti-luxury"] #track-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  letter-spacing: 0.8px;
  font-style: italic;
}

[data-theme="graffiti-luxury"] #widget::before {
  background: linear-gradient(90deg, rgba(255,200,40,0.15) 0%, transparent 50%);
}

/* ================================================================
   THEME: DARK GOLD
   ================================================================ */
[data-theme="dark-gold"] {
  --t-bg:     rgba(8, 6, 3, 0.94);
  --t-border: rgba(200, 162, 88, 0.18);
  --t-blur:   24px;
  --t-r:      20px;
  --t-title:  #f5e9ca;
  --t-artist: rgba(200,162,88,0.88);
  --t-album:  rgba(200,162,88,0.44);
  --t-pb-bg:  rgba(200,162,88,0.10);
  --t-time:   rgba(200,162,88,0.54);
  --t-label:  rgba(200,162,88,0.62);
}

[data-theme="dark-gold"] #widget {
  box-shadow:
    0 12px 48px rgba(0,0,0,0.78),
    0 0 0 1px rgba(200,162,88,0.10),
    inset 0 1px 0 rgba(200,162,88,0.08);
}

[data-theme="dark-gold"] #widget::before {
  background: linear-gradient(90deg, transparent, rgba(200,162,88,0.10), transparent);
}

[data-theme="dark-gold"] #cover-wrapper {
  border: 1px solid rgba(200,162,88,0.18);
}

[data-theme="dark-gold"] #track-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 23px;
  letter-spacing: 0.2px;
}

/* ================================================================
   TRANSITION HELPERS (used by GSAP + initial state)
   ================================================================ */
.fade-in  { animation: fadeIn  var(--dur, 0.4s) ease forwards; }
.fade-out { animation: fadeOut var(--dur, 0.4s) ease forwards; }

@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }
