/* ============================================================
   CryptoX 3rd Anniversary Airdrop — visual system
   Monochrome canvas · single gold accent · editorial layout
   ============================================================ */

:root {
  --bg: #000000;
  --bg-soft: #060606;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #ffffff;
  --muted: #8c8c8c;
  --muted-2: #5c5c5c;
  --gold: #f5c451;
  --gold-bright: #ffe3aa;
  --gold-deep: #a87a24;
  --danger: #ff5c5c;
  --ok: #4ade80;
  --radius: 18px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; }

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

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

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #1e1e1e; border-radius: 8px; border: 2px solid #000; }
::-webkit-scrollbar-thumb:hover { background: #333; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ============================ HEADER ============================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease), backdrop-filter 0.45s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.72);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px) saturate(140%);
}
.header-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 34px; height: 34px; color: var(--gold); flex: none; }
.brand-text {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.16em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.brand-divider { color: var(--muted-2); font-weight: 400; }
.brand-sub { font-size: 13px; font-weight: 500; letter-spacing: 0.2em; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 30px; margin-left: 14px; }
.nav a {
  font-size: 13.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
  transition: color 0.25s var(--ease);
  position: relative;
}
.nav a:hover { color: var(--text); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }

.header-right { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55);
  animation: livePulse 2.4s infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.45); }
  70% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
.header-cta {
  font-size: 13px;
  font-weight: 600;
  color: #000;
  background: var(--gold);
  padding: 9px 18px;
  border-radius: 999px;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.header-cta:hover { background: var(--gold-bright); transform: translateY(-1px); }

/* 语言切换 */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.lang-btn:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.07); }
.lang-btn > svg:first-child { width: 15px; height: 15px; opacity: 0.8; }
.lang-caret { width: 13px; height: 13px; opacity: 0.6; transition: transform 0.25s var(--ease); }
.lang-btn[aria-expanded="true"] .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 148px;
  max-height: 322px;
  overflow-y: auto;
  padding: 6px;
  border-radius: 12px;
  background: rgba(18, 18, 18, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  z-index: 70;
}
.lang-menu.is-open { opacity: 1; visibility: visible; transform: none; }
[dir="rtl"] .lang-menu { right: auto; left: 0; transform-origin: top left; }
.lang-menu button {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: start;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.lang-menu button:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.lang-menu button.is-active { color: var(--gold); background: rgba(245, 214, 139, 0.1); }

/* ============================ HERO ============================ */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + 38px) 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #000;
}

.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 40%;
  opacity: 0.52;
  filter: saturate(0.9) contrast(1.05);
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 85% at 78% 42%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.92) 100%),
    linear-gradient(90deg, #000 4%, rgba(0, 0, 0, 0.86) 34%, rgba(0, 0, 0, 0.28) 62%, rgba(0, 0, 0, 0.6) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 32%, rgba(0, 0, 0, 0.95) 100%);
}
.hero-veil::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
  opacity: 0.35;
  mix-blend-mode: overlay;
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 560px);
  align-items: center;
  gap: 56px;
}

.hero-copy { max-width: 600px; }

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}
.kicker-dot {
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 12px 2px rgba(245, 196, 81, 0.6);
}
.kicker-date {
  margin-left: 6px;
  padding-left: 14px;
  border-left: 1px solid var(--line-strong);
  color: var(--muted-2);
  letter-spacing: 0.14em;
}

.hero-title {
  margin-top: 22px;
  font-size: clamp(46px, 5.6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 700;
}
.hero-title span { display: block; }
.gold-text {
  background: linear-gradient(104deg, #fff6e3 0%, var(--gold) 42%, #d9a43c 72%, #fff0cd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.06em;
}

.lede {
  margin-top: 24px;
  max-width: 480px;
  font-size: 15.5px;
  line-height: 1.75;
  color: #b9b9b9;
}

.stage-stats {
  margin-top: 26px;
  display: flex;
  gap: 0;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  max-width: 520px;
}
.stage-stats > div {
  flex: 1;
  padding-right: 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stage-stats > div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}
.stage-stats b {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  transition: color 0.3s var(--ease);
}
.stage-stats b.is-bump { animation: statBump 0.6s var(--ease); }
@keyframes statBump {
  0% { color: var(--gold-bright); transform: translateY(-1px); }
  100% { color: inherit; transform: none; }
}
.stage-stats span { font-size: 10.5px; letter-spacing: 0.1em; color: var(--muted-2); }

/* ---------------- flow panel ---------------- */
.flow-panel {
  margin-top: 26px;
  max-width: 500px;
  padding: 22px 24px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.012) 52%, rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  position: relative;
}
.flow-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(245, 196, 81, 0.35), transparent 30%, transparent 70%, rgba(245, 196, 81, 0.12));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted-2);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.panel-step em { font-style: normal; color: var(--gold); }
.panel-meta { color: var(--muted); }

