:root {
  --ink: #fdf8eb;
  --muted: #c7d1e8;
  --night: #03102f;
  --night-2: #071d54;
  --cobalt: #1046b5;
  --cobalt-bright: #2976ff;
  --ruby: #c81935;
  --ruby-deep: #6f1021;
  --ivory: #f5e9d2;
  --gold: #e0ae38;
  --gold-light: #ffe37a;
  --gold-deep: #8c5712;
  --cyan: #40e8ff;
  --emerald: #15885a;
  --violet: #713ac6;
  --surface: rgba(8, 27, 73, 0.76);
  --surface-soft: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 227, 122, 0.26);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
  --shadow-gold: 0 0 40px rgba(224, 174, 56, 0.24);
  --radius-sm: 18px;
  --radius-md: 28px;
  --radius-lg: 42px;
  --shell: min(1240px, calc(100vw - 2rem));
  --section-space: clamp(5rem, 10vw, 10rem);
  --ease-soft: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background:
    radial-gradient(circle at 50% -10%, rgba(41, 118, 255, 0.26), transparent 34rem),
    linear-gradient(180deg, #061a4c 0%, var(--night) 28%, #040c24 64%, #020817 100%);
  color: var(--ink);
  font-family: "Fredoka", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1rem, 0.94rem + 0.18vw, 1.125rem);
  font-weight: 400;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
button, a { font: inherit; }
a { color: inherit; }

::selection { background: var(--gold); color: var(--night); }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
  border-radius: 8px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  padding: .8rem 1.1rem;
  transform: translateY(-180%);
  border-radius: 999px;
  background: var(--ivory);
  color: var(--night);
  font-weight: 600;
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

.shell { width: var(--shell); margin-inline: auto; }
.section { position: relative; padding-block: var(--section-space); }

.eyebrow {
  margin: 0 0 .85rem;
  color: var(--gold-light);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-title {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5.8rem);
  font-weight: 650;
  letter-spacing: -.045em;
  line-height: .96;
}

.section-heading { margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.section-heading > p:last-child { max-width: 50rem; color: var(--muted); }
.section-heading--center { display: grid; justify-items: center; text-align: center; }
.section-heading--center .section-title { max-width: 14ch; }
.section-heading--split { display: grid; gap: 2rem; }
.section-heading--split > p { max-width: 34rem; margin: 0; align-self: end; }

.gradient-text {
  color: transparent;
  background: linear-gradient(105deg, var(--gold-light) 0%, #fff3b9 34%, var(--gold) 62%, #ff9e4a 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.page-progress {
  position: fixed;
  z-index: 110;
  inset: 0 0 auto;
  height: 3px;
  background: rgba(255, 255, 255, .04);
}

.page-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--ruby), var(--gold-light), var(--cyan));
  box-shadow: 0 0 18px var(--gold);
}

.ambient-glow {
  position: fixed;
  z-index: -1;
  width: 35vw;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: .18;
  filter: blur(100px);
  pointer-events: none;
}

.ambient-glow--one { top: 10vh; left: -15vw; background: var(--cobalt-bright); }
.ambient-glow--two { right: -16vw; bottom: 5vh; background: var(--ruby); }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  width: 100%;
  padding-top: max(.8rem, env(safe-area-inset-top));
  transition: background .35s ease, border-color .35s ease, transform .35s ease;
}

.site-header.is-scrolled {
  border-bottom: 1px solid rgba(255, 227, 122, .12);
  background: rgba(3, 13, 40, .78);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
  backdrop-filter: blur(22px) saturate(135%);
}

