:root {
  color-scheme: dark;
  --ink: #f8f7ff;
  --muted: #b9b3ca;
  --night: #070510;
  --panel: rgba(19, 14, 37, 0.74);
  --cyan: #56ddff;
  --violet: #a96bff;
  --orange: #ff8a36;
  --line: rgba(176, 144, 255, 0.2);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--night);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 36%, rgba(81, 40, 170, .18), transparent 27rem),
    radial-gradient(circle at 82% 74%, rgba(16, 157, 221, .12), transparent 29rem),
    #070510;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 100; padding: .75rem 1rem; color: #111; background: #fff; border-radius: 999px; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  width: min(calc(100% - 40px), var(--max));
  min-height: 84px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.brand { display: inline-flex; align-items: center; gap: .72rem; font-weight: 850; letter-spacing: -.035em; font-size: 1.15rem; }
.brand img { border-radius: 26%; box-shadow: 0 0 24px rgba(91,216,255,.28); }
.site-header nav { display: flex; gap: 1.6rem; margin-left: auto; }
.site-header nav a, footer nav a { color: var(--muted); font-weight: 620; font-size: .9rem; transition: color .2s; }
.site-header nav a:hover, footer nav a:hover { color: #fff; }
.nav-cta { border: 1px solid rgba(142,222,255,.5); border-radius: 999px; padding: .68rem 1rem; color: #e8fbff; font-size: .86rem; font-weight: 760; background: rgba(36,149,218,.13); }

.hero { position: relative; min-height: min(900px, 100vh); display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.hero-backdrop { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(4,3,11,.98) 0%, rgba(4,3,11,.86) 29%, rgba(4,3,11,.2) 65%, rgba(4,3,11,.42) 100%), linear-gradient(0deg, #070510 0%, transparent 22%); }
.hero-copy { width: min(calc(100% - 40px), var(--max)); margin: 88px auto 0; padding: 7rem 0 8rem; }
.hero-copy > * { max-width: 650px; }
.eyebrow { display: flex; align-items: center; gap: .55rem; margin: 0 0 1rem; color: #8ceaff; text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; font-weight: 850; }
.eyebrow span { width: 24px; height: 1px; background: currentColor; box-shadow: 0 0 10px currentColor; }
.eyebrow.violet { color: #c59aff; }
.eyebrow.cyan { color: #68e5ff; }
.eyebrow.orange { color: #ffad68; }
.eyebrow.danger { color: #d992ff; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-weight: 890; letter-spacing: -.058em; line-height: .98; }
h1 { margin-bottom: 1.55rem; max-width: 770px !important; font-size: clamp(3.5rem, 7vw, 7rem); }
h1 em { font-style: normal; color: transparent; background: linear-gradient(100deg, #6ee8ff 5%, #ae73ff 60%, #e1b8ff); -webkit-background-clip: text; background-clip: text; text-shadow: 0 0 60px rgba(107,98,255,.25); }
h2 { font-size: clamp(2.7rem, 5.7vw, 5.5rem); }
.hero-deck { color: #d6d1df; max-width: 590px; font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .88rem 1.3rem; border-radius: 14px; font-weight: 800; transition: transform .2s, box-shadow .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #080510; background: linear-gradient(135deg, #72e9ff, #b77aff); box-shadow: 0 12px 42px rgba(101,115,255,.3); }
.button-primary:hover { box-shadow: 0 16px 54px rgba(101,115,255,.48); }
.button-quiet { color: #e5e0ed; border: 1px solid rgba(255,255,255,.18); background: rgba(7,5,16,.45); backdrop-filter: blur(12px); }
.watch-mark { font-size: 1.15rem; }
.hero-proof { display: flex; gap: 1.4rem; margin-top: 2.2rem; color: var(--muted); font-size: .82rem; }
.hero-proof span { display: flex; align-items: baseline; gap: .4rem; }
.hero-proof strong { color: #fff; font-size: 1.15rem; }
.tilt-note { position: absolute; right: 4%; bottom: 9%; color: rgba(255,255,255,.5); font-size: .72rem; text-transform: uppercase; letter-spacing: .15em; writing-mode: vertical-rl; }
.tilt-note span { color: var(--cyan); font-size: 1.5rem; margin-top: .8rem; }

.marquee { overflow: hidden; padding: 1rem 0; border-block: 1px solid var(--line); color: #cfc6e9; background: rgba(16,11,30,.86); }
.marquee div { width: max-content; display: flex; align-items: center; gap: 1.2rem; animation: marquee 24s linear infinite; text-transform: uppercase; letter-spacing: .16em; font-weight: 760; font-size: .74rem; }
.marquee i { color: var(--violet); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

.section { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 9rem 0; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(250px, .7fr); gap: 2rem 5rem; align-items: end; margin-bottom: 3.4rem; }
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -1rem; }
.section-heading h2 { margin: 0; max-width: 790px; }
.section-heading > p:last-child, .worlds-heading > p:last-child { color: var(--muted); line-height: 1.8; font-size: 1.05rem; }
.mechanics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature-card { position: relative; min-height: 420px; padding: 1.5rem; overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(160deg, rgba(31,22,57,.9), rgba(11,8,23,.9)); box-shadow: inset 0 1px rgba(255,255,255,.08); }
.feature-card::after { content: ""; position: absolute; inset: auto -25% -40% 10%; height: 70%; border-radius: 50%; filter: blur(50px); opacity: .25; background: var(--violet); }
.feature-number { color: #858099; font-size: .72rem; font-weight: 850; letter-spacing: .1em; }
.feature-card h3 { position: absolute; z-index: 1; left: 1.5rem; bottom: 4.8rem; font-size: 1.45rem; letter-spacing: -.03em; }
.feature-card p { position: absolute; z-index: 1; left: 1.5rem; right: 1.5rem; bottom: .7rem; color: var(--muted); font-size: .9rem; }
.feature-orbit, .crown-visual, .haptic-visual { position: absolute; top: 4.8rem; left: 50%; width: 190px; height: 190px; transform: translateX(-50%); }
.feature-orbit { border: 1px solid rgba(104,226,255,.25); border-radius: 50%; box-shadow: 0 0 50px rgba(61,202,255,.14), inset 0 0 50px rgba(61,202,255,.08); }
.feature-orbit::before, .feature-orbit::after { content: ""; position: absolute; inset: 18%; border: 1px solid rgba(184,100,255,.35); border-radius: 50%; transform: rotate(55deg) scaleY(.38); }
.feature-orbit::after { inset: 5%; transform: rotate(-18deg) scaleY(.45); }
.feature-orbit span { position: absolute; inset: 65px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #d9fbff, #24aaf8 36%, #362eaf 74%, #090619); box-shadow: 0 0 35px #40cfff; }
.feature-orbit b { position: absolute; inset: -5px; display: grid; place-items: center; color: rgba(142,229,255,.5); font-size: 11rem; font-weight: 200; }
.crown-card::after { background: var(--orange); }
.crown-visual { width: 155px; height: 185px; border: 4px solid #2d2938; border-radius: 42px; background: linear-gradient(145deg,#0b0a10,#282330); box-shadow: 0 25px 45px #05030c, inset 0 1px 2px #777; }
.crown-visual span { position: absolute; right: -20px; top: 57px; width: 20px; height: 48px; border: 3px solid #3f384b; border-radius: 0 12px 12px 0; background: repeating-linear-gradient(0deg,#17131e 0 3px,#8f5fd2 3px 4px); box-shadow: 10px 0 28px rgba(175,91,255,.6); }
.crown-visual i { position: absolute; left: 38px; right: 38px; top: 42px; height: 4px; border-radius: 4px; background: #7a57d8; box-shadow: 0 26px #9d6aff, 0 52px #c18aff; }
.haptic-card::after { background: var(--cyan); }
.haptic-visual { display: flex; align-items: center; justify-content: space-around; }
.haptic-visual b { width: 74px; height: 74px; display: grid; place-items: center; border-radius: 50%; color: white; font-size: 1.8rem; background: radial-gradient(circle,#a9f4ff,#23bfe4 28%,#4629a8 66%,#10091f); box-shadow: 0 0 42px #51dfff; }
.haptic-visual i { width: 11px; height: 68px; border: 2px solid #54dffd; border-block: 0; border-radius: 50%; opacity: .5; }
.haptic-visual i:first-child, .haptic-visual i:last-child { height: 120px; opacity: .25; }

.trailer { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3rem; align-items: center; }
.trailer-copy h2 { font-size: clamp(2.8rem, 5vw, 5rem); }
.trailer-copy > p { color: var(--muted); font-size: 1.05rem; line-height: 1.8; }
.check-list { list-style: none; padding: 0; margin: 1.7rem 0 0; display: grid; gap: .75rem; }
.check-list li::before { content: "✦"; margin-right: .7rem; color: var(--cyan); }
.watch-stage { position: relative; min-height: 680px; display: grid; place-items: center; }
.watch-stage::before { content: ""; position: absolute; width: 76%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(75,57,192,.26), transparent 68%); filter: blur(10px); }
.watch-shell { position: relative; z-index: 2; width: min(70%, 385px); aspect-ratio: 416 / 496; padding: 18px; border-radius: 30% / 25%; background: linear-gradient(140deg,#79747d 0%,#17151b 12%,#050507 48%,#39343e 88%,#85818a 100%); box-shadow: 0 45px 80px #000, 0 0 0 2px #777, inset 0 0 0 8px #09090c; transform: rotate(7deg); }
.watch-shell img { width: 100%; height: 100%; object-fit: cover; border-radius: 26% / 22%; background: #000; }
.watch-crown { position: absolute; right: -26px; top: 29%; width: 24px; height: 72px; border: 3px solid #4f4a53; border-radius: 0 14px 14px 0; background: repeating-linear-gradient(0deg,#141217 0 4px,#777 4px 5px); }
.gravity-ring { position: absolute; width: 75%; aspect-ratio: 1; border: 2px solid rgba(129,84,255,.3); border-radius: 50%; transform: rotate(20deg) scaleY(.38); box-shadow: 0 0 28px #643cd2; }
.ring-two { width: 90%; transform: rotate(-22deg) scaleY(.34); border-color: rgba(49,209,255,.22); }
.floating-rune { position: absolute; color: #a66eff; filter: drop-shadow(0 0 13px currentColor); font-size: 1.5rem; }
.rune-a { top: 17%; left: 8%; }.rune-b { right: 5%; top: 30%; color: var(--cyan); }.rune-c { bottom: 15%; left: 10%; color: var(--orange); }

.worlds-section { padding: 9rem 0; border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(19,12,35,.8), rgba(5,4,12,.7)); overflow: hidden; }
.worlds-heading { width: min(calc(100% - 40px), var(--max)); padding: 0 0 3rem; }
.worlds-heading h2 { max-width: 780px; }
.worlds-heading > p:last-child { max-width: 650px; }
.world-track { width: min(calc(100% - 40px), 1380px); margin: 0 auto; display: grid; grid-template-columns: repeat(5, minmax(215px,1fr)); gap: .85rem; }
.world-card { --world: #a360ff; position: relative; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.35rem; overflow: hidden; border: 1px solid color-mix(in srgb, var(--world) 42%, transparent); border-radius: 28px; background: radial-gradient(circle at 50% 31%, color-mix(in srgb, var(--world) 25%, transparent), transparent 35%), linear-gradient(180deg,#171226,#0a0812 70%); }
.world-card::before { content: ""; position: absolute; top: 19%; left: 50%; width: 142px; aspect-ratio: 1; transform: translateX(-50%); border: 1px solid color-mix(in srgb,var(--world) 50%,transparent); border-radius: 50%; box-shadow: 0 0 50px color-mix(in srgb,var(--world) 30%,transparent), inset 0 0 40px color-mix(in srgb,var(--world) 18%,transparent); }
.world-card::after { content: ""; position: absolute; top: 31%; left: 10%; right: 10%; height: 30px; transform: rotate(-8deg); border: 2px solid var(--world); border-radius: 50%; opacity: .38; filter: blur(.2px); }
.world-card.lava { --world:#ff7139; }.world-card.sky { --world:#55cfff; }.world-card.ice { --world:#a9e9ff; }.world-card.void { --world:#cf5cff; }
.world-index { position: absolute; top: 1.2rem; left: 1.2rem; color: color-mix(in srgb,var(--world) 78%,white); text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; font-weight: 850; }
.world-gem { position: absolute; z-index: 2; top: 24%; left: 50%; transform: translate(-50%,-50%); color: var(--world); font-size: 4rem; text-shadow: 0 0 25px var(--world); }
.world-card h3 { position: relative; margin-bottom: .4rem; font-size: 1.35rem; }
.world-card p { position: relative; min-height: 43px; margin-bottom: 1rem; color: var(--muted); font-size: .87rem; }
.world-card small { position: relative; align-self: flex-start; padding: .35rem .65rem; border-radius: 999px; color: color-mix(in srgb,var(--world) 70%,white); background: color-mix(in srgb,var(--world) 14%,transparent); text-transform: uppercase; letter-spacing: .12em; font-size: .58rem; font-weight: 850; }

.story-split { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.story-gallery { position: relative; min-height: 630px; }
.story-gallery .screen { position: absolute; width: min(55%, 290px); border: 8px solid #111016; border-radius: 27% / 23%; box-shadow: 0 32px 65px #000; }
.screen-back { top: 2%; left: 8%; transform: rotate(-10deg); }
.screen-front { bottom: 1%; right: 8%; transform: rotate(8deg); }
.gallery-glow { position: absolute; inset: 20%; z-index: -1; border-radius: 50%; background: #5733a7; filter: blur(80px); opacity: .4; }
.story-copy > p { color: var(--muted); line-height: 1.8; font-size: 1.05rem; }
.quote-card { position: relative; margin-top: 2rem; padding: 1.7rem 1.7rem 1.3rem; border-left: 2px solid var(--violet); background: linear-gradient(90deg, rgba(157,98,255,.11), transparent); }
.quote-card span { position: absolute; top: -.8rem; left: .9rem; color: #c28cff; font-family: Georgia,serif; font-size: 3rem; }
.quote-card p { margin: 0; font-size: 1.12rem; font-weight: 700; }

.boss-section { position: relative; min-height: 760px; display: grid; grid-template-columns: 1fr 1fr; place-items: center; padding: 7rem max(20px, calc((100vw - var(--max))/2)); overflow: hidden; border-block: 1px solid rgba(174,84,255,.22); background: radial-gradient(circle at 28% 50%, rgba(121,40,190,.25), transparent 32%), #05030b; }
.boss-section::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(#9f60ff 1px, transparent 1px); background-size: 65px 65px; mask-image: linear-gradient(90deg,#000,transparent 70%); opacity: .15; }
.boss-aura { position: absolute; left: 18%; width: 420px; height: 420px; border: 1px solid rgba(191,83,255,.2); border-radius: 50%; box-shadow: 0 0 80px rgba(125,43,207,.18), inset 0 0 100px rgba(125,43,207,.2); }
.boss-mark { position: relative; width: 360px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(210,102,255,.25); background: radial-gradient(circle,#36214d 0 15%,#12091d 45%,transparent 65%); filter: drop-shadow(0 0 44px rgba(184,72,255,.45)); }
.boss-mark span { color: #e39cff; font-size: 7rem; text-shadow: 0 0 35px #ad48ff; }
.boss-mark i { position: absolute; inset: 12%; border: 1px solid #943bf0; border-radius: 50%; transform: scaleY(.35) rotate(18deg); }
.boss-mark i:nth-child(3){ transform: scaleY(.35) rotate(78deg); }.boss-mark i:nth-child(4){ transform: scaleY(.35) rotate(138deg); }
.boss-copy { position: relative; z-index: 2; max-width: 550px; }
.boss-copy h2 { color: transparent; background: linear-gradient(100deg,#f5d9ff,#9f57e5); -webkit-background-clip:text; background-clip:text; }
.boss-copy > p { color: var(--muted); line-height: 1.85; font-size: 1.07rem; }
.boss-stats { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2rem; color: #aaa1b8; font-size: .8rem; }
.boss-stats span { display: flex; align-items: baseline; gap: .35rem; }.boss-stats b { color: #dca0ff; font-size: 1.4rem; }

.final-cta { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; padding-block: 6rem; }
.final-cta > img { border-radius: 26%; box-shadow: 0 0 60px rgba(84,208,255,.25); }
.final-cta h2 { margin-bottom: .4rem; font-size: clamp(2.6rem,5vw,4.8rem); }
.final-cta p { margin: 0; color: var(--muted); }
footer { width: min(calc(100% - 40px),var(--max)); margin: 0 auto; padding: 2.8rem 0; display: grid; grid-template-columns: 1fr auto; gap: .8rem 2rem; align-items: center; border-top: 1px solid var(--line); color: var(--muted); }
footer p { margin: 0; font-size: .88rem; }
footer nav { display: flex; gap: 1.2rem; grid-row: 1 / span 2; grid-column: 2; }
footer small { font-size: .7rem; }

.legal-shell { width: min(calc(100% - 40px), 820px); margin: 0 auto; padding: 9rem 0 6rem; }
.legal-shell h1 { font-size: clamp(3rem, 8vw, 6rem); }
.legal-shell h2 { margin-top: 3rem; font-size: 1.75rem; letter-spacing: -.03em; }
.legal-shell p, .legal-shell li { color: var(--muted); line-height: 1.8; }
.legal-shell a { color: var(--cyan); text-decoration: underline; text-underline-offset: .2em; }
.legal-card { margin: 2rem 0; padding: 1.4rem; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); }
.legal-header { position: static; transform: none; margin: 0 auto; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }

@media (max-width: 960px) {
  .site-header nav { display: none; }
  .site-header .brand { margin-right: auto; }
  .section-heading, .trailer, .story-split, .boss-section { grid-template-columns: 1fr; }
  .section-heading { gap: 2rem; }
  .mechanics-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 370px; }
  .world-track { grid-template-columns: repeat(5, 240px); overflow-x: auto; padding-bottom: 1rem; scroll-snap-type: x mandatory; }
  .world-card { scroll-snap-align: start; }
  .trailer-copy { order: 2; }
  .watch-stage { min-height: 590px; }
  .story-gallery { min-height: 590px; }
  .boss-section { text-align: center; }
  .boss-copy .eyebrow { justify-content: center; }
  .boss-stats { justify-content: center; }
  .final-cta { grid-template-columns: auto 1fr; }
  .final-cta .button { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .site-header { min-height: 70px; width: calc(100% - 28px); }
  .site-header .brand span { display: none; }
  .nav-cta { padding: .58rem .8rem; }
  .hero { min-height: 860px; align-items: end; }
  .hero-backdrop { object-position: 68% center; opacity: .85; }
  .hero-shade { background: linear-gradient(0deg,#070510 0%,rgba(7,5,16,.85) 55%,rgba(7,5,16,.25) 100%); }
  .hero-copy { width: calc(100% - 28px); margin: 0 auto; padding: 21rem 0 5rem; }
  h1 { font-size: clamp(3.1rem, 14vw, 4.7rem); }
  h2 { font-size: clamp(2.5rem, 12vw, 4rem); }
  .hero-actions .button { width: 100%; }
  .hero-proof { gap: .75rem; justify-content: space-between; }
  .hero-proof span { flex-direction: column; gap: 0; }
  .tilt-note { display: none; }
  .section { width: calc(100% - 28px); padding: 6.5rem 0; }
  .watch-stage { min-height: 500px; }
  .watch-shell { width: 78%; padding: 12px; }
  .story-gallery { min-height: 480px; }
  .story-gallery .screen { width: 59%; border-width: 5px; }
  .boss-section { min-height: 720px; padding-inline: 14px; }
  .boss-mark { width: 280px; }
  .boss-aura { left: 50%; transform: translateX(-50%); width: 320px; height: 320px; top: 8rem; }
  .final-cta { grid-template-columns: 1fr; text-align: center; }
  .final-cta > img { margin: 0 auto; width: 100px; }
  .final-cta .eyebrow { justify-content: center; }
  footer { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  footer nav { grid-column: 1; grid-row: auto; flex-wrap: wrap; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
