/* ==========================================================================
   SkillHood — RobinHood Chain AI Skill Collection
   Design system: dark, financial-grade, RobinHood-inspired
   ========================================================================== */

:root {
  /* Palette */
  --bg: #0B0E11;
  --bg-elev: #10141A;
  --surface: #13181F;
  --surface-2: #171D25;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #E8EBEE;
  --text-dim: #9AA3AD;
  --text-faint: #6B7480;

  --green: #00C805;
  --green-bright: #00E052;
  --green-dim: rgba(0, 200, 5, 0.14);
  --red: #F84960;
  --red-dim: rgba(248, 73, 96, 0.14);

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, "Cascadia Mono", monospace;

  /* Sizing */
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --nav-h: 64px;
  --maxw: 1200px;

  --shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.9);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--green); color: #071008; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.up { color: var(--green); }
.down { color: var(--red); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #232a33; border-radius: 6px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #2e3844; }

/* ==========================================================================
   Network status bar
   ========================================================================== */
.chain-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 28px;
  padding: 0 16px;
  background: linear-gradient(90deg, rgba(0,200,5,0.12), rgba(0,200,5,0.03));
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  position: relative;
  z-index: 30;
}
.chain-banner__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--nav-h);
  background: rgba(11, 14, 17, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s;
}
.nav.is-scrolled { border-bottom-color: var(--border-strong); }
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { display: inline-flex; filter: drop-shadow(0 2px 8px rgba(0,200,5,0.4)); }
.brand__word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.brand__accent { color: var(--green); }

.nav__links { display: flex; gap: 26px; margin-left: 8px; }
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.2s;
  position: relative;
}
.nav__links a:hover { color: var(--text); }

.nav__right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.nav__cta--ghost {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.nav__cta--ghost:hover { color: var(--text); background: var(--surface); }

.wallet-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: 11px;
  background: var(--green);
  color: #04120a;
  font-weight: 600;
  font-size: 13.5px;
  transition: transform 0.15s var(--ease), background 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px -4px rgba(0, 200, 5, 0.5);
}
.wallet-btn:hover { background: var(--green-bright); transform: translateY(-1px); }
.wallet-btn:active { transform: translateY(0); }
.wallet-btn__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #04120a; opacity: 0.85;
  transition: background 0.2s;
}
.wallet-btn.is-connected {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border-strong);
  box-shadow: none;
  font-family: var(--font-mono);
  font-size: 12.5px;
}
.wallet-btn.is-connected:hover { background: var(--surface); border-color: rgba(0,200,5,0.4); }
.wallet-btn.is-connected .wallet-btn__dot { background: var(--green); }

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

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: 88px 24px 40px;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 620px;
  background: radial-gradient(ellipse at center, rgba(0,200,5,0.16) 0%, rgba(0,200,5,0.05) 42%, transparent 70%);
  pointer-events: none;
  filter: blur(6px);
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, rgba(0,0,0,0.7), transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, rgba(0,0,0,0.7), transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
  z-index: 2;
}

