```css
/* ===== 日漫韩漫大全 · 完整样式表 ===== */
/* 风格：现代日系 + 韩系清新活力 · 毛玻璃 · 渐变 · 响应式 */

/* ---------- 变量定义 ---------- */
:root {
  --bg: #f8f5f0;
  --bg-dark: #12121f;
  --card: #ffffff;
  --card-dark: #1e1e2e;
  --ink: #1a1a2e;
  --ink-dark: #f0f0f0;
  --brand: #e94560;
  --brand2: #533483;
  --accent: #ff6b6b;
  --accent2: #4ecdc4;
  --gradient-main: linear-gradient(135deg, #e94560, #533483);
  --gradient-banner: linear-gradient(145deg, #1b1b3a, #2d1e4e);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(255,255,255,0.6));
  --gradient-card-dark: linear-gradient(145deg, rgba(30,30,46,0.9), rgba(30,30,46,0.6));
  --radius-lg: 40px;
  --radius-md: 24px;
  --radius-sm: 16px;
  --shadow-sm: 0 4px 20px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 30px rgba(233,69,96,0.2);
  --blur: blur(16px);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans SC', sans-serif;
}

/* ---------- 暗色模式变量覆盖 ---------- */
body.dark-mode {
  --bg: #12121f;
  --card: #1e1e2e;
  --ink: #f0f0f0;
  --card: #1e1e2e;
  --ink-dark: #12121f;
}

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

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

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
  background-image: 
    radial-gradient(at 20% 20%, rgba(233,69,96,0.03) 0%, transparent 50%),
    radial-gradient(at 80% 80%, rgba(83,52,131,0.03) 0%, transparent 50%);
}

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

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

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  border-radius: 20px;
  border: 2px solid var(--bg);
}

::selection {
  background: var(--brand);
  color: white;
}

/* ---------- 吸顶导航 ---------- */
.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
}

body.dark-mode .sticky-nav {
  background: rgba(18, 18, 31, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.logo::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-main);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.logo:hover::after {
  transform: scaleX(1);
}

.nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 16px;
  border-radius: 50px;
  transition: var(--transition);
  position: relative;
  font-size: 0.95rem;
  background: transparent;
}

.nav-links a:hover {
  background: var(--gradient-main);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(233, 69, 96, 0.3);
}

.nav-links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width 0.3s ease;
}

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

.search-box {
  position: relative;
}

.search-box input {
  border: 2px solid transparent;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 40px;
  padding: 10px 20px;
  width: 220px;
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
  color: var(--ink);
}

body.dark-mode .search-box input {
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink-dark);
}

.search-box input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 20px rgba(233, 69, 96, 0.2);
  width: 260px;
}

.search-box input::placeholder {
  color: var(--ink);
  opacity: 0.5;
}

/* 移动菜单按钮 */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

body.dark-mode .menu-toggle {
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle:hover {
  background: rgba(233, 69, 96, 0.1);
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 3px;
  border-radius: 4px;
  transition: var(--transition);
}

body.dark-mode .menu-toggle span {
  background: var(--ink-dark);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- 面包屑 ---------- */
nav[style*="padding: 20px 0 0"] {
  padding: 20px 0 0 !important;
  font-size: 0.9rem !important;
  color: var(--ink);
  opacity: 0.8;
}

nav[style*="padding: 20px 0 0"] a {
  color: var(--brand);
  text-decoration: none;
  transition: var(--transition);
}

nav[style*="padding: 20px 0 0"] a:hover {
  opacity: 0.7;
}

/* ---------- Banner轮播 ---------- */
.banner {
  background: var(--gradient-banner);
  color: white;
  padding: 50px 40px;
  border-radius: var(--radius-lg);
  margin: 30px 0;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(27, 27, 58, 0.3);
}

.banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(233, 69, 96, 0.2) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

.banner::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(83, 52, 131, 0.3) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.1); }
}

.banner-item {
  max-width: 500px;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.banner-item:first-child {
  animation: fadeInUp 1s ease;
}

.banner-item img {
  border-radius: 24px;
  max-width: 100%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.banner-item img:hover {
  transform: scale(1.02) rotate(1deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.banner h1 {
  font-size: 2.4rem;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #fff, #ffd6e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
}

.banner p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 20px;
  line-height: 1.8;
}

.banner-btn {
  background: var(--gradient-main);
  border: none;
  padding: 14px 32px;
  border-radius: 60px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(233, 69, 96, 0.3);
  position: relative;
  overflow: hidden;
}

.banner-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.banner-btn:hover::before {
  left: 100%;
}

.banner-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(233, 69, 96, 0.4);
}

.banner-btn:active {
  transform: translateY(0) scale(0.98);
}

/* ---------- 区块标题 ---------- */
section h2 {
  font-size: 2rem;
  border-left: 6px solid var(--brand);
  padding-left: 16px;
  margin: 40px 0 20px;
  position: relative;
  background: linear-gradient(135deg, var(--ink), var(--brand));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* ---------- 品牌介绍 ---------- */
#brand > div {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

body.dark-mode #brand > div {
  background: var(--card-dark);
  border-color: rgba(255, 255, 255, 0.05);
}

#brand > div:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

#brand p {
  margin-bottom: 15px;
  line-height: 1.9;
}

#brand strong {
  color: var(--brand);
}

#brand > div > div:last-child {
  background: linear-gradient(145deg, rgba(83, 52, 131, 0.05), rgba(233, 69, 96, 0.05));
  border: 1px solid rgba(233, 69, 96, 0.1);
}

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

.card {
  background: var(--gradient-card);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

body.dark-mode .card {
  background: var(--gradient-card-dark);
  border-color: rgba(255, 255, 255, 0.05);
}

.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::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(233, 69, 96, 0.2);
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--ink);
  transition: var(--transition);
}

.card:hover h3 {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card p {
  margin-bottom: 12px;
  color: var(--ink);
  opacity: 0.8;
  font-size: 0.95rem;
  line-height: 1.8;
}

.card a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

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

.tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(233, 69, 96, 0.1), rgba(83, 52, 131, 0.1));
  padding: 4px 14px;
  border-radius: 40px;
  font-size: 0.8rem;
  margin: 4px 4px 0 0;
  color: var(--brand);
  font-weight: 500;
  border: 1px solid rgba(233, 69, 96, 0.2);
  transition: var(--transition);
}

.tag:hover {
  background: var(--gradient-main);
  color: white;
  border-color: transparent;
  transform: scale(1.05);
}

/* ---------- 用户评价 ---------- */
blockquote {
  background: var(--card);
  padding: 24px;
  border-radius: var(--radius-md);
  flex: 1;
  min-width: 250px;
  border-left: 4px solid var(--brand);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

body.dark-mode blockquote {
  background: var(--card-dark);
}

blockquote::before {
  content: '"';
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 4rem;
  color: var(--brand);
  opacity: 0.1;
  font-family: Georgia, serif;
}

blockquote:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

/* ---------- 文章卡片增强 ---------- */
article.card {
  display: flex;
  flex-direction: column;
}

article.card p:first-of-type {
  color: var(--brand);
  font-size: 0.85rem;
  font-weight: 500;
}

article.card p:nth-of-type(2) {
  flex: 1;
}

/* ---------- FAQ ---------- */
details {
  background: var(--card);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin: 10px 0;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

body.dark-mode details {
  background: var(--card-dark);
  border-color: rgba(255, 255, 255, 0.05);
}

details::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-main);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
}

details:hover::before,
details[open]::before {
  transform: scaleY(1);
}

details:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(233, 69, 96, 0.2);
}

summary {
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
}

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

summary::before {
  content: '▸';
  color: var(--brand);
  transition: transform 0.3s ease;
}

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

summary:hover {
  color: var(--brand);
}

details p {
  padding: 12px 0 4px;
  color: var(--ink);
  opacity: 0.8;
  line-height: 1.8;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 10px;
}

body.dark-mode details p {
  border-top-color: rgba(255, 255, 255, 0.05);
}

/* ---------- HowTo 教程 ---------- */
.howto {
  background: linear-gradient(145deg, rgba(83, 52, 131, 0.05), rgba(233, 69, 96, 0.05));
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(83, 52, 131, 0.1);
  transition: var(--transition);
}

.howto:hover {
  box-shadow: var(--shadow-md);
}

.howto ol {
  padding-left: 20px;
  margin: 16px 0;
}

.howto li {
  margin-bottom: 8px;
  line-height: 1.8;
  position: relative;
  transition: var(--transition);
}

.howto li:hover {
  color: var(--brand);
  transform: translateX(4px);
}

.howto p strong {
  color: var(--brand);
}

.howto p {
  margin-bottom: 8px;
  line-height: 1.8;
}

/* ---------- 页脚 ---------- */
.footer {
  background: #12121f;
  color: #bbb;
  padding: 50px 0 30px;
  margin-top: 60px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(233, 69, 96, 0.5), transparent);
}

.footer h4 {
  color: white;
  margin-bottom: 15px;
  font-size: 1.1rem;
  position: relative;
  padding-bottom: 8px;
}

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

.footer a {
  color: #bbb;
  margin-right: 12px;
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
  padding: 4px 0;
}

.footer a:hover {
  color: var(--brand);
  transform: translateX(4px);
}

.footer p {
  line-height: 1.8;
  margin-bottom: 8px;
}

.footer .container > div {
  min-width: 200px;
}

/* ---------- 返回顶部 ---------- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--gradient-main);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: var(--transition);
  z-index: 999;
  border: none;
  font-size: 1.2rem;
  box-shadow: 0 10px 30px rgba(233, 69, 96, 0.3);
}

.scroll-top.show {
  opacity: 1;
}

.scroll-top:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 40px rgba(233, 69, 96, 0.4);
}

.scroll-top:active {
  transform: translateY(0) scale(0.95);
}

/* ---------- 滚动动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* ---------- 暗色模式适配 ---------- */
body.dark-mode {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(at 20% 20%, rgba(233,69,96,0.05) 0%, transparent 50%),
    radial-gradient(at 80% 80%, rgba(83,52,131,0.05) 0%, transparent 50%);
}

body.dark-mode .card,
body.dark-mode blockquote,
body.dark-mode details {
  background: var(--card-dark);
  border-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .card:hover,
body.dark-mode blockquote:hover,
body.dark-mode details:hover {
  border-color: rgba(233, 69, 96, 0.2);
}

body.dark-mode .card h3 {
  color: var(--ink-dark);
}

body.dark-mode .card p {
  color: var(--ink-dark);
  opacity: 0.7;
}

body.dark-mode .howto {
  background: linear-gradient(145deg, rgba(83, 52, 131, 0.1), rgba(233, 69, 96, 0.1));
  border-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .tag {
  background: rgba(233, 69, 96, 0.15);
  border-color: rgba(233, 69, 96, 0.3);
}

/* ---------- 暗黑模式按钮 ---------- */
button[style*="position: fixed"] {
  transition: var(--transition);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

button[style*="position: fixed"]:hover {
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 0 20px rgba(233, 69, 96, 0.3);
}

body.dark-mode button[style*="position: fixed"] {
  background: #f0f0f0 !important;
  color: #1a1a2e !important;
}

/* ---------- 响应式布局 ---------- */
@media (max-width: 1024px) {
  .banner {
    padding: 40px 30px;
    gap: 30px;
  }
  
  .banner h1 {
    font-size: 2rem;
  }
  
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 800px) {
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 20px;
    border-radius: 20px;
    position: absolute;
    top: 70px;
    left: 20px;
    right: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    gap: 8px;
  }
  
  body.dark-mode .nav-links {
    background: rgba(30, 30, 46, 0.95);
    border-color: rgba(255, 255, 255, 0.05);
  }
  
  .nav-links.open {
    display: flex;
    animation: slideDown 0.3s ease;
  }
  
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .nav-links a {
    padding: 12px 16px;
    text-align: center;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.03);
  }
  
  body.dark-mode .nav-links a {
    background: rgba(255, 255, 255, 0.05);
  }
  
  .nav-links a:hover {
    transform: translateX(4px);
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .search-box {
    flex: 1;
    max-width: 200px;
  }
  
  .search-box input {
    width: 100%;
  }
  
  .search-box input:focus {
    width: 100%;
  }
  
  .banner {
    padding: 30px 20px;
    border-radius: 30px;
  }
  
  .banner-item {
    max-width: 100%;
  }
  
  .banner h1 {
    font-size: 1.6rem;
  }
  
  section h2 {
    font-size: 1.5rem;
  }
  
  .grid {
    grid-template-columns: 1fr;
  }
  
  .footer .container {
    flex-direction: column;
    gap: 30px;
  }
  
  .footer .container > div {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .nav-wrapper {
    padding: 12px 0;
    gap: 10px;
  }
  
  .logo {
    font-size: 1.2rem;
  }
  
  .search-box {
    display: none;
  }
  
  .banner {
    padding: 25px 15px;
    border-radius: 24px;
    margin: 20px 0;
  }
  
  .banner h1 {
    font-size: 1.4rem;
  }
  
  .banner p {
    font-size: 0.9rem;
  }
  
  .banner-btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
  
  .card {
    padding: 20px;
    border-radius: var(--radius-sm);
  }
  
  .howto {
    padding: 20px;
  }
  
  .scroll-top {
    width: 40px;
    height: 40px;
    bottom: 20px;
    right: 20px;
    font-size: 1rem;
  }
  
  button[style*="position: fixed"] {
    width: 40px !important;
    height: 40px !important;
    font-size: 1rem !important;
    left: 20px !important;
    bottom: 20px !important;
  }
}

/* ---------- 打印样式 ---------- */
@media print {
  .sticky-nav,
  .scroll-top,
  .banner-btn,
  button[style*="position: fixed"],
  .menu-toggle {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .card,
  blockquote,
  details {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* ---------- 动画关键帧 ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

/* ---------- 加载动画 ---------- */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: shimmer 1.5s infinite;
}

/* ---------- 无障碍访问 ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    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,
summary:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- 暗色模式平滑过渡 ---------- */
body,
body * {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* ---------- 卡片悬浮光效 ---------- */
.card:hover {
  background-position: 100% 100%;
}

.card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

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

/* ---------- Banner 文字阴影优化 ---------- */
.banner-item p {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* ---------- 导航栏滚动状态 ---------- */
.sticky-nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

body.dark-mode .sticky-nav.scrolled {
  background: rgba(18, 18, 31, 0.95);
}

/* ---------- 搜索框图标 ---------- */
.search-box::before {
  content: '🔍';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  opacity: 0.5;
  pointer-events: none;
}

.search-box input {
  padding-left: 35px;
}

/* ---------- 暗色模式下的滚动条 ---------- */
body.dark-mode::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  border-color: var(--bg-dark);
}

/* ---------- 移动端导航动画 ---------- */
@keyframes navItemFade {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.nav-links.open a {
  animation: navItemFade 0.3s ease forwards;
  opacity: 0;
}

.nav-links.open a:nth-child(1) { animation-delay: 0.05s; }
.nav-links.open a:nth-child(2) { animation-delay: 0.1s; }
.nav-links.open a:nth-child(3) { animation-delay: 0.15s; }
.nav-links.open a:nth-child(4) { animation-delay: 0.2s; }
.nav-links.open a:nth-child(5) { animation-delay: 0.25s; }
.nav-links.open a:nth-child(6) { animation-delay: 0.3s; }

/* ---------- FAQ 展开动画 ---------- */
details[open] summary::before {
  transform: rotate(90deg);
}

details[open] {
  animation: faqOpen 0.3s ease;
}

@keyframes faqOpen {
  from {
    opacity: 0.5;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- 页脚链接悬浮下划线 ---------- */
.footer a {
  position: relative;
}

.footer a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--brand);
  transition: width 0.3s ease;
}

.footer a:hover::after {
  width: 100%;
}

/* ---------- 响应式字体调整 ---------- */
@media (max-width: 600px) {
  body {
    font-size: 0.95rem;
  }
  
  h1 {
    font-size: 1.8rem !important;
  }
  
  h2 {
    font-size: 1.3rem !important;
  }
  
  h3 {
    font-size: 1.1rem !important;
  }
}

/* ---------- 高对比度模式 ---------- */
@media (prefers-contrast: high) {
  :root {
    --brand: #e94560;
    --brand2: #533483;
  }
  
  .card {
    border: 2px solid var(--ink);
  }
  
  .tag {
    border: 1px solid var(--brand);
  }
}
```