:root {
  --bg: #070807;
  --bg-2: #10140c;
  --ink: #f4f8ea;
  --muted: #8f9878;
  --lime: #c8ff00;
  --lime-2: #e4ff6a;
  --pink: #ff4d6a;
  --line: rgba(200, 255, 0, 0.18);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  --font-display: "Anton", Impact, sans-serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { background: var(--bg); color: var(--ink); }
body {
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
  background: rgba(7, 8, 7, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.18em;
  font-weight: 700;
  font-size: 13px;
}
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--lime);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--lime); }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--lime);
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--lime);
  background: var(--lime);
  color: #101406;
  padding: 11px 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn.ghost {
  background: transparent;
  color: var(--lime);
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.hero {
  position: relative;
  min-height: calc(100svh - 69px);
  display: grid;
  place-items: end start;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.06) saturate(1.08);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,8,7,0.12) 0%, rgba(7,8,7,0.2) 38%, rgba(7,8,7,0.92) 100%),
    radial-gradient(ellipse at 70% 40%, transparent 18%, rgba(7,8,7,0.4) 80%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 0 22px 56px;
  width: min(1180px, 100%);
  margin: 0 auto;
}
.kicker {
  color: var(--lime);
  letter-spacing: 0.32em;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(72px, 16vw, 168px);
  line-height: 0.84;
  letter-spacing: 0.02em;
}
.sub {
  margin-top: 16px;
  max-width: 560px;
  color: #dce6c4;
  font-size: 18px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  align-items: center;
}
.ca-box {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.5);
  padding: 10px 12px;
  min-width: min(560px, 100%);
  margin-top: 18px;
}
.ca-box code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--lime-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ca-box button {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--lime);
  cursor: pointer;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #0c1008;
  padding: 11px 0;
}
.ticker-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 28s linear infinite;
  color: var(--lime);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 12px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 28px 22px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--lime);
  margin-top: 6px;
  letter-spacing: 0.02em;
}
.stat span { color: var(--muted); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }

section { padding: 88px 0; scroll-margin-top: 84px; }
section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin-bottom: 18px;
}
.lead { color: var(--muted); max-width: 640px; }

.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.portrait img,
.moon-card img,
.coin-art {
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.portrait img { aspect-ratio: 1; border-radius: 18px; }
.moon-card img { aspect-ratio: 4 / 3; }
.coin-art { aspect-ratio: 1; background: #0a0c08; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.card {
  border: 1px solid var(--line);
  padding: 22px;
  background: rgba(200, 255, 0, 0.03);
}
.card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.card p { color: var(--muted); font-size: 15px; }

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 28px;
}
.fact {
  background: var(--bg-2);
  padding: 18px 16px;
}
.fact span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.fact b { display: block; margin-top: 6px; font-size: 16px; }

.grad { margin-top: 36px; }
.grad-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: var(--muted);
}
.grad-head b { color: var(--lime); font-size: 18px; letter-spacing: 0; }
.bar {
  height: 10px;
  background: #1a2010;
  border: 1px solid var(--line);
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--lime), var(--lime-2));
  transition: width 0.6s ease;
}

.bullets {
  margin-top: 18px;
  color: var(--muted);
  padding-left: 18px;
}
.bullets li { margin: 6px 0; }
.bullets code { font-family: var(--font-mono); color: var(--lime-2); font-size: 13px; }

.steps { display: grid; gap: 16px; margin-top: 22px; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; }
.num {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--lime);
  line-height: 1;
}
.step h3 { font-size: 18px; margin-bottom: 4px; }
.step p { color: var(--muted); }

.net {
  margin-top: 18px;
  display: grid;
  gap: 8px;
  font-size: 13px;
}
.net div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 8px;
}
.net span { color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; font-size: 11px; }
.net code { font-family: var(--font-mono); color: var(--lime-2); font-size: 12px; }

.chart-box {
  margin-top: 22px;
  border: 1px solid var(--line);
  height: min(560px, 70vh);
  background: #0a0c08;
  position: relative;
}
.links a[hidden] { display: none !important; }
.chart-box::before {
  content: var(--chart-label, "Dexscreener chart");
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
}
.chart-box iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.links a {
  border: 1px solid var(--line);
  padding: 8px 12px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
}
.links a:hover { background: rgba(200, 255, 0, 0.08); }

.foot {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 13px;
}
.foot-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}
.foot p { max-width: 640px; }
.foot .brand img { width: 32px; height: 32px; border-radius: 8px; }

.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--lime);
  color: #101406;
  padding: 10px 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 90;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 69px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #0c1008;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; width: 100%; padding: 14px 22px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav .btn { display: none; }
  .stats, .facts, .cards, .grid-2 { grid-template-columns: 1fr; }
  .stat, .fact { border-right: 0; border-bottom: 1px solid var(--line); }
  .foot-grid { flex-direction: column; align-items: flex-start; }
  h1 { font-size: clamp(64px, 22vw, 120px); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}
