:root {
  --bg: #06070a;
  --bg-soft: #0d1118;
  --panel: rgba(15, 21, 30, 0.7);
  --panel-strong: rgba(17, 22, 32, 0.92);
  --border: rgba(210, 232, 255, 0.13);
  --text: #edf6ff;
  --muted: #93a6bd;
  --lime: #b9ff2e;
  --mint: #6ff6d8;
  --cyan: #56d7ff;
  --orange: #ff8c5f;
  --shadow: 0 30px 120px rgba(0, 0, 0, 0.55);
  --cursor-x: 50%;
  --cursor-y: 20%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 20%, rgba(86, 215, 255, 0.18), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(185, 255, 46, 0.14), transparent 24%),
    radial-gradient(circle at 50% 120%, rgba(255, 140, 95, 0.12), transparent 30%),
    linear-gradient(180deg, #05070a 0%, #091018 45%, #05070a 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at var(--cursor-x) var(--cursor-y), rgba(111, 246, 216, 0.12), transparent 18%),
    radial-gradient(circle at calc(var(--cursor-x) + 8%) calc(var(--cursor-y) + 4%), rgba(86, 215, 255, 0.12), transparent 20%);
  pointer-events: none;
  z-index: 0;
}

.page-noise,
.cursor-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.page-noise {
  opacity: 0.16;
  background-image:
    linear-gradient(0deg, transparent 24%, rgba(255, 255, 255, 0.1) 25%, transparent 26%),
    linear-gradient(90deg, transparent 24%, rgba(255, 255, 255, 0.08) 25%, transparent 26%);
  background-size: 4px 4px;
  mix-blend-mode: soft-light;
}