.header-inner { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { position: relative; z-index: 2; width: 116px; height: 58px; overflow: hidden; }
.brand img { width: 100%; height: 100%; object-fit: contain; }

.primary-nav { display: flex; align-items: center; gap: clamp(.6rem, 1.6vw, 1.5rem); }
.primary-nav a { position: relative; padding: .65rem .25rem; color: #dfe7f7; font-size: .9rem; font-weight: 500; text-decoration: none; }
.primary-nav a:not(.nav-cta)::after { position: absolute; right: .25rem; bottom: .4rem; left: .25rem; height: 2px; transform: scaleX(0); transform-origin: right; background: var(--gold-light); content: ""; transition: transform .3s var(--ease-soft); }
.primary-nav a:hover::after, .primary-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.primary-nav .nav-cta { padding: .72rem 1.15rem; border: 1px solid rgba(255, 227, 122, .5); border-radius: 999px; background: linear-gradient(180deg, rgba(224, 174, 56, .22), rgba(140, 87, 18, .16)); color: var(--gold-light); }
.menu-toggle { display: none; width: 48px; height: 48px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: rgba(3, 13, 40, .72); color: white; }
.menu-toggle span { display: block; width: 100%; height: 2px; margin: 5px 0; border-radius: 2px; background: currentColor; transition: transform .25s ease, opacity .25s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  align-items: center;
  padding: clamp(7rem, 12vh, 10rem) 0 clamp(4rem, 8vh, 7rem);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    radial-gradient(circle at 76% 48%, rgba(28, 93, 238, .45), transparent 28%),
    radial-gradient(circle at 62% 40%, rgba(224, 174, 56, .24), transparent 26%),
    linear-gradient(110deg, rgba(3, 15, 46, .98) 12%, rgba(7, 32, 92, .82) 62%, rgba(82, 16, 42, .58) 100%);
  content: "";
}

.hero::after {
  position: absolute;
  z-index: -2;
  right: -15%;
  bottom: -30%;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(224, 174, 56, .23), transparent 62%);
  content: "";
  filter: blur(10px);
}

.hero-stars {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .55;
  background-image:
    radial-gradient(circle, rgba(255, 243, 185, .9) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(64, 232, 255, .65) 0 1px, transparent 1.5px);
  background-position: 0 0, 38px 65px;
  background-size: 110px 110px, 160px 160px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 90%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 90%);
}

.hero-grid { display: grid; align-items: center; gap: clamp(1rem, 4vw, 4rem); }
.hero-copy { position: relative; z-index: 4; }
.hero-title { margin: 0; font-size: clamp(3.5rem, 8.7vw, 8.5rem); font-weight: 700; letter-spacing: -.065em; line-height: .86; }
.title-mask { display: block; overflow: hidden; padding-bottom: .08em; }
.title-mask > span { display: block; }
.hero-lede { max-width: 42rem; margin: clamp(1.5rem, 3vw, 2.2rem) 0 0; color: #d9e3f5; font-size: clamp(1.05rem, 1rem + .35vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.button {
  position: relative;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: .88rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: transform .25s var(--ease-soft), box-shadow .25s ease, border-color .25s ease;
}

