```css
/* ===== 全局变量与重置 ===== */
:root {
  --primary: #7C5CFC;
  --primary-light: #9B7FFF;
  --primary-dark: #5B3FD4;
  --bg-light: #F8F4FF;
  --bg-dark: #0D0820;
  --bg-card: #FFFFFF;
  --text-primary: #1A1A2E;
  --text-secondary: #2D2D44;
  --text-muted: #6B6B8D;
  --border-light: #E0D8FF;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.2);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --blur-bg: rgba(255, 255, 255, 0.7);
}

/* 暗色模式变量 */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-light: #12101F;
    --bg-card: #1E1B2E;
    --text-primary: #E8E6F0;
    --text-secondary: #C8C4D8;
    --text-muted: #8E8AA8;
    --border-light: #3A3456;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.4);
    --blur-bg: rgba(30, 27, 46, 0.7);
  }
}

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

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-light);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background 0.3s ease, color 0.3s ease;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.main-content {
  flex: 1 1 72%;
  min-width: 300px;
}

aside {
  flex: 1 1 25%;
  min-width: 260px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  transition: background 0.3s ease, border-color 0.3s ease;
}

/* ===== 头部导航 ===== */
header {
  background: linear-gradient(135deg, #0D0820, #3B2A7A);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(13, 8, 32, 0.9);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.logo-area h1 {
  color: #FFFFFF;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(124, 92, 252, 0.5);
}

.logo-area h1 a {
  color: #FFFFFF;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.logo-area h1 a:hover {
  opacity: 0.85;
}

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

nav ul li a {
  color: #E0D8FF;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #7C5CFC;
  transition: width 0.3s ease;
}

nav ul li a:hover {
  color: #FFFFFF;
  background: rgba(124, 92, 252, 0.2);
  text-decoration: underline;
}

nav ul li a:hover::after {
  width: 70%;
}

/* ===== Hero区域 ===== */
.hero {
  background: linear-gradient(135deg, #0D0820 0%, #3B2A7A 50%, #7C5CFC 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  color: #FFFFFF;
  padding: 60px 20px;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(124, 92, 252, 0.3) 0%, transparent 50%);
  animation: pulseGlow 6s ease infinite;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.5;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  color: #FFFFFF;
  position: relative;
  z-index: 1;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease;
}

.hero p {
  font-size: 1.2rem;
  color: #D0C8F0;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

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

/* ===== 区块标题 ===== */
.section-title {
  font-size: 1.8rem;
  color: var(--text-primary);
  margin: 30px 0 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--primary);
  display: inline-block;
  position: relative;
  transition: color 0.3s ease;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.section-title:hover::after {
  transform: scaleX(1);
}

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

.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-light);
  position: relative;
  animation: fadeIn 0.6s ease backwards;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }
.card:nth-child(7) { animation-delay: 0.7s; }
.card:nth-child(8) { animation-delay: 0.8s; }
.card:nth-child(9) { animation-delay: 0.9s; }
.card:nth-child(10) { animation-delay: 1s; }
.card:nth-child(11) { animation-delay: 1.1s; }
.card:nth-child(12) { animation-delay: 1.2s; }

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

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

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

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

.card-body {
  padding: 15px;
}

.card-body h3 {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

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

.card-body .tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #FFFFFF;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-top: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-body .tag:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(124, 92, 252, 0.4);
}

/* ===== 文章盒子 ===== */
.article-box {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.article-box h2 {
  color: var(--text-primary);
  font-size: 1.6rem;
  margin-bottom: 15px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.article-box h3 {
  color: var(--text-primary);
  font-size: 1.3rem;
  margin: 20px 0 10px;
}

.article-box p {
  color: var(--text-primary);
  margin-bottom: 15px;
  font-size: 1rem;
}

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

.character-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 15px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  animation: fadeIn 0.6s ease backwards;
}

.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; }

.character-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.character-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
  border: 3px solid var(--primary);
  transition: transform 0.5s ease, box-shadow 0.3s ease;
}

.character-card:hover img {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(124, 92, 252, 0.3);
}

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

.character-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 5px;
  line-height: 1.4;
}

/* ===== 平台特性 ===== */
.platform-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  margin: 20px 0;
}

.feature-item {
  background: var(--bg-light);
  padding: 20px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  animation: fadeIn 0.6s ease backwards;
}

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

.feature-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-sm);
  border-left-width: 6px;
}

.feature-item h4 {
  color: var(--text-primary);
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: 700;
}

.feature-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ===== 下载区域 ===== */
.download-section {
  background: linear-gradient(135deg, #0D0820, #3B2A7A);
  color: #FFFFFF;
  padding: 40px;
  border-radius: var(--radius-lg);
  margin: 30px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.download-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(124, 92, 252, 0.2) 0%, transparent 50%);
  animation: pulseGlow 8s ease infinite;
}

.download-section h2 {
  color: #FFFFFF;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.download-section p {
  color: #D0C8F0;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.btn-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #FFFFFF;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
  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.2), transparent);
  transition: left 0.5s ease;
}

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

.btn:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(124, 92, 252, 0.4);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

/* ===== 用户评论 ===== */
.comment-list {
  list-style: none;
}

.comment-list li {
  background: var(--bg-light);
  padding: 15px;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  border-left: 4px solid var(--primary);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  animation: fadeIn 0.5s ease backwards;
}

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

.comment-list li:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-sm);
  border-left-width: 6px;
}

.comment-list li .user {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.comment-list li .user::before {
  content: '👤';
  font-size: 0.9em;
}

.comment-list li .time {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.comment-list li p {
  color: var(--text-primary);
  margin-top: 8px;
}

/* ===== 侧边栏组件 ===== */
.side-widget {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 20px;
  border: 1px solid var(--border-light);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.side-widget h3 {
  color: var(--text-primary);
  font-size: 1.2rem;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
  position: relative;
}

.side-widget h3::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50%;
  height: 2px;
  background: var(--primary-light);
  transition: width 0.3s ease;
}

.side-widget:hover h3::after {
  width: 100%;
}

.rank-list {
  list-style: none;
}

.rank-list li {
  display: flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-primary);
  transition: transform 0.3s ease, color 0.3s ease;
}

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

.rank-list li:hover {
  transform: translateX(5px);
  color: var(--primary);
}

.rank-num {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #FFFFFF;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-right: 10px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.rank-list li:hover .rank-num {
  transform: scale(1.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stat-item {
  background: var(--bg-card);
  padding: 15px;
  border-radius: var(--radius-sm);
  text-align: center;
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.stat-item .num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

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

/* ===== 推荐卡片 ===== */
.recommend-section {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.recommend-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeIn 0.6s ease backwards;
}

.recommend-card:nth-child(1) { animation-delay: 0.1s; }
.recommend-card:nth-child(2) { animation-delay: 0.2s; }
.recommend-card:nth-child(3) { animation-delay: 0.3s; }
.recommend-card:nth-child(4) { animation-delay: 0.4s; }

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

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

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

.recommend-body {
  padding: 15px;
  flex: 1;
}

.recommend-body h3 {
  color: var(--text-primary);
  font-size: 1.1rem;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.recommend-body p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 4px;
}

/* ===== 介绍区块 ===== */
.intro-section {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 25px;
  margin: 30px 0;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.intro-section h2 {
  color: var(--text-primary);
  font-size: 1.6rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.intro-section h3 {
  color: var(--text-primary);
  font-size: 1.2rem;
  margin: 20px 0 10px;
  position: relative;
  padding-left: 15px;
}

.intro-section h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 20px;
  background: var(--primary);
  border-radius: 3px;
}

.intro-section p {
  color: var(--text-primary);
  margin-bottom: 15px;
  font-size: 1rem;
  text-align: justify;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.tag-list span {
  background: var(--bg-light);
  color: var(--text-primary);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.tag-list span:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  transform: scale(1.05);
}

/* ===== 页脚 ===== */
footer {
  background: #0D0820;
  color: #E0D8FF;
  padding: 30px 0;
  margin-top: 50px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary));
  background-size: 200% 100%;
  animation: gradientShift 4s ease infinite;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

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

.footer-inner h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.footer-inner div:hover h4::after {
  width: 70px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #D0C8F0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease, padding-left 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #FFFFFF;
  text-decoration: underline;
  padding-left: 5px;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #4A3B8F;
  color: #B0A8D0;
  font-size: 0.85rem;
  margin-top: 30px;
}

.copyright p {
  margin-bottom: 8px;
}

.copyright a {
  color: #B0A8D0;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s ease;
}

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

/* ===== 滚动动画 ===== */
@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

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

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    text-align: center;
  }

  nav ul {
    justify-content: center;
    gap: 10px;
  }

  nav ul li a {
    font-size: 0.85rem;
    padding: 6px 8px;
  }

  .hero {
    padding: 40px 15px;
  }

  .hero h1 {
    font-size: 2rem;
  }

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

  .grid-cards {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
  }

  .card img {
    height: 200px;
  }

  .card-body {
    padding: 12px;
  }

  .card-body h3 {
    font-size: 1rem;
  }

  .card-body p {
    font-size: 0.8rem;
  }

  .recommend-card {
    flex-direction: column;
  }

  .recommend-card img {
    width: 100%;
    height: 200px;
  }

  .container {
    flex-direction: column;
  }

  aside {
    order: -1;
  }

  .btn-group {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .character-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
  }

  .character-card img {
    width: 100px;
    height: 100px;
  }

  .platform-features {
    grid-template-columns: 1fr;
  }

  .download-section {
    padding: 30px 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-inner h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-links a:hover {
    padding-left: 0;
  }

  .copyright a {
    display: inline-block;
    margin: 5px 10px;
  }
}

/* ===== 平板适配 ===== */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    gap: 20px;
  }

  .main-content {
    flex: 1 1 65%;
  }

  aside {
    flex: 1 1 30%;
  }

  .grid-cards {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }

  .card img {
    height: 240px;
  }

  .recommend-card {
    flex-direction: column;
  }

  .recommend-card img {
    width: 100%;
    height: 220px;
  }
}

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 5px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

/* ===== 毛玻璃效果增强 ===== */
.glass-effect {
  background: var(--blur-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===== 焦点可见性 ===== */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ===== 选中文本样式 ===== */
::selection {
  background: var(--primary);
  color: #FFFFFF;
}

/* ===== 暗色模式下的额外调整 ===== */
@media (prefers-color-scheme: dark) {
  .hero {
    background: linear-gradient(135deg, #0D0820, #1E1B2E, #3B2A7A);
  }

  .download-section {
    background: linear-gradient(135deg, #0D0820, #1E1B2E, #3B2A7A);
  }

  .card img {
    filter: brightness(0.9);
  }

  .card img:hover {
    filter: brightness(1);
  }

  .character-card img {
    filter: brightness(0.9);
  }

  .character-card:hover img {
    filter: brightness(1);
  }

  .recommend-card img {
    filter: brightness(0.9);
  }

  .recommend-card:hover img {
    filter: brightness(1);
  }
}

/* ===== 打印样式 ===== */
@media print {
  header,
  aside,
  .download-section,
  footer {
    display: none;
  }

  .container {
    max-width: 100%;
  }

  .main-content {
    flex: 1 1 100%;
  }

  .card,
  .recommend-card,
  .character-card,
  .feature-item {
    break-inside: avoid;
  }
}
```