:root {
  color-scheme: dark;
  --ink: #020616;
  --panel: rgba(12, 20, 48, .76);
  --panel-solid: #0b1533;
  --text: #eef3ff;
  --muted: #a1aec9;
  --cyan: #4deaf3;
  --violet: #815dff;
  --pink: #ff66ba;
  --line: rgba(176, 204, 255, .17);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Noto Sans SC", sans-serif;
  background:
    radial-gradient(circle at 8% 2%, rgba(52, 227, 242, .18), transparent 29rem),
    radial-gradient(circle at 96% 9%, rgba(134, 76, 255, .25), transparent 31rem),
    radial-gradient(circle at 52% 68%, rgba(255, 78, 174, .10), transparent 34rem),
    var(--ink);
}
a { color: inherit; }
.shell { width: min(1080px, calc(100% - 40px)); margin: auto; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 24px 0; }
.brand, .nav a { text-decoration: none; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 850; letter-spacing: .01em; }
.brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 8px 22px rgba(0,0,0,.3); }
.nav { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: 14px; }
.nav a:hover, .nav a:focus-visible { color: #fff; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 76px; align-items: center; padding: 72px 0 58px; }
.eyebrow { margin: 0 0 10px; color: var(--cyan); font-size: 13px; font-weight: 850; letter-spacing: .18em; }
h1 { margin: 0; max-width: 720px; color: #fff; font-size: clamp(48px, 8vw, 82px); line-height: .99; letter-spacing: -.04em; }
.gradient-text { color: transparent; background: linear-gradient(100deg, var(--cyan), #9d82ff 51%, var(--pink)); background-clip: text; -webkit-background-clip: text; }
.lead { max-width: 690px; margin: 25px 0 0; color: var(--muted); font-size: clamp(18px, 2.4vw, 22px); }
.platform-note { min-height: 26px; margin: 22px 0 0; color: #c1ccdf; font-size: 14px; }
.actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 660px;
  margin-top: 18px;
}
.button {
  display: flex;
  width: 100%;
  min-height: 80px;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid rgba(150, 190, 255, .32);
  border-radius: 18px;
  color: #fff;
  font-weight: 780;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, filter .18s ease;
}
.button:hover, .button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(77, 234, 243, .82);
  box-shadow: 0 16px 34px rgba(20, 24, 70, .34);
}
.button-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 13px;
  background: rgba(255, 255, 255, .13);
  color: #fff;
  font-size: 25px;
  line-height: 1;
}
.button-copy { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.button-title { font-size: 18px; font-weight: 820; white-space: nowrap; }
.button small { display: block; margin-top: 6px; font-size: 12px; font-weight: 650; opacity: .78; }
.store-button {
  min-height: 78px;
  gap: 13px;
  padding: 10px 17px;
  border-color: rgba(255, 255, 255, .46);
  border-radius: 13px;
  background: linear-gradient(180deg, #2b2b2b, #1e1e1e);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255,255,255,.06);
}
.store-button:hover, .store-button:focus-visible {
  border-color: rgba(255, 255, 255, .82);
  background: linear-gradient(180deg, #343434, #242424);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255,255,255,.08);
}
.store-button .badge-icon {
  width: 43px;
  height: 50px;
  flex-basis: 43px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: inherit;
}
.store-button .badge-icon svg { display: block; width: 100%; height: 100%; }
.store-button .badge-icon svg path { filter: drop-shadow(0 2px 4px rgba(0,0,0,.18)); }
.badge-copy { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; justify-content: center; line-height: 1; }
.badge-kicker { color: rgba(255,255,255,.94); font-size: 12px; font-weight: 560; letter-spacing: .015em; white-space: nowrap; }
.badge-name { margin-top: 4px; color: #fff; font-size: clamp(21px, 2.55vw, 27px); font-weight: 500; letter-spacing: -.035em; line-height: .98; white-space: nowrap; }
.apple-button, .google-button { color: #fff; }
.apk-button .apk-icon {
  width: 43px;
  height: 50px;
  flex-basis: 43px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.apk-button .apk-icon img {
  display: block;
  width: 42px;
  height: 49px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.18));
}
.apk-button {
  grid-column: 1 / -1;
}
.button.primary {
  border-color: transparent;
  background: linear-gradient(125deg, #168fae, #7458f2 57%, #d84e9b);
  box-shadow: 0 16px 38px rgba(88, 76, 225, .36);
}
.store-button.primary {
  border-color: rgba(255, 255, 255, .78);
  background: linear-gradient(180deg, #303030, #202020);
  box-shadow: 0 0 0 2px rgba(255,255,255,.12), 0 12px 28px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255,255,255,.08);
}
.button.pending {
  cursor: default;
  filter: saturate(.55);
  opacity: .68;
}
.button.pending:hover { transform: none; border-color: rgba(150, 190, 255, .32); box-shadow: 0 12px 28px rgba(0, 0, 0, .18); }
.qr-card {
  position: relative; padding: 18px; border: 1px solid var(--line); border-radius: 28px; text-align: center;
  background: linear-gradient(145deg, rgba(19, 31, 70, .9), rgba(8, 14, 35, .92)); box-shadow: 0 28px 80px rgba(0, 0, 0, .36);
}
.qr-card::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: linear-gradient(135deg, rgba(77,234,243,.5), transparent 42%, rgba(255,102,186,.45)); filter: blur(12px); opacity: .48; }
.qr-card img { display: block; width: 100%; height: auto; border-radius: 16px; background: #fff; }
.qr-card p { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.browser-tip[hidden] { display: none; }
.browser-tip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px 11px;
  margin-top: 15px;
  padding: 13px;
  border: 1px solid rgba(77, 234, 243, .34);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(28, 70, 93, .58), rgba(47, 35, 86, .48));
  text-align: left;
}
.browser-tip-mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(77,234,243,.32), rgba(129,93,255,.4));
  color: #e9fcff;
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
}
.browser-tip-copy { min-width: 0; }
.browser-tip-copy strong { display: block; color: #fff; font-size: 13px; line-height: 1.2; }
.browser-tip-copy p { margin: 4px 0 0; color: #c3d2e8; font-size: 12px; line-height: 1.45; }
.browser-tip-button {
  grid-column: 2;
  justify-self: start;
  padding: 7px 11px;
  border: 1px solid rgba(151, 242, 248, .46);
  border-radius: 9px;
  background: rgba(4, 20, 44, .35);
  color: #e7fdff;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}
.browser-tip-button:hover, .browser-tip-button:focus-visible { border-color: rgba(151, 242, 248, .9); background: rgba(13, 44, 68, .55); }
.browser-gate[hidden] { display: none; }
.browser-gate {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: auto;
  background: rgba(3, 5, 17, .72);
  backdrop-filter: blur(2px) brightness(.58) saturate(.72);
  -webkit-backdrop-filter: blur(2px) brightness(.58) saturate(.72);
}
.browser-gate-message {
  width: min(760px, calc(100% - 34px));
  margin-top: clamp(48px, 12vh, 126px);
  padding: 0 0 42px;
  text-align: center;
}
.browser-gate-dots {
  display: block;
  width: 58px;
  margin: 0 7% 14px auto;
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: .09em;
  line-height: .5;
  text-align: center;
}
.browser-gate-line {
  margin: 0;
  color: transparent;
  background: linear-gradient(95deg, #55f0ee 8%, #8e7bff 48%, #ff75c5 92%);
  background-clip: text;
  -webkit-background-clip: text;
  font-weight: 850;
  letter-spacing: -.015em;
  line-height: 1.15;
  text-shadow: 0 4px 20px rgba(77, 234, 243, .15);
}
.browser-gate-cn { font-size: clamp(22px, 4vw, 34px); }
.browser-gate-en { margin-top: 5px; font-size: clamp(18px, 3.2vw, 28px); }
.browser-gate-gap { margin-top: clamp(30px, 5vh, 52px); }
.browser-gate-copy {
  margin-top: 28px;
  padding: 9px 16px;
  border: 1px solid rgba(198, 241, 255, .48);
  border-radius: 11px;
  background: rgba(12, 25, 53, .46);
  color: #e6fbff;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}
.browser-gate-copy:hover, .browser-gate-copy:focus-visible { border-color: rgba(198, 241, 255, .95); background: rgba(19, 45, 73, .66); }
.icon-orbit { display: none; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 20px 0 70px; }
.feature { min-height: 190px; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); backdrop-filter: blur(12px); }
.feature .symbol { display: grid; width: 44px; height: 44px; place-items: center; margin-bottom: 28px; border-radius: 14px; background: linear-gradient(135deg, rgba(77,234,243,.19), rgba(129,93,255,.24)); color: var(--cyan); font-size: 22px; }
.feature h2 { margin: 0 0 8px; color: #fff; font-size: 19px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }
.install { margin-bottom: 72px; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--panel); }
.install h2 { margin: 0 0 14px; color: #fff; }
.install ol { margin: 0; padding-left: 22px; color: var(--muted); }
.install strong { color: #fff; }
.checksum { margin: 18px 0 0; color: #7f8eab; font-size: 12px; }
.checksum code { color: #a8b6d1; overflow-wrap: anywhere; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; padding: 28px 0 44px; border-top: 1px solid var(--line); color: #74819f; font-size: 13px; }
.footer a { color: #9ba9c4; }
.legal { width: min(860px, calc(100% - 40px)); margin: auto; padding: 18px 0 72px; }
.legal .topbar { margin-bottom: 34px; }
.legal article { padding: clamp(24px, 5vw, 52px); border: 1px solid var(--line); border-radius: 28px; background: rgba(8, 16, 40, .82); }
.legal h1 { max-width: none; font-size: clamp(35px, 7vw, 58px); letter-spacing: -.025em; }
.legal h2 { margin: 34px 0 8px; color: #fff; font-size: 21px; }
.legal p, .legal li { color: #b2bdd3; }
.legal .meta { color: #8795b2; }
.legal .lang { margin-top: 52px; padding-top: 44px; border-top: 1px solid var(--line); }
.legal code { color: #75ecf4; font-family: inherit; }
.legal a { color: var(--cyan); }
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; gap: 42px; padding-top: 46px; }
  .qr-card { width: min(280px, 78vw); margin: auto; }
  .features { grid-template-columns: 1fr; }
  .feature { min-height: 0; }
}
@media (max-width: 520px) {
  .shell, .legal { width: min(100% - 28px, 1080px); }
  .topbar { align-items: flex-start; }
  .nav { gap: 13px; }
  .hero { padding-top: 34px; }
  .actions { grid-template-columns: 1fr; }
  .apk-button { grid-column: auto; }
  .button { width: 100%; }
  .browser-tip-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
