@font-face {
  font-family: "Kids Magazine";
  src: url("assets/fonts/Kids%20Magazine.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #010503;
  --ink: #061008;
  --surface: #07170c;
  --surface-2: #0d2413;
  --surface-3: #14391c;
  --green: #24ff65;
  --mint: #9dff74;
  --yellow: #ffdb19;
  --amber: #ff9f0a;
  --blue: #6ad3ff;
  --white: #fbfff0;
  --muted: #b6cda9;
  --line: rgba(98, 255, 117, 0.28);
  --line-hot: rgba(255, 219, 25, 0.72);
  --shadow: 0 22px 70px rgba(36, 255, 101, 0.22);
  --radius: 8px;
  --font-display: "Kids Magazine", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --font-body: "Kids Magazine", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 219, 25, 0.22), transparent 18rem),
    radial-gradient(circle at 86% 14%, rgba(36, 255, 101, 0.18), transparent 22rem),
    linear-gradient(rgba(36, 255, 101, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 255, 101, 0.08) 1px, transparent 1px),
    var(--bg);
  background-size: auto, auto, 44px 44px, 44px 44px, auto;
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  text-transform: uppercase;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, rgba(1, 5, 3, 0), rgba(1, 5, 3, 0.62));
  mix-blend-mode: screen;
}

.background-noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    conic-gradient(from 120deg at 50% 20%, transparent, rgba(36, 255, 101, 0.08), transparent 32%),
    linear-gradient(130deg, transparent 0 16%, rgba(255, 219, 25, 0.09) 16% 17%, transparent 17% 38%, rgba(36, 255, 101, 0.12) 38% 39%, transparent 39%);
  opacity: 0.82;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  font-family: inherit;
}

.site-shell {
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 76px;
  padding: 12px clamp(14px, 4vw, 40px);
  background: rgba(1, 5, 3, 0.88);
  border-bottom: 3px solid var(--green);
  box-shadow: 0 10px 42px rgba(36, 255, 101, 0.12);
  backdrop-filter: blur(18px);
}

.brand,
.nav-actions,
.button-row,
.contract-bar,
.stats,
.center,
.hero-badges,
.community-board {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 28px;
  line-height: 1;
  text-shadow: 2px 2px 0 rgba(36, 255, 101, 0.3);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 36px);
  color: var(--muted);
  font-size: 14px;
  text-transform: uppercase;
}

.nav-links a,
.footer a {
  transition: color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.footer a:hover {
  color: var(--yellow);
  transform: translateY(-1px);
}

.nav-actions {
  gap: 8px;
}

.nav-actions a,
.button,
.contract-bar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 2px solid var(--green);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 57, 28, 0.94), rgba(3, 15, 6, 0.94));
  color: var(--white);
  font-size: 15px;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 5px 5px 0 rgba(36, 255, 101, 0.18);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.nav-actions a:hover,
.button:hover,
.contract-bar button:hover {
  border-color: var(--yellow);
  box-shadow: 7px 7px 0 rgba(255, 219, 25, 0.22), 0 0 24px rgba(36, 255, 101, 0.2);
  transform: translate(-1px, -2px);
}

.section-grid,
.intro,
.route,
.buy,
.community,
.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(330px, 1.05fr);
  align-items: center;
  gap: clamp(26px, 5vw, 72px);
  min-height: calc(100vh - 76px);
  padding: clamp(38px, 6vw, 72px) 0 42px;
}

.hero::before {
  position: absolute;
  inset: 7% -8% 4%;
  z-index: -1;
  content: "";
  border: 1px solid rgba(36, 255, 101, 0.22);
  border-radius: 50%;
  background:
    linear-gradient(42deg, transparent 0 32%, rgba(36, 255, 101, 0.16) 32% 33%, transparent 33% 55%, rgba(255, 219, 25, 0.13) 55% 56%, transparent 56%),
    radial-gradient(circle, rgba(36, 255, 101, 0.08), transparent 62%);
  transform: rotate(-4deg);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 9px 12px;
  border: 2px solid var(--green);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--green);
  font-size: 15px;
  line-height: 1.1;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 rgba(36, 255, 101, 0.2);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.14;
  text-transform: uppercase;
  text-wrap: balance;
}

