/* ==========================================================================
   kuku加速器 KUKU — 官网样式
   作者：设计演示站
   结构：Tokens → Base → Components → Sections → Modal/Toast → Responsive
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #050810;
  --bg-deep: #03060d;
  --surface: #0a1120;
  --surface-2: #0d172a;
  --line: rgba(148, 182, 230, 0.12);
  --line-strong: rgba(148, 182, 230, 0.22);
  --text: #eaf1ff;
  --text-2: #a7b6d0;
  --muted: #7d8fab;
  --faint: #56678a;
  --cyan: #37e6ff;
  --cyan-soft: #8ff4ff;
  --blue: #3b9dff;
  --violet: #8b5cf6;
  --green: #3ef2a2;
  --red: #ff6b7a;
  --amber: #ffd166;
  --grad: linear-gradient(100deg, #5ff4ff 0%, #3b9dff 52%, #a78bfa 100%);
  --container: 1240px;
  --header-h: 76px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-lg: 0 40px 100px -40px rgba(0, 0, 0, 0.9);
  --font: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(1100px 780px at 82% -8%, rgba(59, 157, 255, 0.12), transparent 62%),
    radial-gradient(900px 720px at -8% 12%, rgba(139, 92, 246, 0.09), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open,
body.modal-open {
  overflow: hidden;
}

::selection {
  background: rgba(55, 230, 255, 0.26);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #050810;
}

::-webkit-scrollbar-thumb {
  background: #1b2a44;
  border: 2px solid #050810;
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2a3d60;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

img,
svg {
  display: block;
}

h1,
h2,
h3,
h4,
p,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.icon {
  display: inline-block;
  flex: none;
  width: 18px;
  height: 18px;
  vertical-align: -0.18em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 32px);
}

.section {
  position: relative;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 300;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  background: var(--cyan);
  color: #03121c;
  font-size: 13px;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #7ceaff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(36px, 4.5vw, 58px);
}

.section-head h2 {
  margin: 16px 0 18px;
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 780;
  letter-spacing: -0.025em;
  line-height: 1.16;
}

.title-dot {
  color: var(--cyan);
  text-shadow: 0 0 24px rgba(55, 230, 255, 0.65);
}

.lead {
  max-width: 620px;
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.85;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .lead {
  margin-inline: auto;
}

.section-head--center .eyebrow::after {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
}

.section-head--split {
  display: flex;
  max-width: none;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.section-head--split .lead {
  max-width: 400px;
  padding-bottom: 6px;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease,
    border-color 0.25s ease, color 0.25s ease;
}

.btn .icon {
  width: 17px;
  height: 17px;
}

.btn--primary {
  background: linear-gradient(135deg, #6ff6ff 0%, #3b9dff 55%, #5f7dff 100%);
  color: #03131f;
  box-shadow: 0 10px 34px -12px rgba(59, 157, 255, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px -14px rgba(59, 200, 255, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  filter: saturate(1.08) brightness(1.04);
}

.btn--ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.028);
  color: var(--text);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  border-color: rgba(55, 230, 255, 0.45);
  background: rgba(55, 230, 255, 0.07);
  color: #e9fdff;
  transform: translateY(-2px);
}

.btn--sm {
  height: 38px;
  padding: 0 15px;
  border-radius: 10px;
  font-size: 12.5px;
}

.btn--lg {
  height: 54px;
  padding: 0 28px;
  border-radius: 14px;
  font-size: 15px;
}

.btn--block {
  width: 100%;
}

/* ---------- Announcement ---------- */
.announcement {
  position: relative;
  z-index: 60;
  max-height: 80px;
  overflow: hidden;
  border-bottom: 1px solid rgba(55, 230, 255, 0.14);
  background:
    linear-gradient(90deg, rgba(55, 230, 255, 0.09), rgba(139, 92, 246, 0.1) 55%, rgba(55, 230, 255, 0.06)),
    #070d18;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}

.announcement.is-hidden {
  max-height: 0;
  opacity: 0;
  border-bottom-color: transparent;
}

.announcement__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding-block: 8px;
}

.announcement p {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-inline: 34px;
  color: #b9cbe4;
  font-size: 12.5px;
  text-align: center;
}

.announcement__tag {
  padding: 3px 7px;
  border: 1px solid rgba(55, 230, 255, 0.32);
  border-radius: 5px;
  background: rgba(55, 230, 255, 0.12);
  color: var(--cyan-soft);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.announcement a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #d9f8ff;
  font-weight: 600;
  transition: color 0.2s ease;
}

.announcement a .icon {
  width: 13px;
  height: 13px;
  transition: transform 0.2s ease;
}

.announcement a:hover {
  color: var(--cyan);
}

.announcement a:hover .icon {
  transform: translateX(3px);
}

.announcement__close {
  position: absolute;
  right: 14px;
  top: 50%;
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  place-items: center;
  transform: translateY(-50%);
  transition: background 0.2s ease, color 0.2s ease;
}

.announcement__close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(5, 8, 16, 0.66);
  backdrop-filter: blur(18px);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(4, 7, 14, 0.9);
  box-shadow: 0 24px 50px -40px #000;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 11px;
}

.brand__mark {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 18px rgba(55, 230, 255, 0.18));
}

.brand__mark--mini {
  width: 22px;
  height: 22px;
}

.brand__text {
  display: grid;
  color: #f2f8ff;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: 0.01em;
  line-height: 1.05;
}

.brand__text span {
  margin-left: 2px;
  color: #9db0cc;
  font-size: 13px;
  font-weight: 500;
}

.brand__text em {
  display: block;
  margin-top: 5px;
  color: #5d708f;
  font-size: 7.5px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.28em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 10px;
}

