/* ============================================================
   DISCO — Marketing site styles
   ============================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg-primary);
  overflow-x: hidden;
  font-family: var(--font-body);
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Global focus ring — visible on keyboard nav only */
:focus { outline: none; }
a:focus-visible,
button:focus-visible,
.btn-primary:focus-visible,
.nav-cta:focus-visible,
.btn-app-store:focus-visible,
.club-card:focus-visible,
.collage-cover:focus-visible,
.email-input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .vinyl-disc { animation: none !important; }
  .marquee-track { animation: none !important; transform: none !important; }
  .vinyl-floating { animation: none !important; }
  .eq-bars span { animation: none !important; transform: none !important; }
}

/* ---------- Page-level theming ---------- */
:root {
  --accent-rgb: 255,45,120;     /* default pink */
  --accent: rgb(var(--accent-rgb));
  --density: 1;                 /* roomy=1, compact=0.72 */
  --type-scale: 1;              /* font scale */
  --glow-accent: 0 0 6px rgba(var(--accent-rgb),0.32);
  --glow-accent-hero: 0 0 12px rgba(var(--accent-rgb),0.45), 0 0 32px rgba(var(--accent-rgb),0.18);
}

/* Background treatments */
.bg-plain {}
.bg-halftone::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(rgba(240,239,232,0.10) 1px, transparent 1.4px);
  background-size: 14px 14px;
  opacity: 0.55;
  mask-image: radial-gradient(ellipse at top, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at top, #000 30%, transparent 75%);
}
.bg-stripes::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: repeating-linear-gradient(
    -22deg, rgba(240,239,232,0.045) 0 1px, transparent 1px 22px
  );
}
.bg-vinyl::before {
  content: ""; position: fixed; inset: -10vw -10vw 0 -10vw; pointer-events: none; z-index: 0;
  background:
    radial-gradient(closest-side, rgba(var(--accent-rgb),0.18), transparent 70%) 18% 8% / 55vw 55vw no-repeat;
  filter: blur(40px);
  opacity: 0.7;
}
main { position: relative; z-index: 1; }

/* ---------- Page layout shell ---------- */
.page-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Top nav */
.top-nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: color-mix(in srgb, var(--bg) 62%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--surface-light) 60%, transparent);
}
.top-nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 22px; letter-spacing: -0.5px;
}
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a {
  font-family: var(--font-ui); font-weight: 600; font-size: 13px;
  color: var(--fg-secondary); transition: color .15s;
}
.nav-links a:hover { color: var(--fg-primary); }
.nav-links a.nav-cta {
  font-family: var(--font-ui); font-weight: 700; font-size: 12px;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: #fff; background: var(--accent);
  padding: 13px 18px; border-radius: 999px;
  min-height: 44px; display: inline-flex; align-items: center;
  box-shadow: var(--glow-accent);
  transition: transform .15s ease-out, box-shadow .15s;
}
.nav-links a.nav-cta:hover { color: #fff; transform: scale(1.02); }
.nav-links a.nav-cta:active { transform: scale(0.97); }

/* ---------- Section primitives ---------- */
section { position: relative; padding: calc(96px * var(--density)) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-ui); font-weight: 700; font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: ""; width: 3px; height: 12px; border-radius: 2px;
  background: currentColor;
}
.section-title {
  font-family: var(--font-display);
  font-size: calc(56px * var(--type-scale));
  line-height: 1; letter-spacing: -1.5px;
  margin: 16px 0 0; max-width: 18ch;
}
.section-sub {
  font-family: var(--font-body); font-size: 17px;
  color: var(--fg-secondary); max-width: 56ch;
  margin: 18px 0 0; line-height: 1.55;
}

/* ---------- Hero ---------- */
.hero { padding-top: calc(72px * var(--density)); padding-bottom: calc(60px * var(--density)); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero-grid.layout-type-only { grid-template-columns: 1fr; text-align: left; }
.hero-grid.layout-collage { grid-template-columns: 1fr 1fr; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-ui); font-weight: 700;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent);
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: calc(96px * var(--type-scale));
  line-height: 0.92; letter-spacing: -3px;
  margin: 22px 0 0;
}
.hero-title .accent { color: var(--accent); }
.hero-title .strike-through {
  position: relative; display: inline-block;
  color: var(--fg-secondary);
}
.hero-title .strike-through::after {
  content: ""; position: absolute; left: -3%; right: -3%; top: 51%;
  height: 6px; background: var(--accent);
  box-shadow: var(--glow-accent);
  transform: rotate(-2deg);
}
.hero-sub {
  font-family: var(--font-body); font-size: 19px; line-height: 1.5;
  color: var(--fg-secondary); margin: 28px 0 0; max-width: 48ch;
}
.layout-type-only .hero-sub { font-size: 22px; max-width: 60ch; }
.layout-type-only .hero-title { font-size: calc(132px * var(--type-scale)); }