.flow-state { display: none; }
.flow-state.is-active { display: block; animation: stateIn 0.45s var(--ease); }
@keyframes stateIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.panel-title {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.panel-sub {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.network-tabs {
  margin-top: 18px;
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}
.network-tab {
  padding: 5px 14px;
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  color: var(--muted);
  transition: color 0.22s var(--ease), background 0.22s var(--ease);
}
.network-tab:hover { color: var(--text); }
.network-tab.is-active { background: rgba(245, 196, 81, 0.14); color: var(--gold); }
.network-tab:disabled { opacity: 0.5; cursor: not-allowed; }

.field { display: block; margin-top: 16px; }
.field-label {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
}
.address-input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.01em;
  outline: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
}
.address-input::placeholder { color: #4a4a4a; font-family: var(--font); }
.address-input:focus {
  border-color: rgba(245, 196, 81, 0.65);
  box-shadow: 0 0 0 3px rgba(245, 196, 81, 0.12);
  background: rgba(0, 0, 0, 0.6);
}
.address-input.is-invalid {
  border-color: rgba(255, 92, 92, 0.65);
  box-shadow: 0 0 0 3px rgba(255, 92, 92, 0.1);
}
.field-hint {
  display: block;
  margin-top: 7px;
  font-size: 11px;
  color: var(--muted-2);
  min-height: 15px;
}
.field-hint.is-error { color: var(--danger); }

.btn-primary {
  position: relative;
  overflow: hidden;
  margin-top: 16px;
  width: 100%;
  height: 48px;
  border-radius: 11px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold) 55%, #dfa93a);
  color: #0a0a0a;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  box-shadow: 0 12px 30px -12px rgba(245, 196, 81, 0.5);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), filter 0.22s;
}
.btn-primary svg { width: 17px; height: 17px; transition: transform 0.25s var(--ease); }
.btn-primary:hover { transform: translateY(-1.5px); box-shadow: 0 18px 36px -14px rgba(245, 196, 81, 0.62); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { filter: grayscale(0.6); opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s var(--ease);
}
.btn-primary:not(:disabled):hover::after { left: 130%; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 20px;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  color: #d6d6d6;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}
.btn-ghost:hover { border-color: rgba(245, 196, 81, 0.5); color: var(--gold); background: rgba(245, 196, 81, 0.05); }

.form-note {
  margin-top: 12px;
  font-size: 10.5px;
  color: var(--muted-2);
  letter-spacing: 0.02em;
  text-align: center;
}

/* check list */
.check-list { margin-top: 18px; list-style: none; display: flex; flex-direction: column; gap: 11px; }
.check-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 12.5px;
  color: var(--muted);
  animation: stateIn 0.4s var(--ease) both;
}
.check-list li .ck-icon {
  width: 17px; height: 17px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  position: relative;
}
.check-list li.is-running .ck-icon { border-color: var(--gold); }
.check-list li.is-running .ck-icon::after {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: var(--gold);
  border-right-color: var(--gold);
  animation: spin 0.7s linear infinite;
}
.check-list li.is-done .ck-icon { border-color: rgba(74, 222, 128, 0.6); background: rgba(74, 222, 128, 0.12); }
.check-list li.is-done .ck-icon::after {
  content: "";
  width: 7px; height: 4px;
  border-left: 1.5px solid var(--ok);
  border-bottom: 1.5px solid var(--ok);
  transform: rotate(-45deg) translate(0.5px, -0.5px);
}
.check-list li.is-fail .ck-icon { border-color: rgba(255, 92, 92, 0.6); background: rgba(255, 92, 92, 0.12); }
.check-list li.is-fail .ck-icon::after {
  content: "";
  width: 7px; height: 1.5px;
  background: var(--danger);
  transform: rotate(45deg);
}
.check-list li.is-done { color: #d9d9d9; }
.check-list li.is-fail { color: #ffb3b3; }
.check-list li .ck-val { margin-left: auto; font-size: 11px; color: var(--muted-2); font-family: var(--mono); }
.check-list li.is-done .ck-val { color: rgba(74, 222, 128, 0.85); }
.check-list li.is-fail .ck-val { color: var(--danger); }

@keyframes spin { to { transform: rotate(360deg); } }

.panel-progress-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.panel-progress {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}
.panel-progress span {
  position: relative;
  display: block;
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  transition: width 0.55s var(--ease);
  overflow: hidden;
}
.panel-progress span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: translateX(-100%);
  animation: progressSheen 1.4s linear infinite;
}
@keyframes progressSheen {
  to { transform: translateX(100%); }
}
.progress-pct {
  min-width: 34px;
  text-align: right;
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--gold);
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

/* ready */
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.3);
  background: rgba(74, 222, 128, 0.08);
  color: #86efac;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.verified-badge svg { width: 13px; height: 13px; }

.address-chip {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.45);
}
.address-chip span {
  font-family: var(--mono);
  font-size: 12.5px;
  color: #e8e8e8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.address-chip em {
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--gold);
  border: 1px solid rgba(245, 196, 81, 0.3);
  border-radius: 5px;
  padding: 2px 6px;
  flex: none;
}
.ready-actions { display: flex; gap: 10px; margin-top: 16px; }
.ready-actions .btn-primary { margin-top: 0; flex: 1; }
.ready-actions .btn-ghost { flex: none; }
.flow-state[data-state="ready"] .panel-sub { margin-top: 10px; }

