/* ==========================================================================
   共建 · Build N Build — 站点样式
   结构：tokens → base → 通用组件 → 各区块 → 弹窗/Toast → 响应式 → 动效降级
   ========================================================================== */

@font-face {
  font-family: "Bricolage";
  src: url(/static/fonts/bricolage.woff2) format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url(/static/fonts/serif.woff2) format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #0e0d0a;
  --bg: #0e0d0a;
  --ink-2: #15120a;
  --ink-3: #1b170e;
  --paper: #f6efd9;
  --cream: #f6efd9;
  --gold: #f7d52d;
  --gold-bright: #ffe479;
  --gold-deep: #c79a0a;
  --orange: #ff6a35;
  --muted: #b8ad96;
  --muted-2: #8d8270;
  --line: rgba(244, 236, 217, .12);
  --line-strong: rgba(244, 236, 217, .24);
  --line-dark: rgba(11, 9, 6, .16);
  --container: 1260px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font-display: "Bricolage", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-body: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ink);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
code { font-family: var(--font-mono); }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}

.mono { font-family: var(--font-mono); }
.mono-label {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.mono-note {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .08em;
  color: var(--muted-2);
}
.accent { color: var(--gold); }
.accent-ink { color: var(--gold); }

/* 全站颗粒层 */
.page-grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .035;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ============================ 顶栏 ============================ */
.site-header {
  position: relative;
  z-index: 50;
  height: 86px;
  border-bottom: 1px solid var(--line);
  background: rgba(14, 13, 10, .94);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 100%;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 58px;
  height: 58px;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
  transition: transform .35s var(--ease);
}
.brand-mark img { width: 100%; height: 100%; }
.brand-text { display: grid; gap: 1px; line-height: 1; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 720;
  letter-spacing: .02em;
}
.brand-text em {
  font-family: var(--font-mono);
  font-size: 6.5px;
  font-style: normal;
  letter-spacing: .18em;
  color: var(--muted-2);
}
.brand:hover .brand-mark { transform: rotate(-4deg); }

.desktop-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.desktop-nav a {
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .02em;
  color: #bfb49d;
  transition: color .25s ease, background .25s ease;
}
.desktop-nav a:hover { color: var(--paper); background: rgba(246, 239, 217, .07); }

.header-actions { display: flex; align-items: center; gap: 9px; }
.lang, .icon-btn, .menu-btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--paper);
  transition: border-color .25s ease, color .25s ease, transform .25s var(--ease);
}
.lang:hover, .icon-btn:hover { border-color: var(--gold); color: var(--gold); }
.wallet-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--gold);
  color: #0e0d0a;
  font-size: 10.5px;
  font-weight: 700;
  transition: background .25s ease, transform .25s var(--ease);
}
.wallet-chip:hover { background: var(--gold-bright); transform: translateY(-1px); }
.wallet-glyph {
  width: 11px;
  height: 9px;
  border: 1.4px solid currentColor;
  border-radius: 2px;
}
.menu-btn { display: none; width: 38px; height: 38px; }
.menu-btn span { display: block; width: 15px; height: 1.5px; background: currentColor; margin: 2.5px 0; }
.mobile-menu {
  display: grid;
  gap: 2px;
  padding: 10px 20px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 9, 6, .98);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 10px 0; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border-bottom: 0; }

/* ============================ Hero ============================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 34px 0 86px;
  background:
    radial-gradient(900px 650px at 22% 38%, rgba(243, 198, 45, .09), transparent 62%),
    radial-gradient(700px 600px at 96% 18%, rgba(255, 106, 53, .045), transparent 58%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(246, 239, 217, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 239, 217, .025) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(100deg, #000 0%, transparent 70%);
  mask-image: linear-gradient(100deg, #000 0%, transparent 70%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(360px, 1.19fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 5.4vw, 78px);
  min-height: 760px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(50px, 6.2vw, 92px);
  font-weight: 780;
  line-height: .95;
  letter-spacing: -.065em;
}
.hero-line { color: var(--paper); }
.hero-lead {
  max-width: 560px;
  margin-top: 27px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 10.5px;
  color: var(--paper);
  background: rgba(244, 236, 217, .03);
}
.hero-badge span { color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-social {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-top: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 12px;
  transition: border-color .25s ease, color .25s ease;
}
.hero-social:hover { border-color: var(--gold); color: var(--gold); }

.hero-poster-wrap {
  position: relative;
  justify-self: center;
  width: min(540px, 100%);
  height: min(540px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  animation: logo-float 9s ease-in-out infinite;
}
/* 吉祥物背后的暗色圆盘，让金色头部像嵌在黑色圆章里 */
.hero-poster-wrap::before {
  content: "";
  position: absolute;
  inset: 2%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #1d1710 0%, #14110a 55%, #0b0906 100%);
  box-shadow: inset 0 0 70px rgba(0, 0, 0, .65), 0 40px 80px rgba(0, 0, 0, .5);
}
.poster-glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 55% 45%, rgba(255, 216, 77, .22), rgba(247, 213, 45, .05) 55%, transparent 70%);
  filter: blur(18px);
}
.poster-ring {
  position: absolute;
  inset: 2%;
  border: 1px solid rgba(244, 236, 217, .08);
  border-radius: 50%;
}
.poster-ring.ring-dashed {
  inset: -3%;
  border-style: dashed;
  border-color: rgba(244, 236, 217, .12);
}
.poster-mascot {
  position: relative;
  z-index: 1;
  width: 94%;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .5)) drop-shadow(0 0 22px rgba(247, 213, 45, .18));
}
.spark {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(243, 198, 45, .9);
}
.spark.s1 { top: 16%; left: 6%; animation: logo-glow 6s ease-in-out infinite; }
.spark.s2 { right: 10%; bottom: 20%; opacity: .7; animation: logo-glow 6s ease-in-out infinite 1.4s; }
.poster-bottom {
  position: absolute;
  bottom: 4%;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 9px 26px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(11, 9, 6, .72);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
}
.poster-bottom span { font-size: 6.5px; letter-spacing: .16em; color: var(--muted); }
.poster-bottom strong { font-size: 12.5px; letter-spacing: .1em; color: var(--paper); font-weight: 500; }