.hero__eyebrow {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.pill--green { background: var(--green-dim); color: var(--green-bright); border: 1px solid rgba(0,200,5,0.28); }
.pill--muted { background: var(--surface); color: var(--text-dim); border: 1px solid var(--border); font-family: var(--font-mono); font-size: 11.5px; }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(44px, 8vw, 84px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}
.hero__grad {
  background: linear-gradient(100deg, var(--green-bright) 0%, #3ddc84 40%, #7ef29b 70%, var(--green-bright) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

.hero__sub {
  max-width: 640px;
  margin: 0 auto 34px;
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--text-dim);
}

.hero__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 46px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 50px;
  padding: 0 24px;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.15s var(--ease), box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.btn--primary {
  background: var(--green);
  color: #04120a;
  box-shadow: 0 8px 28px -8px rgba(0, 200, 5, 0.55);
}
.btn--primary:hover { background: var(--green-bright); transform: translateY(-2px); }
.btn--secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn--secondary:hover { border-color: rgba(0,200,5,0.5); background: var(--surface); transform: translateY(-2px); }
.btn--block { width: 100%; justify-content: center; }

.hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding: 16px 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(19, 24, 31, 0.6);
  backdrop-filter: blur(8px);
}
.hero__meta-item { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.hero__meta-item .mono { font-size: 14.5px; color: var(--text); font-weight: 600; }
.hero__meta-label { font-size: 12px; color: var(--text-faint); }
.hero__meta-sep { width: 1px; height: 30px; background: var(--border-strong); }

/* Hero chart */
.hero__chart {
  position: relative;
  max-width: var(--maxw);
  margin: 56px auto 0;
  height: 220px;
}
.hero__chart canvas { width: 100%; height: 100%; display: block; }
.hero__chart-tag {
  position: absolute;
  top: 8px;
  left: 4px;
  font-size: 13px;
  color: var(--text-dim);
}

/* ==========================================================================
   Ticker tape
   ========================================================================== */
.ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elev);
  overflow: hidden;
  position: relative;
}
.ticker__track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-right: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12.5px;
  white-space: nowrap;
}
.ticker__item b { font-weight: 600; color: var(--text); }
.ticker__item .price { color: var(--text-dim); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Stats
   ========================================================================== */
.stats { padding: 64px 24px; }
.stats__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat {
  background: var(--bg-elev);
  padding: 30px 28px;
  transition: background 0.25s;
}
.stat:hover { background: var(--surface); }
.stat__value {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
  color: var(--text);
}
.stat__label { font-size: 13.5px; color: var(--text-dim); }

/* ==========================================================================
   Section headers
   ========================================================================== */
section { position: relative; }
.section-head {
  max-width: var(--maxw);
  margin: 0 auto 36px;
  padding: 0 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.section-sub { color: var(--text-dim); margin-top: 8px; font-size: 15.5px; }

/* ==========================================================================
   Collection
   ========================================================================== */
.collection { padding: 64px 0 90px; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.filter:hover { color: var(--text); border-color: var(--border-strong); }
.filter.is-active { background: var(--green-dim); color: var(--green-bright); border-color: rgba(0,200,5,0.4); }

.collection__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* Skill card */
.skill-card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  transition: transform 0.22s var(--ease), border-color 0.22s, box-shadow 0.22s;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.skill-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 200, 5, 0.35);
  box-shadow: 0 22px 44px -26px rgba(0, 200, 5, 0.35);
}
.skill-card__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 4px; }
.skill-card__id {
  width: 34px; height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--green-bright);
  background: var(--green-dim);
  border: 1px solid rgba(0,200,5,0.25);
}
.skill-card__cat {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.skill-card__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 2px;
}
.skill-card__tag { font-size: 12.5px; color: var(--text-dim); margin: 3px 0 10px; }

.skill-card__chart { height: 46px; margin: 2px 0 14px; }
.skill-card__chart canvas { width: 100%; height: 100%; display: block; }

.skill-card__price-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 4px; }
.skill-card__price { font-family: var(--font-mono); font-size: 17px; font-weight: 600; }
.skill-card__change { font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; }

.skill-card__meta {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  padding-top: 10px;
  border-top: 1px solid var(--border);
  margin: 12px 0 14px;
}
.skill-card__mint {
  width: 100%;
  height: 40px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 13.5px;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border-strong);
  transition: all 0.2s;
  margin-top: auto;
}
.skill-card__mint:hover { background: var(--green); color: #04120a; border-color: var(--green); }

/* ==========================================================================
   How it works / Features
   ========================================================================== */
.how { padding: 70px 0 90px; }
.how__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.how-card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.22s var(--ease), border-color 0.22s;
}
.how-card:hover { transform: translateY(-4px); border-color: rgba(0,200,5,0.3); }
.how-card__num {
  position: absolute;
  top: 22px; right: 24px;
  font-size: 14px;
  color: var(--text-faint);
}
.how-card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--green-dim);
  color: var(--green-bright);
  border: 1px solid rgba(0,200,5,0.25);
  margin-bottom: 18px;
}
.how-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; }
.how-card p { font-size: 14px; color: var(--text-dim); line-height: 1.6; }

.features { padding: 20px 0 90px; }
.features__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature { background: var(--bg-elev); padding: 28px 26px; }
.feature h3 { font-size: 19px; font-weight: 600; color: var(--green-bright); margin-bottom: 8px; }
.feature p { font-size: 13.5px; color: var(--text-dim); }

/* ==========================================================================
   Roadmap
   ========================================================================== */
