:root {
  --primary: #38bdf8;
  --accent: #a78bfa;
  --bg-dark: #0f172a;
  --bg-panel: #1e293b;
  --text-light: #e2e8f0;
  --text-dim: #94a3b8;
  --card-bg: #16213e;
  --border-glow: rgba(56, 189, 248, 0.3);
}
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: 'Noto Sans SC', 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}
h1, h2, h3, h4, .serif-title {
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
}
/* 几何色块背景 */
.bg-shapes {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bg-shapes .shape {
  position: absolute;
  opacity: 0.06;
  background: var(--primary);
}
.bg-shapes .shape-1 {
  width: 300px; height: 300px;
  border-radius: 50%;
  top: 15%; left: -80px;
  background: var(--primary);
  animation: floatShape 18s ease-in-out infinite;
}
.bg-shapes .shape-2 {
  width: 200px; height: 200px;
  top: 55%; right: -50px;
  background: var(--accent);
  transform: rotate(45deg);
  animation: floatShape 22s ease-in-out infinite reverse;
}
.bg-shapes .shape-3 {
  width: 120px; height: 120px;
  border-radius: 50%;
  bottom: 10%; left: 30%;
  background: var(--primary);
  animation: floatShape 14s ease-in-out infinite;
}
.bg-shapes .shape-4 {
  width: 80px; height: 80px;
  top: 30%; left: 60%;
  background: var(--accent);
  border-radius: 15px;
  transform: rotate(20deg);
  animation: floatShape 20s ease-in-out infinite;
}
.bg-shapes .shape-5 {
  width: 50px; height: 50px;
  border-radius: 50%;
  bottom: 30%; right: 20%;
  background: var(--primary);
  animation: floatShape 16s ease-in-out infinite;
}
@keyframes floatShape {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(10deg); }
}

/* 导航栏 */
.navbar-main {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  padding: 12px 0;
}
.navbar-main.scrolled {
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(56, 189, 248, 0.4);
  padding: 8px 0;
}
.navbar-brand-custom {
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--primary) !important;
  text-decoration: none;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}
.navbar-brand-custom i {
  color: var(--accent);
  font-size: 1.4rem;
}
.navbar-main .nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  margin: 0 8px;
  font-size: 0.95rem;
  padding: 8px 12px !important;
  border-radius: 8px;
  transition: all 0.2s ease;
  position: relative;
}
.navbar-main .nav-link:hover {
  color: var(--primary) !important;
  background: rgba(56, 189, 248, 0.08);
}
.navbar-main .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
  border-radius: 2px;
}
.navbar-main .nav-link:hover::after {
  width: 60%;
}
.navbar-toggler {
  border: 1px solid var(--primary);
  color: var(--primary);
}
.navbar-toggler:focus { box-shadow: none; }

/* 通用区块 */
.section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}
.section-title {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--text-light);
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 3px;
}
.section-subtitle {
  color: var(--text-dim);
  margin-bottom: 40px;
  font-size: 0.95rem;
}
.text-dim { color: var(--text-dim); }
.text-primary-custom { color: var(--primary); }
.text-accent { color: var(--accent); }

/* Hero */
.hero-section {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 70% 30%, rgba(56, 189, 248, 0.08), transparent 50%),
              radial-gradient(ellipse at 30% 70%, rgba(167, 139, 250, 0.06), transparent 50%);
}
.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(167, 139, 250, 0.15));
  border: 1px solid var(--border-glow);
  border-radius: 30px;
  padding: 6px 18px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 24px;
  letter-spacing: 1px;
}
.hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text-light), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 60px rgba(56, 189, 248, 0.1);
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-bottom: 36px;
  max-width: 600px;
  font-weight: 300;
}
.btn-custom {
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin-right: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.btn-primary-glow {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
}
.btn-primary-glow:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(56, 189, 248, 0.4);
  color: #fff;
}
.btn-outline-glow {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--border-glow);
}
.btn-outline-glow:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}
.hero-stats {
  margin-top: 48px;
  display: flex;
  gap: 36px;
}
.hero-stat-item {
  text-align: center;
}
.hero-stat-item .number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  font-family: 'Noto Serif SC', serif;
}
.hero-stat-item .label {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* 时间线 */
.timeline-section {
  position: relative;
}
.timeline {
  position: relative;
  padding: 20px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 3px;
  opacity: 0.6;
}
.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 32px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 8px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg-dark);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
  z-index: 2;
}
.timeline-item:nth-child(even)::before {
  background: var(--accent);
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.4);
}
.timeline-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 20px 24px;
  border-left: 3px solid var(--primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}
