/* =========================================================
   Baby Asteroid — styles.css
   Palette: galaxy navy + cream-gold
   Display: Space Grotesk | Body: Geist
   ========================================================= */

/* -----------------------------
   Tokens
----------------------------- */
:root {
  --bg: #0b0a1a;
  --bg-2: #11102a;
  --bg-3: #161533;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(243, 234, 208, 0.12);
  --border-strong: rgba(243, 234, 208, 0.22);

  --cream: #f3ead0;
  --cream-soft: #efe6c7;
  --gold: #f5d98f;
  --gold-deep: #d8b866;

  --text: #f3ead0;
  --text-dim: rgba(243, 234, 208, 0.72);
  --text-muted: rgba(243, 234, 208, 0.52);

  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 32px;

  --shadow-soft: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 60px -10px rgba(245, 217, 143, 0.25);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 72px;

  --font-display: "Space Grotesk", "Cabinet Grotesk", system-ui, sans-serif;
  --font-body: "Geist", "Satoshi", ui-sans-serif, system-ui, sans-serif;
}

/* -----------------------------
   Reset / base
----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100dvh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; padding: 0; margin: 0; }
code, .contract-addr { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

/* -----------------------------
   Cosmic background
----------------------------- */
.cosmos {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(1200px 800px at 85% -10%, rgba(80, 60, 180, 0.22), transparent 60%),
    radial-gradient(900px 700px at -10% 110%, rgba(50, 40, 140, 0.22), transparent 60%),
    linear-gradient(180deg, #0b0a1a 0%, #0d0b22 50%, #0a0918 100%);
}

.nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  mix-blend-mode: screen;
  animation: drift 28s ease-in-out infinite;
}
.nebula-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(124, 104, 220, 0.45), transparent 70%);
  top: -120px; left: -80px;
}
.nebula-2 {
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(245, 217, 143, 0.12), transparent 70%);
  top: 30%; right: -150px;
  animation-delay: -8s;
}
.nebula-3 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(90, 70, 180, 0.35), transparent 70%);
  bottom: -100px; left: 30%;
  animation-delay: -16s;
}
.nebula-4 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(180, 140, 255, 0.22), transparent 70%);
  top: 65%; left: 55%;
  animation-delay: -22s;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(40px, -30px) scale(1.08); }
}

/* Starfields — 3 parallax layers with radial-gradient dots */
.stars {
  position: absolute;
  inset: -50% -10% -10% -10%;
  background-repeat: repeat;
  pointer-events: none;
  will-change: transform;
}
.stars-far {
  background-image:
    radial-gradient(1px 1px at 20px 30px, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 80px 120px, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 150px 60px, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 220px 200px, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 300px 90px, rgba(255,255,255,0.5), transparent);
  background-size: 350px 350px;
  animation: starDriftSlow 180s linear infinite, twinkle 5s ease-in-out infinite;
  opacity: 0.7;
}
.stars-mid {
  background-image:
    radial-gradient(1.5px 1.5px at 40px 70px, rgba(255,255,255,0.8), transparent),
    radial-gradient(1.5px 1.5px at 140px 30px, rgba(243,234,208,0.7), transparent),
    radial-gradient(1px 1px at 250px 150px, rgba(255,255,255,0.6), transparent),
    radial-gradient(1.5px 1.5px at 360px 80px, rgba(245,217,143,0.8), transparent);
  background-size: 450px 450px;
  animation: starDrift 120s linear infinite, twinkle 3.5s ease-in-out infinite;
  animation-delay: 0s, 1.2s;
  opacity: 0.85;
}
.stars-near {
  background-image:
    radial-gradient(2px 2px at 60px 50px, rgba(255,255,255,0.95), transparent),
    radial-gradient(2px 2px at 200px 180px, rgba(245,217,143,0.9), transparent),
    radial-gradient(2.5px 2.5px at 380px 100px, rgba(255,255,255,1), transparent);
  background-size: 550px 550px;
  animation: starDriftFast 70s linear infinite, twinkle 2.5s ease-in-out infinite;
  animation-delay: 0s, 0.6s;
  opacity: 0.95;
}
@keyframes starDriftSlow { to { transform: translate(-350px, -350px); } }
@keyframes starDrift     { to { transform: translate(-450px, -300px); } }
@keyframes starDriftFast { to { transform: translate(-550px, -250px); } }
@keyframes twinkle {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.55; }
}

