/* ============================================================
   Niú Lái 牛来 · $NIULAI — golden ink design system
   Gold paper · Chinese ink · red seals. No frameworks.
   ============================================================ */

@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/vendor/fonts/anton-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/vendor/fonts/manrope-latin.woff2') format('woff2');
}

:root {
  --paper: #FBF3DA;
  --paper-2: #F3E3AE;
  --card: #FFFBEE;
  --gold: #F0B90B;
  --gold-2: #DFA608;
  --gold-soft: #F8DC7A;
  --gold-deep: #8F6E06;
  --bronze: #8A6A2F;
  --line: #E4D194;
  --ink: #221806;
  --ink-2: #35270B;
  --ink-card: #2C2008;
  --ink-soft: #6B5722;
  --seal: #C0392B;
  --seal-deep: #93271C;
  --candle: #F0B90B;
  --font-display: 'Anton', 'Arial Narrow', 'Impact', sans-serif;
  --font-body: 'Manrope', -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-brush: 'Kaiti SC', 'STKaiti', 'KaiTi', 'BiauKai', 'PingFang SC', serif;
  --radius: 18px;
  --wrap: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16.5px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

::selection { background: var(--gold); color: var(--ink); }

:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

/* ---------- ambient background ---------- */
.bg-wash {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60% 45% at 78% 6%, rgba(240, 185, 11, 0.20), transparent 65%),
    radial-gradient(45% 38% at 8% 30%, rgba(240, 185, 11, 0.12), transparent 60%),
    linear-gradient(180deg, #FCF5DF 0%, var(--paper) 55%, #F6E9C0 100%);
}
.bg-clouds {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='240' viewBox='0 0 340 240'%3E%3Cg fill='none' stroke='%23D9C27B' stroke-opacity='0.33' stroke-width='1.4'%3E%3Cpath d='M20 60c0-14 12-24 26-24s24 10 24 24M36 60c0-8 6-14 14-14s12 6 12 14'/%3E%3Cpath d='M220 170c0-14 12-24 26-24s24 10 24 24M236 170c0-8 6-14 14-14s12 6 12 14'/%3E%3C/g%3E%3C/svg%3E");
}

/* ============================================================
   Masthead
   ============================================================ */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 243, 218, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.masthead.stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(85, 60, 5, 0.08); }
.masthead-in { display: flex; align-items: center; gap: 26px; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { border-radius: 50%; box-shadow: 0 0 0 2px var(--gold), 0 2px 8px rgba(85, 60, 5, 0.25); }
.brand-word { display: flex; flex-direction: column; line-height: 1.05; }
.brand-latin { font-family: var(--font-display); font-size: 1.08rem; letter-spacing: 0.04em; }
.brand-cjk { font-family: var(--font-brush); font-size: 0.82rem; color: var(--seal); letter-spacing: 0.4em; }

.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a {
  text-decoration: none; font-weight: 700; font-size: 0.92rem; color: var(--ink-2);
  padding: 6px 2px; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--gold); }

.mast-actions { display: flex; align-items: center; gap: 12px; }
.nav + .mast-actions { margin-left: 0; }
.masthead-in .mast-actions { margin-left: auto; }
.nav ~ .mast-actions { margin-left: 0; }

.lang-btn {
  font-family: var(--font-brush); font-size: 0.95rem; font-weight: 700;
  background: none; border: 1.5px solid var(--bronze); color: var(--ink-2);
  border-radius: 999px; padding: 5px 14px; cursor: pointer; transition: all 0.2s;
}
.lang-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 10px 6px; }
.burger span { display: block; width: 22px; height: 2.5px; background: var(--ink); margin: 4.5px 0; border-radius: 2px; }