.timeline-card:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 30px rgba(56, 189, 248, 0.15);
  border-left-color: var(--accent);
}
.timeline-card .time-label {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 1px;
}
.timeline-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.timeline-card p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* 对比表格 */
.compare-section {
  background: rgba(30, 41, 59, 0.3);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.compare-table th, .compare-table td {
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  font-size: 0.9rem;
}
.compare-table thead th {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(167, 139, 250, 0.1));
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-light);
  border-bottom: 2px solid var(--border-glow);
}
.compare-table tbody tr:hover {
  background: rgba(56, 189, 248, 0.04);
}
.compare-table .feature-col {
  text-align: left;
  font-weight: 500;
  color: var(--text-light);
  width: 30%;
}
.compare-table .yes-icon {
  color: var(--primary);
  font-size: 1.1rem;
}
.compare-table .no-icon {
  color: #ef4444;
  font-size: 1.1rem;
}
.compare-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: 8px;
}

/* FAQ */
.faq-section {
  background: var(--bg-dark);
}
.accordion-custom .accordion-item {
  background: var(--card-bg);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 12px !important;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.accordion-custom .accordion-item:hover {
  border-color: var(--border-glow);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.accordion-custom .accordion-button {
  background: var(--card-bg);
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 18px 24px;
  box-shadow: none;
}
.accordion-custom .accordion-button:not(.collapsed) {
  background: rgba(56, 189, 248, 0.05);
  color: var(--primary);
}
.accordion-custom .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}
.accordion-custom .accordion-body {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.8;
  padding: 16px 24px 20px;
}

/* 特色标签页 */
.features-section {
  background: rgba(30, 41, 59, 0.3);
}
.nav-pills-custom {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.nav-pills-custom .nav-pill-item {
  background: var(--card-bg);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: var(--text-light);
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.nav-pills-custom .nav-pill-item:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.nav-pills-custom .nav-pill-item.active {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.3);
}
.feature-panel {
  display: none;
}
.feature-panel.active {
  display: block;
  animation: fadeInUp 0.5s ease;
}
.feature-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  border: 1px solid rgba(148, 163, 184, 0.15);
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.feature-card:hover {
  transform: scale(1.03);
  border-color: var(--primary);
  box-shadow: 0 8px 30px rgba(56, 189, 248, 0.15);
}
.feature-card .icon-wrap {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.6rem;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(167, 139, 250, 0.15));
  color: var(--primary);
}
.feature-card:nth-child(even) .icon-wrap {
  color: var(--accent);
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.15), rgba(56, 189, 248, 0.15));
}
.feature-card h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 0;
}