/* ============================ 通用按钮 ============================ */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: transform .28s var(--ease), background .25s ease, color .25s ease,
    border-color .25s ease, box-shadow .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button-sm { min-height: 42px; padding: 0 18px; font-size: 11px; border-radius: 6px; }
.button-gold {
  background: var(--gold);
  color: #0e0d0a;
  box-shadow: 0 10px 24px rgba(243, 198, 45, .18);
}
.button-gold:hover { background: var(--gold-bright); }
.button-ghost {
  border-color: var(--line-strong);
  color: var(--paper);
  background: rgba(244, 236, 217, .02);
}
.button-ghost:hover { border-color: var(--gold); color: var(--gold); }
.button-ink {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 8px 8px 0 rgba(11, 9, 6, .28);
}
.button-ink:hover { box-shadow: 5px 5px 0 rgba(11, 9, 6, .28); transform: translate(-2px, -2px); }
.dot-gold {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(243, 198, 45, .8);
}

/* ============================ 区块通用 ============================ */
.section { position: relative; padding: 96px 0 100px; border-top: 1px solid var(--line); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  margin-bottom: 44px;
}
.section-index {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-index .idx { color: var(--gold); font-weight: 600; }
.section-index i {
  display: inline-block;
  width: 34px;
  height: 1px;
  background: var(--line-strong);
}
.section-index.between { justify-content: space-between; margin-bottom: 26px; }
.section-index.between > span { display: inline-flex; align-items: center; gap: 10px; }
.section-index.light { color: rgba(11, 9, 6, .55); }
.section-index.light i { background: rgba(11, 9, 6, .28); }
.section-head h2,
.section-head h2 + p {
  font-family: var(--font-display);
}
.section-head h2 {
  font-size: clamp(42px, 4.58vw, 66px);
  font-weight: 780;
  line-height: .99;
  letter-spacing: -.06em;
}
.head-side { display: grid; gap: 16px; padding-bottom: 6px; }
.head-side p { max-width: 430px; margin-left: auto; color: var(--muted); font-size: 14px; line-height: 1.85; }

.card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

/* ============================ 02 铸造 ============================ */
.progress-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
}
.progress-pill span { font-family: var(--font-mono); font-size: 8px; letter-spacing: .14em; color: var(--muted); }
.progress-pill strong { font-family: var(--font-display); font-size: 15px; letter-spacing: -.01em; }
.progress-pill i {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: var(--p);
  background: var(--gold);
  box-shadow: 0 0 14px rgba(243, 198, 45, .6);
}

.mint-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }

.ticket, .mint-card, .tier-card, .curve-card, .seats-card, .rules-card, .tax-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(600px 300px at 85% 0%, rgba(243, 198, 45, .045), transparent 60%),
    linear-gradient(180deg, #15120a, #0e0d0a);
}
.ticket { padding: 28px 32px 26px; }
.ticket-top { display: flex; align-items: center; justify-content: space-between; }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border: 1px solid rgba(125, 224, 110, .25);
  border-radius: 999px;
  background: rgba(125, 224, 110, .07);
  font-size: 10px;
  color: #b6f25e;
}
.status-pill i { width: 5px; height: 5px; border-radius: 50%; background: #7de06e; box-shadow: 0 0 8px #7de06e; }
.ticket-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0 26px;
  border-bottom: 1px dashed var(--line);
}
.ticket-main h3 { font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: -.03em; }
.mono-no { margin-top: 4px; font-family: var(--font-mono); font-size: 8px; letter-spacing: .12em; color: var(--muted-2); }
.ticket-price { display: flex; align-items: baseline; gap: 8px; margin-top: 26px; }
.ticket-price strong {
  font-family: var(--font-display);
  font-size: clamp(58px, 5.6vw, 82px);
  font-weight: 720;
  line-height: .9;
  letter-spacing: -.055em;
}
.ticket-price span { font-family: var(--font-mono); font-size: 9px; color: var(--muted); letter-spacing: .1em; }
.tier-ring {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
}
.ticket-bar { padding: 22px 0 18px; }
.bar-head { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--muted); }
.bar-head strong { font-family: var(--font-display); color: var(--paper); font-size: 13px; }
.bar { height: 7px; margin: 9px 0 10px; border-radius: 999px; background: #241f14; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); }
.bar-foot { display: flex; justify-content: space-between; font-size: 9.5px; color: var(--muted-2); }
.ticket-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}
.ticket-stats dt { font-size: 9px; color: var(--muted-2); }
.ticket-stats dd { margin: 5px 0 0; font-family: var(--font-display); font-size: 15px; letter-spacing: -.01em; }
.ticket-stats dd span { color: var(--muted); font-size: 10px; }
.ticket-foot {
  display: flex;
  gap: 18px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 9px;
  color: var(--muted-2);
}