/* error */
.error-badge {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 92, 92, 0.32);
  background: rgba(255, 92, 92, 0.08);
  color: #ff9d9d;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.flow-state[data-state="error"] .btn-primary { margin-top: 18px; }

/* ---------------- wheel ---------------- */
.wheel-stage {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1 / 1;
  margin-left: auto;
  display: grid;
  place-items: center;
  justify-self: center;
}
.stage-glow {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 196, 81, 0.22), rgba(245, 196, 81, 0.05) 48%, transparent 68%);
  filter: blur(30px);
  transition: opacity 0.8s var(--ease);
  opacity: 0.55;
}
.wheel-stage.is-active .stage-glow {
  opacity: 1;
  animation: glowBreath 3.6s ease-in-out infinite;
}
@keyframes glowBreath {
  0%, 100% { transform: scale(0.97); opacity: 0.75; }
  50% { transform: scale(1.04); opacity: 1; }
}

.ticks {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(245, 196, 81, 0.55) 0deg 0.35deg, transparent 0.35deg 4deg);
  -webkit-mask: radial-gradient(circle closest-side, transparent 78%, #000 79%, #000 85%, transparent 86%);
  mask: radial-gradient(circle closest-side, transparent 78%, #000 79%, #000 85%, transparent 86%);
  opacity: 0.5;
  transition: opacity 0.6s var(--ease);
}
.wheel-stage.is-active .ticks { opacity: 0.95; }

.wheel-wrap {
  position: relative;
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  transition: filter 0.7s var(--ease), transform 0.7s var(--ease);
  filter: saturate(0.55) brightness(0.78);
}
.wheel-stage.is-active .wheel-wrap { filter: none; }

.wheel {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(245, 196, 81, 0.32);
  box-shadow:
    0 0 0 6px rgba(245, 196, 81, 0.045),
    0 0 70px rgba(245, 196, 81, 0.14),
    inset 0 0 60px rgba(0, 0, 0, 0.7);
  will-change: transform;
  transform: rotate(0deg);
  overflow: hidden;
}
.wheel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.09), transparent 55%);
  pointer-events: none;
  z-index: 1;
}
.wheel-shade {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 24%, rgba(0, 0, 0, 0.25) 55%, rgba(0, 0, 0, 0.65) 100%);
  pointer-events: none;
  z-index: 1;
}

.wheel-label {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
  will-change: transform;
}
.wheel-label-inner {
  margin-top: 7.2%;
  width: 84px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}