.hero-cta-row {
  margin-top: 36px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-ui); font-weight: 700;
  font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase;
  color: #fff; background: var(--accent);
  padding: 16px 22px; border-radius: 999px;
  box-shadow: var(--glow-accent);
  transition: transform .15s ease-out, box-shadow .15s;
}
.btn-primary:hover { transform: scale(1.02); }
.btn-primary:active { transform: scale(0.97); box-shadow: 0 0 4px rgba(var(--accent-rgb),0.4); }

/* ---------- Email signup ---------- */
.email-form {
  margin-top: 36px;
  display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap;
  max-width: 520px;
}
.email-form.is-center {
  margin-top: 40px;
  margin-left: auto; margin-right: auto;
  justify-content: center;
}
.email-form .btn-primary {
  /* match input height visually */
}
.email-input {
  flex: 1 1 240px;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--fg-primary);
  background: rgba(28,26,46,0.7);
  border: 1px solid var(--surface-light);
  border-radius: 10px;
  padding: 14px 16px;
  outline: none;
  transition: border-color .15s ease-out, box-shadow .15s ease-out;
}
.email-input::placeholder { color: var(--fg-tertiary); }
.email-input:hover { border-color: rgba(var(--accent-rgb), 0.5); }
.email-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.18);
}
.email-input:invalid:not(:placeholder-shown) {
  border-color: rgba(255, 80, 80, 0.7);
}

.email-success {
  margin-top: 36px;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-ui); font-weight: 700; font-size: 14px;
  letter-spacing: 0.3px;
  padding: 14px 18px;
  border: 1px solid var(--accent);
  border-radius: 10px;
  color: var(--fg-primary);
  background: rgba(var(--accent-rgb), 0.08);
  box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.3),
              inset 0 0 12px rgba(var(--accent-rgb), 0.08);
}
.email-success.is-center {
  margin-top: 40px;
}
.email-success svg { color: var(--accent); flex-shrink: 0; }

.email-error {
  margin-top: 12px;
  font-family: var(--font-body);
  font-size: 13px;
  color: #ff7070;
  letter-spacing: 0.2px;
}
.email-error.is-center { text-align: center; }

.email-form .btn-primary:disabled,
.email-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Pulsing live dot for hero meta */
.dot-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.8);
  display: inline-block;
  animation: dot-pulse 1.8s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(0.75); }
}

.btn-app-store {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(28,26,46,0.7); border: 1px solid var(--surface-light);
  color: var(--fg-primary); padding: 12px 18px; border-radius: 12px;
  transition: border-color .15s, transform .15s;
}
.btn-app-store:hover { border-color: var(--accent); }
.btn-app-store .small { font-family: var(--font-body); font-size: 10px; color: var(--fg-secondary); letter-spacing: 1px; }
.btn-app-store .big   { font-family: var(--font-ui); font-weight: 700; font-size: 16px; line-height: 1.1; }

.hero-meta {
  margin-top: 28px;
  display: flex; align-items: center; gap: 16px;
  font-family: var(--font-body); font-size: 13px; color: var(--fg-tertiary);
}
.hero-meta .stars { color: var(--neon-yellow); letter-spacing: 1px; }

/* ---------- Hero visuals ---------- */
.hero-visual { display: flex; justify-content: center; align-items: center; min-height: 500px; }

/* Phone */
.phone-mock {
  position: relative;
  width: 380px; height: 780px;
  border-radius: 56px;
  background: #000;
  border: 1px solid #2A2A3A;
  padding: 11px;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.04);
  transform: rotate(-3deg);
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 46px; overflow: hidden;
  background: #050509; position: relative;
  display: flex; flex-direction: column;
}
.phone-notch {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 28px; background: #000; border-radius: 16px;
  z-index: 5;
}

