:root {
  color-scheme: dark;
  --ink: #020616;
  --panel: rgba(12, 20, 48, .76);
  --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", 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);
}
body.browser-gate-open { overflow: hidden; }
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;
}
.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); }
.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); }
.store-button .badge-icon { display: grid; width: 43px; height: 50px; flex: 0 0 43px; place-items: center; }
.store-button .badge-icon svg { display: block; width: 100%; height: 100%; 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; }
.apk-button { grid-column: 1 / -1; }
.android-icon svg { width: 48px !important; height: 54px !important; }
.store-button.primary { border-color: rgba(255, 255, 255, .78); 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); }
.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; }
.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; }
.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, .84); backdrop-filter: blur(3px) brightness(.54) saturate(.72); -webkit-backdrop-filter: blur(3px) brightness(.54) 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; }
.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; }
.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); }
@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 { 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; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
