/* THE RIZAEV — main page styles */

/* ─── nav ─── */
.nav {
  position: relative; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.logo svg { display: block; }
.nav-links {
  display: flex; gap: 32px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: 0.15em;
}
.nav-links a { color: #fff; }
.nav-links a:hover { color: var(--acid); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px;
}
@media (max-width: 760px) {
  .nav-links { display: none; }
}

/* ─── hero ─── */
.hero {
  position: relative; z-index: 5;
  padding-top: 52px; padding-bottom: 32px;
}

/* meta strip directly under nav (LIVE / EST.) */
.hero-meta {
  display: flex; justify-content: space-between;
  font-size: 11px; letter-spacing: 0.15em; opacity: 0.7;
  margin-bottom: 24px;
}
.hero-meta-row { display: flex; align-items: center; gap: 16px; }

.hero-title {
  font-size: 0; line-height: 0.85; margin: 0;
  font-weight: 900; letter-spacing: -0.04em;
}
/* Wordmark line: must stay on a single line at any width.
 * Math: in Space Grotesk Black, RIZZ at 1em ≈ 2.3em wide, STUDIO ≈ 3.0em wide.
 * To keep the line within the .pad-x container (~92vw on desktop after side
 * padding) we solve for the per-glyph size. With RIZZ=15vw and STUDIO=20vw:
 *   RIZZ:   15 * 2.3 ≈ 35vw
 *   STUDIO: 20 * 3.0 ≈ 60vw
 *   gap:    1.5vw
 *   total:  ≈ 96.5vw — fits with a bit of breathing room.
 * Negative letter-spacing (-0.05em) tightens further. */
.hero-line {
  display: flex; gap: 1.5vw; align-items: baseline;
  line-height: 0.85;
  margin-bottom: 12px;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.hero-rizz, .hero-studio {
  font-weight: 900; letter-spacing: -0.05em;
  display: inline-block;
}
.hero-rizz   { font-size: 15vw; }
/* italic STUDIO: top-right of letters overhangs the inline box because of
 * the slant, so the background-clip:text sweep can't reach those overhanging
 * pixels. Padding-right pushes the box's right edge out past the visual right
 * edge of the O so the gradient covers the full glyph. Padding-left covers
 * the symmetric overhang on the bottom-left of S.
 * The vw values are tuned for italic angle ~ 12° at this font size. */
.hero-studio {
  font-size: 20vw;
  font-style: italic;
  padding-right: 2.2vw;
  padding-left: 0.8vw;
  margin-right: -3vw;  /* pull layout back so other elements aren't shifted */
  margin-left: -2vw;
}
.hero-sub {
  display: block;
  font-size: clamp(20px, 2.6vw, 36px);
  margin-top: 16px;
  font-weight: 300; letter-spacing: -0.02em;
  line-height: 1.05; opacity: 0.92;
}
.hero-sub em { color: var(--acid); font-style: italic; font-weight: 400; }

/* hero bottom strip — three stats + spinning vinyl on the right */
.hero-bottom {
  display: flex; gap: 56px; align-items: flex-end;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-stat {
  border-left: 1px solid rgba(255,255,255,0.2);
  padding-left: 16px;
}
.hero-stat-num {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700; color: var(--acid);
  line-height: 1; font-style: italic;
}
.hero-stat-label {
  font-size: 10px; letter-spacing: 0.15em;
  opacity: 0.6; margin-top: 8px; line-height: 1.4;
}

/* spinning vinyl, ported from FooterHero/v1-full.jsx */
.hero-vinyl {
  margin-left: auto;
  position: relative; width: 180px; height: 180px;
  flex-shrink: 0;
}
.hero-vinyl svg { position: absolute; }
.hero-vinyl .hv-ring1 {
  inset: 0; width: 100%; height: 100%;
  animation: spin-cw 18s linear infinite;
  transform-origin: 50% 50%;
}
.hero-vinyl .hv-ring2 {
  inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px);
  animation: spin-ccw 24s linear infinite;
  transform-origin: 50% 50%;
}
.hero-vinyl-inner {
  position: absolute; inset: 56px;
  background: var(--bg-2);
  border: 1px solid rgba(198,255,0,0.4);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}

/* ─── marquee ─── */
.marquee {
  position: relative; z-index: 5;
  background: var(--acid); color: #000;
  overflow: hidden; padding: 18px 0;
  border-top: 1px solid #000; border-bottom: 1px solid #000;
  margin: 60px 0 0;
}
.marquee-track {
  display: inline-flex; gap: 28px; white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: 'JetBrains Mono', monospace;
  font-size: 24px; font-weight: 800;
  letter-spacing: -0.02em; font-style: italic;
}
.marquee-track .star { font-style: normal; }

/* ─── player ─── */
.player-section {
  padding-top: 80px; padding-bottom: 80px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #0a0a0a, var(--bg));
}
.player-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 32px;
}
.player-counter { font-size: 14px; letter-spacing: 0.15em; }

.now-playing {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  margin-bottom: 32px;
}
.np-status {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.2em; color: var(--acid);
  margin-bottom: 12px;
}
.np-title {
  font-size: clamp(32px, 5vw, 56px); font-weight: 900;
  letter-spacing: -0.03em; line-height: 1; font-style: italic;
}
.np-meta { font-size: 12px; letter-spacing: 0.1em; opacity: 0.6; margin-top: 12px; }

.np-controls { display: flex; align-items: center; gap: 16px; }
.transport-btn {
  width: 56px; height: 56px;
  border: 1px solid var(--line-strong);
  background: transparent; color: #fff; cursor: pointer;
  font-size: 16px; transition: border-color 0.15s;
}
.transport-btn:hover { border-color: var(--acid); }
.play-btn {
  width: 80px; height: 80px; border-radius: 50%;
  border: none; background: var(--acid); color: #000;
  font-size: 22px; cursor: pointer;
  box-shadow: 0 0 30px rgba(198,255,0,0.4);
  transition: transform 0.15s;
}
.play-btn:hover { transform: scale(1.04); }

.waveform {
  height: 140px;
  display: flex; align-items: center; gap: 2px;
  position: relative; margin-bottom: 16px;
  cursor: pointer; user-select: none;
}
.playhead {
  position: absolute; top: -8px; bottom: -8px; width: 2px;
  background: var(--acid); box-shadow: 0 0 12px var(--acid);
  pointer-events: none; transition: left 0.06s linear;
}
.time-row {
  display: flex; justify-content: space-between;
  font-size: 12px; letter-spacing: 0.15em;
  margin-bottom: 48px;
}

/* ─── tracklist ─── */
.tracklist { display: flex; flex-direction: column; gap: 12px; }
.track-row {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center; gap: 24px;
  padding: 18px 24px;
  background: #0a0a0a; color: #fff;
  border: 1px solid var(--line);
  cursor: pointer; text-align: left;
  font-family: 'Space Grotesk', sans-serif;
  transition: border-color 0.18s, background 0.18s;
}
.track-row:hover { border-color: var(--acid); }
.track-row.active {
  background: rgba(198,255,0,0.06);
  border-color: var(--acid);
  box-shadow: inset 0 0 0 1px var(--acid), 0 0 24px rgba(198,255,0,0.12);
}
.track-num {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong);
  font-family: 'JetBrains Mono', monospace; font-size: 13px; opacity: 0.7;
}
.track-row .eq-bars {
  width: 40px; height: 40px;
  align-items: flex-end; justify-content: center;
  border: 1px solid var(--acid);
  padding: 8px;
}
.track-body { min-width: 0; }
.track-title {
  display: block;
  font-size: 22px; font-weight: 700; letter-spacing: -0.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.track-meta { display: block; font-size: 11px; letter-spacing: 0.15em; opacity: 0.6; margin-top: 4px; }
.track-play {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(198,255,0,0.1);
  border: 1px solid rgba(198,255,0,0.4);
  color: var(--acid);
}

/* ─── latest release ─── */
.latest-section { padding-top: 100px; padding-bottom: 100px; }
.latest-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px;
  align-items: center;
}
@media (max-width: 960px) {
  .latest-grid { grid-template-columns: 1fr; gap: 40px; }
}
.cover-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.2em;
  color: var(--acid); margin-bottom: 32px;
}
.cover-art {
  aspect-ratio: 1; width: 100%; max-width: 540px;
  position: relative; overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.cover-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-fallback {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding: 32px;
}
.cover-title {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 0.9; font-weight: 900; letter-spacing: -0.03em;
  color: #000;
}
.cover-badge {
  position: absolute; top: 24px; right: 24px;
  font-size: 11px; letter-spacing: 0.2em;
  color: var(--acid); border: 1px solid var(--acid);
  padding: 6px 10px;
  background: rgba(0,0,0,0.4); backdrop-filter: blur(8px);
}
.release-date { font-size: 11px; letter-spacing: 0.2em; opacity: 0.5; margin-bottom: 24px; }
.release-title {
  font-size: clamp(60px, 9vw, 120px); font-weight: 900;
  line-height: 0.85; letter-spacing: -0.04em;
  margin: 0 0 32px;
}
.release-desc {
  font-size: 18px; line-height: 1.5;
  max-width: 480px; opacity: 0.85; margin-bottom: 24px;
}
.release-meta { font-size: 11px; letter-spacing: 0.2em; color: var(--acid); margin-bottom: 32px; }
.release-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── vault ─── */
.vault-section {
  padding-top: 80px; padding-bottom: 80px;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.vault-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 32px; gap: 24px; flex-wrap: wrap;
}
.vault-title {
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 900; letter-spacing: -0.04em;
  line-height: 0.9; margin: 8px 0 0;
}
.vault-title em { color: var(--acid); font-style: italic; }
.vault-hint { font-size: 11px; letter-spacing: 0.3em; color: var(--acid); }

.vault-scroll {
  overflow-x: auto; overflow-y: hidden;
  padding: 20px 56px 60px;
  scrollbar-width: thin;
  cursor: grab;
}
.vault-track {
  display: flex; gap: 32px; align-items: flex-start;
  width: max-content;
}
.vault-card {
  width: 360px; flex-shrink: 0; display: block;
  text-decoration: none; color: #fff;
  transition: transform 0.2s;
}
.vault-card:hover { transform: translateY(-4px); }
.vault-cover {
  position: relative; width: 360px; height: 360px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.vault-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vault-cover-idx {
  position: absolute; top: 16px; left: 18px;
  font-size: 11px; letter-spacing: 0.2em;
  color: #fff; opacity: 0.85; font-weight: 600;
}
.vault-cover-badge {
  position: absolute; top: 16px; right: 18px;
  font-size: 10px; letter-spacing: 0.2em;
  border: 1px solid rgba(255,255,255,0.5);
  padding: 5px 10px; color: #fff;
  background: rgba(0,0,0,0.3); backdrop-filter: blur(6px);
}
.vault-cover-year {
  position: absolute; bottom: 16px; left: 18px;
  font-size: 64px; font-weight: 800;
  letter-spacing: -0.04em; color: #fff;
  line-height: 0.8; font-style: italic;
}
.vault-meta {
  display: flex; flex-direction: column; gap: 10px;
  padding: 16px 4px 0;
}
.vault-meta-top { display: flex; gap: 10px; font-size: 10px; letter-spacing: 0.2em; opacity: 0.65; }
.vault-card-title {
  font-size: 28px; font-weight: 800;
  letter-spacing: -0.03em; line-height: 1;
}
.vault-listen {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; letter-spacing: 0.25em;
  color: var(--acid); font-weight: 700;
  border-bottom: 1px solid rgba(198,255,0,0.4);
  padding-bottom: 4px; align-self: flex-start;
}

/* ─── footer ─── */
.footer {
  padding-top: 0; padding-bottom: 40px;
  border-top: 1px solid var(--line);
}

/* FooterHero — RGB-glitch wordmark, ported 1:1 from v1-full.jsx FooterHero.
 * Three layers (magenta, cyan, base) jitter via rAF in main.js.
 * Scan-lines + sweeping beam sit on top in screen blend mode.
 * The base layer carries the visible glow; the rgb layers ride mix-blend:screen
 * over it for a chromatic-aberration look. */
.footer-hero {
  position: relative;
  display: flex; justify-content: center; align-items: center;
  padding: 60px 0 40px;
  min-height: 280px;
  overflow: hidden;
}
.fh-scanlines {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg,
    rgba(198,255,0,0.06) 0,
    rgba(198,255,0,0.06) 1px,
    transparent 1px, transparent 4px);
  pointer-events: none; z-index: 2;
}
.fh-beam {
  position: absolute; left: 0; right: 0; height: 24px;
  background: linear-gradient(to bottom,
    transparent, rgba(198,255,0,0.18), transparent);
  pointer-events: none; z-index: 3;
  mix-blend-mode: screen;
}
.fh-wordmark {
  position: relative;
  font-size: clamp(72px, 14vw, 200px);
  font-weight: 900; line-height: 0.85; letter-spacing: -0.04em;
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
}
.fh-layer { display: block; }
.fh-magenta, .fh-cyan {
  position: absolute; inset: 0;
  mix-blend-mode: screen;
  pointer-events: none;
}
.fh-base {
  position: relative;
  text-shadow:
    0 0 20px rgba(198,255,0,0.6),
    0 0 40px rgba(198,255,0,0.3);
}
/* The mark itself — `the` italic, `RIZAEV`, period.
 * Inline structure: <em>the</em><name>RIZAEV</name><dot>.</dot> */
.fh-mark {
  display: inline-flex; align-items: baseline;
}
.fh-the {
  font-weight: 300; font-style: italic;
  font-size: 0.4em; opacity: 0.75;
  margin-right: 0.15em;
  letter-spacing: -0.02em;
}
.fh-name { /* default: inherits the layer's color */ }
.fh-dot { /* color set inline per-layer (white on base, layer-color on rgb) */ }

.footer-row {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 11px; letter-spacing: 0.15em; opacity: 0.5;
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--line);
}
.footer-row-left { display: inline-flex; align-items: center; gap: 10px; }