.cursor-glow {
  background:
    radial-gradient(circle at 50% 50%, rgba(185, 255, 46, 0.08), transparent 25%);
  filter: blur(70px);
  opacity: 0.7;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.topbar {
  position: sticky;
  top: 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 14px 18px;
  margin-bottom: 28px;
  background: rgba(8, 12, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(185, 255, 46, 0.95), rgba(111, 246, 216, 0.92));
  color: #03120c;
  font-family: "Syne", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(185, 255, 46, 0.28);
}

.brand-copy {
  display: grid;
}

.brand-copy strong {
  font-family: "Syne", sans-serif;
  font-size: 0.98rem;
  letter-spacing: 0.06em;
}

.brand-copy em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topnav {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.topnav a,
.pill-cta,
.button {
  text-decoration: none;
}

.topnav a {
  color: var(--muted);
  font-size: 0.94rem;
  transition: color 180ms ease;
}

.topnav a:hover,
.topnav a:focus-visible {
  color: var(--text);
}

.pill-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.pill-cta {
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.pill-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.hero-section,
.bento-section,
.immersion-section,
.library-section,
.plans-section {
  padding: 48px 0;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 32px;
  align-items: center;
  min-height: calc(100vh - 150px);
}

.hero-copy h1,
.section-heading h2,
.story-copy h2,
.plans-copy h2 {
  margin: 0;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(3.6rem, 8vw, 6.9rem);
}

.hero-lead,
.story-copy p,
.plans-copy p,
.showcase-card p,
.bento-card span {
  color: var(--muted);
  line-height: 1.7;
}

.hero-lead {
  max-width: 60ch;
  margin: 24px 0 0;
  font-size: 1.08rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--mint);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 18px rgba(185, 255, 46, 0.8);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 32px;
}

.button {
  min-height: 52px;
  padding: 0 22px;
  font-weight: 800;
}

.button-primary {
  color: #071008;
  background:
    linear-gradient(135deg, var(--lime), var(--mint));
  box-shadow: 0 18px 40px rgba(111, 246, 216, 0.25);
}

.button-secondary {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.button.full {
  width: 100%;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-metrics li,
.bento-card,
.story-panel,
.showcase-card,
.plans-shell,
.player-card,
.stat-card,
.mini-card {
  background:
    linear-gradient(180deg, rgba(20, 27, 38, 0.92), rgba(10, 14, 22, 0.88));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-metrics li {
  border-radius: 24px;
  padding: 20px;
}

.hero-metrics strong,
.queue-item strong,
.plan-row strong {
  display: block;
  font-size: 1rem;
}

.hero-metrics span,
.queue-item em,
.plan-row span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-stage {
  position: relative;
  min-height: 720px;
}

.orbital-shell {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(34vw, 470px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}

.orbital-core {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(111, 246, 216, 0.38), rgba(9, 15, 23, 0.08) 40%, transparent 65%),
    radial-gradient(circle at 35% 35%, rgba(185, 255, 46, 0.24), transparent 35%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 0 80px rgba(86, 215, 255, 0.14),
    0 40px 100px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.orbital-core::before {
  content: "";
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  background:
    conic-gradient(from 180deg, rgba(111, 246, 216, 0.02), rgba(185, 255, 46, 0.44), rgba(86, 215, 255, 0.12), rgba(255, 140, 95, 0.18), rgba(111, 246, 216, 0.02));
  filter: blur(4px);
  animation: spin 16s linear infinite;
}

.orbital-ring {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ring-a {
  inset: 5%;
  animation: drift 14s linear infinite;
}

.ring-b {
  inset: 18%;
  animation: drift-reverse 18s linear infinite;
}

.ring-c {
  inset: 31%;
  animation: drift 20s linear infinite;
}

.orbital-center {
  position: absolute;
  inset: 50%;
  width: min(46%, 180px);
  height: min(46%, 180px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.12), rgba(9, 14, 20, 0.95) 64%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 0 40px rgba(111, 246, 216, 0.12);
}

.center-label,
.card-head p,
.card-head span,
.stat-card p,
.mini-card p,
.bento-card p,
.showcase-type,
.plan-row span,
.footer span {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.center-label {
  color: var(--lime);
  font-size: 0.68rem;
}

.orbital-center strong {
  font-family: "Syne", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
}

.center-caption {
  max-width: 10ch;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.35;
}

.floating-card {
  position: absolute;
  border-radius: 28px;
  backdrop-filter: blur(20px);
}

.player-card {
  top: 6%;
  right: 0;
  width: min(360px, 100%);
  padding: 22px;
}

.card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.72rem;
}

.track-art {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 18px;
  align-items: center;
  margin: 20px 0 18px;
}

.track-orb {
  width: 84px;
  aspect-ratio: 1;
  border-radius: 24px;
  background:
    radial-gradient(circle at 30% 30%, rgba(185, 255, 46, 0.9), transparent 36%),
    radial-gradient(circle at 68% 65%, rgba(86, 215, 255, 0.8), transparent 40%),
    linear-gradient(135deg, #0d1825, #101825 40%, #1b2433);
  box-shadow:
    inset 0 0 30px rgba(255, 255, 255, 0.08),
    0 18px 30px rgba(0, 0, 0, 0.35);
}

.track-meta strong {
  display: block;
  font-size: 1.24rem;
}

.track-meta span {
  color: var(--muted);
}

.spectrum-bars {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 6px;
  align-items: end;
  height: 64px;
}

.spectrum-bars span {
  display: block;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(111, 246, 216, 0.12), rgba(111, 246, 216, 0.85));
  animation: equalize 1.4s ease-in-out infinite;
  transform-origin: bottom;
}

.spectrum-bars span:nth-child(2n) {
  animation-duration: 1.9s;
}

.spectrum-bars span:nth-child(3n) {
  animation-duration: 1.2s;
}

.progress-line {
  height: 8px;
  margin: 18px 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.progress-fill {
  display: block;
  width: 56%;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(90deg, var(--lime), var(--mint), var(--cyan));
  animation: progress 6s ease-in-out infinite;
}

.queue-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.queue-item {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.queue-item span,
.queue-item em {
  font-family: "IBM Plex Mono", monospace;
  font-style: normal;
}

.queue-item.is-current {
  background: rgba(111, 246, 216, 0.08);
  border-color: rgba(111, 246, 216, 0.22);
  transform: translateX(4px);
}

.stat-card,
.mini-card {
  padding: 20px;
}

.stat-card {
  left: 0;
  bottom: 16%;
  width: 220px;
}

.mini-card {
  right: 5%;
  bottom: 4%;
  width: 220px;
}

.stat-card strong,
.mini-card strong,
.bento-card h3,
.showcase-card h3 {
  font-family: "Syne", sans-serif;
}

.stat-card strong,
.mini-card strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 1.6rem;
  letter-spacing: -0.04em;
}

.stat-card span,
.mini-card span {
  color: var(--muted);
  line-height: 1.55;
}

.ticker-section {
  overflow: hidden;
  padding: 16px 0 8px;
}

.ticker-track {
  display: inline-flex;
  gap: 16px;
  min-width: max-content;
  padding-right: 16px;
  animation: marquee 22s linear infinite;
}

.ticker-track span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #d9e4f1;
  background: rgba(255, 255, 255, 0.03);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 30px;
}

.section-heading h2,
.story-copy h2,
.plans-copy h2 {
  font-size: clamp(2.1rem, 4vw, 4rem);
}

.bento-grid,
.showcase-grid {
  display: grid;
  gap: 18px;
}

.bento-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: 28px;
}

.bento-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -35% 20%;
  height: 65%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 246, 216, 0.16), transparent 65%);
  filter: blur(30px);
}

.bento-lg {
  grid-column: span 7;
  min-height: 320px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
}

.bento-card:not(.bento-lg):not(.wide-card) {
  grid-column: span 5;
  min-height: 220px;
}

.wide-card {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: center;
}

.bento-card p,
.showcase-type,
.plan-row span {
  margin: 0 0 12px;
  color: var(--mint);
  font-size: 0.74rem;
}

.bento-card h3,
.showcase-card h3 {
  margin: 0 0 14px;
  font-size: clamp(1.45rem, 2vw, 2.2rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.meter-stack {
  display: grid;
  gap: 14px;
  align-content: center;
}

.meter-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  align-items: center;
}

.meter-row span {
  color: #d1dfed;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.meter-row i {
  display: block;
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.meter-row i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--value);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--lime), var(--mint), var(--cyan));
}

.scene-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.scene-tags li {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #d6e5f3;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.story-panel,
.plans-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: center;
  border-radius: 36px;
  padding: 36px;
}

.story-orbit {
  position: relative;
  min-height: 320px;
}

.story-orbit span {
  position: absolute;
  inset: 50%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: translate(-50%, -50%);
}

.story-orbit span:nth-child(1) {
  width: 88%;
  aspect-ratio: 1;
}

.story-orbit span:nth-child(2) {
  width: 64%;
  aspect-ratio: 1;
}

.story-orbit span:nth-child(3) {
  width: 38%;
  aspect-ratio: 1;
}

.story-orbit strong {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-family: "Syne", sans-serif;
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
}

.showcase-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.showcase-card {
  min-height: 280px;
  padding: 26px;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
}

.showcase-card::after {
  content: "";
  position: absolute;
  inset: auto -10% -30% 25%;
  height: 58%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 255, 46, 0.16), transparent 65%);
  filter: blur(36px);
}

