:root {
  --bg: #130520;
  --bg-2: #230634;
  --panel: #1b0828;
  --purple: #6d18a8;
  --purple-bright: #9b2ce1;
  --yellow: #ffd900;
  --yellow-2: #ffef63;
  --red: #ff2741;
  --white: #fffaf0;
  --ink: #08030d;
  --muted: #c7b7d2;
  --line: rgba(255,255,255,.16);
  --shadow: 8px 8px 0 #08030d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--white);
  background:
    radial-gradient(circle at 72% 18%, rgba(119, 20, 177, .30), transparent 28rem),
    linear-gradient(180deg, #160520 0%, #0e0317 100%);
  font-family: "Courier New", Courier, monospace;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 75%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(11, 2, 18, .88);
  border-bottom: 2px solid rgba(255, 217, 0, .5);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-weight: 900;
  letter-spacing: .08em;
}

.brand-dot {
  width: 18px;
  height: 18px;
  background: var(--yellow);
  box-shadow: 4px 0 0 var(--yellow-2), 0 4px 0 #a77c00;
}

.nav-links { display: flex; gap: 28px; font-size: .82rem; font-weight: 900; }
.nav-links a { color: #d9cce0; transition: color .18s ease, transform .18s ease; }
.nav-links a:hover { color: var(--yellow); transform: translateY(-1px); }

.top-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.icon-btn, .buy-btn {
  display: inline-grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,.2);
  background: #1f0b2e;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.icon-btn { width: 40px; height: 40px; }
.icon-btn img { width: 20px; filter: invert(1); }
.buy-btn {
  min-height: 40px;
  padding: 0 18px;
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--ink);
}
.icon-btn:hover, .buy-btn:hover { transform: translate(-2px, -2px); }

.section-shell { width: min(1180px, calc(100% - 36px)); margin-inline: auto; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(30px, 6vw, 88px);
  min-height: calc(100vh - 72px);
  padding: 76px 0 64px;
}

.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 11px;
  color: var(--yellow);
  background: rgba(255,217,0,.08);
  border: 1px solid rgba(255,217,0,.42);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .12em;
}

