:root {
  --bg: #1f1300;
  --ink: #fff8e7;
  --primary: #ffbf00;
  --secondary: #2ec4b6;
  --accent: #e71d36;
  --panel: #2a1900;
  --panel-2: #351f00;
  --line: rgba(255, 248, 231, 0.14);
  --shadow: 0 18px 0 rgba(0,0,0,0.22);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Baloo 2", system-ui, sans-serif;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,191,0,0.14), transparent 20%),
    radial-gradient(circle at 82% 12%, rgba(46,196,182,0.12), transparent 18%),
    radial-gradient(circle at 70% 80%, rgba(231,29,54,0.10), transparent 18%),
    var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, details, summary { font: inherit; }

.site-shell {
  width: min(1400px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 40px;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 14px 18px;
  margin-bottom: 20px;
  background: rgba(42, 25, 0, 0.76);
  border: 2px solid var(--line);
  backdrop-filter: blur(10px);
  border-radius: 999px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--ink);
  padding: 6px;
  border: 2px solid rgba(255,191,0,0.5);
}

.brand-text strong,
.brand-text em {
  display: block;
  line-height: 1;
}
.brand-text strong { font-size: 1.1rem; }
.brand-text em { font-style: normal; color: var(--primary); margin-top: 6px; font-family: "Space Mono", monospace; font-size: 0.88rem; }

.nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
}
.nav a {
  opacity: 0.9;
}
.nav a:hover,
.nav a:focus-visible,
.footer a:hover,
.footer a:focus-visible {
  color: var(--primary);
}

.nav-cta,
.btn,
.copy-btn {
  border: 2px solid #000;
  box-shadow: 0 6px 0 #000;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}
.nav-cta:hover,
.btn:hover,
.copy-btn:hover,
.nav-cta:focus-visible,
.btn:focus-visible,
.copy-btn:focus-visible {
  transform: translateY(2px);
  box-shadow: 0 4px 0 #000;
}

.nav-cta {
  background: var(--primary);
  color: #221300;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
}

.panel {
  position: relative;
  background: linear-gradient(180deg, rgba(53,31,0,0.84), rgba(42,25,0,0.92));
  border: 2px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 28px;
  margin-bottom: 22px;
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(255,248,231,0.14);
  border-radius: calc(var(--radius-xl) - 10px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: center;
}

.eyebrow,
.section-kicker,
.contract-label,
.label {
  font-family: "Space Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(46,196,182,0.12);
  border: 1px solid rgba(46,196,182,0.4);
  color: var(--secondary);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
}

.dot.live {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 0 6px rgba(46,196,182,0.18);
}

.hero h1 {
  font-size: clamp(3.3rem, 9vw, 7rem);
  line-height: 0.9;
  margin: 18px 0 10px;
}
.hero h1 span {
  display: block;
  color: var(--primary);
  transform: rotate(-2deg);
}
.tagline {
  margin: 0;
  color: var(--accent);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 800;
}
.hero-desc {
  max-width: 60ch;
  font-size: 1.08rem;
  line-height: 1.6;
  opacity: 0.95;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 22px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
}
.btn-primary {
  background: var(--primary);
  color: #221300;
}
.btn-secondary {
  background: var(--ink);
  color: #221300;
}

.contract-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 2px solid rgba(255,248,231,0.16);
  background: rgba(0,0,0,0.2);
  max-width: 520px;
}
.contract-label,
.label {
  color: var(--secondary);
  font-size: 0.78rem;
}
.contract-card code {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  word-break: break-all;
  font-family: "Space Mono", monospace;
}
.copy-btn {
  background: var(--accent);
  color: var(--ink);
  border-radius: 16px;
  padding: 12px 16px;
  cursor: pointer;
  min-width: 90px;
}
.copy-btn.copied {
  background: var(--secondary);
  color: #10211f;
}

.orbit-board {
  position: relative;
  min-height: 540px;
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255,191,0,0.08), rgba(255,191,0,0) 28%),
    linear-gradient(145deg, #311d00, #201300 55%);
  border: 2px solid rgba(255,191,0,0.22);
  overflow: hidden;
}