.nav__link {
  position: relative;
  padding: 10px 12px;
  border-radius: 8px;
  color: #9dafca;
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav__link:hover {
  background: rgba(255, 255, 255, 0.035);
  color: #f0f8ff;
}

.nav__link.is-active {
  color: #fff;
}

.nav__link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav__mobile-actions {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.header-status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #8aa0be;
  font-size: 11.5px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.header-status:hover {
  color: #d6e9ff;
}

.status-dot {
  position: relative;
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(62, 242, 162, 0.8);
}

.status-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(62, 242, 162, 0.45);
  border-radius: 50%;
  animation: statusPulse 2.2s ease-out infinite;
}

.header-login {
  padding: 8px 4px;
  border: 0;
  background: transparent;
  color: #a9bcd7;
  font-size: 13px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.header-login:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  place-items: center;
}

.nav-toggle .icon {
  width: 21px;
  height: 21px;
}

.nav-toggle__close {
  display: none;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(2, 5, 10, 0.6);
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(3px);
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

body.nav-open .nav-backdrop {
  opacity: 1;
  visibility: visible;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(48px, 7vw, 92px) clamp(64px, 8vw, 108px);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.75;
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: -20%;
  z-index: -2;
  background-image:
    linear-gradient(rgba(120, 170, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 170, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 52% 42%, #000 12%, transparent 74%);
  mask-image: radial-gradient(ellipse 62% 58% at 52% 42%, #000 12%, transparent 74%);
  transform: perspective(900px) rotateX(6deg);
}

.hero__glow {
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.hero__glow--one {
  top: -180px;
  right: -80px;
  background: rgba(55, 230, 255, 0.12);
}

.hero__glow--two {
  bottom: -260px;
  left: -120px;
  background: rgba(139, 92, 246, 0.12);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(32px, 5vw, 66px);
}

.hero__copy {
  padding-top: 6px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 34px;
  padding: 0 15px 0 11px;
  border: 1px solid rgba(55, 230, 255, 0.2);
  border-radius: 999px;
  background: rgba(55, 230, 255, 0.055);
  color: #b8e9f8;
  font-size: 12px;
  letter-spacing: 0.03em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pill__dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(55, 230, 255, 0.9);
}

.pill__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(55, 230, 255, 0.45);
  border-radius: 50%;
  animation: statusPulse 2.4s ease-out infinite;
}

.hero__title {
  margin: 24px 0 22px;
  font-size: clamp(42px, 5.6vw, 78px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

.hero__line {
  display: block;
}

.hero__line--grad {
  width: fit-content;
  padding-bottom: 0.06em;
  background: linear-gradient(100deg, #d9fbff 0%, #6beaff 26%, #5aa7ff 58%, #b794ff 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 12px 40px rgba(59, 157, 255, 0.22));
}

.hero__dot {
  color: var(--cyan);
  -webkit-text-fill-color: var(--cyan);
  text-shadow: 0 0 26px rgba(55, 230, 255, 0.8);
}

.hero__sub {
  max-width: 552px;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.9;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 18px;
  color: #7e91ad;
  font-size: 12px;
}

.hero__meta li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero__meta .icon {
  width: 14px;
  height: 14px;
  color: var(--cyan);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px dashed rgba(148, 182, 230, 0.18);
}

.hero__stat {
  padding-inline: 18px;
  border-left: 1px solid var(--line);
}

.hero__stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero__stat dt {
  color: #7689a7;
  font-size: 11.5px;
  white-space: nowrap;
}

.hero__stat dd {
  margin: 5px 0 0;
}

.hero__stat strong {
  color: #f4faff;
  font-size: clamp(20px, 1.75vw, 25px);
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.2;
  white-space: nowrap;
}

/* Hero visual / app mock */
.hero__visual {
  position: relative;
  display: flex;
  min-height: 540px;
  align-items: center;
  justify-content: center;
}

.orbits {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(620px, 108%);
  aspect-ratio: 1;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.orbits__ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(90, 160, 255, 0.1);
  border-radius: 50%;
}

.orbits__ring--1 {
  border-style: dashed;
  animation: orbitSpin 60s linear infinite;
}

.orbits__ring--2 {
  inset: 8%;
  border-color: rgba(55, 230, 255, 0.09);
}

.orbits__ring--3 {
  inset: 19%;
  border-color: rgba(139, 92, 246, 0.1);
  border-style: dashed;
  animation: orbitSpin 44s linear infinite reverse;
}

.orbits__core {
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(55, 230, 255, 0.13), transparent 68%);
  filter: blur(8px);
}

.app-panel {
  position: relative;
  z-index: 2;
  width: min(440px, 100%);
  border: 1px solid rgba(120, 180, 255, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(165deg, rgba(20, 33, 56, 0.95), rgba(7, 12, 23, 0.98) 62%),
    #08101d;
  box-shadow:
    0 50px 120px -40px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(55, 230, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  animation: panelFloat 7s ease-in-out infinite;
}

.app-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(160deg, rgba(55, 230, 255, 0.08), transparent 34%);
  pointer-events: none;
}

.app-panel__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(148, 182, 230, 0.1);
  background: rgba(255, 255, 255, 0.018);
  border-radius: 22px 22px 0 0;
}

.app-panel__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #dcecff;
  font-size: 12px;
  font-weight: 600;
}

.app-panel__brand em {
  margin-left: 2px;
  color: #5f7494;
  font-size: 9.5px;
  font-style: normal;
  font-weight: 500;
}

.app-panel__dots {
  display: flex;
  gap: 5px;
}

.app-panel__dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #24344e;
}

.app-panel__dots i:first-child {
  background: #d95c6a;
}

.app-panel__dots i:nth-child(2) {
  background: #d9a44e;
}

.app-panel__dots i:last-child {
  background: #3fbf8a;
}

.app-panel__body {
  padding: 16px 18px;
}

.app-game {
  display: flex;
  align-items: center;
  gap: 11px;
}

.app-game__thumb {
  display: grid;
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: radial-gradient(120% 120% at 20% 10%, #ff6a75, #541423 70%);
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.app-game__info {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.app-game__info strong {
  color: #f2f8ff;
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.2;
}

.app-game__info em {
  overflow: hidden;
  color: #7186a5;
  font-size: 10.5px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-game__state {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 5px 9px;
  border: 1px solid rgba(62, 242, 162, 0.24);
  border-radius: 999px;
  background: rgba(62, 242, 162, 0.08);
  color: #79f5bd;
  font-size: 10.5px;
  font-weight: 600;
}

.app-game__state i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(62, 242, 162, 0.9);
  animation: blink 1.8s ease-in-out infinite;
}

.app-ping {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 15px;
  padding: 13px 15px 12px;
  border: 1px solid rgba(148, 182, 230, 0.1);
  border-radius: 14px;
  background: rgba(3, 8, 16, 0.52);
}

.app-ping__main {
  display: grid;
  gap: 2px;
}

.app-ping__value {
  color: #eafdff;
  font-size: 40px;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1;
}

.app-ping__value small {
  margin-left: 3px;
  color: #6e829f;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.app-ping__label {
  color: #6c81a0;
  font-size: 10px;
}

.app-ping__side {
  display: grid;
  gap: 6px;
  padding-bottom: 2px;
}

.app-ping__side span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.app-ping__side em {
  color: #6c81a0;
  font-size: 9.5px;
  font-style: normal;
}

.app-ping__side strong {
  color: #cfe4ff;
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.app-chart {
  position: relative;
  height: 82px;
  margin-top: 11px;
  overflow: hidden;
  border: 1px solid rgba(148, 182, 230, 0.08);
  border-radius: 12px;
  background:
    linear-gradient(rgba(120, 170, 255, 0.045) 1px, transparent 1px),
    rgba(2, 7, 14, 0.5);
  background-size: 100% 26px;
}

.app-chart canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.app-chart__scan {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 70px;
  background: linear-gradient(90deg, transparent, rgba(55, 230, 255, 0.07), transparent);
  animation: scan 5.5s ease-in-out infinite;
  pointer-events: none;
}

.app-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 11px 1px;
}

.app-route__cities {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c8dcf5;
  font-size: 10.5px;
  font-weight: 600;
}

.app-route__cities i {
  width: 36px;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(55, 230, 255, 0.7) 0 4px, transparent 4px 8px);
}

.app-route__meta {
  color: #647997;
  font-size: 9.5px;
}

.app-nodes {
  display: grid;
  gap: 8px;
  padding-top: 7px;
  border-top: 1px solid rgba(148, 182, 230, 0.08);
}

.app-node {
  display: grid;
  grid-template-columns: 6px minmax(0, 1fr) 64px 38px;
  align-items: center;
  gap: 8px;
}

.app-node__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #4d8db1;
}

.app-node:first-child .app-node__dot {
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(55, 230, 255, 0.8);
}

.app-node__name {
  overflow: hidden;
  color: #93a8c4;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-node__name em {
  color: #50637f;
  font-size: 8.5px;
  font-style: normal;
}

.app-node__bar {
  height: 3px;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
}

.app-node__bar i {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(55, 230, 255, 0.55), var(--cyan));
}

.app-node__ms {
  color: #8fe9f7;
  font-size: 9.5px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.app-panel__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px;
  border-top: 1px solid rgba(148, 182, 230, 0.08);
  color: #647997;
  font-size: 9.5px;
}

.app-panel__foot span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.app-panel__foot .icon {
  width: 12px;
  height: 12px;
  color: #6edfd0;
}

.float-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid rgba(148, 182, 230, 0.18);
  border-radius: 13px;
  background: rgba(9, 17, 31, 0.88);
  box-shadow: 0 18px 44px -20px rgba(0, 0, 0, 0.9);
  color: #8095b3;
  font-size: 9.5px;
  line-height: 1.35;
  backdrop-filter: blur(14px);
  animation: chipFloat 6s ease-in-out infinite;
}

.float-chip strong {
  display: block;
  color: #f0faff;
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.float-chip > .icon {
  width: 18px;
  height: 18px;
  color: var(--cyan);
}

.float-chip--tl {
  top: 7%;
  left: -5%;
}

.float-chip--br {
  right: -6%;
  bottom: 8%;
  animation-delay: -3s;
}

.float-chip__spark {
  display: grid;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(62, 242, 162, 0.1);
  color: var(--green);
  place-items: center;
}

.float-chip__spark .icon {
  width: 15px;
  height: 15px;
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  border-block: 1px solid rgba(148, 182, 230, 0.09);
  background: rgba(255, 255, 255, 0.014);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 46s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  height: 62px;
}

.marquee__group span {
  color: #6c7f9d;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.marquee__group i {
  width: 4px;
  height: 4px;
  background: rgba(55, 230, 255, 0.4);
  transform: rotate(45deg);
}

/* ---------- Features ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.bento__card {
  position: relative;
  display: flex;
  grid-column: span 5;
  min-height: 258px;
  flex-direction: column;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(165deg, rgba(20, 32, 54, 0.44), rgba(8, 13, 24, 0.66)),
    rgba(8, 13, 24, 0.5);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.bento__card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 18%;
  width: 64%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(55, 230, 255, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.bento__card:hover {
  border-color: rgba(55, 230, 255, 0.3);
  box-shadow: 0 30px 70px -45px rgba(55, 230, 255, 0.5);
  transform: translateY(-4px);
}

.bento__card:hover::before {
  opacity: 1;
}

.bento__card--wide {
  grid-column: span 7;
}

.bento__card--compact {
  grid-column: span 4;
  min-height: 238px;
}

.bento__card--full {
  grid-column: span 12;
  min-height: 0;
  padding: 32px;
  background:
    radial-gradient(700px 220px at 12% 0%, rgba(55, 230, 255, 0.09), transparent 65%),
    radial-gradient(600px 240px at 92% 120%, rgba(139, 92, 246, 0.13), transparent 65%),
    linear-gradient(160deg, rgba(17, 28, 48, 0.7), rgba(7, 12, 22, 0.8));
}

.bento__icon {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border: 1px solid rgba(55, 230, 255, 0.18);
  border-radius: 12px;
  background: rgba(55, 230, 255, 0.07);
  color: var(--cyan);
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.bento__icon .icon {
  width: 20px;
  height: 20px;
}

.bento__card h3 {
  margin-bottom: 8px;
  color: #f0f7ff;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.bento__card p {
  max-width: 92%;
  color: #93a6c2;
  font-size: 13.5px;
  line-height: 1.8;
}

.bento__corner {
  position: absolute;
  right: 20px;
  bottom: 17px;
  color: #3f5069;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.bento__stat {
  margin-top: auto;
  padding-top: 22px;
  color: #f4fbff;
  font-size: 54px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.bento__stat small {
  margin-left: 5px;
  color: #7f93b0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}

.bento__stat--cyan {
  background: linear-gradient(100deg, #dffcff, #48d7ff 55%, #7c8cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* Route visual */
.route-viz {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 28px;
}

.route-viz__node {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid rgba(148, 182, 230, 0.16);
  border-radius: 8px;
  background: rgba(7, 13, 24, 0.75);
  color: #b3c6e2;
  font-size: 10.5px;
  white-space: nowrap;
}

.route-viz__node span {
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.route-viz__node--active {
  border-color: rgba(55, 230, 255, 0.5);
  background: rgba(55, 230, 255, 0.08);
  color: #e2fdff;
  box-shadow: 0 0 24px -6px rgba(55, 230, 255, 0.4);
}

.route-viz__node--muted {
  opacity: 0.42;
}

.route-viz__link {
  position: relative;
  flex: 1;
  min-width: 22px;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(55, 230, 255, 0.4) 0 4px, transparent 4px 9px);
}

.route-viz__link i {
  position: absolute;
  top: -2px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 9px rgba(55, 230, 255, 0.95);
  animation: routeDot 3.4s ease-in-out infinite;
}

.route-viz__link--muted {
  background: repeating-linear-gradient(90deg, rgba(148, 182, 230, 0.18) 0 3px, transparent 3px 9px);
}

.platform-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: auto;
  padding-top: 24px;
}

.platform-row > span {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 9px;
  border: 1px solid rgba(148, 182, 230, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  color: #8ba0bd;
  font-size: 10px;
}

.platform-row .icon {
  width: 14px;
  height: 14px;
  color: #7fc8e8;
}

.platform-row em {
  font-style: normal;
}

.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 24px;
}

.mini-tags span {
  padding: 5px 9px;
  border: 1px solid rgba(148, 182, 230, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.022);
  color: #8297b4;
  font-size: 9.5px;
  letter-spacing: 0.06em;
}

.bento__privacy {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.bento__privacy > div {
  max-width: 640px;
}

.bento__privacy .bento__icon {
  margin-bottom: 18px;
}

.bento__privacy h3 {
  font-size: 22px;
}

.privacy-stats {
  display: flex;
  flex: none;
  gap: 40px;
  padding-bottom: 4px;
}

.privacy-stats div {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.privacy-stats dt {
  color: #7589a7;
  font-size: 10.5px;
  white-space: nowrap;
}

.privacy-stats dd {
  margin-top: 7px;
  color: #eaf6ff;
  font-size: 19px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- Latency lab ---------- */
.lab {
  background:
    radial-gradient(800px 500px at 50% 0%, rgba(30, 72, 130, 0.16), transparent 70%),
    linear-gradient(180deg, transparent, rgba(6, 12, 23, 0.55) 30%, transparent);
}

.lab__panel {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(148, 182, 230, 0.15);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(15, 27, 48, 0.86), rgba(6, 11, 21, 0.94)),
    #08101d;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.lab__panel::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 12%;
  width: 76%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(55, 230, 255, 0.55), rgba(139, 92, 246, 0.4), transparent);
}

.lab__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.lab__regions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chip {
  height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(148, 182, 230, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.022);
  color: #93a7c4;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.chip:hover {
  border-color: rgba(55, 230, 255, 0.38);
  color: #e8fbff;
}

.chip.is-active {
  border-color: rgba(55, 230, 255, 0.48);
  background: rgba(55, 230, 255, 0.1);
  color: #e5fdff;
  box-shadow: inset 0 0 0 1px rgba(55, 230, 255, 0.08), 0 0 22px -10px rgba(55, 230, 255, 0.7);
}

.live-badge {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 7px;
  color: #7de8b8;
  font-size: 10.5px;
  letter-spacing: 0.04em;
}

.live-badge i {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(62, 242, 162, 0.9);
}

.live-badge i::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(62, 242, 162, 0.4);
  border-radius: 50%;
  animation: statusPulse 2s ease-out infinite;
}

.lab__body {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 16px;
  margin-top: 20px;
}

.lab__compare {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}

.metric {
  position: relative;
  overflow: hidden;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(4, 9, 17, 0.52);
}

.metric::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: var(--red);
  opacity: 0.5;
}

.metric--accel {
  border-color: rgba(55, 230, 255, 0.22);
  background:
    radial-gradient(300px 140px at 100% 0%, rgba(55, 230, 255, 0.09), transparent 70%),
    rgba(4, 12, 20, 0.6);
}

.metric--accel::after {
  background: var(--cyan);
  opacity: 0.9;
  box-shadow: 0 0 18px rgba(55, 230, 255, 0.6);
}

.metric__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #b6c7df;
  font-size: 11.5px;
  font-weight: 600;
}

.metric__tag {
  padding: 3px 7px;
  border: 1px solid rgba(255, 107, 122, 0.2);
  border-radius: 5px;
  background: rgba(255, 107, 122, 0.07);
  color: #ff9ba5;
  font-size: 9px;
  font-weight: 600;
}

.metric__tag--cyan {
  border-color: rgba(55, 230, 255, 0.28);
  background: rgba(55, 230, 255, 0.09);
  color: #7fecff;
  font-variant-numeric: tabular-nums;
}

.metric__ping {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 8px;
  line-height: 1;
}

.metric__ping strong {
  color: #ffb3bb;
  font-size: 36px;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  letter-spacing: -0.04em;
}

.metric--accel .metric__ping strong {
  color: #e2fdff;
  text-shadow: 0 0 30px rgba(55, 230, 255, 0.3);
}

.metric__ping span {
  color: #637795;
  font-size: 11px;
}

.metric__bars {
  height: 4px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.055);
}

.metric__bars i {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 107, 122, 0.35), #ff6b7a);
  transition: width 0.9s cubic-bezier(0.22, 0.75, 0.25, 1);
}

