/* ==========================================================================
   Poe2PriceGui 官网 — 科技感 + 液态玻璃设计系统（双产品版）
   ========================================================================== */

/* ---------- 变量 ---------- */
:root {
  --bg-0: #04070f;
  --bg-1: #080d1a;
  --bg-2: #0c1326;

  --gold: #e8c47a;
  --gold-deep: #c9a24a;
  --gold-soft: rgba(232, 196, 122, 0.14);

  --cyan: #38e1ff;
  --cyan-deep: #0ea5c4;
  --cyan-soft: rgba(56, 225, 255, 0.12);

  --text-1: #eef2fa;
  --text-2: #a8b3c9;
  --text-3: #67718c;

  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.16);

  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 12px;

  --font-display: "Orbitron", "Microsoft YaHei", "PingFang SC", sans-serif;
  --font-body: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  --font-mono: "Share Tech Mono", "Consolas", monospace;

  --nav-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--text-1);
  line-height: 1.7;
  overflow-x: hidden;
  /* 常驻滚动条：避免窗口缩放时滚动条出现/消失引发的宽度跳变闪烁 */
  overflow-y: scroll;
  -webkit-font-smoothing: antialiased;
}

/* 玻璃元素统一合成层保护（will-change 不与 .reveal 的 transform 冲突） */
.glass, .glass-chip, .nav.scrolled .nav-inner, .game-switch, .qq-join, .boot-bar, .gs-viewport {
  will-change: transform;
}
/* 缩放 / 窗口拖动期间毛玻璃↔实底切换做平滑过渡，消除突变闪烁 */
.glass, .glass-chip, .nav.scrolled .nav-inner, .game-switch, .qq-join {
  transition-property: background, border-color, box-shadow;
  transition-duration: 0.3s;
}

/* ---------- 缩放保护：缩放期间临时禁用毛玻璃（实底替代），停止后自动恢复 ---------- */
html.zooming .glass,
html.zooming .glass-chip,
html.zooming .nav.scrolled .nav-inner,
html.zooming .game-switch,
html.zooming .qq-join {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  background: #0b1220 !important;
}
html.zooming .glass::after { display: none; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
b { font-weight: 700; }

::selection { background: rgba(56, 225, 255, 0.28); color: #fff; }

/* ---------- 背景层 ---------- */
#fx-particles {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}

.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(90, 140, 200, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 140, 200, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 22%, black 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 22%, black 0%, transparent 78%);
}

.bg-glow {
  position: fixed; z-index: 0; pointer-events: none;
  width: 62vw; height: 62vw; border-radius: 50%;
  filter: blur(90px);
  animation: glowFloat 16s ease-in-out infinite alternate;
}
.bg-glow--cyan {
  top: -28vw; right: -18vw;
  background: radial-gradient(circle, rgba(14, 116, 187, 0.24), transparent 62%);
}
.bg-glow--gold {
  bottom: -30vw; left: -20vw;
  background: radial-gradient(circle, rgba(201, 162, 74, 0.13), transparent 62%);
  animation-delay: -8s;
}
@keyframes glowFloat {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(4vw, 3vw, 0) scale(1.12); }
}

.noise {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, .nav, .footer { position: relative; z-index: 2; }

/* ---------- 液态玻璃系统 ---------- */
.glass {
  position: relative;
  background: linear-gradient(160deg,
    rgba(255, 255, 255, 0.085),
    rgba(255, 255, 255, 0.02) 38%,
    rgba(120, 200, 255, 0.045) 100%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow:
    0 18px 48px -18px rgba(2, 6, 18, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(255, 255, 255, 0.03),
    inset 1px 0 0 rgba(255, 255, 255, 0.04);
}

/* 悬停时扫过的液态光带 */
.glass::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.05) 46%,
    rgba(255, 255, 255, 0.11) 50%,
    rgba(255, 255, 255, 0.05) 54%,
    transparent 60%);
  background-size: 250% 100%;
  background-position: 115% 0;
  transition: background-position 1.1s var(--ease);
}
.glass:hover::after { background-position: -105% 0; }