h1 {
  max-width: 660px;
  color: var(--yellow);
  font-size: clamp(70px, 9.6vw, 132px);
  text-shadow:
    0 0 18px rgba(255, 219, 25, 0.35),
    7px 7px 0 #123b17,
    12px 12px 0 rgba(36, 255, 101, 0.28);
}

h2 {
  font-size: clamp(42px, 6.4vw, 82px);
}

h3 {
  color: var(--yellow);
  font-size: 42px;
}

p {
  color: var(--muted);
  font-size: 21px;
  line-height: 1.38;
}

.hero-lede {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--white);
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1.3;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.45);
}

.hero-badges {
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.hero-badges span,
.stamp-stack span,
.community-board span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 2px solid var(--line-hot);
  border-radius: var(--radius);
  background: var(--yellow);
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.45);
}

.button-row {
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 18px;
}

.button-primary {
  background: linear-gradient(180deg, var(--yellow), var(--amber));
  border-color: var(--yellow);
  color: var(--ink);
  box-shadow: 6px 6px 0 rgba(36, 255, 101, 0.3);
}

.contract-bar {
  flex-wrap: wrap;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  padding: 12px;
  border: 3px solid var(--green);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255, 219, 25, 0.1), transparent),
    rgba(1, 5, 3, 0.88);
  box-shadow: 8px 8px 0 rgba(36, 255, 101, 0.13);
}

.contract-bar span {
  color: var(--muted);
  font-size: 14px;
  text-transform: uppercase;
}

.contract-bar strong {
  color: var(--green);
  font-size: clamp(26px, 4vw, 38px);
}

.contract-address {
  max-width: min(680px, 100%);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero-art {
  position: relative;
  min-width: 0;
  padding: 22px;
}

.hero-art::before {
  position: absolute;
  inset: 8% 2% 2% 12%;
  z-index: -1;
  content: "";
  border: 2px solid var(--green);
  border-radius: 50% 46% 48% 52%;
  background: rgba(36, 255, 101, 0.09);
  filter: blur(0.2px);
  transform: rotate(8deg);
}

.map-pins span {
  position: absolute;
  z-index: 3;
  width: 28px;
  height: 28px;
  border: 5px solid var(--yellow);
  border-radius: 50% 50% 50% 0;
  background: var(--green);
  box-shadow: 0 0 22px rgba(255, 219, 25, 0.72);
  transform: rotate(-45deg);
}

.map-pins span:nth-child(1) {
  top: 13%;
  left: 8%;
}

.map-pins span:nth-child(2) {
  right: 4%;
  top: 28%;
  animation: pinBounce 1.9s ease-in-out infinite;
}

.map-pins span:nth-child(3) {
  right: 18%;
  bottom: 9%;
}

.coin-orbit {
  position: relative;
  z-index: 2;
  border: 4px solid var(--green);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 219, 25, 0.13), transparent 44%),
    radial-gradient(circle, rgba(36, 255, 101, 0.2), transparent 68%);
  box-shadow: 0 0 70px rgba(36, 255, 101, 0.42), inset 0 0 48px rgba(36, 255, 101, 0.22);
  animation: hoverCoin 4.5s ease-in-out infinite;
}

.coin-orbit::before,
.coin-orbit::after {
  position: absolute;
  inset: 8%;
  content: "";
  border: 2px dashed rgba(184, 255, 84, 0.48);
  border-radius: 50%;
  animation: spin 20s linear infinite;
}

.coin-orbit::after {
  inset: 19%;
  border-color: rgba(255, 219, 25, 0.42);
  animation-duration: 13s;
  animation-direction: reverse;
}

.coin-orbit img {
  position: relative;
  z-index: 2;
  width: 100%;
  filter: drop-shadow(0 0 36px rgba(36, 255, 101, 0.54));
}

.stats span,
.map-board span,
.steps span,
.ticket span {
  color: var(--green);
  font-size: 14px;
  line-height: 1;
  text-transform: uppercase;
}

