/* ─── Loader (intro) ─── */
.gb-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #fbf6e9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 24px;
  overflow: hidden;
  will-change: opacity, transform;
}
.gb-loader::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 900px;
  background:
    radial-gradient(circle at 50% 50%, rgba(229,184,74,0.14) 0%, transparent 55%);
  filter: blur(80px);
  pointer-events: none;
}
.gb-loader.is-out {
  animation: gb-loader-out 0.85s cubic-bezier(.6, 0, .2, 1) forwards;
}
@keyframes gb-loader-out {
  0%   { opacity: 1; transform: translateY(0); }
  60%  { opacity: 0; transform: translateY(-30px); }
  100% { opacity: 0; transform: translateY(-30px); visibility: hidden; pointer-events: none; }
}
.gb-stage {
  position: relative;
  z-index: 1;
  height: clamp(110px, 16vw, 220px);
  width: 100%;
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.gb-phrase {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(40px, 7.5vw, 96px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #1a0e02;
  opacity: 0;
  pointer-events: none;
}
.gb-phrase em {
  font-style: italic;
  background: linear-gradient(180deg, #c99a2e 0%, #b88820 35%, #8b6914 70%, #5e470c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 500;
}
/* Particle-scatter chars */
.gb-phrase { white-space: pre; }
.gb-char.gb-space { min-width: 0.25em; }
.gb-char {
  display: inline-block;
  position: relative;
  opacity: 0;
  transform: translate(var(--in-dx, 0px), var(--in-dy, 0px)) scale(var(--in-scale, 0.4)) rotate(var(--in-rot, 0deg));
  filter: blur(6px);
  transition:
    transform 1.3s cubic-bezier(.16, .84, .27, 1),
    opacity 1.0s ease-out,
    filter 0.7s ease-out;
  transition-delay: var(--enter-delay, 0ms);
  will-change: transform, opacity, filter;
}
.gb-phrase.in .gb-char {
  opacity: 1;
  transform: translate(0, 0) scale(1) rotate(0deg);
  filter: blur(0);
}
.gb-phrase.out .gb-char {
  opacity: 0;
  transform: translate(var(--out-dx, 0px), var(--out-dy, -40px)) scale(0.3) rotate(var(--out-rot, 0deg));
  filter: blur(5px);
  transition:
    transform 0.95s cubic-bezier(.34, .04, .54, 1),
    opacity 0.65s ease-in,
    filter 0.6s ease-in;
  transition-delay: var(--exit-delay, 0ms);
}
/* gold gradient on chars inside brand */
.gb-brand .gb-char {
  background: linear-gradient(180deg, #c99a2e 0%, #b88820 30%, #8b6914 65%, #5e470c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* Particles — visible both on ENTER (assembling inward) and EXIT (scattering outward) */
.gb-particle {
  position: absolute;
  top: 50%; left: 50%;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #f6d77a;
  box-shadow: 0 0 6px #f6d77a, 0 0 12px rgba(246,215,122,0.4);
  pointer-events: none;
  /* INITIAL state (before .in): scattered at random pos, visible — will animate inward when .in is added */
  transform: translate(calc(-50% + var(--in-px, 0px)), calc(-50% + var(--in-py, 0px))) scale(var(--pscale, 0.7));
  opacity: 1;
  transition:
    transform 1.0s cubic-bezier(.34, .04, .54, 1),
    opacity 0.9s ease-out;
  transition-delay: var(--enter-delay, 0ms);
}
/* AFTER .in: particles converged to char center, faded out */
.gb-phrase.in .gb-particle {
  transform: translate(-50%, -50%) scale(0.3);
  opacity: 0;
}
/* AFTER .out: particles fly OUTWARD to new scattered positions with flash */
.gb-phrase.out .gb-particle {
  transform: translate(calc(-50% + var(--out-px, 0px)), calc(-50% + var(--out-py, 0px))) scale(var(--pscale, 0.7));
  transition: transform 0.95s cubic-bezier(.34, .04, .54, 1) var(--exit-delay, 0ms);
  animation: gb-particle-flash 0.95s ease-out var(--exit-delay, 0ms) forwards;
}
@keyframes gb-particle-flash {
  0%   { opacity: 0; }
  25%  { opacity: 1; }
  100% { opacity: 0; }
}
.gb-phrase.in { opacity: 1; }
.gb-phrase.out { opacity: 1; }

.gb-brand {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-style: italic;
  font-size: clamp(56px, 11vw, 150px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #c99a2e 0%, #b88820 30%, #8b6914 65%, #5e470c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gb-bottom { display: none; }

/* Lock scroll during loader */
html.is-loading { overflow: hidden; }
html.is-loading body { overflow: hidden; }

/* Site content slow-in after loader */
.gb-stage-out {
  animation: stage-fade-up 1s cubic-bezier(.16,.84,.27,.99) backwards;
}
.gb-stage-out.go { animation-delay: 0.05s; }
@keyframes stage-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Letter-mask reveal on big headings ─── */
.reveal-letters { display: inline; }
.reveal-letters .rl-word {
  display: inline-block;
  overflow: hidden;
  padding: 0 0.04em 0.06em;
  vertical-align: top;
}
.reveal-letters .rl-inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s cubic-bezier(.16,.84,.27,.99);
}
.reveal-letters.in .rl-inner { transform: translateY(0); }
/* When inside an italic em, re-apply the gold gradient on the inner span
   so background-clip:text actually paints (parent em's bg doesn't reach nested spans). */
.reveal-letters em .rl-inner,
.gb-phrase em .rl-inner {
  background: linear-gradient(180deg, #c99a2e 0%, #b88820 35%, #8b6914 70%, #5e470c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}
.reveal-letters .rl-word:nth-child(1)  .rl-inner { transition-delay: 0.00s; }
.reveal-letters .rl-word:nth-child(2)  .rl-inner { transition-delay: 0.05s; }
.reveal-letters .rl-word:nth-child(3)  .rl-inner { transition-delay: 0.10s; }
.reveal-letters .rl-word:nth-child(4)  .rl-inner { transition-delay: 0.15s; }
.reveal-letters .rl-word:nth-child(5)  .rl-inner { transition-delay: 0.20s; }
.reveal-letters .rl-word:nth-child(6)  .rl-inner { transition-delay: 0.25s; }
.reveal-letters .rl-word:nth-child(7)  .rl-inner { transition-delay: 0.30s; }
.reveal-letters .rl-word:nth-child(8)  .rl-inner { transition-delay: 0.35s; }

/* ─── Calligraphic display font + body smoothing ─── */
.calligraphic,
.calligraphic em,
section .display-h {
  font-family: "Fraunces", "Playfair Display", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.02;
}
.calligraphic em,
.italic-grad {
  font-style: italic;
  background: linear-gradient(180deg, #c99a2e 0%, #b88820 35%, #8b6914 70%, #5e470c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 500;
}

/* Lenis recommended setup */
html.lenis,
html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

body { font-feature-settings: "ss01", "cv11"; }

/* ─── XAUT coin icons inside orbital + tables ─── */
.coin-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.coin-badge {
  width: 16px;
  height: 16px;
  display: inline-block;
  flex-shrink: 0;
}
.coin-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(229,184,74,0.1);
}

/* ─── Vault reveal pin section ─── */
.vault-reveal {
  position: relative;
  background: linear-gradient(180deg, #f5efde 0%, #fbf6e9 50%, #f5efde 100%);
  border-top: 1px solid rgba(229,184,74,0.08);
  border-bottom: 1px solid rgba(229,184,74,0.08);
  /* tall enough for pin scroll */
}
.vault-pin {
  height: 100vh;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
}
.vault-pin::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(229,184,74,0.18), transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(139,105,20,0.12), transparent 55%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.vault-pin > * { position: relative; z-index: 1; }

.vault-wrap {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  text-align: center;
}
.vault-eyebrow {
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: #f6d77a;
  text-transform: uppercase;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border: 1px solid rgba(229,184,74,0.35);
  border-radius: 999px;
  background: rgba(229,184,74,0.06);
  width: max-content;
  margin: 0 auto;
}
.vault-eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #f6d77a;
  box-shadow: 0 0 8px #f6d77a;
  animation: vp 1.6s ease-in-out infinite;
}
@keyframes vp { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.vault-h {
  font-family: "Fraunces", "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: #1a0e02;
  margin: 0;
}
.vault-h em {
  font-style: italic;
  background: linear-gradient(180deg, #fff1b8 0%, #f6d77a 30%, #e5b84a 70%, #8b6914 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 500;
}

.vault-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .vault-cards { grid-template-columns: 1fr; }
}
.vault-card {
  background: linear-gradient(180deg, #e8dec6 0%, #f6f0df 100%);
  border: 1px solid rgba(229,184,74,0.18);
  border-radius: 18px;
  padding: 30px 26px;
  text-align: left;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(60px);
  will-change: transform, opacity;
}
.vault-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229,184,74,0.5), transparent);
}
.vault-card::after {
  content: "";
  position: absolute;
  top: -50%; right: -30%;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229,184,74,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.vault-num {
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  color: #e5b84a;
  letter-spacing: 0.2em;
  margin-bottom: 18px;
}
.vault-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(229,184,74,0.1);
  border: 1px solid rgba(229,184,74,0.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.vault-icon svg { color: #f6d77a; }
.vault-card h3 {
  font-family: "Fraunces", "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.1;
  margin: 0 0 10px;
  color: #1a0e02;
  letter-spacing: -0.01em;
}
.vault-card p {
  margin: 0;
  color: #5e4c2a;
  font-size: 14.5px;
  line-height: 1.55;
}

/* progress rail across the pinned cards */
.vault-progress {
  display: flex;
  gap: 4px;
  max-width: 1100px;
  margin: 8px auto 0;
  align-items: center;
}
.vault-progress .bar {
  flex: 1;
  height: 2px;
  background: rgba(229,184,74,0.12);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.vault-progress .bar > i {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #8b6914, #f6d77a);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

/* ─── Trust section ─── */
.trust-section {
  max-width: 1180px;
  margin: 120px auto 80px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) { .trust-section { grid-template-columns: 1fr; gap: 40px; } }
.trust-eye {
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  color: #f6d77a;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.trust-h {
  font-family: "Fraunces", "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.04;
  margin: 0 0 18px;
  color: #1a0e02;
  letter-spacing: -0.015em;
}
.trust-h em {
  font-style: italic;
  background: linear-gradient(180deg, #c99a2e 0%, #b88820 40%, #8b6914 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.trust-p {
  color: #5e4c2a;
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 20px;
  max-width: 520px;
}
.trust-list { list-style: none; padding: 0; margin: 24px 0 0; }
.trust-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(229,184,74,0.12);
  font-size: 15px;
  color: #4a3a1c;
}
.trust-list li:last-child { border-bottom: 1px solid rgba(229,184,74,0.12); }
.trust-list b { color: #1a0e02; font-weight: 600; }
.trust-check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(229,184,74,0.1);
  border: 1px solid rgba(229,184,74,0.4);
  display: flex; align-items: center; justify-content: center;
  color: #f6d77a;
  margin-top: 1px;
}

.proof-card {
  background: linear-gradient(180deg, #e8dec6, #fbf6e9);
  border: 1px solid rgba(229,184,74,0.18);
  border-radius: 22px;
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.proof-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246,215,122,0.6), transparent);
}
.proof-coin {
  width: 110px; height: 110px;
  margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.proof-coin img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 24px rgba(246,215,122,0.5)); }
.proof-coin .ring {
  position: absolute;
  inset: -10px;
  border: 1px dashed rgba(229,184,74,0.3);
  border-radius: 50%;
  animation: spin 24s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.proof-ticker {
  text-align: center;
  font-family: "Fraunces", Georgia, serif;
  font-size: 56px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #c99a2e 0%, #8b6914 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.proof-sub {
  text-align: center;
  color: #5e4c2a;
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 8px;
}
.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(229,184,74,0.1);
}
.proof-row .k {
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  color: #8e7a52;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.proof-row .v {
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 15px;
  color: #1a0e02;
  margin-top: 4px;
}
.proof-row .v.gold { color: #f6d77a; }
.proof-row .v.green { color: #4ade80; }

/* ─── CTA banner ─── */
.cta-final {
  max-width: 1180px;
  margin: 60px auto 80px;
  padding: 70px 24px;
  text-align: center;
  position: relative;
  background:
    radial-gradient(ellipse at center, rgba(229,184,74,0.15) 0%, transparent 70%),
    linear-gradient(180deg, #f1ead7, #fbf6e9);
  border: 1px solid rgba(229,184,74,0.18);
  border-radius: 24px;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246,215,122,0.6), transparent);
}
.cta-final h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.02;
  margin: 0 0 12px;
  color: #1a0e02;
}
.cta-final h2 em {
  font-style: italic;
  background: linear-gradient(180deg, #c99a2e 0%, #b88820 40%, #8b6914 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-final p {
  color: #5e4c2a;
  font-size: 17px;
  margin: 0 0 26px;
}
.cta-final .btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s;
  text-decoration: none;
}
.cta-btn.primary {
  background: linear-gradient(180deg, #f6d77a 0%, #e5b84a 50%, #c99a2e 100%);
  color: #1a0e02;
  box-shadow: 0 6px 24px rgba(229,184,74,0.3), inset 0 1px 0 rgba(251,246,233,0.4);
}
.cta-btn.primary:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(229,184,74,0.5), inset 0 1px 0 rgba(251,246,233,0.4); }
.cta-btn.ghost {
  background: transparent;
  color: #1a0e02;
  border-color: rgba(229,184,74,0.3);
}
.cta-btn.ghost:hover { border-color: #f6d77a; color: #f6d77a; background: rgba(229,184,74,0.06); }
.contract-chip {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 22px;
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: #5e4c2a;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(229,184,74,0.18);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.contract-chip:hover { color: #f6d77a; border-color: rgba(229,184,74,0.5); }
.contract-chip .k { color: #8e7a52; }

/* ─── Bottom gold blur overlay ─── */
.bottom-blur {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  pointer-events: none;
  z-index: 40;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(251,246,233,0.2) 25%,
    rgba(251,246,233,0.6) 60%,
    rgba(251,246,233,0.92) 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 60%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 60%);
}
.bottom-blur::after {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 70%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 70%);
}
.bottom-blur::before {
  content: "";
  position: absolute;
  left: 50%; bottom: -40px;
  transform: translateX(-50%);
  width: 80%; height: 120px;
  background: radial-gradient(ellipse at center bottom, rgba(229,184,74,0.18) 0%, transparent 70%);
  filter: blur(40px);
}
@media (max-width: 720px) {
  .bottom-blur { height: 140px; }
}

/* ─── Section fade-in on scroll ─── */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(.16,.84,.27,.99), transform 0.9s cubic-bezier(.16,.84,.27,.99);
}
.reveal-up.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Stat cards: bigger feel ─── */
.stat-up { transition: transform 0.25s ease, border-color 0.25s ease; }
.stat-up:hover { transform: translateY(-3px); border-color: rgba(229,184,74,0.45); }

/* Live distribution row insertion */
.gb-new-dist {
  animation: gb-dist-in 0.85s cubic-bezier(.16,.84,.27,1) backwards;
  background: linear-gradient(90deg, rgba(229,184,74,0.10), transparent 60%);
}
@keyframes gb-dist-in {
  0%   { opacity: 0; transform: translateY(-18px); background: rgba(229,184,74,0.18); }
  50%  { opacity: 1; background: rgba(229,184,74,0.10); }
  100% { opacity: 1; transform: translateY(0); background: transparent; }
}
.gb-new-dist td:first-child { position: relative; }
.gb-new-dist td:first-child::before {
  content: "● new";
  position: absolute;
  left: -4px; top: 50%;
  transform: translateY(-50%);
  font-size: 8px;
  letter-spacing: 0.12em;
  color: #4ade80;
  opacity: 1;
  animation: gb-dist-tag-fade 5s ease-out forwards;
  pointer-events: none;
}
@keyframes gb-dist-tag-fade {
  0%, 70% { opacity: 1; }
  100%    { opacity: 0; }
}
.gb-leave-dist {
  animation: gb-dist-out 0.55s ease-in forwards;
}
@keyframes gb-dist-out {
  to { opacity: 0; transform: translateY(8px); }
}

/* Improve existing hero badges with real coin icons */
.coin-badge-wrap {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(229,184,74,0.08);
  padding: 2px;
}
.coin-badge-wrap img { width: 100%; height: 100%; object-fit: contain; }

/* ─── Hero v2 (center-stacked typography, no orbital) ─── */
.hero-v2 {
  position: relative;
  overflow: hidden;
  padding: 110px 24px 70px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  background:
    radial-gradient(ellipse 1200px 600px at 50% 110%, rgba(229,184,74,0.10), transparent 70%),
    radial-gradient(ellipse 800px 500px at 50% -10%, rgba(139,105,20,0.04), transparent 70%);
}
.hero-v2-wrap { max-width: 980px; margin: 0 auto; text-align: center; }
.hero-v2-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px;
  border: 1px solid rgba(229,184,74,0.4);
  background: rgba(229,184,74,0.06);
  border-radius: 999px;
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: #8b6914;
  margin-bottom: 28px;
}
.hero-v2-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80; box-shadow: 0 0 8px #4ade80;
  animation: hv-pulse 1.8s ease-in-out infinite;
}
@keyframes hv-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero-v2-h {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(58px, 11vw, 168px);
  line-height: 0.92; letter-spacing: -0.04em;
  color: #1a0e02; margin: 0 0 24px;
  font-variation-settings: "opsz" 144;
}
.hero-v2-h em {
  font-style: italic; font-weight: 600;
  background: linear-gradient(180deg, #e5b84a 0%, #c99a2e 40%, #8b6914 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-v2-sub {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(16px, 1.55vw, 19px);
  line-height: 1.55; color: #5e4c2a;
  max-width: 640px; margin: 0 auto 36px; font-weight: 400;
}
.hero-v2-sub b { color: #1a0e02; font-weight: 600; }
.hero-v2-cta {
  display: flex; justify-content: center; gap: 12px;
  flex-wrap: wrap; margin-bottom: 60px;
}
.hero-v2-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 12px;
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-weight: 500; font-size: 14px; letter-spacing: 0.02em;
  cursor: pointer; border: 1px solid transparent;
  transition: all 0.22s cubic-bezier(.16,.84,.27,1);
  text-decoration: none; position: relative; overflow: hidden;
}
.hero-v2-btn.primary {
  background: linear-gradient(180deg, #f6d77a 0%, #e5b84a 50%, #c99a2e 100%);
  color: #1a0e02;
  box-shadow: 0 8px 24px rgba(229,184,74,0.35), inset 0 1px 0 rgba(251,246,233,0.5);
}
.hero-v2-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(229,184,74,0.5), inset 0 1px 0 rgba(251,246,233,0.5);
}
.hero-v2-btn.ghost {
  background: transparent; color: #1a0e02;
  border-color: rgba(0,0,0,0.18);
}
.hero-v2-btn.ghost:hover {
  border-color: #8b6914; color: #8b6914;
  background: rgba(229,184,74,0.04);
}
.hero-v2-spot { text-align: center; margin-top: 30px; }
.hero-v2-spot-label {
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.32em;
  color: #8e7a52; text-transform: uppercase; margin-bottom: 14px;
}
.hero-v2-spot-price {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600; font-style: italic;
  font-variation-settings: "opsz" 144;
  font-size: clamp(72px, 14vw, 220px);
  line-height: 0.95; letter-spacing: -0.04em;
  background: linear-gradient(180deg, #f6d77a 0%, #e5b84a 35%, #c99a2e 70%, #8b6914 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: hv-spot-glow 4s ease-in-out infinite;
}
@keyframes hv-spot-glow {
  0%, 100% { filter: drop-shadow(0 0 24px rgba(246,215,122,0.25)); }
  50%      { filter: drop-shadow(0 0 40px rgba(246,215,122,0.5)); }
}
.hero-v2-spot-change {
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px; color: #4ade80;
  margin-top: 12px; letter-spacing: 0.05em;
}

/* ─── Hero v2 ambient gold dust + scramble effect ─── */
.hero-v2 { position: relative; }
.hero-dust {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.hero-dust .dust {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: radial-gradient(circle, #c89c33 0%, transparent 70%);
  opacity: 0;
  animation: dust-drift 12s linear infinite;
}
.hero-dust .dust:nth-child(1)  { left: 8%;  bottom: -10px; animation-delay: 0s;   animation-duration: 14s; }
.hero-dust .dust:nth-child(2)  { left: 18%; bottom: -10px; animation-delay: 2s;   animation-duration: 16s; width: 4px; height: 4px; }
.hero-dust .dust:nth-child(3)  { left: 28%; bottom: -10px; animation-delay: 4s;   animation-duration: 13s; width: 2px; height: 2px; }
.hero-dust .dust:nth-child(4)  { left: 38%; bottom: -10px; animation-delay: 6s;   animation-duration: 18s; }
.hero-dust .dust:nth-child(5)  { left: 48%; bottom: -10px; animation-delay: 1s;   animation-duration: 15s; width: 4px; height: 4px; }
.hero-dust .dust:nth-child(6)  { left: 58%; bottom: -10px; animation-delay: 3s;   animation-duration: 17s; }
.hero-dust .dust:nth-child(7)  { left: 68%; bottom: -10px; animation-delay: 5s;   animation-duration: 14s; width: 2px; height: 2px; }
.hero-dust .dust:nth-child(8)  { left: 78%; bottom: -10px; animation-delay: 7s;   animation-duration: 19s; }
.hero-dust .dust:nth-child(9)  { left: 88%; bottom: -10px; animation-delay: 2.5s; animation-duration: 13s; width: 3px; height: 3px; }
.hero-dust .dust:nth-child(10) { left: 13%; bottom: -10px; animation-delay: 5.5s; animation-duration: 16s; width: 2px; height: 2px; }
.hero-dust .dust:nth-child(11) { left: 33%; bottom: -10px; animation-delay: 8s;   animation-duration: 14s; }
.hero-dust .dust:nth-child(12) { left: 53%; bottom: -10px; animation-delay: 4.5s; animation-duration: 18s; }
.hero-dust .dust:nth-child(13) { left: 73%; bottom: -10px; animation-delay: 1.5s; animation-duration: 15s; width: 4px; height: 4px; }
.hero-dust .dust:nth-child(14) { left: 93%; bottom: -10px; animation-delay: 9s;   animation-duration: 17s; }
.hero-dust .dust:nth-child(15) { left: 3%;  bottom: -10px; animation-delay: 3.5s; animation-duration: 13s; }
@keyframes dust-drift {
  0%   { opacity: 0; transform: translateY(0) translateX(0); }
  15%  { opacity: 0.6; }
  85%  { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-110vh) translateX(40px); }
}
.hero-v2-wrap, .hero-v2-spot { position: relative; z-index: 1; }

/* Scramble effect for price chars */
.scramble-char {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  transition: color 0.15s;
}
.scramble-char.is-scrambling {
  color: #c89c33;
  opacity: 0.7;
  filter: blur(0.5px);
}

/* ─── Aurum sections: ledger / process / end ─── */
.a-ledger {
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 28px 24px;
  background: linear-gradient(180deg, rgba(229,184,74,0.04), transparent);
}
.a-ledger-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
@media (max-width: 720px) { .a-ledger-grid { grid-template-columns: 1fr 1fr; gap: 24px 0; } }
.a-ledger-cell { text-align: center; padding: 8px 16px; position: relative; }
.a-ledger-cell:not(:last-child)::after {
  content: ""; position: absolute;
  right: 0; top: 25%; bottom: 25%; width: 1px;
  background: rgba(0,0,0,0.1);
}
.a-ledger-num {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600; font-size: clamp(28px, 4vw, 44px);
  line-height: 1; letter-spacing: -0.02em;
  color: #1a0e02; font-variation-settings: "opsz" 144;
}
.a-ledger-cap {
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.2em;
  color: #8e7a52; margin-top: 8px; text-transform: uppercase;
}

.a-process {
  max-width: 1100px; margin: 140px auto; padding: 0 24px;
}
.a-process-eyebrow {
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.32em;
  color: #8b6914; margin-bottom: 18px;
}
.a-process-h {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500; font-size: clamp(40px, 5.5vw, 78px);
  line-height: 0.98; letter-spacing: -0.03em;
  color: #1a0e02; margin: 0 0 60px;
  max-width: 800px; font-variation-settings: "opsz" 144;
}
.a-process-h em {
  font-style: italic; font-weight: 600;
  background: linear-gradient(180deg, #c89c33 0%, #8b6914 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.a-process-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 0;
}
.a-process-list li {
  display: grid; grid-template-columns: 140px 1fr;
  gap: 40px; padding: 38px 0;
  border-top: 1px solid rgba(0,0,0,0.1); align-items: baseline;
}
.a-process-list li:last-child { border-bottom: 1px solid rgba(0,0,0,0.1); }
.a-step-n {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic; font-weight: 500;
  font-size: clamp(48px, 6vw, 72px); line-height: 1;
  color: #c89c33; font-variation-settings: "opsz" 144;
}
.a-step-body {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 18px; line-height: 1.5;
  color: #5e4c2a; font-weight: 400;
}
.a-step-body b { color: #1a0e02; font-weight: 600; }
@media (max-width: 720px) {
  .a-process-list li { grid-template-columns: 1fr; gap: 14px; }
  .a-step-n { font-size: 38px; }
}

.a-end {
  max-width: 880px; margin: 60px auto 100px;
  padding: 80px 24px; text-align: center;
  border-top: 1px solid rgba(0,0,0,0.1);
}
.a-end-h {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500; font-size: clamp(56px, 9vw, 132px);
  line-height: 0.94; letter-spacing: -0.03em;
  color: #1a0e02; margin: 0 0 18px;
  font-variation-settings: "opsz" 144;
}
.a-end-h em {
  font-style: italic; font-weight: 600;
  background: linear-gradient(180deg, #c89c33 0%, #8b6914 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.a-end-p {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 17px; color: #5e4c2a; margin: 0 0 36px;
}
.a-end-cta {
  display: flex; flex-direction: column;
  align-items: center; gap: 18px;
}
.a-end-ca {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px; color: #5e4c2a;
  background: rgba(229,184,74,0.06);
  border: 1px solid rgba(139,105,20,0.25);
  padding: 8px 14px; border-radius: 999px;
  cursor: pointer; transition: all 0.18s;
}
.a-end-ca:hover { border-color: #c89c33; color: #1a0e02; }
.a-end-ca-k { color: #8b6914; font-weight: 600; }
.a-end-audits {
  margin-top: 50px;
  display: flex; justify-content: center;
  gap: 30px; flex-wrap: wrap;
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px; color: #8e7a52;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.a-end-audits span { color: #4a3a1c; }

/* ─── Hero coin animation (replaces orbit) ─── */
.coin-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.coin-stage::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(246,215,122,0.18) 0%, transparent 55%);
  filter: blur(20px);
  pointer-events: none;
}

/* Floating coin */
.coin-wrap {
  position: relative;
  width: 46%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: coin-float 7s ease-in-out infinite;
  will-change: transform;
  z-index: 4;
}
.coin-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.55))
          drop-shadow(0 0 32px rgba(246,215,122,0.45));
  animation: coin-spin-soft 22s linear infinite;
}
@keyframes coin-float {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50%      { transform: translateY(-14px) rotate(1.5deg); }
}
@keyframes coin-spin-soft {
  0%   { filter: drop-shadow(0 24px 48px rgba(0,0,0,0.55)) drop-shadow(0 0 28px rgba(246,215,122,0.4)); }
  50%  { filter: drop-shadow(0 24px 48px rgba(0,0,0,0.55)) drop-shadow(0 0 48px rgba(246,215,122,0.6)); }
  100% { filter: drop-shadow(0 24px 48px rgba(0,0,0,0.55)) drop-shadow(0 0 28px rgba(246,215,122,0.4)); }
}

/* Concentric ripples emanating outward */
.coin-ripple {
  position: absolute;
  top: 50%; left: 50%;
  width: 46%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%) scale(1);
  border-radius: 50%;
  border: 1px solid rgba(246,215,122,0.35);
  opacity: 0;
  animation: coin-ripple 4.5s cubic-bezier(.2,.6,.2,1) infinite;
  pointer-events: none;
  z-index: 2;
}
.coin-ripple.r1 { animation-delay: 0s; }
.coin-ripple.r2 { animation-delay: 1.5s; }
.coin-ripple.r3 { animation-delay: 3s; }
@keyframes coin-ripple {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(1); }
  15%  { opacity: 0.7; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(2.05); border-color: rgba(246,215,122,0); }
}

/* Static dashed orbit ring (very subtle) */
.coin-orbit {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 88%; aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1px dashed rgba(229,184,74,0.18);
  animation: orbit-rotate 90s linear infinite;
  pointer-events: none;
}
.coin-orbit.inner {
  width: 66%;
  border-color: rgba(229,184,74,0.1);
  animation-duration: 120s;
  animation-direction: reverse;
}
@keyframes orbit-rotate { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* Drifting sparkles */
.spark {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #f6d77a;
  box-shadow: 0 0 12px #f6d77a, 0 0 22px rgba(246,215,122,0.5);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
.spark.s1 { top: 14%; left: 78%; animation: spark-drift 6s ease-in-out 0.0s infinite; }
.spark.s2 { top: 80%; left: 22%; animation: spark-drift 6.5s ease-in-out 1.4s infinite; width: 4px; height: 4px; }
.spark.s3 { top: 22%; left: 18%; animation: spark-drift 7s ease-in-out 2.8s infinite; width: 5px; height: 5px; }
.spark.s4 { top: 72%; left: 84%; animation: spark-drift 6.2s ease-in-out 0.8s infinite; width: 4px; height: 4px; }
.spark.s5 { top: 50%; left: 8%;  animation: spark-drift 7.5s ease-in-out 3.4s infinite; width: 3px; height: 3px; }
.spark.s6 { top: 8%;  left: 50%; animation: spark-drift 6.8s ease-in-out 1.9s infinite; width: 3px; height: 3px; }
@keyframes spark-drift {
  0%   { opacity: 0; transform: translateY(0) scale(0.6); }
  35%  { opacity: 1; transform: translateY(-10px) scale(1); }
  70%  { opacity: 1; transform: translateY(-18px) scale(1); }
  100% { opacity: 0; transform: translateY(-28px) scale(0.7); }
}

/* Floating chip labels */
.coin-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(255, 251, 240, 0.95);
  border: 1px solid rgba(229,184,74,0.3);
  border-radius: 999px;
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: #4a3a1c;
  white-space: nowrap;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.45), inset 0 1px 0 rgba(246,215,122,0.15);
  animation: chip-in 0.9s cubic-bezier(.16,.84,.27,.99) backwards;
  z-index: 5;
}
.coin-chip b { color: #f6d77a; font-weight: 500; }
.coin-chip .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4ade80; box-shadow: 0 0 6px #4ade80;
}
.coin-chip.cc-1 { top: 10%; left: 4%;  animation-delay: 0.4s; }
.coin-chip.cc-2 { top: 32%; right: -2%; animation-delay: 0.7s; }
.coin-chip.cc-3 { bottom: 14%; left: 2%; animation-delay: 1.0s; }
.coin-chip.cc-4 { bottom: 6%;  right: 6%; animation-delay: 1.3s; }
@keyframes chip-in {
  from { opacity: 0; transform: translateY(10px) scale(0.92); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 720px) {
  .coin-chip { font-size: 11px; padding: 6px 10px; }
  .coin-chip.cc-2 { right: 2%; }
  .coin-chip.cc-3 { left: -2%; }
}

/* ─── Marquee ticker ─── */
.gold-marquee {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(139,105,20,0.06), transparent);
  border-top: 1px solid rgba(229,184,74,0.12);
  border-bottom: 1px solid rgba(229,184,74,0.12);
  padding: 14px 0;
  margin: 0;
}
.gold-marquee::before,
.gold-marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.gold-marquee::before { left: 0; background: linear-gradient(90deg, #fbf6e9, transparent); }
.gold-marquee::after  { right: 0; background: linear-gradient(-90deg, #fbf6e9, transparent); }
.marquee-track {
  display: flex; gap: 48px;
  width: max-content;
  animation: marquee-roll 38s linear infinite;
}
.gold-marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-roll { to { transform: translateX(-50%); } }
.m-item {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  color: #5e4c2a;
  white-space: nowrap;
}
.m-item .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #e5b84a;
  box-shadow: 0 0 6px #e5b84a;
}
.m-item b { color: #1a0e02; font-weight: 500; }
.m-item .up { color: #4ade80; }
.m-item .gold { color: #f6d77a; }
.m-item .sep { color: rgba(229,184,74,0.25); }

/* ─── Hover lifts and shine ─── */
.lift-card { transition: transform 0.35s cubic-bezier(.16,.84,.27,.99), border-color 0.25s, box-shadow 0.35s; }
.lift-card:hover {
  transform: translateY(-4px);
  border-color: rgba(229,184,74,0.45) !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(246,215,122,0.18);
}
.lift-card .lift-glow {
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(246,215,122,0.08), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.lift-card:hover .lift-glow { opacity: 1; }

/* Apply lift effect to existing stat + vault cards */
.bg-card\/50, .vault-card, .proof-card { position: relative; }
.bg-card\/50.lift-card .lift-glow { border-radius: 12px; }

/* Shimmer on primary buttons */
.cta-btn.primary,
button.bg-primary { position: relative; overflow: hidden; }
.cta-btn.primary::after,
button.bg-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -150%; height: 100%; width: 50%;
  background: linear-gradient(90deg, transparent, rgba(251,246,233,0.45), transparent);
  transform: skewX(-25deg);
  transition: left 0.7s cubic-bezier(.5,0,.3,1);
}
.cta-btn.primary:hover::after,
button.bg-primary:hover::after { left: 150%; }

/* Soon badge on nav */
.soon-pill {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f6d77a;
  border: 1px solid rgba(229,184,74,0.4);
  background: rgba(229,184,74,0.08);
  padding: 2px 6px 1px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ─── Wallet connect modal ─── */
.wc-overlay {
  position: fixed; inset: 0;
  background: rgba(250, 247, 240, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: wc-fade 0.22s ease-out;
}
.wc-overlay.is-open { display: flex; }
@keyframes wc-fade { from { opacity: 0; } to { opacity: 1; } }
.wc-modal {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(180deg, #e8dec6, #fbf6e9);
  border: 1px solid rgba(229,184,74,0.25);
  border-radius: 20px;
  padding: 28px 24px 22px;
  position: relative;
  overflow: hidden;
  animation: wc-pop 0.32s cubic-bezier(.16,.84,.27,.99);
}
.wc-modal::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246,215,122,0.7), transparent);
}
@keyframes wc-pop {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.wc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.wc-title {
  font-family: "Fraunces", Georgia, serif;
  font-size: 26px;
  font-weight: 500;
  color: #1a0e02;
}
.wc-x {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(229,184,74,0.2);
  background: rgba(0,0,0,0.4);
  color: #5e4c2a;
  cursor: pointer;
  transition: all 0.15s;
}
.wc-x:hover { border-color: rgba(229,184,74,0.55); color: #f6d77a; }
.wc-sub {
  font-size: 13px;
  color: #5e4c2a;
  margin-bottom: 18px;
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
}
.wc-list { display: grid; gap: 8px; }
.wc-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(229,184,74,0.12);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  width: 100%;
  color: #1a0e02;
  font-size: 15px;
  font-weight: 500;
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
}
.wc-row:hover {
  border-color: rgba(246,215,122,0.55);
  background: rgba(229,184,74,0.06);
  transform: translateX(2px);
}
.wc-row .wc-ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(229,184,74,0.08);
  border: 1px solid rgba(229,184,74,0.15);
  font-size: 20px;
  flex-shrink: 0;
  overflow: hidden;
}
.wc-row .wc-ico.img { padding: 4px; }
.wc-row .wc-ico.img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.wc-row .wc-name { flex: 1; }
.wc-row .wc-tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.25);
  padding: 3px 8px;
  border-radius: 999px;
}
.wc-row .wc-tag.muted {
  color: #8e7a52;
  background: rgba(122, 107, 74, 0.08);
  border-color: rgba(122, 107, 74, 0.25);
}
.wc-row[data-state="loading"] .wc-name::after {
  content: " · connecting…";
  color: #f6d77a;
  font-weight: 400;
}
.wc-foot {
  margin-top: 16px;
  font-size: 11px;
  color: #8e7a52;
  text-align: center;
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.04em;
}
.wc-foot .base { color: #9945FF; font-weight: 600; }

/* Connected pill replacing button text */
.connected-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
}
.connected-pill .green-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
}

/* X (Twitter) link in header */
.x-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid rgba(229,184,74,0.2);
  background: rgba(139,105,20,0.06);
  color: #5e4c2a;
  transition: all 0.18s;
  flex-shrink: 0;
}
.x-link:hover {
  border-color: rgba(246,215,122,0.6);
  background: rgba(229,184,74,0.1);
  color: #f6d77a;
  box-shadow: 0 0 14px rgba(246,215,122,0.25);
  transform: translateY(-1px);
}
.x-link svg { display: block; }

/* Connected wallet dropdown menu */
.wc-menu {
  position: fixed;
  z-index: 1050;
  min-width: 260px;
  background: linear-gradient(180deg, #e8dec6, #fbf6e9);
  border: 1px solid rgba(229,184,74,0.25);
  border-radius: 14px;
  padding: 14px 10px 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), inset 0 1px 0 rgba(246,215,122,0.1);
  opacity: 0;
  transform: translateY(-6px) scale(0.97);
  transition: opacity 0.18s, transform 0.22s cubic-bezier(.16,.84,.27,.99);
}
.wc-menu.is-open { opacity: 1; transform: translateY(0) scale(1); }
.wc-menu::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246,215,122,0.5), transparent);
}
.wc-menu-head {
  padding: 6px 12px 12px;
  border-bottom: 1px solid rgba(229,184,74,0.12);
  margin-bottom: 6px;
}
.wc-menu-eye {
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: #8e7a52;
  margin-bottom: 6px;
}
.wc-menu-addr {
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 15px;
  color: #1a0e02;
  font-weight: 500;
}
.wc-menu-name {
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  color: #5e4c2a;
  margin-top: 4px;
  text-transform: capitalize;
}
.wc-menu-item {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 10px 12px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #4a3a1c;
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s;
}
.wc-menu-item:hover {
  background: rgba(229,184,74,0.08);
  border-color: rgba(229,184,74,0.2);
  color: #f6d77a;
}
.wc-menu-item.danger { color: #f87171; }
.wc-menu-item.danger:hover { color: #fca5a5; background: rgba(248,113,113,0.08); border-color: rgba(248,113,113,0.25); }
.wc-menu-item svg { flex-shrink: 0; opacity: 0.75; }

/* Toast */
.wc-toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: linear-gradient(180deg, #e8dec6, #fbf6e9);
  border: 1px solid rgba(229,184,74,0.4);
  color: #1a0e02;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  z-index: 1100;
  opacity: 0;
  transition: all 0.3s cubic-bezier(.16,.84,.27,.99);
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.wc-toast.is-open { opacity: 1; transform: translateX(-50%) translateY(0); }
.wc-toast.err { border-color: rgba(248, 113, 113, 0.5); color: #fca5a5; }

/* ─── Soon page ─── */
.soon-page {
  max-width: 900px;
  margin: 80px auto 120px;
  padding: 80px 24px;
  text-align: center;
  position: relative;
}
.soon-eye {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  color: #f6d77a;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 7px 16px;
  border: 1px solid rgba(229,184,74,0.35);
  border-radius: 999px;
  background: rgba(229,184,74,0.05);
  margin-bottom: 36px;
}
.soon-eye .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: #f6d77a;
  box-shadow: 0 0 8px #f6d77a;
  animation: vp 1.6s ease-in-out infinite;
}
.soon-h {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-style: italic;
  font-size: clamp(110px, 22vw, 320px);
  line-height: 0.92;
  letter-spacing: -0.05em;
  margin: 30px 0 28px;
  background: linear-gradient(180deg, #f6d77a 0%, #e5b84a 30%, #c89c33 65%, #8b6914 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variation-settings: "opsz" 144;
  animation: soon-glow 4s ease-in-out infinite;
}
@keyframes soon-glow {
  0%, 100% { filter: drop-shadow(0 0 30px rgba(246,215,122,0.2)); }
  50%      { filter: drop-shadow(0 0 60px rgba(246,215,122,0.45)); }
}
.soon-h em { font-style: italic; }
.soon-p {
  font-size: 18px;
  color: #5e4c2a;
  max-width: 580px;
  margin: 0 auto 44px;
  line-height: 1.6;
}
.soon-bars {
  display: flex; gap: 6px;
  max-width: 360px;
  margin: 0 auto 30px;
}
.soon-bars .b {
  flex: 1;
  height: 3px;
  background: rgba(229,184,74,0.15);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.soon-bars .b > i {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #8b6914, #f6d77a);
  transform-origin: left;
  animation: soon-fill 2.4s ease-in-out infinite;
}
.soon-bars .b:nth-child(2) > i { animation-delay: 0.3s; }
.soon-bars .b:nth-child(3) > i { animation-delay: 0.6s; }
.soon-bars .b:nth-child(4) > i { animation-delay: 0.9s; }
@keyframes soon-fill {
  0% { transform: scaleX(0); }
  50% { transform: scaleX(1); }
  100% { transform: scaleX(0); transform-origin: right; }
}
.soon-cta {
  display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center;
}
.soon-bg {
  position: absolute;
  inset: -10% 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(229,184,74,0.15), transparent 60%);
  filter: blur(80px);
  z-index: -1;
}

/* ─── Top holders + Dex stats panels ─── */
.fw-panel {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 24px;
}
.fw-panel-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 24px; gap: 16px; flex-wrap: wrap;
}
.fw-panel-title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500; font-style: italic;
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -0.02em;
  color: #1a0e02; line-height: 0.95;
  margin: 0; font-variation-settings: "opsz" 144;
}
.fw-panel-title em {
  background: linear-gradient(180deg, #c89c33, #8b6914);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.fw-panel-meta {
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px; color: #8b6914;
  letter-spacing: 0.18em; text-transform: uppercase;
}

/* DexScreener stats grid */
.dex-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(0,0,0,0.1);
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
@media (max-width: 720px) { .dex-stats { grid-template-columns: 1fr 1fr; } }
.dex-cell {
  padding: 22px 24px;
  border-right: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.dex-cell:nth-child(3n) { border-right: 0; }
.dex-cell:nth-last-child(-n+3) { border-bottom: 0; }
@media (max-width: 720px) {
  .dex-cell:nth-child(3n) { border-right: 1px solid rgba(0,0,0,0.08); }
  .dex-cell:nth-child(2n) { border-right: 0; }
}
.dex-k {
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px; color: #8e7a52;
  letter-spacing: 0.22em; margin-bottom: 8px;
}
.dex-v {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600; font-size: 26px;
  color: #1a0e02; letter-spacing: -0.01em;
  font-variation-settings: "opsz" 144;
}
.dex-v.up { color: #4a9d6e; }
.dex-v.down { color: #c64545; }
.dex-empty {
  grid-column: 1 / -1;
  padding: 40px 24px; text-align: center;
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px; color: #8e7a52;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* Holders list */
.holders {
  border-top: 1px solid rgba(0,0,0,0.1);
}
.holder-row {
  display: grid;
  grid-template-columns: 56px 1fr 140px 90px;
  gap: 18px; align-items: center;
  padding: 14px 12px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 14px;
  transition: background 0.15s;
}
.holder-row:hover { background: rgba(229,184,74,0.04); }
.hr-rank {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic; font-weight: 500;
  font-size: 22px; color: #c89c33;
  font-variation-settings: "opsz" 144;
}
.hr-addr {
  color: #1a0e02; text-decoration: none;
  font-weight: 500;
}
.hr-addr:hover { color: #8b6914; text-decoration: underline; }
.hr-bal { color: #5e4c2a; text-align: right; }
.hr-pct {
  text-align: right; color: #8b6914;
  font-weight: 600;
}
.holders-empty {
  padding: 50px 24px; text-align: center;
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px; color: #8e7a52;
  line-height: 1.6; max-width: 520px; margin: 0 auto;
}
@media (max-width: 720px) {
  .holder-row { grid-template-columns: 36px 1fr 80px 70px; gap: 10px; font-size: 12px; padding: 12px 4px; }
  .hr-rank { font-size: 18px; }
}

/* ─── Flywheel custom bar chart + minimalist cycle diagram ─── */
.fw-chart {
  padding: 30px 6px 14px;
  border-top: 1px solid rgba(0,0,0,0.08);
  margin-top: 16px;
}
.fw-chart-row {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 200px;
  padding: 0 4px;
}
.fw-chart-bar {
  flex: 1;
  height: var(--h, 50%);
  background: linear-gradient(180deg, #f6d77a 0%, #c89c33 100%);
  border-radius: 3px 3px 0 0;
  position: relative;
  transition: opacity 0.2s, transform 0.2s;
  cursor: pointer;
}
.fw-chart-bar:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}
.fw-chart-bar .fw-chart-cap {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 9px;
  color: #8e7a52;
  opacity: 0;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.fw-chart-bar:hover .fw-chart-cap,
.fw-chart-bar.live .fw-chart-cap { opacity: 1; }
.fw-chart-bar.live {
  background: linear-gradient(180deg, #f6d77a 0%, #8b6914 100%);
  box-shadow: 0 0 18px rgba(229,184,74,0.4);
  animation: fw-bar-pulse 1.6s ease-in-out infinite;
}
.fw-chart-bar.live .fw-chart-cap { color: #4ade80; font-weight: 600; }
@keyframes fw-bar-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.75; }
}
.fw-chart-axis {
  display: flex; justify-content: space-between;
  margin-top: 36px;
  padding: 0 4px;
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  color: #8e7a52;
  letter-spacing: 0.1em;
}
.fw-chart-axis .mid { color: #5e4c2a; }
.fw-chart-axis .max { color: #c89c33; font-weight: 600; }

.fw-diagram {
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.fw-d-step {
  display: grid;
  grid-template-columns: 80px 30px 1fr;
  gap: 18px;
  align-items: center;
  padding: 24px 8px;
  border-top: 1px solid rgba(0,0,0,0.08);
  transition: background 0.2s;
}
.fw-d-step:last-of-type { border-bottom: 1px solid rgba(0,0,0,0.08); }
.fw-d-step:hover { background: rgba(229,184,74,0.04); }
.fw-d-n {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 48px;
  line-height: 1;
  color: #c89c33;
  font-variation-settings: "opsz" 144;
}
.fw-d-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, #c89c33, transparent);
}
.fw-d-label {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 16px;
  color: #1a0e02;
  font-weight: 500;
}
.fw-d-loop {
  text-align: center;
  margin-top: 22px;
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  color: #8b6914;
  letter-spacing: 0.25em;
}

/* ─── Flywheel page editorial header + giant countdown ─── */
.fw-hero {
  max-width: 1100px;
  margin: 50px auto 30px;
  padding: 0 24px;
}
.fw-hero-eyebrow {
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.32em;
  color: #8b6914;
  margin-bottom: 22px;
}
.fw-hero-h {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(56px, 9vw, 140px);
  line-height: 0.93;
  letter-spacing: -0.04em;
  color: #1a0e02;
  margin: 0 0 22px;
  font-variation-settings: "opsz" 144;
}
.fw-hero-h em {
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(180deg, #c89c33 0%, #8b6914 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fw-hero-sub {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 17px;
  color: #5e4c2a;
  max-width: 560px;
  margin: 0;
}

.fw-bigcountdown {
  max-width: 1100px;
  margin: 60px auto 40px;
  padding: 56px 24px;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.1);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  position: relative;
  background:
    radial-gradient(ellipse 1000px 300px at 50% 50%, rgba(229,184,74,0.08), transparent 70%);
}
.fw-bc-label {
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.32em;
  color: #8b6914;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.fw-bc-display {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-style: italic;
  font-size: clamp(100px, 18vw, 280px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, #f6d77a 0%, #e5b84a 35%, #c89c33 70%, #8b6914 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variation-settings: "opsz" 144;
  font-variant-numeric: tabular-nums;
  animation: fw-bc-glow 4s ease-in-out infinite;
}
@keyframes fw-bc-glow {
  0%, 100% { filter: drop-shadow(0 0 30px rgba(246,215,122,0.2)); }
  50%      { filter: drop-shadow(0 0 50px rgba(246,215,122,0.4)); }
}
.fw-bc-sep {
  display: inline-block;
  margin: 0 0.1em;
  animation: fw-bc-blink 1s steps(2) infinite;
}
@keyframes fw-bc-blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0.25; } }
.fw-bc-sub {
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: #5e4c2a;
  margin-top: 18px;
  letter-spacing: 0.05em;
}
.fw-bc-sub b { color: #1a0e02; font-weight: 600; }

/* ─── Docs editorial hero ─── */
.docs-hero {
  max-width: 1100px;
  margin: 70px auto 50px;
  padding: 0 24px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding-bottom: 50px;
}
.docs-hero-eyebrow {
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.32em;
  color: #8b6914;
  margin-bottom: 24px;
}
.docs-hero-h {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(48px, 7vw, 110px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #1a0e02;
  margin: 0 0 24px;
  font-variation-settings: "opsz" 144;
}
.docs-hero-h em {
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(180deg, #c89c33 0%, #8b6914 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.docs-hero-sub {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: #5e4c2a;
  max-width: 640px;
  margin: 0 0 32px;
}
.docs-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: #5e4c2a;
}
.docs-hero-meta span b {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.25em;
  color: #8e7a52;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
}

/* ─── Docs page ─── */
.docs-shell {
  max-width: 1240px;
  margin: 60px auto 100px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px) {
  .docs-shell { grid-template-columns: 1fr; gap: 30px; }
  .docs-side { position: relative !important; top: auto !important; }
}
.docs-side {
  position: sticky;
  top: 100px;
  background: rgba(255, 251, 240, 0.6);
  border: 1px solid rgba(229,184,74,0.12);
  border-radius: 16px;
  padding: 22px 18px;
  backdrop-filter: blur(6px);
}
.docs-eye {
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.25em;
  color: #8e7a52;
  text-transform: uppercase;
  padding: 0 8px 12px;
  border-bottom: 1px solid rgba(229,184,74,0.08);
  margin-bottom: 12px;
}
.docs-nav { display: flex; flex-direction: column; gap: 2px; }
.docs-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  color: #5e4c2a;
  border-radius: 8px;
  transition: all 0.15s;
  position: relative;
}
.docs-nav a::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 2px; height: 0;
  background: linear-gradient(180deg, #f6d77a, #8b6914);
  border-radius: 2px;
  transition: height 0.2s;
}
.docs-nav a:hover { color: #f6d77a; background: rgba(229,184,74,0.06); }
.docs-nav a.active {
  color: #f6d77a;
  background: rgba(229,184,74,0.08);
}
.docs-nav a.active::before { height: 60%; }
.docs-nav a .num {
  font-size: 10px;
  color: #4a3a1c;
  font-weight: 500;
  min-width: 18px;
}
.docs-nav a.active .num { color: #e5b84a; }

.docs-content { min-height: 800px; }
.docs-block {
  padding: 60px 0;
  border-bottom: 1px solid rgba(229,184,74,0.08);
  scroll-margin-top: 100px;
}
.docs-block:first-child { padding-top: 0; }
.docs-block:last-child { border-bottom: 0; }
.docs-block h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.04;
  margin: 0 0 8px;
  color: #1a0e02;
  letter-spacing: -0.02em;
}
.docs-block h2 em {
  font-style: italic;
  background: linear-gradient(180deg, #c99a2e 0%, #8b6914 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.docs-num {
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  color: #f6d77a;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
  display: inline-flex; align-items: center; gap: 8px;
}
.docs-num::before {
  content: ""; width: 18px; height: 1px; background: #8b6914;
}
.docs-block p {
  color: #5e4c2a;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 14px;
}
.docs-block p b { color: #1a0e02; font-weight: 600; }
.docs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}
@media (max-width: 720px) { .docs-grid { grid-template-columns: 1fr; } }
.docs-tile {
  padding: 18px 20px;
  border: 1px solid rgba(229,184,74,0.12);
  border-radius: 12px;
  background: rgba(255, 251, 240, 0.6);
  transition: all 0.2s;
}
.docs-tile:hover { border-color: rgba(229,184,74,0.4); transform: translateY(-2px); }
.docs-tile .k {
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  color: #8e7a52;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.docs-tile .v {
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 14px;
  color: #1a0e02;
}
.docs-tile .v.gold { color: #f6d77a; }
.docs-code {
  display: block;
  margin: 18px 0;
  padding: 22px 26px;
  background: #1a0e02;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 12px;
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 13.5px;
  color: #f4ede0;
  line-height: 1.75;
  white-space: pre;
  overflow-x: auto;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  position: relative;
}
.docs-code::before {
  content: "SOLIDITY";
  position: absolute;
  top: 12px; right: 16px;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: #8b6914;
  font-weight: 600;
}
.docs-code .c { color: #a08866; font-style: italic; }
.docs-code .k { color: #f6d77a; font-weight: 600; }
.docs-code .s { color: #7dd3a8; }

/* Section dots scroll indicator */
.scroll-dots {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.scroll-dots a {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(229,184,74,0.2);
  display: block;
  transition: all 0.25s;
  position: relative;
}
.scroll-dots a:hover { background: rgba(246,215,122,0.6); transform: scale(1.4); }
.scroll-dots a.active { background: #f6d77a; box-shadow: 0 0 10px #f6d77a; }
.scroll-dots a::after {
  content: attr(data-label);
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #5e4c2a;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
  text-transform: uppercase;
}
.scroll-dots a:hover::after,
.scroll-dots a.active::after { opacity: 1; }
@media (max-width: 900px) { .scroll-dots { display: none; } }