.metric--accel .metric__bars i {
  background: linear-gradient(90deg, rgba(55, 230, 255, 0.35), var(--cyan));
  box-shadow: 0 0 12px rgba(55, 230, 255, 0.45);
}

.metric__sub {
  display: flex;
  gap: 22px;
  margin-top: 12px;
}

.metric__sub dt {
  color: #6b809f;
  font-size: 9.5px;
}

.metric__sub dd {
  margin: 2px 0 0;
  color: #b9cce5;
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}

.lab__chart {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 14px 16px 10px;
  border: 1px solid rgba(148, 182, 230, 0.1);
  border-radius: 16px;
  background:
    radial-gradient(500px 200px at 80% 0%, rgba(55, 230, 255, 0.045), transparent 70%),
    rgba(2, 7, 14, 0.48);
}

.chart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #7488a6;
  font-size: 10.5px;
}

.chart__legend {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9.5px;
  white-space: nowrap;
}

.legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.legend-dot--direct {
  background: var(--red);
  box-shadow: 0 0 8px rgba(255, 107, 122, 0.6);
}

.legend-dot--accel {
  margin-left: 6px;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(55, 230, 255, 0.7);
}

.chart__canvas {
  position: relative;
  flex: 1;
  min-height: 190px;
  margin-top: 8px;
}

