:root {
  --bg: #040604;
  --ink: #f4fff0;
  --muted: #9aaf90;
  --lime: #9cff4a;
  --lime-dim: #6dbe2f;
  --pink: #ff4a7a;
  --panel: #0b100b;
  --line: #1c2a14;
  --shadow: #9cff4a;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "VT323", monospace;
  font-size: 22px;
  line-height: 1.35;
  image-rendering: pixelated;
}

img {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

a { color: var(--lime); }

h1, h2, h3, .brand, .btn, .chip, .ticker, .num, .pixel-label {
  font-family: "Press Start 2P", monospace;
}

.scanlines,
.grid-bg {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 40;
}

.scanlines {
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.18) 0,
    rgba(0, 0, 0, 0.18) 1px,
    transparent 1px,
    transparent 3px
  );
}

.grid-bg {
  z-index: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(156, 255, 74, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(156, 255, 74, 0.08) 1px, transparent 1px);
  background-size: 16px 16px;
}

.nav,
main,
footer { position: relative; z-index: 1; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 5%;
  background: #000;
  border-bottom: 4px solid var(--lime);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--lime);
  text-decoration: none;
  font-size: 14px;
}

.brand img {
  width: 40px;
  height: 40px;
  background: #000;
  border: 3px solid var(--lime);
}

.links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.links a {
  color: var(--ink);
  text-decoration: none;
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
}

.links a:hover { color: var(--lime); }

.menu-btn {
  display: none;
  background: var(--pink);
  color: #fff;
  border: 3px solid #fff;
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  padding: 10px 12px;
  cursor: pointer;
}

.btn {
  display: inline-block;
  border: 3px solid #fff;
  padding: 12px 14px;
  text-decoration: none;
  font-size: 10px;
  color: #041104;
  background: var(--lime);
  box-shadow: 4px 4px 0 #000;
  cursor: pointer;
}

.btn:hover { transform: translate(-1px, -1px); }

.btn-ghost {
  background: #000;
  color: var(--lime);
  border-color: var(--lime);
}

.btn-buy {
  background: var(--pink);
  color: #fff;
  border-color: #fff;
}

.hero,
section {
  padding: 72px 6%;
}

.hero {
  text-align: center;
  padding-top: 48px;
}

.hero-banner {
  position: relative;
  max-width: 920px;
  margin: 0 auto 28px;
  background: #000;
  border: 4px solid var(--lime);
  box-shadow: 8px 8px 0 var(--pink);
  overflow: hidden;
}

.hero-banner > img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-flies .fly {
  position: absolute;
  width: 54px;
  height: 54px;
  animation: buzz 4.8s ease-in-out infinite;
}

.fly.f1 { top: 12%; left: 8%; animation-delay: 0s; }
.fly.f2 { top: 58%; right: 10%; width: 40px; height: 40px; animation-delay: 1.2s; }
.fly.f3 { top: 22%; right: 22%; width: 32px; height: 32px; animation-delay: 2.1s; }

@keyframes buzz {
  0%, 100% { transform: translate(0, 0) rotate(-6deg); }
  50% { transform: translate(12px, -18px) rotate(8deg); }
}

.chip {
  display: inline-block;
  margin: 0 0 16px;
  padding: 8px 10px;
  border: 3px solid var(--pink);
  color: var(--pink);
  font-size: 10px;
}

.blink { animation: blink 1s steps(2) infinite; }

@keyframes blink {
  50% { opacity: 0; }
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 7vw, 64px);
  color: var(--lime);
  text-shadow: 4px 4px 0 #000, 6px 6px 0 var(--pink);
}

.ticker {
  margin: 0 0 16px;
  color: var(--pink);
  font-size: 14px;
  letter-spacing: 3px;
}

.tagline {
  max-width: 680px;
  margin: 0 auto 22px;
  color: var(--muted);
  font-size: 26px;
}

.ca-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.ca-row code {
  background: #000;
  border: 3px solid var(--line);
  padding: 10px 12px;
  font-family: "VT323", monospace;
  font-size: 20px;
  color: var(--lime);
  word-break: break-all;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-top: 0;
}

.pixel-card {
  background: var(--panel);
  border: 4px solid var(--line);
  box-shadow: 6px 6px 0 #000;
  padding: 22px;
}

.stats .pixel-card p {
  margin: 0 0 10px;
  color: var(--muted);
  font-family: "Press Start 2P", monospace;
  font-size: 9px;
}

.stats h3 {
  margin: 0;
  color: var(--lime);
  font-size: 13px;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(18px, 3vw, 26px);
  color: var(--lime);
}

.pixel-label {
  display: inline-block;
  margin-right: 10px;
  color: var(--pink);
  font-size: 12px;
}

.section-lead {
  margin: 0 0 24px;
  color: var(--muted);
}

.about-grid,
.buy-grid,
.social-grid {
  display: grid;
  gap: 16px;
}

.about-grid { grid-template-columns: 1.4fr 1fr; }
.buy-grid { grid-template-columns: repeat(4, 1fr); }
.social-grid { grid-template-columns: repeat(3, 1fr); }

.about-logo {
  width: 88px;
  height: 88px;
  background: #000;
  border: 3px solid var(--lime);
  margin-bottom: 14px;
}

.about-copy p { margin: 0 0 14px; }

.tiny {
  color: var(--muted);
  font-size: 16px;
}

.about-facts h3 {
  margin: 0 0 16px;
  color: var(--pink);
  font-size: 12px;
}

.about-facts ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-facts li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 2px dashed var(--line);
}

.about-facts span { color: var(--muted); }

.num {
  color: var(--pink);
  font-size: 16px;
  margin-bottom: 12px;
}

.step h3,
.social h3 {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--lime);
}

.step p,
.social p {
  margin: 0;
  color: var(--muted);
}

.chart-frame {
  border: 4px solid var(--lime);
  box-shadow: 8px 8px 0 var(--pink);
  background: #000;
}

iframe {
  display: block;
  width: 100%;
  height: 640px;
  border: 0;
  background: #000;
}

.social {
  text-decoration: none;
  color: inherit;
  text-align: center;
}

.social:hover {
  border-color: var(--lime);
  transform: translate(-2px, -2px);
}

.social img {
  width: 64px;
  height: 64px;
  background: #000;
  border: 3px solid var(--pink);
  margin-bottom: 12px;
}

footer {
  padding: 28px 6% 40px;
  border-top: 4px solid var(--lime);
  text-align: center;
  color: var(--muted);
}

footer img {
  width: 48px;
  height: 48px;
  border: 3px solid var(--lime);
  background: #000;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  background: var(--lime);
  color: #041104;
  border: 3px solid #fff;
  padding: 12px 14px;
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  box-shadow: 4px 4px 0 #000;
}

.nav.open .links { display: flex; }

@media (max-width: 980px) {
  .stats,
  .buy-grid,
  .about-grid,
  .social-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .menu-btn { display: block; }

  .links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 16px 5% 20px;
    background: #000;
    border-bottom: 4px solid var(--lime);
    flex-direction: column;
    align-items: stretch;
  }

  .stats,
  .buy-grid,
  .about-grid,
  .social-grid {
    grid-template-columns: 1fr;
  }

  iframe { height: 460px; }

  .hero, section { padding: 48px 5%; }
}