h1 {
  margin: 0;
  font-size: clamp(4.6rem, 10vw, 9rem);
  line-height: .78;
  letter-spacing: -.09em;
  text-transform: uppercase;
  text-shadow: 7px 7px 0 #08030d;
}
h1 span { color: var(--yellow); }
.ticker {
  margin: 28px 0 0;
  color: var(--purple-bright);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 900;
  letter-spacing: .2em;
}
.hero-text {
  max-width: 600px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.arcade-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px;
  border: 2px solid rgba(255,255,255,.22);
  font-weight: 900;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.arcade-btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.arcade-btn img { width: 22px; height: 22px; filter: invert(1); }
.arcade-btn.primary { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.arcade-btn.primary img { filter: none; }
.arcade-btn.secondary { background: #241034; }
.arcade-btn.fomo-link { background: #fff; color: #111; border-color: #fff; min-width: 100px; }

.contract-box {
  margin-top: 24px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.18);
}
.contract-label { display: block; margin-bottom: 4px; color: #a995b7; font-size: .68rem; letter-spacing: .13em; }
.contract-box code { word-break: break-all; color: var(--yellow); }
.contract-box button {
  border: 0;
  padding: 10px 12px;
  background: var(--purple-bright);
  color: white;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.hero-art-wrap { position: relative; display: grid; place-items: center; }
.pixel-frame {
  position: relative;
  width: min(540px, 100%);
  border: 4px solid #7b22b2;
  padding: 10px;
  background: #12031c;
  box-shadow: 14px 14px 0 #07020b, -8px -8px 0 rgba(255, 217, 0, .9);
  transform: rotate(1.4deg);
}
.pixel-frame::before,
.pixel-frame::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--yellow);
}
.pixel-frame::before { left: -10px; top: -10px; }
.pixel-frame::after { right: -10px; bottom: -10px; }
.hero-art { width: 100%; aspect-ratio: 1; object-fit: cover; image-rendering: pixelated; }
.pellets { position: absolute; right: -28px; bottom: 8%; display: flex; gap: 15px; }
.pellets i { width: 11px; height: 11px; background: var(--yellow); box-shadow: 0 0 16px rgba(255,217,0,.7); }

.marquee { overflow: hidden; border-block: 3px solid var(--ink); background: var(--yellow); color: var(--ink); transform: rotate(-1deg) scale(1.02); }
.marquee-track {
  display: flex;
  width: max-content;
  gap: 30px;
  padding: 13px 0;
  font-weight: 900;
  letter-spacing: .08em;
  animation: marquee 18s linear infinite;
}
@keyframes marquee { to { transform: translateX(-50%); } }

.content-section { padding: 110px 0 20px; }
.section-title { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
.section-title span { color: var(--yellow); font-size: .8rem; font-weight: 900; }
.section-title h2 { margin: 0; font-size: clamp(2.3rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -.06em; }
.section-title::after { content: ""; height: 2px; flex: 1; background: linear-gradient(90deg, rgba(255,255,255,.3), transparent); }

.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.card, .step-card, .link-card {
  border: 2px solid rgba(255,255,255,.16);
  background: linear-gradient(180deg, rgba(39, 13, 56, .9), rgba(20, 6, 31, .92));
  box-shadow: var(--shadow);
}
.card { min-height: 320px; padding: clamp(24px, 4vw, 48px); }
.big-card { display: flex; align-items: end; background: radial-gradient(circle at 85% 20%, rgba(255,217,0,.14), transparent 16rem), linear-gradient(180deg, #261038, #170622); }
.big-line { margin: 0; font-size: clamp(2rem, 4.2vw, 4.5rem); line-height: .98; font-weight: 900; letter-spacing: -.07em; }
.big-line em { color: var(--yellow); font-style: normal; }
.copy-card { display: grid; align-content: center; gap: 22px; }
.copy-card p { margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.8; }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card { position: relative; min-height: 250px; padding: 28px; overflow: hidden; }
.step-card::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -26px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: .08;
}
.step-num { color: var(--yellow); font-size: .8rem; font-weight: 900; }
.step-card h3 { margin: 36px 0 12px; font-size: 1.55rem; }
.step-card p { margin: 0; color: var(--muted); line-height: 1.65; }

.links-section { padding-bottom: 110px; }
.link-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.link-card {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 98px;
  padding: 18px 20px;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.link-card:hover { transform: translate(-3px, -3px); border-color: var(--yellow); background: #2a103c; }
.link-card img { width: 34px; height: 34px; filter: invert(1); }
.link-card small { display: block; margin-bottom: 5px; color: #9c88aa; font-size: .68rem; letter-spacing: .1em; }
.link-card strong { font-size: 1rem; }
.link-card > span { color: var(--yellow); font-size: 1.6rem; }
.fomo-card { grid-column: 1 / -1; }
.fomo-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: white;
  color: #111;
  font-weight: 900;
  font-size: 1.4rem;
}

footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 30px clamp(18px, 4vw, 56px);
  border-top: 2px solid rgba(255,255,255,.12);
  background: #09020e;
}
.footer-brand { color: var(--yellow); font-weight: 900; }
footer p { margin: 0; max-width: 850px; color: #8e7d98; font-size: .75rem; line-height: 1.55; }
footer > span { color: #8e7d98; font-size: .72rem; }

.is-disabled { opacity: .45; pointer-events: none; filter: grayscale(1); }

@media (max-width: 920px) {
  .topbar { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 56px; }
  .hero-art-wrap { order: -1; }
  .pixel-frame { width: min(500px, 88vw); }
  h1 { font-size: clamp(4rem, 20vw, 7.8rem); }
  .about-grid, .steps-grid { grid-template-columns: 1fr; }
  .card { min-height: auto; }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .topbar { min-height: 64px; padding: 10px 14px; }
  .brand { font-size: .84rem; }
  .icon-btn { width: 36px; height: 36px; }
  .buy-btn { min-height: 36px; padding-inline: 12px; }
  .top-actions { gap: 7px; }
  .section-shell { width: min(100% - 24px, 1180px); }
  .hero { padding: 38px 0 48px; gap: 46px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .arcade-btn { width: 100%; }
  .pixel-frame { box-shadow: 8px 8px 0 #07020b, -5px -5px 0 rgba(255, 217, 0, .9); }
  .pellets { display: none; }
  .content-section { padding-top: 80px; }
  .link-grid { grid-template-columns: 1fr; }
  .fomo-card { grid-column: auto; }
  .link-card { min-height: 86px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