/* CTA */
.cta-section {
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.08), transparent 70%);
  padding: 100px 0;
  text-align: center;
}
.cta-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-subtitle {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

/* 友情链接 */
.friend-links {
  padding: 40px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}
.friend-links-title {
  font-size: 0.9rem;
  color: var(--text-dim);
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.friend-links-content {
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* 页脚 */
.footer-main {
  padding: 50px 0 30px;
  background: rgba(15, 23, 42, 0.8);
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}
.footer-brand {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  font-family: 'Noto Serif SC', serif;
  text-decoration: none;
}
.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.85rem;
  margin-right: 20px;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: var(--primary);
}
.footer-copyright {
  color: var(--text-dim);
  font-size: 0.8rem;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  padding-top: 24px;
  margin-top: 32px;
}

/* 滚动动效 */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 响应式 */
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .hero-section { padding: 110px 0 60px; }
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-stats { gap: 20px; }
  .timeline::before { left: 15px; }
  .timeline-item { padding-left: 48px; }
  .timeline-item::before { left: 9px; width: 12px; height: 12px; }
  .btn-custom { padding: 10px 20px; font-size: 0.9rem; }
  .nav-pills-custom .nav-pill-item { padding: 8px 16px; font-size: 0.8rem; }
  .cta-title { font-size: 1.8rem; }
}

/* --- 子页面追加 --- */
/* 保证bootstrap组件配色与深色站一致 */
    .card, .card-body, .card-title, .card-text, .card-header, .card-footer {
      background: var(--card-bg);
      color: var(--text-light);
      border-color: var(--border-glow);
    }
.form-control, .form-select {
      background: rgba(15, 23, 42, 0.7);
      color: var(--text-light);
      border-color: var(--border-glow);
    }
.form-control::placeholder {
      color: rgba(148, 163, 184, 0.6);
    }
.list-group-item, .accordion-item, .accordion-button, .accordion-body {
      background: var(--card-bg);
      color: var(--text-light);
      border-color: var(--border-glow);
    }
.nav-link, .navbar-brand-custom {
      color: var(--text-light);
    }
.nav-link:hover, .navbar-brand-custom:hover {
      color: var(--primary);
    }
/* 页面特殊微调 */
    .about-hero {
      padding: 4rem 0 2rem;
    }
.feature-icon {
      font-size: 2rem;
      color: var(--accent);
      margin-bottom: 0.5rem;
    }
.stats-about .hero-stat-item {
      background: rgba(30, 41, 59, 0.6);
      padding: 0.8rem 1.2rem;
      border-radius: 16px;
      border: 1px solid var(--border-glow);
    }

/* --- 子页面追加 --- */
/* 确保Bootstrap没有覆盖我们的深色卡片 */
    .card, .card-body, .card-title, .card-text, .list-group-item, .accordion-item, .accordion-button, .accordion-body {
      background: var(--card-bg) !important;
      color: var(--text-light) !important;
      border-color: var(--border-glow) !important;
    }
.accordion-button::after {
      filter: invert(1) brightness(1.5);
    }
/* 小卡片阴影与边框辉光 */
    .disclaimer-card {
      background: var(--card-bg);
      border: 1px solid var(--border-glow);
      border-radius: 18px;
      padding: 1.8rem 1.8rem;
      transition: all 0.2s ease;
    }
.disclaimer-card:hover {
      border-color: var(--primary);
      box-shadow: 0 0 20px rgba(56,189,248,0.15);
    }
.disclaimer-icon {
      color: var(--primary);
      font-size: 1.8rem;
      margin-bottom: 1rem;
    }
.legal-list li {
      margin-bottom: 0.6rem;
      color: var(--text-dim);
      border-left: 3px solid var(--primary);
      padding-left: 1rem;
    }
.legal-list li strong {
      color: var(--text-light);
    }
/* 高亮当前导航 */
    .navbar-nav .nav-link.active {
      color: var(--primary) !important;
      text-shadow: 0 0 8px var(--primary);
    }

/* --- 子页面追加 --- */
/* 覆盖Bootstrap组件，保证配色一致 */
        .card, .card-body, .card-title, .card-text, .card-header, .card-footer {
            background: var(--card-bg);
            color: var(--text-light);
            border-color: var(--border-glow);
        }
.list-group-item {
            background: var(--bg-panel);
            color: var(--text-light);
            border-color: var(--border-glow);
        }
.accordion-item, .accordion-button {
            background: var(--bg-panel);
            color: var(--text-light);
            border-color: var(--border-glow);
        }
.table {
            --bs-table-bg: var(--bg-panel);
            color: var(--text-light);
            border-color: var(--border-glow);
        }
.table td, .table th {
            border-color: var(--border-glow);
        }
.dropdown-menu {
            background: var(--bg-panel);
            border-color: var(--border-glow);
        }
.dropdown-item {
            color: var(--text-light);
        }
.dropdown-item:hover {
            background: var(--bg-dark);
            color: var(--primary);
        }
.modal-content {
            background: var(--bg-panel);
            color: var(--text-light);
        }
.navbar {
            background: rgba(15,23,42,0.85) !important;
            backdrop-filter: blur(8px);
        }
.btn-light {
            background: var(--bg-panel);
            color: var(--text-light);
            border-color: var(--border-glow);
        }
.btn-outline-primary, .btn-outline-secondary {
            border-color: var(--primary);
            color: var(--primary);
        }
.btn-outline-primary:hover {
            background: var(--primary);
            color: var(--bg-dark);
        }
/* 阅读指南特有的小修饰 */
        .guide-toc a {
            color: var(--text-dim);
            text-decoration: none;
        }
.guide-toc a:hover {
            color: var(--primary);
        }
.step-number {
            display: inline-block;
            width: 2.2rem;
            height: 2.2rem;
            background: var(--primary);
            color: var(--bg-dark);
            border-radius: 50%;
            font-weight: 700;
            text-align: center;
            line-height: 2.2rem;
            margin-right: 0.6rem;
        }
.shortcut-key {
            background: var(--bg-dark);
            border: 1px solid var(--border-glow);
            border-radius: 6px;
            padding: 0.2rem 0.6rem;
            font-family: monospace;
            color: var(--primary);
            font-weight: 600;
        }
.bg-glow-card {
            box-shadow: 0 0 15px rgba(56,189,248,0.1);
        }

/* --- 子页面追加 --- */
/* 榜单表格/卡片完全用自定义类，避免 Bootstrap 默认白底 */
    .rank-table {
      background: transparent;
      border-collapse: separate;
      border-spacing: 0 0.5rem;
      width: 100%;
    }
.rank-table thead th {
      color: var(--text-dim);
      font-weight: 500;
      border-bottom: 1px solid rgba(56,189,248,0.2);
      padding: 0.75rem 0.5rem;
      font-size: 0.9rem;
      letter-spacing: 0.5px;
    }
.rank-table tbody tr {
      background: var(--card-bg);
      border-radius: 12px;
      transition: all 0.2s ease;
    }
.rank-table tbody tr:hover {
      background: rgba(56,189,248,0.08);
      transform: scale(1.002);
      box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    }
.rank-table td {
      padding: 1rem 0.75rem;
      vertical-align: middle;
      border: none;
      color: var(--text-light);
      background: transparent;
    }
.rank-number {
      font-weight: 800;
      font-size: 1.2rem;
      color: var(--primary);
      width: 3rem;
    }
.rank-cover {
      width: 50px;
      height: 66px;
      border-radius: 8px;
      object-fit: cover;
      border: 1px solid rgba(56,189,248,0.3);
      background: var(--bg-panel);
      box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }
.rank-title {
      font-weight: 600;
      color: var(--text-light);
      margin-bottom: 0.2rem;
    }
.rank-meta {
      font-size: 0.85rem;
      color: var(--text-dim);
    }
.rank-score {
      font-weight: 700;
      color: var(--accent);
      font-size: 1rem;
    }
.rank-tag {
      background: rgba(56,189,248,0.15);
      color: var(--primary);
      border-radius: 20px;
      padding: 0.25rem 0.9rem;
      font-size: 0.75rem;
      font-weight: 500;
      display: inline-block;
      margin-right: 0.4rem;
    }
/* 导航高亮当前页 */
    .navbar-nav .nav-link.active {
      color: var(--primary) !important;
      font-weight: 600;
      text-shadow: 0 0 8px var(--border-glow);
    }
/* 自定义徽章 */
    .hero-badge {
      background: rgba(56,189,248,0.15);
      border: 1px solid var(--border-glow);
      color: var(--primary);
      padding: 0.4rem 1.2rem;
      border-radius: 30px;
      font-size: 0.85rem;
      display: inline-block;
    }
/* 页脚链接 */
    .footer-links a {
      color: var(--text-dim);
      text-decoration: none;
      margin: 0 1rem;
      transition: color 0.2s;
    }

/* --- 子页面追加 --- */
/* 本页专属微调 —— 仅覆盖联系页特有布局，不干扰全站样式 */
        .contact-hero {
            background: radial-gradient(circle at 20% 30%, rgba(56,189,248,0.08), transparent 50%);
        }
.contact-card {
            background: var(--card-bg);
            border: 1px solid var(--border-glow);
            border-radius: 20px;
            padding: 2rem 1.8rem;
            height: 100%;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
.contact-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 24px -8px rgba(0,0,0,0.6);
        }
.contact-icon {
            width: 52px;
            height: 52px;
            background: rgba(56,189,248,0.15);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            font-size: 1.6rem;
            margin-bottom: 1.2rem;
        }
.contact-list {
            list-style: none;
            padding-left: 0;
            margin-bottom: 0;
        }
.contact-list li {
            padding: 0.5rem 0;
            color: var(--text-light);
            border-bottom: 1px dashed rgba(148,163,184,0.15);
            display: flex;
            align-items: center;
            gap: 0.6rem;
        }
.contact-list li:last-child { border-bottom: none; }
.contact-list i {
            color: var(--primary);
            width: 20px;
            text-align: center;
            font-size: 0.9rem;
        }
.form-box {
            background: var(--bg-panel);
            border: 1px solid var(--border-glow);
            border-radius: 24px;
            padding: 2rem;
        }
.form-control:focus, .form-select:focus {
            background: #0b1526;
            border-color: var(--primary);
            box-shadow: 0 0 0 0.2rem rgba(56,189,248,0.15);
            color: var(--text-light);
        }
.form-label {
            color: var(--text-dim);
            font-weight: 500;
            margin-bottom: 0.4rem;
        }
.btn-send {
            background: var(--primary);
            color: #0f172a;
            font-weight: 600;
            border: none;
            padding: 0.7rem 2rem;
            border-radius: 30px;
            transition: all 0.2s;
        }
.btn-send:hover {
            background: #7dd3fc;
            transform: scale(1.02);
        }
.contact-faq-item {
            background: var(--bg-panel);
            border: 1px solid #1e3a5f;
            border-radius: 16px;
            padding: 1.2rem 1.5rem;
            margin-bottom: 1rem;
        }
.contact-faq-item h3 {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 0.4rem;
        }
.contact-faq-item p {
            color: var(--text-dim);
            margin-bottom: 0;
            font-size: 0.95rem;
        }
.social-circle {
            width: 40px;
            height: 40px;
            background: rgba(167,139,250,0.15);
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: var(--accent);
            margin-right: 0.6rem;
            transition: background 0.2s;
        }
.social-circle:hover {
            background: rgba(167,139,250,0.3);
            color: #fff;
        }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.accordion-header { background:transparent !important; }