/* ----- Discover Phone (DP) styles ----- */
.dp-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 17px 26px 6px;
  font-family: var(--font-ui); font-size: 14px; color: var(--fg-primary); font-weight: 600;
}
.dp-time { font-weight: 600; font-size: 15px; }
.dp-status-right { display: inline-flex; align-items: center; gap: 5px; }
.dp-batt {
  display: inline-flex; align-items: center; gap: 3px;
  background: #39FF14;
  color: #000; padding: 1px 5px 1px 6px;
  border-radius: 4px; font-size: 9px; font-weight: 800;
}
.dp-batt-pct { line-height: 1; }
.dp-content {
  flex: 1; padding: 8px 16px 0;
  overflow: hidden; position: relative;
}
.dp-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-top: 4px;
}
.dp-title {
  font-family: var(--font-display); font-size: 30px; line-height: 1; letter-spacing: -1px;
  color: var(--fg-primary);
}
.dp-subtitle {
  font-family: var(--font-body); font-size: 11px; color: var(--fg-tertiary);
  margin-top: 5px;
}
.dp-search-icon {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--fg-primary); margin-top: 2px;
}

.dp-featured {
  margin-top: 14px;
  background: linear-gradient(135deg, #2a1a4e 0%, #1a1030 60%, #0a0820 100%);
  border-radius: 14px;
  display: grid; grid-template-columns: 1.4fr 1fr;
  overflow: hidden;
  height: 168px;
}
.dp-featured-content {
  padding: 12px 4px 12px 14px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
}
.dp-featured-pill {
  align-self: flex-start;
  font-family: var(--font-ui); font-weight: 700; font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--neon-pink);
  border: 1px solid rgba(255,45,120,0.5);
  background: rgba(255,45,120,0.12);
  padding: 4px 7px; border-radius: 999px;
}
.dp-featured-title {
  font-family: var(--font-display); font-size: 22px; line-height: 1.05; letter-spacing: -0.5px;
  margin-top: 8px;
  color: var(--fg-primary);
}
.dp-featured-body {
  font-family: var(--font-body); font-size: 10px; line-height: 1.35;
  color: rgba(240,239,232,0.65);
  margin-top: 4px;
}
.dp-featured-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 6px;
}
.dp-featured-members {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-body); font-size: 11px; color: var(--fg-tertiary);
}
.dp-featured-joined {
  font-family: var(--font-ui); font-weight: 700; font-size: 11px;
  color: var(--neon-pink);
}
.dp-featured-art {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 8px 8px 8px 0;
  position: relative;
}
.dp-featured-art > * {
  width: 100%; height: 100%; border-radius: 4px;
}
.dp-dots {
  display: flex; justify-content: center; gap: 5px;
  margin-top: 8px;
}
.dp-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(240,239,232,0.25); }
.dp-dot.active { background: var(--neon-pink); }

.dp-divider {
  height: 1px; background: rgba(46,39,66,0.7);
  margin: 12px 0 12px;
}

.dp-section-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-ui); font-weight: 700; font-size: 10px; letter-spacing: 1.5px;
}
.dp-section-label::before {
  content: ""; display: inline-block; width: 3px; height: 11px;
  background: currentColor; box-shadow: 0 0 4px currentColor;
  border-radius: 2px;
}

