/* ============================================================
   ROBIN LEVELS · $LEVEL — style.css
   Deep black / acid lime · minimal · terminal-grade
   ============================================================ */

:root {
  --bg: #050705;
  --bg-raise: #0a0d0a;
  --bg-panel: rgba(10, 14, 10, 0.72);
  --lime: #c8ff2e;
  --lime-soft: rgba(200, 255, 46, 0.14);
  --lime-faint: rgba(200, 255, 46, 0.05);
  --line: rgba(200, 255, 46, 0.16);
  --line-strong: rgba(200, 255, 46, 0.38);
  --text: #f2f5ee;
  --muted: #7d857a;
  --danger: #ff5c5c;
  --glow: 0 0 24px rgba(200, 255, 46, 0.25);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="light"] {
  --bg: #f4f6f0;
  --bg-raise: #eaeee2;
  --bg-panel: rgba(255, 255, 255, 0.7);
  --lime: #3f7a00;
  --lime-soft: rgba(63, 122, 0, 0.12);
  --lime-faint: rgba(63, 122, 0, 0.05);
  --line: rgba(30, 60, 0, 0.18);
  --line-strong: rgba(30, 60, 0, 0.4);
  --text: #10160c;
  --muted: #5c6455;
  --glow: 0 0 24px rgba(63, 122, 0, 0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
}

::selection { background: var(--lime); color: #050705; }

.mono { font-family: var(--font-mono); letter-spacing: 0.06em; }

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

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

button { font-family: inherit; cursor: pointer; }

/* ---------- preloader ---------- */
body.loading { overflow: hidden; }

.preloader {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.3rem;
  width: min(320px, 80vw);
}

.preloader__bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 64px;
}
.preloader__bars i {
  width: 10px;
  background: linear-gradient(to top, var(--lime-soft), rgba(200, 255, 46, 0.55));
  border-top: 1px solid var(--lime);
  animation: preRise 1.4s var(--ease) infinite;
}
.preloader__bars i:nth-child(1) { height: 18px; animation-delay: 0s; }
.preloader__bars i:nth-child(2) { height: 28px; animation-delay: 0.12s; }
.preloader__bars i:nth-child(3) { height: 40px; animation-delay: 0.24s; }
.preloader__bars i:nth-child(4) { height: 54px; animation-delay: 0.36s; }
.preloader__bars i:nth-child(5) { height: 40px; animation-delay: 0.48s; }
.preloader__bars i:nth-child(6) { height: 28px; animation-delay: 0.6s; }
.preloader__bars i:nth-child(7) { height: 18px; animation-delay: 0.72s; }
@keyframes preRise {
  0%, 100% { transform: scaleY(0.45); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}
.preloader__bars i { transform-origin: bottom; }

.preloader__count {
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--lime);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 30px rgba(200, 255, 46, 0.3);
}
html[data-theme="light"] .preloader__count { text-shadow: none; }
.preloader__count em { font-style: normal; font-size: 0.9rem; color: var(--muted); }

.preloader__label {
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  color: var(--muted);
  min-height: 1em;
}

.preloader__track {
  width: 100%;
  height: 2px;
  background: var(--lime-faint);
  overflow: hidden;
}
.preloader__track b {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
  transition: width 0.2s linear;
}

.preloader__brand {
  margin-top: 1rem;
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  color: var(--muted);
  opacity: 0.6;
}

/* ---------- cursor glow ---------- */
.cursor-glow {
  position: fixed;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, var(--lime-soft) 0%, transparent 62%);
  transform: translate(-50%, -50%);
  opacity: 0.65;
  transition: opacity 0.6s;
  will-change: left, top;
}

@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.78rem 1.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease);
}

.btn--primary {
  background: var(--lime);
  border-color: var(--lime);
  color: #060806;
}
html[data-theme="light"] .btn--primary { color: #f4f6f0; }

.btn--primary:hover { box-shadow: var(--glow); transform: translateY(-2px); }

.btn--ghost:hover { border-color: var(--lime); color: var(--lime); background: var(--lime-faint); }

/* Token action buttons (Uniswap / GMGN) before the contract is live: visibly inert, no navigation. */
.btn.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  filter: grayscale(0.6);
}
.btn.is-disabled:hover {
  border-color: var(--line-strong);
  color: var(--text);
  background: transparent;
  box-shadow: none;
  transform: none;
}
.btn.is-disabled .btn__arrow { transform: none; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  transition: all 0.3s var(--ease);
}
.icon-btn:hover { color: var(--lime); border-color: var(--line-strong); }
.icon-btn.active { color: var(--lime); border-color: var(--lime); box-shadow: var(--glow); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: all 0.4s var(--ease);
}
.nav.scrolled {
  background: var(--bg-panel);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.9rem 2rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__brand { display: flex; align-items: center; gap: 0.65rem; }
.nav__name {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
}
.nav__name em { font-style: normal; color: var(--lime); }

.nav__links {
  display: flex;
  gap: 1.9rem;
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav__links a { color: var(--muted); transition: color 0.3s; position: relative; }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--lime);
  transition: width 0.35s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 0.6rem; }

