/* 币安人会飞 — 主题样式
   深色底 + 琥珀金点缀，纯静态，无外部依赖。 */

:root {
  --bg: #0b0a07;
  --bg-soft: #131109;
  --bg-card: rgba(255, 255, 255, 0.025);
  --line: rgba(212, 175, 55, 0.18);
  --line-strong: rgba(212, 175, 55, 0.38);
  --gold: #d4af37;
  --gold-soft: #e8cf82;
  --text: #f4ecd8;
  --text-dim: #a89d85;
  --ok: #58c98a;
  --warn: #e0a34a;
  --radius: 14px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  background-image:
    radial-gradient(900px 480px at 50% -10%, rgba(212, 175, 55, 0.10), transparent 70%),
    radial-gradient(600px 340px at 85% 10%, rgba(212, 175, 55, 0.05), transparent 70%);
  background-repeat: no-repeat;
}

a { color: var(--gold-soft); text-decoration: none; }
a:hover { color: var(--gold); }

h1, h2, h3 { font-weight: 700; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: .4rem; }
h3 { font-size: 1rem; letter-spacing: .02em; }

.muted { color: var(--text-dim); }
.small { font-size: .86rem; }
.full { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: .85rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(11, 10, 7, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: .65rem; color: var(--text); }
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--gold), #8a6d1f);
  color: #191303;
  font-weight: 900;
  font-size: 1rem;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: .98rem; }
.brand-text small { font-size: .62rem; letter-spacing: .16em; color: var(--text-dim); }

.nav { display: flex; gap: 1.1rem; margin-left: auto; font-size: .88rem; }
.nav a { color: var(--text-dim); }
.nav a:hover { color: var(--gold); }

/* ---------- buttons ---------- */
.btn {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  padding: .6rem 1.1rem;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: .18s ease;
  font-family: inherit;
}
.btn:hover { border-color: var(--gold); color: var(--gold); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary {
  background: linear-gradient(145deg, var(--gold), #a5842a);
  border-color: transparent;
  color: #161004;
}
.btn-primary:hover { color: #161004; filter: brightness(1.08); }
.btn-ghost { border-color: var(--line); }
.btn-outline { border-color: var(--line-strong); }

/* ---------- hero ---------- */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 9vw, 6rem) clamp(1rem, 4vw, 2rem) 2rem;
  text-align: center;
}
.eyebrow {
  font-size: .72rem;
  letter-spacing: .28em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.lede {
  max-width: 620px;
  margin: 1.1rem auto 0;
  color: var(--text-dim);
  line-height: 1.75;
  font-size: .98rem;
}
.hero-actions { display: flex; gap: .75rem; justify-content: center; margin-top: 1.8rem; flex-wrap: wrap; }

/* ---------- panel ---------- */
.panel {
  max-width: var(--maxw);
  margin: 2rem auto;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }

.pill {
  border: 1px solid var(--line-strong);
  color: var(--gold);
  border-radius: 999px;
  padding: .3rem .8rem;
  font-size: .74rem;
  letter-spacing: .08em;
  white-space: nowrap;
}
.pill-quiet { color: var(--text-dim); border-color: var(--line); }

.progress { margin: 1.3rem 0 1.6rem; }
.progress-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.progress-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #8a6d1f, var(--gold));
  transition: width .5s ease;
}
.progress-meta { display: flex; justify-content: space-between; font-size: .82rem; margin-top: .5rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

.card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

/* identity */
.identity {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .7rem .85rem;
  border: 1px dashed var(--line);
  border-radius: 10px;
  font-size: .86rem;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-dim); }
.dot.ok { background: var(--ok); box-shadow: 0 0 10px rgba(88, 201, 138, .6); }
.dot.bad { background: #d75a5a; }

/* stepper */
.label { font-size: .8rem; color: var(--text-dim); margin-top: .2rem; }
.stepper { display: flex; align-items: center; gap: .5rem; }
.stepper button {
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  font-family: inherit;
}
.stepper button:hover { border-color: var(--gold); color: var(--gold); }
.stepper input {
  flex: 1;
  height: 42px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* toggle */
.toggle { display: flex; gap: .5rem; }
.toggle button {
  flex: 1;
  padding: .55rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  font-size: .85rem;
  font-family: inherit;
  transition: .15s;
}
.toggle button.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
}

/* quote */
.quote { margin: .3rem 0; display: flex; flex-direction: column; gap: .45rem; }
.quote > div { display: flex; justify-content: space-between; font-size: .88rem; }
.quote dt { color: var(--text-dim); }
.quote dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }

.fineprint { font-size: .74rem; color: var(--text-dim); line-height: 1.6; margin: .2rem 0 0; }

/* ---------- sections ---------- */
.section {
  max-width: var(--maxw);
  margin: 3.5rem auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  scroll-margin-top: 80px;
}
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.2rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.step {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.3rem;
  background: var(--bg-card);
}
.step-no { font-size: .72rem; letter-spacing: .2em; color: var(--gold); }
.step h3 { margin: .6rem 0 .5rem; }
.step p { margin: 0; font-size: .88rem; color: var(--text-dim); line-height: 1.7; }

/* table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 520px; }
.table th, .table td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.table th { font-size: .74rem; letter-spacing: .12em; color: var(--text-dim); text-transform: uppercase; font-weight: 600; }
.table tr:last-child td { border-bottom: 0; }
.table tr.current td { background: rgba(212, 175, 55, 0.07); color: var(--gold-soft); }
.table td:last-child, .table th:last-child { text-align: right; }

/* stats */
.stat { align-items: flex-start; }
.stat-num { font-size: 1.8rem; font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; }
.stat-label { font-size: .8rem; color: var(--text-dim); }

/* addresses */
.addr-list { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-direction: column; gap: .5rem; }
.addr-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem .9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: .84rem;
  background: var(--bg-card);
  flex-wrap: wrap;
}
.addr-list code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--gold-soft); word-break: break-all; }

/* faq */
details {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .9rem 1.1rem;
  margin-bottom: .6rem;
  background: var(--bg-card);
}
summary { cursor: pointer; font-weight: 600; font-size: .92rem; }
details p { margin: .7rem 0 0; color: var(--text-dim); font-size: .88rem; line-height: 1.7; }

/* footer */
.site-footer {
  max-width: var(--maxw);
  margin: 4rem auto 0;
  padding: 1.6rem clamp(1rem, 4vw, 2rem) 3rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .84rem;
}
.footer-links { display: flex; gap: 1rem; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .grid-2, .grid-3, .steps { grid-template-columns: 1fr; }
  .nav { display: none; }
  .site-header { justify-content: space-between; }
}

/* ---------- 首屏吉祥物 ---------- */
.hero-mascot {
  display: block;
  width: clamp(170px, 24vw, 250px);
  height: auto;
  margin: 0 auto 1.2rem;
  border-radius: 20px;
  filter: drop-shadow(0 18px 40px rgba(212, 175, 55, 0.18));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-mascot { animation: none; }
}
/* 进度条下方的总量说明 */
.progress-sub {
  margin-top: .45rem;
  font-size: .78rem;
  letter-spacing: .02em;
}
.progress-sub b { color: var(--gold-soft); font-variant-numeric: tabular-nums; }