.dp-row {
  display: flex; gap: 8px; margin-top: 10px;
  overflow: hidden; padding-right: 0;
}
.dp-album-card {
  flex-shrink: 0; width: 102px;
}
.dp-album-card.dp-album-peek { opacity: 1; }
.dp-album-meta {
  background: #1a1722; padding: 7px 8px 8px;
  border-radius: 0 0 6px 6px;
  margin-top: -1px;
}
.dp-album-t { font-family: var(--font-ui); font-weight: 700; font-size: 11px; line-height: 1.2; color: var(--fg-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-album-a { font-family: var(--font-body); font-size: 10px; color: var(--fg-tertiary); margin-top: 2px; }
.dp-album-foot {
  display: flex; justify-content: space-between; align-items: center; margin-top: 6px;
}
.dp-genre {
  font-family: var(--font-ui); font-weight: 600; font-size: 10px;
}

.dp-score-corner {
  position: absolute; top: 6px; right: 6px;
  font-family: var(--font-display); font-size: 11px; line-height: 1;
  padding: 3px 5px; border-radius: 4px;
  color: #001a22; box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.dp-tabbar {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  background: rgba(28,23,48,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(46,39,66,0.6);
  border-radius: 999px;
  padding: 8px 6px;
  display: flex; gap: 4px; align-items: center;
  width: 250px; justify-content: space-around;
}
.dp-tab {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-family: var(--font-ui); font-size: 9px; font-weight: 600;
  color: var(--fg-tertiary);
  padding: 4px 10px;
  flex: 1;
}
.dp-tab.active { color: var(--neon-violet); }
.dp-tab.active .dp-tab-pill {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(158,46,255,0.18);
  border: 1px solid rgba(158,46,255,0.4);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1px;
}
.dp-tab-label { letter-spacing: 0.2px; }

/* Spinning vinyl */
.vinyl-stage { position: relative; width: 460px; height: 460px; }
.vinyl-disc {
  position: absolute; inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--accent) 0 8%, #000 8.1% 9%, #0a0a0f 9% 12%,
      #1a1a22 12% 13%, #0a0a0f 13% 16%, #1a1a22 16% 17%, #0a0a0f 17%);
  box-shadow:
    0 0 80px rgba(var(--accent-rgb),0.4),
    0 0 0 1px #2A2A3A inset;
  animation: spin 16s linear infinite;
}
.vinyl-disc::after {
  content: ""; position: absolute; inset: 30%; border-radius: 50%;
  background: var(--accent);
  box-shadow: var(--glow-accent), 0 0 0 4px #000 inset;
}
@keyframes spin { to { transform: rotate(360deg); } }
.vinyl-floating {
  position: absolute; border-radius: 14px; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  transition: transform .4s;
}
.vinyl-cover-1 { top: -20px; left: -40px; width: 160px; height: 160px; transform: rotate(-8deg); animation: float 6s ease-in-out infinite; }
.vinyl-cover-2 { bottom: -10px; right: -30px; width: 140px; height: 140px; transform: rotate(6deg); animation: float 7s ease-in-out infinite -2s; }
.vinyl-cover-3 { top: 40%; right: -60px; width: 120px; height: 120px; transform: rotate(12deg); animation: float 5s ease-in-out infinite -1s; }
@keyframes float {
  0%,100% { transform: translateY(0) rotate(var(--r,0deg)); }
  50% { transform: translateY(-12px) rotate(var(--r,0deg)); }
}

/* Collage */
.collage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
  max-width: 540px;
}
.collage-cover {
  aspect-ratio: 1;
  border-radius: 12px; overflow: hidden;
  display: flex; align-items: flex-end; padding: 10px;
  font-family: var(--font-display); font-size: 14px; color: rgba(255,255,255,0.85);
  position: relative;
  transition: transform .25s;
}
.collage-cover:hover { transform: scale(1.04) rotate(-1deg); z-index: 2; }
.collage-cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent 60%);
}
.collage-cover .label { position: relative; z-index: 1; line-height: 1.05; }
.collage-cover.featured {
  grid-column: span 2; grid-row: span 2;
  font-size: 22px;
}
.collage-cover .badge {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  font-family: var(--font-ui); font-weight: 700; font-size: 9px;
  letter-spacing: 1px; padding: 4px 7px; border-radius: 999px;
  background: rgba(0,0,0,0.55); color: #fff;
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  border-top: 1px solid rgba(46,39,66,0.7);
  border-bottom: 1px solid rgba(46,39,66,0.7);
  background: rgba(28,26,46,0.4);
  overflow: hidden;
  padding: 24px 0;
}
.marquee-track {
  display: flex; gap: 56px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
}
.marquee-track.reverse { animation-direction: reverse; animation-duration: 46s; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--font-display); font-size: 36px; line-height: 1;
  color: var(--fg-primary);
  letter-spacing: -0.5px;
}
.marquee-item .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
}
.marquee-item.outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--fg-primary);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}


