/* ============================================================================
   Landing page — the turntable, the gate, the catalog strip
   ========================================================================== */

.page { position: relative; z-index: 2; }

/* ------------------------------------------------------------------- nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(16px, 4vw, 44px);
  background: rgba(7, 16, 11, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--rasta-135);
  display: grid;
  place-items: center;
  position: relative;
  flex: none;
  box-shadow: var(--glow-green);
}
.brand-mark::after {
  content: '';
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--void);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.brand-name {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.brand-sub {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ------------------------------------------------------------------ hero */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding: clamp(40px, 8vh, 96px) clamp(16px, 4vw, 44px) clamp(48px, 8vh, 88px);
  max-width: 1360px;
  margin: 0 auto;
}
@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 2; }
  .hero-deck { order: 1; }
  .genre-line, .hero-actions { justify-content: center; }
}

/* The hero headline is a full sentence, not a two-word hook, so it needs a
   smaller ceiling than the global h1 or it swallows the viewport. */
.hero h1 { margin-bottom: 20px; }
.hero-title {
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
  max-width: 20ch;
}
@media (max-width: 940px) { .hero-title { max-width: none; margin-inline: auto; } }
.hero-lead {
  font-size: clamp(14.5px, 1.4vw, 16.5px);
  color: var(--ink-2);
  max-width: 52ch;
  margin-bottom: 16px;
}
/* Second paragraph steps back so the first still carries the hero. */
.hero-lead-sub {
  color: var(--ink-3);
  font-size: clamp(13.5px, 1.25vw, 15px);
  margin-bottom: 28px;
}
@media (max-width: 940px) { .hero-lead { margin-inline: auto; } }

.genre-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}
.genre-line span {
  padding: 5px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: rgba(12, 24, 16, 0.5);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------------------------------- the turntable */

.hero-deck {
  display: grid;
  place-items: center;
  position: relative;
}

.deck {
  position: relative;
  width: min(430px, 82vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

/* halo that pulses with playback */
.deck::before {
  content: '';
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 191, 113, 0.22), transparent 68%);
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}
.deck.spinning::before { opacity: 1; animation: halo 3.6s ease-in-out infinite; }
@keyframes halo {
  0%, 100% { transform: scale(1); opacity: 0.55; }
  50% { transform: scale(1.07); opacity: 0.95; }
}

.record {
  position: relative;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    /* grooves */
    repeating-radial-gradient(
      circle at 50% 50%,
      rgba(255, 255, 255, 0.045) 0 1px,
      rgba(0, 0, 0, 0) 1px 4px
    ),
    /* light sweep across the vinyl */
    conic-gradient(
      from 210deg,
      rgba(255, 255, 255, 0.11) 0deg,
      rgba(255, 255, 255, 0) 42deg,
      rgba(255, 255, 255, 0) 175deg,
      rgba(255, 255, 255, 0.075) 205deg,
      rgba(255, 255, 255, 0) 260deg,
      rgba(255, 255, 255, 0) 360deg
    ),
    radial-gradient(circle at 50% 50%, #16181a 0%, #0a0c0d 62%, #050607 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 26px 70px rgba(0, 0, 0, 0.7),
    inset 0 0 60px rgba(0, 0, 0, 0.85);
  animation: spin 3.4s linear infinite;
  animation-play-state: paused;
  will-change: transform;
}
.deck.spinning .record { animation-play-state: running; }

/* the rasta label */
.record-label {
  position: absolute;
  inset: 32%;
  border-radius: 50%;
  background:
    linear-gradient(
      160deg,
      var(--red) 0%, var(--red) 33%,
      var(--gold) 33%, var(--gold) 66%,
      var(--green) 66%, var(--green) 100%
    );
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45), inset 0 0 24px rgba(0, 0, 0, 0.28);
}
.record-label::after {
  content: '';
  position: absolute;
  width: 13%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--void);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.record-label span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: rgba(4, 9, 6, 0.72);
  transform: translateY(-30%);
  text-transform: uppercase;
}