.mint-card { padding: 24px 26px 22px; }
.holder-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(244, 236, 217, .02);
}
.holder-dot {
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 16px rgba(243, 198, 45, .4);
}
.holder-note strong { display: block; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .1em; }
.holder-note p { margin-top: 2px; font-size: 9px; color: var(--muted-2); }
.qty-head { display: flex; align-items: center; justify-content: space-between; margin: 18px 0 8px; font-size: 12px; }
.qty-stepper {
  display: grid;
  grid-template-columns: 64px 1fr 64px;
  align-items: center;
  height: 84px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  overflow: hidden;
}
.qty-stepper button {
  height: 100%;
  border-right: 1px solid var(--line);
  font-size: 18px;
  color: var(--paper);
  transition: background .2s ease, color .2s ease;
}
.qty-stepper button:last-child { border-right: 0; border-left: 1px solid var(--line); }
.qty-stepper button:hover { background: rgba(243, 198, 45, .08); color: var(--gold); }
.qty-stepper output {
  text-align: center;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -.03em;
}
.qty-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.qty-quick button {
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.qty-quick button:hover { border-color: var(--line-strong); color: var(--paper); }
.qty-quick button.is-active {
  border-color: transparent;
  background: var(--gold);
  color: #0e0d0a;
  font-weight: 700;
}
.mint-sum { margin: 18px 0 14px; display: grid; gap: 9px; }
.mint-sum > div { display: flex; align-items: center; justify-content: space-between; }
.mint-sum dt { font-size: 10px; color: var(--muted-2); }
.mint-sum dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}
.mint-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 56px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--gold);
  color: #0e0d0a;
  font-size: 13px;
  font-weight: 700;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.mint-cta:hover { background: var(--gold-bright); transform: translate(-1px, -1px); box-shadow: 5px 5px 0 rgba(11, 9, 6, .5); }
.mint-note { margin-top: 12px; font-size: 9px; line-height: 1.7; color: var(--muted-2); }
.mint-status {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 9px;
  color: var(--muted-2);
}
.mint-status i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* ============================ 03 价格 ============================ */
.max-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted-2);
}
.max-line strong { font-family: var(--font-mono); font-size: 11px; color: var(--paper); letter-spacing: .04em; }

.price-grid { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr); gap: 22px; align-items: start; }
.tier-card { padding: 26px 28px 22px; }
.tier-card h3, .curve-card h3, .seats-card h3 {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.03em;
}
.badge-soft {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--muted);
}
.tier-table { margin-top: 20px; }
.tier-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 118px 52px;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 6px;
  border-bottom: 1px solid rgba(244, 236, 217, .055);
  font-size: 11px;
  color: var(--paper);
  transition: background .2s ease;
}
.tier-row:hover { background: rgba(244, 236, 217, .035); }
.tier-head {
  height: 30px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .1em;
  color: var(--muted-2);
}
.tier-head:hover { background: none; }
.tier-body { max-height: 420px; overflow: auto; overscroll-behavior: contain; }
.tier-body::-webkit-scrollbar { width: 6px; }
.tier-body::-webkit-scrollbar-thumb { background: #2a2418; border-radius: 999px; }
.mono-idx { font-family: var(--font-mono); font-size: 9px; color: var(--muted-2); }
.tier-range { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .02em; }
.mono-price { font-family: var(--font-mono); font-size: 10.5px; text-align: right; }
.tier-pill {
  justify-self: end;
  display: grid;
  place-items: center;
  width: 34px;
  height: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--muted);
}
.card-foot { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 9px; line-height: 1.8; color: var(--muted-2); }