/* ---------- How it works ---------- */
.steps-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--surface-light);
}
.step {
  position: relative;
  padding: 36px 28px 36px 0;
  border-right: 1px dashed color-mix(in srgb, var(--surface-light) 90%, transparent);
  display: flex;
  flex-direction: column;
}
.step:last-child { border-right: none; }
.step .num {
  font-family: var(--font-display);
  font-size: 14px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--accent); display: inline-flex; align-items: center; gap: 8px;
  padding-top: 22px;
}
.step .num::before {
  content: attr(data-num);
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%; border: 1.5px solid var(--accent);
  font-family: var(--font-display); font-size: 16px;
  color: var(--accent);
}
.step .label {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: 28px; line-height: 1.05; letter-spacing: -0.5px;
}
.step .body {
  margin-top: 14px;
  margin-bottom: 28px;          /* min gap above visual */
  font-family: var(--font-body); font-size: 14px; line-height: 1.55;
  color: var(--fg-secondary); padding-right: 20px;
}
.step .visual {
  margin-top: auto;             /* pin to bottom of column for even baseline */
  height: 140px; border-radius: 12px;
  background: var(--surface); position: relative; overflow: hidden;
  border: 1px solid var(--surface-light);
  display: flex; align-items: center; justify-content: center;
}

/* EQ bars visual — scaleY (composited) instead of height */
.eq-bars { display: flex; align-items: flex-end; gap: 5px; height: 60px; }
.eq-bars span {
  width: 6px; height: 60px;
  background: var(--neon-green); border-radius: 2px;
  transform-origin: bottom center;
  transform: scaleY(0.2);
  animation: eq 1.2s ease-in-out infinite;
  will-change: transform;
}
.eq-bars span:nth-child(1) { animation-delay: -0.1s; }
.eq-bars span:nth-child(2) { animation-delay: -0.4s; }
.eq-bars span:nth-child(3) { animation-delay: -0.2s; }
.eq-bars span:nth-child(4) { animation-delay: -0.5s; }
.eq-bars span:nth-child(5) { animation-delay: -0.3s; }
.eq-bars span:nth-child(6) { animation-delay: -0.6s; }
.eq-bars span:nth-child(7) { animation-delay: -0.15s; }
@keyframes eq {
  0%,100% { transform: scaleY(0.2); }
  50%     { transform: scaleY(1); }
}
.eq-bars-rainbow span:nth-child(1) { background: var(--neon-pink); }
.eq-bars-rainbow span:nth-child(2) { background: var(--neon-violet); }
.eq-bars-rainbow span:nth-child(3) { background: var(--neon-blue); }
.eq-bars-rainbow span:nth-child(4) { background: var(--neon-green); }
.eq-bars-rainbow span:nth-child(5) { background: var(--neon-yellow); }
.eq-bars-rainbow span:nth-child(6) { background: var(--neon-orange); }
.eq-bars-rainbow span:nth-child(7) { background: var(--neon-pink); }

/* Step "PICKED" tile visual */
.step-visual-pick { display: flex; align-items: center; gap: 8px; }
.step-pick-tile {
  width: 80px; height: 80px; border-radius: 8px;
  position: relative;
}
.step-pick-label {
  position: absolute; top: 6px; right: 6px;
  font-family: var(--font-ui); font-size: 8px; font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 6px; border-radius: 999px;
  background: rgba(0,0,0,0.6); color: var(--neon-pink);
}

