@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* ── Apple Pro OLED Black & Glass Materials ── */
  --bg: #000000;
  --bg-subtle: #0A0A0C;
  --bg-card: rgba(255, 255, 255, 0.035);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --bg-glass: rgba(18, 18, 22, 0.7);
  --bg-pill: rgba(255, 255, 255, 0.08);
  --bg-pill-hover: rgba(255, 255, 255, 0.14);

  /* ── Precision Hairline Borders ── */
  --line: rgba(255, 255, 255, 0.09);
  --line-soft: rgba(255, 255, 255, 0.04);
  --line-active: rgba(255, 255, 255, 0.22);

  /* ── Typography & Contrast ── */
  --text: #FFFFFF;
  --text-dim: rgba(255, 255, 255, 0.65);
  --text-faint: rgba(255, 255, 255, 0.38);

  /* ── Apple Music Accent ── */
  --accent-red: #FA2D48;
  --accent-red-hover: #E0203B;
  --accent-green: #30D158;

  /* ── Apple Minimal Monochromatic Tokens ── */
  --accent-cyan: #FFFFFF;
  --accent-cyan-hover: rgba(255, 255, 255, 0.85);
  --accent-cyan-dim: rgba(255, 255, 255, 0.08);
  --accent-cyan-border: rgba(255, 255, 255, 0.16);
  --accent-cyan-glow: none;
  --accent-amber: #FFB800;

  --font-main: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", -apple-system, sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", Menlo, monospace;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  --tap: 44px;

  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  background: radial-gradient(120% 60% at 50% 0%, rgba(250, 45, 72, 0.09) 0%, rgba(0, 0, 0, 0) 70%), var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.015em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Layout Wrap ── */
.wrap {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Leftmost Header Navigation (All Devices) ── */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 6px 24px 6px 8px; /* Ultra-left padding for the logo */
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #FFF;
  margin-right: auto;
  margin-left: 0;
  padding: 0 4px;
  justify-content: flex-start;
}

.brand-text {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.brand-logo-img {
  height: 38px;
  max-height: 56px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  transition: all 0.15s ease;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
}

.nav-links a:hover {
  color: #FFF;
  background: var(--bg-pill-hover);
  border-color: rgba(255, 255, 255, 0.12);
}

.nav-links a.active {
  color: #FFF;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

/* ── Hero Section ── */
.hero {
  padding: 4rem 0 2.25rem;
  text-align: center;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: var(--bg-pill);
  border: 1px solid var(--line);
  padding: 5px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 1.25rem;
}

.hero-pill-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
}

.hero h1 {
  font-size: clamp(2.75rem, 7.5vw, 4.75rem);
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 1.02;
  margin: 0 0 0.85rem;
  color: #FFF;
}

.hero .lede {
  color: var(--text-dim);
  font-size: clamp(15px, 1.25vw, 17px);
  max-width: 520px;
  margin: 0 auto 1.75rem;
  line-height: 1.55;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Apple-Grade Pill Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 10px 22px;
  border-radius: var(--r-pill);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  min-height: var(--tap);
}
.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: #FFFFFF;
  color: #000000;
}
.btn-primary:hover {
  background: rgba(255, 255, 255, 0.92);
}

.btn-secondary {
  background: var(--bg-pill);
  color: #FFFFFF;
  border: 1px solid var(--line);
}
.btn-secondary:hover {
  background: var(--bg-pill-hover);
  border-color: var(--line-active);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 12.5px;
  min-height: 32px;
}

/* ── Apple-Grade Subtle Download Action Button ── */
.btn-download {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 7px 16px;
  border-radius: var(--r-pill);
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.015em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 34px;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  user-select: none;
}

.btn-download svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.2;
  flex-shrink: 0;
  display: block;
}

.btn-download:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.45);
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.btn-download:active {
  transform: scale(0.96);
  background: rgba(255, 255, 255, 0.15);
}

.btn-download .dl-label {
  display: inline-block;
  line-height: 1;
}

/* ── Section Dividers & Headers ── */
section {
  padding: 2.75rem 0;
  border-top: 1px solid var(--line-soft);
}
section.no-border { border-top: none; }
section.tight { padding-top: 1rem; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  gap: 10px;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #FFF;
}

.section-sub {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 2px;
}

.section-link {
  color: #FFF;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  opacity: 0.8;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.section-link:hover { opacity: 1; }

/* ── Apple Spotlight Premiere Card ── */
.spotlight-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.spotlight-art {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-md);
  background-size: cover;
  background-position: center;
  background-color: #111;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.spotlight-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.spotlight-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-red);
}

.spotlight-title {
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #FFF;
  line-height: 1.15;
}

