:root, [data-theme="light"] {
  --bg: #f6f6f7;
  --fg: #09090b;
  --muted: #52525b;
  --line: rgba(9, 9, 11, 0.1);
  --dot: rgba(9, 9, 11, 0.16);
  --grid: rgba(9, 9, 11, 0.07);
  --beam: rgba(124, 58, 237, 0.35);
  --player: #09090b;
  --shadow: 0 30px 70px rgba(9, 9, 11, 0.14);
  --spot: rgba(124, 58, 237, 0.14);
  --dock: rgba(246, 246, 247, 0.9);
  --note: #71717a;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #030303;
  --fg: #fafafa;
  --muted: #a1a1aa;
  --line: rgba(255, 255, 255, 0.12);
  --dot: rgba(255, 255, 255, 0.16);
  --grid: rgba(255, 255, 255, 0.07);
  --beam: rgba(255, 255, 255, 0.45);
  --player: #000;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  --spot: rgba(156, 64, 255, 0.2);
  --dock: rgba(3, 3, 3, 0.9);
  --note: #71717a;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.35s ease, color 0.35s ease;
}

button, a { font: inherit; color: inherit; }

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.aurora {
  position: absolute;
  inset: -25% -10% auto;
  height: 78vh;
  background:
    radial-gradient(38% 48% at 15% 20%, rgba(156, 64, 255, 0.34), transparent 70%),
    radial-gradient(32% 42% at 85% 8%, rgba(255, 170, 64, 0.28), transparent 70%),
    radial-gradient(28% 36% at 55% 42%, rgba(59, 130, 246, 0.22), transparent 72%);
  filter: blur(18px);
  animation: drift 16s ease-in-out infinite alternate;
}

[data-theme="light"] .aurora { opacity: 0.85; }

.beams {
  mask-image: linear-gradient(to bottom, transparent 0 22%, #000 48%);
}
.beams span {
  position: absolute;
  top: -30%;
  left: var(--x);
  width: 1px;
  height: 140%;
  background: linear-gradient(transparent, var(--beam), transparent);
  transform: rotate(var(--r));
  transform-origin: top center;
  opacity: 0.35;
  animation: beamfade 7s ease-in-out infinite;
  animation-delay: var(--d);
}
.beams span:nth-child(1) { --x: 12%; --r: 18deg; --d: 0s; }
.beams span:nth-child(2) { --x: 32%; --r: -12deg; --d: 1.4s; }
.beams span:nth-child(3) { --x: 68%; --r: 14deg; --d: 2.6s; }
.beams span:nth-child(4) { --x: 86%; --r: -20deg; --d: 0.8s; }

.dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--dot) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 15%, transparent 72%);
}

.retro {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -8%;
  height: 46%;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 52px 52px;
  transform: perspective(420px) rotateX(62deg);
  transform-origin: center top;
  mask-image: linear-gradient(transparent, #000 28%, transparent 92%);
  animation: gridmove 10s linear infinite;
  opacity: 0.9;
}

.spot {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--spot), transparent 62%);
  transform: translate(-50%, -50%);
  opacity: 0;
}