.btn--connect {
  padding: 0.55rem 1.15rem;
  font-size: 0.72rem;
}
.btn--connect__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--muted);
  transition: all 0.4s;
}
.btn--connect.connected { border-color: var(--lime); color: var(--lime); }
.btn--connect.connected .btn--connect__dot {
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
}
.btn--connect:hover { border-color: var(--lime); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav__burger span {
  width: 20px; height: 1.5px;
  background: var(--text);
  transition: all 0.3s;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7.5rem 2rem 0;
  overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__terrain {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 130%;
  min-width: 1100px;
  opacity: 0.5;
  pointer-events: none;
}
html[data-theme="light"] .hero__terrain { opacity: 0.35; }

.hero__fog {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 75% 68%, var(--lime-faint), transparent 70%),
    radial-gradient(ellipse 50% 35% at 20% 30%, var(--lime-faint), transparent 75%);
}

.hero__scanline {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  animation: scan 9s linear infinite;
  opacity: 0.5;
}
@keyframes scan {
  0% { top: 12%; opacity: 0; }
  8% { opacity: 0.5; }
  92% { opacity: 0.5; }
  100% { top: 88%; opacity: 0; }
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: var(--lime);
  margin-bottom: 1.6rem;
}
.tick {
  width: 26px; height: 1px;
  background: var(--lime);
  display: inline-block;
}

.hero__title {
  font-size: clamp(2.9rem, 7vw, 5.6rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.hero__title-accent {
  color: var(--lime);
  text-shadow: 0 0 42px rgba(200, 255, 46, 0.35);
}
html[data-theme="light"] .hero__title-accent { text-shadow: none; }

.hero__sub {
  margin-top: 1.4rem;
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 420px;
}

.hero__cta { display: flex; gap: 1rem; margin-top: 2.4rem; flex-wrap: wrap; }

.hero__eyebrow-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.6rem;
  padding: 0.28rem 0.7rem;
  border: 1px solid var(--line);
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  color: var(--text);
  background: var(--lime-faint);
}

.btn__arrow {
  display: inline-block;
  transition: transform 0.35s var(--ease);
}
.btn--primary:hover .btn__arrow { transform: translateX(4px); }
.btn--ghost:hover .btn__arrow { transform: translate(3px, -3px); }

.hero__stats {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  max-width: 560px;
}
.hero__stat {
  position: relative;
  background: var(--bg);
  padding: 0.95rem 1.1rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  overflow: hidden;
  transition: background 0.4s;
}
.hero__stat:hover { background: var(--bg-raise); }
.hero__stat-label { font-size: 0.56rem; letter-spacing: 0.26em; color: var(--muted); }
.hero__stat-value {
  font-size: 0.98rem;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.hero__stat-sub {
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  display: flex;
  align-items: center;
}
.hero__stat-line {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--lime), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.hero__stat:hover .hero__stat-line { transform: scaleX(1); }

/* --- market level instrument --- */
.hero__instrument { position: relative; }

.instrument__frame {
  border: 1px solid var(--line);
  background: var(--bg-panel);
  backdrop-filter: blur(8px);
  padding: 2.1rem 2rem 1.6rem;
  position: relative;
  transition: transform 0.25s ease-out, border-color 0.4s;
}
.instrument__frame::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 22px; height: 22px;
  border-top: 1px solid var(--lime);
  border-left: 1px solid var(--lime);
}
.instrument__frame::after {
  content: "";
  position: absolute;
  bottom: -1px; right: -1px;
  width: 22px; height: 22px;
  border-bottom: 1px solid var(--lime);
  border-right: 1px solid var(--lime);
}

.instrument__readout {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}
.instrument__value {
  font-size: 4.6rem;
  font-weight: 300;
  color: var(--lime);
  line-height: 1;
  text-shadow: 0 0 34px rgba(200, 255, 46, 0.3);
  font-variant-numeric: tabular-nums;
}
html[data-theme="light"] .instrument__value { text-shadow: none; }
.instrument__unit { color: var(--muted); font-size: 1rem; }

.instrument__state {
  margin-top: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  color: var(--text);
}

.instrument__columns {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 110px;
  margin: 1.8rem 0 1.5rem;
}
.instrument__col {
  flex: 1;
  min-height: 4px;
  background: var(--lime-faint);
  border-top: 1px solid var(--line);
  transition: height 0.9s var(--ease), background 0.5s, border-color 0.5s;
}
.instrument__col.lit {
  background: linear-gradient(to top, var(--lime-soft), rgba(200, 255, 46, 0.42));
  border-top-color: var(--lime);
}
.instrument__col.head {
  background: var(--lime);
  box-shadow: 0 0 16px rgba(200, 255, 46, 0.55);
}

.instrument__fees {
  display: flex;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 1.15rem;
}
.instrument__fee { flex: 1; display: flex; flex-direction: column; gap: 0.25rem; }
.instrument__fee:last-child { align-items: flex-end; }
.instrument__fee-label { font-size: 0.62rem; color: var(--muted); letter-spacing: 0.22em; }
.instrument__fee-val { font-size: 1.15rem; color: var(--text); }
.instrument__fee-divider { width: 1px; height: 30px; background: var(--line); }

.instrument__caption {
  margin-top: 0.8rem;
  text-align: right;
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  color: var(--muted);
}

/* ---------- sections ---------- */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 7.5rem 2rem 0;
}

.section__head { margin-bottom: 3.2rem; position: relative; }
.section__index {
  font-size: 0.68rem;
  color: var(--lime);
  letter-spacing: 0.3em;
  display: block;
  margin-bottom: 0.8rem;
}
.section__title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.section__note { margin-top: 0.9rem; color: var(--muted); font-size: 0.95rem; max-width: 460px; }

/* ---------- terminal ---------- */
.terminal {
  border: 1px solid var(--line);
  background: var(--bg-panel);
  backdrop-filter: blur(8px);
}

.terminal__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.terminal__cell {
  padding: 1.7rem 1.4rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  transition: background 0.4s;
}
.terminal__cell:hover { background: var(--lime-faint); }
.terminal__cell:nth-child(4n) { border-right: none; }
.terminal__cell:nth-last-child(-n+4) { border-bottom: none; }
.terminal__cell--wide { grid-column: span 2; }

.terminal__label { font-size: 0.62rem; color: var(--muted); letter-spacing: 0.22em; }
.terminal__value {
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.terminal__value--addr { font-size: 1.15rem; color: var(--lime); }
.terminal__hint { font-size: 0.6rem; color: var(--muted); letter-spacing: 0.18em; }
.terminal__hint.up { color: var(--lime); }
.terminal__hint.down { color: var(--danger); }

.pulse-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 6px var(--lime);
  animation: pulse 2s ease-in-out infinite;
  vertical-align: middle;
  margin-right: 4px;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ---------- level map ---------- */
.levelmap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.levelstep {
  background: var(--bg);
  padding: 2.2rem 1.4rem 1.6rem;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.55rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.5s var(--ease);
  border: none;
  text-align: left;
  color: inherit;
  font-family: inherit;
}
.levelstep::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: var(--fill, 8%);
  background: linear-gradient(to top, var(--lime-soft), transparent);
  opacity: var(--intensity, 0.2);
  transition: opacity 0.5s, height 0.7s var(--ease);
  pointer-events: none;
}
.levelstep:hover::before,
.levelstep.active::before { opacity: 1; }
.levelstep:hover, .levelstep.active { background: var(--bg-raise); }

.levelstep__bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 64px;
  margin-bottom: auto;
}
.levelstep__bars i {
  width: 5px;
  background: var(--lime);
  opacity: var(--bar-op, 0.2);
  transition: opacity 0.4s, height 0.5s var(--ease);
}
.levelstep:hover .levelstep__bars i, .levelstep.active .levelstep__bars i { opacity: 1; }