/* Shooting stars */
.shooting-star {
  position: absolute;
  top: 15%;
  left: -10%;
  width: 140px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(245, 217, 143, 0.9), rgba(255,255,255,1));
  border-radius: 999px;
  filter: drop-shadow(0 0 6px rgba(245, 217, 143, 0.8));
  opacity: 0;
  transform: rotate(18deg);
  animation: shoot 9s ease-in infinite;
}
.shooting-2 {
  top: 55%;
  animation-delay: 4.5s;
  animation-duration: 11s;
}
.shooting-3 {
  top: 30%;
  animation-delay: 2.8s;
  animation-duration: 13s;
  width: 110px;
  opacity: 0.8;
}
.shooting-4 {
  top: 75%;
  animation-delay: 7s;
  animation-duration: 10s;
  width: 160px;
  transform: rotate(22deg);
}
@keyframes shoot {
  0%   { transform: translate(-10vw, -2vh) rotate(18deg); opacity: 0; }
  5%   { opacity: 1; }
  20%  { transform: translate(120vw, 40vh) rotate(18deg); opacity: 0; }
  100% { opacity: 0; }
}

/* Distant planets */
.planet {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.3px);
  opacity: 0.55;
  animation: planetFloat 22s ease-in-out infinite;
  will-change: transform;
}
.planet-1 {
  width: 90px; height: 90px;
  top: 18%; right: 8%;
  background:
    radial-gradient(circle at 30% 30%, rgba(245, 217, 143, 0.9), rgba(200, 150, 90, 0.6) 55%, rgba(120, 70, 30, 0.7) 100%);
  box-shadow:
    inset -14px -14px 30px rgba(0,0,0,0.55),
    inset 8px 8px 20px rgba(255, 230, 180, 0.2),
    0 0 40px rgba(245, 217, 143, 0.15);
}
.planet-2 {
  width: 55px; height: 55px;
  top: 70%; left: 6%;
  background:
    radial-gradient(circle at 35% 30%, rgba(180, 200, 255, 0.85), rgba(110, 130, 200, 0.6) 55%, rgba(40, 55, 120, 0.8) 100%);
  box-shadow:
    inset -10px -10px 22px rgba(0,0,0,0.55),
    inset 5px 5px 14px rgba(200, 220, 255, 0.25),
    0 0 30px rgba(140, 170, 230, 0.18);
  animation-delay: -7s;
}
.planet-3 {
  width: 38px; height: 38px;
  top: 42%; left: 88%;
  background:
    radial-gradient(circle at 35% 30%, rgba(230, 170, 200, 0.85), rgba(180, 110, 140, 0.6) 55%, rgba(90, 40, 70, 0.8) 100%);
  box-shadow:
    inset -7px -7px 15px rgba(0,0,0,0.55),
    inset 3px 3px 10px rgba(255, 210, 225, 0.22),
    0 0 24px rgba(200, 130, 170, 0.2);
  animation-delay: -14s;
  opacity: 0.45;
}
@keyframes planetFloat {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-18px, 14px); }
}