.price-side { display: grid; gap: 22px; }
.curve-card { padding: 22px 23px 18px; }
.onchain {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--muted);
}
.onchain i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.curve-meta { display: flex; align-items: flex-start; justify-content: space-between; margin-top: 12px; }
.curve-meta span { font-size: 9px; color: var(--muted-2); }
.curve-price {
  font-family: var(--font-display);
  font-size: clamp(30px, 2.9vw, 40px);
  font-weight: 720;
  letter-spacing: -.04em;
  color: var(--gold);
  line-height: 1.1;
}
.curve-price em { margin-left: 6px; font-family: var(--font-mono); font-size: 9px; font-style: normal; color: var(--muted-2); }
.curve-right { display: grid; justify-items: end; gap: 2px; }
.curve-right strong { font-family: var(--font-mono); font-size: 12px; }
.curve-right em { font-family: var(--font-mono); font-size: 9px; font-style: normal; color: var(--gold); }
.curve { width: 100%; height: 158px; margin-top: 10px; overflow: visible; }
.curve-grid line { stroke: rgba(244, 236, 217, .07); stroke-width: 1; }
.curve-cursor { stroke: rgba(244, 236, 217, .35); stroke-width: 1; stroke-dasharray: 3 4; }
.curve-dot { fill: var(--gold); stroke: #0e0d0a; stroke-width: 2; }
.curve-axis { display: flex; justify-content: space-between; margin-top: 6px; font-family: var(--font-mono); font-size: 8px; color: var(--muted-2); }
.curve-legend { display: flex; align-items: center; gap: 7px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-family: var(--font-mono); font-size: 8px; color: var(--muted-2); }
.curve-legend i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.curve-legend span { opacity: .5; }

.seats-card { padding: 22px 23px 18px; }
.seats-empty {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 16px 16px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  text-align: center;
}
.seats-empty span { color: var(--gold); font-size: 14px; }
.seats-empty p { font-family: var(--font-display); font-size: 18px; color: var(--paper); }
.seats-empty em { font-style: normal; font-size: 8.5px; color: var(--muted-2); }
.seat-rows { margin-top: 12px; }
.seat-rows li {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  height: 30px;
  border-bottom: 1px solid rgba(244, 236, 217, .05);
  font-size: 9.5px;
  color: var(--muted-2);
}
.seat-rows li i { display: none; }
.seat-rows li span:nth-child(3) { justify-self: start; }
.seats-card .button { margin-top: 18px; }

/* ============================ 04 Mission ============================ */
.mission {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  background:
    radial-gradient(900px 600px at 18% 50%, rgba(255, 245, 191, .35), transparent 62%),
    linear-gradient(120deg, #f9dc55 0%, var(--gold) 48%, #eec415 100%);
  color: var(--ink);
  border-top: 1px solid rgba(11, 9, 6, .3);
  border-bottom: 1px solid rgba(11, 9, 6, .3);
}
.mission-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 60px; align-items: center; }
.mission h2 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(46px, 5.1vw, 80px);
  font-weight: 780;
  line-height: .98;
  letter-spacing: -.055em;
}
.mission-copy > p { max-width: 520px; margin-top: 18px; font-size: 13.5px; line-height: 1.85; color: rgba(11, 9, 6, .78); }
.step-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0 20px; }
.step-cards li {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1.5px solid rgba(11, 9, 6, .55);
  border-radius: 12px;
  background: rgba(255, 247, 230, .25);
  box-shadow: 3px 3px 0 rgba(11, 9, 6, .3);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step-cards li:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 rgba(11, 9, 6, .32); }
.step-cards span { font-family: var(--font-mono); font-size: 8px; color: rgba(11, 9, 6, .55); }
.step-cards strong { font-family: var(--font-display); font-size: 15px; letter-spacing: -.01em; }
.step-cards em { font-family: var(--font-mono); font-size: 7px; font-style: normal; letter-spacing: .1em; color: rgba(11, 9, 6, .45); }
.mission-figure { position: relative; }
.mega-dot {
  display: block;
  width: 36px;
  height: 36px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 0 rgba(11, 9, 6, .18);
  animation: logo-glow 5s ease-in-out infinite;
}
.mega {
  font-family: var(--font-display);
  font-size: clamp(88px, 11.2vw, 166px);
  font-weight: 800;
  line-height: .84;
  letter-spacing: -.07em;
  color: var(--ink);
  margin-left: -.04em;
}
.fig-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(11, 9, 6, .35);
  font-size: 9px;
  color: rgba(11, 9, 6, .6);
}
.fig-foot span:last-child { font-family: var(--font-display); font-size: 10px; }

/* ============================ 05 Memo ============================ */
.memo {
  padding: 84px 0;
  border-top: 1px solid var(--line);
  border-bottom: 3px solid #080704;
}
.memo-card {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, #15120a, #0e0d0a);
  overflow: hidden;
}
.memo-copy { padding: 42px 44px; border-right: 1px solid var(--line); }
.pill-hot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid rgba(243, 198, 45, .3);
  border-radius: 999px;
  background: rgba(243, 198, 45, .08);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .1em;
  color: var(--gold);
}
.memo-copy h2 {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.1vw, 44px);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -.04em;
}
.memo-copy > p { max-width: 440px; margin-top: 18px; font-size: 12.5px; line-height: 1.85; color: var(--muted); }
.memo-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 8.5px;
  color: var(--muted-2) !important;
}
.memo-foot i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.memo-figure {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 40px;
}
.ring-ring {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border: 1px dashed rgba(244, 236, 217, .14);
  border-radius: 50%;
}
.ring-ring.ring-2 { width: 96%; border-style: solid; border-color: rgba(244, 236, 217, .06); }
.memo-pill {
  position: absolute;
  top: 18%;
  left: 12%;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(11, 9, 6, .6);
  font-size: 8.5px;
  color: var(--paper);
  z-index: 2;
}
.id-card {
  position: relative;
  z-index: 2;
  width: min(330px, 100%);
  padding: 20px 22px;
  border: 1px solid rgba(243, 198, 45, .28);
  border-radius: 16px;
  background: linear-gradient(150deg, #1d180d, #12100a 60%);
  box-shadow: 14px 18px 40px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .4);
  transform: rotate(-5deg);
  transition: transform .5s var(--ease);
}
.memo-figure:hover .id-card { transform: rotate(-2deg) translateY(-6px); }
.id-top { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 6.5px; letter-spacing: .14em; color: var(--muted-2); }
.id-name {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -.04em;
}
.id-name b { color: var(--gold); }
.id-sub { margin-top: 4px; font-size: 9.5px; color: var(--muted); }
.id-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 26px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 8px;
  color: var(--muted-2);
}
.memo-flow {
  position: absolute;
  right: 8%;
  bottom: 14%;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 8px;
  color: var(--muted);
  background: rgba(11, 9, 6, .7);
}

