/* ==========================================================================
   黑料社官网 · 共享设计系统
   设计概念：深夜情报站 —— 深色高级感的全网热点深度聚合平台
   主调：电光绿（揭露真相） · 品红（病毒传播） · 赛博青（AI科技）
   ========================================================================== */

/* ---------- 设计令牌 Design Tokens ---------- */
:root {
  /* 背景层 */
  --bg-0: #07070d;
  --bg-1: #0d0d18;
  --bg-2: #14142230;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.07);
  --surface-hover: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* 主色 */
  --lime: #a3e635;
  --lime-bright: #bef264;
  --lime-deep: #65a30d;
  --magenta: #ec4899;
  --magenta-bright: #f472b6;
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --amber: #fbbf24;

  /* 渐变 */
  --grad-expose: linear-gradient(120deg, #a3e635 0%, #22d3ee 100%);
  --grad-viral: linear-gradient(120deg, #ec4899 0%, #8b5cf6 100%);
  --grad-aurora: linear-gradient(120deg, #a3e635 0%, #22d3ee 40%, #ec4899 100%);
  --grad-text: linear-gradient(120deg, #bef264 0%, #67e8f9 50%, #f472b6 100%);
  --grad-dark: linear-gradient(160deg, #07070d 0%, #0d0d18 60%, #07070d 100%);

  /* 文字 */
  --text: #f4f4f8;
  --text-muted: #9a9ab0;
  --text-dim: #6b6b82;

  /* 阴影/光晕 */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.55);
  --glow-lime: 0 0 40px rgba(163, 230, 53, 0.25);
  --glow-magenta: 0 0 40px rgba(236, 72, 153, 0.25);
  --glow-cyan: 0 0 40px rgba(34, 211, 238, 0.25);

  /* 圆角 */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* 间距/容器 */
  --container: 1200px;
  --nav-h: 68px;

  /* 字体 */
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-display: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Consolas, monospace;
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}
/* 全局背景：动态渐变光晕 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--grad-dark);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 50% at 15% 10%, rgba(163, 230, 53, 0.08), transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 20%, rgba(236, 72, 153, 0.07), transparent 60%),
    radial-gradient(ellipse 55% 45% at 50% 90%, rgba(34, 211, 238, 0.07), transparent 60%);
  pointer-events: none;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--lime-bright); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ---------- 布局工具 ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; position: relative; }
.section-sm { padding: 56px 0; }
.grid { display: grid; gap: 24px; }
.text-center { text-align: center; }
.mono { font-family: var(--font-mono); }

/* ---------- 排版 ---------- */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { color: var(--text-muted); }
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  padding: 6px 14px;
  border: 1px solid rgba(163, 230, 53, 0.3);
  border-radius: var(--r-pill);
  background: rgba(163, 230, 53, 0.06);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
  animation: pulse 2s infinite;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  transition: all .25s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--grad-expose);
  color: #0a0a12;
  box-shadow: var(--glow-lime);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 50px rgba(163,230,53,.45); color: #0a0a12; }
.btn-viral {
  background: var(--grad-viral);
  color: #fff;
  box-shadow: var(--glow-magenta);
}
.btn-viral:hover { transform: translateY(-2px); box-shadow: 0 0 50px rgba(236,72,153,.45); color:#fff; }
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--surface-hover); border-color: var(--lime); color: var(--lime-bright); transform: translateY(-2px); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- 导航栏 ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all .3s;
  background: rgba(7, 7, 13, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 7, 13, 0.85);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-md);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.2rem; letter-spacing: -0.02em; }
.logo-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--grad-expose);
  display: grid; place-items: center;
  color: #0a0a12;
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: var(--glow-lime);
  flex-shrink: 0;
}
.logo-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .btn { padding: 9px 20px; font-size: 0.88rem; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); place-items: center; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

