```css
/* ===== 云漫漫画 全站样式 ===== */
:root {
  --primary: #6B4CFF;
  --primary-light: #9F7AEA;
  --primary-dark: #4A3A8C;
  --accent: #4A6CF7;
  --bg-body: #F8F4FF;
  --bg-card: #FFFFFF;
  --bg-card-alt: #F8F4FF;
  --bg-header: #1A1A2E;
  --bg-footer: #1A1A2E;
  --text-main: #1A1A2E;
  --text-sub: #2D2D44;
  --text-light: #F5F0FF;
  --text-muted: #6E6E85;
  --border-light: #E6DFF5;
  --border-dark: #E0D4F0;
  --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.08);
  --shadow-md: 0 8px 24px rgba(26, 26, 46, 0.06);
  --shadow-lg: 0 12px 32px rgba(107, 76, 255, 0.18);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 40px;
  --transition-fast: 0.2s ease;
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --font-family: 'Segoe UI', Roboto, 'Helvetica Neue', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* ===== 暗色模式 ===== */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-body: #12121F;
    --bg-card: #1E1E35;
    --bg-card-alt: #24243D;
    --text-main: #F0E9FF;
    --text-sub: #D0C8E8;
    --text-light: #F5F0FF;
    --text-muted: #9A8FBF;
    --border-light: #2D2D44;
    --border-dark: #3B2A5E;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary);
  text-decoration: underline;
}

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

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

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

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

/* ===== 头部导航 ===== */
header {
  background: linear-gradient(145deg, #1A1A2E 0%, #2D2D44 50%, #3B2A5E 100%);
  padding: 18px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

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

.logo h1 {
  color: var(--text-light);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px var(--primary);
  background: linear-gradient(135deg, #F5F0FF, #B9A5FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform var(--transition-fast);
}

.logo h1 a {
  color: inherit;
  text-decoration: none;
}

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

nav ul {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  flex-wrap: wrap;
  align-items: center;
}

nav a {
  color: var(--text-light);
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  position: relative;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-light);
  transition: width var(--transition-slow);
}

nav a:hover {
  color: #FFFFFF;
  border-bottom-color: var(--primary-light);
  text-decoration: none;
}

nav a:hover::after {
  width: 100%;
}

/* ===== 主内容区 ===== */
main {
  background-color: var(--bg-body);
  padding: 30px 0;
  min-height: 60vh;
}

.grid-2col {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
  align-items: start;
}

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

/* ===== 卡片 ===== */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

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

/* ===== 区块标题 ===== */
.section-title {
  color: var(--text-sub);
  font-size: 1.8rem;
  margin-bottom: 20px;
  padding-left: 12px;
  border-left: 6px solid var(--primary);
  position: relative;
  display: inline-block;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 12px;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
  border-radius: var(--radius-full);
}

/* ===== 动漫网格 ===== */
.anime-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.anime-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
  border: 1px solid var(--border-dark);
  position: relative;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

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

.anime-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.anime-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.anime-info {
  padding: 12px;
  background: var(--bg-card);
}

.anime-info h3 {
  color: var(--text-main);
  font-size: 1.1rem;
  margin-bottom: 6px;
  font-weight: 600;
  transition: color var(--transition-fast);
}

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

.anime-info p {
  color: var(--text-sub);
  font-size: 0.9rem;
  margin: 4px 0;
  line-height: 1.4;
}

/* ===== 徽章 ===== */
.badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #FFFFFF;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  margin-right: 6px;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(107, 76, 255, 0.3);
  transition: transform var(--transition-fast);
}

.badge:hover {
  transform: scale(1.05);
}

.rating {
  color: var(--text-main);
  font-weight: bold;
  background: linear-gradient(90deg, #FFD700, #FFA500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #FFFFFF;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: all var(--transition-slow);
  border: none;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 4px 12px rgba(74, 108, 247, 0.3);
  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 {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #FFFFFF;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(107, 76, 255, 0.4);
}

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

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

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

/* ===== 侧边栏 ===== */
aside .card {
  margin-bottom: 20px;
  animation: slideInRight 0.6s ease forwards;
  opacity: 0;
}

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

aside h3 {
  color: var(--text-sub);
  margin-bottom: 15px;
  border-bottom: 2px solid var(--border-dark);
  padding-bottom: 8px;
  font-size: 1.1rem;
  position: relative;
}

aside h3::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

aside ul {
  list-style: none;
}

aside li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-dark);
  color: var(--text-main);
  transition: padding-left var(--transition-fast), color var(--transition-fast);
  cursor: pointer;
}

aside li:hover {
  padding-left: 8px;
  color: var(--primary);
}

aside .badge {
  background: var(--accent);
}

/* ===== 详情区块 ===== */
.detail-block {
  background: var(--bg-card-alt);
  padding: 20px;
  border-radius: var(--radius-md);
  margin: 20px 0;
  border: 1px solid var(--border-light);
  animation: fadeIn 0.8s ease forwards;
}

.detail-block h2,
.detail-block h3 {
  color: var(--text-main);
  margin-bottom: 10px;
  position: relative;
  padding-left: 12px;
}

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

.detail-block p {
  margin-bottom: 12px;
  color: var(--text-sub);
  line-height: 1.8;
}

/* ===== 角色网格 ===== */
.role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.role-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
  transition: all var(--transition-slow);
  animation: scaleIn 0.5s ease forwards;
  opacity: 0;
}

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

.role-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.role-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 10px;
  border: 3px solid var(--border-light);
  transition: transform var(--transition-slow), border-color var(--transition-slow);
}

.role-card:hover img {
  transform: scale(1.05);
  border-color: var(--primary);
}

.role-card h4 {
  color: var(--text-main);
  margin-bottom: 5px;
  font-size: 1.1rem;
}

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

/* ===== APP下载 ===== */
.app-download {
  background: linear-gradient(145deg, #2D2D44, #1A1A2E);
  color: var(--text-light);
  padding: 20px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease forwards;
}

.app-download::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(107, 76, 255, 0.2) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

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

.app-download h3 {
  color: #FFFFFF;
  font-size: 1.5rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.app-download p {
  color: #F0E9FF;
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
}

.app-download .btn {
  position: relative;
  z-index: 1;
}

/* ===== 评论 ===== */
.comment-item {
  background: var(--bg-card-alt);
  padding: 14px;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  border: 1px solid var(--border-light);
  transition: all var(--transition-slow);
  animation: slideInLeft 0.5s ease forwards;
  opacity: 0;
}

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

.comment-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
  border-color: var(--primary-light);
}

.comment-item strong {
  color: var(--text-sub);
  font-weight: 600;
}

.comment-item span {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-left: 8px;
}

.comment-item p {
  color: var(--text-main);
  margin-top: 6px;
  line-height: 1.5;
}

/* ===== 页脚 ===== */
.footer {
  background: linear-gradient(145deg, #1A1A2E, #2D2D44);
  color: var(--text-light);
  padding: 30px 0;
  margin-top: 30px;
  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(--accent));
}

.footer a {
  color: #B9A5FF;
  transition: color var(--transition-fast);
}

.footer a:hover {
  color: #FFFFFF;
  text-decoration: none;
}

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

.footer .links a {
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.footer .links a:hover {
  border-color: var(--primary-light);
  background: rgba(107, 76, 255, 0.1);
}

.copyright {
  border-top: 1px solid #3B2A5E;
  padding-top: 20px;
  font-size: 0.9rem;
  color: #F0E9FF;
  text-align: center;
  line-height: 1.8;
}

/* ===== 响应式优化 ===== */
@media (max-width: 768px) {
  .container {
    padding: 0 12px;
  }

  .header-flex {
    flex-direction: column;
    text-align: center;
  }

  .logo h1 {
    font-size: 1.8rem;
  }

  nav ul {
    justify-content: center;
    gap: 1rem;
    font-size: 0.9rem;
  }

  .anime-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
  }

  .anime-card img {
    height: 160px;
  }

  .anime-info h3 {
    font-size: 0.95rem;
  }

  .anime-info p {
    font-size: 0.8rem;
  }

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

  .grid-2col {
    gap: 20px;
  }

  .role-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
  }

  .role-card img {
    width: 90px;
    height: 90px;
  }

  .btn {
    padding: 8px 18px;
    font-size: 0.9rem;
  }

  .app-download {
    padding: 15px;
  }

  .comment-item {
    padding: 10px;
  }

  .footer .links {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .anime-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .anime-card img {
    height: 140px;
  }

  .anime-info {
    padding: 8px;
  }

  .anime-info h3 {
    font-size: 0.85rem;
  }

  .anime-info p {
    font-size: 0.75rem;
  }

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

  nav ul {
    gap: 0.6rem;
    font-size: 0.8rem;
  }

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

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--primary), var(--primary-light));
  border-radius: var(--radius-full);
}

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

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

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

/* ===== 打印样式 ===== */
@media print {
  header,
  footer,
  aside,
  .btn {
    display: none !important;
  }

  main {
    padding: 0;
  }

  .grid-2col {
    grid-template-columns: 1fr;
  }
}
```