/* Archive bars visual */
.archive-bars {
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.archive-bar {
  width: 18px; height: 56px; border-radius: 3px;
  display: block;
}
.archive-bar[data-c="pink"]   { background: var(--neon-pink); }
.archive-bar[data-c="violet"] { background: var(--neon-violet); }
.archive-bar[data-c="blue"]   { background: var(--neon-blue); }
.archive-bar[data-c="green"]  { background: var(--neon-green); }
.archive-bar[data-c="yellow"] { background: var(--neon-yellow); }
.archive-bar[data-c="orange"] { background: var(--neon-orange); }

/* Score reveal visual */
.score-pop {
  display: flex; align-items: baseline; gap: 8px;
  font-family: var(--font-display);
  font-size: 64px; letter-spacing: -2px;
}
.score-pop .big { color: var(--score-cyan); text-shadow: 0 0 12px rgba(0,214,255,0.5); }
.score-pop .slash { color: var(--fg-tertiary); font-size: 32px; }

/* Avatars cluster */
.avatars-cluster { display: flex; }
.avatars-cluster .av {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--surface);
  margin-left: -10px;
  font-family: var(--font-ui); font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.avatars-cluster .av:first-child { margin-left: 0; }
.avatars-cluster .av.av-rest {
  background: var(--surface);
  color: var(--fg-secondary);
  border: 2px solid var(--surface-light);
}

/* ---------- Featured clubs ---------- */
.clubs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.club-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 14px;
  border: 1px solid var(--surface-light);
  position: relative;
  transition: transform .25s, border-color .25s;
}
.club-card:hover { transform: translateY(-4px); border-color: rgba(var(--accent-rgb), 0.4); }
.club-card.official { border: 2px solid rgba(0,194,255,0.4); }
.club-art {
  aspect-ratio: 1; border-radius: 10px; overflow: hidden;
  position: relative; display: flex; align-items: flex-end; padding: 12px;
}
.club-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent 50%);
}
.club-art .album-title {
  position: relative; z-index: 1;
  font-family: var(--font-display); font-size: 22px; line-height: 1.05;
  color: #fff; letter-spacing: -0.3px; text-shadow: 0 2px 12px rgba(0,0,0,0.8);
}
.club-art .album-artist {
  position: relative; z-index: 1; margin-top: 4px;
  font-family: var(--font-body); font-size: 12px; color: rgba(255,255,255,0.85);
}
.club-art .top-row {
  position: absolute; top: 10px; left: 10px; right: 10px; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
}
.cap-pill {
  font-family: var(--font-ui); font-weight: 700; font-size: 9px;
  letter-spacing: 1.5px; padding: 5px 8px; border-radius: 999px;
  background: rgba(0,0,0,0.6); color: #fff; display: inline-flex; align-items: center; gap: 5px;
}
.cap-pill .live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--neon-green); box-shadow: 0 0 4px var(--neon-green); }
.club-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 4px 4px;
}
.club-name {
  font-family: var(--font-ui); font-weight: 700; font-size: 16px;
}
.club-meta {
  display: flex; align-items: center; gap: 6px; margin-top: 3px;
  font-family: var(--font-body); font-size: 11px; color: var(--fg-tertiary);
}

.status-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-ui); font-weight: 700; font-size: 9px;
  letter-spacing: 1px; padding: 4px 8px; border-radius: 999px;
  border: 1px solid;
}
.sb-active { color: var(--neon-green); background: rgba(57,255,20,0.18); border-color: rgba(57,255,20,0.5); }
.sb-active .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--neon-green); box-shadow: 0 0 4px var(--neon-green); }
.sb-official { color: var(--neon-blue); background: rgba(0,194,255,0.1); border-color: rgba(0,194,255,0.4); }
.sb-featured { color: var(--neon-pink); background: rgba(255,45,120,0.18); border-color: rgba(255,45,120,0.5); }

/* ---------- Footer CTA ---------- */
.footer-cta {
  border-top: 1px solid var(--surface-light);
  padding: calc(120px * var(--density)) 0 calc(80px * var(--density));
  text-align: center;
  position: relative;
}
.footer-cta-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, rgba(var(--accent-rgb),0.18), transparent 60%);
}
.footer-cta h2 {
  font-family: var(--font-display);
  font-size: calc(120px * var(--type-scale));
  line-height: 0.92; letter-spacing: -3.5px;
  margin: 0; max-width: 14ch; margin-left: auto; margin-right: auto;
}
.footer-cta h2 .accent { color: var(--accent); }
.footer-cta p {
  margin-top: 28px; font-family: var(--font-body); font-size: 18px;
  color: var(--fg-secondary);
  max-width: 50ch; margin-left: auto; margin-right: auto;
}
.footer-cta .row {
  margin-top: 40px;
  display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}

footer.site-foot {
  border-top: 1px solid var(--surface-light);
  padding: 36px 0 56px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-body); font-size: 13px; color: var(--fg-tertiary);
}
footer.site-foot a {
  color: var(--fg-secondary); margin-left: 8px;
  display: inline-flex; align-items: center;
  padding: 10px 14px; border-radius: 8px;
  min-height: 44px;
  transition: color .15s, background .15s;
}
footer.site-foot a:hover { color: var(--fg-primary); background: rgba(var(--accent-rgb),0.06); }

