/* BNW 落地页样式。颜色和节奏按原站版式重写，不引用原站脚本。 */
:root {
  --ink: #020708;
  --fg: #f8fbfa;
  --mute: #a4afb3;
  --accent: #20e69a;
  --line: #21453c;
  --glow: 0 16px 34px #20e69a36;
  --sans: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-width: 320px; min-height: 100%; }
body {
  color: var(--fg);
  font-family: var(--sans);
  background-color: #020708;
  background-image:
    radial-gradient(circle at 57% 47%, #20e69a21, transparent 25%),
    linear-gradient(115deg, #03100f, #030709 48%, #04070a);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: #20e69a59; }

.shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 20px 0 38px;
  position: relative;
  isolation: isolate;
}
.shell::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 92px -48px 0;
  pointer-events: none;
  background-image:
    linear-gradient(#76f7bf0e 1px, transparent 1px),
    linear-gradient(90deg, #76f7bf0e 1px, transparent 1px);
  background-size: 76px 76px;
  animation: grid-drift 26s linear infinite;
  -webkit-mask-image: radial-gradient(at 42% 18%, #000, transparent 66%);
  mask-image: radial-gradient(at 42% 18%, #000, transparent 66%);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: 5px;
}
.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid #2ba886;
  background: #071514;
  color: var(--accent);
  letter-spacing: 0;
  font-size: 16px;
}
.nav-desk {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 700;
  color: #dce5e2;
}
.nav-desk a:hover, .nav-desk a.is-on { color: var(--accent); }
.tools { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.lang {
  position: relative;
}
.lang select {
  height: 40px;
  min-width: 108px;
  appearance: none;
  border-radius: 10px;
  border: 1px solid #26353a;
  background: #10181d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a4afb3' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: #f4f7f6;
  font-weight: 700;
  font-size: 14px;
  padding: 4px 28px 4px 14px;
  cursor: pointer;
}
.lang select:focus { outline: none; border-color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 900;
  transition: transform .2s, filter .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-green {
  background: linear-gradient(135deg, #18dc94, #72f4a9);
  color: #031413;
  box-shadow: var(--glow);
}
.btn-sm { height: 36px; min-width: 36px; padding: 0 12px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 0 25px; font-size: 15px; }
.btn-ghost {
  height: 36px;
  padding: 0 12px;
  border-color: var(--line);
  background: #141f25;
  color: var(--fg);
  font-size: 14px;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); filter: none; }
.only-sm { display: none; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: 48px;
  align-items: start;
}
.hero-grid > * { min-width: 0; }
.hero {
  position: relative;
  isolation: isolate;
  min-height: 560px;
  overflow: hidden;
}
.hero-scan::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 16%;
  left: -42%;
  width: 112%;
  height: 1px;
  pointer-events: none;
  filter: drop-shadow(0 0 8px #42f8aa);
  background: linear-gradient(90deg, transparent, #57ffb80d, #81ffcae6, #57ffb80d, transparent);
  animation: scanline 9s ease-in-out infinite;
}
.orbit {
  position: absolute;
  z-index: 0;
  top: 40px;
  left: 52%;
  width: min(720px, 92vw);
  height: min(620px, 92vw);
  transform: translateX(-42%);
  pointer-events: none;
  opacity: .82;
  -webkit-mask-image: radial-gradient(#000 0 52%, transparent 79%);
  mask-image: radial-gradient(#000 0 52%, transparent 79%);
}
.orbit::before {
  content: "";
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  filter: blur(14px);
  background: radial-gradient(circle, #19ea8e52, #106f4b24 42%, transparent 70%);
  animation: orbit-breath 4s ease-in-out infinite;
}
.ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid #67ffba7a;
  border-radius: 50%;
  box-shadow: 0 0 18px #1ef49238, inset 0 0 18px #1ef4921f;
  animation: orbit-turn 13s linear infinite;
}
.ring-a { width: 76%; height: 27%; transform: translate(-50%, -50%) rotate(-18deg); }
.ring-b { width: 91%; height: 38%; border-color: #deb7606e; animation-duration: 17s; animation-direction: reverse; transform: translate(-50%, -50%) rotate(20deg); }
.ring-c { width: 106%; height: 46%; animation-duration: 22s; transform: translate(-50%, -50%) rotate(-5deg); }
.core {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 42%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 28px #2cff9da6);
  animation: orbit-core 4.8s ease-in-out infinite;
}
.coin {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: 17%;
  aspect-ratio: 1;
  filter: drop-shadow(0 0 12px #45ffa77a);
  animation: coin-orbit 12s linear infinite;
}
.coin svg, .core svg { width: 100%; height: 100%; display: block; }
.coin:nth-child(5) { animation-delay: -1s; }
.coin:nth-child(6) { animation-delay: -3s; }
.coin:nth-child(7) { animation-delay: -5s; }
.coin:nth-child(8) { animation-delay: -7s; }
.coin:nth-child(9) { animation-delay: -9s; }
.coin:nth-child(10) { animation-delay: -11s; }

.z1 { position: relative; z-index: 1; }
.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #2f6052;
  background: #111d1e;
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
}
.kicker {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 4px;
}
h1 {
  margin: 24px 0 0;
  max-width: 620px;
  font-size: clamp(40px, 4.6vw, 60px);
  max-width: 100%;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -2px;
  text-shadow: 0 2px 30px #020708;
}
.lead {
  margin: 16px 0 0;
  max-width: 560px;
  color: #c2cbcf;
  line-height: 1.75;
}
.pills { display: flex; flex-wrap: wrap; gap: 7px; margin: 20px 0 0; padding: 0; list-style: none; }
.pills li {
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid #295445;
  background: #061411a8;
  color: #a8eac7;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  animation: coin-pulse 3s ease-in-out infinite;
}
.hero .btn-lg { margin-top: 24px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 40px;
  padding: 20px 24px;
  border-radius: 13px;
  border: 1px solid #21453c;
  background: #09181bb3;
}
.stats strong, .trust strong { display: block; font-size: 14px; }
.stats span, .trust span, .card p, .form-card .desc {
  display: block;
  margin-top: 6px;
  color: var(--mute);
  font-size: 12px;
  line-height: 1.45;
}
.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
  padding: 22px 24px;
  border-radius: 12px;
  border: 1px solid #183b33;
  background: #081619a8;
}

.form-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid #40a983;
  border-radius: 21px;
  background:
    radial-gradient(circle at 92% 7%, #20fda922, transparent 34%),
    linear-gradient(#0f171bed, #0d1218ed);
  box-shadow: 0 28px 80px #0006;
}
.form-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 24%, #68ffc30d 39%, #80ffcdf2 50%, #68ffc30d 61%, transparent 76%) 0 0 / 260% 100%;
  animation: border-sweep 8s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.form-card h2 { margin: 0 0 10px; font-size: 29px; font-weight: 600; }
.form-card .desc { margin: 0 0 24px; color: #a8b1b6; font-size: 14px; line-height: 1.6; }
.form-card legend { margin-bottom: 8px; font-size: 14px; font-weight: 800; }
.nets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border: 0; margin: 0 0 16px; padding: 0; }
.net { position: relative; cursor: pointer; }
.net input { position: absolute; opacity: 0; }
.net span {
  display: grid;
  height: 44px;
  place-items: center;
  border-radius: 10px;
  border: 1px solid #2a373c;
  background: #141f25;
  color: #aeb9bd;
  font-size: 14px;
  font-weight: 700;
}
.net input:checked + span {
  border-color: var(--accent);
  background: linear-gradient(135deg, #18d98f, #71f4a9);
  color: #031413;
}
.form-card .btn-lg { width: 100%; margin-top: 4px; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.card {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid #253137;
  background: #0a1417b8;
}
.card h2 { margin: 0 0 10px; font-size: 18px; font-weight: 600; }
.card p { margin: 0; color: #a8b4b8; font-size: 13px; line-height: 1.6; }
.card .btn { margin-top: 16px; }

.foot {
  padding: 24px 0 24px;
  color: var(--mute);
  font-size: 12px;
}
.foot a { color: #c2cbcf; }
.foot a:hover { color: var(--accent); }
.dot { margin: 0 8px; color: #21453c; }

.tabbar {
  display: none;
  position: fixed;
  z-index: 40;
  inset: auto 0 0 0;
  border-top: 1px solid var(--line);
  background: #020708eb;
  backdrop-filter: blur(8px);
}
.tabbar ul {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  max-width: 64rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.tabbar a {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--mute);
}
.tabbar a.is-on { color: var(--accent); }

.page-main { padding-bottom: 28px; }
.page-main h1 { font-size: clamp(32px, 4vw, 52px); }
.panel {
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: 14px;
  border: 1px solid #253137;
  background: #0a1417b8;
}
.panel h2 { margin: 0 0 10px; font-size: 18px; }
.panel p, .panel li { color: #c2cbcf; line-height: 1.7; font-size: 14px; }
.bars { display: grid; gap: 12px; margin-top: 8px; }
.bar-row { display: grid; grid-template-columns: 140px 1fr 48px; gap: 10px; align-items: center; font-size: 13px; }
.track { height: 8px; border-radius: 99px; background: #12211e; overflow: hidden; }
.track i { display: block; height: 100%; background: linear-gradient(90deg, #18dc94, #72f4a9); }

.swap-box, .stake-box { display: grid; gap: 12px; max-width: 460px; }
.field {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #26353a;
  background: #10181d;
}
.field input, .field select {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font-weight: 700;
}
.vote-row { display: flex; gap: 10px; margin-top: 12px; }
.note { margin-top: 12px; color: #9ee5c2; font-size: 13px; }

.mask {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  background: #020708b3;
  padding: 16px;
}
.mask.is-open { display: grid; }
.modal {
  width: min(420px, 100%);
  padding: 22px;
  border-radius: 16px;
  border: 1px solid #2f6052;
  background: #0d1218;
  box-shadow: 0 26px 90px #000b;
}
.modal h2 { margin: 0 0 12px; font-size: 22px; }
.tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.tabs button {
  flex: 1;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #2a373c;
  background: #141f25;
  font-weight: 800;
}
.tabs button.is-on {
  border-color: var(--accent);
  background: linear-gradient(135deg, #18d98f, #71f4a9);
  color: #031413;
}
.wallets { display: grid; gap: 8px; }
.wallets button, .scan-box {
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #253137;
  background: #10181d;
  font-weight: 700;
}
.wallets button:hover { border-color: var(--accent); }
.scan-box { color: #a8b1b6; font-weight: 500; line-height: 1.6; font-size: 14px; }
.modal .fine { margin: 12px 0 0; color: var(--mute); font-size: 12px; }

@keyframes grid-drift { to { background-position: 76px 76px; } }
@keyframes border-sweep { to { background-position: -260% 0; } }
@keyframes scanline {
  0%, 18%, 100% { opacity: 0; transform: translateX(-40%); }
  40%, 58% { opacity: .85; transform: translateX(132%); }
  76% { opacity: 0; }
}
@keyframes coin-pulse {
  50% { color: #dcffec; border-color: #51d89b; box-shadow: 0 0 16px #24df8b25; }
}
@keyframes orbit-turn { to { transform: translate(-50%, -50%) rotate(342deg); } }
@keyframes orbit-breath { 50% { opacity: .68; transform: scale(1.16); } }
@keyframes orbit-core { 50% { transform: translate(-50%, -50%) scale(1.07) rotate(2deg); } }
@keyframes coin-orbit {
  from { transform: rotate(0deg) translateX(220px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(220px) rotate(-360deg); }
}

@media (max-width: 1000px) {
  .hero-grid, .cards, .trust, .stats { grid-template-columns: 1fr 1fr; }
  .hero-grid, .cards { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .shell { width: calc(100% - 24px); }
  .topbar { margin-bottom: 32px; align-items: flex-start; }
  .logo { font-size: 19px; letter-spacing: 3px; }
  .nav-desk { display: none; }
  .only-sm { display: inline; }
  .hide-sm { display: none; }
  .hero { min-height: 420px; }
  .orbit { opacity: .55; width: 520px; height: 520px; top: 8px; left: 50%; transform: translateX(-50%); }
  .form-card { padding: 24px 18px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .tabbar { display: block; }
  body { padding-bottom: 56px; }
  .foot { padding-bottom: 12px; }
}
@media (max-width: 640px) {
  .nets { grid-template-columns: 1fr; }
  @keyframes coin-orbit {
    from { transform: rotate(0deg) translateX(150px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(150px) rotate(-360deg); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .shell::before, .form-card::after, .hero-scan::before, .ring, .core, .coin, .orbit::before, .pills li { animation: none !important; }
}


/* imToken 引导 */
.wallet-item-tip {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #72f4a9;
}
.wallet-app-guide {
  margin-top: 14px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #2f6052;
  background: #0b1a18;
  color: #dce5e2;
  font-size: 13px;
  line-height: 1.55;
}
.wallet-app-guide strong {
  display: block;
  margin-bottom: 8px;
  color: #72f4a9;
  font-size: 14px;
}
.wallet-app-guide ol {
  margin: 0 0 12px 1.1em;
  padding: 0;
}
.wallet-app-guide li { margin: 4px 0; }
.wallet-guide-actions { display: grid; gap: 8px; }
