:root {
  --sky: #0a8cff;
  --sky-deep: #005bdc;
  --sky-dark: #0047ad;
  --cloud: #f8fbff;
  --grass: #19c821;
  --grass-dark: #047f16;
  --lime: #a9ff19;
  --orange: #ff9b23;
  --pink: #ff62a6;
  --yellow: #ffe54b;
  --ink: #06245d;
  --white: #ffffff;
  --border: 4px solid var(--ink);
  --shadow: 8px 8px 0 var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 15%, rgba(255,255,255,.25) 0 2px, transparent 3px),
    radial-gradient(circle at 80% 8%, rgba(255,255,255,.20) 0 2px, transparent 3px),
    linear-gradient(180deg, #118fff 0%, #0a83f7 24%, #e8f6ff 24.2%, #ffffff 25%, #ffffff 100%);
  background-size: 46px 46px, 63px 63px, auto;
  font-family: "Arial Black", Impact, system-ui, sans-serif;
  overflow-x: hidden;
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.sky-noise {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.9) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.9) 1px, transparent 1px);
  background-size: 12px 12px;
  mask-image: linear-gradient(to bottom, #000 0 34%, transparent 70%);
}

.spark-field { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.spark {
  position: absolute;
  width: 9px;
  height: 9px;
  background: #fff;
  box-shadow: 0 0 14px rgba(255,255,255,.9);
  animation: drift linear infinite;
  clip-path: polygon(50% 0,61% 38%,100% 50%,61% 62%,50% 100%,39% 62%,0 50%,39% 38%);
}
@keyframes drift {
  0% { transform: translate3d(0, 110vh, 0) rotate(0); opacity: 0; }
  10% { opacity: .75; }
  90% { opacity: .45; }
  100% { transform: translate3d(0, -20vh, 0) rotate(280deg); opacity: 0; }
}

.shell { width: min(1180px, calc(100% - 36px)); margin-inline: auto; }
.ticker {
  height: 36px;
  background: var(--yellow);
  border-bottom: 3px solid var(--ink);
  overflow: hidden;
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: .08em;
}
.ticker-track { display: flex; gap: 36px; width: max-content; animation: ticker 24s linear infinite; }
@keyframes ticker { to { transform: translateX(-50%); } }

.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 10;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  text-shadow: 3px 3px 0 var(--sky-dark);
}
.brand-dot {
  width: 20px; height: 20px; background: var(--orange); border: 3px solid #fff;
  border-radius: 50%; box-shadow: 3px 3px 0 var(--ink);
}
.nav nav { display: flex; gap: 22px; }
.nav nav a {
  color: #fff; text-decoration: none; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px; letter-spacing: .08em; font-weight: 800;
}
.nav nav a:hover { color: var(--yellow); }

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  align-items: center;
  gap: 48px;
  padding: 42px 0 74px;
  position: relative;
}
.hero-copy { position: relative; z-index: 3; }
.eyebrow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  background: rgba(255,255,255,.92);
  border: 3px solid var(--ink);
  padding: 9px 12px;
  box-shadow: 5px 5px 0 var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 900;
  font-size: 11px;
}
.hero h1 { margin: 22px 0 16px; line-height: .82; letter-spacing: -.06em; }
.title-top, .title-bottom { display: block; }
.title-top {
  color: #fff;
  font-size: clamp(74px, 9vw, 142px);
  text-shadow: 6px 6px 0 var(--sky-dark), -3px 3px 0 var(--ink), 3px -3px 0 var(--ink), 3px 3px 0 var(--ink), -3px -3px 0 var(--ink);
  transform: rotate(-1deg);
}
.title-bottom {
  width: fit-content;
  color: var(--yellow);
  font-size: clamp(70px, 8.4vw, 132px);
  text-shadow: 6px 6px 0 var(--orange), -3px 3px 0 var(--ink), 3px -3px 0 var(--ink), 3px 3px 0 var(--ink), -3px -3px 0 var(--ink);
  transform: rotate(1.4deg);
}
.hero-lead {
  max-width: 640px;
  color: #eaf7ff;
  text-shadow: 2px 2px 0 rgba(0,71,173,.8);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 800;
  line-height: 1.62;
  font-size: 14px;
}
.cta-row { display: flex; gap: 12px; margin-top: 24px; }
.pixel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 22px;
  border: var(--border);
  box-shadow: 6px 6px 0 var(--ink);
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
  color: var(--ink);
  font-size: 14px;
  letter-spacing: .04em;
}
.pixel-btn:hover { transform: translate(4px,4px) rotate(-1deg); box-shadow: 2px 2px 0 var(--ink); filter: saturate(1.18); }
.pump { background: var(--lime); }
.dex { background: #fff; }
.twitter { background: #61d8ff; }
.contract-box {
  margin-top: 22px;
  width: min(660px,100%);
  background: rgba(255,255,255,.95);
  border: 3px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 11px 11px 15px;
  box-shadow: 6px 6px 0 rgba(0,71,173,.75);
}
.contract-box > div { min-width: 0; }
.contract-label { display: block; font-family: ui-monospace,monospace; font-size: 9px; opacity: .58; margin-bottom: 4px; }
.contract-value { display:block; max-width: 490px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-family: ui-monospace,monospace; font-size: 12px; font-weight: 900; }
.contract-box button { border: 3px solid var(--ink); background: var(--yellow); font: 900 11px ui-monospace,monospace; padding: 10px 14px; cursor:pointer; box-shadow: 3px 3px 0 var(--ink); }
.contract-box button:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }

.hero-art { min-height: 560px; position: relative; display: grid; place-items: center; }
.dog-card {
  position: relative;
  width: min(500px, 92%);
  aspect-ratio: 1/1;
  background: #fff;
  border: 5px solid var(--ink);
  padding: 12px;
  box-shadow: 14px 14px 0 var(--ink);
  transform: rotate(2.3deg);
  transition: transform .12s ease-out;
  z-index: 3;
}
.dog-card::before {
  content:""; position:absolute; inset: 8px; border: 3px dashed rgba(6,36,93,.35); pointer-events:none; z-index:2;
}
.dog-card img { width:100%; height:100%; object-fit:cover; display:block; image-rendering:auto; }
.dog-badge {
  position:absolute; left:-25px; bottom:24px; z-index:4; background:var(--pink); color:#fff;
  border:3px solid var(--ink); box-shadow:5px 5px 0 var(--ink); padding:10px 12px;
  font-size:11px; letter-spacing:.06em; transform:rotate(-7deg);
}
.corner { position:absolute; z-index:4; width:32px; height:32px; display:grid; place-items:center; color:var(--yellow); background:var(--sky-deep); border:3px solid var(--ink); }
.c1 { left:-18px; top:-18px; } .c2 { right:-18px; top:-18px; } .c3 { left:-18px; bottom:-18px; } .c4 { right:-18px; bottom:-18px; }
.float-tag {
  position:absolute; z-index:5; background:#fff; border:3px solid var(--ink); box-shadow:5px 5px 0 var(--ink);
  padding:8px 10px; font:900 10px ui-monospace,monospace; animation:bob 3.6s ease-in-out infinite;
}
.tag-one { right:-8px; top:95px; background:var(--yellow); transform:rotate(5deg); }
.tag-two { left:-5px; top:20px; background:var(--lime); transform:rotate(-6deg); animation-delay:-1.5s; }
@keyframes bob { 0%,100% { translate:0 0; } 50% { translate:0 -10px; } }

.rainbow { position:absolute; border:16px solid transparent; border-top-color:#ff5b5b; border-radius:50%; width:330px; height:330px; opacity:.8; filter:drop-shadow(0 0 0 #ffb72e); }
.rainbow::before { content:""; position:absolute; inset:-4px; border:12px solid transparent; border-top-color:#ffcf3b; border-radius:50%; }
.rainbow::after { content:""; position:absolute; inset:8px; border:12px solid transparent; border-top-color:#39d95e; border-radius:50%; }
.rainbow-a { right:-140px; top:30px; transform:rotate(18deg); animation:spinfloat 12s ease-in-out infinite; }
.rainbow-b { left:-150px; bottom:-40px; transform:rotate(-30deg) scale(.7); opacity:.55; animation:spinfloat 10s ease-in-out infinite reverse; }
@keyframes spinfloat { 50% { translate: 0 18px; rotate: 8deg; } }
.pixel-cloud { position:absolute; width:120px; height:42px; background:#fff; border:4px solid var(--ink); box-shadow:8px 8px 0 rgba(0,71,173,.35); opacity:.9; }
.pixel-cloud::before,.pixel-cloud::after { content:""; position:absolute; background:#fff; border:4px solid var(--ink); bottom:18px; }
.pixel-cloud::before { width:48px; height:48px; left:12px; }
.pixel-cloud::after { width:58px; height:58px; right:10px; }
.cloud-a { left:-40px; top:140px; animation:cloud 5s ease-in-out infinite; }
.cloud-b { right:-70px; bottom:70px; transform:scale(.8); animation:cloud 6.5s ease-in-out infinite reverse; }
@keyframes cloud { 50% { translate: 16px -10px; } }

.marquee-band { background:var(--grass); border-block:4px solid var(--ink); overflow:hidden; white-space:nowrap; box-shadow:0 10px 0 rgba(6,36,93,.08); }
.marquee-track { display:flex; align-items:center; gap:24px; width:max-content; padding:16px 0; animation:marquee 20s linear infinite; font-size:20px; color:#fff; text-shadow:3px 3px 0 var(--grass-dark); }
.marquee-track i { color:var(--yellow); font-style:normal; text-shadow:2px 2px 0 var(--ink); }
@keyframes marquee { to { transform:translateX(-50%); } }

.section { padding: 110px 0; }
.section-kicker { font:900 11px ui-monospace,monospace; letter-spacing:.12em; color:var(--sky-deep); margin-bottom:26px; }
.section h2, .finale h2 { margin:0; font-size:clamp(48px,7vw,88px); line-height:.9; letter-spacing:-.055em; }
.section h2 span, .finale h2 span { color:var(--sky); text-shadow:3px 3px 0 #d7efff; }
.about-grid { display:grid; grid-template-columns:1.1fr .9fr; gap:72px; align-items:start; }
.about-copy p, .world-head p, .roadmap-title p, .chart-head p {
  margin:0; font:800 15px/1.7 ui-monospace,monospace; color:#244b78;
}
.mini-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:32px; }
.mini-stats div { border:3px solid var(--ink); padding:18px 10px; background:#fff; box-shadow:5px 5px 0 var(--ink); text-align:center; }
.mini-stats b { display:block; font-size:28px; color:var(--orange); }
.mini-stats span { display:block; margin-top:6px; font:900 9px ui-monospace,monospace; }

.world-head { display:flex; justify-content:space-between; gap:48px; align-items:end; }
.world-head p { max-width:420px; }
.world-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:42px; }
.world-card { min-height:310px; border:4px solid var(--ink); box-shadow:8px 8px 0 var(--ink); padding:28px; position:relative; overflow:hidden; transition:transform .18s ease, box-shadow .18s ease; }
.world-card:hover { transform:translateY(-8px) rotate(-1deg); box-shadow:12px 16px 0 var(--ink); }
.world-card::after { content:""; position:absolute; width:160px; height:160px; right:-55px; bottom:-55px; border:20px solid rgba(255,255,255,.22); border-radius:50%; }
.sky-card { background:#5fc6ff; } .grass-card { background:#79eb55; } .gem-card { background:#ff86ba; }
.world-icon { display:block; font-size:44px; filter:drop-shadow(3px 3px 0 rgba(6,36,93,.35)); margin-bottom:38px; }
.world-card small { font:900 10px ui-monospace,monospace; opacity:.58; }
.world-card h3 { margin:8px 0 10px; font-size:36px; }
.world-card p { margin:0; max-width:280px; font:800 13px/1.55 ui-monospace,monospace; }

.roadmap-section { padding-top:80px; }
.roadmap-layout { display:grid; grid-template-columns:.92fr 1.08fr; gap:70px; align-items:start; }
.roadmap-title { position:sticky; top:26px; }
.roadmap-title p { margin-top:24px; max-width:520px; }
.roadmap-list { display:grid; gap:16px; }
.phase { display:grid; grid-template-columns:88px 1fr; gap:18px; align-items:center; border:4px solid var(--ink); background:#fff; box-shadow:7px 7px 0 var(--ink); padding:18px; }
.phase:nth-child(2) { background:#e9ffd1; } .phase:nth-child(3) { background:#d9f1ff; } .phase:nth-child(4) { background:#ffe2ef; }
.phase-num { width:70px; height:70px; border:3px solid var(--ink); background:var(--yellow); display:grid; place-items:center; font-size:25px; box-shadow:4px 4px 0 var(--ink); }
.phase h3 { margin:0 0 6px; font-size:28px; }
.phase p { margin:0; font:800 12px ui-monospace,monospace; color:#36577f; }

.chart-head { display:flex; justify-content:space-between; gap:28px; align-items:end; }
.chart-head p { max-width:560px; margin-top:18px; }
.chart-head code { background:#dff3ff; border:1px solid #83bfe8; padding:2px 5px; }
.orb { width:80px; height:80px; border:4px solid var(--ink); background:var(--yellow); border-radius:50%; display:grid; place-items:center; font-size:34px; box-shadow:7px 7px 0 var(--ink); animation:orb 4s ease-in-out infinite; }
@keyframes orb { 50% { transform:translateY(-8px) rotate(180deg); } }
.chart-frame { margin-top:38px; min-height:540px; border:4px solid var(--ink); background:#061731; box-shadow:10px 10px 0 var(--ink); position:relative; overflow:hidden; }
.chart-frame iframe { width:100%; min-height:540px; height:100%; border:0; display:none; background:#061731; }
.chart-placeholder { min-height:540px; color:#fff; display:grid; place-items:center; align-content:center; text-align:center; gap:10px; padding:40px; background:radial-gradient(circle at center,#083f7a,#041327 68%); }
.loader-dog { font-size:72px; animation:roll 4s linear infinite; transform-origin:center; }
@keyframes roll { 50% { transform:translateX(26px) rotate(10deg); } }
.chart-placeholder h3 { margin:0; font-size:28px; color:var(--yellow); }
.chart-placeholder p { margin:0; font:700 13px/1.6 ui-monospace,monospace; color:#bfe8ff; }

.finale { padding: 40px 0 110px; }
.finale-inner { background:var(--sky); color:#fff; border:4px solid var(--ink); box-shadow:12px 12px 0 var(--ink); padding:46px; display:flex; justify-content:space-between; align-items:center; gap:36px; position:relative; overflow:hidden; }
.finale-inner::before { content:""; position:absolute; width:300px; height:300px; right:12%; top:-180px; border:36px solid var(--yellow); border-radius:50%; opacity:.35; }
.finale small { display:block; font:900 10px ui-monospace,monospace; letter-spacing:.12em; margin-bottom:14px; color:#d9f3ff; }
.finale h2 span { color:var(--yellow); text-shadow:4px 4px 0 var(--sky-dark); }
.finale-btn { background:var(--lime); white-space:nowrap; position:relative; z-index:2; }

.footer { min-height:110px; border-top:3px solid #bcdaf4; display:flex; align-items:center; justify-content:space-between; gap:20px; font:900 10px ui-monospace,monospace; color:#4e6f91; }
.toast { position:fixed; left:50%; bottom:28px; transform:translate(-50%,140%); z-index:40; background:var(--ink); color:#fff; border:3px solid #fff; box-shadow:5px 5px 0 var(--orange); padding:12px 16px; font:900 11px ui-monospace,monospace; transition:transform .25s ease; }
.toast.show { transform:translate(-50%,0); }

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

@media (max-width: 980px) {
  body { background:linear-gradient(180deg,#118fff 0,#0a83f7 18%,#fff 18.2%,#fff 100%); }
  .nav nav { display:none; }
  .hero { grid-template-columns:1fr; padding-top:28px; }
  .hero-art { min-height:520px; }
  .about-grid,.roadmap-layout { grid-template-columns:1fr; gap:38px; }
  .roadmap-title { position:static; }
  .world-head { align-items:start; flex-direction:column; }
  .world-grid { grid-template-columns:1fr; }
  .world-card { min-height:250px; }
  .finale-inner { flex-direction:column; align-items:flex-start; }
}

@media (max-width: 620px) {
  .shell { width:min(100% - 22px,1180px); }
  .ticker { height:32px; }
  .nav { height:64px; }
  .hero { min-height:auto; gap:10px; padding-bottom:52px; }
  .eyebrow { font-size:9px; }
  .title-top { font-size:clamp(60px,20vw,86px); }
  .title-bottom { font-size:clamp(58px,19vw,82px); }
  .hero-lead { font-size:12px; }
  .cta-row { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
  .pixel-btn { min-height:48px; padding:0 8px; font-size:11px; }
  .contract-box { align-items:stretch; flex-direction:column; }
  .contract-box button { width:100%; }
  .hero-art { min-height:390px; }
  .dog-card { width:84%; box-shadow:10px 10px 0 var(--ink); }
  .tag-one { right:-3px; top:35px; }
  .tag-two { left:0; top:0; }
  .section { padding:76px 0; }
  .section h2,.finale h2 { font-size:clamp(44px,14vw,62px); }
  .mini-stats { grid-template-columns:1fr; }
  .chart-head { align-items:flex-start; }
  .orb { display:none; }
  .chart-frame,.chart-frame iframe,.chart-placeholder { min-height:460px; }
  .phase { grid-template-columns:66px 1fr; padding:13px; }
  .phase-num { width:56px;height:56px;font-size:20px; }
  .phase h3 { font-size:23px; }
  .finale-inner { padding:28px 22px; }
  .footer { flex-direction:column; justify-content:center; align-items:flex-start; padding:24px 0; }
}

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