:root {
  --bg: #070b16;
  --bg-2: #0a1020;
  --bg-3: #0e1630;
  --panel: #0c1226;
  --panel-2: #101a38;
  --ink: #e8eeff;
  --ink-dim: #8b96b8;
  --line: #1c2747;
  --base-blue: #0052ff;
  --base-blue-soft: #3d7bff;
  --lime: #a3ff12;
  --lime-dim: #6aa80e;
  --gold: #ffc61a;
  --orange: #ff8a2a;
  --pink: #ff5ca8;
  --red: #ff3b5c;
  --outline: #050810;
  --glow-blue: 0 0 24px rgba(0, 82, 255, .45);
  --glow-lime: 0 0 20px rgba(163, 255, 18, .35);
  --glow-gold: 0 0 26px rgba(255, 198, 26, .4);
  --radius: 14px;
  --header-h: 64px;
  --font: "Trebuchet MS", "Segoe UI", Verdana, system-ui, sans-serif;
  --mono: Consolas, "Courier New", monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  overflow-x: hidden;
  line-height: 1.5;
}
::selection { background: var(--lime); color: #07130a; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
.stroke-ink  { stroke: var(--ink); }
.stroke-lime { stroke: var(--lime); }
.stroke-blue { stroke: var(--base-blue-soft); }
.stroke-gold { stroke: var(--gold); }
.fill-lime   { fill: var(--lime); }
.lime { color: var(--lime); }
.blue { color: var(--base-blue-soft); }
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 clamp(14px, 3vw, 32px);
  background: rgba(7, 11, 22, .82);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--line);
  z-index: 100;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .06em;
  font-size: 15px;
}
.logo-text b { color: var(--lime); }
.site-nav {
  display: flex;
  gap: clamp(8px, 1.6vw, 22px);
  margin-inline: auto;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink-dim);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.site-nav a:hover { color: var(--lime); border-color: var(--lime); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--panel);
  color: var(--ink);
  border: 2px solid var(--line);
  border-radius: 10px;
  transition: border-color .2s, color .2s, transform .15s;
}
.icon-btn:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-1px); }
.nav-burger { display: none; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 12px;
  border: 2.5px solid var(--outline);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: var(--panel-2);
  box-shadow: 0 4px 0 var(--outline);
  transition: transform .12s, box-shadow .12s, background .2s, filter .2s;
  user-select: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--outline); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--outline); }
