```css
/* ============================================
   免费看漫画网 - 完整样式表
   设计原则：现代、纯净、高可读性、响应式
   ============================================ */

/* ===== 设计变量与主题 ===== */
:root {
  /* 主色板 - 深邃蓝紫系 */
  --primary: #2563EB;
  --primary-light: #60A5FA;
  --primary-dark: #1E3A8A;
  --accent: #7C3AED;
  --accent-light: #A78BFA;

  /* 浅色模式 */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-elevated: #F1F5F9;
  --text-primary: #1F2937;
  --text-secondary: #2D3B4E;
  --text-muted: #4B5563;
  --text-heading: #111827;
  --text-link: #1D4ED8;
  --text-btn: #FFFFFF;
  --btn-bg: #2563EB;
  --btn-bg-hover: #1D4ED8;
  --border-color: #E2E8F0;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.08);
  --nav-bg: rgba(255,255,255,0.8);
  --footer-bg: #1E293B;
  --footer-text: #CBD5E1;
  --footer-heading: #F8FAFC;
  --glass-bg: rgba(255,255,255,0.7);
  --glass-border: rgba(255,255,255,0.3);

  /* 圆角 */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;

  /* 过渡 */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;

  /* 字体 */
  --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

[data-theme="dark"] {
  --bg-primary: #0F172A;
  --bg-secondary: #1E293B;
  --bg-card: #1E293B;
  --bg-elevated: #334155;
  --text-primary: #E2E8F0;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --text-heading: #F8FAFC;
  --text-link: #93C5FD;
  --text-btn: #0F172A;
  --btn-bg: #60A5FA;
  --btn-bg-hover: #93C5FD;
  --border-color: #334155;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.5);
  --nav-bg: rgba(15,23,42,0.85);
  --footer-bg: #0B1220;
  --footer-text: #94A3B8;
  --footer-heading: #F1F5F9;
  --glass-bg: rgba(30,41,59,0.7);
  --glass-border: rgba(148,163,184,0.2);
}

/* ===== 基础重置与全局 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

body::selection {
  background: var(--primary);
  color: #fff;
}

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

a {
  color: var(--text-link);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

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

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

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: 5px solid var(--primary);
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 40px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  margin-top: 1.8rem;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.1rem;
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
}

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

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

li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

/* ===== 布局容器 ===== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  margin-bottom: 4rem;
}

/* ===== 导航栏 ===== */
.navbar {
  background: var(--nav-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border-color);
  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);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
  min-height: 64px;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-heading);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  letter-spacing: -0.02em;
  transition: opacity var(--transition-fast);
}

.logo:hover {
  opacity: 0.85;
}

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

.nav-links a {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  position: relative;
}

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

.nav-links a:hover {
  color: var(--primary);
  background: var(--bg-elevated);
}

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

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

/* 搜索框 */
.search-box {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.9rem;
  transition: all var(--transition-base);
  max-width: 220px;
}

.search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  background: var(--bg-card);
}

.search-box input {
  border: none;
  background: transparent;
  padding: 0.4rem 0.2rem;
  color: var(--text-primary);
  width: 100%;
  outline: none;
  font-size: 0.9rem;
  font-family: inherit;
}

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

.search-box button {
  background: transparent;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  line-height: 1;
  padding: 4px;
}

.search-box button:hover {
  color: var(--primary);
}

/* 主题切换按钮 */
.theme-toggle {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 0.45rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--bg-card);
  transform: translateY(-1px);
}

/* 移动端菜单按钮 */
.menu-toggle {
  display: none;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.7rem;
  font-size: 1.2rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  line-height: 1;
}

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

/* ===== 按钮 ===== */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--btn-bg);
  color: var(--text-btn);
  padding: 0.7rem 1.8rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
  gap: 0.5rem;
  line-height: 1.4;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.btn:hover {
  background: var(--btn-bg-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
  color: var(--text-btn);
  text-decoration: none;
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-lg {
  padding: 0.9rem 2.2rem;
  font-size: 1.05rem;
}

/* ===== Banner ===== */
.banner {
  background: linear-gradient(135deg, #1E3A8A 0%, #312E81 50%, #4C1D95 100%);
  color: #F8FAFC;
  border-radius: var(--radius-xl);
  margin: 2rem 0;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(30, 58, 138, 0.3);
}

.banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 200%;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 50%;
  height: 150%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.banner h2 {
  color: #FFFFFF;
  border-left-color: #93C5FD;
  margin-top: 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.banner h2::after {
  background: #93C5FD;
}

.banner p {
  color: #E0E7FF;
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 600px;
  position: relative;
  z-index: 1;
  margin-top: 0.8rem;
}

.banner .btn-group {
  position: relative;
  z-index: 1;
}

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

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

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

.card h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

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

.card .badge {
  margin-top: 1rem;
}

/* ===== 徽章 ===== */
.badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-secondary));
  color: var(--text-primary);
  font-weight: 600;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.badge:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ===== 文章列表 ===== */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 2rem 0;
}

.article-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1.8rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.article-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

.article-item:hover::before {
  opacity: 1;
}

.article-item h3 {
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
  transition: color var(--transition-fast);
}

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

.article-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.article-summary {
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

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

/* ===== FAQ ===== */
.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 1.2rem 0;
  transition: padding var(--transition-base);
}

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

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

.faq-question span {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform var(--transition-base), color var(--transition-fast);
  line-height: 1;
  flex-shrink: 0;
}

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

.faq-answer {
  color: var(--text-primary);
  padding-top: 0.5rem;
  line-height: 1.8;
  display: none;
  max-width: 90%;
}

.faq-item.active .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* ===== 信息表格 ===== */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

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

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

/* ===== 步骤列表 ===== */
.steps-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.steps-list li {
  counter-increment: step;
  position: relative;
  padding: 1rem 1rem 1rem 3.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  transition: all var(--transition-base);
}

.steps-list li:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.2rem;
  height: 2.2rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

/* ===== 友情链接 ===== */
.link-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1rem 0;
}

.link-cloud a {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.link-cloud a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--bg-card);
  transform: translateY(-2px);
}

/* ===== 页脚 ===== */
.footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  margin-top: 5rem;
  padding: 4rem 1.5rem 2rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  padding-bottom: 2rem;
}

.footer h4 {
  color: var(--footer-heading);
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.footer p {
  color: var(--footer-text);
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  line-height: 1.7;
}

.footer a {
  color: var(--footer-text);
  transition: color var(--transition-fast);
  font-weight: 400;
}

.footer a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer .copyright {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--footer-text);
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== 返回顶部按钮 ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--btn-bg);
  color: var(--text-btn);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-md);
  z-index: 999;
  transition: all var(--transition-base);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

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

.back-to-top:hover {
  background: var(--btn-bg-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ===== 滚动动画 ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

.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; }

/* ===== 工具类 ===== */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.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; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }
.rounded { border-radius: var(--radius-md); }

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

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

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

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

.animate-fade-in { animation: fadeIn 0.6s ease both; }
.animate-slide-left { animation: slideInLeft 0.6s ease both; }
.animate-slide-right { animation: slideInRight 0.6s ease both; }
.animate-zoom-in { animation: zoomIn 0.5s ease both; }

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.25rem;
  }

  .nav-inner {
    padding: 0.8rem 1.25rem;
  }

  .search-box {
    max-width: 160px;
  }

  .search-box input {
    width: 100px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .nav-inner {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
  }

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

  .nav-links.open {
    display: flex;
    animation: fadeIn 0.3s ease;
  }

  .nav-links a {
    padding: 0.8rem 1rem;
    width: 100%;
    text-align: left;
    border-radius: var(--radius-sm);
  }

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

  .nav-links a:hover {
    background: var(--bg-elevated);
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  .search-box {
    max-width: 140px;
  }

  .search-box input {
    width: 80px;
  }

  .theme-toggle {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
    padding-left: 0.8rem;
  }

  .banner {
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
  }

  .banner h2 {
    font-size: 1.6rem;
  }

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

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

  .footer {
    padding: 3rem 1rem 1.5rem;
  }

  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 42px;
    height: 42px;
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  .nav-inner {
    padding: 0.5rem 0.75rem;
  }

  .logo {
    font-size: 1.3rem;
  }

  .search-box {
    max-width: 110px;
  }

  .search-box input {
    width: 60px;
    font-size: 0.8rem;
  }

  .theme-toggle {
    padding: 0.35rem 0.6rem;
    font-size: 0.8rem;
  }

  .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .article-item {
    padding: 1.2rem;
  }

  .faq-answer {
    max-width: 100%;
  }

  .card {
    padding: 1.4rem;
  }
}

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

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

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

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

  a {
    color: #000;
    text-decoration: underline;
  }

  .card,
  .article-item,
  .faq-item {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}
```