.ticker-strip {
  width: 100%;
  overflow: hidden;
  border-block: 4px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 0 40px rgba(255, 219, 25, 0.18);
}

.ticker-strip div {
  display: flex;
  width: max-content;
  animation: ticker 22s linear infinite;
}

.ticker-strip span {
  padding: 16px 24px;
  font-size: 36px;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.intro,
.route,
.buy,
.community {
  position: relative;
  padding: clamp(64px, 10vw, 128px) 0;
}

.intro-layout,
.buy-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 5vw, 72px);
}

.stamp-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  transform: rotate(-2deg);
}

.story {
  position: relative;
  padding: clamp(22px, 3vw, 34px);
  border: 3px solid var(--green);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 219, 25, 0.08), transparent 45%),
    rgba(7, 23, 12, 0.84);
  box-shadow: 10px 10px 0 rgba(36, 255, 101, 0.14);
}

.story::before {
  position: absolute;
  top: -18px;
  right: 22px;
  content: "FIELD NOTES";
  padding: 7px 10px;
  background: var(--yellow);
  color: var(--ink);
  border-radius: var(--radius);
  font-size: 15px;
  line-height: 1;
}

.story p:first-child {
  margin-top: 0;
}

.story p:last-child {
  margin-bottom: 0;
}

.story strong {
  color: var(--yellow);
}

.route-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 34px;
}

.map-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 390px;
  border: 4px solid var(--green);
  border-radius: var(--radius);
  background:
    linear-gradient(33deg, transparent 0 18%, rgba(36, 255, 101, 0.15) 18% 20%, transparent 20% 42%, rgba(255, 219, 25, 0.13) 42% 44%, transparent 44%),
    linear-gradient(122deg, transparent 0 56%, rgba(106, 211, 255, 0.12) 56% 57%, transparent 57%),
    linear-gradient(180deg, #010604, #030b06);
  box-shadow: var(--shadow);
}

.map-board::before {
  position: absolute;
  left: 7%;
  right: 7%;
  top: 50%;
  height: 18px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--green));
  box-shadow: 0 0 26px rgba(36, 255, 101, 0.46);
  transform: rotate(-8deg);
}

.map-board::after {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: calc(var(--radius) - 2px);
  background: rgba(0, 4, 2, 0.5);
  pointer-events: none;
}

.map-board article {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: clamp(20px, 2.7vw, 34px);
  border-right: 2px solid rgba(36, 255, 101, 0.25);
  background: linear-gradient(180deg, rgba(1, 7, 4, 0.94), rgba(1, 10, 5, 0.96));
}

.map-board article:last-child {
  border-right: 0;
}

.map-board b {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  place-items: center;
  border: 3px solid var(--green);
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-size: 24px;
  box-shadow: 0 0 24px rgba(255, 219, 25, 0.25);
}

.map-board p,
.steps p {
  font-size: 19px;
  line-height: 1.26;
}

.stats {
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  transform: rotate(-1deg);
}

.stats div {
  flex: 1 1 220px;
  min-height: 128px;
  padding: 20px;
  border: 3px solid var(--green);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 57, 28, 0.96), rgba(3, 15, 6, 0.96));
  box-shadow: 7px 7px 0 rgba(255, 219, 25, 0.17);
}

.stats strong {
  display: block;
  margin-top: 8px;
  color: var(--yellow);
  font-size: 45px;
  line-height: 0.95;
  text-transform: uppercase;
}

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  padding: 22px 22px 22px 82px;
  border: 3px solid var(--green);
  border-radius: var(--radius);
  background: rgba(7, 23, 12, 0.88);
  box-shadow: 7px 7px 0 rgba(36, 255, 101, 0.12);
}

.steps li::before {
  position: absolute;
  left: 20px;
  top: 24px;
  width: 35px;
  height: 35px;
  content: "";
  border: 4px solid var(--yellow);
  border-radius: 50% 50% 50% 0;
  background: var(--green);
  transform: rotate(-45deg);
}

.steps strong {
  display: block;
  margin-top: 8px;
  color: var(--white);
  font-size: 28px;
  line-height: 1.05;
  text-transform: uppercase;
}

