/* Shenlong — natural cel / soft-orange cartoon world */
:root {
  --bg: #0c0e1a;
  --bg-elev: #121528;
  --card: #161a2e;
  --card-hover: #1c2138;
  --border: rgba(224, 137, 32, 0.16);
  --border-strong: rgba(240, 184, 74, 0.35);
  --text: #fff6e8;
  --muted: #b8c0d4;
  --muted-2: #7a849c;
  --orange: #e08920;
  --orange-hot: #f0b84a;
  --gold: #f5c842;
  --gold-soft: #d4a04a;
  --red-star: #b71c1c;
  --cyan: #7a8fb8;
  --emerald: #8fb87a;
  --violet: #6b7fc4;
  --violet-deep: #3d4568;
  --magenta: #d4786a;
  --orange-soft: rgba(224, 137, 32, 0.18);
  --gold-soft-bg: rgba(245, 200, 66, 0.12);
  --cyan-soft: rgba(122, 143, 184, 0.14);
  --violet-soft: rgba(107, 127, 196, 0.16);
  --radius: 12px;
  --radius-sm: 8px;
  --font: "Nunito", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-display: "ZCOOL KuaiLe", "Fredoka", "Nunito", "PingFang SC", "Hiragino Maru Gothic ProN", "Yuanti SC", "Microsoft YaHei UI", "Hiragino Sans GB", sans-serif;
  --max: 1120px;
  --topbar-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(ellipse 85% 50% at 78% -8%, rgba(224, 137, 32, 0.18), transparent 55%),
    radial-gradient(ellipse 65% 42% at 8% 18%, rgba(61, 69, 104, 0.35), transparent 52%),
    radial-gradient(ellipse 45% 35% at 50% 100%, rgba(122, 143, 184, 0.10), transparent 55%),
    linear-gradient(180deg, #0c0e1a 0%, #121528 48%, #161022 100%);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85em;
  color: #f5d48a;
}
strong { font-weight: 600; }

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 24px;
  background: rgba(4, 6, 26, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(245, 200, 66, 0.18);
  box-shadow: 0 0 40px rgba(224, 137, 32, 0.08);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand img {
  border-radius: 10px;
  box-shadow: 0 0 16px rgba(224, 137, 32, 0.45);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong {
  font-size: 15px;
  font-weight: 700;
  background: linear-gradient(90deg, #fff, #f5c842, #f0b84a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand__text em { font-style: normal; font-size: 11px; color: var(--cyan); letter-spacing: 0.04em; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
}
.nav a {
  padding: 8px 12px;
  font-size: 14px;
  color: var(--muted);
  border-radius: 6px;
  transition: color .15s, background .15s;
}
.nav a:hover {
  color: var(--gold);
  background: rgba(245, 200, 66, 0.08);
}

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

.lang-switch {
  display: flex;
  gap: 2px;
  padding: 3px;
  background: var(--card);
  border: 1px solid rgba(122, 143, 184, 0.25);
  border-radius: 8px;
}
.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 500 12px/1 var(--font);
  padding: 6px 8px;
  border-radius: 6px;
  cursor: pointer;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.is-active {
  background: linear-gradient(135deg, rgba(224,137,32,.3), rgba(245,200,66,.2));
  color: var(--gold);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--card);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: 400 14px/1 var(--font-display);
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 10px 18px;
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn--sm { padding: 8px 14px; font-size: 13px; }
.btn--lg { padding: 14px 24px; font-size: 15px; }
.btn--primary {
  background: linear-gradient(135deg, #c45e10 0%, #f0b84a 45%, #f5c842 100%);
  color: #1a0800;
  box-shadow:
    0 0 28px rgba(224, 137, 32, 0.45),
    0 0 8px rgba(245, 200, 66, 0.35);
  text-shadow: 0 1px 0 rgba(255,255,255,.25);
}
.btn--primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #e08920, #f0b84a, #f5c842);
  box-shadow:
    0 0 40px rgba(224, 137, 32, 0.6),
    0 0 12px rgba(245, 200, 66, 0.5);
  transform: translateY(-1px);
}
.btn--ghost {
  background: rgba(122, 143, 184, 0.06);
  border-color: rgba(122, 143, 184, 0.35);
  color: var(--cyan);
}
.btn--ghost:hover {
  background: rgba(122, 143, 184, 0.12);
  border-color: var(--cyan);
  color: #fff;
}

/* Hero */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 24px 32px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #1a0800;
  background: linear-gradient(90deg, #f5c842, #f0b84a);
  border: 1px solid rgba(245, 200, 66, 0.6);
  border-radius: 999px;
  box-shadow: 0 0 20px rgba(245, 200, 66, 0.35);
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  background: linear-gradient(120deg, #fff 10%, #f5c842 35%, #e08920 65%, #d4786a 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(224, 137, 32, 0.22));
}
.hero__lede {
  margin: 0 0 28px;
  font-size: 16px;
  color: var(--muted);
  max-width: 540px;
}
.hero__lede strong { color: var(--gold); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }

.progress-card {
  background: linear-gradient(160deg, rgba(224,137,32,.12), rgba(61,69,104,.18) 50%, rgba(16,24,56,.95));
  border: 1px solid rgba(240, 184, 74, 0.35);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: inset 0 0 40px rgba(245, 200, 66, 0.05);
}
.progress-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}
.progress-card__meta { display: flex; align-items: center; gap: 8px; color: var(--text); font-variant-numeric: tabular-nums; }
.pill {
  font-style: normal;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(212, 120, 106, 0.2);
  color: #e8a898;
  border: 1px solid rgba(212, 120, 106, 0.35);
}
.progress-bar {
  height: 8px;
  background: rgba(255,255,255,.08);
  border-radius: 999px;
  overflow: hidden;
}
.progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, #3d4568, #7a8fb8, #f5c842, #e08920);
  border-radius: inherit;
  transition: width .6s ease;
  box-shadow: 0 0 12px rgba(245, 200, 66, 0.5);
}
.progress-card__note {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted-2);
}

.hero__visual { position: relative; }
.star-fan {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(245, 200, 66, 0.28);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(224,137,32,.25), transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(122,143,184,.15), transparent 50%),
    linear-gradient(180deg, rgba(16,24,56,.95), rgba(8,8,28,.98));
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 60px rgba(224, 137, 32, 0.2),
    0 0 40px rgba(61, 69, 104, 0.2);
}
.star-fan::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(245,200,66,.3), transparent 70%);
  pointer-events: none;
}
.star-fan__card {
  position: relative;
  z-index: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(245, 200, 66, 0.35);
  background: #0e1020;
  aspect-ratio: 1;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  box-shadow: 0 0 16px rgba(224, 137, 32, 0.2);
}
.star-fan__card:hover {
  transform: translateY(-5px) scale(1.03);
  border-color: var(--gold);
  box-shadow: 0 0 28px rgba(245, 200, 66, 0.45);
}
.star-fan__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.star-fan__wide {
  grid-column: 1 / -1;
  margin-top: 4px;
}
.star-fan__wide img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(122, 143, 184, 0.3);
}

