```css
/* ===== 大片电影网 全站样式表 ===== */
/* 设计语言：深色影院质感 + 琥珀金色点缀 + 玻璃拟态 */
/* 版本：2.0.0 (2025) */

/* ---------- 1. 变量与主题 ---------- */
:root {
  /* 主色板 */
  --c-primary: #f59e0b;
  --c-primary-light: #fbbf24;
  --c-primary-dark: #d97706;
  --c-accent: #6366f1;
  --c-accent-light: #818cf8;
  
  /* 功能色 */
  --c-bg: #0b0f1a;
  --c-bg-soft: #111827;
  --c-surface: rgba(255, 255, 255, 0.05);
  --c-surface-solid: #1e293b;
  --c-surface-hover: rgba(255, 255, 255, 0.1);
  --c-text: #e2e8f0;
  --c-text-secondary: #94a3b8;
  --c-text-muted: #64748b;
  --c-heading: #f8fafc;
  --c-border: rgba(255, 255, 255, 0.08);
  --c-border-light: rgba(255, 255, 255, 0.12);
  --c-link: #f59e0b;
  --c-link-hover: #fbbf24;
  --c-btn-bg: #f59e0b;
  --c-btn-text: #0f172a;
  --c-btn-hover: #fbbf24;
  --c-footer-bg: rgba(0, 0, 0, 0.4);
  --c-footer-text: #94a3b8;
  --c-footer-heading: #e2e8f0;
  --c-card-bg: rgba(255, 255, 255, 0.04);
  --c-card-border: rgba(255, 255, 255, 0.1);
  --c-card-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  
  /* 渐变 */
  --grad-hero: linear-gradient(135deg, #1e1b4b 0%, #0f0f23 40%, #1a1a2e 100%);
  --grad-sheen: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.03) 50%, transparent 100%);
  --grad-card-hover: linear-gradient(145deg, rgba(245,158,11,0.05) 0%, transparent 100%);
  
  /* 毛玻璃 */
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: blur(16px);
  
  /* 圆角 */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  /* 阴影 */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 24px rgba(245, 158, 11, 0.15);
  
  /* 字体 */
  --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --font-display: 'Georgia', 'Times New Roman', serif;
  
  /* 间距 */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  
  /* 动画 */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.8s;
  
  /* 布局 */
  --container-max: 1280px;
  --nav-height: 72px;
  --section-gap: 80px;
}

/* 明亮模式（可选，默认暗色） */
body.light {
  --c-bg: #f8fafc;
  --c-bg-soft: #f1f5f9;
  --c-surface: rgba(15, 23, 42, 0.03);
  --c-surface-solid: #ffffff;
  --c-surface-hover: rgba(15, 23, 42, 0.06);
  --c-text: #1e293b;
  --c-text-secondary: #475569;
  --c-text-muted: #94a3b8;
  --c-heading: #0f172a;
  --c-border: rgba(15, 23, 42, 0.1);
  --c-border-light: rgba(15, 23, 42, 0.15);
  --c-link: #d97706;
  --c-link-hover: #b45309;
  --c-btn-bg: #f59e0b;
  --c-btn-text: #0f172a;
  --c-btn-hover: #d97706;
  --c-footer-bg: #1e293b;
  --c-footer-text: #cbd5e1;
  --c-footer-heading: #f8fafc;
  --c-card-bg: #ffffff;
  --c-card-border: rgba(15, 23, 42, 0.08);
  --c-card-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  --grad-hero: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #f59e0b 100%);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.8);
}

/* ---------- 2. 重置与基础 ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 158, 11, 0.3) transparent;
}

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

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

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

a {
  color: var(--c-link);
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
  position: relative;
}

a:hover {
  color: var(--c-link-hover);
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 4px;
  border-radius: 4px;
}

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

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p {
  margin-bottom: 1em;
  color: var(--c-text);
}

ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}

li {
  margin-bottom: 0.5em;
}

::selection {
  background: rgba(245, 158, 11, 0.3);
  color: var(--c-heading);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(245, 158, 11, 0.5);
  background-clip: content-box;
}

/* ---------- 3. 布局工具 ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
  position: relative;
}

.section {
  padding: var(--section-gap) 0;
}

.section-sm {
  padding: calc(var(--section-gap) / 2) 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-secondary {
  color: var(--c-text-secondary);
}

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

.text-primary {
  color: var(--c-primary);
}

.font-display {
  font-family: var(--font-display);
}

/* ---------- 4. 组件：卡片 ---------- */
.card {
  background: var(--c-card-bg);
  border: 1px solid var(--c-card-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: 
    transform 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out),
    border-color 0.3s ease,
    background-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-sheen);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  background: var(--c-surface-hover);
}

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

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.card p {
  color: var(--c-text-secondary);
  position: relative;
  z-index: 1;
}

.card .meta {
  font-size: 0.875rem;
  color: var(--c-text-muted);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

/* 卡片图标 */
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  margin-bottom: 16px;
  color: var(--c-primary);
}

/* ---------- 5. 组件：按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--c-btn-bg);
  color: var(--c-btn-text);
  border: none;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn:hover {
  background: var(--c-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
  color: var(--c-btn-text);
}

.btn:hover::after {
  transform: translateX(100%);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.btn:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 3px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.125rem;
}

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

.btn-outline:hover {
  background: rgba(245, 158, 11, 0.1);
  color: var(--c-primary);
  border-color: var(--c-primary-light);
  box-shadow: none;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--c-heading);
  box-shadow: none;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

/* ---------- 6. 组件：导航栏 ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 15, 26, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--c-border);
  transition: all 0.4s ease;
  height: var(--nav-height);
}

body.light .navbar {
  background: rgba(248, 250, 252, 0.85);
}

.navbar-scrolled {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  background: rgba(11, 15, 26, 0.95);
}

body.light .navbar-scrolled {
  background: rgba(248, 250, 252, 0.98);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-heading);
  letter-spacing: -0.03em;
  flex-shrink: 0;
  text-decoration: none;
}

.logo:hover {
  color: var(--c-heading);
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  color: var(--c-text);
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--c-primary);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--c-primary);
  background: rgba(245, 158, 11, 0.08);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

/* 搜索栏 */
.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-wrap input {
  padding: 10px 20px;
  padding-left: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--c-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--c-text);
  width: 220px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

body.light .search-wrap input {
  background: rgba(255, 255, 255, 0.9);
}

.search-wrap input::placeholder {
  color: var(--c-text-muted);
}

.search-wrap input:focus {
  outline: none;
  border-color: var(--c-primary);
  width: 260px;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.search-wrap .search-icon {
  position: absolute;
  left: 14px;
  color: var(--c-text-muted);
  pointer-events: none;
  font-size: 1rem;
}

.search-wrap button {
  position: absolute;
  right: 4px;
  background: var(--c-primary);
  color: var(--c-btn-text);
  border: none;
  border-radius: var(--radius-full);
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.search-wrap button:hover {
  background: var(--c-primary-light);
  transform: scale(1.05);
}

/* 菜单按钮 */
.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--c-border);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  color: var(--c-text);
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1;
}

.menu-btn:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}

/* ---------- 7. 组件：Hero Banner ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-height) + 80px) 0 100px;
  background: var(--grad-hero);
  overflow: hidden;
  color: var(--c-heading);
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
  opacity: 0.8;
}

.hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.05) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  animation: float-slow 20s ease-in-out infinite;
}

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

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.light .hero h1 {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .lead {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--c-text-secondary);
  margin-bottom: 32px;
  line-height: 1.8;
  max-width: 640px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
  text-align: left;
}

.hero-stat .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1;
}

.hero-stat .stat-label {
  color: var(--c-text-secondary);
  font-size: 0.9rem;
  margin-top: 8px;
}

/* 动画 */
@keyframes float-slow {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-30px, 30px) rotate(10deg); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ---------- 8. 组件：网格布局 ---------- */
.grid {
  display: grid;
  gap: 24px;
  margin: 32px 0;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* ---------- 9. 组件：章节标题 ---------- */
.section-header {
  text-align: left;
  margin-bottom: 48px;
  position: relative;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 8px;
}

.section-header::before {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--c-primary) 0%, transparent 100%);
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-header.center {
  text-align: center;
}

.section-header.center::before {
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  color: var(--c-text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
}

/* ---------- 10. 组件：影视卡片 ---------- */
.movie-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-surface-solid);
  border: 1px solid var(--c-border);
  transition: all 0.5s var(--ease-out);
  cursor: pointer;
  aspect-ratio: 2/3;
  display: flex;
  flex-direction: column;
}

.movie-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border-color: rgba(245, 158, 11, 0.3);
}

.movie-poster {
  position: relative;
  flex: 1;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.movie-poster::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.movie-card:hover .movie-poster::after {
  opacity: 1;
}

.movie-poster .play-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--c-btn-text);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.4s var(--ease-spring);
  z-index: 2;
}

.movie-card:hover .play-icon {
  transform: scale(1);
  opacity: 1;
}

.movie-info {
  padding: 16px;
  background: var(--c-surface-solid);
  border-top: 1px solid var(--c-border);
}

.movie-info h3 {
  font-size: 1rem;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.movie-info .movie-meta {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  display: flex;
  gap: 8px;
  align-items: center;
}

.movie-info .rating {
  color: var(--c-primary);
  font-weight: 600;
}

/* ---------- 11. 组件：文章卡片 ---------- */
.article-card {
  background: var(--c-card-bg);
  border: 1px solid var(--c-card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(245, 158, 11, 0.2);
}

.article-header {
  padding: 24px 24px 0;
}

.article-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(245, 158, 11, 0.1);
  color: var(--c-primary);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.article-card h3 {
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.article-card:hover h3 {
  color: var(--c-primary);
}

.article-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--c-text-muted);
  margin-bottom: 16px;
}

.article-excerpt {
  padding: 0 24px;
  color: var(--c-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  flex: 1;
}

.article-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--c-border);
  margin-top: 16px;
}

.article-footer a {
  color: var(--c-primary);
  font-weight: 500;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
}

.article-footer a:hover {
  gap: 12px;
}

/* ---------- 12. 组件：FAQ ---------- */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--c-card-bg);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(245, 158, 11, 0.3);
}

.faq-question {
  padding: 20px 24px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--c-heading);
  font-size: 1rem;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  transition: all 0.3s ease;
  font-family: var(--font-sans);
}

.faq-question:hover {
  color: var(--c-primary);
}

.faq-question .faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--c-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  transition: all 0.4s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-icon {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: var(--c-btn-text);
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  color: var(--c-text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  padding: 0 24px 20px;
  max-height: 500px;
}

/* ---------- 13. 组件：表单 ---------- */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--c-heading);
  font-size: 0.9rem;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

body.light .form-input, body.light .form-textarea {
  background: rgba(255, 255, 255, 0.9);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.form-input::placeholder, .form-textarea::placeholder {
  color: var(--c-text-muted);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* ---------- 14. 组件：页脚 ---------- */
.footer {
  background: var(--c-footer-bg);
  border-top: 1px solid var(--c-border);
  padding: 60px 0 0;
  margin-top: 80px;
  position: relative;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-primary), transparent);
  opacity: 0.3;
}

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

.footer h4 {
  color: var(--c-footer-heading);
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer p {
  color: var(--c-footer-text);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 8px;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer ul a {
  color: var(--c-footer-text);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer ul a:hover {
  color: var(--c-primary);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid var(--c-border);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
}

.footer .social-links {
  display: flex;
  gap: 12px;
}

.footer .social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  color: var(--c-footer-text);
}

.footer .social-links a:hover {
  background: var(--c-primary);
  color: var(--c-btn-text);
  border-color: var(--c-primary);
  transform: translateY(-3px);
}

/* ---------- 15. 组件：返回顶部 ---------- */
.to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.9);
  color: var(--c-btn-text);
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-out);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

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

.to-top:hover {
  background: var(--c-primary-light);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.4);
}

/* ---------- 16. 组件：滚动动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* 方向变体 */
.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-left.visible,
.reveal-right.visible {
  transform: translateX(0);
}

.reveal-scale {
  transform: scale(0.9);
}

.reveal-scale.visible {
  transform: scale(1);
}

/* ---------- 17. 组件：徽章与标签 ---------- */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge-primary {
  background: rgba(245, 158, 11, 0.1);
  color: var(--c-primary);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-secondary {
  background: rgba(99, 102, 241, 0.1);
  color: var(--c-accent);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.badge-success {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

/* ---------- 18. 组件：表格 ---------- */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-border);
  background: var(--c-card-bg);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.table th {
  background: rgba(245, 158, 11, 0.05);
  color: var(--c-heading);
  font-weight: 600;
  text-align: left;
  padding: 16px;
  border-bottom: 1px solid var(--c-border);
  white-space: nowrap;
}

.table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text);
}

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

.table tr:hover td {
  background: rgba(245, 158, 11, 0.03);
}

/* ---------- 19. 组件：面包屑 ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--c-text-muted);
  padding: 16px 0;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--c-text-muted);
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--c-primary);
}

.breadcrumb .separator {
  color: var(--c-text-muted);
  opacity: 0.5;
}

.breadcrumb .current {
  color: var(--c-text-secondary);
  font-weight: 500;
}

/* ---------- 20. 组件：时间线 ---------- */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--c-primary), transparent);
  opacity: 0.3;
}

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c-primary);
  border: 2px solid var(--c-bg);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}

.timeline-item h4 {
  margin-bottom: 8px;
}

.timeline-item time {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  display: block;
  margin-bottom: 8px;
}

/* ---------- 21. 组件：统计数字 ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 24px;
  background: var(--c-card-bg);
  border: 1px solid var(--c-card-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
}

.stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item .stat-label {
  color: var(--c-text-secondary);
  font-size: 0.9rem;
}

/* ---------- 22. 组件：引用块 ---------- */
.blockquote {
  border-left: 4px solid var(--c-primary);
  padding: 16px 24px;
  background: rgba(245, 158, 11, 0.05);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--c-text-secondary);
}

.blockquote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 0.875rem;
  color: var(--c-text-muted);
}

/* ---------- 23. 组件：代码块 ---------- */
.code-block {
  background: var(--c-surface-solid);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 20px;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.875rem;
  overflow-x: auto;
  line-height: 1.6;
  margin: 16px 0;
}

/* ---------- 24. 组件：Divider ---------- */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-border-light), transparent);
  margin: 48px 0;
  border: none;
}

/* ---------- 25. 组件：进度条 ---------- */
.progress {
  height: 4px;
  background: var(--c-border);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 8px 0;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--c-primary), var(--c-primary-light));
  border-radius: var(--radius-full);
  transition: width 0.6s var(--ease-out);
}

/* ---------- 26. 组件：提示框 ---------- */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin: 16px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}

.alert-info {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: var(--c-text);
}

.alert-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: var(--c-text);
}

.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: var(--c-text);
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--c-text);
}

.alert .alert-icon {
  font-size: 1.25rem;
  line-height: 1.4;
}

/* ---------- 27. 组件：标签 ---------- */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--c-card-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--c-text-secondary);
  transition: all 0.3s ease;
  cursor: pointer;
}

.tag:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  background: rgba(245, 158, 11, 0.05);
}

/* ---------- 28. 组件：评分 ---------- */
.rating {
  display: flex;
  gap: 2px;
  color: var(--c-primary);
  font-size: 1.125rem;
}

.rating .star {
  transition: transform 0.3s ease;
}

.rating .star:hover {
  transform: scale(1.2);
}

/* ---------- 29. 组件：图片占位 ---------- */
.image-placeholder {
  background: linear-gradient(135deg, var(--c-bg-soft) 0%, var(--c-surface-solid) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  color: var(--c-text-muted);
  font-size: 0.9rem;
  border: 2px dashed var(--c-border);
  min-height: 200px;
}

/* ---------- 30. 响应式设计 ---------- */
@media (max-width: 1024px) {
  :root {
    --section-gap: 60px;
  }
  
  .hero {
    padding: calc(var(--nav-height) + 60px) 0 80px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    gap: 32px;
  }
  
  .search-wrap input {
    width: 180px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
    --section-gap: 48px;
  }
  
  .menu-btn {
    display: block;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(11, 15, 26, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px;
    border-bottom: 1px solid var(--c-border);
    gap: 8px;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5);
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
  }
  
  body.light .nav-links {
    background: rgba(248, 250, 252, 0.98);
  }
  
  .nav-links.open {
    display: flex;
  }
  
  .nav-links a {
    padding: 12px 16px;
    font-size: 1rem;
    width: 100%;
    text-align: center;
  }
  
  .nav-links a::after {
    display: none;
  }
  
  .nav-actions {
    gap: 8px;
  }
  
  .search-wrap {
    display: none;
  }
  
  .search-wrap.open {
    display: flex;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    padding: 16px;
    background: var(--c-surface-solid);
    border-bottom: 1px solid var(--c-border);
  }
  
  .search-wrap.open input {
    width: 100%;
  }
  
  .hero {
    padding: calc(var(--nav-height) + 40px) 0 60px;
    min-height: auto;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero .lead {
    font-size: 1rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
  }
  
  .hero-stat {
    display: flex;
    align-items: baseline;
    gap: 12px;
  }
  
  .hero-stat .stat-number {
    font-size: 1.75rem;
  }
  
  .hero-stat .stat-label {
    margin-top: 0;
  }
  
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .card {
    padding: 20px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
  
  .section-header {
    margin-bottom: 32px;
  }
  
  .section-header h2 {
    font-size: 1.75rem;
  }
  
  .table {
    font-size: 0.85rem;
  }
  
  .table th, .table td {
    padding: 12px;
  }
}

@media (max-width: 480px) {
  :root {
    --section-gap: 40px;
  }
  
  .container {
    padding: 0 16px;
  }
  
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .hero .lead {
    font-size: 0.95rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    width: 100%;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .card {
    padding: 16px;
  }
  
  .faq-question {
    padding: 16px;
    font-size: 0.9rem;
  }
  
  .faq-answer {
    padding: 0 16px;
  }
  
  .faq-item.active .faq-answer {
    padding: 0 16px 16px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  
  .stat-item {
    padding: 16px;
  }
  
  .stat-item .stat-number {
    font-size: 2rem;
  }
  
  .breadcrumb {
    font-size: 0.8rem;
  }
}

/* ---------- 31. 工具类 ---------- */
.hidden {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

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

.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }
.gap-xl { gap: 32px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.p-0 { padding: 0; }
.p-1 { padding: 8px; }
.p-2 { padding: 16px; }
.p-3 { padding: 24px; }
.p-4 { padding: 32px; }
.p-5 { padding: 48px; }

.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }

.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* ---------- 32. 动画效果 ---------- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

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

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

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.animate-fade-in { animation: fadeIn 0.8s ease forwards; }
.animate-slide-up { animation: slideUp 0.8s ease forwards; }
.animate-slide-down { animation: slideDown 0.8s ease forwards; }
.animate-slide-left { animation: slideLeft 0.8s ease forwards; }
.animate-slide-right { animation: slideRight 0.8s ease forwards; }
.animate-zoom-in { animation: zoomIn 0.8s ease forwards; }
.animate-spin { animation: spin 1s linear infinite; }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }
.animate-bounce { animation: bounce 2s ease-in-out infinite; }

/* 悬停动画增强 */
.hover-lift {
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.hover-scale {
  transition: transform 0.4s var(--ease-out);
}

.hover-scale:hover {
  transform: scale(1.05);
}

.hover-glow {
  transition: box-shadow 0.4s ease;
}

.hover-glow:hover {
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.3);
}

/* ---------- 33. 暗色模式优化 ---------- */
@media (prefers-color-scheme: dark) {
  body:not(.light) {
    color-scheme: dark;
  }
}

/* 暗色模式下的图片滤镜 */
body:not(.light) img {
  filter: brightness(0.9) contrast(1.1);
}

body:not(.light) .card img {
  filter: brightness(0.8) contrast(1.1);
}

/* ---------- 34. 打印样式 ---------- */
@media print {
  .navbar, .footer, .to-top, .hero-buttons, .search-wrap, .menu-btn {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
    font-size: 12pt;
  }
  
  .container {
    max-width: 100%;
    padding: 0;
  }
  
  .card {
    border: 1px solid #ddd;
    break-inside: avoid;
  }
  
  .hero {
    padding: 20px 0;
    background: none;
    color: black;
  }
  
  .hero h1 {
    color: black;
    -webkit-text-fill-color: black;
  }
  
  a {
    color: black;
    text-decoration: underline;
  }
}

/* ---------- 35. 无障碍优化 ---------- */
@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;
  }
}

/* 焦点可见性 */
:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* 跳过链接 */
.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  background: var(--c-primary);
  color: var(--c-btn-text);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 8px;
}

/* ---------- 36. 自定义滚动条 ---------- */
.custom-scroll {
  scrollbar-width: thin;
  scrollbar-color: var(--c-primary) transparent;
}

.custom-scroll::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.custom-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scroll::-webkit-scrollbar-thumb {
  background: var(--c-primary);
  border-radius: var(--radius-full);
}

/* ---------- 37. 主题装饰 ---------- */
/* 背景光晕 */
.bg-glow {
  position: relative;
}

.bg-glow::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* 渐变文字 */
.gradient-text {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 玻璃拟态 */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

/* 电影胶片装饰线 */
.film-strip {
  background: repeating-linear-gradient(
    90deg,
    transparent 0px,
    transparent 20px,
    rgba(245, 158, 11, 0.1) 20px,
    rgba(245, 158, 11, 0.1) 24px
  );
  height: 4px;
  width: 100%;
  opacity: 0.3;
}

/* ---------- 38. 最终优化 ---------- */
/* 防止卡片内图片溢出 */
.card img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

/* 链接下划线动画 */
.animated-link {
  position: relative;
  display: inline-block;
}

.animated-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--c-primary);
  transition: width 0.3s ease;
}

.animated-link:hover::after {
  width: 100%;
}

/* 加载动画 */
.loader {
  width: 48px;
  height: 48px;
  border: 4px solid var(--c-border);
  border-top-color: var(--c-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 48px auto;
}

/* 空状态 */
.empty-state {
  text-align: center;
  padding: 64px 24px;
  color: var(--c-text-muted);
}

.empty-state .empty-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

/* 确保所有内容在暗色下可读 */
body:not(.light) .text-secondary {
  color: #94a3b8;
}

body:not(.light) .text-muted {
  color: #64748b;
}

/* 卡片内链接样式 */
.card a:not(.btn) {
  color: var(--c-primary);
  font-weight: 500;
}

.card a:not(.btn):hover {
  color: var(--c-primary-light);
}

/* 列表样式优化 */
.list-check {
  list-style: none;
  padding-left: 0;
}

.list-check li {
  padding-left: 28px;
  position: relative;
}

.list-check li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-primary);
  font-weight: bold;
}

/* 网格背景 */
.grid-bg {
  background-image: 
    linear-gradient(var(--c-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-border) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.1;
}

/* 确保所有交互元素有足够的点击区域 */
button, .btn, .nav-links a {
  min-height: 40px;
}

/* 行高优化 */
p, li {
  line-height: 1.8;
}

/* 标题层级优化 */
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

/* 移动端优化 */
@media (max-width: 768px) {
  .card:hover {
    transform: none;
  }
  
  .movie-card:hover {
    transform: none;
  }
  
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* 性能优化：只对需要的元素使用backdrop-filter */
.navbar, .footer, .to-top {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* 结束 */
```