.ticket {
  width: min(440px, 100%);
  margin-top: 28px;
  padding: 20px;
  border: 3px dashed var(--yellow);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255, 219, 25, 0.14), transparent),
    rgba(1, 5, 3, 0.84);
  box-shadow: 8px 8px 0 rgba(36, 255, 101, 0.13);
}

.ticket strong,
.ticket em {
  display: block;
}

.ticket strong {
  margin: 8px 0;
  color: var(--yellow);
  font-size: 34px;
  line-height: 1.02;
}

.ticket em {
  color: var(--muted);
  font-size: 16px;
  font-style: normal;
}

.community {
  text-align: center;
}

.community::before {
  display: block;
  width: min(680px, 100%);
  height: 24px;
  margin: 0 auto 32px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--green));
  box-shadow: 0 0 30px rgba(36, 255, 101, 0.32);
}

.community p {
  max-width: 780px;
  margin: 24px auto 0;
  color: var(--white);
  font-size: 24px;
  line-height: 1.34;
}

.community-board {
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.center {
  justify-content: center;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 34px 0 44px;
  border-top: 3px solid var(--green);
}

.footer p {
  max-width: 830px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.footer a {
  flex: none;
  color: var(--yellow);
  font-size: 17px;
  text-transform: uppercase;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.map-board article:hover,
.steps li:hover {
  border-color: var(--yellow);
  box-shadow: 0 0 26px rgba(36, 255, 101, 0.25), 8px 8px 0 rgba(255, 219, 25, 0.18);
}

[data-link-pending="true"] {
  position: relative;
}

[data-link-pending="true"]::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

[data-pulse="true"] {
  animation: pendingPulse 900ms ease;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes hoverCoin {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-13px) rotate(1deg);
  }
}

@keyframes pinBounce {
  0%,
  100% {
    transform: rotate(-45deg) translate(0, 0);
  }
  50% {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

@keyframes pendingPulse {
  0%,
  100% {
    transform: translateY(0);
  }
  45% {
    transform: translateY(-2px);
    box-shadow: 0 0 26px rgba(255, 219, 25, 0.35);
  }
}

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

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr;
  }

  .nav-links,
  .nav-actions {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .intro-layout,
  .route-head,
  .buy-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .hero-art {
    max-width: 610px;
    margin: 0 auto;
  }

  .map-board,
  .map-board::before {
    left: 13%;
    right: auto;
    top: 12%;
    bottom: 12%;
    width: 18px;
    height: auto;
    transform: none;
  }

  .map-board article {
    border-right: 0;
    border-bottom: 2px solid rgba(36, 255, 101, 0.25);
  }

  .map-board article:last-child {
    border-bottom: 0;
  }

  .stats {
    transform: none;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .section-grid,
  .intro,
  .route,
  .buy,
  .community,
  .footer,
  .stats {
    width: min(100% - 22px, 1180px);
  }

  h1 {
    font-size: clamp(46px, 14vw, 62px);
    line-height: 1.18;
    text-shadow: 4px 4px 0 #123b17, 7px 7px 0 rgba(36, 255, 101, 0.28);
  }

  h2 {
    font-size: clamp(28px, 8.4vw, 38px);
    line-height: 1.28;
  }

  p {
    font-size: 17px;
    line-height: 1.48;
  }

  h3 {
    font-size: 34px;
    line-height: 1.12;
  }

  .hero-lede {
    font-size: 20px;
  }

  .eyebrow {
    font-size: 13px;
  }

  .map-board p,
  .steps p {
    font-size: 16px;
    line-height: 1.44;
  }

  .ticket strong {
    font-size: 28px;
  }

  .button,
  .nav-actions a {
    width: 100%;
  }

  .button-row,
  .nav-actions {
    align-items: stretch;
    width: 100%;
  }

  .contract-bar {
    width: min(100%, calc(100vw - 34px));
    gap: 8px;
  }

  .contract-bar strong {
    font-size: 22px;
  }

  .contract-bar button {
    min-height: 38px;
    padding: 0 12px;
  }

  .hero-art {
    padding: 8px;
  }

  .steps li {
    padding-left: 70px;
  }

  .community p {
    font-size: 20px;
  }
}
