```css
/* ============================================
   看片网站 deenc.cn - 完整样式表
   风格：现代科技 + 影视沉浸感
   包含：毛玻璃、渐变、暗色模式、响应式、动画
   ============================================ */

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

:root {
  /* 明亮主题 */
  --bg: #f0f2f8;
  --bg-gradient: radial-gradient(ellipse at top left, #eef2ff, #f8fafc);
  --card: rgba(255, 255, 255, 0.75);
  --card-solid: #ffffff;
  --text: #1e1b4b;
  --text-secondary: #6b7280;
  --accent: #4f46e5;
  --accent-light: #818cf8;
  --accent-gradient: linear-gradient(135deg, #4f46e5, #7c3aed);
  --border: rgba(255, 255, 255, 0.6);
  --shadow: 0 8px 32px rgba(31, 38, 135, 0.08);
  --shadow-hover: 0 16px 48px rgba(79, 70, 229, 0.15);
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.3);
  --banner-overlay: linear-gradient(90deg, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.3), transparent);
  --footer-bg: rgba(255, 255, 255, 0.8);
  --badge-bg: rgba(79, 70, 229, 0.15);
  --badge-text: #4f46e5;
  --scrollbar-thumb: #c7d2fe;
  --scrollbar-track: transparent;
}

[data-theme="dark"] {
  --bg: #0b1120;
  --bg-gradient: radial-gradient(ellipse at top left, #111827, #0f172a);
  --card: rgba(30, 41, 59, 0.75);
  --card-solid: #1e293b;
  --text: #e2e8f0;
  --text-secondary: #94a3b8;
  --accent: #818cf8;
  --accent-light: #a5b4fc;
  --accent-gradient: linear-gradient(135deg, #6366f1, #8b5cf6);
  --border: rgba(148, 163, 184, 0.15);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.5);
  --glass-bg: rgba(30, 41, 59, 0.6);
  --glass-border: rgba(148, 163, 184, 0.2);
  --banner-overlay: linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5), transparent);
  --footer-bg: rgba(15, 23, 42, 0.9);
  --badge-bg: rgba(129, 140, 248, 0.2);
  --badge-text: #a5b4fc;
  --scrollbar-thumb: #334155;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
    'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-gradient);
  color: var(--text);
  line-height: 1.7;
  transition: background 0.4s ease, color 0.3s ease;
  min-height: 100vh;
  overflow-x: hidden;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}
::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 10px;
}
::selection {
  background: var(--accent);
  color: #fff;
}

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

/* ---------- 吸顶导航 ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.logo svg {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 4px 8px rgba(79, 70, 229, 0.3));
  flex-shrink: 0;
}

.menu {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.menu a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 30px;
  transition: all 0.3s ease;
  position: relative;
}

.menu a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.menu a:hover {
  color: var(--accent);
  background: var(--badge-bg);
}

.menu a:hover::after {
  width: 60%;
}

/* 搜索框 */
.search-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--card-solid);
  border-radius: 40px;
  padding: 4px 4px 4px 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  flex: 0 1 auto;
  min-width: 200px;
}

.search-box:focus-within {
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
  border-color: var(--accent);
}

.search-box input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 0.9rem;
  padding: 8px 0;
}

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

.search-box button {
  background: var(--accent-gradient);
  border: none;
  color: white;
  padding: 8px 20px;
  border-radius: 40px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.search-box button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
}

/* 暗色切换按钮 */
.dark-toggle {
  background: var(--card-solid);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 8px 16px;
  cursor: pointer;
  color: var(--text);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 6px;
}

.dark-toggle:hover {
  transform: rotate(15deg) scale(1.05);
  border-color: var(--accent);
}

/* 移动菜单按钮 */
.mobile-menu-btn {
  display: none;
  background: var(--card-solid);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  color: var(--text);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  margin: 24px 0;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.breadcrumb span {
  color: var(--accent);
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s;
}

.breadcrumb span:hover {
  color: var(--accent-light);
}

/* ---------- Banner 轮播 ---------- */
.banner {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  margin: 24px 0 40px;
  height: 380px;
  box-shadow: var(--shadow-hover);
  background: #1e1b4b;
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease, transform 1.5s ease;
  display: flex;
  align-items: center;
  padding: 50px;
  background: var(--banner-overlay);
  color: white;
  transform: scale(1.02);
}

.banner-slide.active {
  opacity: 1;
  transform: scale(1);
}

.banner-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(79, 70, 229, 0.3), transparent 60%);
  pointer-events: none;
}

.banner-content {
  max-width: 55%;
  position: relative;
  z-index: 2;
  animation: slideUp 0.8s ease;
}

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

.banner h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -1px;
  line-height: 1.2;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.banner p {
  font-size: 1.15rem;
  margin-bottom: 24px;
  opacity: 0.9;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.badge {
  background: var(--accent-gradient);
  padding: 6px 18px;
  border-radius: 40px;
  display: inline-block;
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.4);
}

/* 通用按钮 */
.btn {
  display: inline-block;
  background: var(--accent-gradient);
  color: white;
  padding: 12px 28px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.3);
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(79, 70, 229, 0.5);
}

.btn:active {
  transform: translateY(-1px);
}

/* ---------- 数字统计 ---------- */
.stats {
  display: flex;
  gap: 24px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.stat {
  background: var(--card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 28px 20px;
  border-radius: 20px;
  flex: 1;
  min-width: 180px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.3s;
}

.stat:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

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

.stat .num {
  font-size: 2.8rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

.stat p {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ---------- 区块标题 ---------- */
.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin: 50px 0 24px;
  position: relative;
  display: inline-block;
  letter-spacing: -0.5px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60%;
  height: 4px;
  background: var(--accent-gradient);
  border-radius: 4px;
}

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

.card {
  background: var(--card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

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

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

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  background: linear-gradient(135deg, #4f46e5, #9333ea);
  transition: all 0.4s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card:hover img {
  transform: scale(1.03);
}

.card h3 {
  margin: 16px 0 8px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card .meta {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* ---------- 文章列表 ---------- */
.article-list {
  display: grid;
  gap: 16px;
}

.article-item {
  padding: 24px;
  background: var(--card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.article-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent-gradient);
  transform: scaleY(0);
  transition: transform 0.3s ease;
  border-radius: 3px;
}

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

.article-item:hover::before {
  transform: scaleY(1);
}

.article-item h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  transition: color 0.3s;
}

.article-item:hover h4 {
  color: var(--accent);
}

.article-item .date {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 500;
  display: inline-block;
  background: var(--badge-bg);
  padding: 2px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.article-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 12px;
  line-height: 1.6;
}

.article-item a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.article-item a:hover {
  gap: 8px;
  color: var(--accent-light);
}

/* ---------- FAQ 手风琴 ---------- */
.faq-item {
  background: var(--card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 0 24px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-item:hover {
  border-color: var(--accent-light);
}

.faq-q {
  padding: 18px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s;
  user-select: none;
}

.faq-q:hover {
  color: var(--accent);
}

.faq-q span {
  font-size: 1.4rem;
  font-weight: 300;
  transition: transform 0.4s ease;
  color: var(--accent);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-q span {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1.8;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.faq-item.open .faq-a {
  max-height: 400px;
  padding-bottom: 20px;
}

/* ---------- HowTo 教程 ---------- */
.howto-box {
  background: var(--card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  line-height: 1.9;
}

.howto-box h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--accent);
}

.howto-box h4 {
  font-size: 1.1rem;
  margin: 24px 0 12px;
  color: var(--text);
  font-weight: 700;
}

.howto-box ol {
  margin-left: 24px;
  line-height: 2.2;
  color: var(--text-secondary);
}

.howto-box ol li {
  padding-left: 8px;
  position: relative;
}

.howto-box ol li::marker {
  color: var(--accent);
  font-weight: 700;
}

.howto-box p {
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.howto-box strong {
  color: var(--text);
}

/* ---------- 联系卡片 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin: 30px 0;
}

.contact-card {
  background: var(--card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 30px 24px;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-light);
}

.contact-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

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

/* ---------- 友情链接 ---------- */
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 20px 0;
}

.friend-links a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: var(--card);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.friend-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ---------- 页脚 ---------- */
footer {
  background: var(--footer-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  margin-top: 80px;
  padding: 50px 0 30px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-grid h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.footer-grid a {
  color: var(--text-secondary);
  display: block;
  margin: 8px 0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.footer-grid a:hover {
  opacity: 1;
  color: var(--accent);
  transform: translateX(4px);
}

.footer-grid p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.copyright {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  opacity: 0.7;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--accent-gradient);
  color: white;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.4);
  transition: all 0.3s ease;
  font-size: 1.4rem;
  z-index: 999;
  border: none;
}

.to-top:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 32px rgba(79, 70, 229, 0.5);
}

/* ---------- 滚动动画 ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card, .article-item, .faq-item, .stat, .contact-card {
  animation: fadeInUp 0.6s ease both;
}

.card:nth-child(2), .article-item:nth-child(2), .faq-item:nth-child(2) {
  animation-delay: 0.1s;
}
.card:nth-child(3), .article-item:nth-child(3), .faq-item:nth-child(3) {
  animation-delay: 0.2s;
}
.card:nth-child(4), .article-item:nth-child(4), .faq-item:nth-child(4) {
  animation-delay: 0.3s;
}
.card:nth-child(5), .article-item:nth-child(5), .faq-item:nth-child(5) {
  animation-delay: 0.4s;
}
.card:nth-child(6), .article-item:nth-child(6), .faq-item:nth-child(6) {
  animation-delay: 0.5s;
}
.card:nth-child(7), .article-item:nth-child(7), .faq-item:nth-child(7) {
  animation-delay: 0.6s;
}
.card:nth-child(8), .article-item:nth-child(8), .faq-item:nth-child(8) {
  animation-delay: 0.7s;
}
.card:nth-child(9), .article-item:nth-child(9), .faq-item:nth-child(9) {
  animation-delay: 0.8s;
}
.card:nth-child(10), .article-item:nth-child(10), .faq-item:nth-child(10) {
  animation-delay: 0.9s;
}

/* 响应式滚动动画优化 */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- 响应式布局 ---------- */
@media (max-width: 1024px) {
  .banner {
    height: 320px;
  }
  .banner h2 {
    font-size: 2.2rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .banner-content {
    max-width: 70%;
  }
}

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

  nav {
    padding: 12px 0;
    gap: 12px;
  }

  .menu, .search-box {
    display: none;
  }

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

  .logo {
    font-size: 1.2rem;
  }

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

  .banner {
    height: 260px;
    border-radius: 20px;
    margin: 16px 0 32px;
  }

  .banner-slide {
    padding: 24px;
  }

  .banner-content {
    max-width: 100%;
  }

  .banner h2 {
    font-size: 1.6rem;
    margin-bottom: 8px;
  }

  .banner p {
    font-size: 0.95rem;
    margin-bottom: 16px;
  }

  .badge {
    font-size: 0.7rem;
    padding: 4px 14px;
    margin-bottom: 10px;
  }

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

  .section-title {
    font-size: 1.6rem;
    margin: 40px 0 20px;
  }

  .card-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }

  .stats {
    gap: 12px;
  }

  .stat {
    min-width: 140px;
    padding: 20px 12px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .to-top {
    width: 44px;
    height: 44px;
    bottom: 20px;
    right: 20px;
    font-size: 1.2rem;
  }

  .howto-box {
    padding: 24px;
  }

  .breadcrumb {
    font-size: 0.8rem;
    margin: 16px 0;
  }

  .faq-q {
    font-size: 0.95rem;
    padding: 16px 0;
  }

  .faq-a {
    font-size: 0.9rem;
  }
}

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

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

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

  .banner {
    height: 220px;
  }

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

  .banner p {
    font-size: 0.85rem;
    margin-bottom: 12px;
  }

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

  .stats {
    flex-direction: column;
  }

  .stat {
    min-width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .article-item {
    padding: 18px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .breadcrumb {
    flex-wrap: wrap;
    gap: 4px;
  }
}

/* ---------- 暗色模式微调 ---------- */
[data-theme="dark"] .logo svg {
  filter: drop-shadow(0 4px 12px rgba(129, 140, 248, 0.3));
}

[data-theme="dark"] .card img {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

[data-theme="dark"] .banner {
  background: #0f172a;
}

[data-theme="dark"] .search-box input {
  color: #e2e8f0;
}

[data-theme="dark"] .search-box input::placeholder {
  color: #64748b;
}

[data-theme="dark"] .dark-toggle {
  background: #1e293b;
  border-color: #334155;
}

[data-theme="dark"] .mobile-menu-btn {
  background: #1e293b;
  border-color: #334155;
}

/* ---------- 图片占位渐变增强 ---------- */
img {
  background: linear-gradient(135deg, #4f46e5, #9333ea);
  transition: filter 0.3s ease;
}

img:hover {
  filter: brightness(1.05);
}

/* ---------- 细节补充 ---------- */
::placeholder {
  color: var(--text-secondary);
  opacity: 0.7;
}

a {
  -webkit-tap-highlight-color: transparent;
}

button {
  -webkit-tap-highlight-color: transparent;
  font-family: inherit;
}

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

/* 卡片图片高度适配 */
.card img[loading="lazy"] {
  background: linear-gradient(135deg, #4f46e5, #9333ea);
}

/* 打印样式 */
@media print {
  header, footer, .to-top, .dark-toggle, .mobile-menu-btn, .search-box {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .card, .article-item, .faq-item, .stat {
    box-shadow: none;
    border: 1px solid #ddd;
    break-inside: avoid;
  }
}
```