```css
/* ============================================
   爱趣漫画 - 完整样式表
   设计风格：暖橙治愈系 + 毛玻璃 + 圆角卡片
   响应式 + 暗色模式 + 滚动动画
   ============================================ */

/* ---------- CSS 变量（主题） ---------- */
:root {
  /* 主色系 */
  --primary: #c2410c;
  --primary-dark: #9a3412;
  --primary-light: #f5a623;
  --accent: #f59e0b;
  --accent-soft: #fef3c7;

  /* 中性色 */
  --bg-body: #fffdf8;
  --bg-card: #ffffff;
  --bg-soft: #f3f4f6;
  --bg-article: #ffffff;

  /* 文字 */
  --text-main: #1e1e1e;
  --text-sub: #444444;
  --text-muted: #78716c;
  --text-heading: #7c2d12;

  /* 边框与阴影 */
  --border-soft: #f0e0d0;
  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 12px 24px rgba(0, 0, 0, 0.06);
  --shadow-header: 0 2px 12px rgba(0, 0, 0, 0.06);

  /* 圆角 */
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;

  /* 渐变 */
  --gradient-banner: linear-gradient(145deg, #fef3c7, #fde68a);
  --gradient-footer: linear-gradient(135deg, #1c1917, #292524);

  /* 字体 */
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

/* 暗色模式变量覆盖 */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-body: #121212;
    --bg-card: #1e1e1e;
    --bg-soft: #1f2937;
    --bg-article: #1e1e1e;

    --text-main: #e5e5e5;
    --text-sub: #a3a3a3;
    --text-muted: #78716c;
    --text-heading: #fbbf24;

    --border-soft: #333333;
    --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 12px 24px rgba(0, 0, 0, 0.4);
    --shadow-header: 0 2px 12px rgba(0, 0, 0, 0.4);

    --gradient-banner: linear-gradient(145deg, #2d1b0e, #42301a);
    --gradient-footer: linear-gradient(135deg, #0f0f0f, #1c1917);
  }
}

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

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

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

img,
svg {
  max-width: 100%;
  vertical-align: middle;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

ul,
ol {
  list-style-position: inside;
  padding-left: 1rem;
}

/* 容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-header);
  transition: background 0.3s ease;
}

@media (prefers-color-scheme: dark) {
  .site-header {
    background: rgba(18, 18, 18, 0.85);
  }
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
}

.logo svg {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.logo:hover svg {
  transform: rotate(-8deg) scale(1.05);
}

.nav-links {
  display: flex;
  gap: 28px;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding: 6px 2px;
}

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

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

.search-box {
  display: flex;
  align-items: center;
  background: var(--bg-soft);
  border-radius: 40px;
  padding: 4px 12px;
  transition: box-shadow 0.3s ease;
}

.search-box:focus-within {
  box-shadow: 0 0 0 2px var(--primary-light);
}

.search-box input {
  border: none;
  background: transparent;
  padding: 8px;
  width: 160px;
  outline: none;
  color: var(--text-main);
  font-size: 0.95rem;
}

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

.search-box button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary);
  font-size: 1.2rem;
  padding: 4px;
  transition: transform 0.2s ease;
}

.search-box button:hover {
  transform: scale(1.15);
}

/* 移动端菜单按钮 */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-main);
  padding: 4px 8px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

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

/* 移动端下拉菜单 */
.mobile-nav {
  display: none;
  width: 100%;
  flex-direction: column;
  background: var(--bg-card);
  padding: 12px 20px;
  border-top: 1px solid var(--border-soft);
  box-shadow: var(--shadow-header);
}

.mobile-nav a {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
  font-weight: 500;
}

.mobile-nav a:last-child {
  border-bottom: none;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff !important;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(194, 65, 12, 0.3);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(194, 65, 12, 0.4);
  background: linear-gradient(135deg, var(--primary-dark), #7c2d12);
}

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

/* ---------- Banner 区域 ---------- */
.banner {
  background: var(--gradient-banner);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  margin: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}

.banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  pointer-events: none;
}

.banner-text {
  flex: 1;
  min-width: 280px;
  z-index: 1;
}

.banner-text h1 {
  font-size: 2.6rem;
  color: var(--text-heading);
  line-height: 1.2;
  margin-bottom: 12px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.banner-text p {
  font-size: 1.2rem;
  max-width: 500px;
  color: var(--text-heading);
  opacity: 0.9;
  margin-bottom: 20px;
}

.banner svg {
  width: 260px;
  height: 180px;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.banner:hover svg {
  transform: scale(1.02) rotate(-2deg);
}

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

.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(4px);
}

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

.card h3 {
  font-size: 1.3rem;
  color: var(--text-heading);
  margin-bottom: 8px;
  font-weight: 700;
}

.card svg {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.card:hover svg {
  transform: scale(1.1) rotate(-5deg);
}

.card p {
  color: var(--text-sub);
  font-size: 0.95rem;
}

/* ---------- 数字动画区域 ---------- */
.stats {
  display: flex;
  justify-content: space-around;
  background: linear-gradient(135deg, #2d1b0e, #1c1917);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  margin: 30px 0;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.stats::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 60px;
  background: rgba(245, 166, 35, 0.1);
  filter: blur(40px);
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 120px;
}

.stat-item .num {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fbbf24;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.stat-item div:last-child {
  font-size: 0.95rem;
  opacity: 0.8;
  margin-top: 4px;
}

/* ---------- 文章列表 ---------- */
.article-list {
  display: grid;
  gap: 20px;
  margin: 30px 0;
}

.article-item {
  background: var(--bg-article);
  border-radius: 18px;
  padding: 24px 28px;
  border-left: 6px solid var(--accent);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.article-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-card);
  border-left-color: var(--primary);
}

.article-item h4 {
  font-size: 1.2rem;
  color: var(--text-main);
  margin-bottom: 8px;
  font-weight: 600;
}

.article-item p {
  color: var(--text-sub);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.article-item a {
  font-weight: 500;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.article-item a::after {
  content: "→";
  transition: transform 0.2s ease;
}

.article-item a:hover::after {
  transform: translateX(4px);
}

.article-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

/* ---------- FAQ 样式 ---------- */
.faq-item {
  border-bottom: 1px solid var(--border-soft);
  padding: 16px 0;
  transition: background 0.2s ease;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-q {
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.2s ease;
  font-size: 1.05rem;
}

.faq-q:hover {
  background: var(--bg-soft);
}

.faq-q span {
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-a {
  display: none;
  padding: 12px 12px 8px;
  color: var(--text-sub);
  line-height: 1.8;
  border-left: 3px solid var(--accent);
  margin-left: 12px;
}

/* ---------- HowTo 教程 ---------- */
#howto .card {
  max-width: 800px;
  margin: 0 auto;
}

#howto ol {
  padding-left: 1.5rem;
  margin: 12px 0;
}

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

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

/* ---------- 联系我们 ---------- */
#contact > div {
  background: var(--accent-soft) !important;
  padding: 32px !important;
  border-radius: 24px;
  border: 1px solid var(--border-soft);
  transition: background 0.3s ease;
}

#contact p {
  margin-bottom: 12px;
  font-size: 1.05rem;
}

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

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--gradient-footer);
  color: #d6d3d1;
  padding: 48px 0 32px;
  margin-top: 60px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 24px;
}

.footer-links a {
  color: #d6d3d1;
  font-size: 0.95rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #fff;
  transform: translateY(-2px);
}

.copyright {
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------- 返回顶部按钮 ---------- */
#backTop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.4rem;
  box-shadow: 0 4px 16px rgba(194, 65, 12, 0.3);
  transition: all 0.3s ease;
  z-index: 999;
  border: none;
}

#backTop:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(194, 65, 12, 0.4);
}

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

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

/* 交错动画延迟 */
.card:nth-child(2) {
  transition-delay: 0.1s;
}
.card:nth-child(3) {
  transition-delay: 0.2s;
}
.card:nth-child(4) {
  transition-delay: 0.3s;
}

/* ---------- 章节标题 ---------- */
.section-title {
  font-size: 2rem;
  margin: 48px 0 24px;
  color: var(--text-heading);
  border-left: 8px solid var(--accent);
  padding-left: 16px;
  font-weight: 700;
  letter-spacing: -0.3px;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 24px;
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* ---------- 响应式设计 ---------- */
@media (max-width: 1024px) {
  .banner-text h1 {
    font-size: 2.2rem;
  }

  .banner svg {
    width: 200px;
    height: 150px;
  }

  .container {
    padding: 0 16px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

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

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

  .mobile-nav {
    display: none;
  }

  .mobile-nav.active {
    display: flex;
  }

  .banner {
    padding: 28px 20px;
    flex-direction: column;
    text-align: center;
  }

  .banner-text h1 {
    font-size: 1.8rem;
  }

  .banner-text p {
    font-size: 1rem;
    margin: 0 auto 16px;
  }

  .banner svg {
    width: 160px;
    height: 120px;
  }

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

  .stats {
    padding: 24px 16px;
    gap: 16px;
  }

  .stat-item .num {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .article-item {
    padding: 20px;
  }

  .footer-links {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.3rem;
  }

  .logo svg {
    width: 34px;
    height: 34px;
  }

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

  .banner-text h1 {
    font-size: 1.5rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .card {
    padding: 20px;
  }

  .stat-item .num {
    font-size: 1.6rem;
  }

  .section-title {
    font-size: 1.4rem;
  }
}

/* ---------- 暗色模式细节优化 ---------- */
@media (prefers-color-scheme: dark) {
  .search-box input {
    color: #e5e5e5;
  }

  .search-box input::placeholder {
    color: #78716c;
  }

  .banner-text h1,
  .banner-text p {
    color: #fbbf24;
  }

  .faq-q:hover {
    background: #2a2a2a;
  }

  #contact > div {
    background: #2d1b0e !important;
    border-color: #444;
  }

  #contact strong {
    color: #fbbf24;
  }

  .article-item {
    border-left-color: #f59e0b;
  }
}

/* ---------- 无障碍与可访问性 ---------- */
:focus-visible {
  outline: 3px solid var(--primary-light);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ---------- 打印样式 ---------- */
@media print {
  .site-header,
  .site-footer,
  #backTop,
  .search-box,
  .menu-toggle {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .card,
  .article-item {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-light), var(--primary));
  border-radius: 5px;
}

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

/* ---------- 选中文字颜色 ---------- */
::selection {
  background: var(--primary-light);
  color: #fff;
}
```