.btn:disabled {
  cursor: not-allowed;
  opacity: .45;
  filter: grayscale(.7);
  transform: none;
  box-shadow: 0 4px 0 var(--outline);
}
.btn-primary { background: var(--lime); color: #102102; border-color: var(--outline); }
.btn-primary:hover { box-shadow: 0 6px 0 var(--outline), var(--glow-lime); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); box-shadow: 0 4px 0 var(--line); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); box-shadow: 0 6px 0 var(--line); }
.btn-gold { background: var(--gold); color: #241a00; }
.btn-gold:hover:not(:disabled) { box-shadow: 0 6px 0 var(--outline), var(--glow-gold); }
.btn-small { padding: 9px 16px; font-size: 12px; border-radius: 10px; }
.btn-connect { padding: 10px 18px; font-size: 12px; background: var(--base-blue); color: #fff; }
.btn-connect:hover { box-shadow: 0 6px 0 var(--outline), var(--glow-blue); }
.connect-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #ff5c5c;
  box-shadow: 0 0 6px #ff5c5c;
  transition: background .3s, box-shadow .3s;
}
.btn-connect.connected { background: var(--panel-2); color: var(--lime); }
.btn-connect.connected .connect-dot { background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: calc(var(--header-h) + 6vh);
  overflow: hidden;
  background:
    radial-gradient(1100px 500px at 50% -10%, var(--bg-3), transparent 70%),
    var(--bg);
}
.hero-sky { position: absolute; inset: 0; pointer-events: none; }
.stars { position: absolute; inset: 0; }
.star {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--ink-dim);
  opacity: .5;
  animation: star-twinkle 3.5s ease-in-out infinite;
}
@keyframes star-twinkle { 50% { opacity: .1; transform: scale(.6); } }
.base-moon {
  position: absolute;
  top: 12%;
  right: clamp(6%, 12vw, 16%);
  width: clamp(70px, 9vw, 120px);
  aspect-ratio: 1;
  background: none;
  border: none;
  pointer-events: auto;
  z-index: 3;
}
.base-moon-core {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--base-blue);
  border: 4px solid var(--outline);
  box-shadow: var(--glow-blue), inset -10px -10px 0 rgba(0,0,0,.22);
  animation: moon-pulse 4s ease-in-out infinite;
}
.base-moon-core::after {
  content: "";
  position: absolute;
  inset: 30%;
  background: #fff;
  border-radius: 18%;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 62%, 46% 62%, 46% 38%, 0 38%);
}
.base-moon-ring {
  position: absolute; inset: -14px;
  border-radius: 50%;
  border: 2px dashed rgba(61, 123, 255, .55);
  animation: ring-rot 24s linear infinite;
}
.base-moon:hover .base-moon-core { transform: scale(1.06); }
@keyframes moon-pulse { 50% { box-shadow: 0 0 44px rgba(0,82,255,.65), inset -10px -10px 0 rgba(0,0,0,.22); } }
@keyframes ring-rot { to { transform: rotate(360deg); } }
body.disco { animation: disco-bg 1.2s steps(1) 4; }
@keyframes disco-bg {
  0%   { background: #12052e; }
  25%  { background: #002a12; }
  50%  { background: #2e0518; }
  75%  { background: #001a3a; }
}
.floating-particle {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  opacity: .35;
  animation: float-up 11s linear infinite;
}
.floating-particle.p1 { left: 12%; top: 80%; animation-delay: 0s; }
.floating-particle.p2 { left: 28%; top: 90%; animation-delay: 2.2s; background: var(--base-blue-soft); }
.floating-particle.p3 { left: 55%; top: 85%; animation-delay: 4.4s; background: var(--pink); }
.floating-particle.p4 { left: 70%; top: 95%; animation-delay: 1.1s; }
.floating-particle.p5 { left: 84%; top: 88%; animation-delay: 5.6s; background: var(--orange); }
.floating-particle.p6 { left: 40%; top: 92%; animation-delay: 7s; background: var(--base-blue-soft); }
@keyframes float-up {
  0% { transform: translateY(0); opacity: 0; }
  12% { opacity: .35; }
  88% { opacity: .35; }
  100% { transform: translateY(-72vh); opacity: 0; }
}
.hero-inner {
  position: relative;
  z-index: 4;
  text-align: center;
  padding: 0 18px;
}
.hero-kicker { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.chip {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 7px 14px;
  border-radius: 999px;
  border: 2px solid var(--outline);
  box-shadow: 0 3px 0 var(--outline);
}
.chip-lime { background: var(--lime); color: #102102; }
.chip-blue { background: var(--base-blue); color: #fff; }
.chip-outline { background: var(--panel); color: var(--ink-dim); border-color: var(--line); box-shadow: 0 3px 0 var(--line); }
.hero-title {
  font-size: clamp(52px, 11vw, 128px);
  line-height: .92;
  letter-spacing: .02em;
  font-weight: 900;
  color: var(--ink);
  text-shadow:
    4px 4px 0 var(--outline),
    0 0 60px rgba(0, 82, 255, .35);
}
.hero-title::selection { background: var(--base-blue); color: #fff; }
.hero-title .tw { display: inline-block; white-space: nowrap; }
.tl {
  display: inline-block;
  animation: letter-in 1.05s cubic-bezier(.2, 1.4, .36, 1) backwards;
  animation-delay: calc(var(--i) * 90ms + 150ms);
  transition: transform .22s cubic-bezier(.34, 1.56, .64, 1), color .22s;
  cursor: default;
}
.tl:hover {
  transform: translateY(-10px) rotate(-5deg) scale(1.14);
  color: var(--lime);
}
@keyframes letter-in {
  0% { transform: translate(var(--rx), var(--ry)) rotate(var(--rr)) scale(.3); opacity: 0; filter: blur(4px); }
  55% { opacity: 1; filter: blur(0); }
  100% { transform: translate(0, 0) rotate(0) scale(1); opacity: 1; filter: blur(0); }
}
.tl-i {
  display: inline-block;
  animation: letter-float 4.6s ease-in-out infinite;
  animation-delay: calc(1.5s + var(--i) * .12s);
}
@keyframes letter-float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-6px) rotate(1.2deg); }
}
.hero-sub {
  margin-top: 18px;
  font-size: clamp(16px, 2.4vw, 22px);
  color: var(--ink-dim);
  font-weight: 700;
  letter-spacing: .04em;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.hero-factory {
  position: relative;
  z-index: 2;
  width: min(1180px, 96vw);
  margin-top: auto;
}
.hero-factory svg { width: 100%; height: auto; overflow: visible; }
.hero-floor {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 42px;
  background: repeating-linear-gradient(90deg, var(--bg-2) 0 46px, var(--bg-3) 46px 92px);
  border-top: 3px solid var(--line);
}
.gear { transform-origin: center; transform-box: fill-box; animation: gear-spin 9s linear infinite; }
.gear.rev { animation-direction: reverse; animation-duration: 13s; }
@keyframes gear-spin { to { transform: rotate(360deg); } }
.smoke {
  transform-origin: center bottom; transform-box: fill-box;
  animation: smoke-rise 5s ease-in-out infinite;
  opacity: 0;
}
.smoke.s2 { animation-delay: 1.6s; }
.smoke.s3 { animation-delay: 3.2s; }
@keyframes smoke-rise {
  0% { transform: translateY(0) scale(.5); opacity: 0; }
  18% { opacity: .5; }
  100% { transform: translateY(-64px) scale(1.5); opacity: 0; }
}
.win-light { animation: win-flicker 6s steps(1) infinite; }
.win-light.w2 { animation-delay: 2.1s; }
.win-light.w3 { animation-delay: 3.7s; }
@keyframes win-flicker {
  0%, 88% { opacity: .9; }
  89%, 92% { opacity: .2; }
  93%, 100% { opacity: .9; }
}
.silhouette { animation: sil-peek 14s ease-in-out infinite; opacity: 0; transform-box: fill-box; }
.silhouette.sl2 { animation-delay: 7s; }
@keyframes sil-peek {
  0%, 74% { opacity: 0; transform: translateX(0); }
  78%, 90% { opacity: .8; transform: translateX(6px); }
  94%, 100% { opacity: 0; }
}
.weth-blob {
  animation: weth-flow 4.5s linear infinite;
  transform-box: fill-box;
}
.weth-blob.b2 { animation-delay: 1.5s; }
.weth-blob.b3 { animation-delay: 3s; }
@keyframes weth-flow {
  0% { transform: translateX(0); opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { transform: translateX(300px); opacity: 0; }
}
.belt-strip { animation: belt-move 1.4s linear infinite; }
@keyframes belt-move { to { transform: translateX(-56px); } }
.belt-pack { animation: belt-pack-move 9s linear infinite; transform-box: fill-box; }
.belt-pack.bp2 { animation-delay: 3s; }
.belt-pack.bp3 { animation-delay: 6s; }
@keyframes belt-pack-move {
  0% { transform: translateX(-140px); }
  100% { transform: translateX(1300px); }
}
.warn-lamp { animation: warn-blink 7s steps(1) infinite; }
@keyframes warn-blink {
  0%, 90% { fill: #3a2a08; }
  91%, 95% { fill: var(--gold); }
  96%, 100% { fill: #3a2a08; }
}
.mini-robot { animation: robot-patrol 16s ease-in-out infinite alternate; transform-box: fill-box; }
@keyframes robot-patrol {
  0% { transform: translateX(0); }
  45% { transform: translateX(180px) scaleX(1); }
  50% { transform: translateX(190px) scaleX(-1); }
  95% { transform: translateX(10px) scaleX(-1); }
  100% { transform: translateX(0) scaleX(1); }
}
.char { transform-box: fill-box; transform-origin: center bottom; }
.char-breathe { animation: char-breathe 3.2s ease-in-out infinite; }
@keyframes char-breathe { 50% { transform: scaleY(1.025) scaleX(0.995); } }
.char-bob { animation: char-bob 2.6s ease-in-out infinite; }
@keyframes char-bob { 50% { transform: translateY(-4px); } }
.char-sway { animation: char-sway 4s ease-in-out infinite; }
@keyframes char-sway { 50% { transform: rotate(2.5deg); } }
.char-sleepy { animation: char-sleepy 5s ease-in-out infinite; }
@keyframes char-sleepy { 50% { transform: rotate(-4deg) translateY(2px); } }
.eyelid { animation: blink 4.6s steps(1) infinite; transform-box: fill-box; transform-origin: center; opacity: 0; }
@keyframes blink {
  0%, 92% { opacity: 0; }
  93%, 97% { opacity: 1; }
  98%, 100% { opacity: 0; }
}
.pupil { transition: transform .25s ease-out; }
.zzz {
  animation: zzz-float 3s ease-in-out infinite;
  opacity: 0;
  transform-box: fill-box;
}
@keyframes zzz-float {
  0% { opacity: 0; transform: translate(0,0); }
  25% { opacity: .9; }
  100% { opacity: 0; transform: translate(10px,-18px); }
}
.slang-text { font-family: var(--mono); font-size: 11px; fill: var(--lime); }
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(70px, 10vh, 120px) 20px 20px;
}
.section-head { text-align: center; margin-bottom: 44px; }
.section-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lime);
  background: rgba(163, 255, 18, .08);
  border: 1px solid rgba(163, 255, 18, .3);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: .03em;
  text-shadow: 3px 3px 0 var(--outline);
}
.how-line {
  position: relative;
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  margin: 0 8% 34px;
  overflow: visible;
}
.how-runner {
  position: absolute;
  top: 50%;
  left: 0;
  width: 26px; height: 20px;
  transform: translateY(-50%);
  background: var(--lime);
  border: 2.5px solid var(--outline);
  border-radius: 6px;
  animation: runner-go 8s linear infinite;
  box-shadow: var(--glow-lime);
}
.how-runner::after {
  content: "#";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 900; color: #102102;
}
@keyframes runner-go {
  0% { left: 0%; }
  96% { left: calc(100% - 26px); opacity: 1; }
  100% { left: calc(100% - 26px); opacity: 0; }
}
.how-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.how-step {
  background: var(--panel);
  border: 2.5px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 16px;
  text-align: center;
  position: relative;
  transition: transform .2s, border-color .2s;
}
.how-step:hover { transform: translateY(-5px); border-color: var(--lime-dim); }
.how-step::before {
  content: attr(data-step);
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 26px;
  display: grid; place-items: center;
  background: var(--lime);
  color: #102102;
  border: 2.5px solid var(--outline);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}
.how-icon { display: grid; place-items: center; margin-bottom: 12px; }
.how-step h3 { font-size: 14px; letter-spacing: .04em; margin-bottom: 6px; text-transform: uppercase; }
.how-step p { font-size: 12.5px; color: var(--ink-dim); }
.section-gallery { max-width: 1280px; }
.gallery-strip {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  padding: 26px 20px 30px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.polaroid {
  flex: 0 0 168px;
  scroll-snap-align: start;
  background: #f2efe6;
  border: 2.5px solid var(--outline);
  border-radius: 6px;
  padding: 10px 10px 8px;
  box-shadow: 0 6px 0 var(--outline), 0 10px 30px rgba(0, 0, 0, .4);
  transform: rotate(var(--tilt, 0deg));
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s;
  position: relative;
  cursor: zoom-in;
}
.polaroid:hover, .polaroid:focus-visible {
  transform: rotate(0deg) translateY(-10px) scale(1.05);
  z-index: 5;
  box-shadow: 0 8px 0 var(--outline), 0 18px 40px rgba(0, 0, 0, .5), var(--glow-lime);
}
.polaroid:nth-child(3n) .polaroid-tape { background: rgba(255, 92, 168, .75); }
.polaroid:nth-child(3n+1) .polaroid-tape { background: rgba(163, 255, 18, .7); }
.polaroid-tape {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 62px; height: 18px;
  background: rgba(61, 123, 255, .7);
  border: 1.5px solid rgba(5, 8, 16, .35);
  border-radius: 2px;
}
.polaroid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 2px solid var(--outline);
  border-radius: 3px;
  filter: saturate(1.05);
}
.polaroid-caption {
  display: block;
  margin-top: 7px;
  font-family: "Comic Sans MS", "Segoe Print", cursive;
  font-size: 13px;
  font-weight: 700;
  color: #1a1f33;
  text-align: center;
  transform: rotate(-1.4deg);
}
.gallery-hint {
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(3, 6, 14, .8);
  backdrop-filter: blur(5px);
  z-index: 220;
  padding: 22px;
}
.lightbox-card {
  position: relative;
  background: #f2efe6;
  border: 3px solid var(--outline);
  border-radius: 8px;
  box-shadow: 0 10px 0 var(--outline), 0 24px 70px rgba(0, 0, 0, .6);
  padding: 16px 16px 14px;
  width: min(380px, 92vw);
  text-align: center;
  transform: rotate(-1.6deg);
  animation: polaroid-pop .35s cubic-bezier(.34, 1.56, .64, 1);
}
@keyframes polaroid-pop { from { transform: rotate(6deg) scale(.6) translateY(40px); opacity: 0; } }
.lightbox-tape {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%) rotate(2deg);
  width: 92px; height: 24px;
  background: rgba(163, 255, 18, .7);
  border: 1.5px solid rgba(5, 8, 16, .35);
  border-radius: 2px;
}
.lightbox-card img {
  width: 100%;
  max-height: 52vh;
  object-fit: cover;
  border: 2.5px solid var(--outline);
  border-radius: 4px;
}
.lightbox-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 12px 0 14px;
  color: #1a1f33;
}
.lightbox-meta b { font-size: 19px; font-family: "Comic Sans MS", "Segoe Print", cursive; transform: rotate(-1deg); }
.lightbox-meta span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #5a6488; }
.lightbox-meta em { font-size: 13px; color: #3a4258; margin-top: 4px; }
.token-panel {
  background: var(--panel);
  border: 3px solid var(--outline);
  border-radius: var(--radius);
  box-shadow: 0 6px 0 var(--outline);
  padding: 28px;
}
.token-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.tk {
  background: var(--bg-2);
  border: 2px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.tk span { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-dim); }
.tk b { font-size: 15px; }
.contract-row {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.contract-code {
  flex: 1 1 260px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .06em;
  background: var(--bg-2);
  border: 2px dashed var(--line);
  color: var(--gold);
  border-radius: 10px;
  padding: 13px 16px;
  animation: text-blink 3s steps(1) infinite;
}
@keyframes text-blink { 50% { opacity: .35; } }
.token-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.wallet-terminal {
  background: var(--panel);
  border: 3px solid var(--outline);
  border-radius: var(--radius);
  box-shadow: 0 6px 0 var(--outline);
  padding: 34px 26px;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.wallet-state { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.tablet-char .img-frame, .wallet-char .img-frame { width: 120px; height: 120px; }
.tablet {
  background: var(--outline);
  border-radius: 14px;
  padding: 10px;
  border: 3px solid var(--line);
  width: min(360px, 100%);
}
.tablet-screen {
  background: #04140a;
  border-radius: 8px;
  padding: 16px 14px;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 54px;
}
.tablet-cursor { animation: text-blink 1s steps(1) infinite; }
.wallet-hint { font-size: 12px; color: var(--ink-dim); max-width: 380px; }
.wallet-data {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wd-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  background: var(--bg-2);
  border: 2px solid var(--line);
  border-radius: 10px;
  padding: 11px 16px;
}
.wd-row span { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim); }
.wd-row b { font-family: var(--mono); font-size: 14px; }
.wd-claim { border-color: rgba(163, 255, 18, .4); }
.wallet-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.wallet-note { font-size: 12px; color: var(--ink-dim); }
.claim-burst {
  position: absolute;
  font-size: 22px;
  animation: burst-fly 1.2s ease-out forwards;
  pointer-events: none;
  z-index: 30;
}
@keyframes burst-fly {
  0% { transform: translate(0,0) scale(.6); opacity: 1; }
  100% { transform: translate(var(--bx), var(--by)) scale(1.4) rotate(var(--br)); opacity: 0; }
}
.final {
  position: relative;
  margin-top: 90px;
  padding: 110px 20px 46px;
  text-align: center;
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(0, 82, 255, .2), transparent 70%),
    linear-gradient(rgba(4, 7, 16, .62), rgba(4, 7, 16, .84)),
    url("../assets/bg/banner.png") center 30% / cover no-repeat,
    var(--bg-2);
  border-top: 3px solid var(--line);
  overflow: hidden;
}
.final-moon { display: grid; place-items: center; margin-bottom: 8px; }
.final-moon span {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--base-blue);
  border: 3.5px solid var(--outline);
  box-shadow: var(--glow-blue);
  position: relative;
  animation: moon-pulse 4s ease-in-out infinite;
}
.final-moon span::after {
  content: "";
  position: absolute; inset: 30%;
  background: #fff;
  border-radius: 18%;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 62%, 46% 62%, 46% 38%, 0 38%);
}
.final-cast {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(6px, 1.2vw, 14px);
  margin: 26px auto 30px;
  max-width: 980px;
  flex-wrap: wrap;
}
.final-slot { display: inline-block; animation: final-bounce 3.4s ease-in-out infinite; }
@keyframes final-bounce { 50% { transform: translateY(-8px); } }
.final-cast .img-frame { width: clamp(52px, 6.4vw, 74px); height: clamp(52px, 6.4vw, 74px); }
.final-title {
  font-size: clamp(28px, 5.4vw, 54px);
  font-weight: 900;
  letter-spacing: .04em;
  text-shadow: 3px 3px 0 var(--outline);
  margin-bottom: 28px;
}
.final-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(3, 6, 14, .72);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  z-index: 200;
  padding: 20px;
}
.modal {
  background: var(--panel);
  border: 3px solid var(--outline);
  border-radius: var(--radius);
  box-shadow: 0 8px 0 var(--outline);
  width: min(400px, 100%);
  padding: 26px;
  animation: bubble-pop .25s cubic-bezier(.34,1.56,.64,1);
}
@keyframes bubble-pop { from { transform: scale(.5); opacity: 0; } }
.modal h3 { font-size: 20px; margin-bottom: 4px; }
.modal-sub { font-size: 13px; color: var(--ink-dim); margin-bottom: 18px; }
.wallet-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.wallet-option {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-2);
  border: 2.5px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
  text-align: left;
  transition: border-color .15s, transform .15s;
}
.wallet-option:hover { border-color: var(--lime); transform: translateX(3px); }
.wallet-option .wo-icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  border: 2px solid var(--outline);
  font-size: 18px;
  flex-shrink: 0;
}
.wallet-option small { display: block; font-weight: 400; font-size: 11px; color: var(--ink-dim); }
.modal-close { width: 100%; }
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--outline);
  color: #e8eeff;
  border: 2.5px solid var(--lime);
  border-radius: 12px;
  padding: 13px 22px;
  font-size: 13.5px;
  font-weight: 700;
  z-index: 300;
  box-shadow: var(--glow-lime);
  animation: toast-in .3s cubic-bezier(.34,1.56,.64,1);
  max-width: min(420px, 90vw);
  text-align: center;
}
@keyframes toast-in { from { transform: translateX(-50%) translateY(20px); opacity: 0; } }
.img-char { display: inline-block; margin: 0; }
.img-frame {
  position: relative;
  display: block;
  width: 84px;
  height: 84px;
  border-radius: 16px;
  border: 3px solid var(--accent, var(--base-blue-soft));
  background: var(--bg-3);
  overflow: hidden;
  box-shadow:
    0 0 14px color-mix(in srgb, var(--accent, var(--base-blue-soft)) 40%, transparent),
    inset 0 0 10px rgba(0, 0, 0, .3);
  transform-origin: center bottom;
}
.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s ease;
  user-select: none;
}
.img-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.16) 42%, transparent 55%);
  background-size: 260% 100%;
  animation: shine-sweep 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shine-sweep {
  0%, 55% { background-position: 130% 0; }
  85%, 100% { background-position: -130% 0; }
}
.img-bob     { animation: img-bob 2.8s ease-in-out infinite; }
.img-breathe { animation: img-breathe 3.4s ease-in-out infinite; }
.img-sway    { animation: img-sway 4.2s ease-in-out infinite; }
.img-tilt    { animation: img-tilt 3.6s ease-in-out infinite; }
.img-float   { animation: img-float 4.6s ease-in-out infinite; }
.img-shiver  { animation: img-shiver 2.2s ease-in-out infinite; }
@keyframes img-bob     { 50% { transform: translateY(-5px); } }
@keyframes img-breathe { 50% { transform: scale(1.03); } }
@keyframes img-sway    { 50% { transform: rotate(2.4deg); } }
@keyframes img-tilt    { 33% { transform: rotate(-2deg); } 66% { transform: rotate(2deg); } }
@keyframes img-float   { 50% { transform: translateY(-7px) rotate(1.4deg); } }
@keyframes img-shiver  { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-1.6px) rotate(-.8deg); } 40% { transform: translateX(1.6px) rotate(.8deg); } 60% { transform: translateX(-1.2px); } 80% { transform: translateX(1.2px); } }
.img-char.wallet-face .img-frame { border-radius: 50%; }
.img-char.runner-face .img-frame { width: 74px; height: 74px; border-radius: 50%; animation: runner-spin-face 1s linear infinite; }
@keyframes runner-spin-face { 50% { transform: rotate(8deg); } }
.neon-signs { position: absolute; inset: 0; pointer-events: none; }
.neon-sign {
  position: absolute;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.25;
  text-align: center;
  padding: 8px 14px;
  border-radius: 10px;
  border: 2.5px solid currentColor;
  background: color-mix(in srgb, currentColor 7%, transparent);
  animation: neon-flicker 7s steps(1) infinite;
  user-select: none;
}
.ns-blue { color: var(--base-blue-soft); text-shadow: 0 0 12px var(--base-blue-soft); box-shadow: 0 0 18px rgba(61, 123, 255, .35), inset 0 0 12px rgba(61, 123, 255, .18); }
.ns-pink { color: var(--pink); text-shadow: 0 0 12px var(--pink); box-shadow: 0 0 18px rgba(255, 92, 168, .35), inset 0 0 12px rgba(255, 92, 168, .18); }
.ns-lime { color: var(--lime); text-shadow: 0 0 12px var(--lime); box-shadow: 0 0 18px rgba(163, 255, 18, .35), inset 0 0 12px rgba(163, 255, 18, .18); }
.ns-1 { top: 14%; left: 5%; font-size: clamp(18px, 2.6vw, 30px); transform: rotate(-4deg); }
.ns-2 { top: 30%; left: 3%; font-size: clamp(10px, 1.2vw, 14px); transform: rotate(2deg); animation-delay: 1.4s; }
.ns-3 { top: 46%; left: 7%; font-size: clamp(11px, 1.3vw, 15px); transform: rotate(-2deg); animation-delay: 2.8s; }
.ns-4 { top: 34%; right: 4%; font-size: clamp(11px, 1.4vw, 16px); transform: rotate(3deg); font-style: italic; text-transform: none; animation-delay: 2.1s; }
.ns-5 { top: 50%; right: 8%; font-size: clamp(13px, 1.6vw, 19px); transform: rotate(-3deg); text-transform: none; animation-delay: 3.5s; }
@keyframes neon-flicker {
  0%, 86% { opacity: 1; }
  87%, 89% { opacity: .35; }
  90%, 93% { opacity: 1; }
  94%, 95% { opacity: .5; }
  96%, 100% { opacity: 1; }
}
.hero-packline {
  position: relative;
  z-index: 3;
  width: 100%;
  margin-top: clamp(30px, 5vh, 56px);
  overflow: hidden;
  padding: 14px 0 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.packline-track {
  display: flex;
  width: max-content;
  animation: packline-roll 55s linear infinite;
  will-change: transform;
}
.hero-packline:hover .packline-track { animation-play-state: paused; }
@keyframes packline-roll { to { transform: translateX(-50%); } }
.packline-set {
  display: flex;
  gap: 22px;
  padding-right: 22px;
  flex: 0 0 auto;
}
.npack {
  position: relative;
  flex: 0 0 auto;
  width: 96px;
  height: 118px;
  border-radius: 14px;
  border: 3px solid var(--accent, var(--base-blue-soft));
  background: linear-gradient(165deg, color-mix(in srgb, var(--accent, var(--base-blue-soft)) 16%, var(--bg-3)), var(--bg-2));
  box-shadow:
    0 0 16px color-mix(in srgb, var(--accent, var(--base-blue-soft)) 38%, transparent),
    inset 0 0 14px rgba(0, 0, 0, .35);
  overflow: hidden;
  transition: transform .2s;
}
.npack:hover { transform: translateY(-6px) rotate(-2deg); }
.npack::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 12px;
  background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--accent, var(--base-blue-soft)) 55%, transparent) 0 5px, transparent 5px 10px);
  border-bottom: 2px solid var(--accent, var(--base-blue-soft));
  z-index: 1;
}
.npack img {
  position: absolute;
  inset: 16px 8px 10px;
  width: calc(100% - 16px);
  height: calc(100% - 26px);
  object-fit: cover;
  border-radius: 8px;
}
.npack-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.14) 44%, transparent 56%);
  background-size: 240% 100%;
  animation: shine-sweep 5s ease-in-out infinite;
  pointer-events: none;
}
#secretLayer { position: fixed; inset: 0; pointer-events: none; z-index: 90; overflow: hidden; }
.secret-runner {
  position: absolute;
  bottom: 6vh;
  left: -120px;
  width: 90px;
  animation: runner-dash 3.2s linear forwards;
}
@keyframes runner-dash {
  0% { left: -120px; transform: rotate(0); }
  50% { transform: rotate(3deg); }
  100% { left: 105vw; transform: rotate(0); }
}
.secret-frog {
  position: absolute;
  width: 72px;
  animation: frog-hop 2.4s ease-in forwards;
}
.secret-frog svg { width: 100%; height: auto; overflow: visible; }
@keyframes frog-hop {
  0% { transform: translateY(30px) scale(.4); opacity: 0; }
  20% { transform: translateY(-16px) scale(1.05); opacity: 1; }
  35% { transform: translateY(0) scale(1); }
  75% { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(24px) scale(.7); opacity: 0; }
}
.golden-ghost {
  position: fixed;
  right: 6vw;
  bottom: 14vh;
  width: 110px;
  opacity: 0;
  animation: ghost-appear 4s ease-in-out forwards;
  filter: drop-shadow(0 0 22px rgba(255,198,26,.5));
  z-index: 95;
  pointer-events: none;
}
@keyframes ghost-appear {
  0% { opacity: 0; transform: translateY(16px); }
  25% { opacity: .85; transform: translateY(0); }
  75% { opacity: .85; }
  100% { opacity: 0; transform: translateY(-20px); }
}
.secret-room {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(2, 4, 10, .88);
  z-index: 250;
  pointer-events: auto;
  animation: toast-in .4s ease;
}
.secret-room-inner {
  text-align: center;
  background: var(--panel);
  border: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 0 60px rgba(255,198,26,.25);
  padding: 34px 30px;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
}
.secret-room-inner h3 { color: var(--gold); letter-spacing: .1em; margin-bottom: 14px; }
.secret-room-inner p { font-size: 13.5px; color: var(--ink-dim); margin-bottom: 20px; }
.secret-poster {
  width: 100%;
  max-width: 300px;
  margin: 0 auto 16px;
  border-radius: 10px;
  border: 3px solid var(--gold);
  box-shadow: 0 0 26px rgba(255, 198, 26, .3);
}
@media (max-width: 1000px) {
  .how-steps { grid-template-columns: repeat(3, 1fr); }
  .how-step:nth-child(4) { grid-column: 1 / 2; }
  .token-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 840px) {
  .site-nav { display: none; }
  .site-nav.open {
    display: flex;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    background: var(--bg-2);
    border-bottom: 2px solid var(--line);
    padding: 16px 22px;
    gap: 4px;
    z-index: 99;
  }
  .site-nav.open a { padding: 10px 2px; border-bottom: 1px solid var(--line); }
  .nav-burger { display: grid; }
  .header-actions { margin-left: auto; }
  .ns-2, .ns-3, .ns-5 { display: none; }
  .npack { width: 82px; height: 102px; }
  .packline-set { gap: 16px; padding-right: 16px; }
}
@media (max-width: 620px) {
  .how-steps { grid-template-columns: 1fr 1fr; }
  .how-step:nth-child(4) { grid-column: auto; }
  .how-step:nth-child(5) { grid-column: 1 / -1; }
  .token-grid { grid-template-columns: 1fr; }
  .base-moon { top: 9%; right: 6%; }
  .logo-text { font-size: 13px; }
  .btn-connect { padding: 10px 12px; }
  .hero-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001s !important;
  }
  .how-runner, .floating-particle, .secret-runner { animation: none !important; }
  .how-runner { left: 40%; }
  .packline-track { animation: packline-roll 300s linear infinite !important; }
}
a.btn.is-disabled,
a.btn[aria-disabled="true"] {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: auto;
  filter: grayscale(.4);
}
a.btn.is-disabled:hover,
a.btn[aria-disabled="true"]:hover { transform: none; }
.token-live { margin-top: 14px; }
.token-live .tk b { font-variant-numeric: tabular-nums; }
.fee-split { margin-top: 18px; }
.fee-split-title {
  display: block; font-size: .72rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--ink-dim); font-weight: 800; margin-bottom: 8px;
}
.fee-split-bars { display: flex; gap: 6px; align-items: stretch; }
.fs-bar {
  flex: 0 0 var(--w); min-width: 0; border-radius: 8px; padding: 10px 8px;
  border: 2px solid var(--line); background: var(--panel-2); text-align: center;
  display: flex; flex-direction: column; gap: 2px; overflow: hidden;
}
.fs-bar b { font-size: 1.05rem; font-weight: 900; line-height: 1; }
.fs-bar small { font-size: .64rem; letter-spacing: .5px; color: var(--ink-dim); font-weight: 700; }
.fs-holders { border-color: var(--lime); }
.fs-holders b { color: var(--lime); }
.fs-rare { border-color: var(--base-blue); }
.fs-rare b { color: var(--base-blue); }
.fs-golden { border-color: var(--gold); }
.fs-golden b { color: var(--gold); }
.fee-split-note { margin-top: 10px; font-size: .78rem; color: var(--ink-dim); line-height: 1.5; }
@media (max-width: 560px) {
  .fee-split-bars { flex-wrap: wrap; }
  .fs-bar { flex-basis: calc(50% - 3px); }
}