.chart__canvas canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.lab__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(148, 182, 230, 0.09);
  color: #7186a4;
  font-size: 10.5px;
}

.lab__route {
  display: flex;
  align-items: center;
  gap: 7px;
}

.lab__route .icon {
  width: 14px;
  height: 14px;
  color: #58c8e8;
}

.lab__route strong {
  color: #cfe3fa;
  font-weight: 600;
}

.lab__route em {
  color: #5f7392;
  font-style: normal;
}

.lab__avoid {
  color: #5f7392;
}

.lab__foot .btn {
  margin-left: auto;
}

#labRefresh.is-busy .icon {
  animation: spin 0.8s linear infinite;
}

/* ---------- Network ---------- */
.network__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 70px);
}

.network__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin: 30px 0 26px;
}

.network__summary strong {
  display: block;
  color: #f0f9ff;
  font-size: 28px;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.network__summary small {
  margin-left: 2px;
  color: #8ba1bf;
  font-size: 12px;
  font-weight: 500;
}

.network__summary span {
  display: block;
  margin-top: 4px;
  color: #7387a5;
  font-size: 10.5px;
}

.region-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 26px;
  border-top: 1px solid rgba(148, 182, 230, 0.1);
}

.region-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(148, 182, 230, 0.08);
}

.region-list span {
  flex: none;
  color: #c4d5ec;
  font-size: 12px;
  font-weight: 600;
}

.region-list em {
  flex: 1;
  overflow: hidden;
  color: #677c9a;
  font-size: 9.5px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.region-list strong {
  color: #9ceefa;
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
}

.region-list small {
  margin-left: 2px;
  color: #556a89;
  font-size: 7.5px;
  font-weight: 400;
}

.network__note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: #647997;
  font-size: 10.5px;
}

.network__visual {
  position: relative;
}

.radar-wrap {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1;
  margin-inline: auto;
}

.radar-wrap::before {
  content: "";
  position: absolute;
  inset: 13%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(55, 230, 255, 0.12), transparent 26%);
  -webkit-mask-image: radial-gradient(circle, transparent 38%, #000 70%);
  mask-image: radial-gradient(circle, transparent 38%, #000 70%);
  animation: orbitSpin 14s linear infinite;
  pointer-events: none;
}

.radar {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  overflow: visible;
}

.radar__rings circle {
  stroke: rgba(90, 160, 230, 0.13);
  stroke-width: 1;
}

.radar__ring-dash {
  stroke-dasharray: 2 9;
}

.radar__cross {
  stroke: rgba(90, 160, 230, 0.12);
  stroke-width: 1;
}

.radar__axis {
  stroke-dasharray: 1 10;
}

.radar__links {
  stroke: url(#radarLink);
  stroke-width: 1;
  opacity: 0.28;
}

.radar__links--flow {
  stroke: #52e8ff;
  stroke-width: 1.1;
  stroke-dasharray: 3 12;
  opacity: 0.5;
  animation: dashFlow 7s linear infinite;
}

.radar__node .node-halo {
  fill: rgba(55, 230, 255, 0.1);
  stroke: rgba(55, 230, 255, 0.25);
  stroke-width: 1;
  animation: radarPulse 3.6s ease-out infinite;
}

.radar__node:nth-of-type(2n) .node-halo {
  animation-delay: -1.6s;
}

.radar__node .node-dot {
  fill: #8ff6ff;
  stroke: #06121f;
  stroke-width: 2;
}

.radar__node .node-label {
  fill: #c9dcf3;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.radar__node .node-ping {
  fill: #5fe8f8;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.radar__core .core-pulse {
  fill: rgba(55, 230, 255, 0.06);
  stroke: rgba(55, 230, 255, 0.2);
  stroke-width: 1;
  animation: corePulse 4s ease-out infinite;
}

.radar__core .core-bg {
  fill: #071a2a;
  stroke: rgba(55, 230, 255, 0.26);
  stroke-width: 1;
}

.radar__core .core-ring {
  fill: none;
  stroke: rgba(55, 230, 255, 0.42);
  stroke-width: 1;
  stroke-dasharray: 2 5;
  animation: orbitSpin 26s linear infinite;
  transform-origin: 300px 300px;
}

.radar__core .core-title {
  fill: #eafcff;
  font-size: 16px;
  font-weight: 700;
  text-anchor: middle;
}

.radar__core .core-sub {
  fill: #5b8aa5;
  font-size: 7.5px;
  letter-spacing: 0.12em;
  text-anchor: middle;
}

.radar-tag {
  position: absolute;
  z-index: 2;
  color: #3e506a;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.radar-tag--tl {
  top: 3%;
  left: 5%;
}

.radar-tag--br {
  right: 5%;
  bottom: 3%;
}

/* ---------- Games ---------- */
.games__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.games__count {
  color: #647997;
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
}

.games__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.game-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(8, 14, 25, 0.7);
  transition: transform 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}

.game-card:hover {
  border-color: rgba(55, 230, 255, 0.32);
  box-shadow: 0 24px 54px -34px rgba(55, 230, 255, 0.4);
  transform: translateY(-5px);
}

.game-card__cover {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(115% 120% at 18% 0%, var(--c2), transparent 56%),
    linear-gradient(145deg, var(--c1), var(--c3) 78%);
  place-items: center;
}

.game-card__cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 15px);
  opacity: 0.55;
  transition: opacity 0.3s ease;
}