/* Metrics */
.metrics {
  max-width: var(--max);
  margin: 0 auto 24px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.metric {
  background: linear-gradient(160deg, rgba(224,137,32,.1), var(--card));
  border: 1px solid rgba(240, 184, 74, 0.28);
  border-radius: var(--radius);
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
}
.metric:nth-child(2) {
  background: linear-gradient(160deg, rgba(61,69,104,.18), var(--card));
  border-color: rgba(107, 127, 196, 0.35);
}
.metric:nth-child(3) {
  background: linear-gradient(160deg, rgba(122,143,184,.12), var(--card));
  border-color: rgba(122, 143, 184, 0.3);
}
.metric:nth-child(4) {
  background: linear-gradient(160deg, rgba(143,184,122,.1), var(--card));
  border-color: rgba(143, 184, 122, 0.3);
}
.metric__label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.metric__value {
  display: block;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--gold);
}
.metric:nth-child(2) .metric__value { color: #a8b4e0; }
.metric:nth-child(3) .metric__value { color: var(--cyan); }
.metric:nth-child(4) .metric__value { color: var(--emerald); }
.metric__value small { font-size: 12px; font-weight: 500; color: var(--muted); }
.metric__hint {
  display: inline-block;
  margin-top: 6px;
  font-style: normal;
  font-size: 11px;
  color: var(--muted-2);
}

/* Sections */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 24px;
}
.section--alt {
  max-width: none;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(224,137,32,.1), transparent 40%),
    radial-gradient(ellipse at 80% 100%, rgba(61,69,104,.15), transparent 45%),
    var(--bg-elev);
  border-top: 1px solid rgba(245, 200, 66, 0.12);
  border-bottom: 1px solid rgba(122, 143, 184, 0.12);
  padding-left: 0;
  padding-right: 0;
}
.section--alt > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
.section__head { margin-bottom: 36px; }
.eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 0 8px rgba(245, 200, 66, 0.25);
}
.section__head h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 800;
  letter-spacing: -0.025em;
  background: linear-gradient(90deg, #fff, #f5c842 50%, #f0b84a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section__sub {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.steps--6 { grid-template-columns: repeat(3, 1fr); }
.step {
  background: var(--card);
  border: 1px solid rgba(240, 184, 74, 0.22);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.step:nth-child(2n) { border-color: rgba(122, 143, 184, 0.25); }
.step:nth-child(3n) { border-color: rgba(143, 184, 122, 0.25); }
.step:nth-child(4n) { border-color: rgba(107, 127, 196, 0.3); }
.step:hover {
  border-color: var(--gold);
  background: var(--card-hover);
  box-shadow: 0 0 28px rgba(224, 137, 32, 0.15);
}
.step__num {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 14px;
  letter-spacing: 0.06em;
}
.step:nth-child(2) .step__num { color: var(--cyan); }
.step:nth-child(3) .step__num { color: var(--emerald); }
.step:nth-child(4) .step__num { color: var(--violet); }
.step:nth-child(5) .step__num { color: var(--magenta); }
.step:nth-child(6) .step__num { color: var(--orange-hot); }
.step h3 { margin: 0 0 10px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
.step p strong { color: var(--gold); }

/* Split */
.split {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.split__item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.split__item:first-child {
  border-color: rgba(240, 184, 74, 0.4);
  background: linear-gradient(180deg, rgba(224,137,32,.18), var(--card) 60%);
}
.split__item--accent {
  border-color: rgba(245, 200, 66, 0.5);
  background: linear-gradient(180deg, rgba(245,200,66,.16), var(--card) 60%);
  box-shadow: 0 0 32px rgba(245, 200, 66, 0.12);
}
.split__item--pool {
  border-color: rgba(107, 127, 196, 0.5);
  background: linear-gradient(180deg, rgba(61,69,104,.22), var(--card) 60%);
  box-shadow: 0 0 32px rgba(61, 69, 104, 0.15);
}
.split__pct {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--orange-hot);
  margin-bottom: 8px;
}
.split__item--accent .split__pct { color: var(--gold); }
.split__item--pool .split__pct { color: #a8b4e0; }
.split__item h3 { margin: 0 0 8px; font-size: 16px; }
.split__item p { margin: 0; font-size: 14px; color: var(--muted); }
.split__item p strong { color: var(--text); }

/* Star supply table */
.star-table-wrap {
  background: var(--card);
  border: 1px solid rgba(245, 200, 66, 0.22);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 0 40px rgba(224, 137, 32, 0.08);
}
.star-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.star-table th,
.star-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.star-table th {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, rgba(224,137,32,.12), rgba(61,69,104,.12));
}
.star-table tr:last-child td { border-bottom: 0; }
.star-table tr:hover td { background: rgba(245, 200, 66, 0.04); }
.star-table td strong { color: var(--gold); }
.star-table .rare { color: var(--magenta); font-weight: 700; }
.star-table .ultra { color: #a8b4e0; }

.callout {
  border: 1px solid rgba(245, 200, 66, 0.4);
  background: linear-gradient(135deg, rgba(224,137,32,.18), rgba(245,200,66,.1));
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: 0 0 28px rgba(245, 200, 66, 0.1);
}
.callout h3 { margin: 0 0 8px; font-size: 16px; color: var(--gold); }
.callout p { margin: 0; color: var(--muted); font-size: 14px; }
.callout p strong { color: var(--text); }

.callout--violet {
  border-color: rgba(107, 127, 196, 0.45);
  background: var(--violet-soft);
}

/* Summon */
.summon-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: stretch;
}
.summon-set {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 28px;
  background:
    radial-gradient(ellipse at center, rgba(245,200,66,.15), transparent 60%),
    var(--card);
  border: 1px solid rgba(245, 200, 66, 0.3);
  border-radius: var(--radius);
  box-shadow: inset 0 0 50px rgba(224, 137, 32, 0.1);
}
.summon-set img {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  border: 1px solid rgba(245, 200, 66, 0.4);
  background: #0e1020;
  box-shadow: 0 0 16px rgba(224, 137, 32, 0.25);
  transition: transform .2s, box-shadow .2s;
}
.summon-set img:hover {
  transform: scale(1.08);
  box-shadow: 0 0 24px rgba(245, 200, 66, 0.5);
}
.summon-copy {
  background: linear-gradient(180deg, rgba(61,69,104,.25), var(--card));
  border: 1px solid rgba(107, 127, 196, 0.45);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 0 40px rgba(61, 69, 104, 0.2);
}
.summon-copy h3 { margin: 0 0 12px; font-size: 20px; color: #a8b4e0; }
.summon-copy p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.summon-copy p:last-child { margin-bottom: 0; }
.summon-copy strong { color: var(--gold); }
.summon-warn {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(224, 8, 24, 0.2);
  border: 1px solid rgba(212, 120, 106, 0.5);
  color: #e8a898;
  font-size: 13px;
  font-weight: 600;
}


/* Live prize pool + winners */
.section__head--compact { margin-bottom: 16px; }
.section__head--compact h3 { margin: 0 0 6px; font-size: 22px; color: var(--gold); }
.prize-live, .winners {
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid rgba(107, 127, 196, 0.4);
  box-shadow: 0 0 36px rgba(61, 69, 104, 0.18);
}
.prize-live__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.prize-live__item {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(12, 14, 26, 0.55);
  border: 1px solid rgba(168, 180, 224, 0.22);
}
.prize-live__label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.prize-live__value {
  font-size: 20px;
  color: #f0e6c8;
  font-family: var(--font-display);
}
.prize-live__value em {
  font-style: normal;
  font-size: 12px;
  color: var(--gold);
  margin-left: 4px;
}
.prize-live__meta, .prize-live__loading, .prize-live__err, .winners__empty {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.prize-live__err { color: #e8a898; }
.winners__table-wrap { overflow-x: auto; }
.winners__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.winners__table th,
.winners__table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(168, 180, 224, 0.15);
}
.winners__table th {
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.winners__table a { color: var(--gold); text-decoration: none; }
.winners__table a:hover { text-decoration: underline; }
.winners__idx { color: #a8b4e0; font-weight: 700; }
.winners__tx { white-space: nowrap; }
.winners__table time .tz {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}
.mint-panel__addr {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  justify-content: flex-end;
  text-align: right;
}
.mint-panel__addr code {
  word-break: break-all;
  font-size: 12px;
}
.status-pill, .pill--live, .pill.is-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(80, 180, 110, 0.18);
  border: 1px solid rgba(120, 210, 140, 0.45);
  color: #9fe3b0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.status-pill.is-live::before,
.pill--live::before,
.pill.is-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5dca7a;
  box-shadow: 0 0 8px #5dca7a;
}
.link-scan {
  font-size: 13px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}
.link-scan:hover { text-decoration: underline; }
.link-scan--muted { color: #a8b4e0; font-weight: 500; }
@media (max-width: 900px) {
  .prize-live__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .prize-live__grid { grid-template-columns: 1fr; }
  .mint-panel__addr { justify-content: flex-start; text-align: left; }
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery__card {
  background: var(--card);
  border: 1px solid rgba(240, 184, 74, 0.3);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .15s, transform .15s, box-shadow .15s;
  box-shadow: 0 0 20px rgba(224, 137, 32, 0.12);
}
.gallery__card:nth-child(2) { border-color: rgba(143, 184, 122, 0.35); }
.gallery__card:nth-child(3) { border-color: rgba(122, 143, 184, 0.35); }
.gallery__card:nth-child(4) { border-color: rgba(107, 127, 196, 0.4); box-shadow: 0 0 24px rgba(107, 127, 196, 0.2); }
.gallery__card:nth-child(5) { border-color: rgba(212, 120, 106, 0.35); }
.gallery__card:nth-child(6) { border-color: rgba(0, 255, 168, 0.35); }
.gallery__card:nth-child(7) { border-color: rgba(245, 200, 66, 0.45); }
.gallery__card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(245, 200, 66, 0.25);
}
.gallery__card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #0e1020;
}
.gallery__meta {
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  background: linear-gradient(90deg, rgba(224,137,32,.1), transparent);
}
.gallery__meta strong { color: var(--gold); text-shadow: 0 0 8px rgba(245,200,66,.4); }
.gallery__meta span { color: var(--cyan); font-size: 12px; }

/* Mint panel */
.mint-panel {
  background: linear-gradient(180deg, rgba(224,137,32,.08), var(--card));
  border: 1px solid rgba(245, 200, 66, 0.28);
  border-radius: var(--radius);
  padding: 8px 0;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(224, 137, 32, 0.12);
}
.mint-panel__art {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 24px 8px;
  border-bottom: 1px solid rgba(245, 200, 66, 0.12);
  background: radial-gradient(ellipse at center, rgba(245,200,66,.12), transparent 65%);
}
.mint-panel__art-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.mint-panel__art-row img {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  border: 1px solid rgba(245, 200, 66, 0.4);
  background: #0e1020;
  box-shadow: 0 0 14px rgba(224, 137, 32, 0.3);
}
.mint-panel__art-cap {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--muted);
}
.mint-panel__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 14px;
}
.mint-panel__row > span { color: var(--muted); flex-shrink: 0; }
.mint-panel__row code { text-align: right; }
.mint-panel__controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mint-field label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.mint-field input,
.mint-field select {
  width: 100%;
  appearance: none;
  background: #0e1020;
  border: 1px solid rgba(122, 143, 184, 0.3);
  border-radius: 8px;
  color: var(--text);
  font: 500 14px/1.2 var(--font);
  padding: 12px 14px;
}
.mint-field input:disabled { opacity: .6; }
.qty-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.qty-row button {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(245, 200, 66, 0.35);
  background: #0e1020;
  color: var(--gold);
  font-size: 18px;
  cursor: pointer;
}
.qty-row button:hover:not(:disabled) {
  border-color: var(--gold);
  background: rgba(245, 200, 66, 0.1);
}
.qty-row button:disabled { opacity: .4; cursor: not-allowed; }
.qty-row input {
  flex: 1;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.mint-panel__cta {
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.mint-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.mint-panel__hint {
  margin: 0;
  font-size: 13px;
  color: var(--muted-2);
}
.price-preview {
  font-size: 15px;
  color: var(--muted);
}
.price-preview strong { color: var(--gold); font-size: 18px; text-shadow: 0 0 10px rgba(245,200,66,.4); }

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq details {
  background: var(--card);
  border: 1px solid rgba(240, 184, 74, 0.2);
  border-radius: var(--radius-sm);
  padding: 0 18px;
}
.faq details:nth-child(2n) { border-color: rgba(122, 143, 184, 0.22); }
.faq details:nth-child(3n) { border-color: rgba(107, 127, 196, 0.25); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-weight: 400;
  color: var(--gold);
  font-size: 18px;
}
.faq details[open] summary::after { content: "–"; }
.faq details[open] { border-color: rgba(245, 200, 66, 0.4); }
.faq details p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  padding-bottom: 4px;
}
.faq details p strong { color: var(--gold); }

/* Finale */
.finale {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
  position: relative;
}
.finale::before {
  content: "";
  position: absolute;
  inset: 10% 20%;
  background: radial-gradient(ellipse at center, rgba(224,137,32,.2), rgba(61,69,104,.15), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.finale h2,
.finale p,
.finale .btn { position: relative; z-index: 1; }
.finale h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.5vw, 36px);
  letter-spacing: -0.025em;
  background: linear-gradient(90deg, #f5c842, #e08920, #d4786a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.finale p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 15px;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(245, 200, 66, 0.15);
  padding: 32px 24px 48px;
  text-align: center;
  color: var(--muted-2);
  font-size: 13px;
  background: linear-gradient(180deg, transparent, rgba(61,69,104,.12));
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 10px;
}
.footer__brand img {
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(224, 137, 32, 0.4);
}
.footer__meta { margin: 0 0 8px; color: var(--cyan); }
.footer__copy { margin: 0; }

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: linear-gradient(135deg, #1a1e32, #161a2e);
  border: 1px solid rgba(245, 200, 66, 0.5);
  color: var(--gold);
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  z-index: 100;
  box-shadow: 0 8px 32px rgba(224, 137, 32, 0.35);
}
.toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Progress viz */
.progress-viz {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
}
.progress-ring {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
}
.progress-ring svg { display: block; transform: rotate(-90deg); }
.progress-ring__track {
  fill: none;
  stroke: rgba(255,255,255,.1);
  stroke-width: 10;
}
.progress-ring__fill {
  fill: none;
  stroke: url(#ringGrad);
  stroke: #e08920;
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke-dashoffset .7s ease;
  filter: drop-shadow(0 0 6px rgba(245, 200, 66, 0.6));
}
.progress-ring__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}
.progress-ring__center strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--gold);
}
.progress-ring__center span {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}
.progress-viz__side { min-width: 0; }
.progress-bar--xl {
  position: relative;
  height: 14px;
  margin-bottom: 8px;
}
.progress-milestones {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.progress-milestones span {
  position: absolute;
  top: -3px;
  bottom: -3px;
  width: 2px;
  margin-left: -1px;
  background: rgba(245, 200, 66, .5);
  border-radius: 1px;
}
.progress-marks {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted-2);
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

/* Reveal */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}
.fade-up.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* Mobile */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 36px; }
  .hero__visual { order: -1; max-width: 420px; margin: 0 auto; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .steps, .steps--6, .split, .gallery, .summon-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .topbar.is-open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--topbar-h);
    left: 0;
    right: 0;
    background: #121528;
    border-bottom: 1px solid rgba(245, 200, 66, 0.2);
    padding: 12px;
    margin: 0;
  }
  .menu-toggle { display: flex; }
  .lang-switch { display: none; }
  .topbar.is-open .lang-switch {
    display: flex;
    position: absolute;
    top: calc(var(--topbar-h) + 220px);
    left: 12px;
  }
  .mint-panel__row { flex-direction: column; gap: 6px; }
  .mint-panel__row code { text-align: left; }
  .mint-panel__controls { grid-template-columns: 1fr; }
  .progress-viz { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .progress-viz__side { width: 100%; }
  .star-fan { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 480px) {
  .topbar { padding: 0 14px; gap: 10px; }
  .hero, .section, .metrics, .finale { padding-left: 16px; padding-right: 16px; }
  .section--alt > * { padding-left: 16px; padding-right: 16px; }
  .btn--lg { width: 100%; }
  .hero__actions { flex-direction: column; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .star-fan { grid-template-columns: repeat(2, 1fr); }
  .progress-ring { width: 120px; height: 120px; }
  .progress-ring svg { width: 120px; height: 120px; }
}


/* Cartoon display titles */
.brand__text strong,
.brand__text em,
.hero h1,
.section__head h2,
.finale h2,
.metric__value,
.split__pct,
.step h3,
.gallery__card figcaption,
.footer__brand,
.progress-ring__center strong {
  font-family: var(--font-display);
}
.brand__text strong {
  font-weight: 400;
  letter-spacing: 0.02em;
}
.hero h1 {
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.25;
}
.section__head h2,
.finale h2 {
  font-weight: 400;
  letter-spacing: 0.02em;
}
.nav a {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.04em;
}
.eyebrow {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.14em;
}
.btn {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}
.faq summary,
.callout h3,
.summon-copy h3,
.mint-panel__head h2 {
  font-family: var(--font-display);
  font-weight: 400;
}