/* Orbit rings — thin, slowly rotating */
.orbit-ring {
  position: absolute;
  border: 1px dashed rgba(243, 234, 208, 0.06);
  border-radius: 50%;
  pointer-events: none;
  animation: orbitSpin 120s linear infinite;
  will-change: transform;
}
.orbit-ring-1 {
  width: 90vmin; height: 90vmin;
  top: -20vmin; right: -20vmin;
}
.orbit-ring-2 {
  width: 70vmin; height: 70vmin;
  bottom: -15vmin; left: -15vmin;
  border-color: rgba(245, 217, 143, 0.05);
  animation-duration: 180s;
  animation-direction: reverse;
}
@keyframes orbitSpin { to { transform: rotate(360deg); } }

/* Background sparkles — floating at various depths */
.bg-spark {
  position: absolute;
  color: rgba(245, 217, 143, 0.65);
  pointer-events: none;
  animation: bgSparkle 6s ease-in-out infinite;
  will-change: transform, opacity;
  filter: drop-shadow(0 0 4px rgba(245, 217, 143, 0.4));
}
.bg-spark-1 { width: 18px; height: 18px; top: 12%; left: 22%; animation-delay: 0s; }
.bg-spark-2 { width: 10px; height: 10px; top: 38%; left: 78%; animation-delay: -1.5s; }
.bg-spark-3 { width: 22px; height: 22px; top: 62%; left: 18%; animation-delay: -2.8s; }
.bg-spark-4 { width: 14px; height: 14px; top: 28%; left: 48%; animation-delay: -4s; color: rgba(255,255,255,0.5); }
.bg-spark-5 { width: 12px; height: 12px; top: 82%; left: 70%; animation-delay: -5.2s; }
@keyframes bgSparkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.35; }
  50%      { transform: scale(1.35) rotate(180deg); opacity: 1; }
}

/* Slow drifting comet with tail */
.comet {
  position: absolute;
  top: -5%;
  left: -5%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,1), rgba(245,217,143,0.8) 60%, transparent 70%);
  box-shadow:
    0 0 10px rgba(255, 255, 255, 0.9),
    0 0 24px rgba(245, 217, 143, 0.6);
  animation: cometDrift 28s linear infinite;
  will-change: transform;
}
.comet::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
  width: 220px;
  height: 1.5px;
  background: linear-gradient(270deg, rgba(245, 217, 143, 0.85), rgba(245, 217, 143, 0.2) 50%, transparent);
  border-radius: 999px;
  filter: blur(0.5px);
}
@keyframes cometDrift {
  0%   { transform: translate(-10vw, -5vh); opacity: 0; }
  8%   { opacity: 1; }
  50%  { transform: translate(60vw, 55vh); opacity: 0.9; }
  92%  { opacity: 0; }
  100% { transform: translate(115vw, 105vh); opacity: 0; }
}