/* ============================ 06 Token ============================ */
.token-grid { display: grid; grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr); gap: 22px; align-items: start; }
.cert-card, .rules-card { padding: 28px 30px; }
.cert-title { display: flex; align-items: flex-start; justify-content: space-between; margin-top: 26px; }
.cert-title h3 { font-family: var(--font-display); font-size: 40px; font-weight: 760; letter-spacing: -.04em; }
.chip-outline {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 7.5px;
  color: var(--muted);
}
.cert-seal {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--gold);
  text-align: center;
  line-height: 1.1;
}
.cert-seal em { display: block; font-family: var(--font-mono); font-size: 5.5px; font-style: normal; letter-spacing: .08em; color: var(--muted-2); }
.cert-label { margin-top: 30px; }
.cert-supply {
  font-family: var(--font-display);
  font-size: clamp(64px, 6vw, 86px);
  font-weight: 780;
  line-height: .92;
  letter-spacing: -.055em;
  color: var(--gold);
}
.cert-sub { font-family: var(--font-mono); font-size: 9px; color: var(--muted-2); letter-spacing: .06em; }
.cert-row { display: flex; align-items: center; gap: 18px; margin: 26px 0; padding-top: 22px; border-top: 1px dashed var(--line); }
.cert-ring {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  flex: none;
  border: 2px dashed rgba(243, 198, 45, .5);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--gold);
  text-align: center;
  line-height: 1;
}
.cert-ring em { display: block; margin-top: 3px; font-family: var(--font-mono); font-size: 5.5px; font-style: normal; letter-spacing: .06em; color: var(--muted-2); }
.cert-row strong { font-family: var(--font-display); font-size: 15px; }
.cert-row em { display: block; margin-top: 5px; font-style: normal; font-size: 10px; line-height: 1.7; color: var(--muted); }
.cert-tags { display: flex; gap: 6px; margin-top: 10px; }
.cert-tags span {
  padding: 3px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: .08em;
  color: var(--muted);
}
.cert-table { border-top: 1px solid var(--line); }
.cert-table > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 44px;
  border-bottom: 1px solid rgba(244, 236, 217, .06);
  font-size: 10.5px;
}
.cert-table dt { color: var(--muted-2); }
.cert-table dd { margin: 0; font-size: 10.5px; }
.cert-table dd.mono { font-family: var(--font-mono); font-size: 8.5px; color: var(--muted); }
.cert-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 6px 12px;
  border: 1px solid rgba(243, 198, 45, .28);
  border-radius: 999px;
  font-size: 8.5px;
  color: var(--gold);
  transition: background .2s ease;
}
.cert-link:hover { background: rgba(243, 198, 45, .08); }

.token-side { display: grid; gap: 22px; }
.rules-card h3 {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -.04em;
}
.rules-lead { max-width: 420px; margin-top: 16px; font-size: 11.5px; line-height: 1.8; color: var(--muted); }
.rules-list { margin-top: 22px; border-top: 1px solid var(--line); }
.rules-list li {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(244, 236, 217, .06);
  font-size: 10.5px;
  color: var(--paper);
}
.rules-list span { font-family: var(--font-mono); font-size: 8px; color: var(--muted-2); padding-top: 3px; }
.fund-flow { margin-top: 20px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
.fund-head { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 8px; letter-spacing: .1em; color: var(--muted); }
.fund-bar { height: 10px; margin: 12px 0 9px; border-radius: 999px; background: #241f14; overflow: hidden; }
.fund-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); }
.fund-foot { display: flex; justify-content: space-between; font-size: 8px; color: var(--muted-2); }

.tax-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tax-card { padding: 18px 16px; border-radius: 16px; }
.tax-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-bottom: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 10px;
  color: var(--muted);
}
.tax-no { display: block; font-family: var(--font-mono); font-size: 6.5px; letter-spacing: .12em; color: var(--muted-2); }
.tax-card strong {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 780;
  line-height: 1;
  letter-spacing: -.045em;
  color: var(--gold);
}
.tax-card em { display: block; margin-top: 4px; font-style: normal; font-size: 11px; }
.tax-card p { margin-top: 10px; font-size: 8.5px; line-height: 1.7; color: var(--muted-2); }
.tax-foot { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); font-family: var(--font-mono); font-size: 6.5px; letter-spacing: .1em; }

/* ============================ 07 FAQ ============================ */
.faq-grid { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 46px; align-items: start; }
.faq-aside { padding-top: 8px; }
.q-sticker {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 44px;
  line-height: 1;
  box-shadow: 0 0 0 6px rgba(11, 9, 6, .5), 0 0 0 7px rgba(243, 198, 45, .35);
}
.faq-aside h3 {
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 740;
  line-height: 1.2;
  letter-spacing: -.035em;
}
.faq-aside .button { margin-top: 22px; }
.faq-aside-foot { margin-top: 90px; font-family: var(--font-mono); font-size: 7px; letter-spacing: .16em; color: var(--muted-2); }

