:root {
  --bg: #09080b;
  --bg-raise: #121116;
  --ink: #f4f0e6;
  --muted: #b7b1a6;
  --faint: #7d776e;
  --line: rgba(244, 240, 230, 0.14);
  --lime: #e6ff3d;
  --lime-ink: #141807;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Outfit", "Avenir Next", sans-serif;
  --display: "Syne", "Outfit", sans-serif;
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 480;
  background:
    radial-gradient(900px 520px at 8% -10%, rgba(230, 255, 61, 0.16), transparent 60%),
    radial-gradient(800px 500px at 110% 8%, rgba(255, 77, 109, 0.18), transparent 55%),
    radial-gradient(700px 480px at 70% 110%, rgba(78, 231, 255, 0.1), transparent 50%),
    var(--bg);
  letter-spacing: -0.011em;
}
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 240, 230, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 240, 230, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 20%, black, transparent 78%);
  z-index: 0;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
img { max-width: 100%; }

.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; position: relative; z-index: 1; }
.top, .hero, .band, .vault, .how, .tools, .footer, .detail { position: relative; z-index: 1; }

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.top::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 100vw;
  transform: translateX(-50%);
  background: rgba(9, 8, 11, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  z-index: -1;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mark {
  width: 42px; height: 42px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--lime); color: var(--lime-ink);
  font-family: var(--display); font-weight: 800; letter-spacing: -0.06em;
  box-shadow: 4px 4px 0 #000;
}
.brand-copy strong { display: block; font-family: var(--display); font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.brand-copy small { display: block; color: var(--faint); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.nav { display: flex; gap: 8px; align-items: center; }
.nav a, .btn {
  border: 1px solid var(--line);
  background: rgba(18, 17, 22, 0.72);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  letter-spacing: 0.01em;
}
.btn.solid, .nav a.solid {
  background: var(--lime); color: var(--lime-ink); border-color: transparent; font-weight: 650;
}
.btn.solid:hover, .nav a.solid:hover { transform: translateY(-1px); }
.btn:hover, .nav a:hover { border-color: rgba(244, 240, 230, 0.4); }

.world { perspective: 1600px; }
.hero { padding: 28px 0 10px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 28px; align-items: stretch; transform-style: preserve-3d; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px 6px 8px;
  color: var(--muted); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  background: rgba(0,0,0,0.25);
}
.dot { width: 8px; height: 8px; border-radius: 99px; background: #3dff9a; box-shadow: 0 0 0 0 rgba(61, 255, 154, 0.7); animation: pulse 1.8s infinite; }
h1 {
  margin: 16px 0 12px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(56px, 8vw, 104px);
  line-height: 0.84;
  letter-spacing: -0.065em;
}
h1 em {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.04em;
  background: linear-gradient(100deg, #e6ff3d 0%, #fff7c2 35%, #e6ff3d 55%, #b6ff4a 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 5s linear infinite;
}
.lede { max-width: 620px; color: var(--muted); font-size: 19px; line-height: 1.45; margin: 0 0 22px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.stats { display: flex; gap: 22px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.stats b { display: block; font-family: var(--display); font-size: 34px; letter-spacing: -0.05em; line-height: 1; }
.stats span { color: var(--faint); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }

.now {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 16px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.now header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; color: var(--faint); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.now a.row {
  display: grid; grid-template-columns: 42px 1fr auto; gap: 10px; align-items: center;
  padding: 10px 8px; border-radius: 14px;
}
.now a.row:hover { background: rgba(255,255,255,0.04); }
.chip {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; color: #140806; letter-spacing: -0.04em;
}
.now small { display: block; color: var(--faint); }
.now em { font-style: normal; color: var(--lime); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }

.orbit-wrap { position: relative; z-index: 1; padding: 8px 0 12px; }
.orbit-copy { width: min(760px, calc(100% - 32px)); margin: 0 auto 4px; text-align: center; }
.orbit-copy h2 { font-size: clamp(40px, 6vw, 72px); }
.orbit-copy p { color: var(--muted); }
.orbit-clip { overflow: hidden; }
.orbit-scene { position: relative; height: 520px; perspective: 1200px; cursor: grab; touch-action: none; }
.orbit-scene.is-drag { cursor: grabbing; }
.orbit-ring { position: absolute; inset: 0; transform-style: preserve-3d; }
.orbit-card {
  position: absolute; left: 50%; top: 48%; width: 210px; height: 270px;
  margin-left: -105px; margin-top: -135px; border-radius: 24px; padding: 18px;
  display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none;
  transform: rotateY(calc(var(--i) * var(--step))) translateZ(390px);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.35);
  backface-visibility: hidden;
}
.orbit-card strong { font-family: var(--display); font-size: 32px; letter-spacing: -0.05em; line-height: 0.9; }
.orbit-card em { font-style: normal; margin-top: 8px; letter-spacing: 0.12em; text-transform: uppercase; font-size: 12px; font-weight: 700; }
.orbit-mark { position: absolute; top: 6px; right: 12px; font-family: var(--display); font-weight: 800; font-size: 72px; letter-spacing: -0.08em; opacity: 0.22; }
.orbit-floor {
  position: absolute; left: 18%; right: 18%; bottom: 36px; height: 70px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(230, 255, 61, 0.28), transparent 68%);
  filter: blur(6px);
}
.marquee {
  margin: 28px 0 8px;
  border-block: 1px solid var(--line);
  background: #070707;
  overflow: hidden;
  transform: rotate(-0.4deg);
}
.marquee-track { display: flex; gap: 28px; width: max-content; padding: 12px 0; animation: tick 42s linear infinite; }
.marquee b { font-family: var(--display); font-weight: 750; letter-spacing: -0.04em; font-size: 18px; }
.marquee i { color: var(--lime); font-style: normal; }

.vault { padding: 34px 0 10px; }
.vault-head, .section-head { display: flex; justify-content: space-between; gap: 18px; align-items: end; margin-bottom: 16px; }
.eyebrow { margin: 0 0 6px; color: var(--lime); letter-spacing: 0.18em; text-transform: uppercase; font-size: 12px; }
h2 { margin: 0; font-family: var(--display); font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.05em; line-height: 0.95; }
.tools-note, .section-head p { color: var(--muted); max-width: 460px; line-height: 1.45; }
.filters { display: flex; gap: 8px; overflow: auto; padding-bottom: 12px; scrollbar-width: none; }
.filters button, .search {
  border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 9px 12px; white-space: nowrap; cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--ink); color: #14120f; border-color: var(--ink); }
.search { min-width: min(240px, 70vw); outline: none; }
.search:focus, .filters button:focus-visible, .btn:focus-visible, a:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }

.bento { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-auto-rows: 230px; gap: 14px; margin: 8px 0 22px; }
.feature { position: relative; overflow: hidden; border-radius: 28px; min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; color: #140806; isolation: isolate; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.feature.big { grid-row: span 2; min-height: 474px; }
.feature .watermark { position: absolute; right: -12px; top: -28px; font-family: var(--display); font-weight: 800; font-size: 180px; letter-spacing: -0.08em; opacity: 0.18; line-height: 0.8; }
.feature p { margin: 6px 0 0; max-width: 36ch; font-weight: 560; }
.feature .cat { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card[hidden] { display: none !important; }
.card {
  position: relative; overflow: visible; border-radius: var(--radius); background: transparent;
  border: 0; min-height: 280px; display: flex; flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.flip { position: relative; flex: 1; min-height: 280px; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.face { backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: var(--radius); }
.face.front { position: relative; min-height: 280px; display: flex; flex-direction: column; background: var(--bg-raise); border: 1px solid var(--line); overflow: hidden; }
.face.back {
  position: absolute; inset: 0; transform: rotateY(180deg); padding: 18px;
  display: flex; flex-direction: column; gap: 10px; overflow: hidden;
}
.face.back h3 { font-family: var(--display); font-size: 28px; letter-spacing: -0.05em; margin: 0; }
.face.back p { margin: 0; line-height: 1.4; color: inherit; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.face.back .cat { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }
.face.back .launch, .face.back .more { color: inherit; border: 1.5px solid currentColor; border-radius: 999px; padding: 6px 10px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; }
@media (hover: hover) and (pointer: fine) {
  .card:hover .flip, .card:focus-within .flip { transform: rotateY(180deg); }
  .card:hover .face.front, .card:focus-within .face.front { pointer-events: none; }
}
.card { transition: transform .45s cubic-bezier(.2,.7,.2,1), border-color .25s, box-shadow .35s; }
.card:hover { border-color: rgba(230, 255, 61, 0.55); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.38); }
.card.chosen { outline: 2px solid var(--lime); }
.card .art { position: relative; height: 148px; overflow: hidden; color: #140806; padding: 14px; display: flex; align-items: flex-start; justify-content: space-between; }
.card .art strong { font-family: var(--display); font-size: 42px; letter-spacing: -0.07em; line-height: 0.85; }
.card .body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { margin: 0; font-family: var(--display); font-size: 24px; letter-spacing: -0.045em; }
.card p { margin: 0; color: var(--muted); line-height: 1.4; flex: 1; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; }
.meta span, .pill { border: 1px solid var(--line); border-radius: 999px; padding: 4px 8px; font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.card-actions { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.launch { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lime); }
.empty { display: none; padding: 28px; border: 1px dashed var(--line); border-radius: 20px; color: var(--muted); }
.empty.show { display: block; }

.how, .tools { padding: 28px 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.step, .tool {
  border: 1px solid var(--line); border-radius: 22px; padding: 18px; background: rgba(18,17,22,0.75);
}
.step b { font-family: var(--display); font-size: 42px; letter-spacing: -0.06em; color: var(--lime); display: block; }
.tool { display: block; }
.tool:hover { border-color: rgba(230, 255, 61, 0.5); }
.tool strong { display: block; font-family: var(--display); font-size: 22px; letter-spacing: -0.04em; margin-bottom: 6px; }
.tool span { color: var(--muted); line-height: 1.4; }

.footer { padding: 10px 0 40px; color: var(--faint); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 10px; }
.footer a { color: var(--muted); }

.detail-hero { padding: 18px 0 10px; }
.back { color: var(--muted); font-size: 14px; }
.detail-hero h1 { font-size: clamp(56px, 8vw, 96px); max-width: 14ch; }
.detail-grid { display: grid; grid-template-columns: 1.4fr 0.7fr; gap: 18px; padding-bottom: 40px; }
.panel { border: 1px solid var(--line); border-radius: 28px; padding: 22px; background: rgba(18,17,22,0.8); }
.story p { font-size: 18px; line-height: 1.55; color: #ebe6dc; }
.play-card { border-radius: 28px; padding: 22px; color: #140806; position: sticky; top: 16px; overflow: hidden; }
.play-card h2 { font-size: 34px; }
.play-card p { font-weight: 560; }
.facts { display: grid; gap: 8px; margin: 16px 0; }
.facts div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(0,0,0,0.15); padding-top: 8px; font-size: 14px; }
.facts dt { font-weight: 650; }
.facts dd { margin: 0; text-align: right; }
.play-card .btn { display: inline-flex; background: #140806; color: #f4f0e6; border: 0; }
.olist { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.olist li { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: start; }
.olist b { font-family: var(--display); color: var(--lime); font-size: 20px; }
.best { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.related a { border: 1px solid var(--line); border-radius: 18px; padding: 14px; min-height: 120px; display: flex; flex-direction: column; justify-content: flex-end; }
.related a:hover { border-color: var(--lime); }
.related small { color: var(--faint); letter-spacing: 0.12em; text-transform: uppercase; }

.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--lime), #ff4d6d 45%, #4ee7ff); z-index: 60; pointer-events: none;
}
.spotlight {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(480px circle at var(--mx, 18%) var(--my, 12%), rgba(230, 255, 61, 0.16), transparent 46%);
}
.stage { display: flex; flex-direction: column; gap: 10px; min-height: 100%; }
.stage-screen {
  position: relative; overflow: hidden; isolation: isolate; flex: 1; min-height: 280px;
  border-radius: 28px; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); transition: transform .45s cubic-bezier(.2,.7,.2,1), background .4s ease;
}
.stage { min-width: 0; }
.stage-screen { min-width: 0; }
.stage-screen strong { font-family: var(--display); font-size: clamp(28px, 2.8vw, 48px); letter-spacing: -0.06em; line-height: 0.9; overflow-wrap: anywhere; }
.stage-screen em { font-family: var(--serif); font-size: 20px; margin-top: 8px; }
.stage-mark {
  position: absolute; right: -10px; top: -24px; font-family: var(--display); font-weight: 800;
  font-size: 150px; letter-spacing: -0.08em; line-height: 0.8; opacity: 0.2; pointer-events: none;
}
.stage-cat { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; margin-bottom: 8px; }
.stage-list { display: grid; gap: 4px; }
.stage-list button {
  display: grid; grid-template-columns: 12px 1fr; gap: 10px; align-items: center;
  text-align: left; background: transparent; border: 1px solid transparent; border-radius: 14px;
  padding: 8px 10px; cursor: pointer;
}
.stage-list button small { display: block; color: var(--faint); }
.stage-list button i { width: 12px; height: 12px; border-radius: 99px; display: block; }
.stage-list button.is-on { background: rgba(255,255,255,0.06); border-color: var(--line); }
.glare {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s;
  background: radial-gradient(160px circle at var(--gx, 50%) var(--gy, 20%), rgba(255,255,255,.5), transparent 60%);
}
.stage-screen.swap strong, .stage-screen.swap em, .stage-screen.swap .stage-cat { animation: rise .45s ease; }
.feature .watermark { animation: drift 7s ease-in-out infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.filters button { transition: transform .15s ease, background .2s ease, box-shadow .2s ease; }
.filters button:hover { transform: translateY(-2px); }
.filters button:active { transform: translateY(1px) scale(.98); }
.filters button[aria-pressed="true"] { box-shadow: 0 0 0 4px rgba(230, 255, 61, 0.16); }
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.in { animation: rise .7s ease var(--d, 0ms) both; }
.card.pop { animation: pop .48s cubic-bezier(.2,.8,.2,1); }
.play-card, .step, .tool, .related a { transition: transform .45s cubic-bezier(.2,.7,.2,1), border-color .25s; }
.mark { transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.brand:hover .mark { transform: rotate(-8deg) scale(1.06); }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 255, 154, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(61, 255, 154, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 255, 154, 0); }
}
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes sheen { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@keyframes rise { from { opacity: 0.45; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes drift { 50% { transform: translate3d(-10px, 12px, 0) rotate(-6deg); } }

@media (max-width: 1080px) {
  .nav a:not(.solid) { display: none; }
  .hero { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .hero, .detail-grid, .bento, .grid, .steps, .related { grid-template-columns: 1fr 1fr; }
  .hero { grid-template-columns: 1fr; }
  .feature.big { grid-row: auto; min-height: 260px; }
  .bento { grid-auto-rows: 220px; }
  .now { order: 2; }
}
@media (max-width: 720px) {
  .hero, .detail-grid, .bento, .grid, .steps, .related, .vault-head, .section-head { grid-template-columns: 1fr; display: grid; }
  .top { align-items: flex-start; }
  .nav { display: none; }
  h1 { font-size: 58px; }
  .stats b { font-size: 28px; }
  .play-card { position: static; }
  .feature.big { min-height: 280px; }
  .spotlight { display: none; }
  .orbit-scene { height: 380px; }
  .orbit-card {
    width: 150px; height: 200px; margin-left: -75px; margin-top: -100px;
    transform: rotateY(calc(var(--i) * var(--step))) translateZ(220px);
  }
  .orbit-card strong { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .reveal.in { opacity: 1 !important; transform: none !important; }
  .orbit-clip { overflow: visible; }
  .orbit-scene { height: auto; perspective: none; cursor: auto; }
  .orbit-ring { position: relative; inset: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; width: min(1180px, calc(100% - 32px)); margin: 0 auto; transform: none !important; }
  .orbit-card { position: relative; left: auto; top: auto; width: auto; height: 180px; margin: 0; transform: none !important; }
}