.wheel-label-inner b {
  font-size: clamp(11px, 1.25vw, 15px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.wheel-label-inner i {
  font-style: normal;
  font-size: 8px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}
.wheel-label.is-gold .wheel-label-inner { color: #171002; text-shadow: none; }
.wheel-label.is-gold .wheel-label-inner i { color: rgba(0, 0, 0, 0.55); }

.pointer {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.6));
}
.pointer-pin {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff6dd, var(--gold) 60%, #b8872c);
  box-shadow: 0 0 14px rgba(245, 196, 81, 0.75);
}
.pointer-tri {
  margin-top: 2px;
  width: 0; height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 17px solid var(--gold);
}

.hub {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 31%;
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 7px;
  background: radial-gradient(circle at 40% 30%, rgba(245, 196, 81, 0.3), rgba(0, 0, 0, 0.9) 60%);
  box-shadow:
    0 0 0 1px rgba(245, 196, 81, 0.35),
    0 0 34px rgba(245, 196, 81, 0.28),
    inset 0 0 24px rgba(0, 0, 0, 0.85);
  z-index: 5;
}
.hub-btn {
  width: 100%; height: 100%;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background:
    radial-gradient(circle at 42% 28%, #fff1cd, var(--gold) 46%, #c6922f 100%);
  color: #171002;
  box-shadow: inset 0 -8px 18px rgba(120, 78, 8, 0.35), inset 0 5px 12px rgba(255, 255, 255, 0.45);
  transition: transform 0.3s var(--ease), filter 0.4s var(--ease), box-shadow 0.3s;
}
.hub-btn:not(:disabled):hover { transform: scale(1.035); }
.hub-btn:not(:disabled):active { transform: scale(0.98); }
.hub-btn:disabled {
  background: radial-gradient(circle at 42% 28%, #2b2b2b, #141414 60%, #0a0a0a);
  color: #6c6c6c;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.9);
  cursor: not-allowed;
}
.hub-label { font-size: clamp(13px, 1.5vw, 19px); font-weight: 800; letter-spacing: 0.04em; }
.hub-sub { font-size: clamp(7px, 0.75vw, 9px); letter-spacing: 0.26em; font-weight: 600; opacity: 0.55; }
.hub-btn.is-ready { animation: hubPulse 2.6s ease-in-out infinite; }
@keyframes hubPulse {
  0%, 100% { box-shadow: inset 0 -8px 18px rgba(120, 78, 8, 0.35), inset 0 5px 12px rgba(255,255,255,0.45), 0 0 0 0 rgba(245, 196, 81, 0.45); }
  50% { box-shadow: inset 0 -8px 18px rgba(120, 78, 8, 0.35), inset 0 5px 12px rgba(255,255,255,0.45), 0 0 0 16px rgba(245, 196, 81, 0); }
}

.wheel-stage.is-spinning .stage-glow { animation: none; }

.stage-caption {
  position: absolute;
  bottom: -6px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 22px;
  font-size: 10.5px;
  color: var(--muted-2);
  letter-spacing: 0.06em;
}
.stage-caption span { display: inline-flex; align-items: center; gap: 7px; }
.stage-caption b { color: #d8d8d8; font-weight: 600; font-variant-numeric: tabular-nums; }
.dot-gold {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}

/* ---------------- ticker / claim records ---------------- */
.ticker {
  position: relative;
  z-index: 2;
  margin-top: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.55);
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-head { display: none; }
.ticker-body { overflow: hidden; }
.ticker-body.is-refresh { animation: tickerRefresh 0.6s var(--ease); }
@keyframes tickerRefresh {
  from { opacity: 0.25; }
  to { opacity: 1; }
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: tickerScroll 46s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
}
.ticker-item + .ticker-item { border-left: 1px solid rgba(255, 255, 255, 0.06); }
.ticker-item b { color: #eaeaea; font-family: var(--mono); font-weight: 400; }
.ticker-item em {
  font-style: normal;
  color: var(--gold);
  font-weight: 600;
}
.ticker-time {
  color: var(--muted);
  opacity: 0.55;
  font-size: 10px;
  white-space: nowrap;
}
.ticker-time::before {
  content: "·";
  margin-right: 4px;
  opacity: 0.7;
}

/* 顶部滚动进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1.5px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-bright));
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.is-scrolled .scroll-progress { opacity: 1; }

/* ============================ SECTIONS ============================ */
.section {
  padding: 116px 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.section-head { margin-bottom: 54px; }
.section-head.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 40px;
  align-items: end;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 600;
}
.section h2 {
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.section-sub {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 420px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].in { opacity: 1; transform: none; }

/* hero entrance */
[data-enter] {
  opacity: 0;
  transform: translateY(26px);
  animation: heroIn 1s var(--ease) forwards;
}
[data-enter="1"] { animation-delay: 0.08s; }
[data-enter="2"] { animation-delay: 0.2s; }
[data-enter="3"] { animation-delay: 0.34s; }
[data-enter="4"] { animation-delay: 0.46s; }
[data-enter="5"] { animation-delay: 0.58s; }
@keyframes heroIn {
  to { opacity: 1; transform: none; }
}

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
}
.step {
  padding: 30px 40px 0 0;
  position: relative;
}
.step + .step { padding-left: 40px; border-left: 1px solid var(--line); }
.step-no {
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 196, 81, 0.55);
  display: block;
  margin-bottom: 22px;
}
.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 13px; line-height: 1.75; color: var(--muted); max-width: 300px; }

/* prize table */
.prize-table { border-top: 1px solid var(--line-strong); }
.prize-row {
  display: grid;
  grid-template-columns: 80px 1.4fr 1.1fr 1.2fr;
  align-items: center;
  gap: 24px;
  padding: 18px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}
.prize-row:not(.prize-head):hover { background: rgba(255, 255, 255, 0.025); }
.prize-head {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted-2);
  text-transform: uppercase;
  padding: 12px 8px;
}
.prize-idx { font-family: var(--mono); font-size: 11px; color: var(--muted-2); }
.prize-name { display: flex; align-items: center; gap: 14px; }
.prize-name b {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.prize-name b small { font-size: 10px; font-weight: 500; letter-spacing: 0.12em; color: var(--muted); margin-left: 6px; }
.prize-name .prize-tag {
  font-size: 9px;
  letter-spacing: 0.1em;
  padding: 3px 7px;
  border-radius: 5px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
}
.prize-name .prize-tag.hot { border-color: rgba(245, 196, 81, 0.4); color: var(--gold); }
.prob { display: flex; align-items: center; gap: 12px; }
.prob-bar {
  width: 90px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  flex: none;
}
.prob-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.1s var(--ease);
}
.in .prob-bar span, .prob-bar span.in { transform: scaleX(var(--p, 0)); }
.prob em { font-style: normal; font-size: 12px; color: #cfcfcf; font-variant-numeric: tabular-nums; }
.prize-method { font-size: 12px; color: var(--muted); }

/* records */
.record-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.seg {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}
.seg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 7px;
  font-size: 12px;
  color: var(--muted);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.seg-btn span {
  font-family: var(--mono);
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
}
.seg-btn.is-active { background: rgba(245, 196, 81, 0.12); color: var(--gold); }
.seg-btn.is-active span { background: rgba(245, 196, 81, 0.18); color: var(--gold); }
.ledger-note { font-size: 10.5px; letter-spacing: 0.1em; color: var(--muted-2); }

.record-table { border-top: 1px solid var(--line-strong); min-height: 120px; }
.record-row {
  display: grid;
  grid-template-columns: 170px 1.2fr 100px 1.1fr;
  gap: 20px;
  align-items: center;
  padding: 15px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  animation: stateIn 0.4s var(--ease) both;
}
.record-row.is-head {
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding: 11px 8px;
}
.record-time { font-family: var(--mono); font-size: 10.5px; color: var(--muted-2); }
.record-addr { font-family: var(--mono); font-size: 11.5px; color: #dcdcdc; overflow: hidden; text-overflow: ellipsis; }
.record-prize { color: var(--gold); font-weight: 600; }
.record-tx {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.record-tx:hover { color: var(--gold); }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.28);
  background: rgba(74, 222, 128, 0.07);
  color: #86efac;
  white-space: nowrap;
}
.status-pill.blocked { border-color: rgba(255, 92, 92, 0.28); background: rgba(255, 92, 92, 0.07); color: #ffa3a3; }
.status-pill.processing { border-color: rgba(245, 196, 81, 0.3); background: rgba(245, 196, 81, 0.08); color: var(--gold); }
.record-empty {
  padding: 56px 8px;
  text-align: center;
  color: var(--muted-2);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}
.record-empty b { display: block; color: var(--muted); font-size: 13.5px; font-weight: 500; margin-bottom: 6px; }

/* rules */
.rules-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 60px;
}
.rules-list { list-style: none; border-top: 1px solid var(--line-strong); }
.rules-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.rules-list li span { font-family: var(--mono); font-size: 11px; color: var(--gold); }
.rules-list li p { font-size: 13px; line-height: 1.75; color: #b5b5b5; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 56px 0 64px; background: #000; }
.footer-inner {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) auto;
  gap: 40px;
  align-items: start;
}
.footer-brand .brand-text.large { font-size: 20px; letter-spacing: 0.2em; color: var(--gold); }
.footer-brand p { margin-top: 10px; font-size: 11.5px; color: var(--muted-2); letter-spacing: 0.08em; }
.disclaimer { font-size: 10.5px; line-height: 1.8; color: var(--muted-2); max-width: 560px; }
.copyright { font-size: 10.5px; color: var(--muted-2); letter-spacing: 0.06em; }

/* ============================ MODAL ============================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal-card {
  position: relative;
  width: min(100%, 440px);
  max-height: calc(100svh - 48px);
  overflow-y: auto;
  padding: 34px 32px 28px;
  border-radius: 24px;
  border: 1px solid rgba(245, 196, 81, 0.24);
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(245, 196, 81, 0.14), transparent 70%),
    #070707;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.45s var(--ease);
  text-align: center;
}
.modal.is-open .modal-card { transform: none; }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
  border: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.modal-close svg { width: 15px; height: 15px; }
.modal-close:not(:disabled):hover { color: var(--text); border-color: var(--line); background: rgba(255, 255, 255, 0.05); }
.modal-close:disabled { opacity: 0.3; cursor: not-allowed; }

.modal-eyebrow {
  font-size: 9.5px;
  letter-spacing: 0.28em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.modal-prize {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  min-height: 76px;
  animation: prizePop 0.7s var(--ease);
}
@keyframes prizePop {
  0% { opacity: 0; transform: scale(0.85); }
  60% { transform: scale(1.03); }
  100% { opacity: 1; transform: scale(1); }
}
.prize-amount {
  font-size: 62px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff8e8, var(--gold) 55%, #c7932f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.prize-amount.is-text { font-size: 34px; line-height: 1.3; letter-spacing: -0.02em; }
.prize-unit { font-size: 14px; font-weight: 600; letter-spacing: 0.16em; color: var(--gold); }
.prize-unit.small { font-size: 12px; letter-spacing: 0.1em; }

.modal-title { margin-top: 18px; font-size: 19px; font-weight: 600; letter-spacing: 0.01em; }
.modal-sub { margin-top: 7px; font-size: 12px; line-height: 1.7; color: var(--muted); }

.distribute { margin-top: 24px; text-align: left; }
.distribute-bar {
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 18px;
}
.distribute-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  transition: width 0.6s var(--ease);
}
.distribute-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: -6px 0 16px;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--gold);
}
.distribute-note i {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(245, 214, 139, 0.55);
  animation: notePulse 1.4s ease-out infinite;
}
@keyframes notePulse {
  0% { box-shadow: 0 0 0 0 rgba(245, 214, 139, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(245, 214, 139, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 214, 139, 0); }
}
.distribute-steps { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.distribute-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted-2);
  transition: color 0.35s var(--ease);
}
.distribute-steps li .ds-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #2c2c2c;
  flex: none;
  transition: background 0.3s, box-shadow 0.3s;
}
.distribute-steps li.is-run { color: #dedede; }
.distribute-steps li.is-run .ds-dot { background: var(--gold); box-shadow: 0 0 0 3px rgba(245, 196, 81, 0.16); animation: dsPulse 1s ease-in-out infinite; }
.distribute-steps li.is-ok { color: #a9a9a9; }
.distribute-steps li.is-ok .ds-dot { background: var(--ok); }
.distribute-steps li .ds-time { margin-left: auto; font-family: var(--mono); font-size: 9.5px; color: var(--muted-2); }
@keyframes dsPulse { 50% { opacity: 0.4; } }

.tx-row {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  font-size: 10.5px;
  color: var(--muted-2);
}
.tx-row .tx-hash {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--gold);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 230px;
}

.modal-actions {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.modal-actions .btn-primary { margin-top: 0; }
.modal-actions .btn-ghost { height: 42px; font-size: 12px; border: 0; color: var(--muted); }
.modal-actions .btn-ghost:hover { color: var(--gold); background: transparent; }

/* confetti */
.confetti {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 120;
}

/* toast */
.toast-stack {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 140;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(12, 12, 12, 0.94);
  border: 1px solid var(--line-strong);
  color: #e4e4e4;
  font-size: 12px;
  letter-spacing: 0.01em;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.9);
  animation: toastIn 0.35s var(--ease);
  backdrop-filter: blur(10px);
}
.toast.is-error { border-color: rgba(255, 92, 92, 0.45); color: #ffc9c9; }
.toast.is-success { border-color: rgba(245, 196, 81, 0.45); color: var(--gold-bright); }
.toast.is-out { animation: toastOut 0.3s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px); } }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(340px, 480px); gap: 36px; }
  .stage-stats b { font-size: 17px; }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .hero { min-height: 0; padding-top: calc(var(--header-h) + 32px); }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; padding-top: 20px; }
  .hero-copy { max-width: 560px; }
  .wheel-stage { max-width: 480px; margin: 8px auto 0; }
  .stage-caption { position: static; margin-top: 28px; }
  .section { padding: 84px 0; }
  .section-head.split { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .rules-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .record-row { grid-template-columns: 140px 1fr 90px; }
  .record-row > :nth-child(4) { display: none; }
  .prize-row { grid-template-columns: 56px 1.4fr 1fr; gap: 16px; }
  .prize-row > :nth-child(4) { display: none; }
}

