```css
/* ============================================================
   星空传媒 (hwaiq.cn) - 完整样式表
   风格：现代影视工业 / 深空渐变 / 毛玻璃质感
   性能：全内联，无外部依赖，支持暗色模式与响应式
   ============================================================ */

/* ---------- 全局重置与变量 ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* 明亮模式 */
  --bg-primary: #f8fafc;
  --bg-secondary: #eef2f7;
  --bg-tertiary: #e2e8f0;
  --bg-glass: rgba(255, 255, 255, 0.65);
  --bg-glass-strong: rgba(255, 255, 255, 0.85);
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-dark: #0f172a;
  --bg-footer: #0b1120;

  --text-primary: #1e293b;
  --text-secondary: #334155;
  --text-muted: #475569;
  --text-heading: #0f172a;
  --text-on-dark: #e2e8f0;
  --text-link: #1d4ed8;

  --brand-primary: #2563eb;
  --brand-secondary: #7c3aed;
  --brand-accent: #06b6d4;
  --brand-gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --brand-gradient-soft: linear-gradient(145deg, #dbeafe 0%, #ede9fe 100%);

  --border-color: #cbd5e1;
  --border-light: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 0 1px rgba(37, 99, 235, 0.1), 0 8px 30px rgba(37, 99, 235, 0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --header-height: 72px;
}

/* 暗色模式变量覆盖 */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: #0b1120;
    --bg-secondary: #111a2e;
    --bg-tertiary: #1a2537;
    --bg-glass: rgba(15, 23, 42, 0.65);
    --bg-glass-strong: rgba(15, 23, 42, 0.85);
    --bg-card: rgba(30, 41, 59, 0.9);
    --bg-footer: #070d1a;

    --text-primary: #e2e8f0;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-heading: #f1f5f9;
    --text-on-dark: #e2e8f0;
    --text-link: #60a5fa;

    --brand-primary: #3b82f6;
    --brand-secondary: #a78bfa;
    --brand-accent: #22d3ee;
    --brand-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --brand-gradient-soft: linear-gradient(145deg, #1e293b 0%, #312e81 100%);

    --border-color: #334155;
    --border-light: #1e293b;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.6);
  }
}

/* ---------- 基础元素 ---------- */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.6em;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.4em;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 4px;
  background: var(--brand-gradient);
  border-radius: var(--radius-full);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

p {
  color: var(--text-primary);
  margin-bottom: 1.2rem;
  line-height: 1.75;
}

a {
  color: var(--text-link);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

a:hover {
  border-bottom-color: currentColor;
}

ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}

li {
  margin-bottom: 0.4rem;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 4rem 0;
}

/* ---------- 导航栏 ---------- */
.navbar {
  background: var(--bg-glass-strong);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition-base), background-color var(--transition-base);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  background: var(--bg-glass-strong);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  border: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-primary);
  font-size: 0.95rem;
  border: none;
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-gradient);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.nav-links a:hover {
  color: var(--brand-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-heading);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.menu-toggle:hover {
  background: var(--bg-secondary);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-gradient);
  color: #ffffff;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
  gap: 0.5rem;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
  color: #ffffff;
}

.btn:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--brand-primary);
  color: var(--brand-primary);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--brand-primary);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
}

.btn-outline::before {
  display: none;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}

/* ---------- Hero 区域 ---------- */
.hero {
  background: var(--brand-gradient-soft);
  padding: 4rem 0;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1 1 400px;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #1e3a8a 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-visual {
  flex: 1 1 320px;
  text-align: center;
  position: relative;
}

.hero-visual svg {
  width: 100%;
  max-width: 320px;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(37, 99, 235, 0.2));
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
  padding: 1rem 1.5rem;
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.hero-stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin: 1.5rem 0;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-link);
  border: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: var(--text-muted);
}

/* ---------- 卡片网格 ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--brand-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card:hover::before {
  transform: scaleX(1);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--brand-gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--brand-primary);
}

/* ---------- 文章列表 ---------- */
.article-list {
  display: grid;
  gap: 1.25rem;
}

.article-item {
  background: var(--bg-secondary);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--brand-primary);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.article-item::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: var(--brand-gradient);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 0;
}

.article-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.article-item:hover::after {
  opacity: 0.03;
}

.article-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  position: relative;
  z-index: 1;
}

.article-item h3 a {
  color: var(--text-heading);
  border: none;
}

.article-item h3 a:hover {
  color: var(--brand-primary);
}

.article-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.article-item p {
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

.article-item a {
  font-weight: 600;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
  border: none;
}

.article-item a:hover {
  color: var(--brand-primary);
  text-decoration: underline;
}

/* ---------- FAQ ---------- */
.faq-list {
  margin: 2rem 0;
}

.faq-list details {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.faq-list details:hover {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
}

.faq-list details[open] {
  background: var(--bg-card);
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
}

.faq-list summary {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-heading);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color var(--transition-fast);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--brand-primary);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list summary:hover {
  color: var(--brand-primary);
}

.faq-list details p {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ---------- HowTo ---------- */
.howto-box {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  margin: 2.5rem 0;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.howto-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--brand-gradient);
}

.howto-box h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--brand-primary);
}

.howto-box ol {
  padding-left: 1.5rem;
  margin: 1rem 0;
}

.howto-box ol li {
  margin-bottom: 0.75rem;
  padding-left: 0.5rem;
  color: var(--text-primary);
}

.howto-box p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.howto-box strong {
  color: var(--text-heading);
}

/* ---------- 表格 ---------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  background: var(--bg-card);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
  min-width: 600px;
}

th, td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
  color: var(--text-primary);
}

th {
  background: var(--bg-secondary);
  color: var(--text-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

td {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: var(--bg-secondary);
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--bg-footer);
  color: var(--text-on-dark);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.5), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-grid h4 {
  color: #ffffff;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-grid h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--brand-gradient);
  border-radius: var(--radius-full);
}

.footer-grid a {
  color: var(--text-on-dark);
  display: block;
  margin-bottom: 0.6rem;
  border: none;
  font-size: 0.9rem;
  opacity: 0.8;
  transition: all var(--transition-fast);
}

.footer-grid a:hover {
  color: #ffffff;
  opacity: 1;
  transform: translateX(4px);
  text-decoration: none;
}

.footer-grid p {
  color: var(--text-on-dark);
  opacity: 0.8;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0.7;
}

.footer-bottom span {
  color: var(--text-on-dark);
}

/* ---------- 工具类 ---------- */
.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mt-4 {
  margin-top: 4rem;
}

.mb-4 {
  margin-bottom: 4rem;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-effect {
  background: var(--bg-glass);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

/* ---------- 返回顶部按钮 ---------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: #ffffff;
  font-size: 22px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.4);
}

/* ---------- 滚动动画 ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-on-scroll {
  opacity: 0;
  will-change: opacity, transform;
}

.animate-on-scroll.animated {
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-left {
  animation-name: fadeInLeft;
}

.animate-right {
  animation-name: fadeInRight;
}

.animate-scale {
  animation-name: scaleIn;
}

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

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }

  .hero-grid {
    gap: 2rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .container {
    padding: 0 16px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--bg-glass-strong);
    backdrop-filter: blur(16px);
    padding: 1rem 0;
    gap: 0.5rem;
    position: absolute;
    top: var(--header-height);
    left: 0;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 2rem;
    width: 100%;
    text-align: center;
    font-size: 1rem;
  }

  .nav-links a::after {
    display: none;
  }

  .hero {
    padding: 3rem 0;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }

  .hero-grid {
    flex-direction: column;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual svg {
    max-width: 240px;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-stat {
    padding: 0.75rem 1rem;
  }

  .hero-stat strong {
    font-size: 1.25rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .card {
    padding: 1.5rem;
  }

  .article-item {
    padding: 1.25rem 1.5rem;
  }

  .howto-box {
    padding: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }

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

  .hero-stat {
    padding: 0.5rem 0.75rem;
  }

  .hero-stat strong {
    font-size: 1.1rem;
  }

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

/* ---------- 打印样式 ---------- */
@media print {
  .navbar,
  .site-footer,
  .back-to-top,
  .menu-toggle,
  .btn {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #000000;
    font-size: 12pt;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  .hero {
    background: none;
    padding: 1rem 0;
  }

  .card,
  .article-item,
  .faq-list details,
  .howto-box {
    box-shadow: none;
    border: 1px solid #ccc;
    background: #ffffff;
  }
}

/* ---------- 星空背景装饰 ---------- */
.stars-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.4;
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
}

/* 滚动条美化 */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--brand-gradient);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand-primary);
}

/* 选中文本 */
::selection {
  background: var(--brand-primary);
  color: #ffffff;
}

/* 焦点样式 */
:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
  border-radius: 2px;
}

/* 链接卡片 */
.link-card {
  display: block;
  padding: 1rem 1.5rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  transition: all var(--transition-base);
  text-decoration: none;
}

.link-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-primary);
  color: var(--text-primary);
  text-decoration: none;
}

/* 分割线 */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
  margin: 3rem 0;
  border: none;
}

/* 标签 */
.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--brand-gradient-soft);
  color: var(--brand-primary);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0.25rem;
}

/* 暗色模式下的特定调整 */
@media (prefers-color-scheme: dark) {
  .hero-content h1 {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .btn {
    color: #ffffff;
  }

  .btn-outline {
    color: var(--brand-primary);
  }

  .btn-outline:hover {
    background: var(--brand-primary);
    color: #ffffff;
  }

  .card-icon {
    background: rgba(37, 99, 235, 0.2);
  }

  .card-icon svg {
    fill: var(--brand-primary);
  }

  table {
    background: var(--bg-card);
  }

  th {
    background: var(--bg-tertiary);
  }

  tr:hover td {
    background: var(--bg-tertiary);
  }

  .tag {
    background: rgba(37, 99, 235, 0.2);
    color: var(--brand-primary);
  }
}
```