/* 鼠标跟随光斑（JS 写入 --mx / --my） */
.glow-track::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%),
    rgba(120, 220, 255, 0.11), transparent 42%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.glow-track:hover::before { opacity: 1; }
.glow-track > * { position: relative; z-index: 1; }

/* HUD 边角括号 */
.hud {
  position: absolute; z-index: 3;
  width: 16px; height: 16px;
  pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(56, 225, 255, 0.55));
}
.hud--tl { top: 10px; left: 10px; border-top: 2px solid var(--cyan); border-left: 2px solid var(--cyan); }
.hud--br { bottom: 10px; right: 10px; border-bottom: 2px solid var(--cyan); border-right: 2px solid var(--cyan); }

/* 玻璃小徽章 */
.glass-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  font-size: 0.82rem;
  color: var(--text-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px #34d399;
  animation: pulse 2s ease-in-out infinite;
  flex: none;
}
@keyframes pulse { 50% { opacity: 0.45; } }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 0.95rem; font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: linear-gradient(135deg, #f3d894, var(--gold) 45%, var(--gold-deep));
  color: #241a05;
  box-shadow: 0 6px 24px -6px rgba(232, 196, 122, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px -8px rgba(232, 196, 122, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-color: var(--line-strong);
  color: var(--text-1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 225, 255, 0.45);
  box-shadow: 0 10px 30px -10px rgba(56, 225, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.btn-nav { padding: 9px 20px; font-size: 0.85rem; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 20px 0;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease,
    box-shadow 0.35s ease;
}
.nav.scrolled .nav-inner {
  background: rgba(8, 13, 26, 0.66);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  border-color: var(--line);
  box-shadow: 0 12px 40px -12px rgba(2, 6, 18, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo {
  width: 30px; height: 30px;
  border-radius: 8px;
  filter: drop-shadow(0 0 8px rgba(56, 225, 255, 0.45));
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 700; letter-spacing: 0.04em;
}
.brand-accent { color: var(--gold); }

/* ---------- 产品切换器（液态玻璃分段控件） ---------- */
.game-switch {
  position: relative;
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(160deg,
    rgba(255, 255, 255, 0.11),
    rgba(255, 255, 255, 0.03) 50%,
    rgba(120, 200, 255, 0.07));
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  box-shadow:
    0 8px 24px -8px rgba(2, 6, 18, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  flex: none;
}
/* 滑动玻璃块：白色渐变 + 青色辉光 + 弹性回弹 */
.game-switch-ind {
  position: absolute;
  top: 4px; left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  border-radius: 999px;
  background: linear-gradient(150deg,
    rgba(255, 255, 255, 0.24),
    rgba(255, 255, 255, 0.06) 45%,
    rgba(56, 225, 255, 0.15));
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    0 6px 18px -4px rgba(2, 6, 18, 0.6),
    0 0 18px -2px rgba(56, 225, 255, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -6px 12px -6px rgba(56, 225, 255, 0.35);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.game-switch button {
  position: relative;
  z-index: 1;
  width: 76px;
  padding: 7px 0;
  border: 0;
  border-radius: 999px;
  background: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-3);
  transition: color 0.3s ease;
}
.game-switch button[aria-selected="true"] {
  color: var(--text-1);
  text-shadow: 0 0 14px rgba(56, 225, 255, 0.75), 0 0 3px rgba(56, 225, 255, 0.4);
}

.nav-links {
  display: flex; align-items: center; gap: 26px;
  font-size: 0.9rem; color: var(--text-2);
}
.nav-links a:not(.btn) { position: relative; transition: color 0.25s ease; }
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: -6px;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  transition: right 0.3s var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--text-1); }
.nav-links a:not(.btn):hover::after { right: 0; }

.nav-burger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer;
  padding: 8px;
}
.nav-burger span {
  width: 22px; height: 2px; border-radius: 2px;
  background: var(--text-1);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 布局工具 ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section { padding: 110px 0; scroll-margin-top: 80px; position: relative; }
.section--alt::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent, rgba(10, 16, 32, 0.55) 18%, rgba(10, 16, 32, 0.55) 82%, transparent);
  pointer-events: none;
}
.section--alt > .container { position: relative; z-index: 1; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem; letter-spacing: 0.42em;
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(56, 225, 255, 0.5);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 800; line-height: 1.25;
}
.section-title em, .hero h1 em, .gold-text {
  font-style: normal;
  background: linear-gradient(120deg, #f6e3ae, var(--gold) 45%, #b98f3e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(232, 196, 122, 0.25));
}
.section-sub { color: var(--text-2); margin-top: 14px; font-size: 1.02rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 90px) 0 130px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.2rem);
  font-weight: 800; line-height: 1.18;
  letter-spacing: 0.01em;
  margin: 22px 0 20px;
}
.hero .lead { color: var(--text-2); font-size: 1.08rem; max-width: 540px; }
.hero-actions { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }

.hero-meta {
  display: flex; gap: 26px; flex-wrap: wrap;
  margin-top: 34px;
  font-size: 0.85rem; color: var(--text-3);
}
.hero-meta b { color: var(--gold); font-family: var(--font-mono); font-weight: 400; margin-left: 4px; }

.hero-visual { position: relative; }

/* 截图相框 */
.shot-frame { padding: 12px; }
.shot-frame img {
  width: 100%; border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.shot-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 2px 6px 10px;
  font-size: 0.75rem; color: var(--text-3);
  font-family: var(--font-mono);
}
.shot-dots { display: inline-flex; gap: 6px; }
.shot-dots i {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.shot-title { flex: 1; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shot-live { display: inline-flex; align-items: center; gap: 6px; color: rgba(52, 211, 153, 0.85); }
.shot-live .dot { width: 6px; height: 6px; }

.tilt { transition: transform 0.4s var(--ease); transform-style: preserve-3d; will-change: transform; }

/* 悬浮徽章 */
.float-chip {
  position: absolute; z-index: 4;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-1);
  /* 深色玻璃底：保证叠在浅色截图上仍清晰可读 */
  background: rgba(8, 13, 26, 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  animation: chipFloat 5s ease-in-out infinite;
  box-shadow: 0 14px 34px -10px rgba(2, 6, 18, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.float-chip svg { width: 15px; height: 15px; color: var(--cyan); }
.float-chip--1 { top: -16px; right: 6%; }
.float-chip--2 { bottom: 24%; left: -34px; animation-delay: -1.6s; }
.float-chip--2 svg { color: var(--gold); }
.float-chip--3 { bottom: -18px; right: 10%; animation-delay: -3.2s; }
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* 透视网格地面 */
.hero-floor {
  position: absolute; left: -10%; right: -10%; bottom: -40px;
  height: 300px;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(56, 225, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 225, 255, 0.16) 1px, transparent 1px);
  background-size: 46px 46px;
  transform: perspective(560px) rotateX(63deg);
  transform-origin: center top;
  mask-image: linear-gradient(to bottom, transparent, black 32%, black 72%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 32%, black 72%, transparent);
  opacity: 0.5;
  animation: floorMove 3.2s linear infinite;
}
@keyframes floorMove { to { background-position-y: 46px; } }

/* ---------- 信任条 ---------- */
.trust { padding: 0 0 30px; }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.trust-item {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 22px;
  border-radius: var(--r-md);
  transition: transform 0.3s var(--ease), border-color 0.3s ease;
}
.trust-item:hover { transform: translateY(-4px); border-color: rgba(56, 225, 255, 0.35); }
.trust-item svg { width: 30px; height: 30px; color: var(--cyan); flex: none; filter: drop-shadow(0 0 8px rgba(56, 225, 255, 0.4)); }
.trust-item b { display: block; font-size: 0.95rem; }
.trust-item span { display: block; font-size: 0.78rem; color: var(--text-3); line-height: 1.5; }

/* ---------- 功能矩阵 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 26px 24px;
  border-radius: var(--r-lg);
  transition: transform 0.35s var(--ease), border-color 0.3s ease, box-shadow 0.35s ease;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-7px);
  border-color: rgba(56, 225, 255, 0.4);
  box-shadow: 0 26px 56px -18px rgba(2, 6, 18, 0.9),
    0 0 0 1px rgba(56, 225, 255, 0.12),
    0 12px 44px -14px rgba(56, 225, 255, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.feature-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 15px;
  background: linear-gradient(150deg, rgba(56, 225, 255, 0.16), rgba(232, 196, 122, 0.08));
  border: 1px solid rgba(56, 225, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 0 22px -6px rgba(56, 225, 255, 0.35);
  margin-bottom: 18px;
}
.feature-icon svg { width: 26px; height: 26px; color: var(--cyan); }
.feature-card--gold .feature-icon {
  background: linear-gradient(150deg, rgba(232, 196, 122, 0.16), rgba(56, 225, 255, 0.06));
  border-color: rgba(232, 196, 122, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 0 22px -6px rgba(232, 196, 122, 0.35);
}
.feature-card--gold .feature-icon svg { color: var(--gold); }

.feature-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.feature-card p { font-size: 0.86rem; color: var(--text-2); line-height: 1.75; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.feature-tags span {
  font-size: 0.7rem; font-family: var(--font-mono);
  padding: 3px 10px; border-radius: 999px;
  color: var(--text-3);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
}

/* ---------- 游戏效果图库：单框自动轮播 ---------- */
.gallery-slider {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 12px;
}
.gs-viewport {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  cursor: zoom-in;
  /* 强制独立绘制边界：防止动画帧溢出画框渲染 */
  contain: paint;
  transform: translateZ(0);
}
.gs-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.85s ease;
  pointer-events: none;
  background: #05070f;
  overflow: hidden;
}
.gs-slide.is-active { opacity: 1; z-index: 2; pointer-events: auto; }

/* 底层：同图模糊铺满，为不同比例的图补背景 */
.gs-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: blur(22px) brightness(0.42) saturate(1.35);
  transform: scale(1.14);
}
/* 主图层：完整显示，随容器自动缩放 */
.gs-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
}

/* 指示点 */
.gs-dots {
  position: absolute; left: 50%; bottom: 14px;
  transform: translateX(-50%);
  display: flex; gap: 7px;
  z-index: 5;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(5, 8, 17, 0.5);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.gs-dot {
  width: 22px; height: 4px;
  border-radius: 2px; border: 0;
  cursor: pointer; padding: 0;
  background: rgba(255, 255, 255, 0.25);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.gs-dot.is-on {
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(56, 225, 255, 0.7);
}

/* 底部信息条 */
.gs-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 6px 2px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--text-3);
}
.gs-idx { color: var(--cyan); flex: none; }
.gs-name {
  flex: 1; text-align: center;
  color: var(--text-2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.gs-live { display: inline-flex; align-items: center; gap: 6px; color: rgba(52, 211, 153, 0.85); flex: none; }
.gs-live .dot { width: 6px; height: 6px; }

/* 左右箭头 */
.gs-arrow {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(5, 8, 17, 0.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--text-1);
  opacity: 0;
  transition: opacity 0.3s ease, border-color 0.25s ease, transform 0.3s var(--ease);
}
.gallery-slider:hover .gs-arrow { opacity: 1; }
.gs-arrow:hover { border-color: var(--cyan); transform: translateY(-50%) scale(1.08); }
.gs-arrow svg { width: 18px; height: 18px; }
.gs-prev { left: 26px; }
.gs-next { right: 26px; }
@media (hover: none) {
  .gs-arrow { opacity: 1; width: 36px; height: 36px; }
  .gs-prev { left: 14px; }
  .gs-next { right: 14px; }
}

.compare-note {
  text-align: center; margin-top: 22px;
  font-size: 0.8rem; color: var(--text-3);
}

/* ---------- 灯箱 ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  padding: 30px;
  background: rgba(3, 6, 14, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-body {
  max-width: min(1100px, 92vw);
  padding: 14px;
  transform: scale(0.94);
  transition: transform 0.35s var(--ease);
}
.lightbox.open .lightbox-body { transform: scale(1); }
.lightbox-body img { max-height: 76vh; width: auto; margin: 0 auto; border-radius: var(--r-sm); }
.lightbox-body figcaption {
  text-align: center; padding-top: 12px;
  font-size: 0.85rem; color: var(--text-2);
  font-family: var(--font-mono);
}
.lightbox-close {
  position: absolute; top: 22px; right: 30px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-1);
  font-size: 1.5rem; line-height: 1;
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.25s var(--ease);
}
.lightbox-close:hover { border-color: var(--cyan); transform: rotate(90deg); }

/* ---------- 查价器 ---------- */
.checker-wrap {
  max-width: 1020px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}
.checker-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px 24px 26px;
  border-radius: var(--r-lg);
  transition: transform 0.3s var(--ease), border-color 0.3s ease;
}
.step-card:hover { transform: translateY(-5px); border-color: rgba(56, 225, 255, 0.35); }
.step-no {
  font-family: var(--font-display);
  font-size: 1.9rem; font-weight: 800;
  line-height: 1;
  background: linear-gradient(160deg, var(--cyan), rgba(56, 225, 255, 0.25));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 12px rgba(56, 225, 255, 0.35));
}
.step-body b { display: block; font-size: 1rem; margin-bottom: 6px; }
.step-body p { font-size: 0.85rem; color: var(--text-2); }

.checker-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 20px 10px;
  border-radius: var(--r-lg);
  text-align: center;
}
.cstat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem; font-weight: 800; line-height: 1.2;
  background: linear-gradient(120deg, #f6e3ae, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cstat span { font-size: 0.74rem; color: var(--text-3); }

/* ---------- 更新日志时间线 ---------- */
.timeline {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding-left: 34px;
}
.timeline::before {
  content: "";
  position: absolute; left: 7px; top: 8px; bottom: 8px;
  width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, var(--cyan), rgba(56, 225, 255, 0.15) 60%, transparent);
  box-shadow: 0 0 12px rgba(56, 225, 255, 0.35);
}
.timeline-item { position: relative; padding-bottom: 26px; }
.timeline-item:last-child { padding-bottom: 0; }
.tl-node {
  position: absolute; left: -34px; top: 22px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg-0);
  border: 2px solid var(--cyan);
  box-shadow: 0 0 14px rgba(56, 225, 255, 0.65);
}
.tl-card { padding: 20px 26px; border-radius: var(--r-md); }
.tl-card header {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  margin-bottom: 10px;
}
.tl-version {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 700;
  color: var(--gold);
  text-shadow: 0 0 16px rgba(232, 196, 122, 0.35);
}
.tl-version .pin {
  font-size: 0.62rem; font-family: var(--font-body);
  padding: 2px 8px; margin-left: 8px; border-radius: 999px;
  color: var(--cyan);
  border: 1px solid rgba(56, 225, 255, 0.35);
  vertical-align: 2px;
}
.tl-version .pin--beta {
  color: var(--gold);
  border-color: rgba(232, 196, 122, 0.45);
}
.tl-date { font-size: 0.76rem; color: var(--text-3); font-family: var(--font-mono); }
.tl-card li {
  position: relative;
  font-size: 0.87rem; color: var(--text-2);
  padding-left: 18px; margin-top: 7px;
}
.tl-card li::before {
  content: "";
  position: absolute; left: 2px; top: 0.62em;
  width: 6px; height: 6px; border-radius: 2px;
  background: rgba(56, 225, 255, 0.55);
  transform: rotate(45deg);
}

/* ---------- 下载 ---------- */
.download-panel {
  display: flex; align-items: center; gap: 40px;
  padding: 48px 52px;
  overflow: hidden;
}
.download-panel::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(560px circle at 12% 0%, rgba(232, 196, 122, 0.1), transparent 46%),
    radial-gradient(560px circle at 92% 100%, rgba(56, 225, 255, 0.09), transparent 46%);
  pointer-events: none;
}
.dl-badge {
  flex: none;
  width: 120px; height: 120px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 32px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 18px 44px -14px rgba(2, 6, 18, 0.8);
}
.dl-badge .brand-logo { width: 64px; height: 64px; border-radius: 16px; }
.dl-info { position: relative; z-index: 1; }
.dl-info .ver { margin-bottom: 14px; }
.dl-info .ver b { color: var(--gold); font-family: var(--font-mono); font-weight: 400; }
.dl-info h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 8px; }
.dl-meta { color: var(--text-2); font-size: 0.92rem; }
.dl-buttons { display: flex; gap: 14px; margin: 24px 0 14px; flex-wrap: wrap; }
/* 下载按钮两行结构：第一行渠道名，第二行文件名/大小，避免长文件名把按钮撑爆 */
.dl-buttons .btn { flex-wrap: wrap; padding: 10px 24px; }
.dl-buttons .btn-label { line-height: 1.3; }
.dl-buttons .btn-sub {
  flex: 1 1 100%;
  font-size: 0.66rem; font-weight: 400;
  opacity: 0.78;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  text-align: center;
}
/* 网盘提取码高亮（蓝奏云等需密码才能下载），位于渠道名后，可点击复制 */
.dl-buttons .btn-pwd {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  opacity: 1;
  margin-left: 8px;
  padding: 1px 8px;
  border: 1px dashed rgba(232, 196, 122, 0.55);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  vertical-align: 1px;
  transition: filter 0.2s ease, border-color 0.2s ease;
}
.dl-buttons .btn-pwd svg { width: 11px; height: 11px; flex: none; }
.dl-buttons .btn-pwd:hover { filter: brightness(1.2); }
/* 金色主按钮上密码改用深色，保证可读 */
.dl-buttons .btn-primary .btn-pwd { color: #052430; border-color: rgba(5, 36, 48, 0.45); }
.dl-note { font-size: 0.76rem; color: var(--text-3); }

/* ---------- FAQ ---------- */
.faq-container { max-width: 860px; }
.faq-list { display: grid; gap: 14px; }
.faq-item {
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.3s ease;
}
/* 窄列表卡禁用扫光层，避免答案区出现滞留的高光带 */
.faq-item::after { content: none; }
.faq-item[open] { border-color: rgba(56, 225, 255, 0.35); }
.faq-item summary {
  display: flex; align-items: center; gap: 14px;
  padding: 19px 24px;
  cursor: pointer; list-style: none;
  font-weight: 700; font-size: 0.98rem;
  transition: color 0.25s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--cyan); }