.spotlight-meta {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.spotlight-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ── Apple Music Discography Rail ── */
.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.album-item {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.album-item:hover {
  transform: translateY(-3px);
}

.album-cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-md);
  background-size: cover;
  background-position: center;
  background-color: #111;
  margin-bottom: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.album-name {
  font-size: 14.5px;
  font-weight: 600;
  color: #FFF;
  letter-spacing: -0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.album-info {
  font-size: 12.5px;
  color: var(--text-dim);
  margin-top: 2px;
}

/* ── Apple Music-Style Track List ── */
.track-list {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.track-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line-soft);
  gap: 14px;
  transition: background 0.15s ease;
}
.track-item:last-child { border-bottom: none; }
.track-item:hover { background: var(--bg-card-hover); }

.track-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}

.track-index {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-faint);
  width: 22px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.track-art-thumb {
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  background-size: cover;
  background-position: center;
  background-color: #111;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

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

.track-heading {
  font-size: 14.5px;
  font-weight: 600;
  color: #FFF;
  letter-spacing: -0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  display: block;
}
.track-heading:hover { text-decoration: underline; }

.track-subheading {
  font-size: 12.5px;
  color: var(--text-dim);
  margin-top: 1px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.audio-chip {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-faint);
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 5px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.track-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

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

/* ── Apple Video Player Frame ── */
.media-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: center;
}

.media-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.media-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.media-copy h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #FFF;
  margin-bottom: 6px;
}
.media-copy p {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.5;
}

/* ── Apple-Style Linktree Stack ── */
.link-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}

.link-pill-item {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: #FFF;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: var(--tap);
}
.link-pill-item:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.link-pill-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.link-pill-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  flex-shrink: 0;
}

.link-pill-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.link-pill-sub {
  font-size: 12px;
  color: var(--text-dim);
}

/* ── Mobile Viewport Optimization ── */
@media (max-width: 680px) {
  .nav-inner {
    padding: 6px 14px;
    min-height: 52px;
    gap: 10px;
  }
  .brand-logo-img {
    height: 30px;
    max-height: 48px;
    max-width: 130px;
  }
  .nav-links {
    gap: 2px;
  }
  .nav-links a {
    font-size: 12px;
    padding: 5px 10px;
    min-height: 30px;
  }

  .wrap { padding: 0 16px; }
  .hero { padding: 2.5rem 0 1.5rem; }
  .hero h1 { font-size: 2.5rem; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; }

  .spotlight-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 20px;
    gap: 16px;
  }
  .spotlight-art {
    max-width: 170px;
    margin: 0 auto;
  }
  .spotlight-actions {
    justify-content: center;
    width: 100%;
  }
  .spotlight-actions .btn { width: 100%; }

  .album-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .media-card {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .track-item { padding: 10px 14px; }
  .track-index { display: none; }
  .btn-download {
    padding: 0;
    width: 34px;
    height: 34px;
    min-height: 34px;
    border-radius: 50%;
    justify-content: center;
    gap: 0;
  }
  .btn-download .dl-label {
    display: none;
  }
  .track-duration { display: none; }
}

/* ============================================================
   DJ MANiX — ADVANCED AUDIO PLAYBACK SYSTEM & DOCK PLAYER
   ============================================================ */

/* Track Item Play Button Overlay */
.track-art-thumb {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}
.row-play-btn {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  border-radius: inherit;
}
.track-item:hover .row-play-btn {
  opacity: 1;
}
.track-item.is-playing-row .row-play-btn {
  opacity: 1;
  background: rgba(255, 255, 255, 0.2);
  color: #FFF;
}
.track-item.is-playing-row {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

/* Equalizer Bars Animation */
.eq-bars {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 16px;
}
.eq-bar {
  width: 2.5px;
  background: #FFFFFF;
  border-radius: 1px;
  height: 4px;
}
.eq-bars.is-active .eq-bar:nth-child(1) { animation: eqBounce 0.6s infinite ease-in-out alternate; }
.eq-bars.is-active .eq-bar:nth-child(2) { animation: eqBounce 0.8s infinite ease-in-out alternate 0.15s; }
.eq-bars.is-active .eq-bar:nth-child(3) { animation: eqBounce 0.5s infinite ease-in-out alternate 0.3s; }
.eq-bars.is-active .eq-bar:nth-child(4) { animation: eqBounce 0.7s infinite ease-in-out alternate 0.2s; }

@keyframes eqBounce {
  0% { height: 3px; }
  100% { height: 16px; }
}

/* ============================================================
   DJ MANiX — PREMIER AUDIO STUDIO DECK & DOCK PLAYER UI
   ============================================================ */

/* ── Solo Track Studio Hero Layout (/songs/:slug & album tracks) ── */
.track-solo-hero {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 40px;
}

.track-art-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 80px;
}