/* tonearm rests off-record, drops in when playing */
.tonearm {
  position: absolute;
  top: 6%;
  right: 4%;
  width: 42%;
  height: 5px;
  transform-origin: right center;
  transform: rotate(-32deg);
  transition: transform 0.9s var(--ease);
  z-index: 3;
}
.deck.spinning .tonearm { transform: rotate(4deg); }
.tonearm::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-full);
  background: linear-gradient(90deg, #3a4a40, #7d8f84 60%, #4a5a50);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
}
.tonearm::after {
  content: '';
  position: absolute;
  right: -9px;
  top: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #8fa396, #38463d);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
}
.tonearm .head {
  position: absolute;
  left: -4px;
  top: -4px;
  width: 16px;
  height: 13px;
  border-radius: 3px;
  background: linear-gradient(180deg, #99aca0, #4d5d53);
}

/* the 21-second audition ring drawn around the platter */
.audition-ring {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform: rotate(-90deg);
  z-index: 4;
}
.audition-ring circle { fill: none; stroke-linecap: round; }
.audition-ring .track-ring { stroke: rgba(255, 255, 255, 0.07); stroke-width: 3; }
.audition-ring .value-ring {
  stroke: url(#rastaStroke);
  stroke-width: 4;
  transition: stroke-dashoffset 0.35s linear;
  filter: drop-shadow(0 0 6px rgba(47, 191, 113, 0.6));
}

/* ------------------------------------------------------------ now playing */

.now-bar {
  margin-top: 26px;
  width: min(430px, 88vw);
  padding: 16px 18px;
  display: grid;
  gap: 12px;
}

.now-title {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
  box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(230, 57, 70, 0); }
  100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); }
}

.meter {
  height: 4px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.meter i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--rasta);
  border-radius: inherit;
  transition: width 0.3s linear;
}

.play-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: var(--rasta-135);
  color: #06120a;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
  box-shadow: var(--glow-green);
}
.play-btn:hover { transform: scale(1.06); box-shadow: var(--glow-gold); }
.play-btn:active { transform: scale(0.97); }
.play-btn svg { width: 22px; height: 22px; fill: currentColor; }

/* ---------------------------------------------------------- gate notice */

.gate {
  border-radius: var(--r);
  border: 1px solid rgba(244, 197, 66, 0.3);
  background: linear-gradient(180deg, rgba(244, 197, 66, 0.09), rgba(230, 57, 70, 0.06));
  padding: 16px 18px;
  display: grid;
  gap: 12px;
}
.gate h4 { margin: 0; font-size: 14.5px; }
.gate p { margin: 0; font-size: 13px; color: var(--ink-2); }

/* --------------------------------------------------------------- sections */

.section {
  padding: clamp(48px, 9vh, 92px) clamp(16px, 4vw, 44px);
  max-width: 1360px;
  margin: 0 auto;
}
.section-head { margin-bottom: 32px; max-width: 62ch; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.card {
  padding: 24px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(17, 34, 23, 0.6), rgba(12, 24, 16, 0.6));
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-hot); box-shadow: 0 16px 44px rgba(0, 0, 0, 0.4); }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: 13.5px; }

.card-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.16em;
  margin-bottom: 14px;
}

/* showcase strip */
.strip {
  display: grid;
  gap: 8px;
}
.strip-row {
  display: grid;
  grid-template-columns: 34px 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: rgba(12, 24, 16, 0.5);
  transition: border-color 0.2s, background 0.2s;
}
.strip-row:hover { border-color: var(--line-hot); background: rgba(17, 34, 23, 0.7); }
.strip-n { font-family: var(--mono); font-size: 12px; color: var(--ink-4); }

/* ---------------------------------------------------------------- footer */

.footer {
  border-top: 1px solid var(--line);
  padding: 34px clamp(16px, 4vw, 44px);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-3);
  font-size: 12.5px;
  max-width: 1360px;
  margin: 0 auto;
}

/* auth modal tabs */
.tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(4, 9, 6, 0.6);
  border-radius: var(--r-full);
  margin-bottom: 22px;
}
.tabs button {
  flex: 1;
  padding: 9px;
  border: none;
  border-radius: var(--r-full);
  background: transparent;
  color: var(--ink-3);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.tabs button.active { background: var(--rasta-135); color: #06120a; }

.sent {
  text-align: center;
  padding: 12px 0 4px;
}
.sent-mark {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--rasta-135);
  display: grid;
  place-items: center;
  font-size: 27px;
}