.meteors span {
  position: absolute;
  top: -12%;
  left: var(--l);
  width: 2px;
  height: 110px;
  border-radius: 999px;
  background: linear-gradient(#fff, transparent);
  opacity: 0;
  animation: meteor 7.2s linear infinite;
  animation-delay: var(--d);
}
[data-theme="light"] .meteors span {
  background: linear-gradient(rgba(24, 24, 27, 0.55), transparent);
}

.theme {
  position: fixed;
  z-index: 20;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  backdrop-filter: blur(12px);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.theme svg { width: 18px; height: 18px; }
[data-theme="light"] .theme__sun,
[data-theme="dark"] .theme__moon { display: none; }
.theme:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

main { position: relative; z-index: 1; }

.wrap {
  width: min(880px, calc(100% - 32px));
  margin-inline: auto;
}

.hero {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 58px 0 14px;
}

h1 {
  flex: none;
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--fg);
}

.kicker, .money, .deck { display: block; width: 100%; text-align: center; }

.kicker {
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.money {
  display: flex;
  justify-content: center;
  margin: 0;
  font-size: clamp(4.6rem, 12vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.86;
  color: #16a34a;
}
[data-theme="dark"] .money { color: #4ade80; }

.fig { position: relative; display: inline-block; }
.fig::after {
  content: "";
  position: absolute;
  inset: 18% 0;
  z-index: -1;
  background: radial-gradient(circle, rgba(22, 101, 52, 0.28), transparent 70%);
  filter: blur(14px);
}

.count {
  display: inline-grid;
  font-variant-numeric: tabular-nums;
}
.count::before {
  content: "$" attr(data-count);
  grid-area: 1 / 1;
  visibility: hidden;
}
.count__live {
  grid-area: 1 / 1;
  background-image: linear-gradient(90deg, #166534 0%, #22c55e 50%, #166534 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient 7s ease-in-out infinite alternate, countin 1.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.sparkles { position: absolute; inset: -12px -22px; pointer-events: none; }
.sparkles i {
  position: absolute;
  width: 7px;
  height: 7px;
  background: #15803d;
  opacity: 0.8;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: twinkle 2.8s ease-in-out infinite;
}
.sparkles i:nth-child(1) { top: 10%; left: 0; }
.sparkles i:nth-child(2) { top: 6%; right: 8%; animation-delay: .6s; width: 5px; height: 5px; }
.sparkles i:nth-child(3) { bottom: 12%; left: 6%; animation-delay: 1.1s; }
.sparkles i:nth-child(4) { bottom: 4%; right: 0; animation-delay: .3s; width: 5px; height: 5px; }

.unit {
  position: absolute;
  left: 100%;
  bottom: 0.16em;
  margin-left: 0.08em;
  font-size: 0.38em;
  letter-spacing: -0.05em;
  white-space: nowrap;
  background-image: linear-gradient(90deg, #166534 0%, #22c55e 50%, #166534 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient 7s ease-in-out infinite alternate;
}

.deck {
  margin-top: 2px;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.lead {
  flex: none;
  width: 100%;
  margin: 10px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  font-weight: 500;
}

.shiny {
  background-image: linear-gradient(90deg, var(--fg) 0%, var(--fg) 42%, #3f8f5a 50%, var(--fg) 58%, var(--fg) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient 7s ease-in-out infinite alternate;
}

.fit {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  container-type: size;
  margin-top: 10px;
}

.down {
  flex: none;
  margin-top: auto;
  margin-bottom: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--muted);
  text-decoration: none;
  animation: bob 1.5s ease-in-out infinite;
}
.down svg { width: 28px; height: 28px; }
.down:hover { color: var(--fg); }
.down:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 999px; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.proof { scroll-margin-top: 12px; }

.stage {
  --mx: 50%;
  --my: 0%;
  --btn: 84px;
  position: relative;
  width: min(100cqw, calc((100cqh - var(--btn) - 48px) * 16 / 9));
  height: auto;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  padding: 1px 1px 10px;
  background: var(--line);
  box-shadow: var(--shadow);
  isolation: isolate;
}
.stage::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx) var(--my), #ffaa40, rgba(156, 64, 255, 0.85) 26%, transparent 58%);
  z-index: -1;
  opacity: 0.95;
}

.player {
  position: relative;
  flex: none;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 21px 21px 12px 12px;
  overflow: hidden;
  background: var(--player);
}
.poster {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.player.is-playing .poster { display: none; }
.player video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: transparent;
}
.player__empty {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(55% 70% at 50% 42%, rgba(156, 64, 255, 0.28), transparent 70%),
    var(--player);
}

.play-btn {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  margin: 0;
  border: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.22);
  cursor: pointer;
}
.play-btn[hidden] { display: none; }
.play-btn:focus-visible .play { outline: 3px solid #fff; outline-offset: 6px; }

.play {
  width: clamp(112px, 22vw, 156px);
  height: clamp(112px, 22vw, 156px);
  border-radius: 50%;
  border: 0;
  background: #fff;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.45);
  display: grid;
  place-items: center;
  animation: playpop 2.2s ease-in-out infinite;
}
.play::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin-left: 10px;
  border-style: solid;
  border-width: 26px 0 26px 42px;
  border-color: transparent transparent transparent #111;
}

.cta-wrap {
  position: relative;
  flex: none;
  margin-top: 10px;
  display: flex;
  justify-content: center;
}
.cta-wrap::before {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  top: 8px;
  bottom: 8px;
  border-radius: 18px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.7), rgba(34, 197, 94, 0.15) 50%, transparent 72%);
  filter: blur(16px);
  z-index: -1;
  animation: pulse 2.8s ease-in-out infinite;
}

.shimmer {
  position: relative;
  display: inline-flex;
  width: 100%;
  min-height: 52px;
  padding: 1.5px;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: #052e16;
  isolation: isolate;
}
.shimmer__spark {
  position: absolute;
  inset: -130%;
  background: conic-gradient(from 0deg, transparent 0 58%, #bbf7d0, #fff, #4ade80, transparent 86%);
  animation: spin 3s linear infinite;
}
.shimmer__face {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 12.5px;
  background: linear-gradient(180deg, #4ade80, #22c55e);
  color: #052e16;
  font-weight: 750;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.shimmer:hover .shimmer__face { background: linear-gradient(180deg, #86efac, #16a34a); }
.shimmer:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

.proof { margin-top: 84px; padding-bottom: 48px; }
.proof .shimmer { width: min(440px, 100%); }

.marquee {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  padding: 8px 0;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee__row--rev .marquee__track {
  animation-duration: 46s;
  animation-direction: reverse;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee ul {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.marquee button {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #111214;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
.marquee button:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.marquee img {
  display: block;
  height: 196px;
  width: auto;
  max-width: none;
}

.note {
  margin: 22px auto 0;
  text-align: center;
  color: var(--note);
  font-size: 13px;
}

.dock {
  position: fixed;
  z-index: 15;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(transparent, var(--dock) 28%);
  transform: translateY(110%);
  transition: transform 0.35s ease;
}
.dock.is-on { transform: none; }
.dock .shimmer { width: 100%; }
.dock .cta-wrap { display: contents; }

dialog {
  width: min(920px, calc(100% - 28px));
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg);
  color: var(--fg);
}
dialog::backdrop {
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(8px);
}
dialog img {
  width: 100%;
  height: auto;
  max-width: none;
  border-radius: 12px;
  background: #111214;
  display: block;
}
.light__x {
  position: absolute;
  top: 18px;
  right: 18px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 6px 10px;
  cursor: pointer;
}

.rise {
  animation: rise 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--i) * 90ms);
}
.shiny.rise {
  animation: rise 0.85s cubic-bezier(0.16, 1, 0.3, 1) both, gradient 7s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * 90ms), 0s;
}

@keyframes gradient {
  from { background-position: 0% center; }
  to { background-position: 100% center; }
}
@keyframes spin { to { transform: rotate(1turn); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes drift { to { transform: translate3d(2%, 28px, 0) scale(1.06); } }
@keyframes meteor {
  0% { transform: translate3d(0, 0, 0) rotate(215deg); opacity: 0; }
  8% { opacity: 1; }
  100% { transform: translate3d(-460px, 560px, 0) rotate(215deg); opacity: 0; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes twinkle {
  0%, 100% { opacity: 0.15; transform: scale(0.6) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(20deg); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.72; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}
@keyframes countin {
  0% { filter: blur(10px); transform: translateY(0.12em) scale(0.94); }
  62% { filter: blur(0); transform: none; }
  78% { transform: scale(1.045); }
  100% { filter: none; transform: none; }
}
@keyframes playpop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}
@keyframes beamfade {
  0%, 100% { opacity: 0.08; }
  50% { opacity: 0.55; }
}
@keyframes gridmove { to { background-position: 0 52px; } }

@media (max-width: 860px) {
  .money { font-size: clamp(3.4rem, 18vw, 4.6rem); }
  .deck { font-size: clamp(1.2rem, 5vw, 1.55rem); }
  .kicker { font-size: clamp(1.05rem, 4.4vw, 1.35rem); }
  .hero { padding: 52px 0 8px; }
  .lead { margin-top: 6px; }
  .stage { --btn: 72px; }
  .play {
    width: clamp(84px, 26vw, 112px);
    height: clamp(84px, 26vw, 112px);
  }
  .play::before { border-width: 18px 0 18px 30px; margin-left: 7px; }
  .proof { margin-top: 8px; padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .proof .cta-wrap { display: none; }
  .wrap { width: min(880px, calc(100% - 24px)); }
  .marquee {
    gap: 12px;
    padding: 0;
    overflow: visible;
    mask-image: none;
  }
  .marquee__row--rev { display: none; }
  .marquee__track {
    animation: none;
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }
  .marquee ul {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .marquee ul[aria-hidden="true"] { display: none; }
  .marquee li, .marquee button { width: 100%; }
  .marquee img {
    width: 100%;
    height: auto;
  }
  .note { margin-top: 16px; padding: 0 8px; }
}

@media (min-width: 861px) {
  .dock { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .marquee { overflow-x: auto; mask-image: none; }
  .grad, .shiny { background-position: 0 center; }
}