/* 移动端菜单 */
.mobile-menu {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(7, 7, 13, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 20px;
  display: none;
  flex-direction: column;
  gap: 6px;
  z-index: 999;
  animation: slideDown .3s ease;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 14px 16px; border-radius: var(--r-sm); font-weight: 600; color: var(--text); }
.mobile-menu a:hover { background: var(--surface); }
.mobile-menu .btn { margin-top: 8px; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + 60px) 0 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; animation: float 12s ease-in-out infinite; }
.hero-orb.o1 { width: 400px; height: 400px; background: var(--lime); top: -80px; left: -60px; }
.hero-orb.o2 { width: 350px; height: 350px; background: var(--magenta); top: 20%; right: -80px; animation-delay: -4s; }
.hero-orb.o3 { width: 300px; height: 300px; background: var(--cyan); bottom: -100px; left: 40%; animation-delay: -8s; }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(30px,-40px) scale(1.1); } 66% { transform: translate(-20px,30px) scale(0.95); } }

.hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-title { margin: 22px 0 20px; }
.hero-title .line { display: block; }
.hero-sub { font-size: 1.1rem; color: var(--text-muted); max-width: 540px; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stat .num { font-size: 1.8rem; font-weight: 900; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-stat .label { font-size: 0.82rem; color: var(--text-dim); }

/* Hero 右侧视觉：拼图情报卡 */
.hero-visual { position: relative; height: 460px; }
.puzzle-card {
  position: absolute;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 18px;
  box-shadow: var(--shadow-lg);
  animation: cardFloat 6s ease-in-out infinite;
}
.puzzle-card.pc1 { top: 10px; right: 20px; width: 230px; animation-delay: 0s; }
.puzzle-card.pc2 { top: 150px; left: 0; width: 210px; animation-delay: -2s; }
.puzzle-card.pc3 { bottom: 10px; right: 40px; width: 240px; animation-delay: -4s; }
@keyframes cardFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.puzzle-card .pc-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: var(--r-pill); margin-bottom: 10px; }
.puzzle-card .pc-title { font-size: 0.95rem; font-weight: 700; line-height: 1.4; margin-bottom: 8px; }
.puzzle-card .pc-meta { font-size: 0.78rem; color: var(--text-dim); display: flex; align-items: center; gap: 10px; }
.pc-thumb { width: 100%; height: 110px; border-radius: var(--r-sm); margin-bottom: 12px; position: relative; overflow: hidden; }
.pc-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,7,13,.7), transparent); }
.pc-thumb.t1 { background: linear-gradient(135deg, #a3e63533, #22d3ee44); }
.pc-thumb.t2 { background: linear-gradient(135deg, #ec489933, #8b5cf644); }
.pc-thumb.t3 { background: linear-gradient(135deg, #22d3ee33, #a3e63544); }
.pc-thumb .play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(7,7,13,.6); border: 1px solid var(--border-strong); display: grid; place-items: center; z-index: 2; }
.pc-thumb .play::after { content: ""; border-left: 12px solid var(--text); border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }

/* ---------- 特性卡片 ---------- */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-expose);
  opacity: 0;
  transition: opacity .3s;
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--border-strong); background: var(--surface-2); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.feature-icon.lime { background: rgba(163,230,53,.12); color: var(--lime); }
.feature-icon.magenta { background: rgba(236,72,153,.12); color: var(--magenta-bright); }
.feature-icon.cyan { background: rgba(34,211,238,.12); color: var(--cyan); }
.feature-icon.violet { background: rgba(139,92,246,.12); color: var(--violet); }
.feature-icon.amber { background: rgba(251,191,36,.12); color: var(--amber); }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { font-size: 0.95rem; }

/* ---------- 通用卡片 ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all .3s;
}
.card:hover { border-color: var(--border-strong); transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* ---------- 热点/视频卡片 ---------- */
.topic-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all .3s;
  display: flex;
  flex-direction: column;
}
.topic-card:hover { border-color: var(--lime); transform: translateY(-5px); box-shadow: 0 12px 40px rgba(163,230,53,.12); }
.topic-thumb { width: 100%; aspect-ratio: 16/9; position: relative; overflow: hidden; }
.topic-thumb .grad { position: absolute; inset: 0; }
.topic-thumb .badge { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: var(--r-pill); background: rgba(7,7,13,.7); backdrop-filter: blur(8px); border: 1px solid var(--border-strong); }
.topic-thumb .badge.hot { color: var(--magenta-bright); border-color: rgba(236,72,153,.4); }
.topic-thumb .badge.new { color: var(--lime); border-color: rgba(163,230,53,.4); }
.topic-thumb .play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(7,7,13,.6); border: 1px solid var(--border-strong); display: grid; place-items: center; z-index: 2; opacity: 0; transition: all .3s; }
.topic-card:hover .play-btn { opacity: 1; transform: translate(-50%,-50%) scale(1.1); }
.topic-thumb .play-btn::after { content: ""; border-left: 14px solid var(--text); border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.topic-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.topic-body h3 { font-size: 1.02rem; line-height: 1.4; }
.topic-body .desc { font-size: 0.85rem; color: var(--text-dim); }
.topic-meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--text-dim); }
.topic-meta .stats { display: flex; gap: 14px; }
.topic-meta .stats span { display: flex; align-items: center; gap: 4px; }

