:root {
  --bg: #07090d;
  --bg-soft: #0d1117;
  --panel: rgba(18, 23, 31, 0.84);
  --panel-solid: #12171f;
  --paper: #f3efe5;
  --text: #f5f7fb;
  --muted: #9ca6b6;
  --line: rgba(255, 255, 255, 0.1);
  --cyan: #31d6e2;
  --cyan-soft: rgba(49, 214, 226, 0.16);
  --orange: #ff5f36;
  --orange-soft: rgba(255, 95, 54, 0.16);
  --gold: #d9ac54;
  --violet: #9a72ff;
  --radius: 24px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 13% 12%, rgba(49, 214, 226, 0.08), transparent 28%),
    radial-gradient(circle at 84% 10%, rgba(255, 95, 54, 0.08), transparent 25%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
  z-index: -3;
}

::selection { background: var(--cyan); color: #041013; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img, svg { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  background: var(--paper);
  color: #111;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 999;
}
.skip-link:focus { transform: translateY(0); }

.page-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(49,214,226,.08), transparent 67%);
  transform: translate(-50%, -50%);
  z-index: -2;
  opacity: 0;
  transition: opacity .3s ease;
}

.section-shell { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.section-block { padding-block: 112px; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 20px;
  transition: background .25s ease, border-color .25s ease, padding .25s ease;
}
.site-header.scrolled {
  padding-top: 9px;
  padding-bottom: 9px;
  background: rgba(7, 9, 13, .82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.nav-shell {
  width: min(var(--max), 100%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 900; letter-spacing: .12em; font-size: .94rem; }
.brand img { width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 8px 18px rgba(0,0,0,.45)); }
.primary-nav { display: flex; align-items: center; gap: 28px; color: #c6cbd4; font-size: .9rem; font-weight: 700; }
.primary-nav a { position: relative; transition: color .2s ease; }
.primary-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 2px;
  background: var(--cyan);
  transition: right .25s ease;
}
.primary-nav a:hover, .primary-nav a:focus-visible { color: white; }
.primary-nav > a:hover::after, .primary-nav > a:focus-visible::after { right: 0; }
.nav-cta { padding: 10px 16px; border: 1px solid rgba(49,214,226,.35); background: var(--cyan-soft); border-radius: 12px; color: #dffcff !important; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 12px; }
.menu-toggle span { display: block; height: 2px; background: white; margin: 4px 0; transition: transform .25s ease, opacity .25s ease; }

.hero { min-height: 100svh; padding-top: 128px; padding-bottom: 75px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(30px, 6vw, 86px); position: relative; }
.hero-copy { max-width: 690px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #bec7d2; font-size: .73rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow span { width: 34px; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--orange)); box-shadow: 0 0 14px rgba(49,214,226,.6); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(3.25rem, 7.6vw, 7rem); line-height: .91; letter-spacing: -.065em; margin: 25px 0 28px; font-weight: 950; }
h1 em, h2 em { color: transparent; font-style: normal; background: linear-gradient(100deg, var(--cyan) 10%, #b7f7f5 43%, #ffd2bf 63%, var(--orange) 95%); background-clip: text; -webkit-background-clip: text; }
.hero-lead { max-width: 650px; font-size: clamp(1rem, 1.8vw, 1.19rem); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 35px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 12px 20px; border-radius: 14px; border: 1px solid transparent; font-weight: 850; font-size: .92rem; transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.98); }
.button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.button-primary { color: #061214; background: linear-gradient(135deg, #aff9f6, var(--cyan)); box-shadow: 0 12px 30px rgba(49,214,226,.2); }
.button-primary:hover { box-shadow: 0 16px 42px rgba(49,214,226,.3); }
.button-secondary { color: #eef2f7; border-color: var(--line); background: rgba(255,255,255,.035); }
.button-secondary:hover { border-color: rgba(255,255,255,.27); background: rgba(255,255,255,.07); }
.hero-facts { margin-top: 48px; display: flex; gap: 32px; flex-wrap: wrap; }
.hero-facts div { display: grid; gap: 1px; }
.hero-facts strong { font-size: 1.45rem; }
.hero-facts span { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; }

.hero-visual { min-height: 570px; display: grid; place-items: center; position: relative; isolation: isolate; }
.logo-orbit { width: min(86vw, 505px); aspect-ratio: 1; position: relative; display: grid; place-items: center; animation: visualFloat 6s ease-in-out infinite; }
.hero-logo { width: 92%; height: 92%; object-fit: contain; position: relative; z-index: 2; filter: drop-shadow(0 30px 48px rgba(0,0,0,.66)); }
.orbit-line { position: absolute; inset: 0; border-radius: 50%; border: 1px solid; }
.orbit-one { border-color: rgba(49,214,226,.33); transform: rotate(-12deg) scale(1.03, .74); animation: orbitA 14s linear infinite; }
.orbit-two { inset: 7%; border-color: rgba(255,95,54,.3); transform: rotate(52deg) scale(1.07, .79); animation: orbitB 10s linear infinite reverse; }
.orbit-node { position: absolute; width: 8px; height: 8px; border-radius: 50%; z-index: 3; box-shadow: 0 0 18px currentColor; }
.node-one { color: var(--cyan); background: var(--cyan); top: 18%; right: 12%; animation: nodePulse 2s ease-in-out infinite; }
.node-two { color: var(--orange); background: var(--orange); left: 10%; bottom: 24%; animation: nodePulse 2s .7s ease-in-out infinite; }
.hero-halo { position: absolute; width: 410px; height: 410px; border-radius: 50%; filter: blur(75px); opacity: .16; z-index: -1; }
.halo-cyan { background: var(--cyan); transform: translate(-30%, -10%); }
.halo-orange { background: var(--orange); transform: translate(36%, 22%); }
.floating-chip { position: absolute; z-index: 4; padding: 9px 13px; border: 1px solid var(--line); border-radius: 10px; background: rgba(10,13,18,.76); backdrop-filter: blur(12px); color: #d9dee8; font-size: .67rem; letter-spacing: .13em; font-weight: 900; box-shadow: 0 10px 30px rgba(0,0,0,.32); }
.floating-chip span { color: var(--cyan); margin-right: 8px; }
.chip-one { top: 18%; left: 0; animation: chipFloat 4.4s ease-in-out infinite; }
.chip-two { right: -1%; top: 42%; animation: chipFloat 5s .5s ease-in-out infinite; }
.chip-three { bottom: 13%; left: 7%; animation: chipFloat 4.6s 1s ease-in-out infinite; }
.scroll-cue { position: absolute; bottom: 23px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 11px; color: #778292; font-size: .71rem; text-transform: uppercase; letter-spacing: .15em; white-space: nowrap; }
.scroll-cue span { width: 22px; height: 36px; border: 1px solid rgba(255,255,255,.22); border-radius: 14px; position: relative; }
.scroll-cue span::after { content: ""; width: 3px; height: 7px; background: var(--cyan); border-radius: 3px; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); animation: scrollDot 1.7s infinite; }

.marquee { overflow: hidden; border-block: 1px solid var(--line); background: #0a0d12; transform: rotate(-1.2deg) scale(1.02); }
.marquee-track { width: max-content; display: flex; align-items: center; gap: 26px; padding: 16px 0; animation: marquee 25s linear infinite; }
.marquee span { font-size: .76rem; font-weight: 900; letter-spacing: .2em; color: #aeb6c1; }
.marquee i { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 14px var(--orange); }

.section-heading { max-width: 820px; margin-bottom: 54px; }
.section-heading h2 { margin: 17px 0 20px; font-size: clamp(2.45rem, 5vw, 4.7rem); line-height: .98; letter-spacing: -.055em; }
.section-heading p { max-width: 700px; color: var(--muted); font-size: 1.06rem; }

.gameplay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step-card { position: relative; min-height: 330px; padding: 28px 25px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018)); overflow: hidden; transition: transform .3s ease, border-color .3s ease, background .3s ease; }
.step-card:hover { transform: translateY(-7px); border-color: rgba(49,214,226,.28); background: linear-gradient(145deg, rgba(49,214,226,.08), rgba(255,255,255,.018)); }
.step-card::after { content: attr(data-step); position: absolute; right: 15px; bottom: -32px; color: rgba(255,255,255,.035); font-size: 7rem; font-weight: 950; line-height: 1; }
.step-card h3 { font-size: 1.25rem; margin: 27px 0 10px; }
.step-card p { color: var(--muted); font-size: .9rem; }
.step-icon { height: 96px; display: grid; place-items: center; }
.step-icon svg { width: 80px; height: 80px; fill: none; stroke: #eaf0f7; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.step-icon .handle { fill: var(--cyan); stroke: #071214; animation: nodePulse 1.8s infinite; }
.timeline-icon { grid-template-columns: repeat(4, 1fr); gap: 7px; }
.timeline-icon span { width: 100%; aspect-ratio: 1; max-width: 50px; border: 1px solid var(--line); border-radius: 10px; background: #10151c; position: relative; }
.timeline-icon span::after { content: ""; position: absolute; left: 50%; top: 20%; width: 6px; height: 60%; background: #5f6977; border-radius: 8px; transform: translateX(-50%) rotate(var(--r, 0deg)); }
.timeline-icon span:nth-child(2) { --r: 18deg; }.timeline-icon span:nth-child(3) { --r: -22deg; }.timeline-icon span:nth-child(4) { --r: 35deg; }
.timeline-icon .active { border-color: var(--cyan); box-shadow: inset 0 0 18px var(--cyan-soft), 0 0 18px rgba(49,214,226,.12); }
.play-icon svg circle { stroke: var(--cyan); }
.play-icon svg path { fill: var(--cyan); stroke: none; }
.break-icon svg .crack { stroke: var(--orange); stroke-width: 5; animation: crackGlow 2s ease-in-out infinite; }

.game-demo { margin-top: 48px; border-radius: 30px; border: 1px solid rgba(255,255,255,.13); background: #0b0f15; box-shadow: var(--shadow); overflow: hidden; }
.demo-topbar { height: 58px; display: grid; grid-template-columns: 110px 1fr 130px; align-items: center; gap: 25px; padding: 0 24px; border-bottom: 1px solid var(--line); color: #afb7c2; font-size: .68rem; font-weight: 900; letter-spacing: .15em; }
.demo-progress { height: 3px; background: rgba(255,255,255,.08); border-radius: 4px; overflow: hidden; }
.demo-progress i { display: block; width: 68%; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--orange)); }
.arena { height: 470px; position: relative; overflow: hidden; background: radial-gradient(circle at 52% 45%, rgba(49,214,226,.07), transparent 32%), linear-gradient(#0d1219, #080b10); }
.arena::after { content: ""; position: absolute; left: 0; right: 0; bottom: 54px; height: 2px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent); }
.arena-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.027) 1px, transparent 1px),linear-gradient(90deg,rgba(255,255,255,.027) 1px,transparent 1px); background-size: 42px 42px; transform: perspective(520px) rotateX(58deg) scale(1.5); transform-origin: bottom; opacity: .65; }
.laser-beam { position: absolute; left: 51%; top: 96px; width: 3px; height: 240px; background: #ff4d39; box-shadow: 0 0 8px #ff4d39, 0 0 25px #ff4d39; animation: laserPulse 1.1s ease-in-out infinite; }
.spikes { position: absolute; left: 62%; bottom: 56px; display: flex; }
.spikes i { width: 0; height: 0; border-left: 17px solid transparent; border-right: 17px solid transparent; border-bottom: 55px solid #b7c1cf; filter: drop-shadow(0 0 8px rgba(255,255,255,.15)); }
.rune-switch { position: absolute; left: 74%; bottom: 69px; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--cyan); display: grid; place-items: center; box-shadow: 0 0 22px rgba(49,214,226,.28); }
.rune-switch span { width: 10px; height: 10px; background: var(--cyan); transform: rotate(45deg); animation: nodePulse 1.4s infinite; }
.portal { position: absolute; right: 5%; bottom: 66px; width: 62px; height: 132px; border: 5px solid var(--cyan); border-radius: 50%; box-shadow: 0 0 22px rgba(49,214,226,.35), inset 0 0 25px rgba(49,214,226,.2); animation: portalPulse 2s ease-in-out infinite; }
.portal i, .portal b { position: absolute; inset: 11px; border: 1px solid rgba(49,214,226,.7); border-radius: 50%; animation: orbitA 3s linear infinite; }
.portal b { inset: 21px 16px; animation-direction: reverse; }
.core-crystal { position: absolute; left: 31%; top: 83px; width: 27px; height: 34px; transform: rotate(45deg); border: 2px solid var(--cyan); background: rgba(49,214,226,.15); box-shadow: 0 0 20px rgba(49,214,226,.4); animation: crystalFloat 2s ease-in-out infinite; }
.core-crystal i { position: absolute; inset: 7px; border: 1px solid var(--orange); }
.demo-fighter { position: absolute; width: 215px; height: 235px; left: 17%; bottom: 37px; overflow: visible; animation: fighterMove 4s ease-in-out infinite; }
.fighter-body { fill: #080a0e; stroke: #050608; stroke-width: 17; stroke-linecap: round; stroke-linejoin: round; }
.fighter-body circle { filter: drop-shadow(0 6px 5px rgba(0,0,0,.8)); }
.fighter-body .eye { fill: none; stroke: var(--cyan); stroke-width: 4; }
.fighter-shadow { fill: rgba(0,0,0,.65); }
.motion-streaks { fill: none; stroke: var(--orange); stroke-width: 5; stroke-linecap: round; opacity: .75; animation: streak 4s ease-in-out infinite; }
.impact-burst { position: absolute; left: calc(51% - 9px); top: 184px; width: 20px; height: 20px; animation: impact 4s ease-in-out infinite; }
.impact-burst span { position: absolute; left: 9px; top: 0; width: 2px; height: 35px; background: var(--cyan); transform-origin: 50% 100%; box-shadow: 0 0 8px var(--cyan); }
.impact-burst span:nth-child(2){transform:rotate(55deg)}.impact-burst span:nth-child(3){transform:rotate(110deg)}.impact-burst span:nth-child(4){transform:rotate(160deg)}
.frame-strip { min-height: 90px; padding: 14px 20px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr) 62px; gap: 10px; align-items: stretch; }
.frame { border: 1px solid var(--line); background: #10151c; color: #bac2cd; border-radius: 12px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 10px 14px; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.frame:hover { transform: translateY(-2px); }
.frame small { color: #697483; font-size: .62rem; font-weight: 900; }
.frame span { font-size: .74rem; font-weight: 900; letter-spacing: .09em; }
.frame.selected { border-color: var(--cyan); background: rgba(49,214,226,.1); color: white; }
.demo-play { border: 0; border-radius: 13px; background: linear-gradient(135deg, var(--cyan), #88f4ef); color: #071113; cursor: pointer; display: grid; place-items: center; transition: transform .2s; }
.demo-play:hover { transform: scale(1.04); }
.demo-play svg { width: 25px; fill: currentColor; }

.features { background: linear-gradient(180deg, rgba(255,255,255,.018), transparent 50%); border-block: 1px solid rgba(255,255,255,.055); }
.feature-bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.feature-card { position: relative; min-height: 290px; padding: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, #121820, #0c1016); transition: transform .3s ease, border-color .3s ease; }
.feature-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.22); }
.feature-card h3 { margin: 17px 0 0; font-size: 1.4rem; line-height: 1.25; }
.feature-card p { color: var(--muted); }
.feature-number { position: absolute; right: 18px; top: 12px; font-size: 3.7rem; line-height: 1; font-weight: 950; color: rgba(255,255,255,.035); }
.feature-label { color: var(--cyan); font-size: .66rem; letter-spacing: .16em; font-weight: 900; }
.feature-large { grid-column: span 2; grid-row: span 2; min-height: 595px; display: flex; flex-direction: column; justify-content: flex-end; }
.feature-large h3 { max-width: 500px; font-size: 2rem; }
.feature-large p { max-width: 540px; }
.feature-wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 190px; gap: 20px; align-items: center; }
.feature-wide h3 { font-size: 1.75rem; }
.feature-card.coral { background: linear-gradient(145deg, rgba(255,95,54,.14), #10141b 55%); }
.feature-card.coral .feature-label { color: #ff886b; }
.joint-graphic { position: absolute; width: 320px; height: 320px; right: 2%; top: 6%; opacity: .9; transform: rotate(7deg); }
.joint-head { position: absolute; width: 76px; height: 76px; border-radius: 50%; background: #050608; left: 121px; top: 7px; box-shadow: inset -12px -14px 20px rgba(49,214,226,.13), 0 18px 28px rgba(0,0,0,.4); }
.bone { position: absolute; height: 18px; border-radius: 15px; background: #050608; transform-origin: left center; box-shadow: inset 0 3px 4px rgba(255,255,255,.08); }
.torso { width: 110px; left: 158px; top: 80px; transform: rotate(90deg); }.arm-a { width: 135px; left: 151px; top: 99px; transform: rotate(145deg); }.arm-b { width: 125px; left: 163px; top: 99px; transform: rotate(30deg); }.leg-a { width: 150px; left: 152px; top: 187px; transform: rotate(125deg); }.leg-b { width: 145px; left: 160px; top: 187px; transform: rotate(52deg); }
.joint { position: absolute; width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--cyan); background: #0b1519; box-shadow: 0 0 14px rgba(49,214,226,.45); }.j1{left:149px;top:89px}.j2{left:61px;top:144px}.j3{left:249px;top:154px}.j4{left:69px;top:270px}.j5{left:250px;top:278px}
.trail-samples { height: 150px; position: relative; }
.trail-samples i { position: absolute; left: 12px; right: 0; height: 14px; border-radius: 50%; border-top: 4px solid; transform: rotate(-9deg); }
.trail-samples i:nth-child(1){top:24px;border-color:var(--cyan);filter:drop-shadow(0 0 8px var(--cyan))}.trail-samples i:nth-child(2){top:68px;border-color:var(--orange);filter:drop-shadow(0 0 8px var(--orange));transform:rotate(5deg)}.trail-samples i:nth-child(3){top:105px;border-color:var(--violet);filter:drop-shadow(0 0 8px var(--violet));transform:rotate(-2deg)}

.stage-map { height: 460px; position: relative; border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(145deg, #10151c, #090c11); overflow: hidden; box-shadow: var(--shadow); }
.stage-map::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.1) 1px, transparent 1px); background-size: 26px 26px; opacity: .25; }
.map-path { position: absolute; inset: 25px 35px; width: calc(100% - 70px); height: calc(100% - 50px); fill: none; stroke: rgba(255,255,255,.14); stroke-width: 4; stroke-dasharray: 9 12; }
.map-path-glow { stroke: var(--cyan); stroke-width: 2; stroke-dasharray: 300 1000; filter: drop-shadow(0 0 7px var(--cyan)); animation: mapFlow 5s ease-in-out infinite; }
.stage-node { position: absolute; width: 94px; height: 94px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); color: #d9e0e9; background: #111720; box-shadow: 0 15px 30px rgba(0,0,0,.4); cursor: pointer; display: grid; place-items: center; align-content: center; transition: transform .25s, border-color .25s; }
.stage-node:hover { transform: scale(1.07); border-color: var(--cyan); }
.stage-node span { font-weight: 950; font-size: 1.35rem; line-height: 1; }
.stage-node small { font-size: .5rem; letter-spacing: .11em; margin-top: 6px; color: #8e98a6; }
.stage-node.complete { background: linear-gradient(145deg, rgba(49,214,226,.18), #111720); border-color: rgba(49,214,226,.38); }
.stage-node.complete::after { content: "✓"; position: absolute; right: -1px; top: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--cyan); color: #071113; font-weight: 950; }
.stage-node.current { width: 112px; height: 112px; border: 2px solid var(--orange); box-shadow: 0 0 0 8px rgba(255,95,54,.08), 0 18px 40px rgba(0,0,0,.45); animation: currentNode 2s ease-in-out infinite; }
.stage-node.boss { border-color: #d9ac54; background: radial-gradient(circle, rgba(217,172,84,.2), #111720 60%); }
.n1{left:4%;top:67%}.n2{left:25%;top:17%}.n3{left:48%;top:57%}.n4{left:69%;top:14%}.n5{right:4%;top:22%}
.map-caption { position: absolute; left: 32px; bottom: 24px; display: grid; }
.map-caption strong { color: var(--orange); font-size: .7rem; letter-spacing: .17em; }
.map-caption span { font-size: 1.1rem; font-weight: 850; }

.skins { background: linear-gradient(180deg, transparent, rgba(49,214,226,.025), transparent); }
.skin-showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: center; }
.skin-card { position: relative; min-height: 500px; padding: 25px; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(155deg, rgba(255,255,255,.055), #0d1117 55%); overflow: hidden; transition: transform .35s ease, border-color .35s ease; }
.skin-card:hover { transform: translateY(-8px) rotate(.5deg); }
.skin-card::before { content: ""; position: absolute; width: 250px; height: 250px; border-radius: 50%; left: 50%; top: 31%; transform: translate(-50%,-50%); background: var(--skin-color); filter: blur(70px); opacity: .13; }
.skin-card.cyan { --skin-color: var(--cyan); }.skin-card.orange { --skin-color: var(--orange); }.skin-card.violet { --skin-color: var(--violet); }
.skin-card.featured { min-height: 555px; border-color: rgba(255,95,54,.35); box-shadow: 0 24px 80px rgba(255,95,54,.08); }
.rarity { display: inline-flex; padding: 6px 9px; border: 1px solid color-mix(in srgb, var(--skin-color), transparent 55%); border-radius: 8px; color: var(--skin-color); font-size: .62rem; font-weight: 950; letter-spacing: .14em; }
.skin-card h3 { font-size: 1.5rem; margin: 12px 0 7px; }
.skin-card p { color: var(--muted); min-height: 55px; font-size: .9rem; }
.skin-figure { height: 275px; position: relative; display: grid; place-items: center; }
.skin-figure span { position: absolute; width: 73px; height: 73px; top: 37px; border-radius: 50%; background: #050608; border: 2px solid color-mix(in srgb, var(--skin-color), white 17%); box-shadow: 0 0 24px color-mix(in srgb, var(--skin-color), transparent 45%); }
.skin-figure i, .skin-figure b { position: absolute; display: block; width: 17px; height: 150px; top: 103px; border-radius: 20px; background: #050608; box-shadow: inset 0 0 6px var(--skin-color), 0 0 18px color-mix(in srgb, var(--skin-color), transparent 60%); }
.skin-figure i { transform: rotate(17deg); }.skin-figure b { transform: rotate(-17deg); }
.skin-figure::before, .skin-figure::after { content:""; position:absolute; top:113px; width:130px; height:16px; border-radius:20px; background:#050608; box-shadow:inset 0 0 6px var(--skin-color); }
.skin-figure::before{transform:rotate(25deg)}.skin-figure::after{transform:rotate(-25deg)}
.price { display: inline-flex; align-items: center; gap: 9px; padding: 9px 13px; border-radius: 11px; background: rgba(255,255,255,.055); font-weight: 900; }
.mini-core { width: 14px; height: 14px; display: inline-block; transform: rotate(45deg); border: 2px solid var(--cyan); background: rgba(49,214,226,.16); box-shadow: 0 0 8px rgba(49,214,226,.35); }

.launch-panel { position: relative; min-height: 450px; border-radius: 34px; border: 1px solid rgba(255,255,255,.14); overflow: hidden; background: linear-gradient(120deg, rgba(49,214,226,.08), #10141b 38%, #0b0e13 70%, rgba(255,95,54,.08)); display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; padding: 45px 6%; box-shadow: var(--shadow); }
.launch-panel > img { width: min(360px, 100%); margin: auto; filter: drop-shadow(0 24px 35px rgba(0,0,0,.6)); animation: visualFloat 5s ease-in-out infinite; }
.launch-copy { position: relative; z-index: 2; }
.launch-copy h2 { font-size: clamp(2.5rem, 5vw, 4.6rem); line-height: .98; letter-spacing: -.055em; margin: 17px 0 20px; }
.launch-copy p { color: var(--muted); max-width: 600px; }
.launch-actions { display: flex; align-items: center; gap: 23px; flex-wrap: wrap; margin-top: 28px; }
.play-badge { min-width: 205px; min-height: 60px; display: inline-flex; align-items: center; gap: 12px; padding: 10px 17px; border-radius: 13px; background: #f3f6fa; color: #101318; box-shadow: 0 15px 30px rgba(0,0,0,.3); }
.play-badge svg { width: 29px; fill: currentColor; }
.play-badge span { display: grid; font-weight: 900; line-height: 1.12; }
.play-badge small { font-size: .55rem; letter-spacing: .11em; }
.text-link { color: #d7dce4; font-weight: 800; border-bottom: 1px solid rgba(255,255,255,.24); padding-bottom: 4px; }
.text-link span { color: var(--cyan); }
.launch-ink { position: absolute; width: 520px; height: 220px; right: -140px; bottom: -80px; border: 24px solid rgba(255,95,54,.12); border-radius: 50%; transform: rotate(-18deg); filter: blur(2px); }
.launch-ink::after { content:""; position:absolute; inset:22px; border:12px solid rgba(49,214,226,.1); border-radius:50%; }

.site-footer { padding: 10px 20px 32px; }
.footer-shell { width: min(var(--max), 100%); margin-inline: auto; border-top: 1px solid var(--line); padding-top: 35px; }
.footer-brand { display: flex; align-items: center; gap: 13px; }
.footer-brand img { width: 58px; height: 58px; object-fit: contain; }
.footer-brand div { display: grid; }
.footer-brand strong { letter-spacing: .14em; }
.footer-brand span { color: var(--muted); font-size: .8rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; margin: 34px 0; color: #acb4bf; font-size: .86rem; }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: #727d8b; font-size: .74rem; }

/* Privacy page */
.legal-page { background: var(--bg); }
.legal-header { position: sticky; background: rgba(7,9,13,.88); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.legal-back svg { width: 18px; }
.legal-main { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 45px; align-items: start; padding-top: 64px; padding-bottom: 100px; }
.legal-sidebar { position: sticky; top: 105px; border: 1px solid var(--line); border-radius: 20px; background: rgba(15,19,26,.76); padding: 20px; }
.legal-logo { display: flex; align-items: center; gap: 10px; padding-bottom: 17px; margin-bottom: 12px; border-bottom: 1px solid var(--line); font-weight: 900; }
.legal-logo img { width: 40px; }
.legal-sidebar nav { display: grid; }
.legal-sidebar nav a { padding: 9px 10px; color: #9ca6b2; border-radius: 9px; font-size: .82rem; transition: color .2s, background .2s; }
.legal-sidebar nav a:hover { background: rgba(49,214,226,.08); color: var(--cyan); }
.legal-document { max-width: 850px; }
.legal-title { padding-bottom: 38px; border-bottom: 1px solid var(--line); }
.legal-title h1 { font-size: clamp(3rem, 7vw, 5.6rem); margin-bottom: 18px; }
.legal-summary { color: var(--muted); font-size: 1.12rem; max-width: 700px; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.legal-meta span { padding: 10px 13px; border: 1px solid var(--line); border-radius: 10px; color: #aab3c0; font-size: .78rem; }
.legal-meta strong { color: white; margin-right: 6px; }
.legal-document section { padding: 42px 0 8px; scroll-margin-top: 100px; }
.legal-document h2 { font-size: 1.75rem; letter-spacing: -.025em; margin-bottom: 17px; }
.legal-document h3 { font-size: 1.05rem; color: #e8edf3; margin: 26px 0 9px; }
.legal-document p, .legal-document li { color: #a9b2be; }
.legal-document ul { padding-left: 22px; }
.legal-document li { margin: 7px 0; padding-left: 4px; }
.privacy-highlight { margin: 28px 0 4px; display: flex; gap: 15px; align-items: center; padding: 18px; border: 1px solid rgba(49,214,226,.23); border-radius: 15px; background: rgba(49,214,226,.07); }
.privacy-highlight p { margin: 2px 0 0; font-size: .88rem; }
.privacy-icon { flex: 0 0 37px; width: 37px; height: 37px; border-radius: 50%; display: grid; place-items: center; background: var(--cyan); color: #061214; font-weight: 950; }
.contact-card { display: grid; gap: 5px; padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: #10151c; font-style: normal; }
.contact-card a { color: var(--cyan); overflow-wrap: anywhere; }
.contact-card span { color: var(--muted); }
.legal-end { margin-top: 60px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; color: #7d8794; }
.legal-end img { width: 45px; }
.legal-end p { margin: 0; }
.legal-footer { padding-top: 0; }
.legal-footer .footer-bottom a { color: var(--cyan); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes visualFloat { 0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-12px) rotate(.5deg)} }
@keyframes orbitA { to{transform:rotate(348deg) scale(1.03,.74)} }
@keyframes orbitB { to{transform:rotate(412deg) scale(1.07,.79)} }
@keyframes nodePulse { 0%,100%{transform:scale(.86);opacity:.6}50%{transform:scale(1.2);opacity:1} }
@keyframes chipFloat { 0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)} }
@keyframes scrollDot { 0%{opacity:0;transform:translate(-50%,0)}35%{opacity:1}100%{opacity:0;transform:translate(-50%,13px)} }
@keyframes marquee { to{transform:translateX(-50%)} }
@keyframes crackGlow { 0%,100%{opacity:.5;filter:none}50%{opacity:1;filter:drop-shadow(0 0 8px var(--orange))} }
@keyframes laserPulse { 0%,100%{opacity:.55;transform:scaleX(.8)}50%{opacity:1;transform:scaleX(1.5)} }
@keyframes portalPulse { 0%,100%{transform:scale(.96);filter:hue-rotate(0)}50%{transform:scale(1.03);filter:hue-rotate(18deg)} }
@keyframes crystalFloat { 0%,100%{transform:translateY(0) rotate(45deg)}50%{transform:translateY(-12px) rotate(225deg)} }
@keyframes fighterMove { 0%,18%,100%{transform:translate(0,0) rotate(0)}38%{transform:translate(80px,-22px) rotate(-7deg)}58%{transform:translate(220px,-72px) rotate(8deg)}75%{transform:translate(310px,4px) rotate(-5deg)} }
@keyframes streak { 0%,18%,100%{opacity:0;transform:translateX(-15px)}38%,75%{opacity:.8;transform:translateX(0)} }
@keyframes impact { 0%,55%,100%{opacity:0;transform:scale(.2)}61%{opacity:1;transform:scale(1.2)}70%{opacity:0;transform:scale(1.8)} }
@keyframes mapFlow { 0%{stroke-dashoffset:0}100%{stroke-dashoffset:-430} }
@keyframes currentNode { 0%,100%{box-shadow:0 0 0 7px rgba(255,95,54,.06),0 18px 40px rgba(0,0,0,.45)}50%{box-shadow:0 0 0 14px rgba(255,95,54,0),0 18px 40px rgba(0,0,0,.45)} }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr 1fr; gap: 20px; }
  .hero-visual { min-height: 490px; }
  .gameplay-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-bento { grid-template-columns: repeat(2, 1fr); }
  .feature-large { grid-column: span 2; min-height: 540px; }
  .feature-wide { grid-column: span 2; }
  .stage-node { width: 82px; height: 82px; }
  .stage-node.current { width: 98px; height: 98px; }
}

@media (max-width: 820px) {
  .site-header { padding-inline: 14px; }
  .menu-toggle { display: block; cursor: pointer; }
  .menu-toggle.active span:nth-child(1){transform:translateY(6px) rotate(45deg)}
  .menu-toggle.active span:nth-child(2){opacity:0}
  .menu-toggle.active span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
  .primary-nav { position: absolute; top: calc(100% + 8px); left: 14px; right: 14px; display: grid; gap: 3px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: rgba(9,12,17,.96); backdrop-filter: blur(18px); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
  .primary-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .primary-nav a { padding: 11px 12px; border-radius: 9px; }
  .primary-nav a:hover { background: rgba(255,255,255,.05); }
  .primary-nav > a::after { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 130px; text-align: center; }
  .hero-copy { margin-inline: auto; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-facts { justify-content: center; }
  .hero-visual { min-height: 450px; order: -1; }
  .eyebrow { justify-content: center; }
  .scroll-cue { display: none; }
  .demo-fighter { left: 2%; }
  .laser-beam { left: 49%; }
  .skin-showcase { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .skin-card, .skin-card.featured { min-height: 510px; }
  .launch-panel { grid-template-columns: 1fr; text-align: center; }
  .launch-panel > img { width: 260px; }
  .launch-actions { justify-content: center; }
  .legal-main { grid-template-columns: 1fr; }
  .legal-sidebar { position: relative; top: auto; }
  .legal-sidebar nav { display: flex; gap: 5px; overflow-x: auto; padding-bottom: 5px; }
  .legal-sidebar nav a { white-space: nowrap; }
}

@media (max-width: 620px) {
  .section-shell { width: min(100% - 28px, var(--max)); }
  .section-block { padding-block: 82px; }
  .brand span { font-size: .78rem; }
  .brand img { width: 39px; height: 39px; }
  h1 { font-size: clamp(3rem, 16vw, 4.6rem); }
  .hero { padding-top: 105px; padding-bottom: 55px; }
  .hero-visual { min-height: 365px; }
  .logo-orbit { width: min(92vw, 380px); }
  .floating-chip { font-size: .55rem; padding: 7px 9px; }
  .hero-facts { gap: 18px; }
  .hero-facts div { min-width: 86px; }
  .gameplay-grid { grid-template-columns: 1fr; }
  .step-card { min-height: 285px; }
  .demo-topbar { grid-template-columns: 1fr 1.2fr; padding-inline: 14px; gap: 12px; }
  .demo-topbar span:last-child { display: none; }
  .arena { height: 390px; }
  .demo-fighter { width: 185px; bottom: 32px; }
  .laser-beam { left: 56%; height: 190px; }
  .spikes { left: 60%; }
  .rune-switch { left: 73%; }
  .portal { right: 1%; transform: scale(.85); transform-origin: bottom; }
  .frame-strip { grid-template-columns: repeat(4, 1fr); padding: 10px; }
  .frame { padding: 8px 6px; align-items: center; }
  .frame span { font-size: .58rem; }
  .demo-play { grid-column: span 4; min-height: 50px; }
  .feature-bento { grid-template-columns: 1fr; }
  .feature-card, .feature-large, .feature-wide { grid-column: span 1; min-height: 310px; }
  .feature-large { min-height: 520px; }
  .feature-wide { grid-template-columns: 1fr; }
  .joint-graphic { transform: scale(.8) rotate(7deg); transform-origin: right top; }
  .stage-map { height: 700px; }
  .map-path { display: none; }
  .stage-node { width: 90px; height: 90px; }
  .stage-node.current { width: 105px; height: 105px; }
  .n1{left:8%;top:12%}.n2{right:7%;left:auto;top:25%}.n3{left:11%;top:43%}.n4{right:8%;left:auto;top:61%}.n5{left:33%;right:auto;top:79%}
  .map-caption { left: 20px; bottom: 15px; }
  .launch-panel { padding: 38px 20px; }
  .footer-bottom { flex-direction: column; }
  .legal-back { width: 46px; min-width: 46px; padding: 0; }
  .legal-back svg { width: 20px; }
  .legal-back { font-size: 0; }
  .legal-main { padding-top: 36px; }
  .legal-title h1 { font-size: 3.2rem; }
}

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