.faq-item summary svg {
  width: 18px; height: 18px; margin-left: auto; flex: none;
  color: var(--text-3);
  transition: transform 0.35s var(--ease), color 0.25s ease;
}
.faq-item[open] summary svg { transform: rotate(45deg); color: var(--cyan); }
.faq-a {
  padding: 0 24px 20px;
  font-size: 0.88rem; color: var(--text-2);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px; margin: 0 24px 20px;
  padding-left: 0; padding-right: 0;
}

/* 风险提示 */
.risk-panel {
  margin-top: 44px;
  padding: 28px 32px;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(232, 181, 77, 0.09), rgba(255, 255, 255, 0.02) 45%);
  border-color: rgba(232, 181, 77, 0.28);
}
.risk-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
  color: var(--gold);
}
.risk-head svg { width: 22px; height: 22px; filter: drop-shadow(0 0 8px rgba(232, 196, 122, 0.5)); }
.risk-panel li {
  position: relative;
  font-size: 0.87rem; color: var(--text-2);
  padding-left: 20px; margin-top: 8px;
}
.risk-panel li::before {
  content: "";
  position: absolute; left: 2px; top: 0.6em;
  width: 7px; height: 2px; border-radius: 2px;
  background: rgba(232, 196, 122, 0.7);
}
.risk-panel li b { color: var(--gold); }