.faq-list { display: grid; gap: 10px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #12100a, #0e0d0a);
  transition: border-color .3s ease, box-shadow .3s ease;
}
.faq-item.is-open {
  border-color: rgba(243, 198, 45, .55);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .55);
}
.faq-trigger {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px 22px;
  text-align: left;
}
.faq-no {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  border: 1px solid rgba(243, 198, 45, .35);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--gold);
}
.faq-q { flex: 1; font-family: var(--font-display); font-size: 16px; font-weight: 700; letter-spacing: -.015em; }
.faq-icon { position: relative; width: 12px; height: 12px; flex: none; }
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  background: var(--paper);
  transition: transform .3s var(--ease), background .3s ease;
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item.is-open .faq-icon::after { transform: rotate(0); }
.faq-item.is-open .faq-icon::before { background: var(--gold); }
.faq-item.is-open .faq-icon::after { background: var(--gold); }
.faq-panel { height: 0; overflow: hidden; transition: height .35s var(--ease); }
.faq-a { padding: 0 20px 18px 60px; }
.faq-a p { font-size: 11.5px; line-height: 1.9; color: var(--muted); }

/* ============================ 08 Join ============================ */
.join {
  position: relative;
  overflow: hidden;
  padding: 76px 0;
  background:
    radial-gradient(760px 520px at 78% 30%, rgba(247, 213, 45, .1), transparent 62%),
    #14120c;
  color: var(--paper);
  border-top: 1px solid var(--line);
}
.join-inner { position: relative; }
.join-word {
  position: absolute;
  left: 50%;
  bottom: -6%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(120px, 16.5vw, 250px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: .8;
  color: rgba(246, 239, 217, .06);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.join-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 50px; align-items: center; }
.join h2 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(44px, 4.8vw, 72px);
  font-weight: 780;
  line-height: 1.02;
  letter-spacing: -.05em;
}
.join-copy > p { max-width: 460px; margin-top: 20px; font-size: 12.5px; line-height: 1.85; color: var(--muted); }
.join-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.join .button-ghost {
  border-color: rgba(246, 239, 217, .28);
  color: var(--paper);
  background: rgba(246, 239, 217, .04);
}
.join .button-ghost:hover { border-color: var(--gold); color: var(--gold); }
.join-foot { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; font-size: 8.5px; color: var(--muted-2); }
.ring-dot {
  width: 22px;
  height: 22px;
  border: 1.5px solid rgba(246, 239, 217, .45);
  border-radius: 50%;
  position: relative;
}
.ring-dot::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--paper); }

.join-figure { justify-self: end; width: min(360px, 100%); }
.poster-ticket {
  position: relative;
  border: 2px solid var(--ink);
  border-radius: 20px;
  overflow: hidden;
  background: #14100a;
  box-shadow: 14px 16px 0 rgba(11, 9, 6, .35);
  transform: rotate(3deg);
  transition: transform .5s var(--ease);
}
.join-figure:hover .poster-ticket { transform: rotate(0deg) translateY(-6px); }
.poster-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: .14em;
  color: rgba(244, 236, 217, .6);
  background: #0f0c07;
}
.poster-bar.bottom { border-top: 1px solid rgba(244, 236, 217, .1); }
.poster-ai {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 8px;
  font-weight: 700;
}
.poster-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: .82;
  background:
    radial-gradient(circle at 50% 38%, #fff6c8 0%, #ffd94f 38%, #e8ad12 72%, #a97405 100%);
  overflow: hidden;
}
.poster-art::before {
  content: "";
  position: absolute;
  inset: -10%;
  background-image: url(/static/img/mascot.svg);
  background-size: 64px 64px;
  opacity: .62;
  filter: saturate(1.05) brightness(.62);
}
.poster-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 236, 150, .65), transparent 66%);
}
.poster-word {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff3c4;
  text-shadow: 0 4px 0 #8a6400, 0 0 30px rgba(255, 216, 77, .7);
}
.poster-sub {
  position: absolute;
  z-index: 2;
  bottom: 26%;
  font-family: var(--font-display);
  font-size: 17px;
  font-style: italic;
  color: #fff8dd;
  text-shadow: 0 2px 0 #8a6400;
}