/* -----------------------------
   Navbar (single glassmorphism instance)
----------------------------- */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: linear-gradient(180deg, rgba(11,10,26,0.65), rgba(11,10,26,0.35));
  border-bottom: 1px solid rgba(243, 234, 208, 0.06);
  box-shadow: inset 0 1px 0 rgba(243, 234, 208, 0.06);
}
.nav {
  width: min(1180px, 92%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  height: var(--nav-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  filter: drop-shadow(0 4px 12px rgba(245, 217, 143, 0.2));
}
.nav-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 14px;
  color: var(--text-dim);
}
.nav-links a {
  padding: 6px 2px;
  transition: color 180ms var(--ease-out);
  position: relative;
}
.nav-links a:hover { color: var(--cream); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  border: 1px solid transparent;
  transition: all 180ms var(--ease-out);
}
.icon-btn:hover {
  color: var(--cream);
  background: var(--surface);
  border-color: var(--border);
}
.icon-btn:active { transform: scale(0.96); }

/* -----------------------------
   Buttons
----------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  min-height: 44px;
  transition: transform 160ms var(--ease-out), box-shadow 220ms var(--ease-out), background 220ms var(--ease-out), color 220ms var(--ease-out);
  white-space: nowrap;
  user-select: none;
}
.btn-compact { padding: 9px 14px; font-size: 12.5px; min-height: 38px; }
.btn-lg { padding: 16px 24px; font-size: 15px; min-height: 52px; }

.btn-primary {
  background: linear-gradient(180deg, #f5d98f 0%, #e6c673 100%);
  color: #1a1530;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 -1px 0 rgba(0, 0, 0, 0.15) inset,
    0 10px 30px -10px rgba(245, 217, 143, 0.45);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.5) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 700ms var(--ease-out);
  pointer-events: none;
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 -1px 0 rgba(0, 0, 0, 0.15) inset,
    0 14px 40px -10px rgba(245, 217, 143, 0.55);
}
.btn-primary:active { transform: translateY(1px) scale(0.985); }

.btn-ghost {
  background: var(--surface);
  color: var(--cream);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
}
.btn-ghost:active { transform: scale(0.98); }

/* -----------------------------
   HERO
----------------------------- */
.hero {
  padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 10vw, 120px);
  min-height: calc(100dvh - var(--nav-h));
  display: flex;
  align-items: center;
}
.hero-inner {
  width: min(1180px, 92%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #8bd89b;
  box-shadow: 0 0 10px rgba(139, 216, 155, 0.8);
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 600;
  color: var(--cream);
}
.hero-title-accent {
  color: var(--gold);
  font-style: italic;
  font-weight: 500;
}
.hero-sub {
  margin-top: 22px;
  max-width: 520px;
  color: var(--text-dim);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.contract {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  max-width: 100%;
  overflow: hidden;
}
.contract-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.contract-addr {
  font-size: 13px;
  color: var(--cream);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 280px;
}
.contract-copy {
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(245, 217, 143, 0.12);
  color: var(--gold);
  transition: all 160ms var(--ease-out);
}
.contract-copy:hover { background: rgba(245, 217, 143, 0.22); }
.contract-copy:active { transform: scale(0.94); }

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.pill {
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--cream);
  background: rgba(245, 217, 143, 0.06);
  border: 1px solid rgba(245, 217, 143, 0.18);
}

/* Hero visual (mascot + moon) */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 560px;
  margin-left: auto;
  width: 100%;
}
.moon {
  position: absolute;
  top: 8%;
  right: 6%;
  width: 46%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #fbf4de, #e6d9a8 60%, #c8ba80 100%);
  box-shadow:
    0 0 60px 8px rgba(245, 217, 143, 0.25),
    0 0 120px 20px rgba(245, 217, 143, 0.15),
    inset -14px -18px 40px rgba(0, 0, 0, 0.25);
  animation: breathe 6s ease-in-out infinite;
  opacity: 0.82;
}
.moon::before, .moon::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
}
.moon::before { width: 16%; height: 16%; top: 22%; left: 34%; }
.moon::after  { width: 10%; height: 10%; top: 58%; left: 56%; }
@keyframes breathe {
  0%, 100% {
    box-shadow:
      0 0 60px 8px rgba(245, 217, 143, 0.25),
      0 0 120px 20px rgba(245, 217, 143, 0.15),
      inset -14px -18px 40px rgba(0, 0, 0, 0.25);
  }
  50% {
    box-shadow:
      0 0 80px 12px rgba(245, 217, 143, 0.4),
      0 0 160px 32px rgba(245, 217, 143, 0.22),
      inset -14px -18px 40px rgba(0, 0, 0, 0.25);
  }
}
.orbit {
  position: absolute;
  inset: 10% 10% 10% 10%;
  border-radius: 50%;
  border: 1px dashed rgba(243, 234, 208, 0.12);
  animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.mascot {
  position: relative;
  z-index: 2;
  width: 86%;
  margin-inline: auto;
  margin-top: 6%;
  filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 60px rgba(245, 217, 143, 0.18));
  animation: float 5s ease-in-out infinite;
  user-select: none;
  pointer-events: none;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50%      { transform: translateY(-16px) rotate(1.5deg); }
}