/* ---------- 交流群 ---------- */
.qq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 20px;
}
.qq-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  min-width: 0;
  border-radius: var(--r-lg);
  cursor: pointer;
  font: inherit; color: inherit;
  text-align: left;
  transition: transform 0.3s var(--ease), border-color 0.3s ease;
}
.qq-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 225, 255, 0.4);
}
.qq-card--bili .qq-card-icon {
  background: linear-gradient(150deg, rgba(56, 225, 255, 0.16), rgba(255, 122, 173, 0.14));
  border-color: rgba(255, 122, 173, 0.35);
}
.qq-card--bili .qq-card-icon svg { color: #ff7aad; }
/* B 站卡片没有群号行，名称放不下时允许换行 */
.qq-card--bili .qq-card-info b { white-space: normal; }
.qq-card-icon {
  width: 48px; height: 48px; flex: none;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(56, 225, 255, 0.16), rgba(18, 183, 245, 0.07));
  border: 1px solid rgba(56, 225, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 0 20px -6px rgba(56, 225, 255, 0.3);
}
.qq-card-icon svg { width: 24px; height: 24px; color: var(--cyan); }
.qq-card-info { flex: 1; min-width: 0; }
.qq-card-info b {
  display: block; font-size: 0.95rem; line-height: 1.4;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.qq-badge {
  font-size: 0.6rem; font-weight: 600;
  padding: 2px 8px; margin-left: 8px;
  border-radius: 999px;
  color: var(--cyan);
  border: 1px solid rgba(56, 225, 255, 0.4);
  vertical-align: 2px;
  white-space: nowrap;
}
.qq-badge--full { color: var(--gold); border-color: rgba(232, 196, 122, 0.45); }
.qq-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.08rem;
  letter-spacing: 0.03em;
  color: var(--gold);
  margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.qq-actions {
  flex: none;
  display: flex; flex-direction: column; align-items: stretch; gap: 8px;
}
.qq-join {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 0.78rem; font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  color: #052430;
  border: 1px solid rgba(56, 225, 255, 0.5);
  background: linear-gradient(135deg, rgba(56, 225, 255, 0.95), rgba(14, 165, 196, 0.9));
  box-shadow: 0 6px 16px -6px rgba(56, 225, 255, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: box-shadow 0.25s ease, transform 0.25s var(--ease), filter 0.25s ease;
  white-space: nowrap;
}
.qq-join svg { width: 13px; height: 13px; flex: none; }
.qq-join:hover {
  filter: brightness(1.12);
  box-shadow: 0 8px 22px -6px rgba(56, 225, 255, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}
.qq-copy-hint {
  flex: none;
  font-size: 0.68rem; color: var(--text-3);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
  text-align: center;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.qq-card:hover .qq-copy-hint { color: var(--cyan); border-color: rgba(56, 225, 255, 0.4); }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid rgba(255, 255, 255, 0.07); background: rgba(5, 8, 17, 0.6); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 44px;
  padding: 60px 24px 44px;
}
.footer-brand p { margin-top: 16px; font-size: 0.86rem; color: var(--text-3); }
.footer-col h4 {
  font-size: 0.95rem; margin-bottom: 16px;
  color: var(--text-1);
}
.credits li {
  display: flex; justify-content: space-between; gap: 14px;
  font-size: 0.84rem; color: var(--text-2);
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
}
.credits li:last-child { border-bottom: 0; }
.credits a { color: var(--text-1); transition: color 0.25s ease; }
.credits a:hover { color: var(--cyan); }
.credits span { color: var(--text-3); font-size: 0.76rem; white-space: nowrap; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 22px 0;
  font-size: 0.74rem; color: var(--text-3);
}
.footer-bottom .container {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}

/* ---------- 启动遮罩 ---------- */
.boot {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 500;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(600px circle at 50% 42%, rgba(14, 116, 187, 0.18), transparent 60%),
    var(--bg-0);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.boot.done { opacity: 0; visibility: hidden; pointer-events: none; }
.boot-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.boot-logo {
  width: 56px; height: 56px;
  border-radius: 14px;
  animation: bootPulse 1.6s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(56, 225, 255, 0.55));
}
@keyframes bootPulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.08); opacity: 1; }
}
.boot-bar {
  width: 180px; height: 3px;
  border-radius: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}
.boot-bar i {
  display: block;
  width: 40%; height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  animation: bootSlide 1.2s ease-in-out infinite;
}
@keyframes bootSlide {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}
.boot-text {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.5em; text-indent: 0.5em;
  color: var(--text-3);
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 34px;
  transform: translate(-50%, 20px);
  z-index: 300;
  padding: 12px 26px;
  border-radius: 999px;
  background: rgba(8, 13, 26, 0.85);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(56, 225, 255, 0.4);
  color: var(--text-1); font-size: 0.88rem;
  box-shadow: 0 14px 40px -10px rgba(2, 6, 18, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s var(--ease), visibility 0.3s;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- 滚动渐入 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero { padding-top: calc(var(--nav-h) + 50px); }
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-visual { max-width: 640px; }
  .checker-steps { grid-template-columns: 1fr; }
  .download-panel { flex-direction: column; text-align: center; gap: 26px; padding: 40px 30px; }
  .dl-buttons { justify-content: center; }
  .dl-buttons .btn { width: 100%; max-width: 340px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }

  .nav-inner { gap: 10px; padding: 8px 14px; }
  .game-switch button { width: 58px; padding: 6px 0; font-size: 0.72rem; }

  .nav-links {
    position: fixed;
    top: calc(var(--nav-h) + 4px); left: 20px; right: 20px;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px;
    border-radius: var(--r-lg);
    background: rgba(8, 13, 26, 0.92);
    -webkit-backdrop-filter: blur(24px) saturate(170%);
    backdrop-filter: blur(24px) saturate(170%);
    border: 1px solid var(--line);
    box-shadow: 0 24px 60px -12px rgba(2, 6, 18, 0.9);
    opacity: 0; visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s ease, transform 0.3s var(--ease), visibility 0.3s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a:not(.btn) { padding: 12px 14px; border-radius: 10px; }
  .nav-links a:not(.btn):hover { background: rgba(255, 255, 255, 0.05); }
  .nav-links a:not(.btn)::after { display: none; }
  .btn-nav { margin-top: 10px; }
  .nav-burger { display: flex; }
}

@media (max-width: 620px) {
  .section { padding: 80px 0; }
  .feature-grid, .trust-grid { grid-template-columns: 1fr; }
  .float-chip--2 { left: -6px; }
  .hero-actions .btn { flex: 1; }
  .footer-bottom .container { justify-content: center; text-align: center; }
  .brand-name { display: none; }
  .qq-grid { grid-template-columns: 1fr; }
}

/* ---------- 降级与无动画 ---------- */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .nav.scrolled .nav-inner, .glass-chip {
    background: rgba(13, 20, 38, 0.88);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