/* ============================ Footer ============================ */
.footer {
  position: relative;
  z-index: 2;
  margin-top: -30px;
  padding: 78px 0 26px;
  border-radius: 36px 36px 0 0;
  background: #0a0907;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .55fr) minmax(0, .55fr) minmax(0, 1.1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer-brand p { margin: 22px 0 24px; font-family: var(--font-display); font-size: 19px; font-weight: 700; line-height: 1.28; letter-spacing: -.02em; }
.footer-brand .icon-btn { width: 36px; height: 36px; }
.footer-nav { display: grid; align-content: start; gap: 10px; }
.footer-nav > span { font-family: var(--font-mono); font-size: 7.5px; letter-spacing: .16em; color: var(--gold); margin-bottom: 4px; }
.footer-nav a { font-size: 11px; color: var(--muted); transition: color .25s ease; }
.footer-nav a:hover { color: var(--gold); }
.footer-contract { display: grid; align-content: start; gap: 12px; }
.contract-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(244, 236, 217, .02);
}
.contract-box code { font-size: 8.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contract-box button { flex: none; font-size: 11px; color: var(--muted); transition: color .2s ease; }
.contract-box button:hover { color: var(--gold); }
.footer-link { font-size: 9px; color: var(--gold); }
.chain { display: flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 7px; letter-spacing: .12em; color: var(--muted-2); }
.chain i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 20px; }
.footer-bottom p { max-width: 780px; font-size: 8px; line-height: 1.8; color: var(--muted-2); }
.footer-bottom > div { display: grid; justify-items: end; gap: 6px; font-family: var(--font-mono); font-size: 7px; letter-spacing: .1em; color: var(--muted-2); white-space: nowrap; }

/* ============================ 弹窗 / Toast ============================ */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 22px; }
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 3, 2, .78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn .25s ease;
}
.modal-card {
  position: relative;
  z-index: 1;
  width: min(540px, 100%);
  max-height: calc(100vh - 44px);
  overflow: auto;
  padding: 26px 28px;
  border: 1.5px solid rgba(243, 198, 45, .55);
  border-radius: 18px;
  background: #14110b;
  box-shadow: 12px 14px 0 rgba(243, 198, 45, .16), 0 35px 90px rgba(0, 0, 0, .55);
  animation: modalIn .35s var(--ease);
}
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.modal-head h2 { margin-top: 8px; font-family: var(--font-display); font-size: 25px; font-weight: 750; letter-spacing: -.035em; }
.modal-close {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 15px;
  color: var(--muted);
  transition: color .2s ease, border-color .2s ease;
}
.modal-close:hover { color: var(--gold); border-color: var(--gold); }
.modal-lead { margin-top: 16px; font-size: 11px; line-height: 1.8; color: var(--muted); }
.wallet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
.wallet-grid .wallet-option { margin-top: 0; }

.wallet-option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin-top: 20px;
  padding: 14px;
  border: 1px solid rgba(243, 198, 45, .35);
  border-radius: 12px;
  text-align: left;
  transition: background .2s ease, transform .2s var(--ease), border-color .2s ease;
}
.wallet-option:hover { background: rgba(243, 198, 45, .07); border-color: var(--gold); transform: translateY(-1px); }
.wallet-option-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 8px;
  background: var(--gold);
  color: var(--ink);
  font-size: 14px;
}

.wallet-option-icon img { width: 100%; height: 100%; object-fit: contain; border-radius: 7px; }
.wallet-option-icon { background: transparent; border: 1px solid rgba(243,198,45,.18); overflow: hidden; }
.wallet-option-text { flex: 1; display: grid; gap: 3px; min-width: 0; }
.wallet-option-text strong { font-family: var(--font-display); font-size: 13px; }
.wallet-option-text em { font-style: normal; font-size: 8.5px; color: var(--muted-2); }
.wallet-option-arrow { color: var(--muted); font-size: 12px; }
.modal-note {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  padding: 10px 12px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  font-size: 8.5px;
  line-height: 1.7;
  color: var(--muted-2);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--gold);
  color: #0e0d0a;
  font-size: 11px;
  font-weight: 600;
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ============================ Agent Wallet 弹窗 ============================ */
.agent-wallet-modal { width: min(540px, 100%); }
.aw-chain {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .06em;
  color: var(--muted-2);
}
.aw-chain i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

.aw-qr-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: min(280px, 74%);
  margin: 18px auto 0;
  padding: 12px;
  border-radius: 16px;
  background: #fffdf6;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .45);
}
.aw-qr { width: 100%; height: auto; border-radius: 8px; image-rendering: pixelated; }
.aw-qr-tag {
  position: absolute;
  top: -9px;
  right: -8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--gold);
  color: #0e0d0a;
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .1em;
}

.aw-pair { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; }
.aw-pair span { font-size: 9px; color: var(--muted-2); }
.aw-pair strong {
  padding: 4px 12px;
  border-radius: 6px;
  background: var(--gold);
  color: #0e0d0a;
  font-family: var(--font-mono);
  font-size: 19px;
  letter-spacing: .2em;
}

.aw-hint { margin-top: 12px; text-align: center; font-size: 10px; color: var(--muted); }
.aw-open { display: block; margin-top: 10px; text-align: center; font-size: 10px; color: var(--gold); }
.aw-open:hover { text-decoration: underline; }
.aw-open-alt { margin-top: 4px; font-size: 9px; color: var(--muted-2); }
.aw-wait {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 9.5px;
  color: var(--muted-2);
}
.aw-wait i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7de06e;
  box-shadow: 0 0 8px #7de06e;
  animation: logo-glow 1.6s ease-in-out infinite;
}

.aw-actions { display: flex; gap: 10px; margin-top: 18px; }
.aw-actions .button { flex: 1; }

.aw-loading { display: grid; place-items: center; gap: 14px; padding: 34px 0 28px; }
.aw-loading .spinner { width: 26px; height: 26px; border-width: 2px; }
.aw-loading p { font-size: 12px; color: var(--muted); }