.roadmap { padding: 20px 0 90px; }
.roadmap__list {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
  list-style: none;
  position: relative;
}
.roadmap__list::before {
  content: "";
  position: absolute;
  left: 27px; top: 8px; bottom: 8px;
  width: 1px;
  background: var(--border-strong);
}
.roadmap-item {
  position: relative;
  display: flex;
  gap: 18px;
  padding: 0 0 34px 0;
}
.roadmap-item:last-child { padding-bottom: 0; }
.roadmap-item__marker {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--border-strong);
  display: grid; place-items: center;
  font-size: 13px;
  color: var(--text-dim);
  position: relative;
  z-index: 1;
}
.roadmap-item.is-done .roadmap-item__marker {
  border-color: var(--green);
  color: var(--green-bright);
  background: var(--green-dim);
}
.roadmap-item__body { padding-top: 2px; }
.roadmap-item__phase { font-size: 11.5px; color: var(--green); letter-spacing: 0.04em; }
.roadmap-item h3 { font-size: 17px; font-weight: 600; margin: 4px 0 6px; }
.roadmap-item p { font-size: 14px; color: var(--text-dim); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding: 20px 0 90px; }
.faq__list { max-width: 760px; margin: 0 auto; padding: 0 24px; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-elev); overflow: hidden; }
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  transition: background 0.2s;
}
.faq-item__q:hover { background: var(--surface); }
.faq-item__icon {
  flex: none;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text-dim);
  font-size: 18px;
  transition: transform 0.3s var(--ease), color 0.3s;
}
.faq-item.is-open .faq-item__icon { transform: rotate(45deg); color: var(--green-bright); }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq-item__a p { padding: 0 22px 20px; font-size: 14px; color: var(--text-dim); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { border-top: 1px solid var(--border); background: var(--bg-elev); }
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 60px 24px 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
}
.footer__tag { font-size: 13px; color: var(--text-dim); margin-top: 16px; max-width: 280px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 { font-size: 13px; font-weight: 600; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.footer__col a { font-size: 14px; color: var(--text-dim); transition: color 0.2s; }
.footer__col a:hover { color: var(--green-bright); }
.footer__mono { font-size: 11.5px; color: var(--text-faint); word-break: break-all; }

.footer__legal {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 24px 30px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-faint);
}

/* ==========================================================================
   Modal / Toast
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(4, 6, 8, 0.7);
  backdrop-filter: blur(6px);
}
.modal__card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.3s var(--ease);
  box-shadow: var(--shadow);
}
.modal.is-open .modal__card { transform: translateY(0) scale(1); }
.modal__close {
  position: absolute;
  top: 14px; right: 16px;
  width: 30px; height: 30px;
  border-radius: 8px;
  font-size: 22px;
  color: var(--text-dim);
  transition: all 0.2s;
}
.modal__close:hover { background: var(--surface-2); color: var(--text); }
.modal__head { margin-bottom: 20px; }
.modal__kicker { font-size: 12px; color: var(--green); letter-spacing: 0.06em; }
.modal__head h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-top: 2px; }
.modal__skill { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 20px; }
.modal__skill .skill-card__id { flex: none; }
.modal__skill-name { font-weight: 600; font-size: 14.5px; }
.modal__skill-tag { font-size: 12px; color: var(--text-dim); }

.modal__field { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.modal__field-label { font-size: 14px; color: var(--text-dim); font-weight: 500; }
.stepper { display: flex; align-items: center; gap: 4px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 3px; }
.stepper button {
  width: 30px; height: 30px;
  border-radius: 7px;
  font-size: 18px;
  color: var(--text-dim);
  transition: all 0.15s;
}
.stepper button:hover { background: var(--green); color: #04120a; }
.stepper span { min-width: 36px; text-align: center; font-size: 15px; font-weight: 600; }

.modal__total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px; background: var(--bg-elev); border-radius: var(--radius); margin-bottom: 18px; font-size: 14px; color: var(--text-dim); }
.modal__total .mono { font-size: 18px; color: var(--text); font-weight: 600; }
.modal__note { margin-top: 14px; text-align: center; font-size: 11.5px; color: var(--text-faint); }

.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 60;
  padding: 13px 20px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease);
  max-width: calc(100vw - 40px);
  text-align: center;
}
.toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.is-error { border-color: rgba(248,73,96,0.5); }
.toast.is-success { border-color: rgba(0,200,5,0.5); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .collection__grid { grid-template-columns: repeat(3, 1fr); }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__right .nav__cta--ghost { display: none; }
  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--border-strong);
    padding: 10px 24px 18px;
    gap: 0;
    margin: 0;
    box-shadow: var(--shadow);
  }
  .nav.is-open .nav__links a {
    padding: 13px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--border);
  }
  .collection__grid { grid-template-columns: repeat(2, 1fr); }
  .how__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .hero__meta { gap: 18px; padding: 14px 20px; }
}

@media (max-width: 560px) {
  .collection__grid { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr; }
  .stats__inner { grid-template-columns: 1fr 1fr; }
  .stat__value { font-size: 30px; }
  .hero { padding-top: 60px; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .wallet-btn__label { max-width: 90px; overflow: hidden; text-overflow: ellipsis; }
}

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