@media (max-width: 720px) {
  .header-inner { padding: 0 20px; gap: 16px; }
  .live { display: none; }
  .header-cta { padding: 8px 14px; font-size: 12px; }
  .lang-btn { height: 30px; padding: 0 9px; font-size: 11.5px; gap: 5px; }
  .lang-btn > svg:first-child { width: 14px; height: 14px; }
  .lang-menu { min-width: 124px; }
  .brand-sub, .brand-divider { display: none; }
  .hero-grid { padding: 0 20px; }
  .wrap { padding: 0 20px; }
  .hero-title { font-size: clamp(42px, 12.5vw, 62px); }
  .lede { font-size: 14px; margin-top: 18px; }
  .stage-stats { gap: 0; }
  .stage-stats > div { padding-right: 10px; }
  .stage-stats > div + div { padding-left: 10px; }
  .stage-stats b { font-size: 15px; }
  .stage-stats span { font-size: 9px; letter-spacing: 0.04em; }
  .flow-panel { padding: 20px; margin-top: 22px; }
  .wheel-stage { max-width: 400px; }
  .wheel-label-inner { width: 62px; margin-top: 8.5%; }
  .wheel-label-inner b { font-size: 10px; }
  .wheel-label-inner i { font-size: 6.5px; }
  .hub { width: 34%; }
  .hub-label { font-size: 13px; }
  .hub-sub { font-size: 7px; }
  .stage-caption { flex-wrap: wrap; gap: 10px 18px; font-size: 10px; }
  .steps { grid-template-columns: 1fr; }
  .step { padding: 24px 0; }
  .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .step-no { font-size: 34px; margin-bottom: 12px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 34px; }
  .prize-row { grid-template-columns: 34px 1fr auto; gap: 10px; padding: 14px 4px; }
  .prize-head > :nth-child(3) { display: none; }
  .prize-name { gap: 8px; }
  .prize-name b { font-size: 16px; }
  .prize-name .prize-tag { display: none; }
  .prob-bar { width: 46px; }
  .prob em { font-size: 10.5px; }
  .record-row { grid-template-columns: 1fr auto; gap: 6px 12px; padding: 13px 4px; }
  .record-row > :nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .record-row > :nth-child(3) { grid-row: 1; }
  .record-row.is-head > :nth-child(2) { display: none; }
  .record-row.is-head { grid-template-columns: 1fr auto; }
  .record-toolbar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .modal-card { padding: 30px 22px 24px; }
  .prize-amount { font-size: 50px; }
  .footer { padding: 40px 0 48px; }
}