/* ---------- Phone-screen mock content ---------- */
.mini-card {
  background: var(--surface); border-radius: 12px; padding: 10px; margin-bottom: 8px;
  display: flex; gap: 10px; align-items: center;
}
.mini-art { width: 44px; height: 44px; border-radius: 6px; flex-shrink: 0; }
.mini-meta { flex: 1; min-width: 0; }
.mini-meta .t { font-family: var(--font-ui); font-weight: 700; font-size: 12px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-meta .s { font-family: var(--font-body); font-size: 10px; color: var(--fg-tertiary); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-score {
  font-family: var(--font-display); font-size: 11px;
  padding: 3px 6px; border-radius: 5px; color: #fff; flex-shrink: 0;
}
.mini-section-label {
  font-family: var(--font-ui); font-weight: 700; font-size: 9px;
  letter-spacing: 1.5px; color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
  margin: 14px 0 8px;
}
.mini-section-label::before {
  content: ""; width: 2px; height: 10px; background: currentColor;
  box-shadow: 0 0 4px currentColor;
}
.now-vibing {
  background: var(--vibing-bg); border: 1.5px solid rgba(57,255,20,0.4);
  border-radius: 12px; padding: 12px; box-shadow: 0 0 14px rgba(57,255,20,0.18);
  margin-bottom: 10px;
}
.now-vibing .lbl {
  font-family: var(--font-ui); font-weight: 700; font-size: 9px;
  letter-spacing: 1.5px; color: var(--neon-green);
  display: inline-flex; align-items: center; gap: 6px;
}
.now-vibing .lbl .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--neon-green); box-shadow: 0 0 4px var(--neon-green); }
.now-vibing .t { font-family: var(--font-display); font-size: 18px; line-height: 1.05; margin-top: 8px; }
.now-vibing .s { font-family: var(--font-body); font-size: 11px; color: var(--fg-secondary); margin-top: 4px; }

.feat-card {
  border-radius: 14px; padding: 14px; margin-bottom: 10px;
  background: var(--surface); border: 1px solid var(--surface-light);
  position: relative;
}
.feat-card .top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
}
.feat-card .ttl {
  font-family: var(--font-display); font-size: 16px; line-height: 1.05;
  margin-top: 8px;
}
.feat-card .sub {
  font-family: var(--font-body); font-size: 11px; color: var(--fg-tertiary);
  margin-top: 3px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .hero-grid.layout-collage { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; }
  .stats-strip, .clubs-grid, .steps-grid { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: calc(72px * var(--type-scale)) !important; }
  .section-title { font-size: calc(44px * var(--type-scale)); letter-spacing: -1px; }
  .footer-cta h2 { font-size: calc(80px * var(--type-scale)); }
  .nav-links { display: none; }

  /* Scale down decorative hero visuals so they don't overflow */
  .phone-mock {
    transform: scale(0.78) rotate(-3deg);
    transform-origin: center top;
    margin: 0 auto -120px;
  }
  .vinyl-stage {
    width: min(460px, 80vw);
    height: min(460px, 80vw);
    margin: 0 auto;
  }
  .collage { margin: 0 auto; }
}
@media (max-width: 600px) {
  .page-wrap { padding: 0 20px; }
  .stats-strip, .clubs-grid, .steps-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--surface-light); }
  .step { border-right: none; border-bottom: 1px dashed color-mix(in srgb, var(--surface-light) 90%, transparent); padding-right: 0; }
  .hero-title { font-size: calc(56px * var(--type-scale)) !important; }
  .section-title { font-size: calc(36px * var(--type-scale)); letter-spacing: -0.5px; }
  .footer-cta h2 { font-size: calc(60px * var(--type-scale)) !important; }

  .phone-mock {
    transform: scale(0.62) rotate(-3deg);
    margin: 0 auto -200px;
  }
}

/* ---------- Album palettes (used inline as background) ---------- */
.pal-pink-violet { background: linear-gradient(135deg, #FF2D78, #9E2EFF); }
.pal-violet-blue { background: linear-gradient(135deg, #9E2EFF, #00C2FF); }
.pal-blue-cyan   { background: linear-gradient(135deg, #00C2FF, #00D6FF); }
.pal-green-blue  { background: linear-gradient(135deg, #39FF14, #00C2FF); }
.pal-orange-pink { background: linear-gradient(135deg, #FF8019, #FF2D78); }
.pal-yellow-orange { background: linear-gradient(135deg, #FFC714, #FF8019); }
.pal-pink-orange { background: linear-gradient(135deg, #FF2D78, #FF8019); }
.pal-violet-pink { background: linear-gradient(135deg, #9E2EFF, #FF2D78); }
.pal-cyan-violet { background: linear-gradient(135deg, #00D6FF, #9E2EFF); }
