/* ============================================================
   $MPAY — Shout Hub  (neon / dark / arcade style)
   ============================================================ */

:root {
  --bg: #07071a;
  --bg-2: #0b0b26;
  --panel: rgba(20, 16, 52, 0.72);
  --panel-2: rgba(28, 22, 68, 0.6);
  --line: rgba(168, 120, 255, 0.28);
  --line-soft: rgba(168, 120, 255, 0.14);
  --text: #f3efff;
  --muted: #a99ed6;
  --purple: #a855f7;
  --magenta: #ff2fd0;
  --cyan: #22d3ee;
  --orange: #ff8a1f;
  --green: #35e08b;
  --radius: 18px;
  --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --display: "Archivo Black", "Arial Black", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* neon city backdrop */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(60% 40% at 15% 0%, rgba(168, 85, 247, 0.30) 0%, transparent 60%),
    radial-gradient(50% 35% at 85% 5%, rgba(255, 47, 208, 0.22) 0%, transparent 62%),
    radial-gradient(70% 45% at 50% 105%, rgba(34, 211, 238, 0.18) 0%, transparent 65%),
    linear-gradient(180deg, #0a0824 0%, #07071a 45%, #050514 100%);
}

/* perspective grid floor */
body::after {
  content: "";
  position: fixed;
  left: -20%;
  right: -20%;
  bottom: -10vh;
  height: 70vh;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(168, 85, 247, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.14) 1px, transparent 1px);
  background-size: 70px 70px, 70px 70px;
  transform: perspective(340px) rotateX(72deg);
  transform-origin: bottom center;
  mask-image: linear-gradient(180deg, transparent 0%, #000 45%, transparent 100%);
  opacity: 0.55;
}

a { color: inherit; text-decoration: none; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------------- nav ---------------- */

header.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(7, 7, 26, 0.94) 0%, rgba(7, 7, 26, 0.6) 75%, transparent 100%);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 74px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }

.brand-badge {
  width: 38px; height: 38px;
  border-radius: 50%;
  overflow: hidden;
  display: grid; place-items: center;
  background: #0a0824;
  box-shadow: 0 0 22px rgba(255, 47, 208, 0.45);
  font-size: 19px;
}
.brand-badge img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.06); }

