```css
/* ==========================================================================
   魅影TV - 全站样式表
   设计系统：高对比度 / 毛玻璃 / 渐变 / 响应式 / 暗色模式
   ========================================================================== */

/* ---------- 全局颜色变量 ---------- */
:root {
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-header: #0f172a;
  --bg-footer: #0f172a;
  --bg-code: #f1f5f9;
  --text-primary: #1e293b;
  --text-secondary: #334155;
  --text-heading: #0f172a;
  --text-on-dark: #f8fafc;
  --text-on-dark-muted: #cbd5e1;
  --accent: #2563eb;
  --accent-dark: #1e40af;
  --accent-soft: #dbeafe;
  --border: #cbd5e1;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
  --radius: 20px;
  --radius-sm: 16px;
  --max-width: 1280px;
  --transition: 0.2s ease;
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  --gradient-hero: linear-gradient(145deg, #0f172a 0%, #1e293b 40%, #2563eb 100%);
  --gradient-banner: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
}

[data-theme="dark"] {
  --bg-main: #0b1120;
  --bg-card: #1e293b;
  --bg-header: #020617;
  --bg-footer: #020617;
  --bg-code: #1e293b;
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-heading: #f8fafc;
  --text-on-dark: #f1f5f9;
  --text-on-dark-muted: #cbd5e1;
  --accent: #60a5fa;
  --accent-dark: #3b82f6;
  --accent-soft: #1e3a5f;
  --border: #334155;
  --glass-bg: rgba(30, 41, 59, 0.6);
  --glass-border: rgba(148, 163, 184, 0.2);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --gradient-hero: linear-gradient(145deg, #020617 0%, #0f172a 50%, #1e3a5f 100%);
  --gradient-banner: linear-gradient(135deg, #020617 0%, #0f172a 100%);
}

/* ---------- Reset & Base ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.7;
  transition: background 0.3s, color 0.3s;
  font-size: 1rem;
  overflow-x: hidden;
}

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

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

a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

/* ---------- 标题体系 ---------- */
h1, h2, h3, h4 {
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin: 2.5rem 0 1.25rem;
  border-left: 6px solid var(--accent);
  padding-left: 1rem;
  position: relative;
}

h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 4px;
  margin-top: 8px;
}

h3 {
  font-size: 1.25rem;
  margin: 1.5rem 0 0.75rem;
}

h4 {
  font-size: 1.1rem;
  margin: 1rem 0 0.5rem;
  color: var(--accent-dark);
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

/* ---------- 导航栏 ---------- */
.navbar {
  background: var(--bg-header);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: background 0.3s, box-shadow 0.3s;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
  gap: 1rem;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-on-dark);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.logo:hover {
  opacity: 0.9;
  text-decoration: none;
}

.logo svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  align-items: center;
  list-style: none;
  margin: 0;
}

.nav-links a {
  color: var(--text-on-dark);
  font-weight: 500;
  opacity: 0.9;
  transition: opacity 0.2s, color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #facc15;
  transition: width 0.3s;
}

.nav-links a:hover {
  opacity: 1;
  color: #facc15;
  text-decoration: none;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-box {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  padding: 0.2rem 0.3rem 0.2rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: border-color 0.2s, background 0.2s;
  backdrop-filter: blur(4px);
}

.search-box:focus-within {
  border-color: #facc15;
  background: rgba(255, 255, 255, 0.15);
}

.search-box input {
  background: transparent;
  border: none;
  color: var(--text-on-dark);
  padding: 0.5rem 0.2rem;
  outline: none;
  width: 130px;
  font-size: 0.9rem;
}

.search-box input::placeholder {
  color: var(--text-on-dark-muted);
}

.search-box button {
  background: var(--accent);
  border: none;
  border-radius: 40px;
  color: white;
  padding: 0.4rem 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.search-box button:hover {
  background: var(--accent-dark);
  transform: scale(1.02);
}

.theme-toggle, .menu-toggle {
  background: none;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 40px;
  color: var(--text-on-dark);
  padding: 0.3rem 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-size: 0.9rem;
}

.theme-toggle:hover {
  border-color: #facc15;
  background: rgba(250, 204, 21, 0.1);
}

.menu-toggle {
  display: none;
  font-size: 1.2rem;
  padding: 0.3rem 0.7rem;
}

/* 移动菜单 */
.mobile-menu {
  display: none;
  background: var(--bg-header);
  padding: 1rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  backdrop-filter: blur(12px);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  color: var(--text-on-dark);
  padding: 0.75rem 24px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  transition: background 0.2s, padding-left 0.2s;
}

.mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  padding-left: 28px;
  text-decoration: none;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 60px;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn:hover {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
  text-decoration: none;
  color: white;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 0.5rem 1.5rem;
  border-radius: 60px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}

.btn-outline:hover {
  background: var(--accent-soft);
  transform: translateY(-2px);
  text-decoration: none;
}

/* ---------- 卡片 ---------- */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  margin-top: 0;
}

/* ---------- Hero 首屏 ---------- */
.hero {
  background: var(--gradient-hero);
  color: var(--text-on-dark);
  padding: 4rem 0 5rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero h1 {
  color: white;
  font-size: clamp(2rem, 5vw, 3.2rem);
  max-width: 800px;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero p {
  color: var(--text-on-dark-muted);
  font-size: 1.2rem;
  max-width: 700px;
  position: relative;
  z-index: 1;
}

.hero .btn {
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 1;
}

/* ---------- 内容区块 ---------- */
.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
}

.article-list {
  list-style: none;
}

.article-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.2s;
}

.article-list li:hover {
  padding-left: 8px;
}

.article-list a {
  font-weight: 600;
  transition: color 0.2s;
}

.article-list .date {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-left: 1rem;
  white-space: nowrap;
}

/* ---------- FAQ 样式 ---------- */
.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, border-color 0.2s;
  backdrop-filter: blur(8px);
}

.faq-item:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.faq-question {
  font-weight: 700;
  color: var(--text-heading);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}

.faq-question span {
  font-size: 1.2rem;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-answer {
  margin-top: 0.8rem;
  color: var(--text-primary);
  border-top: 1px dashed var(--border);
  padding-top: 0.8rem;
  line-height: 1.8;
}

/* ---------- 表格 ---------- */
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

th {
  background: var(--accent-soft);
  color: var(--text-heading);
  font-weight: 700;
}

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

tr:hover td {
  background: rgba(37, 99, 235, 0.03);
}

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

footer a {
  color: var(--text-on-dark-muted);
  transition: color 0.2s, padding-left 0.2s;
}

footer a:hover {
  color: white;
  padding-left: 4px;
  text-decoration: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-grid h4 {
  color: var(--text-on-dark);
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.footer-grid p {
  color: var(--text-on-dark-muted);
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  background: var(--bg-card);
  padding: 0.8rem 1.2rem;
  border-radius: 30px;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  display: inline-block;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.breadcrumb a {
  color: var(--accent);
}

.breadcrumb span {
  color: var(--text-secondary);
  margin: 0 4px;
}

/* ---------- 引用块 ---------- */
blockquote {
  background: var(--accent-soft);
  padding: 1.2rem 2rem;
  border-radius: var(--radius);
  color: var(--text-heading);
  font-weight: 500;
  border-left: 4px solid var(--accent);
  margin: 2rem 0;
}

/* ---------- 滚动动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s, transform 0.6s;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- 返回顶部 ---------- */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

#backToTop:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* ---------- 毛玻璃效果 ---------- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius);
}

/* ---------- 渐变 Banner ---------- */
.gradient-banner {
  background: var(--gradient-banner);
  padding: 3rem 0;
  border-radius: var(--radius);
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}

.gradient-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

/* ---------- 响应式布局 ---------- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .hero {
    padding: 3rem 0 4rem;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  
  .menu-toggle {
    display: inline-block;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1.05rem;
  }
  
  .section-grid {
    gap: 1.5rem;
  }
  
  .card {
    padding: 1.5rem;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .search-box {
    display: none;
  }
  
  .nav-actions .theme-toggle {
    margin-left: auto;
  }
  
  .hero {
    padding: 2.5rem 0 3rem;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .article-list .date {
    display: block;
    margin-left: 0;
    margin-top: 4px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  #backToTop {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  blockquote {
    padding: 1rem 1.2rem;
  }
}

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

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

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

.flex-wrap {
  flex-wrap: wrap;
}

.justify-between {
  justify-content: space-between;
}

/* ---------- 焦点可见性 ---------- */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- 减少动画偏好 ---------- */
@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 print {
  .navbar, .hero, .breadcrumb, footer, #backToTop, .search-box, .theme-toggle, .menu-toggle, .mobile-menu {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}
```