```css
/* ===== 木瓜影院 全局样式 ===== */
:root {
  --bg-color: #f5f7fa;
  --text-primary: #1F2937;
  --text-secondary: #3E4C59;
  --text-heading: #111827;
  --card-bg: #ffffff;
  --border-color: #d1d9e0;
  --accent-color: #1e3a8a;
  --accent-hover: #1e40af;
  --footer-bg: #1e2a3a;
  --footer-text: #e2e8f0;
  --nav-bg: rgba(255,255,255,0.85);
  --nav-text: #1F2937;
  --glass-bg: rgba(255,255,255,0.6);
  --glass-border: rgba(255,255,255,0.3);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.16);
  --gradient-banner: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #f0f4f8 100%);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ===== 暗色模式变量 ===== */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: #0b1120;
    --text-primary: #E5E7EB;
    --text-heading: #FFFFFF;
    --text-secondary: #94a3b8;
    --card-bg: #1e293b;
    --border-color: #334155;
    --accent-color: #60a5fa;
    --accent-hover: #93c5fd;
    --footer-bg: #0f172a;
    --footer-text: #cbd5e1;
    --nav-bg: rgba(15, 23, 42, 0.85);
    --nav-text: #F1F5F9;
    --glass-bg: rgba(30, 41, 59, 0.6);
    --glass-border: rgba(148, 163, 184, 0.2);
    --gradient-banner: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #3b82f6 100%);
    --gradient-card: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.5);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.6);
  }
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.3s ease;
}

/* ===== 排版 ===== */
h1, h2, h3, h4 {
  color: var(--text-heading);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 2.4rem;
  margin: 1.5rem 0 1rem;
  background: var(--gradient-banner);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease;
}

h2 {
  font-size: 1.9rem;
  margin: 2.5rem 0 1.2rem;
  position: relative;
  padding-left: 20px;
}

h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 70%;
  background: var(--gradient-banner);
  border-radius: var(--radius-full);
}

h3 {
  font-size: 1.4rem;
  margin: 1.5rem 0 0.8rem;
}

h4 {
  font-size: 1.15rem;
  margin: 1rem 0 0.5rem;
}

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

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

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

/* ===== 容器 ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

main.container {
  padding-top: 30px;
  padding-bottom: 60px;
}

/* ===== 导航栏 ===== */
.navbar {
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 14px 0;
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.logo {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--text-heading);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--nav-text);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-banner);
  transition: width 0.3s ease;
}

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

.nav-links a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  font-size: 1.6rem;
  padding: 4px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-primary);
  transition: var(--transition);
}

.menu-toggle:hover {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
}

/* ===== 搜索框 ===== */
.search-box {
  display: flex;
  gap: 6px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  padding: 4px 4px 4px 20px;
  max-width: 360px;
  flex: 1;
  min-width: 200px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.search-box:focus-within {
  box-shadow: var(--shadow-md);
  border-color: var(--accent-color);
}

.search-box input {
  border: none;
  background: transparent;
  flex: 1;
  padding: 10px 0;
  color: var(--text-primary);
  outline: none;
  font-size: 0.95rem;
  min-width: 0;
}

.search-box input::placeholder {
  color: var(--text-secondary);
  opacity: 0.7;
}

.search-box button {
  background: var(--gradient-banner);
  border: none;
  border-radius: var(--radius-full);
  padding: 8px 24px;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.search-box button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ===== 面包屑 ===== */
.breadcrumb {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0 30px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

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

.breadcrumb span {
  color: var(--text-primary);
  font-weight: 600;
}

/* ===== 卡片网格 ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin: 30px 0;
}

.card {
  background: var(--gradient-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  padding: 28px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease backwards;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-banner);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

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

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-color);
}

.card h3 {
  margin-top: 0;
  font-size: 1.3rem;
}

.card p {
  color: var(--text-primary);
  margin-bottom: 0;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-block;
  background: var(--gradient-banner);
  color: #ffffff !important;
  padding: 12px 32px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.btn:hover::after {
  width: 300px;
  height: 300px;
}

/* ===== FAQ ===== */
.faq-item {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  margin-bottom: 14px;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.faq-item:hover {
  border-color: var(--accent-color);
  box-shadow: var(--shadow-md);
}

.faq-question {
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-heading);
  transition: color 0.2s ease;
}

.faq-question span {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
  color: var(--accent-color);
}

.faq-item.active .faq-question span {
  transform: rotate(45deg);
}

.faq-answer {
  margin-top: 14px;
  color: var(--text-primary);
  display: none;
  border-top: 1px dashed var(--border-color);
  padding-top: 14px;
  animation: fadeIn 0.4s ease;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ===== 表格 ===== */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 25px 0;
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

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

th {
  background: var(--gradient-banner);
  color: white;
  font-weight: 700;
  letter-spacing: 0.5px;
}

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

tr:hover td {
  background: rgba(59, 130, 246, 0.05);
}

/* ===== 页脚 ===== */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 60px 0 30px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-banner);
}

.footer a {
  color: #94a3b8;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

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

.footer .col-title {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-bottom p {
  color: #94a3b8;
  margin-bottom: 8px;
}

/* ===== 文章列表 ===== */
.article-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.article-item {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  animation: fadeInUp 0.5s ease backwards;
  box-shadow: var(--shadow-sm);
}

.article-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-color);
}

.article-item .date {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-item h4 {
  margin: 10px 0;
  font-size: 1.1rem;
}

.article-item p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

.article-item a {
  font-weight: 600;
}

/* ===== SVG占位 ===== */
.svg-placeholder {
  background: var(--gradient-banner);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  min-height: 100px;
  overflow: hidden;
  position: relative;
}

.svg-placeholder svg {
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}

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

/* ===== 返回顶部 ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--gradient-banner);
  color: white;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-weight: 800;
  font-size: 1.2rem;
  border: none;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

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

.back-to-top:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* ===== 引用块 ===== */
blockquote {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  padding: 24px;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  border-left: 6px solid var(--accent-color);
  margin: 20px 0;
  font-style: italic;
  box-shadow: var(--shadow-sm);
  position: relative;
}

blockquote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--accent-color);
  opacity: 0.2;
  font-family: Georgia, serif;
}

/* ===== 联系区域 ===== */
#contact .card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  box-shadow: var(--shadow-md);
}

#contact strong {
  color: var(--text-heading);
  font-weight: 700;
}

/* ===== HowTo ===== */
#howto .card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
}

#howto ol {
  padding-left: 20px;
  margin-bottom: 20px;
}

#howto ol li {
  margin-bottom: 8px;
  color: var(--text-primary);
}

/* ===== 动画 ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

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

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

::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: var(--radius-full);
}

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

/* ===== 选区 ===== */
::selection {
  background: var(--accent-color);
  color: white;
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  
  .container {
    padding: 0 16px;
  }
  
  h1 {
    font-size: 1.7rem;
  }
  
  h2 {
    font-size: 1.4rem;
  }
  
  .navbar .container {
    flex-wrap: wrap;
  }
  
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-top: 14px;
    padding: 16px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
  }
  
  .nav-links.show {
    display: flex;
    animation: fadeIn 0.3s ease;
  }
  
  .nav-links a {
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
  }
  
  .nav-links a:hover {
    background: rgba(59, 130, 246, 0.1);
  }
  
  .menu-toggle {
    display: block;
  }
  
  .search-box {
    max-width: 100%;
    width: 100%;
    margin-top: 10px;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .article-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .breadcrumb {
    font-size: 0.85rem;
    padding: 8px 16px;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    padding: 12px 16px;
  }
  
  .footer {
    padding: 40px 0 20px;
  }
  
  .footer-bottom {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.3rem;
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  .search-box button {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
  
  .card {
    padding: 20px;
  }
  
  .faq-item {
    padding: 16px 20px;
  }
  
  .article-item {
    padding: 16px;
  }
  
  #contact .card {
    padding: 20px;
    gap: 16px;
  }
}

/* ===== 暗色模式微调 ===== */
@media (prefers-color-scheme: dark) {
  .card, .article-item, .faq-item {
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  }
  
  .search-box input {
    color: #F9FAFB;
  }
  
  blockquote {
    background: rgba(30, 41, 59, 0.6);
  }
  
  .svg-placeholder {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  }
}

/* ===== 打印样式 ===== */
@media print {
  .navbar, .footer, .back-to-top, .search-box, .menu-toggle {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .container {
    max-width: 100%;
  }
  
  .card, .article-item, .faq-item {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* ===== 无障碍 ===== */
@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-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.flex {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.flex > * {
  flex: 1;
  min-width: 250px;
}
```