```css
/* ============================================
   51漫画 - 完整样式表
   风格：现代漫画平台 · 渐变Banner · 毛玻璃效果
   ============================================ */

/* ---------- 全局变量与基础 ---------- */
:root {
  --bg: #f8fafc;
  --bg-soft: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.72);
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-tertiary: #64748b;
  --text-heading: #0f172a;
  --text-link: #0e7490;
  --border-light: #e2e8f0;
  --card-bg: rgba(255, 255, 255, 0.85);
  --nav-bg: rgba(255, 255, 255, 0.82);
  --footer-bg: #0f172a;
  --footer-text: #cbd5e1;
  --btn-primary-bg: linear-gradient(135deg, #0891b2, #06b6d4);
  --btn-primary-text: #ffffff;
  --tag-bg: #f0f9ff;
  --tag-text: #0369a1;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
  --radius: 20px;
  --radius-sm: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glass-border: rgba(255, 255, 255, 0.6);
  --gradient-hero: linear-gradient(120deg, #e0f2fe 0%, #f0f9ff 50%, #fdf4ff 100%);
  --gradient-card: linear-gradient(145deg, #ffffff, #f8fafc);
}

/* 暗色模式变量 */
body.dark {
  --bg: #0b1220;
  --bg-soft: #151e2f;
  --bg-glass: rgba(15, 23, 42, 0.75);
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-tertiary: #7c8ba1;
  --text-heading: #f1f5f9;
  --text-link: #38bdf8;
  --border-light: #1e293b;
  --card-bg: rgba(30, 41, 59, 0.8);
  --nav-bg: rgba(15, 23, 42, 0.82);
  --footer-bg: #020617;
  --footer-text: #94a3b8;
  --btn-primary-bg: linear-gradient(135deg, #0284c7, #38bdf8);
  --tag-bg: #1e293b;
  --tag-text: #7dd3fc;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
  --glass-border: rgba(255, 255, 255, 0.08);
  --gradient-hero: linear-gradient(120deg, #0f172a 0%, #1e293b 50%, #111827 100%);
  --gradient-card: linear-gradient(145deg, #1e293b, #0f172a);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  transition: background 0.4s ease, color 0.3s ease;
  overflow-x: hidden;
}

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

a:hover {
  color: #0891b2;
  text-decoration: none;
}

h1, h2, h3, h4, h5 {
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.dark h1 {
  background: linear-gradient(135deg, #e2e8f0, #7dd3fc);
  -webkit-background-clip: text;
  background-clip: text;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #06b6d4, #8b5cf6);
  border-radius: 4px;
}

h3 {
  font-size: 1.4rem;
  color: var(--text-heading);
}

h4 {
  font-size: 1.1rem;
  color: var(--text-heading);
}

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

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

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

.section {
  padding: 4rem 0;
}

/* ---------- 导航栏 ---------- */
.navbar {
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 24px;
  max-width: 1280px;
  margin: 0 auto;
  gap: 1rem;
}

.logo {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #0891b2, #0e7490, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  white-space: nowrap;
}

.logo::after {
  content: '追更党每日打卡站';
  display: block;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-top: -4px;
  background: none;
  -webkit-text-fill-color: var(--text-tertiary);
}

body.dark .logo::after {
  color: var(--text-tertiary);
  -webkit-text-fill-color: var(--text-tertiary);
}

.nav-links {
  display: flex;
  gap: 2rem;
  font-weight: 500;
}

.nav-links a {
  color: var(--text-primary);
  font-size: 0.95rem;
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #06b6d4, #8b5cf6);
  transition: width 0.3s ease;
  border-radius: 2px;
}

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

.search-box {
  display: flex;
  align-items: center;
  background: var(--bg-soft);
  border-radius: 40px;
  padding: 0.2rem 0.3rem 0.2rem 1rem;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.search-box:focus-within {
  border-color: #06b6d4;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.search-box input {
  border: none;
  background: transparent;
  padding: 0.45rem 0.3rem;
  font-size: 0.9rem;
  color: var(--text-primary);
  outline: none;
  width: 140px;
  transition: width 0.3s ease;
}

.search-box input:focus {
  width: 170px;
}

.search-box button {
  background: var(--btn-primary-bg);
  border: none;
  color: white;
  padding: 0.45rem 1.1rem;
  border-radius: 40px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.search-box button:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.theme-toggle {
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: 40px;
  padding: 0.4rem 1rem;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.theme-toggle:hover {
  background: var(--tag-bg);
  transform: rotate(15deg);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  transition: background 0.2s ease;
}

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

/* 移动端导航菜单 */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.5rem 1.5rem 1rem;
  border-top: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mobile-nav a {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.2s ease;
}

.mobile-nav a:hover {
  color: #06b6d4;
  padding-left: 0.5rem;
}

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

@media (max-width: 900px) {
  .nav-links, .search-box { display: none; }
  .mobile-menu-btn { display: block; }
  .mobile-nav { display: flex; }
}

/* ---------- Hero Banner ---------- */
.hero {
  background: var(--gradient-hero);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
  pointer-events: none;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1 1 400px;
}

.hero-text > p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-md);
}

.stat-item {
  text-align: center;
}

.stat-item .number {
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0891b2, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

body.dark .stat-item .number {
  background: linear-gradient(135deg, #38bdf8, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
}

.stat-item .label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  padding: 0.7rem 2rem;
  border-radius: 60px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.2);
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.35);
  color: #fff;
}

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

.btn-outline:hover {
  background: var(--text-link);
  color: #fff;
  transform: translateY(-3px);
}

body.dark .btn-outline {
  border-color: #38bdf8;
  color: #38bdf8;
}

body.dark .btn-outline:hover {
  background: #38bdf8;
  color: #0f172a;
}

/* ---------- 卡片网格 ---------- */
.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: 1.8rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1200px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

/* ---------- 毛玻璃卡片 ---------- */
.card {
  background: var(--card-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  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: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.5), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(6, 182, 212, 0.3);
}

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

.card h3, .card h4 {
  margin-bottom: 0.5rem;
}

/* ---------- 徽章 ---------- */
.badge {
  background: var(--tag-bg);
  color: var(--tag-text);
  padding: 0.25rem 1rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(6, 182, 212, 0.2);
  letter-spacing: 0.02em;
}

/* ---------- SVG占位符 ---------- */
.svg-placeholder {
  background: linear-gradient(145deg, var(--bg-soft), var(--bg));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  margin-bottom: 1.2rem;
  overflow: hidden;
  transition: transform 0.4s ease;
}

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

.svg-placeholder svg {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ---------- FAQ样式 ---------- */
details {
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.5rem;
  margin-bottom: 0.8rem;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

details:hover {
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: var(--shadow-sm);
}

details[open] {
  background: var(--card-bg);
  border-color: rgba(6, 182, 212, 0.4);
}

summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-heading);
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

summary::-webkit-details-marker {
  display: none;
}

summary::before {
  content: '▸';
  display: inline-block;
  transition: transform 0.3s ease;
  color: #06b6d4;
  font-size: 1.2rem;
}

details[open] summary::before {
  transform: rotate(90deg);
}

details p {
  margin-top: 0.8rem;
  padding-left: 1.5rem;
  color: var(--text-secondary);
  border-left: 2px solid rgba(6, 182, 212, 0.3);
}

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

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

th {
  background: var(--bg-soft);
  color: var(--text-heading);
  font-weight: 600;
}

tr:hover td {
  background: var(--bg-soft);
}

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

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

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ---------- 返回顶部 ---------- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--btn-primary-bg);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.4rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.back-to-top.show {
  display: flex;
  animation: fadeInUp 0.3s ease;
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: var(--shadow-lg);
}

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

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

.reveal.active {
  opacity: 1;
  transform: none;
}

/* 为卡片添加交错动画 */
.grid-3 .card:nth-child(2), .grid-4 .card:nth-child(2) {
  transition-delay: 0.1s;
}

.grid-3 .card:nth-child(3), .grid-4 .card:nth-child(3) {
  transition-delay: 0.2s;
}

.grid-3 .card:nth-child(4), .grid-4 .card:nth-child(4) {
  transition-delay: 0.3s;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 4rem 0 1.5rem;
  margin-top: 4rem;
  position: relative;
  transition: background 0.3s ease;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #06b6d4, #8b5cf6, #f43f5e);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.footer-grid h4 {
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.6rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-grid a {
  color: var(--footer-text);
  display: block;
  margin: 0.4rem 0;
  transition: color 0.2s ease, padding-left 0.2s ease;
  font-size: 0.95rem;
}

.footer-grid a:hover {
  color: #38bdf8;
  padding-left: 0.5rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  color: var(--footer-text);
  font-size: 0.9rem;
}

.footer-bottom p {
  color: var(--footer-text);
  margin-bottom: 0.3rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 联系区域 ---------- */
#contact .card {
  background: var(--gradient-card);
}

/* ---------- 文章卡片增强 ---------- */
#articles .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#articles .card p:last-of-type {
  flex-grow: 1;
}

#articles .card a {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--text-link);
}

#articles .card a:hover {
  color: #0891b2;
  text-decoration: underline;
}

/* ---------- HowTo 样式 ---------- */
#howto .container > div {
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
}

#howto ul, #howto ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  padding-left: 0.5rem;
}

#howto li {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

#howto h4 {
  margin-top: 1.5rem;
  color: var(--text-link);
}

/* ---------- 品牌故事区域 ---------- */
#about .container > div {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

#about .container > div > div {
  flex: 1 1 300px;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#about .container > div > div:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* ---------- 响应式调整 ---------- */
@media (max-width: 768px) {
  .hero {
    padding: 2.5rem 0;
  }
  
  .hero-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .hero-stats {
    justify-content: center;
    width: 100%;
    padding: 1rem;
    gap: 1.5rem;
  }
  
  .hero-text .btn-group {
    justify-content: center;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .stat-item .number {
    font-size: 1.8rem;
  }
  
  .breadcrumb {
    font-size: 0.8rem;
    padding: 0.8rem 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .card {
    padding: 1.2rem;
  }
  
  details {
    padding: 1rem 1.2rem;
  }
}

/* ---------- 辅助工具类 ---------- */
.btn-group {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.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: 2.5rem; }

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

/* 暗色模式下的细节优化 */
body.dark .logo {
  background: linear-gradient(135deg, #7dd3fc, #38bdf8, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
}

body.dark .navbar {
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

body.dark details p {
  border-left-color: rgba(56, 189, 248, 0.3);
}

body.dark .footer-grid a:hover {
  color: #7dd3fc;
}

/* 动画效果 */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

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

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

/* 打印样式 */
@media print {
  .navbar, .back-to-top, .theme-toggle, .mobile-menu-btn, .search-box, .btn-group, .site-footer {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .card, .hero, #howto .container > div {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #06b6d4, #8b5cf6);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #0891b2, #7c3aed);
}

/* 焦点可见性 */
:focus-visible {
  outline: 2px solid #06b6d4;
  outline-offset: 2px;
  border-radius: 4px;
}

/* 选择文本样式 */
::selection {
  background: rgba(6, 182, 212, 0.2);
  color: var(--text-heading);
}
```