.aw-account { display: grid; margin-top: 14px; border-top: 1px solid var(--line); }
.aw-account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(246, 239, 217, .07);
  font-size: 11px;
}
.aw-account-row span { color: var(--muted-2); }
.aw-account-row code { font-size: 10px; color: var(--paper); }
.aw-account-row b { font-weight: 600; color: var(--paper); }

.aw-error {
  margin-top: 16px;
  padding: 12px;
  border: 1px solid rgba(255, 106, 53, .4);
  border-radius: 10px;
  background: rgba(255, 106, 53, .08);
  color: #ffb08a;
  font-size: 11px;
  line-height: 1.7;
}

.mint-cta:disabled { opacity: .7; cursor: progress; }

.mint-tx {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-size: 9.5px;
  color: var(--gold);
}
.mint-tx[hidden] { display: none; }
.mint-tx:hover { text-decoration: underline; }

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

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(14px) scale(.985); }
  to { opacity: 1; transform: none; }
}
@keyframes logo-float {
  0%, 100% { transform: translateY(0) rotate(-.6deg); }
  50% { transform: translateY(-6px) rotate(.6deg); }
}
@keyframes logo-glow {
  0%, 100% { opacity: .45; }
  50% { opacity: 1; }
}
@keyframes spinSimple { to { transform: rotate(360deg); } }

/* ============================ 响应式 ============================ */
@media (max-width: 1180px) {
  .hero h1 { font-size: clamp(54px, 6.4vw, 78px); }
  .hero-poster-wrap { width: min(520px, 100%); }
  .desktop-nav { gap: 18px; }
  .footer-grid { grid-template-columns: 1.2fr .6fr .6fr 1fr; gap: 28px; }
}

@media (max-width: 1060px) {
  .container { width: min(var(--container), calc(100% - 44px)); }
  .hero-inner { grid-template-columns: 1fr; gap: 42px; min-height: 0; padding-bottom: 40px; }
  .hero-copy { order: 1; max-width: 640px; }
  .hero-poster-wrap { order: 2; width: min(460px, 88%); }
  .section-head { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .head-side p { margin-left: 0; max-width: 560px; }
  .mint-grid, .price-grid, .token-grid { grid-template-columns: 1fr; }
  .memo-card { grid-template-columns: 1fr; }
  .memo-copy { border-right: 0; border-bottom: 1px solid var(--line); }
  .mission-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .faq-aside-foot { margin-top: 30px; }
  .join-grid { grid-template-columns: 1fr; gap: 40px; }
  .join-figure { justify-self: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contract { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .menu-btn { display: grid; }
  .lang { display: none; }
  .section { padding: 84px 0 88px; }
  .mission { padding: 90px 0 92px; }
  .hero { padding-top: 44px; }
  .ticket-price strong { font-size: 64px; }
  .tax-cards { grid-template-columns: 1fr; }
  .faq-aside { display: grid; justify-items: start; }
}

@media (max-width: 720px) {
  .container { width: calc(100% - 36px); }
  .site-header { height: 72px; }
  .brand-text em { display: none; }
  .hero h1 { font-size: clamp(44px, 11.6vw, 64px); }
  .hero-lead { font-size: 13px; margin-top: 18px; }
  .hero-badge { font-size: 9.5px; }
  .button { min-height: 48px; font-size: 11.5px; padding: 0 18px; }
  .section-head h2 { font-size: clamp(38px, 9vw, 52px); }
  .section-index { font-size: 8px; }
  .ticket, .mint-card, .tier-card, .curve-card, .seats-card, .cert-card, .rules-card { padding: 22px 20px; }
  .ticket-stats { grid-template-columns: 1fr 1fr; gap: 14px; }
  .tier-row { grid-template-columns: 40px minmax(0, 1fr) 96px 40px; gap: 8px; }
  .memo-copy { padding: 28px 22px; }
  .memo-figure { min-height: 360px; padding: 28px; }
  .mission h2 { font-size: clamp(40px, 10vw, 56px); }
  .mega { font-size: clamp(86px, 24vw, 150px); }
  .step-cards { grid-template-columns: 1fr; }
  .faq-aside-foot { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; }
  .footer-bottom > div { justify-items: start; }
  .join h2 { font-size: clamp(38px, 9.4vw, 52px); }
  .join-word { font-size: 26vw; bottom: 2%; }
  .q-sticker { width: 64px; height: 64px; font-size: 36px; }
  .faq-q { font-size: 14px; }
  .faq-a { padding-left: 20px; }
}

@media (max-width: 540px) {
  .hero h1 { font-size: clamp(38px, 12vw, 52px); }
  .hero-actions { gap: 8px; }
  .hero-actions .button { flex: 1 1 auto; }
  .qty-stepper { height: 72px; grid-template-columns: 56px 1fr 56px; }
  .qty-stepper output { font-size: 30px; }
  .tier-body { max-height: 380px; }
  .curve-meta { flex-direction: column; gap: 10px; }
  .curve-right { justify-items: start; }
  .cert-title h3 { font-size: 32px; }
  .tax-card strong { font-size: 34px; }
  .poster-ticket { transform: none; }
  .modal-card { padding: 20px; }
}

/* ============================ 降级 ============================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
