```css
/* ============================================================
   爱看影院 · 漫画星球 — 全站样式表
   风格：紫罗兰渐变 / 毛玻璃 / 圆角卡片 / 响应式 / 暗色模式
   ============================================================ */

/* ---------- 1. CSS变量与主题系统 ---------- */
:root {
  /* 主色板 */
  --primary: #6d28d9;
  --primary-dark: #4c1d95;
  --primary-light: #8b5cf6;
  --primary-soft: #ede9fe;
  --accent: #7c3aed;
  --accent-glow: rgba(124, 58, 237, 0.35);

  /* 中性色 */
  --bg-body: #f5f3ff;
  --bg-card: #ffffff;
  --bg-card-soft: #faf8ff;
  --bg-glass: rgba(255, 255, 255, 0.72);
  --bg-glass-strong: rgba(255, 255, 255, 0.88);
  --bg-footer: #221a3a;

  /* 文本色 */
  --text-primary: #1e1b2e;
  --text-secondary: #4c4460;
  --text-muted: #7a7593;
  --text-invert: #ffffff;
  --text-footer: #cbbff0;
  --text-footer-dim: #9d8fc7;

  /* 边框/分割线 */
  --border-light: #ece5ff;
  --border-dashed: #ddd;

  /* 阴影 */
  --shadow-card: 0 8px 20px rgba(109, 40, 217, 0.08);
  --shadow-hover: 0 14px 28px rgba(109, 40, 217, 0.15);
  --shadow-btn: 0 4px 12px rgba(124, 58, 237, 0.3);
  --shadow-glass: 0 8px 32px rgba(31, 38, 135, 0.12);

  /* 圆角 */
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --radius-pill: 40px;

  /* 字体 */
  --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* 过渡 */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  /* 暗色模式变量覆盖 */
  --bg-body-dark: #0f0b1a;
  --bg-card-dark: #1b1428;
  --bg-card-soft-dark: #221a35;
  --bg-glass-dark: rgba(30, 20, 50, 0.72);
  --bg-glass-strong-dark: rgba(30, 20, 50, 0.9);
  --text-primary-dark: #f0eaff;
  --text-secondary-dark: #b8aed0;
  --text-muted-dark: #8a80a8;
  --border-light-dark: #2e2545;
  --border-dashed-dark: #3a2f5c;
  --shadow-card-dark: 0 8px 20px rgba(0, 0, 0, 0.4);
  --shadow-hover-dark: 0 14px 28px rgba(0, 0, 0, 0.5);
}

/* ---------- 2. 暗色模式自动切换 ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-body: var(--bg-body-dark);
    --bg-card: var(--bg-card-dark);
    --bg-card-soft: var(--bg-card-soft-dark);
    --bg-glass: var(--bg-glass-dark);
    --bg-glass-strong: var(--bg-glass-strong-dark);
    --text-primary: var(--text-primary-dark);
    --text-secondary: var(--text-secondary-dark);
    --text-muted: var(--text-muted-dark);
    --border-light: var(--border-light-dark);
    --border-dashed: var(--border-dashed-dark);
    --shadow-card: var(--shadow-card-dark);
    --shadow-hover: var(--shadow-hover-dark);
  }
  
  img {
    background: #2a2040;
  }
}

/* ---------- 3. 基础重置与全局样式 ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg-body);
  font-family: var(--font-sans);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background var(--transition-smooth), color var(--transition-smooth);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-sm);
  background: #ddd;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

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

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

::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 10px;
  border: 2px solid var(--bg-body);
}

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

/* ---------- 5. 顶部导航栏（毛玻璃渐变） ---------- */
header {
  background: linear-gradient(135deg, #4c1d95 0%, #6d28d9 50%, #8b5cf6 100%);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(109, 40, 217, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

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

.logo h1 {
  color: var(--text-invert);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  background: linear-gradient(90deg, #ffffff, #f0e9ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo span {
  color: #f0e9ff;
  font-size: 1rem;
  margin-left: 8px;
  font-weight: 400;
  display: inline-block;
  vertical-align: middle;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

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

nav a {
  color: #f5f0ff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 8px 14px;
  border-radius: 30px;
  transition: all var(--transition-fast);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

nav a:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ---------- 6. 主内容区 ---------- */
main {
  padding: 30px 0;
  min-height: 60vh;
}

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

/* ---------- 7. 卡片区块（毛玻璃+圆角） ---------- */
.section {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), background var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.section::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

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

.section h2 {
  color: var(--primary-dark);
  font-size: 1.6rem;
  margin-bottom: 18px;
  border-left: 6px solid var(--primary-light);
  padding-left: 16px;
  position: relative;
  z-index: 1;
  transition: color var(--transition-smooth);
}

.section h3 {
  color: var(--text-primary);
  margin: 16px 0 8px;
  font-size: 1.3rem;
  position: relative;
  z-index: 1;
}

.section p {
  position: relative;
  z-index: 1;
  color: var(--text-secondary);
}

/* ---------- 8. 卡片网格 ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
  position: relative;
  z-index: 1;
}

.card {
  background: var(--bg-card-soft);
  border-radius: var(--radius-md);
  padding: 12px;
  transition: all var(--transition-smooth);
  border: 1px solid transparent;
  cursor: pointer;
  animation: fadeInUp 0.6s ease backwards;
}

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

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 30px rgba(109, 40, 217, 0.15);
  border-color: var(--primary-light);
  background: var(--bg-card);
}

.card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 10px;
  transition: transform var(--transition-smooth), filter var(--transition-smooth);
}

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

.card h3 {
  font-size: 1rem;
  margin: 8px 0 4px;
  color: var(--text-primary);
  font-weight: 600;
}

.card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* 徽章 */
.badge {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary-dark);
  padding: 3px 12px;
  border-radius: 30px;
  font-size: 0.75rem;
  margin: 4px 2px;
  font-weight: 500;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

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

/* ---------- 9. 按钮 ---------- */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  color: white;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 600;
  margin: 8px 8px 0 0;
  box-shadow: var(--shadow-btn);
  transition: all var(--transition-smooth);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

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

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.45);
}

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

.btn-light {
  background: var(--primary-soft);
  color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(109, 40, 217, 0.15);
}

.btn-light:hover {
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 20px rgba(109, 40, 217, 0.3);
}

/* ---------- 10. 侧边栏 ---------- */
aside .section {
  padding: 18px;
  background: var(--bg-glass-strong);
}

aside .section h3 {
  font-size: 1.15rem;
  border-bottom: 2px solid var(--primary-soft);
  padding-bottom: 10px;
  margin-bottom: 14px;
}

.rank-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: center;
  border-bottom: 1px dashed var(--border-dashed);
  padding-bottom: 8px;
  transition: all var(--transition-fast);
  padding: 8px 6px;
  border-radius: 10px;
}

.rank-item:hover {
  background: var(--primary-soft);
  transform: translateX(4px);
  border-bottom-color: transparent;
}

.rank-num {
  font-weight: 800;
  color: var(--accent);
  font-size: 1.2rem;
  width: 28px;
  text-align: center;
  background: var(--primary-soft);
  border-radius: 8px;
  padding: 2px 0;
}

/* 阅读统计 */
aside .section p {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}

aside .section p:last-child {
  border-bottom: none;
}

/* ---------- 11. 评论框 ---------- */
.comment-box {
  border-bottom: 1px solid var(--border-light);
  padding: 14px 0;
  transition: all var(--transition-smooth);
  border-radius: 8px;
  padding-left: 10px;
  padding-right: 10px;
}

.comment-box:hover {
  background: var(--bg-card-soft);
  padding-left: 16px;
  border-bottom-color: transparent;
}

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

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

.comment-box p {
  margin-top: 6px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* ---------- 12. 页脚 ---------- */
footer {
  background: var(--bg-footer);
  color: var(--text-footer);
  padding: 30px 0;
  margin-top: 30px;
  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));
}

.footer-links a {
  color: var(--text-footer);
  margin-right: 18px;
  text-decoration: underline;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  display: inline-block;
  padding: 4px 0;
}

.footer-links a:hover {
  color: white;
  transform: translateY(-2px);
}

.footer-copy {
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--text-footer-dim);
  line-height: 1.8;
}

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

@media (prefers-reduced-motion: no-preference) {
  .section {
    animation: fadeInUp 0.7s ease backwards;
  }
  
  .section:nth-child(2) { animation-delay: 0.1s; }
  .section:nth-child(3) { animation-delay: 0.2s; }
  .section:nth-child(4) { animation-delay: 0.3s; }
  .section:nth-child(5) { animation-delay: 0.4s; }
  .section:nth-child(6) { animation-delay: 0.5s; }
  .section:nth-child(7) { animation-delay: 0.6s; }
}

/* ---------- 14. 响应式设计 ---------- */

/* 平板 */
@media (max-width: 1024px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  aside {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  aside .section {
    margin-bottom: 0;
  }
}

/* 手机 */
@media (max-width: 768px) {
  .container {
    padding: 0 14px;
  }
  
  header {
    padding: 12px 0;
  }
  
  .logo h1 {
    font-size: 1.4rem;
  }
  
  .logo span {
    font-size: 0.85rem;
    margin-left: 4px;
    display: block;
    margin-top: 2px;
  }
  
  nav ul {
    gap: 4px;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  
  nav a {
    font-size: 0.8rem;
    padding: 6px 10px;
    white-space: nowrap;
  }
  
  .section {
    padding: 18px;
    border-radius: 18px;
  }
  
  .section h2 {
    font-size: 1.3rem;
  }
  
  .section h3 {
    font-size: 1.1rem;
  }
  
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  
  .card {
    padding: 8px;
  }
  
  .card h3 {
    font-size: 0.9rem;
  }
  
  .card p {
    font-size: 0.75rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    display: block;
    width: 100%;
    text-align: center;
    margin: 8px 0;
  }
  
  aside {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .footer-links a {
    display: block;
    margin: 8px 0;
  }
}

/* 小屏手机 */
@media (max-width: 480px) {
  .card-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  
  .logo h1 {
    font-size: 1.2rem;
  }
  
  .section {
    padding: 14px;
  }
  
  .section h2 {
    font-size: 1.15rem;
    padding-left: 12px;
  }
  
  .badge {
    font-size: 0.65rem;
    padding: 2px 8px;
  }
}

/* ---------- 15. 打印样式 ---------- */
@media print {
  header, footer, aside, .btn {
    display: none;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .section {
    box-shadow: none;
    border: 1px solid #ddd;
    break-inside: avoid;
  }
}
```