/* ============================================================
   MOBILE EXPERIENCE — 移动端专项优化
   ============================================================ */
@media (max-width: 980px) {
  :root { --header-h: 60px; --claim-h: 76px; }
  body.is-claim-collapsed { --claim-h: 42px; }

  /* ---- 领取记录：固定常驻顶部 ---- */
  .ticker {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 55;
    margin: 0;
    border-top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(6, 6, 6, 0.92);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    -webkit-mask: none;
    mask: none;
    box-shadow: 0 16px 34px -24px rgba(0, 0, 0, 0.95);
    animation: claimDrop 0.6s var(--ease) both;
  }
  @keyframes claimDrop {
    from { transform: translateY(-110%); opacity: 0; }
    to { transform: none; opacity: 1; }
  }
  .ticker::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 196, 81, 0.45), transparent);
    pointer-events: none;
  }
  .ticker-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 42px;
    padding: 0 14px 0 18px;
    gap: 12px;
  }
  .ticker-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--gold);
  }
  .ticker-live i {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--ok);
    animation: livePulse 2.4s infinite;
  }
  .ticker-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 2px;
    font-size: 10.5px;
    letter-spacing: 0.04em;
    color: var(--muted);
    transition: color 0.25s var(--ease);
  }
  .ticker-toggle:active { color: var(--gold); }
  .ticker-toggle svg {
    width: 14px; height: 14px;
    transition: transform 0.4s var(--ease);
  }
  .ticker.is-collapsed .ticker-toggle svg { transform: rotate(180deg); }
  .ticker-body {
    max-height: 34px;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease);
  }
  .ticker.is-collapsed .ticker-body { max-height: 0; opacity: 0; }
  .ticker-track { animation-duration: 34s; }
  .ticker-item { padding: 7px 18px; font-size: 10.5px; gap: 7px; }
  .ticker-item .dot-gold { width: 3px; height: 3px; }

  /* ---- 顶部让位与锚点偏移 ---- */
  .hero {
    padding-top: calc(var(--header-h) + var(--claim-h) + 26px);
    transition: padding-top 0.4s var(--ease);
  }
  .section[id] { scroll-margin-top: calc(var(--header-h) + var(--claim-h) + 12px); }
  html { scroll-padding-top: calc(var(--header-h) + var(--claim-h)); }

  /* ---- 头部 ---- */
  .site-header { height: var(--header-h); }
  .site-header.is-scrolled { background: rgba(4, 4, 4, 0.9); }
  .brand-mark { width: 30px; height: 30px; }
  .brand-text { font-size: 15px; }
  .header-cta { display: inline-flex; align-items: center; min-height: 36px; }

  /* ---- 首屏 ---- */
  .hero-grid { gap: 34px; padding-top: 6px; }
  .kicker { font-size: 9.5px; letter-spacing: 0.16em; }
  .lede { font-size: 14px; line-height: 1.8; }
  .stage-stats { margin-top: 22px; padding-top: 16px; }
  .flow-panel {
    margin-top: 20px;
    padding: 20px;
    border-radius: 20px;
    background: linear-gradient(158deg, rgba(22, 22, 22, 0.94), rgba(8, 8, 8, 0.96));
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 18px 44px -26px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }
  .address-input { height: 50px; font-size: 13px; border-radius: 12px; }
  .btn-primary { height: 52px; font-size: 14px; border-radius: 13px; }
  .btn-ghost { height: 52px; border-radius: 13px; }
  .network-tab { min-height: 34px; padding: 6px 15px; }
  .form-note { font-size: 10px; }
  .ready-actions .btn-primary { flex: 1; }
  .ready-actions .btn-ghost { height: 52px; }

  .wheel-stage { max-width: 430px; }
  .wheel-wrap { width: 78%; }
  .stage-glow { filter: blur(20px); }
  .stage-caption { margin-top: 24px; font-size: 10px; }

  /* ---- 区块 ---- */
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 32px; }
  .section h2 { font-size: clamp(26px, 7.2vw, 34px); }
  .section-sub { font-size: 12.5px; }
  .eyebrow { font-size: 9px; margin-bottom: 12px; }
  .step { padding: 22px 0; }
  .step-no { font-size: 32px; margin-bottom: 10px; }
  .step h3 { font-size: 16px; }
  .step p { font-size: 12.5px; }
  .prize-row { padding: 15px 4px; }
  .prize-head { padding: 10px 4px; }
  .record-row { padding: 14px 4px; }
  .seg-btn { min-height: 40px; padding: 9px 15px; }
  .rules-list li { padding: 17px 0; }
  .rules-list li p { font-size: 12.5px; }

  /* ---- 触摸反馈 ---- */
  .btn-primary:active,
  .btn-ghost:active,
  .header-cta:active { transform: scale(0.975); }
  .hub-btn:not(:disabled):active { transform: scale(0.955); }
  .prize-row:active,
  .record-row:active { background: rgba(255, 255, 255, 0.035); }

  [data-reveal] { transform: translateY(16px); transition-duration: 0.6s; }
}

