/* ==========================================================================
   Obsidian Launcher — 下载页样式
   00 变量 / 基础 · 01 背景层 · 02 导航 · 03 首屏 · 04 通用版块
   05 下载区 · 06 功能卡 · 07 安装步骤 · 08 页脚 · 09 关键帧 · 10 响应式
   ========================================================================== */

/* ===== 00 变量 / 基础 ===== */
:root {
  --bg: #06070b;
  --ink: #eef1f8;
  --muted: #9098ac;
  --violet: #9a6bff;
  --cyan: #4de2ff;
  --green: #5ef0a8;
  --stroke: rgba(255, 255, 255, 0.1);
  --font-display: "Orbitron", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "Consolas", monospace;
  --font-body: "Noto Sans SC", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
svg { display: block; }
::selection { background: var(--violet); color: #fff; }

::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: #05060a; }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--violet), #2b1b52); border-radius: 99px; }

/* ===== 01 背景层 ===== */
#dust { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

.halo {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}
.halo-a {
  width: 54vw; height: 54vw;
  top: -20vw; left: -12vw;
  background: radial-gradient(circle, rgba(122, 76, 255, 0.55), transparent 66%);
  animation: drift 22s ease-in-out infinite;
}
.halo-b {
  width: 46vw; height: 46vw;
  bottom: -18vw; right: -14vw;
  background: radial-gradient(circle, rgba(38, 200, 255, 0.3), transparent 66%);
  animation: drift 28s ease-in-out infinite reverse;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.45;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 0.5px, transparent 0.6px);
  background-size: 4px 4px;
  mix-blend-mode: overlay;
}

.spotlight {
  position: fixed;
  top: 0; left: 0;
  width: 600px; height: 600px;
  margin: -300px 0 0 -300px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(154, 107, 255, 0.15), rgba(77, 226, 255, 0.05) 45%, transparent 68%);
  transform: translate3d(-999px, -999px, 0);
}

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  z-index: 90;
  background: linear-gradient(90deg, var(--violet), var(--cyan), var(--green));
  box-shadow: 0 0 12px rgba(154, 107, 255, 0.8);
}

/* ===== 02 导航 ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 16px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s, backdrop-filter 0.4s, padding 0.4s;
}
.nav.is-solid {
  background: rgba(6, 7, 11, 0.62);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--stroke);
  padding-top: 11px;
  padding-bottom: 11px;
}

.brand { display: flex; align-items: center; gap: 10px; z-index: 70; }
.brand-mark {
  width: 26px; height: 26px;
  fill: none;
  stroke: var(--violet);
  stroke-width: 1.3;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(154, 107, 255, 0.7));
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.18em;
}
.brand-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding: 2px 7px;
  border: 1px solid var(--stroke);
  border-radius: 5px;
}

.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  position: relative;
  padding: 8px 15px;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: #bcc3d4;
  border-radius: 99px;
  transition: color 0.3s;
}
.nav-links a span { position: relative; z-index: 2; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 4px;
  height: 1px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-dl {
  position: relative;
  padding: 10px 22px;
  font-size: 13px;
  letter-spacing: 0.08em;
  border-radius: 99px;
  border: 1px solid rgba(154, 107, 255, 0.5);
  background: rgba(154, 107, 255, 0.1);
  overflow: hidden;
  transition: color 0.35s, box-shadow 0.4s, border-color 0.35s;
}
.nav-dl span { position: relative; z-index: 2; }
.nav-dl::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, var(--violet), #4b2ea0);
  transform: translateY(102%);
  transition: transform 0.45s var(--ease);
}
.nav-dl:hover { color: #fff; border-color: transparent; box-shadow: 0 12px 34px rgba(154, 107, 255, 0.4); }
.nav-dl:hover::before { transform: translateY(0); }

.burger {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 0;
  z-index: 70;
}
.burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: #e6ebf7;
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===== 03 首屏 ===== */
.hero {
  position: relative;
  z-index: 2;
  min-height: calc(100svh - 68px);
  display: flex;
  align-items: center;
  padding: clamp(50px, 8vh, 100px) clamp(20px, 6vw, 80px);
}
.hero-inner { width: 100%; max-width: var(--max); margin: 0 auto; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 15px 6px 12px;
  border: 1px solid var(--stroke);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #c9d2e6;
}
.badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(94, 240, 168, 0.6);
  animation: ping 2.2s infinite;
}

