```css
/* ============================================
   玩弄少妇人妻(赵玉芝) - 完整样式表
   风格：现代优雅 · 渐变Banner · 毛玻璃 · 暗色模式
   ============================================ */

/* ---------- CSS 变量与主题 ---------- */
:root {
  --bg: #F8FAFC;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.7);
  --text-primary: #1F2937;
  --text-secondary: #334155;
  --text-title: #111827;
  --text-link: #1D4ED8;
  --border-color: rgba(148, 163, 184, 0.4);
  --footer-bg: #1E293B;
  --footer-text: #E2E8F0;
  --btn-bg: #2563EB;
  --btn-text: #FFFFFF;
  --hover-bg: #1E3A8A;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.12);
  --gradient-main: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-banner: linear-gradient(120deg, #1E3A8A 0%, #2563EB 50%, #3B82F6 100%);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(255,255,255,0.5));
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --blur: blur(12px);
}

[data-theme="dark"] {
  --bg: #0B1120;
  --bg-card: rgba(30, 41, 59, 0.85);
  --bg-glass: rgba(15, 23, 42, 0.75);
  --text-primary: #E5E7EB;
  --text-secondary: #CBD5E1;
  --text-title: #FFFFFF;
  --text-link: #93C5FD;
  --border-color: rgba(100, 116, 139, 0.4);
  --footer-bg: #0F172A;
  --footer-text: #E2E8F0;
  --btn-bg: #3B82F6;
  --btn-text: #FFFFFF;
  --hover-bg: #1D4ED8;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.5);
  --gradient-card: linear-gradient(145deg, rgba(30,41,59,0.9), rgba(15,23,42,0.6));
}

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

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

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  line-height: 1.7;
  font-size: 16px;
  transition: background 0.4s ease, color 0.3s ease;
  overflow-x: hidden;
}

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--btn-bg), var(--hover-bg));
  border-radius: 10px;
  border: 2px solid var(--bg);
}

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

::selection {
  background: var(--btn-bg);
  color: var(--btn-text);
}

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

h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.6rem;
  background: linear-gradient(135deg, #fff 0%, #e0e7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 20px rgba(255,255,255,0.1);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 2rem 0 1rem;
  position: relative;
  padding-bottom: 0.5rem;
  display: inline-block;
}

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

h2#articles, h2#faq, h2#howto, h2#contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

h3 {
  font-size: 1.35rem;
  margin: 1.2rem 0 0.6rem;
}

h4 {
  font-size: 1.15rem;
  margin: 1rem 0 0.4rem;
  font-weight: 600;
}

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

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

a:hover {
  color: var(--hover-bg);
  text-decoration: none;
  opacity: 0.85;
}

ul, ol {
  color: var(--text-primary);
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

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

strong {
  color: var(--text-title);
  font-weight: 700;
}

img {
  max-width: 100%;
  height: auto;
}

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

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

section {
  margin-bottom: 3rem;
  scroll-margin-top: 80px;
}

/* ---------- 导航栏 ---------- */
.navbar {
  background: var(--bg-glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.4s ease;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  background: var(--bg-card);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.3s;
}

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

.nav-links a:hover {
  color: var(--btn-bg);
}

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

.dark-toggle, .menu-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 6px 16px;
  border-radius: 30px;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow-sm);
}

.dark-toggle:hover, .menu-toggle:hover {
  background: var(--btn-bg);
  color: var(--btn-text);
  border-color: var(--btn-bg);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.menu-toggle {
  display: none;
}

/* 搜索框 */
.search-box {
  display: flex;
  gap: 6px;
  align-items: center;
}

.search-box input {
  padding: 8px 16px;
  border-radius: 30px;
  border: 1px solid var(--border-color);
  background: var(--bg);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: all 0.3s;
  width: 180px;
}

.search-box input:focus {
  outline: none;
  border-color: var(--btn-bg);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
  width: 220px;
}

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

.search-box button {
  background: var(--btn-bg);
  color: var(--btn-text);
  border: none;
  border-radius: 30px;
  padding: 8px 18px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.search-box button:hover {
  background: var(--hover-bg);
  transform: scale(1.05);
}

/* ---------- 渐变 Banner ---------- */
.banner {
  background: var(--gradient-banner);
  border-radius: 0 0 40px 40px;
  padding: 4rem 20px 3rem;
  color: white;
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.banner::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -20%;
  width: 70%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  transform: rotate(30deg);
  animation: bannerShine 8s ease-in-out infinite;
}

@keyframes bannerShine {
  0%, 100% { transform: rotate(30deg) translateX(0); }
  50% { transform: rotate(30deg) translateX(10%); }
}

.banner::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
}

.banner h1, .banner p {
  color: #FFFFFF;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  position: relative;
  z-index: 2;
}

.banner p {
  font-size: 1.2rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.banner .btn-light {
  background: rgba(255, 255, 255, 0.95);
  color: #1E3A8A;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  backdrop-filter: blur(4px);
}

.banner .btn-light:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
  background: #FFFFFF;
}

/* 装饰粒子 */
.banner .particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.banner .particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  animation: float 6s ease-in-out infinite;
}

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

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

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

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.3);
}

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

.card h3 {
  margin-top: 0;
  font-size: 1.3rem;
  position: relative;
  display: inline-block;
}

.card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

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

.card a {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.3s ease;
}

.card a:hover {
  gap: 8px;
}

/* 卡片图标 */
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

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

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

th {
  background: rgba(37, 99, 235, 0.08);
  color: var(--text-title);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.9rem;
  text-transform: uppercase;
}

td {
  color: var(--text-primary);
  font-size: 0.95rem;
}

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

tr:hover td {
  background: rgba(37, 99, 235, 0.03);
}

/* ---------- FAQ 样式 ---------- */
#faqContainer {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.faq-item {
  background: var(--bg-card);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.5rem;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-sm);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.3);
}

.faq-question {
  font-weight: 600;
  cursor: pointer;
  color: var(--text-title);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  user-select: none;
  gap: 1rem;
}

.faq-question span {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--gradient-main);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.4s ease;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

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

.faq-answer {
  margin-top: 1rem;
  color: var(--text-primary);
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  line-height: 1.8;
  font-size: 0.95rem;
  animation: fadeInUp 0.4s ease;
}

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

/* ---------- HowTo 样式 ---------- */
.howto-container {
  background: var(--bg-card);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.howto-container::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.howto-container ol {
  counter-reset: howto;
  list-style: none;
  padding: 0;
}

.howto-container ol li {
  counter-increment: howto;
  padding: 1rem 1rem 1rem 4rem;
  position: relative;
  background: var(--bg);
  border-radius: var(--radius-sm);
  margin-bottom: 0.8rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.howto-container ol li:hover {
  transform: translateX(8px);
  border-color: var(--btn-bg);
  box-shadow: var(--shadow-sm);
}

.howto-container ol li::before {
  content: counter(howto);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.2rem;
  height: 2.2rem;
  background: var(--gradient-main);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

/* ---------- 页脚 ---------- */
footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  margin-top: 4rem;
  padding: 3rem 20px 2rem;
  position: relative;
  overflow: hidden;
}

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

footer a {
  color: #93C5FD;
  transition: color 0.3s;
}

footer a:hover {
  color: #FFFFFF;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-grid h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

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

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

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

.footer-grid ul li {
  padding: 0.3rem 0;
  cursor: pointer;
  transition: all 0.3s;
}

.footer-grid ul li:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

/* ---------- 按钮 ---------- */
.btn-primary {
  background: var(--btn-bg);
  color: var(--btn-text);
  border: none;
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: var(--hover-bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
  color: white;
}

/* ---------- 返回顶部 ---------- */
#backTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--gradient-main);
  color: white;
  border: none;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  z-index: 999;
  display: none;
  opacity: 0;
  transform: translateY(20px);
}

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

#backTop:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.5);
}

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

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

/* 延迟类 */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ---------- 工具类 ---------- */
.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; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.highlight {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(37, 99, 235, 0.1));
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
}

/* 标签 */
.tag {
  display: inline-block;
  background: var(--gradient-main);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.tag-outline {
  background: transparent;
  color: var(--btn-bg);
  border: 1px solid var(--btn-bg);
}

/* 分隔线 */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-color), transparent);
  margin: 2rem 0;
  border: none;
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  padding: 1rem 0;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-link);
}

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

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

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

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .navbar {
    padding: 0.5rem 0;
  }

  .nav-inner {
    padding: 0.6rem 16px;
  }

  .logo {
    font-size: 1.25rem;
  }

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

  .nav-links.active {
    display: flex;
    animation: slideDown 0.4s ease;
  }

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

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

  .nav-links a:hover {
    background: rgba(37, 99, 235, 0.1);
  }

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

  .menu-toggle {
    display: block;
  }

  .search-box {
    display: none;
  }

  .banner {
    padding: 2.5rem 16px;
    border-radius: 0 0 24px 24px;
  }

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

  .banner p {
    font-size: 1rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
  }

  .card {
    padding: 1.4rem;
  }

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

  h3 {
    font-size: 1.2rem;
  }

  .faq-item {
    padding: 1rem 1.2rem;
  }

  .faq-question {
    font-size: 0.95rem;
  }

  footer {
    padding: 2rem 16px;
  }

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

  #backTop {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }

  table {
    font-size: 0.85rem;
  }

  th, td {
    padding: 10px 12px;
  }

  .howto-container {
    padding: 1.5rem;
  }

  .howto-container ol li {
    padding: 1rem 1rem 1rem 3.5rem;
  }

  .howto-container ol li::before {
    width: 1.8rem;
    height: 1.8rem;
    font-size: 0.9rem;
    left: 0.8rem;
  }
}

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

  .logo {
    font-size: 1.1rem;
  }

  .dark-toggle {
    font-size: 0.8rem;
    padding: 4px 12px;
  }

  .banner {
    padding: 2rem 12px;
  }

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

  .banner p {
    font-size: 0.9rem;
  }

  .banner .btn-light {
    padding: 10px 24px;
    font-size: 0.9rem;
  }

  .card {
    padding: 1.2rem;
  }

  .card-grid {
    gap: 0.8rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  h2#articles, h2#faq, h2#howto, h2#contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .faq-question {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .faq-question span {
    width: 28px;
    height: 28px;
    min-width: 28px;
    font-size: 1rem;
  }
}

/* ---------- 暗色模式微调 ---------- */
[data-theme="dark"] .card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .banner {
  background: linear-gradient(120deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
}

[data-theme="dark"] .navbar {
  border-bottom-color: rgba(100, 116, 139, 0.3);
}

[data-theme="dark"] .search-box input {
  background: var(--bg);
  color: var(--text-primary);
}

[data-theme="dark"] .howto-container ol li {
  background: var(--bg);
}

/* ---------- 打印样式 ---------- */
@media print {
  .navbar, footer, #backTop, .banner .btn-light, .search-box, .dark-toggle, .menu-toggle {
    display: none !important;
  }

  .container {
    max-width: 100%;
  }

  body {
    background: white;
    color: black;
  }

  .card, .faq-item, .howto-container {
    break-inside: avoid;
    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;
  }
}

/* ---------- 焦点可见性 ---------- */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--btn-bg);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- 结构化数据隐藏 ---------- */
.schema-json {
  display: none;
}

/* ---------- 动画定义 ---------- */
@keyframes float {
  0%, 100% {
    transform: translateY(0px) translateX(0px);
  }
  50% {
    transform: translateY(-20px) translateX(10px);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* 渐变文字动画 */
.gradient-text {
  background: linear-gradient(90deg, var(--btn-bg), var(--hover-bg), var(--btn-bg));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

/* 加载动画 */
.loading {
  width: 40px;
  height: 40px;
  border: 4px solid var(--border-color);
  border-top-color: var(--btn-bg);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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