/* ---------- 筛选 Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 8px 18px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all .2s;
  cursor: pointer;
}
.chip:hover { color: var(--text); border-color: var(--border-strong); }
.chip.active { background: var(--grad-expose); color: #0a0a12; border-color: transparent; font-weight: 700; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--border); padding: 64px 0 32px; background: rgba(7,7,13,.5); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { font-size: 0.88rem; max-width: 320px; margin: 16px 0 20px; }
.footer-col h4 { font-size: 0.95rem; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { font-size: 0.88rem; color: var(--text-muted); }
.footer-col a:hover { color: var(--lime-bright); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid var(--border); font-size: 0.82rem; color: var(--text-dim); flex-wrap: wrap; gap: 12px; }
.footer-bottom .links { display: flex; gap: 20px; }
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--text); }

/* ---------- 搜索框 ---------- */
.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  padding: 8px 8px 8px 22px;
  transition: all .2s;
}
.search-box:focus-within { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(163,230,53,.1); }
.search-box input { flex: 1; background: none; border: none; outline: none; color: var(--text); font-size: 0.95rem; }
.search-box input::placeholder { color: var(--text-dim); }
.search-box .btn { padding: 10px 22px; }

/* ---------- 滚动显现动画 ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: all .7s cubic-bezier(.4,0,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ---------- 回到顶部 ---------- */
.back-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--grad-expose);
  color: #0a0a12;
  display: grid; place-items: center;
  font-size: 1.2rem; font-weight: 900;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: all .3s;
  z-index: 900;
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { transform: translateY(-4px) scale(1.05); }