.spark {
  position: absolute;
  color: var(--gold);
  width: 22px; height: 22px;
  filter: drop-shadow(0 0 8px rgba(245, 217, 143, 0.6));
  opacity: 0.85;
  animation: sparkle 3.5s ease-in-out infinite;
}
.spark-1 { top: 10%; left: 8%; width: 18px; height: 18px; animation-delay: 0s; }
.spark-2 { top: 40%; left: -4%; width: 28px; height: 28px; animation-delay: 1s; }
.spark-3 { bottom: 12%; right: 14%; width: 20px; height: 20px; animation-delay: 2s; }
@keyframes sparkle {
  0%, 100% { opacity: 0.3; transform: scale(0.85) rotate(0deg); }
  50%      { opacity: 1;   transform: scale(1.1) rotate(20deg); }
}

/* -----------------------------
   Section primitives
----------------------------- */
.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(245, 217, 143, 0.08);
  border: 1px solid rgba(245, 217, 143, 0.2);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 600;
  color: var(--cream);
}
.section-sub {
  margin-top: 12px;
  color: var(--text-dim);
  max-width: 560px;
  font-size: clamp(15px, 1.1vw, 17px);
}
.section-head { margin-bottom: 48px; }

/* -----------------------------
   LORE (cream card on dark)
----------------------------- */
.lore {
  padding: clamp(64px, 10vw, 120px) 0;
  position: relative;
}
.lore-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.lore-intro { align-self: start; padding-top: 20px; }
.lore-card {
  position: relative;
  background: linear-gradient(180deg, #f6ecd0 0%, #efe3c2 100%);
  color: #23203d;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(245, 217, 143, 0.35);
  font-size: 16px;
  line-height: 1.7;
}
.lore-card p + p { margin-top: 14px; }
.lore-card strong { color: #5a4b1a; }
.lore-spark {
  position: absolute;
  top: -18px;
  left: -18px;
  width: 42px; height: 42px;
  color: var(--gold);
  background: var(--bg-2);
  border-radius: 50%;
  padding: 9px;
  border: 1px solid rgba(245, 217, 143, 0.35);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
}

/* -----------------------------
   TOKENOMICS — Bento grid
----------------------------- */
.bento-section {
  padding: clamp(64px, 10vw, 120px) 0;
}
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 16px;
}
.bento-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(22px, 2.5vw, 32px);
  position: relative;
  overflow: hidden;
  transition: transform 400ms var(--ease-out), border-color 400ms var(--ease-out), box-shadow 400ms var(--ease-out);
}
.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(600px 200px at var(--mx, 50%) var(--my, 0%), rgba(245, 217, 143, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 400ms var(--ease-out);
}
.bento-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-soft);
}
.bento-card:hover::before { opacity: 1; }

.bento-tax       { grid-column: span 4; grid-row: span 2; }
.bento-rewards   { grid-column: span 2; grid-row: span 2; }
.bento-lp        { grid-column: span 3; }
.bento-renounced { grid-column: span 3; }

.bento-icon {
  width: 44px; height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: rgba(245, 217, 143, 0.1);
  border: 1px solid rgba(245, 217, 143, 0.25);
  margin-bottom: 18px;
}
.bento-icon svg { width: 22px; height: 22px; }
.bento-label {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.bento-title {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 10px;
}
.bento-text {
  color: var(--text-dim);
  font-size: 15px;
  max-width: 52ch;
}
.bento-stat {
  margin-top: 22px;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-display);
}
.bento-stat .stat-num {
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 600;
  color: var(--cream);
  letter-spacing: -0.04em;
  line-height: 1;
}
.bento-stat .stat-div {
  color: var(--gold);
  font-size: 40px;
  line-height: 1;
  opacity: 0.7;
}