.levelstep__range { font-size: 0.62rem; color: var(--muted); letter-spacing: 0.22em; }
.levelstep__name {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.levelstep.active .levelstep__name { color: var(--lime); }
.levelstep__fees { font-size: 0.62rem; color: var(--muted); letter-spacing: 0.14em; }

.levelmap__detail {
  margin-top: 1.4rem;
  display: flex;
  align-items: baseline;
  gap: 1.6rem;
  padding: 1.1rem 1.5rem;
  border: 1px solid var(--line);
  border-left: 2px solid var(--lime);
  background: var(--bg-panel);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  flex-wrap: wrap;
  transition: opacity .3s;
}
.levelmap__detail-range { color: var(--muted); }
.levelmap__detail-name { color: var(--lime); font-weight: 600; letter-spacing: 0.24em; }
.levelmap__detail-fees { color: var(--text); }
.levelmap__detail-desc { color: var(--muted); flex-basis: 100%; letter-spacing: 0.04em; }

/* ---------- holder ---------- */
.holder__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4.5rem;
  align-items: center;
}
.holder__img { width: 100%; max-width: 440px; }
.holder__text { margin-top: 1.2rem; color: var(--muted); max-width: 480px; }

.holder__panel {
  margin-top: 2rem;
  border: 1px solid var(--line);
  background: var(--bg-panel);
}
.holder__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.4rem;
  border-bottom: 1px solid var(--line);
}
.holder__row:last-child { border-bottom: none; }
.holder__label { font-size: 0.64rem; color: var(--muted); letter-spacing: 0.22em; }
.holder__val { font-size: 0.92rem; }
.holder__val.addr { color: var(--lime); }
.holder__status { color: var(--lime); font-size: 0.74rem; letter-spacing: 0.18em; }