.hero h1 {
  margin-top: 30px;
  font-size: clamp(42px, 8.4vw, 108px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #fff 8%, #c3a6ff 44%, var(--cyan) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 44px rgba(122, 76, 255, 0.45));
}

.hero-sub {
  margin-top: 26px;
  max-width: 560px;
  font-size: clamp(14px, 1.5vw, 16px);
  color: #a2abbf;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 14px;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.4s, border-color 0.4s, color 0.3s;
  will-change: transform;
}
.btn span { position: relative; z-index: 2; }
.btn svg {
  position: relative;
  z-index: 2;
  width: 18px; height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.4s var(--ease);
}
.btn:hover svg { transform: translateY(3px); }

.btn-primary {
  color: #08040f;
  font-weight: 500;
  background: linear-gradient(110deg, #b79bff, #8b5cf6 46%, #4de2ff);
  background-size: 180% 100%;
  box-shadow: 0 16px 44px -12px rgba(139, 92, 246, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  animation: sheen 8s ease infinite;
}
.btn-primary:hover { box-shadow: 0 22px 58px -12px rgba(77, 226, 255, 0.6); }

.btn-ghost {
  color: #dfe6f5;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}

/* 密码按钮 */
.pwd {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px 13px 20px;
  border-radius: 14px;
  border: 1px dashed rgba(94, 240, 168, 0.45);
  background: rgba(94, 240, 168, 0.06);
  color: #cfeee0;
  transition: border-color 0.35s, background 0.35s, transform 0.3s var(--ease);
}
.pwd:hover { border-color: var(--green); background: rgba(94, 240, 168, 0.1); }
.pwd-label { font-size: 12px; letter-spacing: 0.14em; color: #7fbfa3; }
.pwd-code {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #fff;
  text-shadow: 0 0 18px rgba(94, 240, 168, 0.6);
}
.pwd-copy {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #0a1a12;
  background: var(--green);
  padding: 3px 8px;
  border-radius: 5px;
  transition: background 0.3s;
}
.pwd:hover .pwd-copy { background: #8dffc4; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin-top: 30px;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #79839a;
}
.hero-meta li { position: relative; padding-left: 14px; }
.hero-meta li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 5px; height: 5px;
  margin-top: -2.5px;
  border-radius: 1px;
  background: var(--violet);
  opacity: 0.85;
}

/* 3D 方块 */
.cubes { position: absolute; inset: 0; perspective: 1000px; pointer-events: none; z-index: -1; }
.cube {
  position: absolute;
  width: 92px; height: 92px;
  transform-style: preserve-3d;
  animation: cubeSpin 26s linear infinite;
}
.cube .f {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(170, 130, 255, 0.35);
  border-radius: 3px;
  box-shadow: inset 0 0 24px rgba(122, 76, 255, 0.18);
}
.cube .f1 { transform: translateZ(46px); background: linear-gradient(150deg, #35245e, #150e26); }
.cube .f2 { transform: rotateY(90deg) translateZ(46px); background: linear-gradient(150deg, #170f2a, #0a0614); }
.cube .f3 {
  transform: rotateX(90deg) translateZ(46px);
  background:
    repeating-linear-gradient(0deg, rgba(180, 140, 255, 0.16) 0 1px, transparent 1px 15px),
    repeating-linear-gradient(90deg, rgba(180, 140, 255, 0.16) 0 1px, transparent 1px 15px),
    linear-gradient(150deg, #4a3183, #241640);
}
.c1 { top: 16%; right: 9%; opacity: 0.8; }
.c2 {
  bottom: 18%; right: 24%;
  width: 54px; height: 54px;
  opacity: 0.45;
  animation-duration: 34s;
}
.c2 .f1 { transform: translateZ(27px); }
.c2 .f2 { transform: rotateY(90deg) translateZ(27px); }
.c2 .f3 { transform: rotateX(90deg) translateZ(27px); }

/* ===== 04 通用版块 ===== */
.section {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(70px, 11vh, 120px) clamp(20px, 5vw, 40px);
}
.section-head { max-width: 700px; }

.kicker {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.26em;
  color: #9f8bd4;
  margin-bottom: 20px;
}
.kicker span {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid rgba(154, 107, 255, 0.28);
  border-radius: 6px;
  background: rgba(154, 107, 255, 0.06);
}

.section h2 {
  font-size: clamp(28px, 4.2vw, 50px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.section h2 em {
  font-style: normal;
  background: linear-gradient(100deg, #c9b4ff, var(--violet) 55%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glass {
  position: relative;
  border: 1px solid var(--stroke);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.014));
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-radius: 22px;
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

/* ===== 05 下载区 ===== */
#download { padding-top: clamp(10px, 3vh, 30px); }

.dl {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 6vw, 66px) clamp(22px, 5vw, 60px);
  text-align: center;
  border-radius: 26px;
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(154, 107, 255, 0.22), transparent 62%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.012));
  border-color: rgba(154, 107, 255, 0.28);
}
.dl-glow {
  position: absolute;
  left: 50%; top: -60%;
  width: 60%; height: 120%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(77, 226, 255, 0.18), transparent 62%);
  filter: blur(50px);
  pointer-events: none;
}
.dl .kicker, .dl h2, .dl-sub, .dl-actions, .dl-checks { position: relative; }
.dl h2 {
  font-size: clamp(26px, 4.6vw, 52px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.dl h2 em {
  font-style: normal;
  background: linear-gradient(100deg, #d7c7ff, var(--violet) 50%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.dl-sub { margin-top: 16px; color: #9aa3b7; font-size: 14.5px; }
.dl-sub b { color: var(--green); font-family: var(--font-mono); letter-spacing: 0.12em; }

.dl-actions { display: flex; justify-content: center; margin-top: 30px; }

.pwd-card {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding: 10px 12px 10px 20px;
  border-radius: 12px;
  border: 1px dashed rgba(94, 240, 168, 0.45);
  background: rgba(94, 240, 168, 0.07);
}
.pwd-card-label { font-size: 12px; letter-spacing: 0.1em; color: #82c3a7; }
.pwd-card-value {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #fff;
  text-shadow: 0 0 20px rgba(94, 240, 168, 0.65);
}
.pwd-card-btn {
  border: 0;
  padding: 6px 12px;
  border-radius: 7px;
  font-size: 11.5px;
  color: #0a1a12;
  background: var(--green);
  transition: background 0.3s, transform 0.3s var(--ease);
}
.pwd-card-btn:hover { background: #8dffc4; transform: translateY(-1px); }
.pwd-card-btn.is-done { background: #fff; }

.dl-checks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #7e889e;
}
.dl-checks i { color: var(--cyan); font-style: normal; margin-right: 4px; }

/* ===== 06 功能卡 ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: clamp(36px, 5vw, 56px);
}
.card {
  padding: 24px 22px 22px;
  overflow: hidden;
  transition: transform 0.18s ease-out, border-color 0.4s, box-shadow 0.5s;
  transform-style: preserve-3d;
  will-change: transform;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(154, 107, 255, 0.18), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.card:hover {
  border-color: rgba(154, 107, 255, 0.42);
  box-shadow: 0 30px 70px -30px rgba(122, 76, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.card:hover::before { opacity: 1; }

.card-ico {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(154, 107, 255, 0.3);
  background: linear-gradient(150deg, rgba(154, 107, 255, 0.22), rgba(77, 226, 255, 0.08));
  margin-bottom: 26px;
  transition: transform 0.5s var(--ease), border-color 0.4s;
}
.card-ico svg {
  width: 21px; height: 21px;
  fill: none;
  stroke: #d3c1ff;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card:hover .card-ico { transform: translateY(-3px) rotate(-6deg); border-color: rgba(77, 226, 255, 0.5); }

.card h3 { font-size: 17px; font-weight: 500; }
.card p { margin-top: 9px; font-size: 13px; color: #969fb3; line-height: 1.8; }
.card-tag {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: #8d7ab8;
}

/* ===== 07 安装步骤 ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: clamp(36px, 5vw, 56px);
}
.step {
  position: relative;
  padding: 26px 24px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  overflow: hidden;
}
.step::after {
  content: "";
  position: absolute;
  right: -30px; top: -30px;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(154, 107, 255, 0.22), transparent 70%);
}
.step-num {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #8f7bd4;
}
.step h3 { margin-top: 12px; font-size: 16.5px; font-weight: 500; }
.step p { margin-top: 8px; font-size: 13px; color: #949db0; line-height: 1.8; }
.step p b { color: var(--green); font-family: var(--font-mono); letter-spacing: 0.1em; }

.tip {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid rgba(77, 226, 255, 0.2);
  background: rgba(77, 226, 255, 0.04);
  font-size: 13px;
  color: #96a1b6;
  line-height: 1.85;
}
.tip-key {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: #0a1418;
  background: var(--cyan);
  padding: 3px 8px;
  border-radius: 4px;
  margin-top: 3px;
}
.tip b { color: var(--green); font-family: var(--font-mono); letter-spacing: 0.1em; }

/* ===== 08 页脚 ===== */
.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(4, 5, 9, 0.6);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px clamp(20px, 5vw, 40px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #cfd6e6;
}
.footer-brand .brand-mark { width: 20px; height: 20px; }
.footer-links { display: flex; gap: 18px; margin-left: auto; font-size: 12.5px; color: #8b93a8; }
.footer-links a { transition: color 0.3s; }
.footer-links a:hover { color: #cbb6ff; }

/* 提示条 */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 200;
  max-width: min(90vw, 440px);
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid rgba(94, 240, 168, 0.42);
  background: rgba(10, 24, 18, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.65);
  color: #d8f6e8;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
  transform: translate(-50%, 14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ===== 进站验证层 ===== */
body.is-locked { overflow: hidden; }

.gate {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(90, 52, 190, 0.34), transparent 62%),
    rgba(4, 6, 10, 0.9);
  backdrop-filter: blur(26px) saturate(130%);
  -webkit-backdrop-filter: blur(26px) saturate(130%);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.65s var(--ease), visibility 0.65s var(--ease);
}
.gate.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.gate.no-anim,
.gate.no-anim .gate-card { transition: none !important; animation: none !important; }

.gate-glow {
  position: absolute;
  width: 60vw; height: 60vw;
  max-width: 720px; max-height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(154, 107, 255, 0.28), transparent 66%);
  filter: blur(70px);
  pointer-events: none;
  animation: drift 20s ease-in-out infinite;
}

.gate-card {
  position: relative;
  width: min(94vw, 440px);
  padding: 30px 30px 24px;
  text-align: center;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(160deg, rgba(32, 23, 58, 0.9), rgba(9, 9, 16, 0.94));
  box-shadow: 0 50px 110px -40px #000, inset 0 1px 0 rgba(255, 255, 255, 0.16);
  overflow: hidden;
  animation: gateIn 0.75s var(--ease) both;
}
.gate-card::before {
  content: "";
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(154, 107, 255, 0.9), rgba(77, 226, 255, 0.7), transparent);
}

.gate-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.gate-brand .brand-mark { width: 20px; height: 20px; }
.gate-brand-text {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
}
.gate-brand-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted);
  padding: 1px 6px;
  border: 1px solid var(--stroke);
  border-radius: 4px;
}

.gate-shield {
  width: 54px; height: 54px;
  margin: 26px auto 0;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid rgba(154, 107, 255, 0.34);
  background: linear-gradient(150deg, rgba(154, 107, 255, 0.24), rgba(77, 226, 255, 0.08));
  box-shadow: 0 0 34px rgba(122, 76, 255, 0.35);
}
.gate-shield svg {
  width: 26px; height: 26px;
  fill: none;
  stroke: #d9caff;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gate-card h2 {
  margin-top: 18px;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.gate-desc {
  margin-top: 9px;
  font-size: 12.5px;
  line-height: 1.8;
  color: #98a1b5;
}

.gate-widget {
  display: grid;
  place-items: center;
  min-height: 72px;
  margin: 20px 0 4px;
}

.gate-demo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px dashed rgba(154, 107, 255, 0.5);
  background: rgba(154, 107, 255, 0.1);
  color: #efe9ff;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.gate-demo:hover { background: rgba(154, 107, 255, 0.18); border-color: rgba(190, 160, 255, 0.8); }
.gate-check {
  width: 17px; height: 17px;
  border-radius: 5px;
  border: 1px solid rgba(200, 180, 255, 0.7);
  position: relative;
  flex: 0 0 17px;
  transition: background 0.3s, border-color 0.3s;
}
.gate-demo.is-checking .gate-check { background: var(--green); border-color: var(--green); }
.gate-demo.is-checking .gate-check::after {
  content: "";
  position: absolute;
  left: 5px; top: 1.5px;
  width: 5px; height: 9px;
  border: solid #07120c;
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg);
}

.gate-status {
  min-height: 18px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: #7d869b;
  transition: color 0.3s;
}
.gate-status.is-ok { color: var(--green); }
.gate-status.is-warn { color: #ffc46b; }
.gate-status.is-err { color: #ff7b9c; }

.gate-note {
  margin-top: 12px;
  font-size: 10.5px;
  line-height: 1.7;
  color: #5c6579;
}

.gate-foot {
  position: absolute;
  bottom: 22px;
  left: 0; right: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.26em;
  color: #454e60;
}

/* ===== 09 关键帧 ===== */
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4vw, 5vh, 0) scale(1.12); }
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(94, 240, 168, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(94, 240, 168, 0); }
  100% { box-shadow: 0 0 0 0 rgba(94, 240, 168, 0); }
}
@keyframes sheen {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes cubeSpin {
  from { transform: rotateX(-22deg) rotateY(-30deg); }
  to { transform: rotateX(-22deg) rotateY(330deg); }
}
@keyframes gateIn {
  from { opacity: 0; transform: translateY(18px) scale(0.97); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ===== 10 响应式 ===== */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  .nav-dl { display: none; }
  .burger { display: flex; margin-left: auto; }

  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 0;
    background: rgba(6, 7, 11, 0.93);
    backdrop-filter: blur(22px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
    z-index: 65;
  }
  .nav-links.is-open { opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 22px; }

  .spotlight { display: none; }
  .hero { min-height: auto; padding-top: 64px; padding-bottom: 40px; }
  .hero h1 { font-size: clamp(38px, 12vw, 66px); }
  .hero-actions { gap: 12px; }
  .btn { width: 100%; justify-content: center; }
  .pwd { width: 100%; justify-content: space-between; }
  .hero-meta { flex-direction: column; gap: 6px; }
  .c1 { right: -10%; top: 6%; opacity: 0.45; }
  .c2 { display: none; }

  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .pwd-card { width: 100%; justify-content: space-between; }
  .dl { border-radius: 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { margin-left: 0; }

  .gate { padding: 16px; }
  .gate-card { padding: 26px 20px 20px; border-radius: 20px; }
  .gate-foot { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}