.track-art-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background-color: #121216;
  background-size: cover;
  background-position: center;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.track-art-wrapper.is-playing-art {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75);
  border-color: rgba(255, 255, 255, 0.22);
}

.track-art-actions {
  display: flex;
  gap: 10px;
  width: 100%;
}
.track-art-actions .btn {
  flex: 1;
  font-size: 12.5px;
  padding: 8px 12px;
}

/* Right Content Column */
.track-content-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.track-breadcrumb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.track-breadcrumb-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease;
}
.track-breadcrumb-link:hover {
  color: #FFF;
}

.track-hero-title {
  font-size: clamp(26px, 3.8vw, 40px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #FFF;
  line-height: 1.18;
  margin: 0;
  word-break: break-word;
}

.track-hero-artist-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dim);
}
.track-spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.spec-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-dim);
  font-family: var(--font-mono);
}
.spec-pill.highlight {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}

/* ── DJ Minimal In-Page Audio Capsule Strip (Apple Music Style) ── */
.dj-player-strip {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 6px 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

/* Play / Pause Circular Solid White Button (Apple Minimal) */
.dj-strip-play-btn,
.dj-master-play-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF !important;
  color: #000000 !important;
  border: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25), 0 2px 6px rgba(0, 0, 0, 0.8);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
}
.dj-strip-play-btn svg,
.dj-master-play-btn svg {
  fill: #000000 !important;
  color: #000000 !important;
}
.dj-strip-play-btn:hover,
.dj-master-play-btn:hover {
  transform: scale(1.06);
  background: #FFFFFF !important;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.4), 0 2px 8px rgba(0, 0, 0, 0.6);
}
.dj-strip-play-btn:active,
.dj-master-play-btn:active {
  transform: scale(0.95);
}

/* Strip Center: Meta & Scrubber */
.dj-strip-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.dj-strip-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.dj-strip-status {
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.dj-strip-times {
  display: flex;
  align-items: center;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-dim);
}
.dj-strip-times .time-sep {
  color: var(--text-faint);
  margin: 0 3px;
}

.dj-strip-scrub-box {
  width: 100%;
  display: flex;
  align-items: center;
}

/* Strip Secondary Action Buttons */
.dj-strip-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.dj-btn-round {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text-dim);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  width: 32px;
  height: 32px;
}
.dj-btn-round:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFF;
  border-color: rgba(255, 255, 255, 0.22);
  transform: scale(1.06);
}
.dj-btn-round:active {
  transform: scale(0.95);
}
.dj-btn-round.is-active {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
}

.dj-skip-btn {
  width: 32px;
  height: 32px;
  position: relative;
}
.dj-skip-badge {
  position: absolute;
  bottom: 3px;
  font-size: 7px;
  font-weight: 800;
  font-family: var(--font-mono);
}

/* Equalizer Bars: Apple Pure White */
.dj-studio-spectrum {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}
.spectrum-bar {
  width: 2px;
  background: #FFFFFF;
  border-radius: 1px;
  height: 3px;
  transition: height 0.1s ease;
  opacity: 0.85;
}
.dj-studio-spectrum.is-active .spectrum-bar:nth-child(1) { animation: specBounce 0.5s infinite ease-in-out alternate; }
.dj-studio-spectrum.is-active .spectrum-bar:nth-child(2) { animation: specBounce 0.7s infinite ease-in-out alternate 0.1s; }
.dj-studio-spectrum.is-active .spectrum-bar:nth-child(3) { animation: specBounce 0.4s infinite ease-in-out alternate 0.2s; }
.dj-studio-spectrum.is-active .spectrum-bar:nth-child(4) { animation: specBounce 0.6s infinite ease-in-out alternate 0.15s; }

@keyframes specBounce {
  0% { height: 2px; }
  100% { height: 13px; }
}

/* Custom Audio Slider / Range Input */
.player-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.12);
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
}
.player-range:hover {
  background: rgba(255, 255, 255, 0.2);
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FFF;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.player-range::-webkit-slider-thumb:hover {
  transform: scale(1.25);
  background: #FFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 0 6px rgba(255, 255, 255, 0.5);
}
.player-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FFF;
  border: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

/* Volume Control on Studio Deck */
.dj-deck-vol-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.dj-vol-group {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 140px;
}
.dj-vol-group .player-range {
  width: 90px;
}

/* Solo Download Action Buttons */
.track-download-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.btn-master-download {
  background: #FFFFFF !important;
  color: #000000 !important;
  border: none !important;
  padding: 14px 24px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border-radius: var(--r-pill) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.18) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
  cursor: pointer !important;
}
.btn-master-download:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.3) !important;
}
.btn-master-download:active {
  transform: translateY(0) !important;
}