/* ---------- 弹窗 ---------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(7,7,13,.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center; justify-content: center;
  z-index: 2000;
  padding: 20px;
  animation: fadeIn .25s;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  max-width: 560px;
  width: 100%;
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalIn .3s cubic-bezier(.4,0,.2,1);
}
@keyframes modalIn { from { opacity: 0; transform: scale(.92) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-close { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-size: 1.1rem; color: var(--text-muted); transition: all .2s; }
.modal-close:hover { background: var(--surface-hover); color: var(--text); transform: rotate(90deg); }
.modal h2 { margin-bottom: 16px; }
.modal p { margin-bottom: 24px; }

/* ---------- 步骤/流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 32px; position: relative; }
.step-num { position: absolute; top: -16px; left: 32px; width: 40px; height: 40px; border-radius: 50%; background: var(--grad-expose); color: #0a0a12; font-weight: 900; display: grid; place-items: center; font-size: 1.1rem; box-shadow: var(--glow-lime); }
.step-icon { font-size: 2rem; margin: 12px 0 16px; }
.step h3 { margin-bottom: 8px; }

/* ---------- 登录表单 ---------- */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.form-control {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 13px 16px;
  color: var(--text);
  font-size: 0.95rem;
  transition: all .2s;
  outline: none;
}
.form-control:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(163,230,53,.1); }
.form-control::placeholder { color: var(--text-dim); }
.form-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; font-size: 0.85rem; }
.form-row a { color: var(--lime-bright); }
.checkbox { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.checkbox input { width: 16px; height: 16px; accent-color: var(--lime); }

/* ---------- 下载页专属 ---------- */
.platform-badges { display: flex; gap: 16px; flex-wrap: wrap; }
.platform-badge {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  padding: 16px 22px;
  transition: all .25s;
}
.platform-badge:hover { border-color: var(--lime); transform: translateY(-3px); }
.platform-badge .pb-icon { font-size: 2.2rem; }
.platform-badge .pb-info strong { display: block; font-size: 1rem; }
.platform-badge .pb-info span { font-size: 0.78rem; color: var(--text-dim); }

.qr-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  text-align: center;
}
.qr-placeholder {
  width: 180px; height: 180px;
  margin: 0 auto 18px;
  border-radius: var(--r-md);
  background:
    linear-gradient(45deg, var(--lime) 25%, transparent 25%) 0 0/24px 24px,
    linear-gradient(-45deg, var(--lime) 25%, transparent 25%) 0 0/24px 24px,
    var(--bg-1);
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  position: relative;
}
.qr-placeholder::after { content: "扫码下载"; position: absolute; bottom: -28px; left: 50%; transform: translateX(-50%); font-size: 0.8rem; color: var(--text-dim); white-space: nowrap; }

/* ---------- 时间线/热点滚动条 ---------- */
.ticker {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
}
.ticker-label {
  flex-shrink: 0;
  padding: 10px 20px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0a0a12;
  background: var(--grad-expose);
  display: flex; align-items: center; gap: 8px;
}
.ticker-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #0a0a12; animation: pulse 1.5s infinite; }
.ticker-track {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
}
.ticker-content { display: inline-block; animation: tickerScroll 40s linear infinite; padding-left: 100%; }
.ticker-content span { margin-right: 40px; font-size: 0.85rem; color: var(--text-muted); }
.ticker-content span b { color: var(--lime-bright); margin-right: 6px; }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

/* ---------- 对比表 ---------- */
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); }
.compare-table th { font-size: 0.85rem; color: var(--text-dim); font-weight: 600; }
.compare-table td { font-size: 0.92rem; }
.compare-table .check { color: var(--lime); font-weight: 700; }
.compare-table .cross { color: var(--text-dim); }
.compare-table .highlight { color: var(--lime-bright); font-weight: 700; }

/* ---------- 页面通用头部（非首页） ---------- */
.page-hero {
  padding: calc(var(--nav-h) + 60px) 0 56px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero .hero-orb { opacity: .3; }
.page-hero-content { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.page-hero h1 { margin: 18px 0 16px; }
.page-hero p { font-size: 1.05rem; max-width: 580px; margin: 0 auto; }

/* ---------- 分页 ---------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a, .pagination span {
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all .2s;
}
.pagination a:hover { color: var(--text); border-color: var(--border-strong); }
.pagination .active { background: var(--grad-expose); color: #0a0a12; border-color: transparent; }

/* ---------- 加载骨架/空态 ---------- */
.skeleton { background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--r-sm); }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---------- 装饰：拼图块 ---------- */
.deco-puzzle { position: absolute; opacity: .06; pointer-events: none; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; }
  .nav-actions .btn-ghost { display: none; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats { gap: 24px; }
  .hero-stat .num { font-size: 1.4rem; }
  .section { padding: 52px 0; }
  .modal { padding: 28px 20px; }
  .topic-body h3 { font-size: 0.95rem; }
  .back-top { bottom: 20px; right: 20px; }
}
@media (max-width: 480px) {
  .btn { padding: 11px 20px; font-size: 0.88rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