/* -----------------------------
   HOW TO BUY
----------------------------- */
.buy-section {
  padding: clamp(64px, 10vw, 120px) 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: step;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(22px, 2.5vw, 30px);
  position: relative;
  transition: border-color 300ms var(--ease-out), transform 300ms var(--ease-out);
}
.step:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.step-num {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 14px;
  opacity: 0.9;
}
.step-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 8px;
}
.step-text {
  color: var(--text-dim);
  font-size: 15px;
}

/* -----------------------------
   Section divider (orbit + sparkles)
----------------------------- */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: clamp(4px, 1.5vw, 18px) 0;
  color: var(--gold);
  width: min(1180px, 92%);
  margin-inline: auto;
}
.divider-line {
  flex: 1 1 auto;
  max-width: 260px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 217, 143, 0.42), transparent);
}
.divider-icon {
  flex: 0 0 auto;
  filter: drop-shadow(0 0 12px rgba(245, 217, 143, 0.35));
  animation: divider-float 6s ease-in-out infinite;
}
@keyframes divider-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-3px) rotate(4deg); }
}
@media (prefers-reduced-motion: reduce) {
  .divider-icon { animation: none; }
}

/* -----------------------------
   Final CTA
----------------------------- */
.final-cta {
  padding: clamp(48px, 8vw, 100px) 0 clamp(64px, 10vw, 120px);
}
.final-cta-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: start;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(32px, 5vw, 56px);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(245, 217, 143, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.final-cta-copy .section-tag { margin-bottom: 18px; }
.final-cta-copy .section-title { line-height: 1.05; }
.final-cta-copy .section-sub { margin-top: 16px; max-width: 620px; }

.flow {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.flow-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 240ms var(--ease-out), transform 240ms var(--ease-out);
}
.flow-step:hover {
  border-color: rgba(245, 217, 143, 0.28);
  transform: translateY(-1px);
}
.flow-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--cream);
  background: rgba(245, 217, 143, 0.1);
  border: 1px solid rgba(245, 217, 143, 0.22);
  border-radius: 999px;
  padding: 4px 10px;
  min-width: 42px;
  text-align: center;
}
.flow-title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--cream);
  font-size: 17px;
  margin: 0 0 4px;
}
.flow-text {
  color: var(--text-dim);
  font-size: 14.5px;
  margin: 0;
  line-height: 1.55;
}

.final-cta-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  align-self: center;
}
.final-cta-aside .btn { width: 100%; justify-content: center; }
.final-cta-note {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
}

/* -----------------------------
   Footer
----------------------------- */
.footer {
  padding: 36px 0 48px;
  border-top: 1px solid rgba(243, 234, 208, 0.06);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--cream);
}
.footer-brand .brand-logo { width: 28px; height: 28px; border-radius: 8px; }
.footer-socials { display: inline-flex; gap: 4px; }
.footer-copy { color: var(--text-muted); font-size: 13px; margin: 0; }

/* -----------------------------
   Toast
----------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%) translateY(20px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: linear-gradient(180deg, #f6ecd0, #ead89f);
  color: #23203d;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.55);
  transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out);
  z-index: 100;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* -----------------------------
   Reveal on scroll
----------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* -----------------------------
   Responsive
----------------------------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; margin: 0 auto; }
  .lore-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-tax, .bento-rewards, .bento-lp, .bento-renounced { grid-column: span 2; grid-row: auto; }
  .steps { grid-template-columns: 1fr; }
  .final-cta-inner { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav { grid-template-columns: auto auto; }
  .nav-links { display: none; }
  .brand-name { display: none; }
  .btn-compact span { display: inline; }
  .hero { padding-top: 24px; }
  .hero-title { font-size: clamp(40px, 11vw, 64px); }
  .contract-addr { max-width: 160px; font-size: 12px; }
}
@media (max-width: 480px) {
  .btn-compact { padding: 8px 10px; font-size: 11.5px; }
  .hero-actions .btn { flex: 1 1 auto; }
}

/* -----------------------------
   Reduced motion
----------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
