:root {
  --bg: #030709;
  --panel: rgba(8, 22, 20, 0.88);
  --line: rgba(120, 255, 200, 0.12);
  --text: #f3fbf8;
  --muted: #9bb5ab;
  --green: #20e69a;
  --green-deep: #0ea56d;
  --danger: #ff7b7b;
  --font: "Manrope", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "Outfit", "Manrope", sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: #030709;
  overflow-x: hidden;
}
.glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 57% 40%, rgba(32,230,154,.16), transparent 28%),
    radial-gradient(circle at 20% 10%, rgba(32,230,154,.08), transparent 30%),
    linear-gradient(115deg, #03100f, #030709 48%, #04070a);
  z-index: 0;
}
.page {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 28px));
  margin: 0 auto;
  padding: calc(14px + env(safe-area-inset-top)) 0 40px;
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.logo {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 1.15rem;
}
.lang-btn {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.hero {
  display: grid;
  gap: 12px;
  justify-items: stretch;
  padding: 4px 0 10px;
  isolation: isolate;
}
.hero-copy {
  display: grid;
  gap: 10px;
  justify-items: start;
  position: relative;
  z-index: 3;
}
.eyebrow {
  margin: 0;
  color: var(--green);
  font-weight: 800;
  letter-spacing: 0.04em;
}
.hero h1 {
  margin: 0;
  max-width: 14ch;
  font-family: var(--display);
  font-size: clamp(2rem, 8vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.hero h1 em {
  font-style: normal;
  color: var(--green);
}
.lead {
  margin: 0;
  max-width: 36ch;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 600;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  border: 0;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary {
  color: #04130f;
  background: linear-gradient(135deg, #35f0b0, #12b87a);
  box-shadow: 0 12px 30px rgba(18, 184, 122, 0.28);
}
.btn-block { width: 100%; }
.btn-ghost {
  width: 100%;
  color: var(--text);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
}

.orbit {
  position: relative;
  z-index: 1;
  width: min(100%, 280px);
  height: 168px;
  margin: 0 auto;
  justify-self: center;
  pointer-events: none;
}
.orbit-core {
  position: absolute;
  z-index: 2;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 112px;
  height: 112px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  background: radial-gradient(circle at 35% 30%, #1a3d34, #071512 70%);
  border: 1px solid rgba(32,230,154,0.35);
  box-shadow: 0 0 40px rgba(32,230,154,0.2);
}
.orbit-core img { width: 42px; height: 42px; object-fit: contain; }
.orbit-core strong { font-family: var(--display); font-size: 1.5rem; line-height: 1; }
.orbit-core span { color: var(--muted); font-size: 0.75rem; font-weight: 700; }
.coin {
  position: absolute;
  z-index: 0;
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.35));
  animation: spin 18s linear infinite;
}
.c1 { offset-path: path("M150,12 A130,95 0 1,1 149.9,12"); offset-distance: 0%; animation-duration: 22s; }
.c2 { offset-path: path("M150,12 A130,95 0 1,1 149.9,12"); offset-distance: 20%; animation-duration: 22s; }
.c3 { offset-path: path("M150,12 A130,95 0 1,1 149.9,12"); offset-distance: 40%; animation-duration: 22s; }
.c4 { offset-path: path("M150,12 A130,95 0 1,1 149.9,12"); offset-distance: 60%; animation-duration: 22s; }
.c5 { offset-path: path("M150,12 A130,95 0 1,1 149.9,12"); offset-distance: 80%; animation-duration: 22s; }
@supports not (offset-path: path("M0,0")) {
  .c1 { left: 46%; top: 4%; }
  .c2 { right: 2%; top: 28%; }
  .c3 { right: 10%; bottom: 8%; }
  .c4 { left: 8%; bottom: 10%; }
  .c5 { left: 0%; top: 34%; }
  .coin { animation: floaty 5s ease-in-out infinite; }
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 42px 0 0;
  width: 100%;
  position: relative;
  z-index: 5;
}
.stats div {
  padding: 12px;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  position: relative;
  z-index: 5;
  backdrop-filter: blur(8px);
}
.stats strong {
  display: block;
  font-family: var(--display);
  margin-bottom: 4px;
}
.stats span { color: var(--muted); font-size: 0.82rem; font-weight: 600; }

.panel {
  padding: 18px 16px;
  border-radius: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.panel h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 1.35rem;
}
.desc { margin: 0 0 16px; color: var(--muted); font-weight: 600; line-height: 1.5; }
form { display: grid; gap: 12px; }
label { display: grid; gap: 8px; font-weight: 700; font-size: 0.92rem; }
label small { color: var(--muted); font-weight: 600; }
input, select {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.28);
  color: var(--text);
  padding: 0 12px;
  font: inherit;
  font-size: 16px;
}
input:focus, select:focus {
  outline: none;
  border-color: rgba(32,230,154,0.55);
  box-shadow: 0 0 0 3px rgba(32,230,154,0.12);
}
.nets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.net {
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.net.active {
  color: #04130f;
  background: var(--green);
  border-color: var(--green);
}
.consent {
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--muted);
}
.consent input { width: 18px; height: 18px; min-height: 18px; margin-top: 2px; }
.err { margin: 0; color: var(--danger); font-weight: 700; }
.safe-note { margin: 0; color: var(--muted); font-size: 0.8rem; line-height: 1.5; font-weight: 600; }
.success { text-align: center; padding: 24px 8px; }
.success h3 { margin: 0 0 8px; color: var(--green); font-family: var(--display); }
.success p { margin: 0; color: var(--muted); font-weight: 600; }

.trust {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}
.trust article {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
}
.trust h3 { margin: 0 0 6px; color: var(--green); }
.trust p { margin: 0; color: var(--muted); font-weight: 600; line-height: 1.5; font-size: 0.9rem; }

.rules {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.2);
}
.rules h2 { margin: 0 0 10px; font-size: 1.1rem; }
.rules ul { margin: 0; padding-left: 18px; color: var(--muted); font-weight: 600; line-height: 1.55; }
.foot {
  margin-top: 22px;
  text-align: center;
  color: #678278;
  font-size: 0.78rem;
  font-weight: 700;
}

.lang-sheet {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0,0,0,0.55);
  display: none;
  align-items: end;
}
.lang-sheet.is-open { display: grid; }
.lang-sheet[hidden] { display: none !important; }
.lang-sheet-inner {
  background: #0b1614;
  border-radius: 20px 20px 0 0;
  padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}
.lang-sheet-inner > p {
  margin: 0 0 12px;
  font-family: var(--display);
  font-weight: 800;
}
.lang-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.lang-grid button {
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.lang-grid button.active {
  border-color: var(--green);
  color: var(--green);
}

@keyframes spin { to { offset-distance: 100%; } }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (min-width: 860px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-areas:
      "copy orbit"
      "stats stats";
    align-items: center;
    padding-bottom: 4px;
    column-gap: 20px;
    row-gap: 12px;
  }
  .hero-copy { grid-area: copy; }
  .orbit {
    grid-area: orbit;
    margin: 0;
    height: 220px;
    justify-self: end;
  }
  .stats {
    grid-area: stats;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 24px;
  }
  .trust { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .coin { animation: none !important; }
}