@media (max-width: 720px) {
  :root { --claim-h: 74px; }
  body.is-claim-collapsed { --claim-h: 42px; }

  .hero { padding-top: calc(var(--header-h) + var(--claim-h) + 18px); }
  .hero-grid { gap: 28px; padding-top: 0; }
  .hero-title { font-size: clamp(40px, 11.8vw, 56px); letter-spacing: -0.04em; }
  .hero-img { object-position: 72% 30%; opacity: 0.42; }
  .hero-veil {
    background:
      radial-gradient(120% 70% at 70% 28%, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5) 55%, rgba(0, 0, 0, 0.96) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.22) 34%, #000 100%);
  }
  .stage-stats > div + div { border-left-color: rgba(255, 255, 255, 0.08); }
  .wheel-stage { max-width: 356px; margin-top: 4px; }
  .wheel-wrap { width: 80%; }
  .wheel-label-inner { width: 58px; margin-top: 9%; }
  .wheel-label-inner b { font-size: 9.5px; }
  .wheel-label-inner i { font-size: 6px; letter-spacing: 0.1em; }
  .hub { width: 35%; padding: 5px; }
  .hub-label { font-size: 13px; }
  .pointer-tri { border-top-width: 14px; }
  .stage-caption { flex-wrap: wrap; justify-content: center; gap: 8px 16px; }
  .flow-panel { padding: 18px; border-radius: 18px; }
  .ready-actions { flex-direction: column; }
  .ready-actions .btn-ghost { height: 44px; }
  .panel-title { font-size: 17.5px; }
  .panel-sub { font-size: 12px; }

  /* 结果弹窗 → 底部抽屉 */
  .modal { place-items: end center; padding: 0; }
  .modal-card {
    width: 100%;
    max-height: 92dvh;
    border-radius: 26px 26px 0 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    padding: 30px 22px calc(22px + env(safe-area-inset-bottom, 0px));
    transform: translateY(100%);
    transition: transform 0.48s cubic-bezier(0.22, 0.8, 0.28, 1);
  }
  .modal-card::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 38px;
    height: 3px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.18);
  }
  .modal.is-open .modal-card { transform: none; }
  .modal.is-open { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .prize-amount { font-size: 52px; }
  .prize-amount.is-text { font-size: 28px; }
  .modal-eyebrow { margin-bottom: 16px; }
  .distribute { margin-top: 20px; }
  .toast-stack { bottom: 18px; width: calc(100% - 32px); }
  .toast { width: 100%; justify-content: center; font-size: 12px; }

  .footer-inner { gap: 20px; }
  .disclaimer { font-size: 10px; }
}

/* 触摸设备关闭悬停效果 */
@media (hover: none) {
  .btn-primary::after { display: none; }
  .prize-row:not(.prize-head):hover { background: transparent; }
  .hub-btn:not(:disabled):hover { transform: none; }
  .ticker:hover .ticker-track { animation-play-state: running; }
}

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