.lossless-formats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Custom Apple-Style Sleek Range Inputs */
.player-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  outline: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  transition: height 0.15s ease;
}
.player-range:hover {
  height: 5px;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #FFFFFF;
  border: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: transform 0.15s ease;
}
.player-range:hover::-webkit-slider-thumb {
  transform: scale(1.25);
}
.player-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #FFFFFF;
  border: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: transform 0.15s ease;
}
.player-range::-moz-range-track {
  background: transparent;
  border: none;
}

/* ── Artwork Interactive Play Badge (Song Hero) ── */
.track-art-wrapper {
  cursor: pointer;
  position: relative;
}
.art-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}
.art-play-badge svg {
  margin-left: 3px;
  fill: #FFFFFF;
}
.track-art-wrapper:hover .art-play-badge,
.track-art-wrapper.is-playing-art .art-play-badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.track-art-wrapper.is-playing-art .art-play-badge {
  background: rgba(0, 0, 0, 0.8) !important;
  border-color: #FFFFFF !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8) !important;
}
.track-art-wrapper.is-playing-art .art-play-badge svg {
  margin-left: 0;
}

/* ── Track Hero Stream & Preview Action Bar ── */
/* ── Track Hero Stream & Preview Action Bar (Twin Pill to Download Button) ── */
.track-preview-box {
  margin-top: 4px;
  margin-bottom: 10px;
  width: 100%;
}
.btn-track-preview {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--r-pill, 999px);
  padding: 14px 24px;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  outline: none;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-user-select: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  text-decoration: none;
}
.btn-track-preview:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.12);
}
.btn-track-preview:active {
  transform: translateY(0);
}
.btn-track-preview.is-playing {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.12) !important;
}
.preview-play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: currentColor;
}
.preview-play-icon svg {
  fill: currentColor;
  color: currentColor;
  display: block;
}
.preview-eq-bars {
  display: none;
  align-items: flex-end;
  gap: 2.5px;
  height: 14px;
  margin-left: 4px;
}
.btn-track-preview.is-playing .preview-eq-bars {
  display: inline-flex;
}
.preview-eq-bars .eq-bar {
  width: 2.5px;
  background: #FFFFFF !important;
  border-radius: 1.5px;
  height: 3px;
}
.btn-track-preview.is-playing .preview-eq-bars .eq-bar:nth-child(1) { animation: eqBounce 0.5s infinite ease-in-out alternate; }
.btn-track-preview.is-playing .preview-eq-bars .eq-bar:nth-child(2) { animation: eqBounce 0.7s infinite ease-in-out alternate 0.1s; }
.btn-track-preview.is-playing .preview-eq-bars .eq-bar:nth-child(3) { animation: eqBounce 0.4s infinite ease-in-out alternate 0.2s; }
.btn-track-preview.is-playing .preview-eq-bars .eq-bar:nth-child(4) { animation: eqBounce 0.6s infinite ease-in-out alternate 0.15s; }

/* Toast notification */
.dj-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: rgba(20, 20, 24, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFF;
  padding: 7px 16px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 100000;
}
.dj-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Responsive & Mobile Optimizations */
@media (max-width: 900px) {
  .track-solo-hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .track-art-col {
    position: static;
    max-width: 280px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 680px) {
  /* Song Page Hero on Mobile */
  .track-solo-hero {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    margin-bottom: 24px !important;
  }
  .track-art-col {
    position: static !important;
    max-width: 240px !important;
    margin: 0 auto !important;
    width: 100% !important;
  }
  .track-content-col {
    gap: 14px !important;
  }
  .track-hero-title {
    font-size: clamp(20px, 5.5vw, 26px) !important;
    line-height: 1.22 !important;
  }
  .track-hero-artist-row {
    font-size: 14px !important;
    gap: 6px !important;
  }
  .track-spec-pills {
    gap: 6px !important;
  }
  .spec-pill {
    font-size: 11px !important;
    padding: 3px 10px !important;
  }

  /* Twin Preview Pill Button on Mobile (Matches btn-master-download) */
  .btn-track-preview {
    font-size: 14px !important;
    padding: 13px 18px !important;
    border-radius: 999px !important;
    gap: 8px !important;
  }

  /* Master Download Button on Mobile */
  .btn-master-download {
    font-size: 14px !important;
    padding: 13px 18px !important;
    border-radius: 999px !important;
  }
}

@media (max-width: 380px) {
  .track-art-col {
    max-width: 200px !important;
  }
}