.mobile-nav {
  display: none; position: fixed; z-index: 49; top: 68px; left: 0; right: 0;
  background: var(--paper); border-bottom: 2px solid var(--gold);
  padding: 10px 22px 20px; flex-direction: column; gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { text-decoration: none; font-weight: 700; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.mobile-nav .lang-btn { align-self: flex-start; margin-top: 12px; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 800; font-size: 0.95rem;
  text-decoration: none; border: 0; cursor: pointer;
  padding: 12px 22px; border-radius: 12px;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn-gold {
  background: linear-gradient(180deg, #FFD84D 0%, var(--gold) 45%, var(--gold-2) 100%);
  color: var(--ink);
  box-shadow: 0 4px 16px rgba(240, 185, 11, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-gold:hover { box-shadow: 0 6px 24px rgba(240, 185, 11, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.5); transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: var(--gold); }
.btn-ink:hover { background: var(--ink-2); }
.btn-ghost { background: transparent; border: 1.5px solid var(--bronze); color: var(--ink-2); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-goldline { background: var(--gold); color: var(--ink); }
.btn-goldline:hover { background: var(--gold-soft); }
.btn-ghostlight { background: transparent; border: 1.5px solid rgba(255, 244, 214, 0.55); color: #FFF4D6; }
.btn-ghostlight:hover { border-color: #FFF4D6; }
.btn-big { padding: 15px 30px; font-size: 1.02rem; }
.btn-mast { padding: 9px 18px; font-size: 0.88rem; }

.mini-btn {
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 700;
  background: none; border: 1.5px solid var(--bronze); color: var(--ink-2);
  padding: 5px 12px; border-radius: 8px; cursor: pointer; transition: all 0.2s;
}
.mini-btn:hover { border-color: var(--ink); color: var(--ink); }
.mini-strong { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.mini-strong:hover { background: var(--ink-2); color: var(--gold); }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; padding: 64px 0 0; overflow: hidden; }
.hero-cjk {
  position: absolute; top: -30px; right: -40px; z-index: 0;
  font-family: var(--font-brush); font-size: clamp(200px, 34vw, 480px); line-height: 0.95;
  color: rgba(154, 116, 12, 0.07); writing-mode: vertical-rl; user-select: none; pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
  padding-bottom: 110px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 800; font-size: 0.83rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-deep);
}
.live-dot {
  width: 9px; height: 9px; border-radius: 50%; background: #2BAE5A; flex: none;
  box-shadow: 0 0 0 0 rgba(43, 174, 90, 0.5); animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(43, 174, 90, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(43, 174, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(43, 174, 90, 0); }
}

.hero-h1 { margin: 18px 0 20px; line-height: 0.98; }
.h1-line {
  display: block; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(3rem, 7.2vw, 5.6rem); letter-spacing: 0.015em; color: var(--ink);
  text-transform: uppercase;
}
.h1-gold {
  background: linear-gradient(92deg, #B8860B 0%, var(--gold) 35%, #FFE380 55%, var(--gold) 75%, #B8860B 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 8px rgba(240, 185, 11, 0.35));
}
.h1-cjk {
  display: block; margin-top: 14px;
  font-family: var(--font-brush); font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  color: var(--seal); letter-spacing: 0.28em;
}
.lede { max-width: 56ch; font-size: 1.06rem; color: var(--ink-2); }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 28px; }

.trust { list-style: none; display: grid; gap: 10px; }
.trust li { display: flex; align-items: center; gap: 11px; font-weight: 600; font-size: 0.95rem; color: var(--ink-2); }
.ingot {
  flex: none; width: 20px; height: 13px; position: relative;
  background: linear-gradient(180deg, #FFD84D, var(--gold-2));
  border-radius: 45% 45% 55% 55% / 90% 90% 45% 45%;
  box-shadow: inset 0 -2px 3px rgba(139, 100, 6, 0.55), 0 1px 3px rgba(85, 60, 5, 0.3);
}
.ingot::after {
  content: ''; position: absolute; left: 50%; top: -4px; transform: translateX(-50%);
  width: 9px; height: 8px; border-radius: 50%;
  background: linear-gradient(180deg, #FFE380, var(--gold));
  box-shadow: inset 0 -1.5px 2px rgba(139, 100, 6, 0.5);
}

.hero-art { position: relative; justify-self: center; }
.coin-frame {
  width: min(370px, 74vw); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 6px solid transparent;
  background:
    linear-gradient(var(--paper), var(--paper)) padding-box,
    conic-gradient(from 210deg, #8F6E06, #FFE380, var(--gold), #8F6E06, #FFD84D, var(--gold-2), #8F6E06) border-box;
  box-shadow: 0 24px 60px rgba(114, 84, 8, 0.35), 0 4px 14px rgba(114, 84, 8, 0.25);
}
.coin-frame img { width: 100%; height: 100%; object-fit: cover; }
.seal-stamp {
  position: absolute; right: -6px; bottom: 30px; transform: rotate(6deg);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: var(--seal); color: #FFF4D6;
  font-family: var(--font-brush); font-size: 1.5rem; font-weight: 700; line-height: 1.15;
  padding: 10px 9px; border-radius: 8px;
  box-shadow: 0 6px 18px rgba(147, 39, 28, 0.45), inset 0 0 0 2px rgba(255, 244, 214, 0.35);
}
.art-caption { margin-top: 40px; text-align: center; font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); }

.mountains { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.mountains svg { width: 100%; height: clamp(52px, 8vw, 110px); }
.mountains path { fill: var(--ink); }

/* ============================================================
   Marquee
   ============================================================ */
.marquee {
  background: var(--ink); color: var(--gold);
  overflow: hidden; white-space: nowrap;
  border-top: 1px solid rgba(240, 185, 11, 0.25); border-bottom: 1px solid rgba(240, 185, 11, 0.25);
  padding: 12px 0;
}
.marquee-track { display: inline-flex; animation: marquee 36s linear infinite; }
.marquee-track span {
  font-family: var(--font-display); font-size: 1.02rem; letter-spacing: 0.1em; padding-right: 8px;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ============================================================
   Sections & titles
   ============================================================ */
.section { position: relative; padding: 88px 0; }
.section[data-cjk] { overflow: hidden; }
.section[data-cjk]::before {
  content: attr(data-cjk);
  position: absolute; top: 30px; right: -14px; z-index: 0;
  font-family: var(--font-brush); font-size: clamp(160px, 22vw, 320px); line-height: 1;
  color: rgba(154, 116, 12, 0.06); user-select: none; pointer-events: none;
}
.legend[data-cjk]::before, .roadmap[data-cjk]::before { color: rgba(240, 185, 11, 0.05); }
.section > .wrap { position: relative; z-index: 1; }

.section-title {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem); letter-spacing: 0.02em; line-height: 1.1;
  margin: 12px 0 14px;
}
.title-seal {
  flex: none; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 10px;
  background: var(--seal); color: #FFF4D6;
  font-family: var(--font-brush); font-size: 1.75rem; font-weight: 700;
  box-shadow: 0 5px 14px rgba(147, 39, 28, 0.4), inset 0 0 0 2px rgba(255, 244, 214, 0.35);
  transform: rotate(-3deg);
}
.section-sub { max-width: 62ch; color: var(--ink-2); margin-bottom: 40px; font-size: 1.03rem; }

/* ============================================================
   Presale ticket
   ============================================================ */
.presale-section { padding-top: 80px; }
.ticket {
  position: relative; max-width: 780px; margin: 0 auto;
  background: var(--card);
  border: 2px solid var(--gold-2); border-radius: 26px;
  padding: 36px clamp(20px, 4.5vw, 44px) 30px;
  box-shadow: 0 30px 80px rgba(114, 84, 8, 0.22), 0 6px 20px rgba(114, 84, 8, 0.14);
}
.ticket-corner {
  position: absolute; top: 20px; right: 22px;
  font-family: var(--font-brush); color: var(--seal); font-size: 1.05rem;
  writing-mode: vertical-rl; letter-spacing: 0.35em; opacity: 0.75;
}
.ticket-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; padding-right: 40px; }
.ticket-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 3.4vw, 2.2rem); text-transform: uppercase; letter-spacing: 0.02em; }
.ticket-sub { color: var(--ink-soft); font-weight: 600; font-size: 0.93rem; margin-top: 4px; }
.stamp {
  font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 0.14em;
  color: var(--seal); border: 2.5px solid var(--seal); border-radius: 8px;
  padding: 5px 13px; transform: rotate(5deg);
  animation: stampPulse 2.6s ease-in-out infinite;
}
.stamp.ended { color: var(--ink-soft); border-color: var(--ink-soft); animation: none; }
@keyframes stampPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }

.bonus-band {
  background: linear-gradient(92deg, var(--seal-deep), var(--seal) 45%, #D4553F);
  color: #FFF4D6; font-weight: 800; font-size: 0.95rem; text-align: center;
  border-radius: 12px; padding: 11px 16px; margin-bottom: 22px;
  box-shadow: 0 6px 18px rgba(147, 39, 28, 0.3);
}

.gauge-wrap { margin-bottom: 22px; }
.gauge {
  height: 22px; border-radius: 999px; overflow: hidden;
  background: var(--paper-2); border: 1.5px solid var(--line);
}
.gauge-fill {
  height: 100%; width: 0; border-radius: 999px;
  background:
    repeating-linear-gradient(-55deg, rgba(255, 255, 255, 0.22) 0 10px, transparent 10px 20px),
    linear-gradient(90deg, var(--gold-2), var(--gold) 60%, #FFD84D);
  background-size: 200% 100%, 100% 100%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: width 1s cubic-bezier(0.22, 0.9, 0.36, 1);
  animation: shimmer 3s linear infinite;
}
@keyframes shimmer { from { background-position: 0 0, 0 0; } to { background-position: -40px 0, 0 0; } }
@media (prefers-reduced-motion: reduce) { .gauge-fill { animation: none; } }
.gauge-txt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-top: 9px; font-size: 0.92rem; color: var(--ink-soft); font-weight: 600; }
.gauge-txt strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); letter-spacing: 0.02em; }

.cd-label { text-align: center; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 10px; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 24px; }
.cd-cell {
  background: var(--ink); border-radius: 14px; text-align: center; padding: 13px 6px 11px;
  border: 1px solid rgba(240, 185, 11, 0.3);
}
.cd-cell strong { display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 3.4vw, 2.1rem); color: var(--gold); line-height: 1; }
.cd-cell span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(248, 220, 122, 0.75); }

/* ---------- chain tabs ---------- */
.chain-tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.chain-tab {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 800; font-size: 0.98rem;
  background: var(--paper); color: var(--ink-2);
  border: 1.5px solid var(--line); border-radius: 12px;
  padding: 11px 8px; cursor: pointer; transition: all 0.2s;
}
.chain-tab svg { width: 18px; height: 18px; fill: currentColor; }
.chain-tab:hover { border-color: var(--gold-2); }
.chain-tab.active {
  background: linear-gradient(180deg, #FFD84D, var(--gold));
  border-color: var(--gold-2); color: var(--ink);
  box-shadow: 0 4px 14px rgba(240, 185, 11, 0.4);
}
.soon-pill {
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--seal); color: #FFF4D6; border-radius: 999px; padding: 2px 7px;
}

/* ---------- buybox ---------- */
.wallet-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 10px 14px; margin-bottom: 14px; font-size: 0.88rem;
}
.wallet-id { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.wallet-meta { color: var(--ink-soft); font-weight: 600; }
.wallet-btns { margin-left: auto; display: flex; gap: 8px; }

.net-warn {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  background: #FDECEA; border: 1.5px solid var(--seal); color: var(--seal-deep);
  border-radius: 12px; padding: 11px 14px; margin-bottom: 14px; font-weight: 700; font-size: 0.9rem;
}

.amount-label { display: block; font-weight: 800; font-size: 0.9rem; margin-bottom: 8px; }
.amount-row { position: relative; margin-bottom: 12px; }
.amount-row input {
  width: 100%; font-family: var(--font-body); font-size: 1.35rem; font-weight: 800;
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--line); border-radius: 14px;
  padding: 14px 84px 14px 18px; transition: border-color 0.2s;
  -moz-appearance: textfield; appearance: textfield;
}
.amount-row input::-webkit-outer-spin-button, .amount-row input::-webkit-inner-spin-button { -webkit-appearance: none; }
.amount-row input:focus { outline: none; border-color: var(--gold); }
.amount-unit {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-size: 1.05rem; color: var(--gold-deep); letter-spacing: 0.05em;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.chip {
  font-family: var(--font-body); font-weight: 800; font-size: 0.88rem;
  background: var(--paper); border: 1.5px solid var(--line); color: var(--ink-2);
  border-radius: 999px; padding: 7px 16px; cursor: pointer; transition: all 0.15s;
}
.chip:hover { border-color: var(--gold-2); color: var(--ink); }
.limits { font-size: 0.85rem; color: var(--ink-soft); font-weight: 600; margin-bottom: 8px; }
.quote { font-weight: 800; font-size: 1.02rem; margin-bottom: 16px; min-height: 1.6em; }
.bonus-pill {
  display: inline-block; margin-left: 10px; vertical-align: 1px;
  background: var(--seal); color: #FFF4D6;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 999px; padding: 3px 10px;
}

.picker { display: grid; gap: 8px; margin-bottom: 14px; }
.picker-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; color: var(--ink);
  padding: 11px 14px; cursor: pointer; transition: border-color 0.15s;
}
.picker-item:hover { border-color: var(--gold); }
.picker-item img { border-radius: 6px; }

.buy-btns { display: grid; }
.buy-btns .btn { width: 100%; }
.tx-line { margin-top: 12px; font-size: 0.9rem; font-weight: 700; }
.tx-line a { color: var(--gold-deep); }

.no-wallet { margin-top: 14px; background: var(--paper); border: 1.5px dashed var(--bronze); border-radius: 12px; padding: 14px; font-size: 0.9rem; }
.no-wallet .btn { margin-top: 10px; }

.divider {
  display: flex; align-items: center; gap: 14px; margin: 22px 0 14px;
  color: var(--ink-soft); font-size: 0.85rem; font-weight: 700;
}
.divider::before, .divider::after { content: ''; flex: 1; height: 1.5px; background: var(--line); }

.sendbox {
  display: flex; align-items: center; gap: 10px;
  background: var(--ink); border-radius: 12px; padding: 12px 14px;
}
.addr-code {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 0.83rem;
  color: var(--gold); word-break: break-all; line-height: 1.45;
}
.sendbox .addr-code { flex: 1; }
.manual-note { font-size: 0.83rem; color: var(--ink-soft); margin-top: 10px; }
.scan-link { margin-top: 8px; font-size: 0.88rem; font-weight: 700; }
.scan-link a { color: var(--gold-deep); }

.sol-soon {
  text-align: center; background: var(--paper); border: 1.5px dashed var(--bronze);
  border-radius: 16px; padding: 34px 24px;
}
.sol-seal {
  display: inline-grid; place-items: center; width: 62px; height: 62px; border-radius: 12px;
  background: var(--seal); color: #FFF4D6; font-family: var(--font-brush); font-size: 1.35rem;
  transform: rotate(-4deg); margin-bottom: 14px;
  box-shadow: 0 5px 14px rgba(147, 39, 28, 0.35), inset 0 0 0 2px rgba(255, 244, 214, 0.35);
}
.sol-soon h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.02em; font-size: 1.25rem; margin-bottom: 10px; }
.sol-soon p { max-width: 48ch; margin: 0 auto 16px; font-size: 0.93rem; color: var(--ink-2); }

.ticket-foot { margin-top: 20px; text-align: center; font-size: 0.85rem; color: var(--ink-soft); font-weight: 600; }

/* ============================================================
   Numbers strip
   ============================================================ */
.numbers { background: var(--ink); padding: 56px 0; }
.num-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.num { text-align: center; }
.num strong {
  display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 2.9vw, 2.3rem);
  color: var(--gold); line-height: 1.1; letter-spacing: 0.01em;
}
.num span { font-size: 0.85rem; font-weight: 700; color: rgba(248, 220, 122, 0.7); letter-spacing: 0.06em; text-transform: uppercase; }

/* ============================================================
   Legend (lore)
   ============================================================ */
.legend { background: linear-gradient(180deg, var(--ink) 0%, #191104 100%); color: #F4E8C8; }
.legend .eyebrow { color: var(--gold); }
.legend .section-title { color: #FFF4D6; }
.legend-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; margin-top: 30px; align-items: start; }
.lore-p { margin-bottom: 18px; color: rgba(244, 232, 200, 0.88); font-size: 1.02rem; }
.lore-quote {
  font-family: var(--font-brush); font-size: clamp(1.6rem, 3.4vw, 2.3rem); color: var(--gold);
  border-left: 4px solid var(--seal); padding-left: 20px; margin-top: 26px; line-height: 1.4;
}
.lore-quote span { font-family: var(--font-body); font-size: 1rem; color: rgba(244, 232, 200, 0.7); font-weight: 600; }

.boxoffice {
  background: var(--ink-card); border: 1.5px solid rgba(240, 185, 11, 0.35); border-radius: 20px;
  padding: 30px 28px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.bo-row { display: flex; flex-direction: column; gap: 2px; }
.bo-label { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(248, 220, 122, 0.65); }
.bo-val { font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.4rem); color: #F4E8C8; line-height: 1.15; }
.bo-big { color: var(--gold); font-size: clamp(2.1rem, 4.4vw, 3rem); }
.bo-arrow { margin: 18px 0; }
.bo-arrow svg { width: min(240px, 70%); height: auto; display: block; }
.bo-cdl { fill: var(--candle); opacity: 0.9; }
.bo-note { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(240, 185, 11, 0.2); font-size: 0.85rem; font-weight: 600; color: rgba(244, 232, 200, 0.65); }

/* ============================================================
   How to buy
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.step {
  position: relative; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px 26px; transition: transform 0.2s, box-shadow 0.2s;
}
.step:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(114, 84, 8, 0.16); }
.step-no {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 10px;
  font-family: var(--font-brush); font-size: 1.45rem; color: #FFF4D6; background: var(--seal);
  transform: rotate(-3deg); margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(147, 39, 28, 0.35), inset 0 0 0 2px rgba(255, 244, 214, 0.3);
}
.step h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.12rem; letter-spacing: 0.02em; margin-bottom: 9px; }
.step p { font-size: 0.93rem; color: var(--ink-2); }

/* ============================================================
   Tokenomics
   ============================================================ */
.tok-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 44px; align-items: center; }
.tok-chart { display: grid; grid-template-columns: minmax(200px, 260px) 1fr; gap: 30px; align-items: center; }
#donut { width: 100%; height: auto; }
.donut-ring { fill: none; stroke: var(--paper-2); stroke-width: 30; }
.donut-seg { fill: none; stroke-width: 30; transform-origin: 100px 100px; stroke-dasharray: 0 502.65; }
.seg-presale { stroke: var(--gold); }
.seg-airdrop { stroke: var(--seal); }
.seg-lp { stroke: var(--bronze); }
.seg-team { stroke: var(--ink-2); }
.donut-cjk { font-family: var(--font-brush); font-size: 44px; fill: var(--ink); }

.tok-legend { list-style: none; display: grid; gap: 16px; }
.tok-legend li { display: flex; gap: 13px; align-items: flex-start; }
.tok-legend strong { display: block; font-size: 1rem; }
.tok-legend small { color: var(--ink-soft); font-size: 0.86rem; font-weight: 600; }
.dot { flex: none; width: 15px; height: 15px; border-radius: 5px; margin-top: 4px; }
.dot-presale { background: var(--gold); }
.dot-airdrop { background: var(--seal); }
.dot-lp { background: var(--bronze); }
.dot-team { background: var(--ink-2); }

.tok-side {
  background: var(--ink); color: #F4E8C8; border-radius: 22px; padding: 34px 30px;
  border: 1px solid rgba(240, 185, 11, 0.3);
  box-shadow: 0 24px 60px rgba(114, 84, 8, 0.25);
}
.tok-supply { display: block; font-family: var(--font-display); font-size: clamp(1.9rem, 3.6vw, 2.6rem); color: var(--gold); line-height: 1.1; }
.tok-supply-label { display: block; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(248, 220, 122, 0.7); margin: 4px 0 20px; }
.ticks { list-style: none; display: grid; gap: 11px; margin-bottom: 18px; }
.ticks li { position: relative; padding-left: 26px; font-size: 0.93rem; font-weight: 600; color: rgba(244, 232, 200, 0.9); }
.ticks li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--gold); font-weight: 800;
}
.tok-side .scan-link a { color: var(--gold); }

/* ============================================================
   Airdrop — red envelope
   ============================================================ */
.air-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.air-card {
  position: relative; text-align: center;
  background: linear-gradient(165deg, #D4553F 0%, var(--seal) 40%, var(--seal-deep) 100%);
  border-radius: 24px; padding: 44px 30px 38px;
  border: 2px solid var(--gold); overflow: hidden;
  box-shadow: 0 26px 60px rgba(147, 39, 28, 0.35);
}
.air-card::before {
  content: '福'; position: absolute; top: -28px; right: -18px;
  font-family: var(--font-brush); font-size: 170px; color: rgba(255, 244, 214, 0.08);
  pointer-events: none;
}
.air-pool { display: block; font-family: var(--font-display); font-size: clamp(2rem, 4.4vw, 3rem); color: #FFE380; line-height: 1.05; text-shadow: 0 3px 12px rgba(0, 0, 0, 0.25); }
.air-pool-label { display: block; color: rgba(255, 244, 214, 0.85); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.85rem; margin: 6px 0 24px; }
.air-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.air-steps { list-style: none; counter-reset: air; display: grid; gap: 16px; }
.air-steps li {
  counter-increment: air; position: relative; padding: 18px 20px 18px 66px;
  background: var(--card); border: 1.5px solid var(--line); border-radius: 14px;
  font-weight: 700; font-size: 0.98rem;
}
.air-steps li::before {
  content: counter(air); position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; display: grid; place-items: center;
  background: var(--gold); color: var(--ink); border-radius: 50%;
  font-family: var(--font-display); font-size: 1rem;
}

/* ============================================================
   Roadmap
   ============================================================ */
.roadmap { background: linear-gradient(180deg, #191104 0%, var(--ink) 100%); color: #F4E8C8; }
.roadmap .eyebrow { color: var(--gold); }
.roadmap .section-title { color: #FFF4D6; }
.phases { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.phase {
  background: var(--ink-card); border: 1px solid rgba(240, 185, 11, 0.25); border-radius: 18px;
  padding: 24px 22px;
}
.phase.now { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 14px 40px rgba(240, 185, 11, 0.15); }
.phase-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: 999px; padding: 3px 11px; margin-bottom: 13px;
  background: rgba(248, 220, 122, 0.14); color: rgba(248, 220, 122, 0.8);
}
.phase.done .phase-tag { background: rgba(43, 174, 90, 0.18); color: #63C888; }
.phase.now .phase-tag { background: var(--gold); color: var(--ink); }
.phase h3 { font-size: 1.05rem; margin-bottom: 8px; color: #FFF4D6; }
.phase h3 [lang] { font-family: var(--font-brush); color: var(--gold); }
.phase p { font-size: 0.88rem; color: rgba(244, 232, 200, 0.75); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 820px; margin-top: 34px; display: grid; gap: 12px; }
.faq-list details {
  background: var(--card); border: 1.5px solid var(--line); border-radius: 14px;
  padding: 0 22px; transition: border-color 0.2s;
}
.faq-list details[open] { border-color: var(--gold-2); }
.faq-list summary {
  cursor: pointer; font-weight: 800; font-size: 1rem; padding: 17px 0;
  list-style: none; position: relative; padding-right: 34px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+'; position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-size: 1.3rem; color: var(--gold-deep); transition: transform 0.2s;
}
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { padding: 0 0 18px; color: var(--ink-2); font-size: 0.95rem; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--ink); color: rgba(244, 232, 200, 0.85); padding: 64px 0 30px; border-top: 3px solid var(--gold); }
.foot-grid { display: grid; grid-template-columns: 1fr 0.7fr 1.3fr; gap: 40px; margin-bottom: 40px; }
.foot-brand img { border-radius: 50%; box-shadow: 0 0 0 2px var(--gold); margin-bottom: 12px; }
.foot-brand strong { display: block; font-size: 1.05rem; color: #FFF4D6; margin-bottom: 6px; }
.foot-brand p { font-size: 0.9rem; }
.foot-col { display: flex; flex-direction: column; gap: 9px; }
.foot-col strong, .foot-legal strong { color: var(--gold); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; display: block; }
.foot-col a { text-decoration: none; font-weight: 600; font-size: 0.93rem; }
.foot-col a:hover { color: var(--gold); }
.foot-legal p { font-size: 0.8rem; line-height: 1.65; color: rgba(244, 232, 200, 0.6); }
.foot-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  border-top: 1px solid rgba(240, 185, 11, 0.2); padding-top: 22px; font-size: 0.82rem;
}
.foot-bottom .addr-code { font-size: 0.72rem; color: rgba(248, 220, 122, 0.6); }

/* ============================================================
   Toast
   ============================================================ */
#toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #FFF4D6; border: 1.5px solid var(--gold);
  border-radius: 12px; padding: 13px 22px; font-weight: 700; font-size: 0.92rem;
  opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s;
  z-index: 100; max-width: min(92vw, 480px); text-align: center;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================================
   Reveal animation
   ============================================================ */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 90px; }
  .hero-art { order: -1; }
  .coin-frame { width: min(280px, 66vw); }
  .art-caption { margin-top: 26px; }
  .legend-grid, .tok-grid, .air-grid { grid-template-columns: 1fr; gap: 34px; }
  .tok-chart { grid-template-columns: minmax(180px, 230px) 1fr; }
  .phases { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .num-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: block; }
  .btn-mast { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .section { padding: 64px 0; }
  .hero { padding-top: 40px; }
  .h1-cjk { letter-spacing: 0.18em; }
  .ticket { padding: 26px 16px 22px; border-radius: 20px; }
  .ticket-head { padding-right: 0; flex-direction: column; }
  .stamp { align-self: flex-start; }
  .ticket-corner { display: none; }
  .chain-tab { font-size: 0.88rem; padding: 10px 4px; }
  .chain-tab svg { width: 15px; height: 15px; }
  .countdown { gap: 7px; }
  .tok-chart { grid-template-columns: 1fr; justify-items: center; }
  #donut { max-width: 240px; }
  .phases { grid-template-columns: 1fr; }
  .sendbox { flex-direction: column; align-items: stretch; text-align: center; }
  .seal-stamp { right: 4px; bottom: 16px; font-size: 1.2rem; padding: 8px 7px; }
}