.button::before { position: absolute; inset: -30% auto -30% -35%; width: 25%; transform: skewX(-20deg); background: rgba(255,255,255,.5); content: ""; filter: blur(8px); transition: left .55s var(--ease-soft); }
.button:hover::before { left: 120%; }
.button:hover { transform: translateY(-2px); }
.button--primary { border-color: #ffde6a; background: linear-gradient(180deg, #ffe57e 0%, #df9e24 55%, #9a5e12 100%); box-shadow: inset 0 2px 1px rgba(255,255,255,.55), 0 14px 34px rgba(224,174,56,.25); color: #1f1303; }
.button--ghost { border-color: rgba(218, 230, 251, .28); background: rgba(255,255,255,.06); color: white; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.button--ghost:hover { border-color: rgba(255,227,122,.55); box-shadow: 0 12px 32px rgba(0,0,0,.2); }

.hero-proof { display: flex; flex-wrap: wrap; gap: 1.4rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.hero-proof li { display: grid; grid-template-columns: auto auto; align-items: center; gap: 0 .55rem; }
.hero-proof strong { grid-row: span 2; color: var(--gold-light); font-size: 1.8rem; line-height: 1; }
.hero-proof span { max-width: 5rem; color: var(--muted); font-size: .78rem; line-height: 1.15; text-transform: uppercase; }

.hero-stage { position: relative; min-height: clamp(490px, 58vw, 780px); }
.hero-stage::before { position: absolute; z-index: -1; right: 5%; bottom: 8%; width: 76%; aspect-ratio: 1; border: 1px solid rgba(255,227,122,.24); border-radius: 50%; background: radial-gradient(circle, rgba(41,118,255,.35), rgba(6,26,76,.02) 62%, transparent 63%); box-shadow: inset 0 0 80px rgba(224,174,56,.14), 0 0 80px rgba(41,118,255,.2); content: ""; }
.hero-crest { position: absolute; z-index: 1; top: 2%; right: -4%; width: min(56%, 500px); opacity: .88; filter: drop-shadow(0 24px 25px rgba(0,0,0,.28)); }
.hero-king { position: absolute; z-index: 3; right: 20%; bottom: -8%; width: min(58%, 540px); filter: drop-shadow(0 34px 32px rgba(0,0,0,.42)); }
.hero-robot { position: absolute; z-index: 2; right: -6%; bottom: -2%; width: min(39%, 340px); filter: drop-shadow(0 28px 24px rgba(0,0,0,.4)); }
.floating-puck { position: absolute; z-index: 5; width: clamp(56px, 6vw, 96px); filter: drop-shadow(0 12px 18px rgba(0,0,0,.34)); }
.floating-puck--black { top: 36%; left: 5%; transform: rotate(-11deg); }
.floating-puck--queen { right: 2%; top: 26%; transform: rotate(8deg); }
.hero-orbit { position: absolute; z-index: -1; border: 1px solid rgba(255,227,122,.12); border-radius: 50%; }
.hero-orbit--one { width: 58vw; height: 58vw; right: -12vw; top: 2vh; }
.hero-orbit--two { width: 36vw; height: 36vw; right: 4vw; top: 14vh; }
.scroll-cue { position: absolute; z-index: 8; bottom: max(1.2rem, env(safe-area-inset-bottom)); left: 50%; display: grid; justify-items: center; gap: .45rem; transform: translateX(-50%); color: var(--muted); font-size: .72rem; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.scroll-cue i { display: block; width: 1px; height: 32px; background: linear-gradient(var(--gold-light), transparent); }

.story { overflow: hidden; background: linear-gradient(180deg, rgba(5,18,54,.35), rgba(28,8,33,.42)); }
.story-grid { display: grid; align-items: center; gap: clamp(3rem, 8vw, 8rem); }
.section-copy > p:not(.eyebrow) { max-width: 44rem; color: var(--muted); }
.story-quote { position: relative; max-width: 39rem; margin-top: 2.2rem; padding: 1.6rem 1.6rem 1.6rem 4.2rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.025)); box-shadow: inset 0 1px rgba(255,255,255,.08); }
.story-quote > span { position: absolute; top: -.25rem; left: 1.2rem; color: var(--gold); font-size: 5rem; line-height: 1; }
.story-quote blockquote { margin: 0; color: white; font-weight: 500; line-height: 1.45; }
.story-quote cite { display: block; margin-top: .7rem; color: var(--gold-light); font-size: .82rem; font-style: normal; }
.visual-frame { position: relative; width: min(100%, 420px); margin-inline: auto; padding: 10px; border: 1px solid rgba(255,227,122,.35); border-radius: 48px; background: linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.025)); box-shadow: var(--shadow), var(--shadow-gold); }
.visual-frame::before { position: absolute; z-index: -1; inset: 16% -18%; border-radius: 50%; background: radial-gradient(circle, rgba(200,25,53,.28), transparent 60%); content: ""; filter: blur(28px); }
.visual-frame img { border-radius: 38px; }
.visual-badge { position: absolute; display: grid; min-width: 145px; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 17px; background: rgba(3,13,40,.82); box-shadow: 0 18px 32px rgba(0,0,0,.34); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.visual-badge strong { color: white; font-size: .86rem; }
.visual-badge span { color: var(--gold-light); font-size: .72rem; }
.visual-badge--top { top: 13%; right: -18%; }
.visual-badge--bottom { bottom: 11%; left: -19%; }

.game-worlds { overflow: clip; }
.worlds-viewport { width: 100%; overflow: hidden; }
.worlds-track { display: flex; gap: clamp(1rem, 2vw, 2rem); width: max-content; padding-inline: max(1rem, calc((100vw - 1240px) / 2)); }
.world-card { position: relative; display: grid; width: min(1160px, calc(100vw - 2rem)); min-height: 680px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(255,255,255,.1), rgba(255,255,255,.025)); box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.11); isolation: isolate; }
.world-card::before { position: absolute; z-index: -2; inset: 0; content: ""; }
.world-card::after { position: absolute; z-index: -1; inset: 0; opacity: .32; background-image: radial-gradient(circle, rgba(255,255,255,.2) 0 1px, transparent 1.5px); background-size: 34px 34px; content: ""; -webkit-mask-image: linear-gradient(90deg, transparent, black 60%); mask-image: linear-gradient(90deg, transparent, black 60%); }
.world-card--box::before { background: radial-gradient(circle at 78% 55%, rgba(224,174,56,.34), transparent 28%), linear-gradient(125deg, #091f55, #03112f 62%, #3b2209); }
.world-card--candy::before { background: radial-gradient(circle at 72% 40%, rgba(255,102,178,.38), transparent 30%), linear-gradient(125deg, #681238, #16124f 62%, #0d487f); }
.world-card--liquid::before { background: radial-gradient(circle at 76% 38%, rgba(64,232,255,.33), transparent 30%), linear-gradient(125deg, #041d4f, #091033 60%, #451125); }
.world-copy { position: relative; z-index: 4; align-self: center; padding: clamp(2rem, 6vw, 5.6rem); }
.world-index { position: absolute; top: 1.3rem; right: 1.6rem; color: rgba(255,255,255,.12); font-size: clamp(4rem, 8vw, 8rem); font-weight: 700; line-height: 1; }
.world-copy h3 { max-width: 10ch; margin: 0 0 1.2rem; font-size: clamp(2.5rem, 5.2vw, 5.6rem); letter-spacing: -.05em; line-height: .95; }
.world-copy > p:not(.eyebrow) { max-width: 36rem; color: #d8e1f3; }
.feature-pills { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.feature-pills li { padding: .55rem .8rem; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.06); color: #eff4ff; font-size: .78rem; }
.world-art { position: relative; min-height: 450px; }
.world-screen { position: absolute; z-index: 2; right: 10%; bottom: -22%; width: min(44%, 380px); transform: rotate(4deg); filter: drop-shadow(0 35px 35px rgba(0,0,0,.48)); }
.world-screen img { border-radius: 38px 38px 0 0; }
.world-object { position: absolute; filter: drop-shadow(0 25px 28px rgba(0,0,0,.42)); }
.world-object--board { z-index: 1; right: 34%; bottom: 5%; width: 44%; transform: rotate(-8deg); }
.world-object--striker-a { z-index: 3; right: 2%; top: 18%; width: 24%; transform: rotate(9deg); }
.world-object--striker-b { z-index: 1; left: 3%; bottom: 5%; width: 20%; transform: rotate(-12deg); }
.world-object--duke { z-index: 3; right: 1%; bottom: -15%; width: min(48%, 430px); }

.gameplay { background: linear-gradient(180deg, transparent, rgba(16,70,181,.12), transparent); }
.gameplay-grid { display: grid; gap: 1rem; }
.mechanic-card, .mode-card, .principle-card { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.11); background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.025)); box-shadow: inset 0 1px rgba(255,255,255,.09), 0 22px 50px rgba(0,0,0,.22); transition: border-color .3s ease, transform .3s var(--ease-soft), box-shadow .3s ease; }
.mechanic-card:hover, .mode-card:hover, .principle-card:hover, .principle-card:focus-visible { border-color: rgba(255,227,122,.42); box-shadow: inset 0 1px rgba(255,255,255,.12), 0 26px 58px rgba(0,0,0,.31), 0 0 32px rgba(224,174,56,.12); }
.mechanic-card { min-height: 350px; padding: 1.4rem; border-radius: var(--radius-md); }
.mechanic-card::after { position: absolute; right: -30%; bottom: -45%; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(41,118,255,.2), transparent 65%); content: ""; }
.mechanic-card img { position: relative; z-index: 1; width: min(58%, 180px); margin: .5rem auto 1rem; filter: drop-shadow(0 16px 18px rgba(0,0,0,.32)); }
.mechanic-card h3 { margin: 0; font-size: 1.35rem; }
.mechanic-card p { margin: .45rem 0 0; color: var(--muted); font-size: .92rem; }
.mechanic-number { color: var(--gold-light); font-size: .75rem; font-weight: 600; letter-spacing: .14em; }
.modes-grid { display: grid; gap: 1rem; margin-top: clamp(3rem, 6vw, 6rem); }
.mode-card { padding: 1.1rem 1.1rem 1.4rem; border-radius: var(--radius-md); text-align: center; }
.mode-card img { width: 100%; aspect-ratio: 1.5; object-fit: contain; filter: drop-shadow(0 18px 20px rgba(0,0,0,.3)); }
.mode-card h3 { margin: .7rem 0 .2rem; font-size: 1.18rem; }
.mode-card p { margin: 0; color: var(--muted); font-size: .88rem; }

.showcase { overflow: hidden; background: radial-gradient(circle at 50% 50%, rgba(200,25,53,.18), transparent 44%); }
.phone-gallery { display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 3vw, 3rem); }
.phone-shot { position: relative; margin: 0; padding: 7px; border: 1px solid rgba(255,227,122,.3); border-radius: 38px; background: rgba(255,255,255,.08); box-shadow: var(--shadow); }
.phone-shot img { border-radius: 31px; }
.phone-shot figcaption { position: absolute; bottom: -2.7rem; left: 50%; width: max-content; transform: translateX(-50%); color: var(--muted); font-size: .8rem; }
.phone-shot--hero { z-index: 2; width: min(31vw, 360px); transform: translateY(-2rem); }
.phone-shot--small { width: min(25vw, 290px); opacity: .84; }
.phone-shot--small:first-child { transform: rotate(-6deg); }
.phone-shot--small:last-child { transform: rotate(6deg); }

.armory { overflow: hidden; }
.armory-layout { display: grid; align-items: center; gap: clamp(3rem, 8vw, 8rem); }
.board-stack { position: relative; min-height: 610px; }
.board-card { position: absolute; width: min(78%, 520px); margin: 0; padding: .7rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(7,29,84,.72); box-shadow: var(--shadow); }
.board-card img { border-radius: 18px; }
.board-card figcaption { padding: .55rem .4rem .1rem; color: var(--gold-light); font-size: .82rem; }
.board-card--one { top: 0; left: 0; transform: rotate(-7deg); }
.board-card--two { top: 22%; right: 0; transform: rotate(6deg); }
.board-card--three { bottom: 0; left: 6%; transform: rotate(-2deg); }
.striker-cloud { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.striker-cloud figure { position: relative; margin: 0; padding: .75rem; border: 1px solid rgba(255,255,255,.1); border-radius: 26px; background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); text-align: center; }
.striker-cloud img { width: 100%; filter: drop-shadow(0 12px 14px rgba(0,0,0,.3)); }
.striker-cloud figcaption { color: var(--muted); font-size: .74rem; }

.tables { overflow: hidden; background: linear-gradient(180deg, transparent, rgba(113,58,198,.12), transparent); }
.table-road { display: grid; width: min(1380px, calc(100vw - 1rem)); margin: 0 auto; padding: 0; gap: .8rem; counter-reset: tables; list-style: none; }
.table-road li { position: relative; display: grid; min-width: 0; justify-items: center; overflow: hidden; padding: .8rem .5rem 1rem; border: 1px solid rgba(255,255,255,.1); border-radius: 24px; background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); text-align: center; }
.table-road li::before { position: absolute; inset: auto 10% 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); content: ""; opacity: .55; }
.table-road img { width: 100%; aspect-ratio: 1.12; object-fit: contain; filter: drop-shadow(0 14px 15px rgba(0,0,0,.28)); }
.table-road span { display: inline-flex; margin-top: .35rem; padding: .18rem .55rem; border-radius: 999px; background: rgba(224,174,56,.14); color: var(--gold-light); font-size: .7rem; font-weight: 600; }
.table-road strong { margin-top: .35rem; font-size: .78rem; line-height: 1.15; }

.characters { overflow: hidden; }
.character-feature { display: grid; gap: 1rem; }
.character-spotlight { position: relative; min-height: 590px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); background: linear-gradient(150deg, rgba(255,255,255,.1), rgba(255,255,255,.02)); box-shadow: var(--shadow); isolation: isolate; }
.character-spotlight::before { position: absolute; z-index: -2; inset: 0; content: ""; }
.character-spotlight--cedric::before { background: radial-gradient(circle at 70% 32%, rgba(224,174,56,.34), transparent 30%), linear-gradient(145deg, #123c8f, #071638 65%, #39162b); }
.character-spotlight--circuit::before { background: radial-gradient(circle at 70% 32%, rgba(64,232,255,.34), transparent 30%), linear-gradient(145deg, #0b4f86, #071638 65%, #202438); }
.character-spotlight--duke::before { background: radial-gradient(circle at 70% 32%, rgba(200,25,53,.32), transparent 30%), linear-gradient(145deg, #391329, #071638 65%, #18191f); }
.character-spotlight > div { position: relative; z-index: 3; max-width: 25rem; padding: 2rem; }
.character-spotlight h3 { margin: 0 0 .8rem; font-size: clamp(2.1rem, 3.2vw, 3.5rem); line-height: 1; }
.character-spotlight p:not(.eyebrow) { color: #d9e3f5; }
.character-role { display: inline-flex; padding: .45rem .7rem; border: 1px solid var(--line); border-radius: 999px; color: var(--gold-light); font-size: .74rem; }
.character-spotlight picture { position: absolute; right: -12%; bottom: -15%; width: 90%; }
.character-spotlight img { width: 100%; max-height: 520px; object-fit: contain; object-position: bottom right; filter: drop-shadow(0 28px 25px rgba(0,0,0,.42)); }
.avatar-grid { display: grid; gap: .8rem; margin-top: 1rem; }
.avatar-grid figure { margin: 0; padding: .75rem; border: 1px solid rgba(255,255,255,.1); border-radius: 24px; background: rgba(255,255,255,.045); text-align: center; transition: transform .3s var(--ease-soft), border-color .3s ease; }
.avatar-grid figure:hover { border-color: var(--line); }
.avatar-grid img { width: 100%; filter: drop-shadow(0 14px 15px rgba(0,0,0,.28)); }
.avatar-grid figcaption { margin-top: .45rem; font-size: .86rem; font-weight: 600; }
.avatar-grid small { display: block; color: var(--muted); font-size: .68rem; font-weight: 400; }

.studio { overflow: hidden; background: radial-gradient(circle at 18% 30%, rgba(41,118,255,.2), transparent 34%), linear-gradient(180deg, transparent, rgba(6,26,76,.72)); }
.studio-intro { display: grid; align-items: center; gap: clamp(3rem, 8vw, 8rem); }
.studio-word { display: grid; margin: 0; font-size: clamp(3.2rem, 8vw, 8.2rem); font-weight: 700; letter-spacing: -.07em; line-height: .78; }
.studio-word span:nth-child(1) { color: var(--gold-light); }
.studio-word span:nth-child(2) { color: var(--cyan); }
.studio-intro a { color: var(--gold-light); }
.studio-intro > div > p:last-child { max-width: 45rem; color: var(--muted); }
.principles-grid { display: grid; gap: 1rem; margin-top: clamp(3rem, 6vw, 6rem); }
.principle-card { min-height: 280px; padding: 1.5rem; border-radius: var(--radius-md); }
.principle-card::after { position: absolute; right: -35%; bottom: -40%; width: 100%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(64,232,255,.12), transparent 68%); content: ""; }
.principle-card span { color: var(--gold-light); font-size: .75rem; letter-spacing: .15em; }
.principle-card h3 { margin: 3rem 0 .7rem; font-size: 1.5rem; }
.principle-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.process-block { display: grid; gap: 2.5rem; margin-top: clamp(4rem, 8vw, 8rem); padding: clamp(1.5rem, 4vw, 3.2rem); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.018)); }
.process-block h3 { max-width: 15ch; margin: 0; font-size: clamp(2rem, 4vw, 4rem); letter-spacing: -.04em; line-height: 1; }
.process-timeline { position: relative; display: grid; gap: .8rem; margin: 0; padding: 0; list-style: none; }
.process-timeline::before { position: absolute; top: 1.35rem; bottom: 1.35rem; left: 1.35rem; width: 2px; background: linear-gradient(var(--gold), rgba(64,232,255,.2)); content: ""; }
.process-timeline li { position: relative; display: grid; grid-template-columns: 2.7rem 1fr; gap: 1rem; align-items: start; padding: .85rem; border-radius: 20px; opacity: .54; transition: opacity .35s ease, background .35s ease, transform .35s var(--ease-soft); }
.process-timeline li.is-active { transform: translateX(4px); background: rgba(255,255,255,.055); opacity: 1; }
.process-timeline li > span { position: relative; z-index: 1; display: grid; width: 2.7rem; height: 2.7rem; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #09245f; color: var(--gold-light); font-size: .7rem; font-weight: 600; box-shadow: 0 0 0 6px rgba(3,16,47,.75); }
.process-timeline strong { display: block; margin-top: .15rem; font-size: 1.05rem; }
.process-timeline p { margin: .2rem 0 0; color: var(--muted); font-size: .86rem; }

.final-cta { overflow: hidden; min-height: 80svh; display: grid; align-items: center; background: radial-gradient(circle at 50% 50%, rgba(224,174,56,.26), transparent 28%), linear-gradient(135deg, #0a3489, #061435 58%, #63142a); isolation: isolate; }
.final-rays { position: absolute; z-index: -1; inset: -40%; opacity: .18; background: repeating-conic-gradient(from 0deg, rgba(255,227,122,.42) 0deg 2deg, transparent 2deg 14deg); -webkit-mask-image: radial-gradient(circle, black, transparent 66%); mask-image: radial-gradient(circle, black, transparent 66%); }
.final-content { display: grid; align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.final-logo { width: min(100%, 540px); filter: drop-shadow(0 30px 35px rgba(0,0,0,.36)); }
.final-content h2 { max-width: 12ch; margin: 0; font-size: clamp(2.7rem, 6vw, 6rem); letter-spacing: -.05em; line-height: .94; }
.final-content p:not(.eyebrow) { max-width: 40rem; color: #dce5f6; }

.site-footer { padding: 3rem 0 calc(3rem + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.08); background: #020717; }
.footer-grid { display: grid; gap: 2rem; }
.footer-grid strong { color: var(--gold-light); letter-spacing: .08em; }
.footer-grid p { margin: .35rem 0 0; color: var(--muted); font-size: .84rem; }
.footer-grid nav { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; }
.footer-grid a { color: #dfe7f7; font-size: .84rem; text-decoration: none; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-note { max-width: 32rem; }
.footer-powered { margin: 0; font-size: .84rem; color: var(--muted); }
.footer-powered a { color: var(--gold-light); font-weight: 600; }
.faq-list { display: grid; gap: 1rem; }
.faq-item { padding: 1.25rem 1.4rem; border-radius: 1.1rem; background: rgba(6, 27, 79, .45); border: 1px solid rgba(255,255,255,.08); }
.faq-item h3 { margin: 0 0 .45rem; font-size: 1.05rem; }
.faq-item p { margin: 0; color: var(--muted); font-size: .92rem; }
.faq-item a { color: var(--gold-light); }
.noscript-note { position: fixed; z-index: 200; right: 1rem; bottom: 1rem; max-width: 300px; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 16px; background: #081b49; color: white; font-size: .82rem; }

@media (min-width: 560px) {
  .gameplay-grid, .modes-grid, .avatar-grid, .principles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .table-road { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 760px) {
  .hero-grid, .story-grid, .armory-layout, .studio-intro, .final-content { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
  .hero-copy { padding-top: 4rem; }
  .hero-title { font-size: clamp(4rem, 7.2vw, 7.2rem); }
  .section-heading--split { grid-template-columns: 1.4fr .6fr; }
  .world-card { grid-template-columns: .95fr 1.05fr; }
  .gameplay-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .modes-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .table-road { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .avatar-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .character-feature { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .principles-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .process-block { grid-template-columns: .8fr 1.2fr; }
  .footer-grid { grid-template-columns: .8fr .8fr 1.2fr .8fr; align-items: start; }
}

@media (min-width: 1100px) {
  .table-road { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  .menu-toggle { display: block; position: relative; z-index: 3; }
  .primary-nav {
    position: fixed;
    inset: 0;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: .7rem;
    transform: translateY(-105%);
    background: radial-gradient(circle at 50% 30%, rgba(41,118,255,.3), transparent 34%), rgba(2,8,25,.97);
    opacity: 0;
    visibility: hidden;
    transition: transform .45s var(--ease-soft), opacity .3s ease, visibility .3s;
  }
  .primary-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .primary-nav a { font-size: 1.35rem; }
  .primary-nav .nav-cta { margin-top: 1rem; }
}

@media (max-width: 759px) {
  :root { --shell: min(100% - 1.2rem, 680px); --radius-lg: 30px; }
  .site-header { background: linear-gradient(rgba(3,13,40,.82), transparent); }
  .hero { min-height: auto; padding-top: 7rem; }
  .hero-grid { text-align: center; }
  .hero-copy { display: grid; justify-items: center; }
  .hero-lede { max-width: 35rem; }
  .hero-actions, .hero-proof { justify-content: center; }
  .hero-stage { min-height: 570px; margin-top: .5rem; }
  .hero-crest { top: 0; right: 9%; width: 82%; opacity: .73; }
  .hero-king { right: 29%; bottom: -4%; width: 61%; }
  .hero-robot { right: 0; bottom: 1%; width: 43%; }
  .floating-puck--black { top: 42%; left: 2%; }
  .floating-puck--queen { right: 0; top: 36%; }
  .scroll-cue { display: none; }
  .visual-badge--top { right: -3%; }
  .visual-badge--bottom { left: -2%; }
  .worlds-viewport { overflow: visible; }
  .worlds-track { display: grid; width: auto; padding: 0 .6rem; }
  .world-card { width: 100%; min-height: auto; }
  .world-copy { padding: 2rem 1.4rem 1rem; }
  .world-art { min-height: 520px; }
  .world-screen { right: 19%; bottom: -15%; width: 62%; }
  .world-object--board { right: 34%; bottom: 3%; width: 53%; }
  .world-object--duke { width: 49%; }
  .phone-gallery { align-items: flex-start; overflow-x: auto; justify-content: flex-start; margin-right: -.6rem; padding: 1rem .6rem 4rem 0; scroll-snap-type: x mandatory; }
  .phone-shot, .phone-shot--hero, .phone-shot--small { flex: 0 0 72vw; width: 72vw; max-width: 320px; transform: none !important; scroll-snap-align: center; opacity: 1; }
  .board-stack { min-height: 470px; }
  .striker-cloud { grid-template-columns: repeat(3, 1fr); }
  .character-spotlight { min-height: 520px; }
  .character-spotlight > div { max-width: 21rem; padding: 1.4rem; }
  .character-spotlight picture { right: -18%; width: 100%; }
  .studio-word { justify-self: center; }
  .final-content { text-align: center; }
  .final-logo { margin-inline: auto; }
  .final-content h2, .final-content p { margin-inline: auto; }
  .final-content .hero-actions { justify-content: center; }
}

@media (max-width: 420px) {
  .hero-title { font-size: clamp(3.15rem, 17vw, 4.4rem); }
  .hero-proof { gap: .8rem; }
  .hero-stage { min-height: 500px; }
  .visual-badge { min-width: 122px; padding: .55rem .7rem; }
  .striker-cloud { grid-template-columns: repeat(2, 1fr); }
  .table-road { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .avatar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (hover: hover) and (pointer: fine) {
  [data-card] { transform-style: preserve-3d; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .worlds-track { display: grid; width: auto; padding-inline: 1rem; }
  .worlds-viewport { overflow: visible; }
  .world-card { width: min(1160px, calc(100vw - 2rem)); margin-inline: auto; }
  .ambient-glow, .hero-stars, .hero-orbit, .final-rays { display: none; }
  [data-parallax], .floating-puck, .phone-shot { transform: none !important; }
  .process-timeline li { transform: none !important; opacity: 1; }
}