.orbit-board::before,
.orbit-board::after {
  content: "";
  position: absolute;
  border: 1px dashed rgba(255,248,231,0.16);
  border-radius: 50%;
}
.orbit-board::before {
  width: 420px;
  height: 420px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.orbit-board::after {
  width: 260px;
  height: 260px;
  left: 58%;
  top: 46%;
  transform: translate(-50%, -50%);
}

.sticker-banner {
  position: absolute;
  right: 22px;
  top: 20px;
  width: 180px;
  padding: 10px;
  background: var(--ink);
  border-radius: 24px;
  border: 3px solid #000;
  box-shadow: 0 10px 0 #000;
  transform: rotate(7deg);
}
.sticker-banner img { border-radius: 16px; }

.planet {
  position: absolute;
  border-radius: 50%;
}
.planet-a {
  width: 80px;
  height: 80px;
  left: 24px;
  top: 28px;
  background: radial-gradient(circle at 30% 30%, #fff4b7, var(--primary) 70%, #cf8f00 100%);
}
.planet-b {
  width: 52px;
  height: 52px;
  right: 52px;
  bottom: 72px;
  background: radial-gradient(circle at 30% 30%, #95fff5, var(--secondary) 70%, #148a7e 100%);
}

.moon-badge {
  position: absolute;
  left: 22px;
  bottom: 24px;
  background: var(--accent);
  color: var(--ink);
  padding: 14px 18px;
  border-radius: 18px;
  border: 3px solid #000;
  box-shadow: 0 8px 0 #000;
  font-weight: 800;
  transform: rotate(-6deg);
}

.float-card {
  animation: bob 4.6s ease-in-out infinite;
}

.rocket-card {
  position: absolute;
  left: 50%;
  top: 53%;
  transform: translate(-50%, -50%) rotate(14deg);
  width: 170px;
  height: 280px;
  background: linear-gradient(180deg, var(--ink), #f2ddad);
  border-radius: 90px 90px 40px 40px;
  border: 4px solid #000;
  box-shadow: 0 14px 0 #000;
}
.rocket-window {
  position: absolute;
  width: 54px;
  height: 54px;
  background: var(--secondary);
  border: 4px solid #000;
  border-radius: 50%;
  left: 50%;
  top: 74px;
  transform: translateX(-50%);
}
.rocket-fin {
  position: absolute;
  bottom: 54px;
  width: 52px;
  height: 78px;
  background: var(--accent);
  border: 4px solid #000;
}
.rocket-fin.left {
  left: -20px;
  border-radius: 20px 0 20px 24px;
  transform: rotate(-18deg);
}
.rocket-fin.right {
  right: -20px;
  border-radius: 0 20px 24px 20px;
  transform: rotate(18deg);
}
.rocket-fire {
  position: absolute;
  left: 50%;
  bottom: -48px;
  transform: translateX(-50%);
  width: 58px;
  height: 88px;
  background: linear-gradient(180deg, #fff2a7, var(--primary), var(--accent));
  clip-path: polygon(50% 0%, 72% 28%, 100% 100%, 50% 78%, 0 100%, 28% 28%);
  filter: drop-shadow(0 0 16px rgba(255,191,0,0.5));
}

.terminal-card {
  position: absolute;
  left: 36px;
  top: 160px;
  width: 220px;
  padding: 14px;
  background: #0c100d;
  color: #b6ffee;
  border-radius: 18px;
  border: 3px solid #000;
  box-shadow: 0 10px 0 #000;
  font-family: "Space Mono", monospace;
  transform: rotate(-4deg);
}
.terminal-head {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
.terminal-head span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}
.terminal-head span:nth-child(2) { background: var(--primary); }
.terminal-head span:nth-child(3) { background: var(--secondary); }
.terminal-card p { margin: 6px 0; font-size: 0.86rem; }
.blink { animation: blink 1s steps(2, start) infinite; }

.ticker-wrap {
  overflow: hidden;
  border-radius: 999px;
  border: 2px solid rgba(255,191,0,0.2);
  background: rgba(255,191,0,0.08);
  margin: 10px 0 22px;
}
.ticker-track {
  display: flex;
  width: max-content;
  gap: 22px;
  padding: 12px 0;
  animation: ticker 26s linear infinite;
  font-family: "Space Mono", monospace;
  text-transform: uppercase;
}
.ticker-track span::before {
  content: "✦";
  color: var(--primary);
  margin-right: 10px;
}

.section-head h2 {
  margin: 4px 0 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
}
.section-kicker {
  color: var(--secondary);
  font-size: 0.85rem;
  margin: 0;
}

.lore-layout {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 18px;
  margin-top: 22px;
}
.story-card {
  border-radius: 26px;
  padding: 22px;
  border: 2px solid #000;
  box-shadow: 0 10px 0 #000;
}
.story-main {
  background: var(--ink);
  color: #261500;
  font-size: 1.2rem;
  line-height: 1.55;
}
.sticker-note {
  color: #1f1300;
  transform: rotate(var(--tilt, -2deg));
}
.sticker-note.yellow { background: var(--primary); --tilt: 2deg; }
.sticker-note.teal { background: var(--secondary); --tilt: -3deg; }
.sticker-note.red { background: #ff7f8f; --tilt: 3deg; }
.sticker-note h3 { margin: 0 0 10px; font-size: 1rem; }
.sticker-note p { margin: 0; font-size: 1.2rem; font-weight: 800; line-height: 1.15; }

.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.counter-cluster {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.counter-box {
  min-width: 140px;
  background: rgba(0,0,0,0.22);
  border: 2px solid rgba(255,248,231,0.14);
  border-radius: 20px;
  padding: 14px 16px;
}
.counter-box strong {
  display: block;
  font-size: 2rem;
  color: var(--primary);
  line-height: 1;
}
.counter-box span {
  font-family: "Space Mono", monospace;
  font-size: 0.76rem;
  color: rgba(255,248,231,0.8);
}

.mission-grid,
.buy-steps,
.token-grid {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}
.mission-grid { grid-template-columns: repeat(3, 1fr); }
.buy-steps { grid-template-columns: repeat(4, 1fr); }
.token-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }

.mission-tile,
.step-card,
.token-card {
  background: rgba(0,0,0,0.2);
  border: 2px solid rgba(255,248,231,0.14);
  border-radius: 24px;
  padding: 20px;
}
.tile-icon,
.step-no {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  border: 2px solid #000;
  box-shadow: 0 7px 0 #000;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.tile-icon { background: var(--primary); color: #221300; }
.step-no { background: var(--secondary); color: #0e2c28; font-family: "Space Mono", monospace; font-weight: 700; }
.mission-tile h3,
.step-card h3,
.road-stop h3 { margin: 0 0 8px; font-size: 1.25rem; }
.mission-tile p,
.step-card p,
.road-stop p,
.faq-list p { margin: 0; line-height: 1.55; }

.token-card {
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.token-card strong {
  font-size: 1.35rem;
}
.token-card.large,
.token-card.long {
  background: linear-gradient(145deg, rgba(255,191,0,0.16), rgba(46,196,182,0.12));
}
.token-card.large { grid-column: span 1; }
.token-card.long { grid-column: span 2; }

.roadmap-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 26px;
}
.roadmap-line::before {
  content: "";
  position: absolute;
  left: 40px;
  right: 40px;
  top: 34px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--secondary), var(--primary), var(--accent));
}
.road-stop {
  position: relative;
  padding-top: 56px;
}
.road-pin {
  position: absolute;
  top: 14px;
  left: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  border: 4px solid #000;
  box-shadow: 0 6px 0 #000;
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}
.faq-list details {
  border: 2px solid rgba(255,248,231,0.14);
  border-radius: 20px;
  background: rgba(0,0,0,0.18);
  padding: 18px 20px;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--primary);
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { padding-top: 12px; color: rgba(255,248,231,0.88); }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 18px 8px 10px;
  color: rgba(255,248,231,0.78);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes bob {
  0%, 100% { transform: translate(-50%, -50%) rotate(14deg) translateY(0); }
  50% { transform: translate(-50%, -50%) rotate(12deg) translateY(-12px); }
}
@keyframes blink {
  50% { opacity: 0.35; }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 1100px) {
  .hero-grid,
  .lore-layout,
  .mission-grid,
  .buy-steps,
  .token-grid,
  .roadmap-line {
    grid-template-columns: 1fr 1fr;
  }
  .story-main,
  .token-card.long {
    grid-column: span 2;
  }
  .hero-visual { order: -1; }
  .orbit-board { min-height: 460px; }
}

@media (max-width: 760px) {
  .site-shell { width: min(100% - 16px, 100%); }
  .topbar {
    grid-template-columns: 1fr;
    border-radius: 28px;
    text-align: center;
  }
  .brand { justify-content: center; }
  .nav { gap: 16px; }
  .hero-grid,
  .lore-layout,
  .mission-grid,
  .buy-steps,
  .token-grid,
  .roadmap-line {
    grid-template-columns: 1fr;
  }
  .story-main,
  .token-card.long { grid-column: span 1; }
  .panel { padding: 20px; border-radius: 26px; }
  .hero h1 { font-size: 3rem; }
  .contract-card,
  .footer,
  .split {
    flex-direction: column;
    align-items: stretch;
  }
  .orbit-board {
    min-height: 420px;
  }
  .rocket-card {
    width: 132px;
    height: 224px;
  }
  .terminal-card {
    width: 180px;
    left: 18px;
    top: 146px;
  }
  .sticker-banner {
    width: 132px;
  }
  .roadmap-line::before {
    display: none;
  }
  .road-stop {
    padding-top: 64px;
    background: rgba(0,0,0,0.16);
    border: 2px solid rgba(255,248,231,0.12);
    border-radius: 22px;
    padding: 64px 18px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