.plans-card {
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.plan-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.plan-row:last-of-type {
  margin-bottom: 18px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 6px 0;
  color: var(--muted);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes drift {
  to {
    transform: rotate(360deg);
  }
}

@keyframes drift-reverse {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes equalize {
  0%, 100% {
    height: 18%;
  }
  25% {
    height: 92%;
  }
  50% {
    height: 56%;
  }
  75% {
    height: 78%;
  }
}

@keyframes progress {
  0%, 100% {
    width: 38%;
  }
  50% {
    width: 76%;
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1120px) {
  .hero-section,
  .story-panel,
  .plans-shell {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 760px;
  }

  .showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bento-lg,
  .wide-card,
  .bento-card:not(.bento-lg):not(.wide-card) {
    grid-column: span 12;
  }

  .bento-lg,
  .wide-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-shell {
    width: min(100%, calc(100% - 24px));
  }

  .topbar {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .topnav {
    justify-content: flex-start;
  }

  .hero-section {
    min-height: auto;
    padding-top: 16px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 700px;
  }

  .orbital-shell {
    width: min(82vw, 420px);
  }

  .player-card {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin-top: 18px;
  }

  .stat-card {
    left: 0;
    bottom: 10%;
  }

  .mini-card {
    right: 0;
    bottom: 0;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-shell {
    padding-top: 14px;
  }

  .topnav {
    display: none;
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 16vw, 4.1rem);
  }

  .hero-stage {
    min-height: 620px;
  }

  .orbital-shell {
    width: min(92vw, 360px);
  }

  .stat-card,
  .mini-card {
    width: 44%;
    min-width: 150px;
    padding: 16px;
  }

  .story-panel,
  .plans-shell,
  .bento-card,
  .showcase-card {
    padding: 22px;
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