.game-card__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(3, 8, 16, 0.55));
}

.game-card:hover .game-card__cover::before {
  opacity: 0.9;
}

.game-card__mark {
  position: relative;
  z-index: 1;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(21px, 2vw, 30px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  text-align: center;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
  transition: transform 0.35s ease;
}

.game-card:hover .game-card__mark {
  transform: translateY(-5px) scale(1.04);
}

.game-card__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 3px 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
  background: rgba(3, 8, 16, 0.42);
  color: #e0edff;
  font-size: 9px;
  font-weight: 500;
  backdrop-filter: blur(8px);
}

.game-card__ping {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 7px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  background: rgba(3, 8, 16, 0.46);
  color: #bdf7d9;
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  backdrop-filter: blur(8px);
}

.game-card__ping i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 7px rgba(62, 242, 162, 0.9);
}

.game-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 13px;
}

.game-card__meta h3 {
  color: #ecf5ff;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
}

.game-card__meta p {
  margin-top: 2px;
  color: #6f84a2;
  font-size: 9.5px;
}

.game-card__go {
  margin-left: auto;
  color: #4e6280;
  font-size: 16px;
  line-height: 1;
  transition: color 0.25s ease, transform 0.25s ease;
}

.game-card:hover .game-card__go {
  color: var(--cyan);
  transform: translateX(3px);
}

.games__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(148, 182, 230, 0.09);
}

.games__foot p {
  color: #6d82a0;
  font-size: 11.5px;
}

/* ---------- Pricing ---------- */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-top: 34px;
}

.billing-toggle {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 286px;
  margin: 26px auto 0;
  padding: 4px;
  border: 1px solid rgba(148, 182, 230, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.028);
}

.billing-toggle__thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  border: 1px solid rgba(55, 230, 255, 0.3);
  border-radius: 999px;
  background: rgba(55, 230, 255, 0.12);
  box-shadow: 0 0 24px -8px rgba(55, 230, 255, 0.5);
  transition: transform 0.35s cubic-bezier(0.3, 0.8, 0.3, 1);
}

.billing-toggle.is-yearly .billing-toggle__thumb {
  transform: translateX(100%);
}

.billing-toggle__btn {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #8fa3bf;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.25s ease;
}

.billing-toggle__btn.is-active {
  color: #ecfdff;
}

