```css
/* ============================================
   木瓜影院 - 完整样式表
   风格：紫罗兰幻境 · 毛玻璃 · 暗色模式
   ============================================ */

/* ---------- 滚动条美化 ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #f5f3ff; }
::-webkit-scrollbar-thumb { background: linear-gradient(135deg, #c084fc, #a855f7); border-radius: 20px; border: 2px solid #f5f3ff; }
::-webkit-scrollbar-thumb:hover { background: #7c3aed; }

/* ---------- 基础重置与全局变量 ---------- */
:root {
  --primary: #7c3aed;
  --primary-light: #a855f7;
  --primary-dark: #5b21b6;
  --primary-soft: #f3e8ff;
  --bg: #f5f3ff;
  --bg-card: #ffffff;
  --text: #2d2a3e;
  --text-muted: #6b7280;
  --border: #ede9fe;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 25px rgba(124, 58, 237, 0.15);
  --radius: 16px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

/* 暗色模式变量 */
[data-theme="dark"] {
  --bg: #1e1b2e;
  --bg-card: #2d2a3e;
  --text: #e9e4f5;
  --text-muted: #a78bfa;
  --border: #4c3d6e;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 8px 25px rgba(124, 58, 237, 0.4);
  --primary-soft: #3b2b5e;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  transition: background 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.section, .hero, .sidebar, footer {
  animation: fadeInUp 0.8s ease both;
}

/* ---------- 暗色模式切换按钮 ---------- */
.theme-toggle {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.85rem;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

/* ---------- 头部导航 ---------- */
header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(124, 58, 237, 0.3);
  backdrop-filter: blur(20px);
  background: rgba(124, 58, 237, 0.85);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo h1 {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  background: linear-gradient(90deg, #fff, #f3e8ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: var(--transition);
}

.logo h1:hover {
  transform: scale(1.05);
}

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

.nav-links a {
  color: #ede9fe;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  padding: 0.3rem 0.6rem;
  border-radius: 20px;
  font-size: 0.95rem;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #fff;
  transition: var(--transition);
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

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

/* ---------- 英雄区（Banner） ---------- */
.hero {
  background: linear-gradient(135deg, #f0e6ff, #e9d5ff, #d8b4fe);
  padding: 4rem 0;
  text-align: center;
  border-bottom: 3px solid #c084fc;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(5%, 5%) scale(1.1); }
}

.hero h2 {
  font-size: 2.4rem;
  color: var(--primary-dark);
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.hero p {
  color: var(--primary);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ---------- 通用区块 ---------- */
.section {
  padding: 3.5rem 0;
}

.section-title {
  font-size: 1.8rem;
  color: var(--primary-dark);
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  font-weight: 700;
  letter-spacing: 1px;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  margin: 0.5rem auto;
  border-radius: 2px;
  animation: titleLine 2s ease-in-out infinite;
}

@keyframes titleLine {
  0%, 100% { width: 60px; }
  50% { width: 100px; }
}

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

.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
  position: relative;
  backdrop-filter: blur(10px);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

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

.card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.3s ease;
}

.card:hover img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

.card-body {
  padding: 1rem;
}

.card-body h3 {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 0.4rem;
  transition: color 0.3s ease;
}

.card-body h3:hover {
  color: var(--primary);
}

.card-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.badge {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary);
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.75rem;
  margin: 0.2rem 0.2rem 0.2rem 0;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.badge:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.05);
}

/* ---------- 推荐卡片 ---------- */
.recommend-card {
  display: flex;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
  flex-wrap: wrap;
  transition: var(--transition);
  position: relative;
}

.recommend-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-hover);
}

.recommend-card img {
  width: 280px;
  height: 200px;
  object-fit: cover;
  flex-shrink: 0;
  transition: transform 0.5s ease;
}

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

.recommend-body {
  padding: 1.5rem;
  flex: 1;
  min-width: 250px;
}

.recommend-body h3 {
  color: var(--primary-dark);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.recommend-body h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
}

/* ---------- 详情区块 ---------- */
.detail-section {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
}

.detail-section h3 {
  color: var(--primary-dark);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--primary-light);
  padding-left: 1rem;
  transition: var(--transition);
}

.detail-section h3:hover {
  border-left-color: var(--primary);
  padding-left: 1.5rem;
}

.detail-section p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ---------- 角色卡片 ---------- */
.character-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
}

.character-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  text-align: center;
  padding: 1.5rem 1rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.character-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(135deg, transparent 50%, rgba(124, 58, 237, 0.05));
  pointer-events: none;
}

.character-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.character-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid var(--primary-light);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.character-card:hover img {
  transform: scale(1.1) rotate(5deg);
  border-color: var(--primary);
}

.character-card h4 {
  color: var(--primary-dark);
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
}

.character-card .role {
  color: var(--primary-light);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.character-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- 平台介绍 ---------- */
.platform-section {
  background: linear-gradient(135deg, var(--bg), var(--primary-soft));
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin: 2rem 0;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.platform-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.2), transparent 70%);
  border-radius: 50%;
}

.platform-section p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.platform-section h3 {
  color: var(--primary-dark);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
}

.platform-item {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.platform-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.platform-item h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.platform-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- 下载区块 ---------- */
.download-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  color: #fff;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.3);
}

.download-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  animation: downloadGlow 6s ease-in-out infinite;
}

@keyframes downloadGlow {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(10%, 10%) rotate(10deg); }
}

.download-section h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.download-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn {
  background: #fff;
  color: var(--primary);
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

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

.btn:hover {
  background: var(--primary-soft);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

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

/* ---------- 用户评论 ---------- */
.comments {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.comment {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.comment:last-child {
  border-bottom: none;
}

.comment:hover {
  background: rgba(124, 58, 237, 0.03);
  padding-left: 0.5rem;
}

.avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3);
  transition: var(--transition);
}

.comment:hover .avatar {
  transform: scale(1.1) rotate(10deg);
}

.comment-body {
  flex: 1;
}

.comment-body .name {
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 0.95rem;
}

.comment-body .time {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 0.8rem;
  opacity: 0.8;
}

.comment-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  line-height: 1.6;
}

/* ---------- 侧边栏 ---------- */
.sidebar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.side-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.side-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.side-card h3 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
  font-size: 1.2rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.5rem;
  position: relative;
}

.side-card h3::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.side-card ol {
  padding-left: 1.2rem;
}

.side-card li {
  padding: 0.4rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-bottom: 1px dashed var(--border);
  transition: var(--transition);
}

.side-card li:hover {
  color: var(--primary);
  padding-left: 0.5rem;
}

/* ---------- 统计 ---------- */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.stat-box {
  flex: 1;
  min-width: 120px;
  background: linear-gradient(135deg, var(--primary-soft), var(--bg));
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.stat-box:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow);
}

.stat-box .num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-box .label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- 页脚 ---------- */
footer {
  background: linear-gradient(135deg, #2d2a3e, #1e1b2e);
  color: var(--primary-light);
  padding: 2.5rem 0;
  margin-top: 3rem;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary));
}

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

.footer-links a {
  color: var(--primary-light);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
}

.footer-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.copyright {
  text-align: center;
  font-size: 0.85rem;
  color: #8b7bb8;
  line-height: 2;
  opacity: 0.8;
}

/* ---------- 响应式设计 ---------- */
@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
  
  .recommend-card img {
    width: 220px;
    height: 180px;
  }
}

@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    text-align: center;
  }
  
  .nav-links {
    justify-content: center;
    gap: 0.8rem;
  }
  
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
  }
  
  .card img {
    height: 180px;
  }
  
  .recommend-card {
    flex-direction: column;
  }
  
  .recommend-card img {
    width: 100%;
    height: auto;
    max-height: 300px;
  }
  
  .sidebar {
    grid-template-columns: 1fr;
  }
  
  .hero h2 {
    font-size: 1.6rem;
  }
  
  .section-title {
    font-size: 1.4rem;
  }
  
  .download-section {
    padding: 2rem;
  }
  
  .btns {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  
  .platform-section {
    padding: 1.5rem;
  }
  
  .detail-section {
    padding: 1.5rem;
  }
  
  .character-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  
  .comment {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .avatar {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .stats {
    flex-direction: column;
  }
  
  .stat-box {
    min-width: 100%;
  }
}

@media (max-width: 480px) {
  .grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }
  
  .card-body h3 {
    font-size: 0.95rem;
  }
  
  .card-body p {
    font-size: 0.75rem;
  }
  
  .badge {
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
  }
  
  .hero {
    padding: 2.5rem 0;
  }
  
  .hero h2 {
    font-size: 1.3rem;
  }
  
  .hero p {
    font-size: 0.9rem;
  }
  
  .logo h1 {
    font-size: 1.5rem;
  }
  
  .nav-links a {
    font-size: 0.8rem;
    padding: 0.2rem 0.4rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .section-title {
    font-size: 1.2rem;
  }
  
  .download-section h3 {
    font-size: 1.5rem;
  }
  
  .download-section p {
    font-size: 0.95rem;
  }
  
  .footer-links {
    gap: 0.8rem;
  }
  
  .footer-links a {
    font-size: 0.8rem;
  }
}

/* ---------- 暗色模式适配 ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1e1b2e;
    --bg-card: #2d2a3e;
    --text: #e9e4f5;
    --text-muted: #a78bfa;
    --border: #4c3d6e;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 25px rgba(124, 58, 237, 0.4);
    --primary-soft: #3b2b5e;
  }
  
  .hero {
    background: linear-gradient(135deg, #2d2a3e, #3b2b5e);
  }
  
  .hero h2 {
    color: #e9e4f5;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  }
  
  .hero p {
    color: #c4b5fd;
  }
  
  .card, .recommend-card, .detail-section, .character-card, 
  .platform-item, .comments, .side-card {
    background: var(--bg-card);
    border-color: var(--border);
  }
  
  .card img, .recommend-card img {
    filter: brightness(0.9);
  }
  
  .card:hover img, .recommend-card:hover img {
    filter: brightness(1);
  }
  
  .platform-section {
    background: linear-gradient(135deg, #2d2a3e, #3b2b5e);
  }
  
  .stat-box {
    background: linear-gradient(135deg, #3b2b5e, #2d2a3e);
  }
  
  footer {
    background: linear-gradient(135deg, #1a1625, #2d2a3e);
  }
  
  .comment:hover {
    background: rgba(124, 58, 237, 0.1);
  }
  
  .btn {
    background: var(--primary);
    color: #fff;
  }
  
  .btn:hover {
    background: var(--primary-light);
  }
}

/* ---------- 打印样式 ---------- */
@media print {
  header, .hero, .download-section, footer {
    display: none;
  }
  
  body {
    background: #fff;
    color: #000;
  }
  
  .card, .recommend-card, .detail-section, .character-card, .comments, .side-card {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* ---------- 无障碍与焦点样式 ---------- */
:focus {
  outline: 3px solid var(--primary-light);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--primary-light);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- 减少动画偏好 ---------- */
@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;
  }
}
```