.holder__hint {
  margin-top: 1.2rem;
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.2em;
}

/* ---------- rewards ---------- */
.rewards__panel {
  border: 1px solid var(--line);
  background: var(--bg-panel);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 2.6rem 2.8rem;
  position: relative;
  overflow: hidden;
}
.rewards__panel::before {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(105deg, transparent, var(--lime-faint), transparent);
  transition: left 1.1s var(--ease);
  pointer-events: none;
}
.rewards__panel:hover::before { left: 120%; }

.rewards__stats {
  display: flex;
  gap: 3.5rem;
  flex-wrap: wrap;
}
.rewards__stat { display: flex; flex-direction: column; gap: 0.5rem; }
.rewards__label { font-size: 0.62rem; color: var(--muted); letter-spacing: 0.24em; }
.rewards__value {
  font-size: 2.1rem;
  font-weight: 300;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
#claimableEth.ready { color: var(--lime); text-shadow: 0 0 26px rgba(200,255,46,.3); }
html[data-theme="light"] #claimableEth.ready { text-shadow: none; }

.rewards__action { display: flex; flex-direction: column; gap: 0.9rem; align-items: flex-end; }

.btn--claim {
  padding: 0.95rem 2.6rem;
  border: 1px solid var(--lime);
  background: transparent;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease);
}
.btn--claim:disabled {
  border-color: var(--line);
  color: var(--muted);
  cursor: not-allowed;
}
.btn--claim:not(:disabled):hover {
  background: var(--lime);
  color: #060806;
  box-shadow: var(--glow);
}
html[data-theme="light"] .btn--claim:not(:disabled):hover { color: #f4f6f0; }
.btn--claim__beam {
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, var(--lime-soft), transparent);
  pointer-events: none;
}
.btn--claim:not(:disabled):hover .btn--claim__beam { animation: beam 0.9s var(--ease); }
@keyframes beam { to { left: 130%; } }

.rewards__gate {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6rem;
  color: var(--muted);
  letter-spacing: 0.18em;
}
.rewards__gate.unlocked { color: var(--lime); }

/* ---------- token ---------- */
.token__layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4.5rem;
  align-items: center;
}
.token__img { width: 100%; max-width: 420px; margin-left: auto; }

.token__spec { margin-top: 2.2rem; display: flex; flex-direction: column; gap: 0.85rem; }
.token__line {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}
.token__line span { color: var(--muted); min-width: 90px; }
.token__line i {
  flex: 1;
  border-bottom: 1px dashed var(--line);
  transform: translateY(-4px);
}
.token__line b { color: var(--text); font-weight: 500; }

.token__addresses { margin-top: 2.4rem; display: flex; flex-direction: column; gap: 0.8rem; }
.token__addr {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--line);
  padding: 0.8rem 1.1rem;
  background: var(--bg-panel);
}
.token__addr-label { font-size: 0.6rem; color: var(--lime); letter-spacing: 0.24em; min-width: 74px; }
.token__addr-value {
  font-size: 0.72rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.copy-btn { flex-shrink: 0; width: 30px; height: 30px; }

/* ---------- docs ---------- */
.docs { padding-bottom: 8rem; }

.docs__body {
  border-left: 1px solid var(--line);
  padding-left: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 780px;
}

.docs__block { position: relative; }
.docs__block::before {
  content: "";
  position: absolute;
  left: calc(-2.4rem - 3px);
  top: 6px;
  width: 5px;
  height: 5px;
  background: var(--lime);
}

.docs__h {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--lime);
  margin-bottom: 0.9rem;
  font-weight: 500;
}