.billing-toggle__btn span {
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(62, 242, 162, 0.12);
  color: #82f2be;
  font-size: 8.5px;
  font-weight: 600;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(165deg, rgba(18, 29, 49, 0.52), rgba(7, 12, 22, 0.72)),
    rgba(8, 13, 24, 0.55);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.plan:hover {
  border-color: rgba(148, 182, 230, 0.26);
  transform: translateY(-3px);
}

.plan--featured {
  border-color: rgba(55, 230, 255, 0.38);
  background:
    radial-gradient(400px 260px at 50% 0%, rgba(55, 230, 255, 0.13), transparent 68%),
    radial-gradient(400px 300px at 100% 100%, rgba(139, 92, 246, 0.12), transparent 70%),
    linear-gradient(165deg, rgba(16, 30, 52, 0.9), rgba(7, 13, 25, 0.95));
  box-shadow: 0 40px 90px -50px rgba(55, 230, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

@media (min-width: 901px) {
  .plan--featured {
    margin-top: -10px;
    margin-bottom: -10px;
    padding-top: 32px;
    padding-bottom: 32px;
  }
}

.plan__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  padding: 5px 13px;
  border-radius: 999px;
  background: linear-gradient(100deg, #6ff6ff, #4f9dff 60%, #a78bfa);
  color: #041320;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  white-space: nowrap;
  box-shadow: 0 8px 24px -8px rgba(55, 230, 255, 0.7);
  transform: translateX(-50%);
}

.plan__head h3 {
  color: #eef7ff;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.plan__head p {
  margin-top: 5px;
  color: #7287a4;
  font-size: 11px;
}

.plan__price {
  display: flex;
  align-items: baseline;
  margin: 22px 0 3px;
  line-height: 1;
}

.plan__currency {
  margin-right: 3px;
  color: #93a8c4;
  font-size: 15px;
}

.plan__num {
  color: #f4fbff;
  font-size: 48px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: -0.05em;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.plan__num.is-swapping {
  opacity: 0;
  transform: translateY(6px);
}

.plan__cycle {
  margin-left: 5px;
  color: #6f84a1;
  font-size: 12px;
}

.plan__note {
  min-height: 17px;
  color: #6a7f9d;
  font-size: 10px;
}

.plan__features {
  display: grid;
  gap: 10px;
  margin: 20px 0 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(148, 182, 230, 0.1);
}

.plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #a4b6d0;
  font-size: 12px;
  line-height: 1.6;
}

.plan__features .icon {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  color: #53d8ea;
}

.plan--featured .plan__features .icon {
  color: var(--cyan);
}

.plan .btn {
  margin-top: auto;
}

.pricing__fineprint {
  margin-top: 22px;
  color: #5f7391;
  font-size: 10px;
  text-align: center;
}

/* ---------- Reviews ---------- */
.reviews__score {
  display: flex;
  flex: none;
  align-items: center;
  gap: 12px;
  padding-bottom: 8px;
}

.reviews__score > strong {
  background: linear-gradient(100deg, #e6fdff, #59dcff 60%, #9f8cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-size: 38px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stars {
  display: block;
  color: var(--amber);
  font-size: 11px;
  letter-spacing: 2px;
  line-height: 1;
}

.reviews__score em {
  display: block;
  margin-top: 6px;
  color: #6d82a0;
  font-size: 9.5px;
  font-style: normal;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.quote {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(165deg, rgba(18, 29, 48, 0.45), rgba(7, 12, 22, 0.62)),
    rgba(8, 13, 24, 0.45);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.quote:hover {
  border-color: rgba(55, 230, 255, 0.24);
  transform: translateY(-3px);
}

.quote__mark {
  width: 26px;
  height: 26px;
  margin-bottom: 14px;
  fill: rgba(55, 230, 255, 0.24);
}

.quote blockquote {
  flex: 1;
  margin-bottom: 22px;
  color: #c3d3e8;
  font-size: 13.5px;
  line-height: 1.95;
}

.quote figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar {
  display: grid;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  color: #05121d;
  font-size: 13px;
  font-weight: 800;
  place-items: center;
}

.quote figcaption strong {
  display: block;
  color: #e5f1ff;
  font-size: 12px;
  font-weight: 600;
}

.quote figcaption em {
  display: block;
  margin-top: 2px;
  color: #687d9b;
  font-size: 9.5px;
  font-style: normal;
}

.quote__stars {
  margin-left: auto;
  color: var(--amber);
  font-size: 9.5px;
  letter-spacing: 1px;
}

/* ---------- FAQ ---------- */
.faq__inner {
  max-width: 960px;
}

.faq__list {
  max-width: 820px;
  margin-inline: auto;
  border-top: 1px solid rgba(148, 182, 230, 0.12);
}

.faq__item {
  border-bottom: 1px solid rgba(148, 182, 230, 0.12);
}

.faq__q {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 2px;
  border: 0;
  background: transparent;
  color: #dce9fa;
  font-size: 14.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq__q .icon {
  width: 18px;
  height: 18px;
  flex: none;
  color: #6d83a1;
  transition: transform 0.3s ease, color 0.2s ease;
}

.faq__q:hover {
  color: #fff;
}

.faq__q:hover .icon {
  color: var(--cyan);
}

.faq__item.is-open .faq__q {
  color: #f2fbff;
}

.faq__item.is-open .faq__q .icon {
  color: var(--cyan);
  transform: rotate(180deg);
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.3, 0.8, 0.3, 1);
}

.faq__a-inner {
  padding: 0 44px 22px 2px;
}

.faq__a p {
  color: #93a7c4;
  font-size: 12.5px;
  line-height: 1.9;
}

/* ---------- Download CTA ---------- */
.download {
  padding-top: 0;
}

.download__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  overflow: hidden;
  padding: clamp(40px, 5.2vw, 64px) clamp(24px, 4.8vw, 60px);
  border: 1px solid rgba(55, 230, 255, 0.18);
  border-radius: 30px;
  background:
    radial-gradient(560px 300px at 50% -20%, rgba(55, 230, 255, 0.17), transparent 70%),
    radial-gradient(500px 320px at 88% 120%, rgba(139, 92, 246, 0.16), transparent 70%),
    linear-gradient(160deg, rgba(14, 27, 48, 0.92), rgba(6, 11, 21, 0.96));
  box-shadow: 0 50px 120px -60px rgba(55, 230, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  text-align: left;
}

.download__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(120, 170, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 170, 255, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000, transparent 75%);
  pointer-events: none;
}

.download__glow {
  position: absolute;
  top: -120px;
  left: 50%;
  width: 520px;
  height: 280px;
  border-radius: 50%;
  background: rgba(55, 230, 255, 0.13);
  filter: blur(90px);
  pointer-events: none;
  transform: translateX(-50%);
}

.download__orbit {
  position: absolute;
  top: 50%;
  right: -130px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(90, 160, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
  transform: translateY(-50%);
}

.download__orbit span {
  position: absolute;
  border: 1px solid rgba(55, 230, 255, 0.08);
  border-radius: 50%;
}

.download__orbit span:first-child {
  inset: 14%;
}

.download__orbit span:nth-child(2) {
  inset: 28%;
}

.download__orbit span:last-child {
  top: 16%;
  left: 18%;
  width: 6px;
  height: 6px;
  border: 0;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(55, 230, 255, 0.9);
}

.download__panel > :not(.download__glow):not(.download__orbit) {
  position: relative;
  z-index: 1;
}

.download__inner {
  min-width: 0;
  max-width: 560px;
}

.download__mascot {
  position: relative;
  z-index: 1;
  align-self: end;
  justify-self: center;
  width: 100%;
  max-width: 340px;
  margin-bottom: -10px;
}

.download__mascot::before {
  content: "";
  position: absolute;
  inset: 16% 4% 2%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(55, 230, 255, 0.16), rgba(139, 92, 246, 0.08), transparent 78%);
  filter: blur(26px);
  pointer-events: none;
}

.download__mascot picture,
.download__mascot img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
}

.download__mascot img {
  filter: drop-shadow(0 26px 46px rgba(4, 8, 18, 0.6)) drop-shadow(0 0 26px rgba(55, 230, 255, 0.12));
}

.download__panel h2 {
  margin: 16px 0 14px;
  font-size: clamp(30px, 3.7vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.download__panel .lead {
  max-width: 460px;
  margin-inline: 0;
  font-size: 14.5px;
}

.download__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 26px;
}

.download__platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 22px;
  margin-top: 24px;
}

.download__platforms li {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6d82a0;
  font-size: 10.5px;
}

.download__platforms .icon {
  width: 14px;
  height: 14px;
  color: #82a3c5;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 0;
  padding: 60px 0 26px;
  border-top: 1px solid rgba(148, 182, 230, 0.1);
  background:
    radial-gradient(600px 300px at 10% 0%, rgba(55, 230, 255, 0.035), transparent 70%),
    var(--bg-deep);
}

.site-footer__top {
  display: grid;
  grid-template-columns: 2.1fr 1fr 1fr 1fr;
  gap: 40px;
}

.site-footer__brand p {
  margin: 16px 0 20px;
  color: #6d82a0;
  font-size: 11.5px;
  line-height: 1.9;
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.site-footer__social button {
  padding: 6px 11px;
  border: 1px solid rgba(148, 182, 230, 0.13);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.02);
  color: #7f93b1;
  font-size: 10px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.site-footer__social button:hover {
  border-color: rgba(55, 230, 255, 0.35);
  color: #dffcff;
}

.site-footer__col h2 {
  margin-bottom: 14px;
  color: #d8e6f8;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.site-footer__col a,
.site-footer__col button {
  display: block;
  width: 100%;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: #7186a4;
  font-size: 11.5px;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.site-footer__col a:hover,
.site-footer__col button:hover {
  color: #cfefff;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(148, 182, 230, 0.08);
  color: #50637f;
  font-size: 9.5px;
}

.site-footer__demo {
  color: #455672;
}

.site-footer__legal {
  color: #6f84a3;
}

.site-footer__legal a {
  color: #9db0cc;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.site-footer__legal a:hover {
  color: #cfefff;
}

.site-footer__license {
  margin-left: 0.4em;
  white-space: nowrap;
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  place-items: center;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 5, 10, 0.76);
  backdrop-filter: blur(9px);
}

.modal__dialog {
  position: relative;
  width: min(440px, 100%);
  padding: 30px;
  border: 1px solid rgba(148, 182, 230, 0.2);
  border-radius: 24px;
  background:
    radial-gradient(400px 200px at 50% 0%, rgba(55, 230, 255, 0.1), transparent 70%),
    linear-gradient(170deg, #0d1728, #070d18);
  box-shadow: 0 60px 140px -40px #000, inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal.is-open .modal__dialog {
  transform: none;
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(148, 182, 230, 0.14);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.02);
  color: #8ba0bd;
  cursor: pointer;
  place-items: center;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.modal__close:hover {
  border-color: rgba(55, 230, 255, 0.4);
  color: #fff;
}

.modal__dialog h2 {
  margin: 12px 0 6px;
  font-size: 26px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.modal__desc {
  color: #7d91ad;
  font-size: 11.5px;
}

.platform-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 20px 0 14px;
}

.platform-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 11px 4px;
  border: 1px solid rgba(148, 182, 230, 0.13);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  color: #8ea3c0;
  font-size: 10px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.platform-tab .icon {
  width: 19px;
  height: 19px;
}

.platform-tab:hover {
  border-color: rgba(55, 230, 255, 0.3);
  color: #dffaff;
}

.platform-tab.is-active {
  border-color: rgba(55, 230, 255, 0.45);
  background: rgba(55, 230, 255, 0.09);
  color: #e9fdff;
}

.modal__version {
  margin-bottom: 14px;
  color: #617694;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.modal__note {
  margin-top: 12px;
  color: #526581;
  font-size: 9.5px;
  line-height: 1.7;
  text-align: center;
}

/* ---------- Toast / back to top / noscript ---------- */
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  z-index: 300;
  max-width: min(420px, calc(100vw - 40px));
  padding: 11px 18px;
  border: 1px solid rgba(55, 230, 255, 0.28);
  border-radius: 11px;
  background: rgba(10, 20, 35, 0.96);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.9);
  color: #d9f8ff;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  backdrop-filter: blur(12px);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(148, 182, 230, 0.18);
  border-radius: 50%;
  background: rgba(9, 17, 30, 0.88);
  color: #a8bdd8;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease,
    border-color 0.25s ease, color 0.25s ease;
  place-items: center;
  backdrop-filter: blur(10px);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top:hover {
  border-color: rgba(55, 230, 255, 0.5);
  color: var(--cyan);
}

.back-to-top .icon {
  width: 17px;
  height: 17px;
}

.noscript {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 250;
  max-width: 360px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 209, 102, 0.35);
  border-radius: 10px;
  background: #171306;
  color: #ffdf9a;
  font-size: 12px;
}

/* ---------- Reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Keyframes ---------- */
@keyframes statusPulse {
  0% {
    opacity: 0.7;
    transform: scale(0.6);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.6);
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

@keyframes panelFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes chipFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes orbitSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes scan {
  0% {
    left: -20%;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    left: 110%;
    opacity: 0;
  }
}

@keyframes routeDot {
  0% {
    left: 0;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    left: calc(100% - 5px);
    opacity: 0;
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes dashFlow {
  to {
    stroke-dashoffset: -150;
  }
}

@keyframes radarPulse {
  0% {
    r: 6;
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    r: 22;
    opacity: 0;
  }
}

@keyframes corePulse {
  0% {
    r: 40;
    opacity: 0.8;
  }
  100% {
    r: 62;
    opacity: 0;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header-status {
    display: none;
  }

  .hero__inner {
    gap: 34px;
  }

  .float-chip--tl {
    left: -2%;
  }

  .float-chip--br {
    right: -2%;
  }
}

@media (max-width: 1024px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .header-actions {
    margin-left: auto;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    display: flex;
    max-height: calc(100vh - var(--header-h) - 32px);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    overflow-y: auto;
    margin: 0;
    padding: 12px;
    border: 1px solid rgba(148, 182, 230, 0.18);
    border-radius: 18px;
    background: rgba(7, 13, 24, 0.98);
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.95);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    backdrop-filter: blur(18px);
  }

  body.nav-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__link {
    padding: 13px 12px;
    border-bottom: 1px solid rgba(148, 182, 230, 0.07);
    border-radius: 8px;
    font-size: 14.5px;
  }

  .nav__link::after {
    display: none;
  }

  .nav__mobile-actions {
    display: grid;
    gap: 8px;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(148, 182, 230, 0.1);
  }

  .nav-toggle__open {
    display: block;
  }

  body.nav-open .nav-toggle__open {
    display: none;
  }

  body.nav-open .nav-toggle__close {
    display: block;
  }

  body.nav-open .nav-toggle {
    border-color: rgba(55, 230, 255, 0.4);
    color: var(--cyan);
  }

  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    max-width: 660px;
  }

  .hero__visual {
    min-height: 500px;
    margin-top: 20px;
  }

  .hero__stats {
    max-width: 660px;
  }

  .bento__card,
  .bento__card--wide {
    grid-column: span 6;
  }

  .bento__card--compact {
    grid-column: span 6;
  }

  .bento__card--full {
    grid-column: span 12;
  }

  .bento__privacy {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .privacy-stats {
    gap: 30px;
  }

  .lab__body {
    grid-template-columns: 1fr;
  }

  .lab__compare {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

  .network__inner {
    grid-template-columns: 1fr;
  }

  .network__content {
    max-width: 640px;
  }

  .network__visual {
    margin-top: -10px;
  }

  .radar-wrap {
    max-width: 520px;
  }

  .games__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pricing__grid {
    gap: 14px;
  }

  .plan {
    padding: 24px 20px;
  }

  .reviews__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quote:last-child {
    grid-column: span 2;
  }

  .site-footer__top {
    grid-template-columns: 1.6fr 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: span 3;
  }
}

@media (max-width: 860px) {
  .section-head--split {
    display: block;
  }

  .section-head--split .lead {
    margin-top: 12px;
    padding-bottom: 0;
  }

  .reviews__score {
    margin-top: 16px;
    padding-bottom: 0;
  }

  .plan__num {
    font-size: 42px;
  }

  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
    gap: 16px;
  }

  .plan--featured {
    order: -1;
  }

  .billing-toggle {
    margin-top: 22px;
  }

  .pricing__fineprint {
    max-width: 480px;
    margin-inline: auto;
  }

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .site-footer__brand {
    grid-column: span 2;
  }

  .download__panel {
    grid-template-columns: 1fr;
    padding: 46px 28px 28px;
    text-align: center;
  }

  .download__inner {
    max-width: 560px;
    margin-inline: auto;
  }

  .download__panel .lead {
    margin-inline: auto;
  }

  .download__actions,
  .download__platforms {
    justify-content: center;
  }

  .download__mascot {
    max-width: 300px;
    margin-top: 6px;
    margin-bottom: -8px;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 66px;
  }

  .header-login {
    display: none;
  }

  .header-actions .btn {
    height: 36px;
    padding: 0 13px;
    font-size: 12px;
  }

  .header-actions .btn .icon {
    width: 15px;
    height: 15px;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
  }

  .brand__text {
    font-size: 15.5px;
  }

  .brand__text span {
    font-size: 12px;
  }

  .hero {
    padding-top: 38px;
  }

  .hero__title {
    font-size: clamp(38px, 12vw, 58px);
  }

  .hero__sub {
    font-size: 14.5px;
  }

  .hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 0;
  }

  .hero__stat:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .hero__stat strong {
    font-size: 23px;
  }

  .hero__visual {
    min-height: 460px;
  }

  .app-panel {
    width: min(420px, 100%);
  }

  .float-chip {
    display: none;
  }

  .games__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lab__compare {
    grid-template-columns: 1fr;
  }

  .lab__foot .btn {
    margin-left: 0;
  }

  .lab__avoid {
    margin-left: auto;
  }

  .download__orbit {
    display: none;
  }

  .download__panel {
    grid-template-columns: 1fr;
    padding: 40px 22px 24px;
    text-align: center;
  }

  .download__inner {
    max-width: 560px;
    margin-inline: auto;
  }

  .download__panel .lead {
    margin-inline: auto;
  }

  .download__actions,
  .download__platforms {
    justify-content: center;
  }

  .download__mascot {
    max-width: 280px;
    margin-top: 2px;
    margin-bottom: -6px;
  }

  .site-footer {
    padding-top: 46px;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .announcement p {
    gap: 6px;
    font-size: 11px;
  }

  .announcement__tag {
    display: none;
  }

  .nav-toggle {
    width: 38px;
    height: 38px;
  }

  .header-actions .btn {
    width: 38px;
    padding: 0;
    border-radius: 10px;
  }

  .header-actions .btn .icon {
    width: 17px;
    height: 17px;
  }

  .header-actions .btn {
    font-size: 0;
    gap: 0;
  }

  .brand__text em {
    display: none;
  }

  .brand__text span {
    display: none;
  }

  .pill {
    font-size: 10.5px;
  }

  .hero__actions {
    gap: 9px;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
    padding-inline: 14px;
    font-size: 13px;
  }

  .hero__meta {
    gap: 12px;
  }

  .app-panel__body {
    padding: 14px;
  }

  .app-ping {
    padding: 11px 13px;
  }

  .app-ping__value {
    font-size: 34px;
  }

  .app-ping__side {
    gap: 4px;
  }

  .app-node {
    grid-template-columns: 6px minmax(0, 1fr) 46px 34px;
  }

  .app-node__name em {
    display: none;
  }

  .hero__visual {
    min-height: 420px;
  }

  .orbits {
    width: 120%;
  }

  .bento__card,
  .bento__card--wide,
  .bento__card--compact {
    grid-column: span 12;
    min-height: 0;
  }

  .bento__card--full {
    padding: 24px;
  }

  .bento__privacy h3 {
    font-size: 20px;
  }

  .privacy-stats {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .privacy-stats div {
    padding-left: 12px;
  }

  .privacy-stats dd {
    font-size: 16px;
  }

  .network__summary {
    gap: 22px;
  }

  .region-list {
    grid-template-columns: 1fr;
  }

  .games__grid {
    grid-template-columns: 1fr;
  }

  .game-card__mark {
    font-size: 28px;
  }

  .reviews__grid {
    grid-template-columns: 1fr;
  }

  .quote:last-child {
    grid-column: auto;
  }

  .section-head h2 {
    font-size: 28px;
  }

  .billing-toggle {
    width: 100%;
    max-width: 286px;
  }

  .download__actions .btn {
    width: 100%;
  }

  .download__mascot {
    max-width: 230px;
  }

  .download__platforms {
    gap: 12px 18px;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
  }

  .site-footer__brand {
    grid-column: auto;
  }

  .site-footer__col {
    padding-top: 4px;
  }

  .modal__dialog {
    padding: 26px 20px;
  }
}

@media (max-width: 380px) {
  .hero__title {
    font-size: 36px;
  }

  .hero__meta li {
    font-size: 10.5px;
  }

  .app-ping__side {
    display: none;
  }

  .app-game__state {
    padding: 4px 7px;
    font-size: 9.5px;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Small fixes ---------- */
.game-card.is-filtered {
  display: none;
}

.no-js .faq__a {
  max-height: none;
}

/* ---------- Legal pages ---------- */
.legal-page {
  background:
    radial-gradient(900px 620px at 88% -6%, rgba(59, 157, 255, 0.11), transparent 64%),
    radial-gradient(760px 520px at -6% 6%, rgba(139, 92, 246, 0.08), transparent 62%),
    var(--bg);
}

.legal-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid rgba(148, 182, 230, 0.1);
  background: rgba(5, 8, 16, 0.78);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
}

.legal-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.legal-header__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
  color: #a9bdd8;
  font-size: 12px;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.legal-header__back:hover {
  border-color: rgba(55, 230, 255, 0.4);
  background: rgba(55, 230, 255, 0.06);
  color: #e3fdff;
}

.legal-header__back span[aria-hidden] {
  color: var(--cyan);
  font-size: 14px;
  line-height: 1;
}

.legal-header__back em {
  font-style: normal;
}

.legal-main {
  position: relative;
  padding: clamp(44px, 6vw, 82px) 0 clamp(72px, 8vw, 110px);
}

.legal__wrap {
  max-width: 1080px;
}

.legal-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  color: #5f7392;
  font-size: 11px;
}

.legal-breadcrumb a {
  color: #8ea3c0;
  transition: color 0.2s ease;
}

.legal-breadcrumb a:hover {
  color: var(--cyan);
}

.legal-breadcrumb span[aria-current] {
  color: #b9cbe2;
}

.legal-hero {
  max-width: 800px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  margin: 15px 0 16px;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 780;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.legal-meta {
  color: #6e83a2;
  font-size: 11.5px;
  letter-spacing: 0.02em;
}

.legal-meta span {
  margin: 0 8px;
  color: #41536f;
}

.legal-hero .lead {
  max-width: 700px;
  margin-top: 18px;
  font-size: 14px;
}

.legal-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 26px 0 46px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 209, 102, 0.2);
  border-radius: 13px;
  background: rgba(255, 209, 102, 0.045);
  color: #c8b88f;
  font-size: 12px;
  line-height: 1.8;
}

.legal-note__icon {
  display: grid;
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1px solid rgba(255, 209, 102, 0.42);
  border-radius: 50%;
  color: var(--amber);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  place-items: center;
}

.legal-layout {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 98px;
  padding: 17px 18px;
  border: 1px solid rgba(148, 182, 230, 0.1);
  border-radius: 14px;
  background: rgba(10, 17, 32, 0.56);
}

.legal-toc h2 {
  margin-bottom: 10px;
  color: #c8d8ec;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.legal-toc a {
  display: block;
  margin-left: -18px;
  padding: 6px 18px;
  border-left: 1px solid transparent;
  color: #7488a6;
  font-size: 11.5px;
  line-height: 1.45;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.legal-toc a:hover {
  border-left-color: rgba(55, 230, 255, 0.55);
  background: linear-gradient(90deg, rgba(55, 230, 255, 0.055), transparent);
  color: #d9fbff;
}

.legal-body {
  min-width: 0;
  max-width: 760px;
}

.legal-body section {
  /*padding-top: 34px;*/
  margin-top: 34px;
  border-top: 1px solid rgba(148, 182, 230, 0.075);
  scroll-margin-top: 96px;
}

.legal-body section:first-child {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.legal-body h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
  color: #e3edfb;
  font-size: 20px;
  font-weight: 680;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.legal-body h2 span {
  flex: none;
  color: var(--cyan);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  opacity: 0.75;
}

.legal-body h3 {
  margin: 24px 0 8px;
  color: #cddff2;
  font-size: 14px;
  font-weight: 650;
}

.legal-body p {
  margin: 11px 0;
  color: #93a6c2;
  font-size: 13.5px;
  line-height: 1.95;
}

.legal-body ul {
  display: grid;
  gap: 7px;
  margin: 13px 0;
}

.legal-body li {
  position: relative;
  padding-left: 17px;
  color: #93a6c2;
  font-size: 13.5px;
  line-height: 1.9;
}

.legal-body li::before {
  content: "";
  position: absolute;
  top: 0.82em;
  left: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(55, 230, 255, 0.6);
  box-shadow: 0 0 10px rgba(55, 230, 255, 0.35);
}

.legal-body strong {
  color: #d6e8fb;
  font-weight: 600;
}

.legal-body a {
  color: #7cecff;
  text-decoration: underline;
  text-decoration-color: rgba(55, 230, 255, 0.3);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.legal-body a:hover {
  color: #c6fcff;
  text-decoration-color: rgba(55, 230, 255, 0.8);
}

.legal-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  margin-top: 50px;
  padding: 24px 26px;
  border: 1px solid rgba(148, 182, 230, 0.12);
  border-radius: 16px;
  background:
    radial-gradient(420px 160px at 10% 0%, rgba(55, 230, 255, 0.06), transparent 70%),
    rgba(10, 17, 32, 0.55);
}

.legal-contact h2 {
  margin-bottom: 5px;
  color: #dfeaf9;
  font-size: 15px;
  font-weight: 650;
}

.legal-contact p {
  color: #7d91ad;
  font-size: 12px;
  line-height: 1.7;
}

.legal-contact .btn {
  flex: none;
}

.legal-footer {
  padding: 24px 0;
  border-top: 1px solid rgba(148, 182, 230, 0.08);
  background: rgba(3, 6, 13, 0.55);
  color: #50637f;
  font-size: 10.5px;
}

.legal-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 22px;
}

.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.legal-footer a {
  color: #7186a4;
  transition: color 0.2s ease;
}

.legal-footer a:hover {
  color: #cfefff;
}

.legal-footer__license {
  margin-left: 0.4em;
  white-space: nowrap;
}

@media (max-width: 960px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .legal-toc {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
    padding: 16px;
  }

  .legal-toc h2 {
    grid-column: 1 / -1;
  }

  .legal-toc a {
    margin-left: 0;
    padding: 7px 0;
    border-left: 0;
  }

  .legal-toc a:hover {
    background: none;
    color: #d9fbff;
  }
}

@media (max-width: 620px) {
  .legal-header__inner {
    height: 64px;
  }

  .legal-header .brand__mark {
    width: 32px;
    height: 32px;
  }

  .legal-header .brand__text {
    font-size: 15px;
  }

  .legal-header__back {
    padding: 0 11px;
  }

  .legal-header__back em {
    display: none;
  }

  .legal-toc {
    grid-template-columns: 1fr;
  }

  .legal-hero h1 {
    font-size: 36px;
  }

  .legal-body h2 {
    font-size: 18px;
  }

  .legal-contact {
    align-items: flex-start;
    padding: 20px;
  }

  .legal-contact .btn {
    width: 100%;
  }
}

/* 法务页在无脚本环境也保持首条 FAQ 展开 */
.no-js .faq__a {
  max-height: none;
}
