```css
/* ===== 糖心vlog 官方主题样式 v1.0 ===== */
/* 暗色赛博朋克 · 渐变霓虹 · 毛玻璃质感 */

:root {
  --bg-primary: #0a0a18;
  --bg-secondary: #14142e;
  --bg-card: rgba(26, 26, 53, 0.7);
  --bg-card-solid: #1a1a35;
  --bg-glass: rgba(20, 20, 46, 0.6);
  --border-color: rgba(45, 45, 85, 0.8);
  --border-glow: rgba(139, 92, 246, 0.3);
  --text-primary: #f0f0ff;
  --text-secondary: #d0d0e8;
  --text-muted: #8888aa;
  --accent: #a78bfa;
  --accent-deep: #8b5cf6;
  --accent-glow: rgba(139, 92, 246, 0.4);
  --accent-glow-soft: rgba(167, 139, 250, 0.15);
  --gradient-accent: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
  --gradient-bg: linear-gradient(135deg, #0a0a18 0%, #14142a 100%);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 12px 40px rgba(139, 92, 246, 0.25);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 50px;
  --transition-fast: all 0.2s ease;
  --transition-base: all 0.3s ease;
  --transition-slow: all 0.5s ease;
  --font-family: 'Segoe UI', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-deep) var(--bg-secondary);
}

body {
  font-family: var(--font-family);
  background: var(--gradient-bg);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--accent-deep);
  border-radius: 10px;
  border: 2px solid var(--bg-secondary);
}

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

/* ===== 链接 ===== */
a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition-base);
}

a:hover {
  color: #c4b5fd;
  text-decoration: underline;
}

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

/* ===== 头部导航 ===== */
header {
  background: rgba(13, 13, 32, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-card);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
  transition: var(--transition-base);
}

.logo:hover {
  transform: scale(1.05);
  text-shadow: 0 0 40px rgba(139, 92, 246, 0.6);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 5px;
  flex-wrap: wrap;
}

nav ul li a {
  display: block;
  padding: 8px 16px;
  color: var(--text-secondary);
  font-weight: 500;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-base);
}

nav ul li a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: var(--transition-base);
}

nav ul li a:hover {
  background: var(--accent-glow-soft);
  color: var(--accent);
  text-decoration: none;
  transform: translateY(-2px);
}

nav ul li a:hover::before {
  width: 60%;
}

nav ul li a.active {
  background: rgba(139, 92, 246, 0.2);
  color: var(--accent-deep);
  box-shadow: inset 0 0 20px rgba(139, 92, 246, 0.1);
}

/* ===== 主内容 ===== */
main {
  padding: 40px 0;
  position: relative;
}

/* 背景装饰光效 */
main::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(167, 139, 250, 0.06) 0%, transparent 50%);
  z-index: -1;
  animation: bgFloat 20s ease-in-out infinite alternate;
}

@keyframes bgFloat {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(2%, 2%) rotate(2deg); }
}

/* ===== 区块 ===== */
.section {
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.section:nth-child(1) { animation-delay: 0.1s; }
.section:nth-child(2) { animation-delay: 0.2s; }
.section:nth-child(3) { animation-delay: 0.3s; }
.section:nth-child(4) { animation-delay: 0.4s; }
.section:nth-child(5) { animation-delay: 0.5s; }
.section:nth-child(6) { animation-delay: 0.6s; }
.section:nth-child(7) { animation-delay: 0.7s; }

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

.section-title {
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 30px;
  padding-left: 15px;
  border-left: 4px solid var(--accent-deep);
  font-weight: 700;
  position: relative;
  text-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

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

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

.card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-base);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-base);
  z-index: 1;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-glow);
}

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

.card img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.card-body {
  padding: 16px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.3));
}

.card-body h3 {
  color: var(--text-primary);
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 600;
  transition: var(--transition-base);
}

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

.card-body p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 4px;
  line-height: 1.5;
}

/* 标签 */
.tag {
  display: inline-block;
  background: rgba(139, 92, 246, 0.2);
  color: var(--accent);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-top: 8px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  backdrop-filter: blur(5px);
  transition: var(--transition-base);
}

.tag:hover {
  background: rgba(139, 92, 246, 0.3);
  transform: scale(1.05);
}

/* ===== 详情区块 ===== */
.detail-section {
  background: rgba(22, 22, 48, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.detail-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.detail-section h2 {
  color: var(--text-primary);
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.detail-section h3 {
  color: var(--accent);
  font-size: 1.3rem;
  margin: 25px 0 15px;
  position: relative;
  padding-left: 15px;
}

.detail-section h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

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

/* ===== 角色卡片 ===== */
.characters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 25px;
}

.character-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.character-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: var(--transition-base);
}

.character-card:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-glow);
}

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

.character-card img {
  border-radius: 50%;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border: 3px solid var(--accent-deep);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
  transition: var(--transition-base);
}

.character-card:hover img {
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
  transform: scale(1.05);
}

.character-card h3 {
  color: var(--text-primary);
  margin-bottom: 5px;
  font-weight: 600;
}

.character-card .role {
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 10px;
  font-weight: 500;
}

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

/* ===== 平台介绍 ===== */
.platform-section {
  background: rgba(20, 20, 46, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.platform-section::before {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.platform-section h2 {
  color: var(--text-primary);
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.platform-section p {
  color: var(--text-primary);
  margin-bottom: 15px;
  line-height: 1.8;
}

/* ===== APP下载 ===== */
.app-download {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, rgba(20, 20, 46, 0.8), rgba(26, 26, 53, 0.8));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.app-download::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.app-download h2 {
  color: var(--text-primary);
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}

.app-download p {
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
}

/* ===== 按钮 ===== */
.btn-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: var(--radius-pill);
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--gradient-accent);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--accent-glow);
  text-decoration: none;
  color: #fff;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

/* ===== 评论卡片 ===== */
.comments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.comment-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.comment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gradient-accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: var(--transition-base);
}

.comment-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-glow);
}

.comment-card:hover::before {
  transform: scaleY(1);
}

.comment-card .username {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 1rem;
}

.comment-card .time {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 10px;
}

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

/* ===== 布局 ===== */
.layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
}

/* ===== 侧边栏 ===== */
.sidebar {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 25px;
  height: fit-content;
  position: sticky;
  top: 100px;
  box-shadow: var(--shadow-card);
}

.sidebar h3 {
  color: var(--text-primary);
  font-size: 1.3rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-deep);
  font-weight: 600;
  position: relative;
}

.sidebar h3::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50%;
  height: 2px;
  background: var(--gradient-accent);
}

.sidebar .stat-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-base);
}

.sidebar .stat-item:hover {
  background: var(--accent-glow-soft);
  padding-left: 10px;
  padding-right: 10px;
  border-radius: var(--radius-sm);
}

.sidebar .stat-item:last-child {
  border-bottom: none;
}

.sidebar .stat-label {
  color: var(--text-secondary);
}

.sidebar .stat-value {
  color: var(--accent);
  font-weight: 700;
}

/* 排行榜 */
.rank-list {
  list-style: none;
}

.rank-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-base);
  cursor: pointer;
}

.rank-list li:hover {
  color: var(--accent);
  transform: translateX(5px);
  background: var(--accent-glow-soft);
  border-radius: var(--radius-sm);
  padding-left: 10px;
}

.rank-list li:last-child {
  border-bottom: none;
}

.rank-num {
  background: var(--gradient-accent);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(139, 92, 246, 0.3);
  flex-shrink: 0;
}

/* ===== 页脚 ===== */
footer {
  background: rgba(10, 10, 24, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
  margin-top: 60px;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-accent);
  opacity: 0.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
}

.footer-links a {
  color: var(--accent);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
  font-size: 0.95rem;
}

.footer-links a:hover {
  background: var(--accent-glow-soft);
  color: #c4b5fd;
  text-decoration: none;
  transform: translateY(-2px);
}

.copyright {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 2;
}

.copyright a {
  color: var(--accent);
  transition: var(--transition-base);
}

.copyright a:hover {
  color: #c4b5fd;
  text-decoration: underline;
}

/* ===== Banner ===== */
.banner {
  background: linear-gradient(135deg, rgba(26, 26, 53, 0.8), rgba(20, 20, 46, 0.8));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: 50px;
  text-align: center;
  margin-bottom: 40px;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards 0.1s;
}

.banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(167, 139, 250, 0.1) 0%, transparent 50%);
  animation: bannerGlow 8s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes bannerGlow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(2%, 2%) scale(1.05); }
}

.banner h2 {
  font-size: 2.5rem;
  color: var(--text-primary);
  margin-bottom: 15px;
  font-weight: 700;
  text-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
  position: relative;
  z-index: 1;
}

.banner p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  line-height: 1.8;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .layout {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    position: static;
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  
  .header-inner {
    flex-direction: column;
    text-align: center;
  }
  
  nav ul {
    justify-content: center;
  }
  
  nav ul li a {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .detail-section,
  .platform-section {
    padding: 25px;
  }
  
  .banner {
    padding: 30px 20px;
  }
  
  .banner h2 {
    font-size: 1.8rem;
  }
  
  .banner p {
    font-size: 1rem;
  }
  
  .grid-cards {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
  }
  
  .characters-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
  }
  
  .comments-grid {
    grid-template-columns: 1fr;
  }
  
  .card-body {
    padding: 12px;
  }
  
  .card-body h3 {
    font-size: 1rem;
  }
  
  .card-body p {
    font-size: 0.85rem;
  }
  
  .app-download {
    padding: 40px 15px;
  }
  
  .app-download h2 {
    font-size: 1.8rem;
  }
  
  .btn {
    padding: 12px 28px;
    font-size: 1rem;
  }
  
  .btn-group {
    gap: 15px;
  }
  
  .footer-links {
    gap: 10px;
  }
  
  .footer-links a {
    font-size: 0.85rem;
    padding: 3px 8px;
  }
}

@media (max-width: 480px) {
  .grid-cards {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
  }
  
  .card-body {
    padding: 8px;
  }
  
  .card-body h3 {
    font-size: 0.9rem;
    margin-bottom: 4px;
  }
  
  .card-body p {
    font-size: 0.75rem;
    margin-bottom: 2px;
  }
  
  .tag {
    font-size: 0.7rem;
    padding: 1px 8px;
  }
  
  .section-title {
    font-size: 1.3rem;
    padding-left: 10px;
  }
  
  .detail-section,
  .platform-section {
    padding: 20px;
  }
  
  .banner {
    padding: 20px 15px;
    border-radius: var(--radius-md);
  }
  
  .banner h2 {
    font-size: 1.5rem;
  }
  
  .banner p {
    font-size: 0.9rem;
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  nav ul li a {
    padding: 4px 8px;
    font-size: 0.8rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    width: 100%;
    max-width: 280px;
  }
  
  .btn-group {
    flex-direction: column;
    align-items: center;
  }
  
  .sidebar {
    padding: 20px;
  }
}

/* ===== 性能优化 ===== */
/* 减少重绘重排 */
.card,
.character-card,
.comment-card,
.btn,
nav ul li a {
  will-change: transform;
}

/* 图片加载优化 */
img {
  max-width: 100%;
  height: auto;
  loading: lazy;
}

/* 暗色模式适配 */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: #0a0a18;
    --bg-secondary: #14142e;
    --text-primary: #f0f0ff;
    --text-secondary: #d0d0e8;
  }
}

/* 打印样式 */
@media print {
  header,
  footer,
  .sidebar,
  .btn-group,
  .banner {
    display: none;
  }
  
  body {
    background: #fff;
    color: #000;
  }
  
  .card,
  .character-card,
  .comment-card {
    break-inside: avoid;
    border: 1px solid #ccc;
  }
}

/* ===== 动画增强 ===== */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

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

/* 卡片加载动画 */
.card {
  animation: cardFadeIn 0.6s ease forwards;
  opacity: 0;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.15s; }
.card:nth-child(3) { animation-delay: 0.2s; }
.card:nth-child(4) { animation-delay: 0.25s; }
.card:nth-child(5) { animation-delay: 0.3s; }
.card:nth-child(6) { animation-delay: 0.35s; }
.card:nth-child(7) { animation-delay: 0.4s; }
.card:nth-child(8) { animation-delay: 0.45s; }
.card:nth-child(9) { animation-delay: 0.5s; }
.card:nth-child(10) { animation-delay: 0.55s; }
.card:nth-child(11) { animation-delay: 0.6s; }
.card:nth-child(12) { animation-delay: 0.65s; }
.card:nth-child(13) { animation-delay: 0.7s; }
.card:nth-child(14) { animation-delay: 0.75s; }
.card:nth-child(15) { animation-delay: 0.8s; }
.card:nth-child(16) { animation-delay: 0.85s; }

@keyframes cardFadeIn {
  to {
    opacity: 1;
  }
}

/* 字符卡片动画 */
.character-card {
  animation: cardFadeIn 0.6s ease forwards;
  opacity: 0;
}

.character-card:nth-child(1) { animation-delay: 0.1s; }
.character-card:nth-child(2) { animation-delay: 0.2s; }
.character-card:nth-child(3) { animation-delay: 0.3s; }
.character-card:nth-child(4) { animation-delay: 0.4s; }
.character-card:nth-child(5) { animation-delay: 0.5s; }
.character-card:nth-child(6) { animation-delay: 0.6s; }

/* 评论卡片动画 */
.comment-card {
  animation: cardFadeIn 0.6s ease forwards;
  opacity: 0;
}

.comment-card:nth-child(1) { animation-delay: 0.1s; }
.comment-card:nth-child(2) { animation-delay: 0.15s; }
.comment-card:nth-child(3) { animation-delay: 0.2s; }
.comment-card:nth-child(4) { animation-delay: 0.25s; }
.comment-card:nth-child(5) { animation-delay: 0.3s; }
.comment-card:nth-child(6) { animation-delay: 0.35s; }
.comment-card:nth-child(7) { animation-delay: 0.4s; }
.comment-card:nth-child(8) { animation-delay: 0.45s; }
.comment-card:nth-child(9) { animation-delay: 0.5s; }
.comment-card:nth-child(10) { animation-delay: 0.55s; }
.comment-card:nth-child(11) { animation-delay: 0.6s; }
.comment-card:nth-child(12) { animation-delay: 0.65s; }

/* 排行榜动画 */
.rank-list li {
  animation: slideInRight 0.5s ease forwards;
  opacity: 0;
}

.rank-list li:nth-child(1) { animation-delay: 0.1s; }
.rank-list li:nth-child(2) { animation-delay: 0.2s; }
.rank-list li:nth-child(3) { animation-delay: 0.3s; }
.rank-list li:nth-child(4) { animation-delay: 0.4s; }
.rank-list li:nth-child(5) { animation-delay: 0.5s; }
.rank-list li:nth-child(6) { animation-delay: 0.6s; }
.rank-list li:nth-child(7) { animation-delay: 0.7s; }
.rank-list li:nth-child(8) { animation-delay: 0.8s; }

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

/* 统计项动画 */
.stat-item {
  animation: fadeIn 0.5s ease forwards;
  opacity: 0;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }
.stat-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* 滚动条美化 */
::-webkit-scrollbar-corner {
  background: var(--bg-secondary);
}

/* 聚焦状态 */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

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

/* 暗色模式下的图片滤镜 */
@media (prefers-color-scheme: dark) {
  .card img,
  .character-card img {
    filter: brightness(0.95) contrast(1.05);
  }
}

/* 高DPI屏幕优化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .card img,
  .character-card img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* 触摸设备优化 */
@media (hover: none) {
  .card:hover,
  .character-card:hover,
  .comment-card:hover {
    transform: none;
  }
  
  .btn:hover {
    transform: none;
  }
}
```