.docs__block p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0.55rem;
  max-width: 640px;
}
.docs__block p b { color: var(--text); font-weight: 600; }

.docs__list {
  list-style: none;
  margin-bottom: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.docs__list li {
  color: var(--muted);
  font-size: 0.88rem;
  padding-left: 1.1rem;
  position: relative;
}
.docs__list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--lime);
}

.docs__table-wrap { overflow-x: auto; margin: 0.4rem 0 1rem; }
.docs__table {
  border-collapse: collapse;
  width: 100%;
  min-width: 420px;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}
.docs__table th {
  text-align: left;
  color: var(--lime);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  padding: 0.6rem 1rem 0.6rem 0;
  border-bottom: 1px solid var(--line-strong);
}
.docs__table td {
  color: var(--text);
  padding: 0.6rem 1rem 0.6rem 0;
  border-bottom: 1px solid var(--line);
}
.docs__table td:first-child { color: var(--muted); }

/* ---------- page end ---------- */
.token { padding-bottom: 0; }

/* ---------- modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 3, 0.8);
  backdrop-filter: blur(6px);
}
html[data-theme="light"] .modal__backdrop { background: rgba(240, 244, 235, 0.8); }

.modal__box {
  position: relative;
  width: 100%;
  max-width: 400px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  animation: modalIn 0.35s var(--ease);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--line);
}
.modal__title { font-size: 0.78rem; letter-spacing: 0.26em; color: var(--lime); }
.modal__body { padding: 1.4rem; display: flex; flex-direction: column; gap: 0.8rem; }

.modal__option {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.05rem 1.2rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  text-align: left;
  transition: all 0.3s var(--ease);
}
.modal__option:hover { border-color: var(--lime); background: var(--lime-faint); }
.modal__option-name { font-weight: 600; font-size: 0.95rem; }
.modal__option-sub { font-size: 0.6rem; color: var(--muted); letter-spacing: 0.2em; }
.modal__note {
  margin-top: 0.4rem;
  font-size: 0.56rem;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-align: center;
}

/* ---------- toast ---------- */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--bg-raise);
  border: 1px solid var(--lime);
  color: var(--lime);
  padding: 0.75rem 1.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s var(--ease);
  box-shadow: var(--glow);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .terminal__grid { grid-template-columns: repeat(2, 1fr); }
  .terminal__cell:nth-child(4n) { border-right: 1px solid var(--line); }
  .terminal__cell:nth-child(2n) { border-right: none; }
  .terminal__cell:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .terminal__cell:nth-last-child(-n+2) { border-bottom: none; }
  .holder__layout, .token__layout { grid-template-columns: 1fr; gap: 3rem; }
  .token__art { order: -1; }
  .token__img { margin: 0 auto; }
  .levelmap { grid-template-columns: 1fr; }
  .levelstep { min-height: auto; padding: 1.5rem 1.4rem; }
  .levelstep__bars { height: 44px; }
  .rewards__panel { grid-template-columns: 1fr; }
  .rewards__action { align-items: flex-start; }
}

@media (max-width: 760px) {
  .nav__links {
    position: fixed;
    top: 57px;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 0;
    transform: translateY(-130%);
    transition: transform 0.4s var(--ease);
    z-index: -1;
  }
  .nav__links.open { transform: none; }
  .nav__links a { padding: 0.9rem 2rem; }
  .nav__links a::after { display: none; }
  .nav__burger { display: flex; }
  .nav__inner { gap: 1rem; padding: 0.8rem 1.2rem; }
  .nav__name { font-size: 0.8rem; }
  .hero { padding: 6.5rem 1.2rem 0; }
  .section { padding: 5rem 1.2rem 0; }
  .instrument__value { font-size: 3.4rem; }
  .hero__stats { grid-template-columns: 1fr; max-width: 100%; }
  .hero__eyebrow { flex-wrap: wrap; row-gap: 0.5rem; }
  .rewards__panel { padding: 1.8rem 1.4rem; }
  .rewards__stats { gap: 1.8rem; }
  .rewards__value { font-size: 1.6rem; }
  .terminal__grid { grid-template-columns: 1fr; }
  .terminal__cell { border-right: none !important; border-bottom: 1px solid var(--line) !important; }
  .terminal__cell:last-child { border-bottom: none !important; }
  .terminal__cell--wide { grid-column: span 1; }
  .btn--connect { padding: 0.5rem 0.8rem; }
  .btn--connect #connectLabel { font-size: 0.62rem; }
  .docs__body { padding-left: 1.2rem; }
  .docs__block::before { left: calc(-1.2rem - 3px); }
}