/* ─── empty state ─── */
.empty-state {
  text-align: center; padding: 120px 24px;
}
.empty-state h2 {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 900; letter-spacing: -0.04em;
  margin: 16px 0;
}
.empty-state em { color: var(--acid); font-style: italic; }
.empty-state p { font-size: 16px; opacity: 0.7; }
.empty-state a { color: var(--acid); text-decoration: underline; }

/* ─── mobile tweaks ─── */
/* ≤520px — wordmark wraps onto two lines (RIZZ on top, STUDIO under).
 * flex-wrap allowed and white-space normal so the line break can actually
 * happen; each word can then grow to use the full width on its own line. */
@media (max-width: 520px) {
  .hero-line {
    flex-wrap: wrap;
    white-space: normal;
    gap: 0;
  }
  .hero-rizz   { font-size: 24vw; display: block; width: 100%; }
  .hero-studio { font-size: 25vw; display: block; width: 100%; }
}
@media (max-width: 960px) {
  .hero-bottom { gap: 32px; }
  .hero-vinyl { margin-left: 0; width: 140px; height: 140px; }
  .hero-vinyl-inner { inset: 44px; }
}
@media (max-width: 760px) {
  .nav { padding-top: 14px; padding-bottom: 14px; }
  .hero-meta { flex-direction: column; gap: 8px; }
  .hero-line { gap: 16px; }
  .hero-bottom { gap: 20px; margin-top: 32px; }
  .hero-stat { padding-left: 12px; }
  .hero-vinyl { width: 120px; height: 120px; }
  .hero-vinyl-inner { inset: 36px; }
  .marquee-track { font-size: 18px; gap: 18px; }
  .marquee-track > span { padding-right: 12px; }
  .now-playing { flex-direction: column; align-items: flex-start; }
  .release-ctas .btn-acid, .release-ctas .btn-ghost { width: 100%; text-align: center; }
  .vault-card, .vault-cover { width: 280px; height: auto; }
  .vault-cover { height: 280px; }
  .vault-scroll { padding: 16px 20px 40px; }
  .latest-section, .player-section, .vault-section { padding-top: 56px; padding-bottom: 56px; }
  .player-section .pad-x, .latest-section .pad-x { padding-left: 20px; padding-right: 20px; }
  .track-row { padding: 14px; gap: 12px; }
  .track-title { font-size: 17px; }
  .footer-hero { padding: 32px 0 24px; min-height: 160px; }
}


/* ─────────────────────────── SEO accessibility helper ───────────────────
 * .visually-hidden — content is in the DOM (visible to screen readers and
 * search-engine crawlers without JS) but invisible on the rendered page.
 * Used for the multi-language H1/paragraphs in index.html so Google can
 * index uz/ru/en keywords without polluting the visible hero design.
 */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}