/* Orb Crusher / FONIXYS — site styles. No framework, no external dependency. */

@font-face {
  font-family: "Lilita One";
  src: url("../fonts/LilitaOne-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fredoka";
  src: url("../fonts/Fredoka.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --night: #140b3a;
  --night-2: #0b0624;
  --night-3: #06031a;
  --panel: #2a1d6e;
  --panel-2: #3b2a91;
  --panel-deep: #160e40;
  --stroke: #5c47c9;
  --keyline: #120836;
  --mint: #2cf6b3;
  --cyan: #3fd0ff;
  --nova: #ff3df2;
  --gold: #ffc23a;
  --gold-light: #ffe9a3;
  --gold-dark: #b86a00;
  --coral: #ff6b4a;
  --text: #f4f0ff;
  --dim: #c3b9ec;
  --mute: #9c90cf;
  --radius: 22px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --display: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Fredoka", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--night-2);
  color: var(--text);
  font-family: var(--body);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
picture { display: contents; }
a { color: var(--cyan); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: #8fe6ff; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: .01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--mint); color: var(--night-3); padding: 10px 16px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------------------------------------------------------------- type FX */
.display-fx { position: relative; isolation: isolate; color: #fff; }
.display-fx::before {
  content: attr(data-text);
  position: absolute; inset: 0; z-index: -1;
  color: var(--keyline);
  -webkit-text-stroke: .16em var(--keyline);
  text-shadow: 0 .09em 0 #07031c, 0 .1em .35em rgba(0, 0, 0, .55);
}
.display-fx > .fill {
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 46%, #d9cfff 54%, #b8a8ff 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.display-fx.gold > .fill { background-image: linear-gradient(180deg, #fff6d6 0%, var(--gold-light) 40%, var(--gold) 58%, #ff9d1c 100%); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 14px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--mint);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; box-shadow: 0 0 10px currentColor; }
.section-title { font-size: clamp(38px, 6vw, 72px); margin: 14px 0 18px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--dim); max-width: 60ch; }

/* ---------------------------------------------------------------- buttons */
.btn {
  --b1: #3a2a92; --b2: #22165f; --edge: #0b0624; --glow: rgba(63, 208, 255, .0);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 10px 26px 12px 18px;
  border-radius: 18px; border: 0;
  background: linear-gradient(180deg, var(--b1), var(--b2));
  color: #fff; text-decoration: none; font-family: var(--display); font-size: 19px; letter-spacing: .02em;
  box-shadow: 0 0 0 2px var(--edge), inset 0 1.5px 0 rgba(255, 255, 255, .35), inset 0 -3px 0 rgba(0, 0, 0, .28), 0 6px 0 var(--edge), 0 16px 30px -8px var(--glow);
  transition: transform .18s cubic-bezier(.34, 1.56, .64, 1), box-shadow .18s, filter .18s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); color: #fff; }
.btn:active { transform: translateY(4px); box-shadow: 0 0 0 2px var(--edge), inset 0 1.5px 0 rgba(255, 255, 255, .35), 0 2px 0 var(--edge); }
.btn small { display: block; font-family: var(--body); font-weight: 600; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .8; line-height: 1.1; }
.btn .lbl { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.btn-store { --b1: #1f1650; --b2: #0d0830; --glow: rgba(44, 246, 179, .45); padding-left: 14px; }
.btn-store .ico {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--mint), #11b582); color: var(--night-3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn-store::after {
  content: ""; position: absolute; inset: -2px; border-radius: 20px; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .22) 45%, transparent 60%) no-repeat;
  background-size: 260% 100%; background-position: 130% 0;
  animation: sweep 3.6s ease-in-out infinite 1.2s;
}
@keyframes sweep { 0%, 55% { background-position: 130% 0; } 85%, 100% { background-position: -40% 0; } }
.btn-ghost { --b1: rgba(59, 42, 145, .55); --b2: rgba(34, 22, 95, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost .ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); }
.store-badge-slot { display: none; } /* official App Store badge goes here once the app is live (see README) */

/* ---------------------------------------------------------------- nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.is-solid { background: rgba(11, 6, 36, .78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 rgba(92, 71, 201, .35); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--display); font-size: 21px; letter-spacing: .03em; }
.brand img { width: 40px; height: 40px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5)); }
.brand:hover { color: #fff; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 10px 14px; border-radius: 12px; color: var(--dim); text-decoration: none; font-weight: 600; font-size: 15px; transition: color .2s, background .2s; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  font-family: var(--display); font-size: 15px; color: var(--night-3); text-decoration: none;
  background: linear-gradient(180deg, #7dffd6, var(--mint)); box-shadow: 0 0 0 2px var(--night-3), 0 8px 24px -6px rgba(44, 246, 179, .6);
}
.nav-cta:hover { color: var(--night-3); filter: brightness(1.06); }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  height: 100vh; height: 100svh; min-height: 680px; max-height: 1040px;
  background:
    radial-gradient(60% 50% at 18% 30%, rgba(124, 77, 255, .35), transparent 70%),
    radial-gradient(45% 40% at 85% 20%, rgba(255, 61, 242, .18), transparent 70%),
    radial-gradient(70% 60% at 50% 110%, rgba(63, 208, 255, .22), transparent 70%),
    linear-gradient(180deg, #1c0f52 0%, var(--night) 45%, var(--night-2) 100%);
}
.hero canvas.stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -3; }
.hero-pano {
  position: absolute; left: 0; right: 0; bottom: -2%; z-index: -2;
  height: min(36%, 24vw + 20px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 34%, #000 86%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 34%, #000 86%, transparent 100%);
}
.hero-pano img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.hero-scrim { position: absolute; z-index: -1; left: 50%; top: 4%; width: min(1100px, 100%); height: 70%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(11, 6, 36, .55), transparent); pointer-events: none; }
.hero-floor { position: absolute; inset: auto 0 0; height: 18%; z-index: -1; background: linear-gradient(180deg, transparent, var(--night-2) 85%); }
.orb-f { position: absolute; z-index: -1; will-change: transform; pointer-events: none; }
.orb-f img { width: 100%; animation: bob 7s ease-in-out infinite; filter: drop-shadow(0 18px 30px rgba(6, 3, 26, .6)); }
.orb-f.b img { animation-duration: 9s; animation-delay: -3s; }
.orb-f.c img { animation-duration: 6s; animation-delay: -1.5s; }
.orb-f.blur img { filter: blur(3px) drop-shadow(0 18px 30px rgba(6, 3, 26, .6)); opacity: .9; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-16px) rotate(3deg); } }
.of-1 { width: clamp(120px, 15vw, 230px); left: 2%; top: 14%; }
.of-2 { width: clamp(80px, 9vw, 140px); right: 5%; top: 16%; }
.of-3 { width: clamp(60px, 6.4vw, 100px); right: 14%; top: 44%; }
.of-4 { width: clamp(50px, 5vw, 80px); left: 13%; top: 46%; }
.of-5 { width: clamp(36px, 3.4vw, 54px); right: 27%; top: 11%; }
.hero-content {
  position: relative; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center;
  padding-top: clamp(96px, 13vh, 140px);
}
.hero-logo {
  width: clamp(92px, 9vw, 124px); margin-bottom: 14px;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .6)) drop-shadow(0 0 40px rgba(255, 194, 58, .25));
}
.hero h1 { font-size: clamp(60px, 11.5vw, 152px); line-height: .92; letter-spacing: .015em; }
.hero h1 .line2 { display: block; }
.hero-sub {
  margin: 18px 0 6px; font-family: var(--display); font-size: clamp(18px, 2.1vw, 26px); letter-spacing: .06em;
  color: var(--gold); text-transform: uppercase; text-shadow: 0 2px 0 var(--keyline);
}
.hero-tag { color: var(--dim); font-size: clamp(16px, 1.5vw, 19px); max-width: 36ch; margin: 6px auto 26px; }
.hero-tag b { color: #fff; font-weight: 700; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px 18px; justify-content: center; }
.hero-meta { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; justify-content: center; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dim);
  background: rgba(20, 11, 58, .6); box-shadow: inset 0 0 0 1px rgba(92, 71, 201, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 14px; box-shadow: inset 0 0 0 2px rgba(195, 185, 236, .5); }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--mint); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 700px) {
  .hero { height: auto; max-height: none; min-height: 0; display: flex; flex-direction: column; }
  .hero-content { height: auto; padding-top: 96px; padding-bottom: 0; }
  .hero-pano { position: relative; order: 2; bottom: auto; height: 360px; margin-top: -30px; }
  .hero-pano img { object-position: 30% 100%; }
  .hero-scrim { height: 60%; }
  .of-1 { left: -14%; top: 9%; }
  .of-2 { right: -6%; top: 27%; }
  .of-3, .of-4 { display: none; }
  .of-5 { right: 20%; top: 9%; }
  .cta-row { flex-direction: column; align-items: center; width: 100%; }
  .cta-row .btn { width: min(100%, 300px); justify-content: center; }
  .hero-meta { gap: 6px; }
  .chip { font-size: 11.5px; letter-spacing: .03em; padding: 5px 11px; gap: 6px; }
  .scroll-cue { display: none; }
  .btn { font-size: 17px; }
}
@media (max-width: 420px) {
  .brand { font-size: 18px; gap: 8px; }
  .brand img { width: 34px; height: 34px; }
  .nav-cta { padding: 8px 13px; font-size: 14px; }
}

/* ---------------------------------------------------------------- sections */
section { position: relative; }
.sec { padding: clamp(64px, 8vw, 112px) 0; }
.play.sec { padding-top: clamp(40px, 5vw, 72px); }
.sec-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .lead { margin-inline: auto; }
.glow-divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(92, 71, 201, .7), transparent); }

/* metal plate with rivets */
.plate {
  position: relative; border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .07), transparent 38%),
    linear-gradient(180deg, #2b1e72 0%, #1d1356 55%, #170f47 100%);
  box-shadow:
    0 0 0 2px var(--keyline),
    inset 0 0 0 1px rgba(124, 104, 230, .55),
    inset 0 1.5px 0 rgba(255, 255, 255, .22),
    inset 0 -3px 0 rgba(0, 0, 0, .3),
    0 24px 50px -24px rgba(0, 0, 0, .9);
}
.plate.rivets::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  --rv: radial-gradient(circle, #e8e2ff 0 1.1px, #8f80e6 1.6px 2.6px, #241869 3.1px, transparent 3.6px);
  background: var(--rv) 12px 12px / 8px 8px no-repeat, var(--rv) calc(100% - 12px) 12px / 8px 8px no-repeat,
              var(--rv) 12px calc(100% - 12px) / 8px 8px no-repeat, var(--rv) calc(100% - 12px) calc(100% - 12px) / 8px 8px no-repeat;
}
.glass {
  background: linear-gradient(180deg, rgba(59, 42, 145, .38), rgba(22, 14, 64, .5));
  backdrop-filter: blur(14px) saturate(130%); -webkit-backdrop-filter: blur(14px) saturate(130%);
  box-shadow: inset 0 0 0 1px rgba(160, 140, 255, .28), inset 0 1px 0 rgba(255, 255, 255, .18), 0 30px 60px -30px rgba(0, 0, 0, .8);
  border-radius: var(--radius);
}

/* ---------------------------------------------------------------- how it plays */
.play {
  background:
    radial-gradient(50% 50% at 15% 40%, rgba(63, 208, 255, .12), transparent 70%),
    radial-gradient(40% 40% at 90% 70%, rgba(255, 61, 242, .08), transparent 70%),
    var(--night-2);
}
.play-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.phone-stage { position: relative; display: flex; justify-content: center; padding: 20px 0 30px; }
.phone-stage::before { content: ""; position: absolute; width: 120%; aspect-ratio: 1; left: -10%; top: 50%; transform: translateY(-50%); background: radial-gradient(closest-side, rgba(63, 208, 255, .28), rgba(124, 77, 255, .12) 55%, transparent); z-index: -1; }
.phone {
  position: relative; width: clamp(230px, 24vw, 300px); aspect-ratio: 298 / 654;
  border-radius: 44px; padding: 10px;
  background: linear-gradient(145deg, #4b4f68, #1a1b26 40%, #2e3042 70%, #121219);
  box-shadow: 0 0 0 1.5px #5a5e78, inset 0 0 0 2px #08080c, 0 50px 80px -30px rgba(0, 0, 0, .9), 0 0 60px -10px rgba(63, 208, 255, .35);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 35px; }
.phone::after { content: ""; position: absolute; top: 20px; left: 50%; width: 30%; height: 22px; margin-left: -15%; border-radius: 12px; background: #050508; }
.tag-float {
  position: absolute; font-family: var(--display); font-size: clamp(20px, 2.2vw, 30px); letter-spacing: .03em; color: #fff;
  -webkit-text-stroke: 1px transparent; text-shadow: 0 3px 0 var(--keyline), 0 0 18px currentColor;
  padding: 8px 16px; border-radius: 14px; background: rgba(11, 6, 36, .72); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15), 0 14px 30px -10px rgba(0, 0, 0, .8);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); white-space: nowrap;
}
.tag-float.t1 { left: -2%; top: 18%; color: var(--gold); }
.tag-float.t2 { right: -4%; top: 44%; color: var(--mint); }
.tag-float.t3 { left: 2%; bottom: 16%; color: var(--nova); }
.tag-float span { color: #fff; font-size: .7em; margin-left: 4px; text-shadow: 0 2px 0 var(--keyline); }

.steps { list-style: none; margin: 0 0 34px; padding: 0; display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 58px 1fr; gap: 18px; align-items: center; padding: 16px 20px 16px 16px; }
.step .num {
  width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px;
  font-family: var(--display); font-size: 26px; color: var(--night-3);
  background: linear-gradient(180deg, #fff3c8, var(--gold) 55%, #e08a00); box-shadow: 0 0 0 2px var(--keyline), inset 0 1.5px 0 rgba(255, 255, 255, .7), inset 0 -3px 0 rgba(0, 0, 0, .2);
}
.step h3 { font-size: 23px; margin-bottom: 2px; }
.step p { margin: 0; color: var(--dim); font-size: 16px; }
.step.crush .num { background: linear-gradient(180deg, #b8fff0, var(--mint) 55%, #0fb984); }
.step.crush h3 { color: var(--mint); }

.feat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: clamp(56px, 8vw, 96px); }
.feat { padding: 26px 22px 24px; overflow: hidden; transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
.feat:hover { transform: translateY(-6px); }
.feat .art { height: 104px; display: flex; align-items: flex-end; justify-content: flex-start; margin-bottom: 16px; }
.feat .art img { max-height: 104px; width: auto; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .55)); }
.feat h3 { font-size: 25px; margin-bottom: 8px; }
.feat p { color: var(--dim); font-size: 15.5px; margin: 0; }
.feat .accent { position: absolute; inset: auto -30% -60% -30%; height: 90%; background: radial-gradient(closest-side, var(--ac, rgba(44, 246, 179, .22)), transparent); pointer-events: none; z-index: 0; }
.feat > * { position: relative; z-index: 1; }

/* ---------------------------------------------------------------- bosses */
.bosses {
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(255, 107, 74, .16), transparent 70%),
    linear-gradient(180deg, var(--night-2), #120933 50%, var(--night-2));
}
.hazard { height: 14px; background: repeating-linear-gradient(-45deg, #ffc23a 0 14px, #1a1030 14px 28px); opacity: .9; box-shadow: 0 0 0 2px var(--keyline); }
.boss-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.boss { position: relative; padding: 24px 24px 22px; display: flex; flex-direction: column; align-items: center; text-align: center; overflow: hidden; }
.boss .stage { position: relative; height: 200px; width: 100%; display: grid; place-items: center; }
.boss .stage::before { content: ""; position: absolute; left: 50%; bottom: 6px; width: 70%; height: 30px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, var(--bc, rgba(255, 107, 74, .55)), transparent); }
.boss .stage::after { content: ""; position: absolute; left: 50%; top: -40px; width: 60%; height: 120%; transform: translateX(-50%); background: linear-gradient(180deg, var(--bc, rgba(255, 107, 74, .25)), transparent 75%); clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%); opacity: .35; }
.boss img { position: relative; z-index: 1; max-height: 180px; max-width: 92%; width: auto; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .6)); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.boss:hover img { transform: translateY(-6px) scale(1.04); }
.boss .wnum { position: absolute; top: 16px; left: 18px; z-index: 2; font-family: var(--display); font-size: 13px; letter-spacing: .14em; color: var(--mute); }
.boss h3 { font-size: 27px; margin: 14px 0 6px; text-transform: uppercase; letter-spacing: .03em; }
.boss p { margin: 0; color: var(--dim); font-size: 15px; max-width: 32ch; }
.boss-note { margin-top: 30px; text-align: center; color: var(--dim); }
.boss-note strong { color: var(--gold); font-family: var(--display); font-weight: 400; letter-spacing: .04em; }

/* ---------------------------------------------------------------- power-ups */
.pu-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pu { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; padding: 14px 16px 14px 12px; }
.pu .ic { position: relative; width: 76px; height: 76px; }
.pu .ic img { width: 76px; height: 76px; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .5)); }
.pu .ic .x2 { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; font-family: var(--display); font-size: 20px; color: #c81d3f; line-height: 1; }
.pu h3 { font-size: 19px; margin-bottom: 2px; }
.pu p { margin: 0; font-size: 14px; color: var(--dim); line-height: 1.4; }
.synergy { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; color: var(--dim); font-size: 15px; }
.synergy .chip b { color: #fff; font-family: var(--display); font-weight: 400; letter-spacing: .05em; }

/* ---------------------------------------------------------------- arsenal */
.arsenal { background: radial-gradient(50% 40% at 50% 40%, rgba(124, 77, 255, .18), transparent 70%), var(--night-2); }
.tank-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tank {
  position: relative; appearance: none; border: 0; font: inherit; color: inherit; text-align: center; cursor: pointer;
  padding: 18px 12px 18px; display: flex; flex-direction: column; align-items: center;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.tank .pad { position: relative; width: 100%; height: clamp(124px, 11vw, 158px); display: grid; grid-template: 100% / 100%; place-items: end center; }
.tank h3, .tank p, .tank .tier { position: relative; z-index: 2; }
.tank .pad::before { content: ""; position: absolute; left: 50%; bottom: 4%; width: 86%; height: 22%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, var(--tc), transparent); opacity: .65; transition: opacity .35s, transform .35s; }
.tank .pad img { grid-area: 1 / 1; width: auto; max-width: 94%; max-height: 100%; justify-self: center; align-self: end; transition: opacity .45s ease, transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.tank .pad img.max { opacity: 0; transform: translateY(6px) scale(.96); }
.tank:hover .pad img.lv1, .tank.is-max .pad img.lv1, .tank:focus-visible .pad img.lv1 { opacity: 0; transform: translateY(-4px) scale(1.02); }
.tank:hover .pad img.max, .tank.is-max .pad img.max, .tank:focus-visible .pad img.max { opacity: 1; transform: translateY(-4px) scale(1.06); }
.tank:hover .pad::before, .tank.is-max .pad::before { opacity: 1; transform: translateX(-50%) scale(1.2); }
.tank:hover { transform: translateY(-6px); }
.tank h3 { font-size: 20px; margin: 12px 0 4px; }
.tank p { margin: 0; font-size: 13.5px; line-height: 1.4; color: var(--dim); }
.tank .tier { margin-top: 12px; display: inline-flex; gap: 4px; padding: 3px; border-radius: 999px; background: rgba(6, 3, 26, .55); box-shadow: inset 0 0 0 1px rgba(124, 104, 230, .4); font-family: var(--display); font-size: 12px; letter-spacing: .08em; }
.tank .tier span { padding: 3px 9px; border-radius: 999px; color: var(--mute); transition: background .3s, color .3s; }
.tank .tier span:first-child { background: rgba(255, 255, 255, .12); color: #fff; }
.tank:hover .tier span:first-child, .tank.is-max .tier span:first-child { background: none; color: var(--mute); }
.tank:hover .tier span:last-child, .tank.is-max .tier span:last-child { background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: var(--night-3); }
.hint { text-align: center; color: var(--mute); font-size: 14px; margin-top: 20px; }
.upgrades { margin-top: clamp(40px, 6vw, 64px); display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ---------------------------------------------------------------- worlds */
.worlds.sec { padding-top: clamp(40px, 5vw, 72px); }
.worlds { background: linear-gradient(180deg, var(--night-2), #100836 60%, var(--night-2)); overflow: hidden; }
.stats { display: flex; justify-content: center; gap: clamp(24px, 6vw, 80px); margin: 0 0 clamp(40px, 6vw, 64px); flex-wrap: wrap; }
.stat { text-align: center; }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(48px, 7vw, 84px); line-height: 1; color: #fff; text-shadow: 0 4px 0 var(--keyline), 0 0 30px rgba(63, 208, 255, .35); }
.stat span { font-family: var(--display); letter-spacing: .14em; font-size: 14px; color: var(--mint); text-transform: uppercase; }
.world-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.world {
  position: relative; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; background: #0d0729;
  box-shadow: 0 0 0 2px var(--keyline), inset 0 0 0 1px rgba(255, 255, 255, .14), 0 30px 50px -24px rgba(0, 0, 0, .9);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s;
}
.world img { width: 100%; aspect-ratio: 347 / 515; height: auto; object-fit: cover; transform: scale(1.02); transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.world:hover { transform: translateY(-8px); box-shadow: 0 0 0 2px var(--keyline), inset 0 0 0 1px rgba(255, 255, 255, .3), 0 40px 60px -24px rgba(0, 0, 0, .9), 0 0 40px -6px var(--wc); }
.world:hover img { transform: scale(1.08); }
.world::before { content: ""; position: absolute; inset: 0 0 auto; height: 18%; z-index: 1; background: linear-gradient(180deg, rgba(13, 7, 41, .9), transparent); pointer-events: none; }
.world figcaption {
  position: relative; z-index: 1; flex: 1; padding: 14px 14px 16px; margin-top: -26px;
  background: linear-gradient(180deg, rgba(13, 7, 41, 0), #0d0729 26px);
  border-top: 0;
}
.world figcaption::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; margin-bottom: 10px; background: var(--wc); box-shadow: 0 0 10px var(--wc); }
.world .wn { font-family: var(--display); font-size: 12px; letter-spacing: .16em; color: var(--wc); }
.world h3 { font-size: clamp(18px, 1.6vw, 22px); margin: 2px 0 4px; }
.world p { margin: 0; font-size: 13px; color: var(--dim); line-height: 1.35; }
.road { margin-top: clamp(80px, 10vw, 130px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.phones { position: relative; height: clamp(420px, 46vw, 600px); }
.phones .ph { position: absolute; top: 50%; width: 46%; filter: drop-shadow(0 40px 40px rgba(0, 0, 0, .6)); will-change: transform; }
.phones .ph img { width: 100%; }
.phones .ph.a { left: 0; transform: translateY(-46%) rotate(-8deg); z-index: 1; }
.phones .ph.b { left: 27%; transform: translateY(-54%); z-index: 3; }
.phones .ph.c { right: 0; transform: translateY(-44%) rotate(8deg); z-index: 2; }
.road ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.road li { display: flex; gap: 12px; align-items: baseline; color: var(--dim); }
.road li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; transform: rotate(45deg) translateY(-1px); background: var(--gold); box-shadow: 0 0 10px rgba(255, 194, 58, .7); }
.road li b { color: #fff; font-weight: 700; }

/* ---------------------------------------------------------------- modes */
.modes-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.mode { padding: 26px 22px; }
.mode .k { font-family: var(--display); font-size: 13px; letter-spacing: .16em; color: var(--c, var(--cyan)); }
.mode h3 { font-size: 26px; margin: 8px 0 10px; }
.mode p { margin: 0; color: var(--dim); font-size: 15.5px; }
.mode .bar { height: 4px; border-radius: 2px; margin-bottom: 18px; width: 48px; background: var(--c, var(--cyan)); box-shadow: 0 0 14px var(--c, var(--cyan)); }

/* ---------------------------------------------------------------- studio / final CTA */
.studio { padding: clamp(70px, 9vw, 120px) 0; }
.studio-card { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 52px); overflow: hidden; }
.studio-mark { font-family: var(--display); font-size: clamp(40px, 6vw, 76px); letter-spacing: .12em; line-height: 1; background: linear-gradient(180deg, #fff, #b9a9ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.studio-card .by { font-family: var(--display); letter-spacing: .2em; font-size: 13px; color: var(--mute); display: block; margin-bottom: 8px; }
.studio-card p { color: var(--dim); margin: 0 0 12px; }
.studio-card .pillars { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.final {
  position: relative; overflow: hidden; text-align: center; padding: clamp(90px, 12vw, 160px) 0;
  background: radial-gradient(50% 60% at 50% 100%, rgba(44, 246, 179, .2), transparent 70%), radial-gradient(60% 60% at 50% 0%, rgba(124, 77, 255, .25), transparent 70%), var(--night);
}
.final .bg { position: absolute; inset: 0; z-index: 0; opacity: .2; filter: blur(2px) saturate(120%); -webkit-mask-image: radial-gradient(60% 70% at 50% 50%, #000, transparent); mask-image: radial-gradient(60% 70% at 50% 50%, #000, transparent); }
.final .bg img { width: 100%; height: 100%; object-fit: cover; }
.final .wrap { position: relative; z-index: 1; }
.final img.logo { width: 120px; margin: 0 auto 20px; filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .6)); }
.final h2 { font-size: clamp(40px, 6.5vw, 84px); margin-bottom: 14px; }
.final p { color: var(--dim); margin: 0 auto 28px; max-width: 46ch; }

/* ---------------------------------------------------------------- footer */
.footer { background: var(--night-3); padding: 48px 0 36px; border-top: 1px solid rgba(92, 71, 201, .3); font-size: 15px; }
.footer-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.footer nav ul { list-style: none; display: flex; gap: 6px 22px; flex-wrap: wrap; margin: 0; padding: 0; }
.footer nav a { color: var(--dim); text-decoration: none; font-weight: 600; }
.footer nav a:hover { color: #fff; }
.footer .legal { width: 100%; color: var(--mute); font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 22px; border-top: 1px solid rgba(92, 71, 201, .18); }

/* ---------------------------------------------------------------- reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal.pop { transform: translateY(24px) scale(.94); }
.js .reveal.pop.is-in { transform: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .feat-grid, .modes-grid, .pu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tank-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .world-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .play-grid, .road { grid-template-columns: 1fr; }
  .boss-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phones { max-width: 520px; width: 100%; margin: 0 auto; }
  .road .txt { order: -1; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .feat-grid, .modes-grid, .pu-grid { grid-template-columns: 1fr; }
  .feat { display: grid; grid-template-columns: 92px 1fr; gap: 6px 16px; align-items: center; padding: 20px 18px; }
  .feat .art { height: auto; grid-row: span 2; margin: 0; justify-content: center; }
  .feat .art img { max-height: 84px; }
  .feat h3 { margin: 0; font-size: 22px; }
  .tank-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .boss-grid { grid-template-columns: 1fr; }
  .boss .stage { height: 170px; }
  .world-row {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
    margin-inline: calc(-1 * var(--gutter)); padding: 6px var(--gutter) 18px; scrollbar-width: none;
  }
  .world-row::-webkit-scrollbar { display: none; }
  .world { flex: 0 0 62%; scroll-snap-align: center; }
  .studio-card { grid-template-columns: 1fr; text-align: left; }
  .footer-in { flex-direction: column; align-items: flex-start; }
  .tag-float.t1 { left: -6px; } .tag-float.t2 { right: -6px; }
  .phones { height: 400px; }
}

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

/* ---------------------------------------------------------------- doc pages (privacy / support) */
.doc-hero {
  position: relative; overflow: hidden; padding: 140px 0 56px;
  background: radial-gradient(50% 80% at 20% 0%, rgba(124, 77, 255, .35), transparent 70%), radial-gradient(40% 60% at 90% 10%, rgba(63, 208, 255, .15), transparent 70%), linear-gradient(180deg, #1c0f52, var(--night-2));
}
.doc-hero h1 { font-size: clamp(44px, 7vw, 84px); margin: 12px 0 14px; }
.doc-hero p { color: var(--dim); max-width: 62ch; margin: 0; }
.doc-hero .meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.doc { padding: 40px 0 110px; }
.doc-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }
.toc { position: sticky; top: 96px; padding: 20px 18px; font-size: 14.5px; }
.toc h2 { font-size: 15px; letter-spacing: .16em; color: var(--mute); margin: 0 0 10px; text-transform: uppercase; }
.toc ol { margin: 0 0 14px; padding: 0; list-style: none; counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { display: flex; gap: 10px; padding: 6px 8px; border-radius: 10px; color: var(--dim); text-decoration: none; line-height: 1.35; }
.toc a::before { content: counter(t, decimal-leading-zero); color: var(--mute); font-family: var(--display); font-size: 12px; padding-top: 2px; }
.toc a:hover, .toc a.is-active { color: #fff; background: rgba(255, 255, 255, .06); }
.toc .lang { display: flex; gap: 8px; margin: 0 0 14px; }
.toc .lang a { flex: 1; justify-content: center; padding: 8px; background: rgba(6, 3, 26, .5); box-shadow: inset 0 0 0 1px rgba(124, 104, 230, .4); font-weight: 700; }
.toc .lang a::before { content: none; }
.prose { max-width: 760px; }
.prose .part { padding: 34px clamp(22px, 4vw, 44px) 26px; margin-bottom: 28px; }
.prose .part-title { display: flex; align-items: center; gap: 12px; font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 6px; }
.prose .part-title .flag { font-family: var(--body); font-weight: 700; font-size: 12px; letter-spacing: .14em; color: var(--night-3); background: var(--mint); padding: 4px 9px; border-radius: 8px; }
.prose .updated { color: var(--mute); font-size: 14px; margin-bottom: 18px; }
.prose h3 { font-size: 23px; margin: 30px 0 10px; color: #fff; scroll-margin-top: 96px; }
.prose h3::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 12px; border-radius: 2px; transform: rotate(45deg) translateY(-3px); background: var(--gold); box-shadow: 0 0 10px rgba(255, 194, 58, .6); }
.prose p, .prose li { color: #ddd5fb; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose strong { color: #fff; }
@media (max-width: 900px) {
  .doc-grid { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; }
  .toc ol { columns: 2; column-gap: 8px; }
}
@media (max-width: 480px) { .toc ol { columns: 1; } }

/* support */
.contact-card { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: clamp(24px, 4vw, 40px); margin-bottom: 34px; }
.contact-card img { width: clamp(96px, 12vw, 140px); max-width: none; filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .55)); }
.contact-card h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 8px; }
.contact-card p { color: var(--dim); margin: 0 0 16px; }
.mail { font-family: var(--display); font-size: clamp(19px, 2.4vw, 26px); letter-spacing: .02em; color: var(--mint); text-decoration: none; word-break: break-all; }
.mail:hover { color: #8fffd9; }
.faq details { border-radius: 16px; margin-bottom: 12px; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding: 18px 22px; font-weight: 700; font-size: 17px; color: #fff; border-radius: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; font-family: var(--display); font-size: 22px; color: var(--mint); background: rgba(44, 246, 179, .1); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 22px 20px; color: var(--dim); }
.faq .ans p:last-child { margin: 0; }
@media (max-width: 560px) { .contact-card { grid-template-columns: 1fr; } }
.btn.is-static { cursor: default; margin: 0; }
.btn.is-static:hover { transform: none; filter: none; }
.btn.is-static:active { transform: none; box-shadow: 0 0 0 2px var(--edge), inset 0 1.5px 0 rgba(255, 255, 255, .35), inset 0 -3px 0 rgba(0, 0, 0, .28), 0 6px 0 var(--edge), 0 16px 30px -8px var(--glow); }
.doc .wrap.doc-grid { width: min(1080px, 100% - 2 * var(--gutter)); }
.doc-hero .wrap { position: relative; }
.doc-hero .art { position: absolute; right: 2%; top: 50%; width: clamp(140px, 14vw, 200px); margin-top: calc(clamp(140px, 14vw, 200px) / -2); filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .6)) drop-shadow(0 0 50px rgba(63, 208, 255, .25)); animation: bob 8s ease-in-out infinite; }
@media (max-width: 860px) { .doc-hero .art { display: none; } }
.arsenal.sec { padding-bottom: clamp(48px, 6vw, 80px); }