.brand-name {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.02em;
  background: linear-gradient(92deg, #fff 10%, #ffd7f6 45%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

nav.links { display: flex; gap: 28px; }
nav.links a { color: var(--muted); font-size: 14px; transition: color .18s ease; }
nav.links a:hover { color: #fff; }

.nav-right { display: flex; align-items: center; gap: 12px; }

/* ---------------- buttons ---------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; font-family: inherit; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; font-size: 13.5px;
  padding: 13px 22px; border-radius: 999px;
  transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.99); }

.btn-primary {
  background: linear-gradient(95deg, var(--orange), #ffb038);
  color: #2a1000;
  box-shadow: 0 0 24px rgba(255, 138, 31, 0.45);
}
.btn-neon {
  background: linear-gradient(95deg, var(--purple), var(--magenta));
  color: #fff;
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.5);
}
.btn-ghost {
  background: rgba(168, 120, 255, 0.1);
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost:hover { box-shadow: 0 0 18px rgba(168, 120, 255, 0.35); }
.btn-sm { padding: 9px 16px; font-size: 12.5px; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* ---------------- hero ---------------- */

.hero { position: relative; padding: 74px 0 40px; text-align: center; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line-soft); border-radius: 999px; padding: 7px 16px;
  background: rgba(168, 120, 255, 0.07);
}

h1 {
  font-family: var(--display);
  font-size: clamp(34px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 22px 0 10px;
  text-transform: uppercase;
  text-shadow: 0 0 26px rgba(255, 47, 208, 0.35), 0 0 60px rgba(168, 85, 247, 0.28);
}

h1 .accent {
  background: linear-gradient(95deg, var(--magenta), var(--purple) 45%, var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero p.lead { color: var(--muted); font-size: 16.5px; max-width: 640px; margin: 0 auto 26px; }

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.badge-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.badge {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(168, 120, 255, 0.08); color: #e9dcff;
}
.badge.orange { border-color: rgba(255, 138, 31, .5); background: rgba(255, 138, 31, .12); color: #ffcf96; }
.badge.cyan { border-color: rgba(34, 211, 238, .45); background: rgba(34, 211, 238, .1); color: #b6f2ff; }


/* ---------------- layout blocks ---------------- */

section { padding: 64px 0; }

h2 {
  font-family: var(--display);
  font-size: clamp(24px, 3.2vw, 36px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 12px;
}

.section-head { max-width: 660px; margin-bottom: 30px; }
.section-head p { color: var(--muted); margin: 0; }

.grid { display: grid; gap: 18px; }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.grid.two { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 34px; align-items: start; }

.card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.card.neon { border-color: var(--line); box-shadow: 0 0 30px rgba(168, 85, 247, 0.16), inset 0 1px 0 rgba(255,255,255,.05); }

.card .step-no {
  font-family: var(--display); font-size: 30px;
  background: linear-gradient(95deg, var(--cyan), var(--purple));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.card h3 { margin: 10px 0 6px; font-size: 17px; text-transform: uppercase; letter-spacing: .04em; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------------- stat tiles ---------------- */

.stat {
  background: linear-gradient(160deg, rgba(28, 22, 68, .85), rgba(16, 12, 44, .7));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.stat .k {
  font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 7px;
}
.stat .v {
  font-family: var(--display);
  font-size: clamp(22px, 2.8vw, 30px);
  margin-top: 8px;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 20px rgba(168, 85, 247, .35);
}
.stat .sub { color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.stat.purple .v { color: #e8d5ff; }
.stat.magenta .v { color: #ffc9f2; }
.stat.cyan .v { color: #bdf1ff; }
.stat.green .v { color: var(--green); }

/* ---------------- dashboard ---------------- */

.dash-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }

.panel-title {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line-soft);
}

.kv { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed rgba(168,120,255,.14); font-size: 14px; }
.kv:last-child { border-bottom: 0; }
.kv .k { color: var(--muted); }
.kv .v { font-variant-numeric: tabular-nums; }

.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; word-break: break-all; }

/* 手动粘贴收款地址（不强制连接钱包） */
.verify-input { 
  width: 100%; margin-top: 6px;
  background: rgba(168,120,255,.06);
  border: 1px solid rgba(168,120,255,.28);
  border-radius: 10px;
  padding: 11px 12px;
  color: inherit;
  outline: none;
}
.verify-input:focus { border-color: var(--accent, #a878ff); background: rgba(168,120,255,.1); }
.verify-input::placeholder { color: rgba(160,150,190,.75); }

/* GMGN / fomo 渠道切换 */
.seg {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  margin: 12px 0 14px; padding: 4px;
  background: rgba(168,120,255,.07);
  border: 1px solid var(--line); border-radius: 12px;
}
.seg-btn {
  appearance: none; cursor: pointer;
  background: transparent; border: 0; border-radius: 9px;
  padding: 9px 10px; color: var(--muted);
  font: inherit; font-size: 13px; font-weight: 600; letter-spacing: .02em;
  transition: background .18s ease, color .18s ease;
}
.seg-btn:hover { color: inherit; }
.seg-btn.is-on {
  color: #fff;
  background: linear-gradient(135deg, rgba(255,157,46,.9), rgba(255,95,162,.9));
  box-shadow: 0 6px 18px rgba(255,95,162,.25);
}
.hint { color: var(--muted); font-size: 12.5px; line-height: 1.5; margin: 8px 0 2px; }

.addr-chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 12px; background: rgba(168,120,255,.08); font-size: 12.5px;
}
.addr-chip button {
  border: 0; background: transparent; color: var(--cyan); cursor: pointer; font-size: 12px; font-family: inherit;
}

/* multiplier + timer */
.mult-row { display: flex; align-items: baseline; gap: 12px; }
.mult-value {
  font-family: var(--display); font-size: clamp(30px, 4vw, 44px);
  color: #fff; text-shadow: 0 0 24px rgba(255, 47, 208, .55);
}
.mult-value small { font-size: 15px; color: var(--muted); margin-left: 6px; text-shadow: none; }

.timer {
  display: flex; align-items: center; justify-content: space-between;
  font-variant-numeric: tabular-nums; font-weight: 700; letter-spacing: .06em; margin-bottom: 8px;
}
.bar { height: 10px; border-radius: 999px; background: rgba(168,120,255,.16); overflow: hidden; }
.bar > i {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--magenta), var(--purple) 55%, var(--cyan));
  box-shadow: 0 0 18px rgba(255, 47, 208, .5);
  transition: width .5s linear;
}
.timer-foot { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12.5px; color: var(--muted); }

/* history list */
.hist { display: flex; flex-direction: column; }
.hist-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px; align-items: center; padding: 10px 0;
  border-bottom: 1px solid var(--line-soft); font-size: 14px;
}
.hist-row:last-child { border-bottom: 0; }
.hist-row .who { display: flex; align-items: center; gap: 9px; min-width: 0; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); flex: 0 0 auto; }
.hist-row .who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.amt { color: var(--green); font-weight: 700; font-variant-numeric: tabular-nums; }
.mult-tag { color: var(--muted); font-size: 12.5px; }
.hist-row a { color: var(--cyan); font-size: 12px; }

/* ---------------- wallet modal ---------------- */

.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(4, 3, 16, 0.78); backdrop-filter: blur(6px);
  display: none; place-items: center; padding: 20px;
}
.modal-backdrop.open { display: grid; }
.modal {
  width: 100%; max-width: 420px;
  background: linear-gradient(165deg, #171236, #0c0a24);
  border: 1px solid var(--line); border-radius: 22px; padding: 24px;
  box-shadow: 0 0 60px rgba(168, 85, 247, .35);
}
.modal h3 { margin: 0 0 4px; font-family: var(--display); font-size: 20px; text-transform: uppercase; }
.modal p { margin: 0 0 18px; color: var(--muted); font-size: 13.5px; }
.wallet-option {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: left;
  background: rgba(168,120,255,.07); border: 1px solid var(--line-soft); border-radius: 14px;
  padding: 14px 16px; margin-bottom: 10px; color: var(--text); cursor: pointer; font-family: inherit; font-size: 15px;
  transition: border-color .16s ease, background .16s ease;
}
.wallet-option:hover { border-color: var(--line); background: rgba(168,120,255,.13); }
.wallet-option .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; }
.wallet-option .ico.mm { background: rgba(255,138,31,.16); }
.wallet-option .ico.okx { background: rgba(34,211,238,.14); }
.wallet-option small { display: block; color: var(--muted); font-size: 12px; }
.modal .close { margin-top: 6px; width: 100%; }

.warn { color: #ffd08a; font-size: 12.5px; margin-top: 12px; }

/* ---------------- whitepaper ---------------- */

.wp-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: start; }
.wp-toc { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; }
.wp-toc a { display: flex; gap: 10px; padding: 6px 0; color: var(--muted); }
.wp-toc a:hover { color: #fff; }
.wp-toc .no { font-family: ui-monospace, monospace; font-size: 11.5px; color: rgba(169, 158, 214, .55); }
.wp-body { max-width: 780px; }
.wp-section { padding-bottom: 42px; margin-bottom: 42px; border-bottom: 1px solid var(--line-soft); scroll-margin-top: 100px; }
.wp-section:last-of-type { border-bottom: 0; }
.wp-section h2 { font-size: clamp(20px, 2.4vw, 26px); }
.wp-p { color: #cdc4ee; margin: 0 0 14px; }
.wp-list { margin: 0 0 18px; padding: 0; list-style: none; }
.wp-list li { position: relative; padding: 9px 0 9px 20px; color: #cdc4ee; border-top: 1px solid var(--line-soft); font-size: 14.5px; }
.wp-list li:last-child { border-bottom: 1px solid var(--line-soft); }
.wp-list li::before { content: "▸"; position: absolute; left: 0; color: var(--magenta); }
.wp-table { border-top: 1px solid var(--line-soft); }
.wp-row { display: grid; grid-template-columns: minmax(120px, .38fr) minmax(0, 1fr); gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.wp-row .k { color: #fff; font-weight: 600; font-size: 14.5px; }
.wp-row .v { color: #cdc4ee; font-size: 14px; }
.notice {
  border: 1px solid rgba(255, 138, 31, .32); border-left: 3px solid var(--orange);
  background: rgba(255, 138, 31, .07); border-radius: 12px; padding: 14px 18px; color: #ffdcb4; font-size: 14px; margin: 18px 0;
}
.kicker-sm { font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }

/* ============================================================
   参考图风格直接画进页面（不用贴图）
   ============================================================ */

/* 首屏：霓虹天际线 + 秒表倒计时环 */
.hero { overflow: hidden; }

.skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: clamp(90px, 13vw, 170px);
  pointer-events: none;
  opacity: .85;
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.hero-ring {
  position: absolute;
  right: clamp(8px, 4vw, 64px);
  top: 74px;
  width: clamp(84px, 11vw, 132px);
  aspect-ratio: 1;
  filter: drop-shadow(0 0 26px rgba(34, 211, 238, .45));
}
.hero-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-track {
  fill: rgba(10, 8, 36, .6);
  stroke: rgba(168, 120, 255, .28);
  stroke-width: 7;
}
.ring-fill {
  fill: none;
  stroke: url(#ringGrad);
  stroke: #22d3ee;
  stroke-width: 7;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s linear;
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, .8));
}
.hero-ring-core {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  font-family: var(--display);
  color: #fff;
  text-shadow: 0 0 18px rgba(255, 47, 208, .6);
}
.hero-ring-core span { font-size: clamp(18px, 2.4vw, 30px); letter-spacing: .02em; }
.hero-ring-core small { font-size: 10px; letter-spacing: .28em; color: var(--cyan); text-shadow: none; }

/* 按钮与卡片里的自绘图标 */
.glyph {
  width: 19px; height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.glyph path:first-child { fill: currentColor; stroke: none; }

.step-glyph {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 42px;
  height: 42px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .55;
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, .6));
}

/* 卡片也换成参考图那种双层霓虹描边 */
.card.neon {
  position: relative;
  border-color: rgba(255, 47, 208, .45);
  box-shadow:
    0 0 26px rgba(168, 85, 247, .22),
    inset 0 0 0 1px rgba(34, 211, 238, .12),
    inset 0 0 40px rgba(168, 85, 247, .1);
}
.card.promo { position: relative; overflow: hidden; border-color: rgba(168, 120, 255, .38); }
.card.promo::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255, 47, 208, .22);
  border-radius: 12px;
  pointer-events: none;
}
.card.promo h3, .card.promo p, .card.promo .step-no { position: relative; z-index: 1; }

.multiplier-table { position: relative; }
.timer-label { display: inline-flex; align-items: center; }

/* ---------------- footer ---------------- */

footer { border-top: 1px solid var(--line-soft); margin-top: 40px; padding: 34px 0 54px; }
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; }
.foot a:hover { color: #fff; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px);
  background: rgba(20, 16, 52, .96); border: 1px solid var(--line); color: #fff;
  padding: 11px 18px; border-radius: 999px; font-size: 13.5px; opacity: 0;
  transition: opacity .2s ease, transform .2s ease; pointer-events: none; z-index: 120;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 960px) {
  .grid.two, .dash-grid, .wp-layout { grid-template-columns: 1fr; gap: 22px; }
  nav.links { display: none; }
  .wp-toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px 16px; }
  .hero { padding-top: 46px; }
  .hero-ring { width: 74px; top: 58px; right: 10px; opacity: .9; }
  .hero-ring-core span { font-size: 17px; }
  .hero-ring-core small { font-size: 8px; letter-spacing: .2em; }
  .step-glyph { width: 34px; height: 34px; opacity: .45; }
  .skyline { height: 84px; }
}
