```css
/* ===== 漫小社漫画 - 全局样式 ===== */
:root {
  --primary: #6b4cff;
  --primary-light: #8b6fff;
  --primary-dark: #4a2fd8;
  --dark-bg: #1a1a2e;
  --dark-bg-2: #242442;
  --dark-card: #2d2d44;
  --light-bg: #f8f4ff;
  --light-card: #ffffff;
  --text-dark: #1a1a2e;
  --text-light: #f5f0ff;
  --text-muted: #6b7280;
  --border-radius: 16px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  background-color: var(--light-bg);
  color: var(--text-dark);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* 暗色模式 */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #0f0f1a;
    color: var(--text-light);
  }
}

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

::-webkit-scrollbar-track {
  background: rgba(107, 76, 255, 0.05);
  border-radius: 10px;
}

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

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

/* ===== 头部导航 ===== */
header {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #2a1a5e 100%);
  padding: 0.5rem 1rem;
  border-bottom: 4px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(26, 26, 46, 0.92);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

nav {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

nav a[href="/"] {
  display: flex;
  align-items: center;
  text-decoration: none;
  position: relative;
  transition: var(--transition);
}

nav a[href="/"] span {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #fff 0%, #b0a8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 20px rgba(107, 76, 255, 0.3);
}

nav a[href="/"]::after {
  content: '✦';
  position: absolute;
  top: -8px;
  right: -20px;
  font-size: 1.2rem;
  color: var(--primary-light);
  animation: sparkle 2s infinite;
}

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

nav div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  padding: 0.5rem 0;
}

nav div:last-child a {
  color: var(--text-light);
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  border: 1px solid transparent;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

nav div:last-child a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-light);
  transition: width 0.3s ease;
}

nav div:last-child a:hover {
  background: rgba(107, 76, 255, 0.15);
  border-color: rgba(107, 76, 255, 0.3);
  transform: translateY(-2px);
}

nav div:last-child a:hover::before {
  width: 80%;
}

nav div:last-child a:first-child {
  border-bottom: 2px solid var(--primary-light);
}

/* ===== 主内容区 ===== */
main {
  max-width: 1400px;
  margin: 2rem auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
}

@media (max-width: 1024px) {
  main {
    grid-template-columns: 1fr;
  }
}

/* ===== H1 主标题 ===== */
h1 {
  color: var(--text-dark);
  font-size: 2.2rem;
  margin: 0 0 0.5rem;
  border-left: 10px solid var(--primary);
  padding-left: 1rem;
  position: relative;
  background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: slideInLeft 0.8s ease;
  text-shadow: 0 2px 20px rgba(107, 76, 255, 0.1);
}

@media (prefers-color-scheme: dark) {
  h1 {
    background: linear-gradient(135deg, #fff 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
}

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

/* ===== 区块标题 ===== */
section h2 {
  color: var(--text-dark);
  font-size: 1.8rem;
  border-bottom: 3px solid var(--primary);
  padding-bottom: 0.3rem;
  margin-top: 2rem;
  position: relative;
  display: inline-block;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-light), transparent);
}

@media (prefers-color-scheme: dark) {
  section h2 {
    color: #ffffff;
  }
}

/* ===== 动漫卡片网格 ===== */
div[style*="grid-template-columns: repeat(auto-fill, minmax(160px,1fr))"] {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (max-width: 480px) {
  div[style*="grid-template-columns: repeat(auto-fill, minmax(160px,1fr))"] {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
  }
}

/* ===== 动漫卡片 ===== */
article {
  background: var(--light-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  border: 1px solid rgba(107, 76, 255, 0.08);
}

article:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

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

article:hover::before {
  transform: scaleX(1);
}

article img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

article:hover img {
  transform: scale(1.05);
}

article div {
  padding: 0.8rem 1rem;
  position: relative;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.02));
}

article h3 {
  color: var(--text-dark);
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

article:hover h3 {
  color: var(--primary);
}

article p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0.2rem 0;
  transition: color 0.3s ease;
}

@media (prefers-color-scheme: dark) {
  article {
    background: var(--dark-card);
    border-color: rgba(255, 255, 255, 0.05);
  }
  
  article h3 {
    color: #ffffff;
  }
  
  article p {
    color: #a0a0b8;
  }
}

/* ===== 新番推荐卡片 ===== */
div[style*="grid-template-columns: repeat(auto-fill, minmax(220px,1fr))"] {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

div[style*="grid-template-columns: repeat(auto-fill, minmax(220px,1fr))"] article {
  padding: 1rem;
  background: var(--light-card);
  border-radius: 12px;
  transition: var(--transition);
}

div[style*="grid-template-columns: repeat(auto-fill, minmax(220px,1fr))"] article:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

div[style*="grid-template-columns: repeat(auto-fill, minmax(220px,1fr))"] img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 0.8rem;
}

/* ===== 深度专题 ===== */
section[style*="background: #ffffff; border-radius: 16px; padding: 1.5rem 2rem"] {
  background: var(--light-card);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(107, 76, 255, 0.1);
}

section[style*="background: #ffffff; border-radius: 16px; padding: 1.5rem 2rem"]::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(107, 76, 255, 0.1), transparent);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

section[style*="background: #ffffff; border-radius: 16px; padding: 1.5rem 2rem"] p {
  color: var(--text-muted);
  margin: 0.8rem 0;
  line-height: 1.8;
}

section[style*="background: #ffffff; border-radius: 16px; padding: 1.5rem 2rem"] strong {
  color: var(--primary);
  font-weight: 600;
}

@media (prefers-color-scheme: dark) {
  section[style*="background: #ffffff; border-radius: 16px; padding: 1.5rem 2rem"] {
    background: var(--dark-card);
  }
  
  section[style*="background: #ffffff; border-radius: 16px; padding: 1.5rem 2rem"] p {
    color: #a0a0b8;
  }
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-20px, 20px); }
}

/* ===== 角色卡片 ===== */
div[style*="grid-template-columns: repeat(auto-fill, minmax(160px,1fr))"] div {
  background: var(--light-card);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(107, 76, 255, 0.08);
}

div[style*="grid-template-columns: repeat(auto-fill, minmax(160px,1fr))"] div:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

div[style*="grid-template-columns: repeat(auto-fill, minmax(160px,1fr))"] img {
  border-radius: 50%;
  width: 120px;
  height: 120px;
  object-fit: cover;
  transition: var(--transition);
  border: 3px solid transparent;
}

div[style*="grid-template-columns: repeat(auto-fill, minmax(160px,1fr))"] div:hover img {
  border-color: var(--primary);
  transform: scale(1.05);
}

div[style*="grid-template-columns: repeat(auto-fill, minmax(160px,1fr))"] h3 {
  color: var(--text-dark);
  margin: 0.8rem 0 0.3rem;
  font-size: 1.1rem;
}

div[style*="grid-template-columns: repeat(auto-fill, minmax(160px,1fr))"] p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0.2rem 0;
}

@media (prefers-color-scheme: dark) {
  div[style*="grid-template-columns: repeat(auto-fill, minmax(160px,1fr))"] div {
    background: var(--dark-card);
  }
  
  div[style*="grid-template-columns: repeat(auto-fill, minmax(160px,1fr))"] h3 {
    color: #ffffff;
  }
}

/* ===== 平台介绍 ===== */
section[style*="background: #1a1a2e; color: #f5f0ff; padding: 2rem; border-radius: 16px"] {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #2a1a5e 100%);
  color: var(--text-light);
  padding: 2rem;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

section[style*="background: #1a1a2e; color: #f5f0ff; padding: 2rem; border-radius: 16px"]::after {
  content: '✦';
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 4rem;
  opacity: 0.1;
  animation: sparkle 3s infinite;
}

section[style*="background: #1a1a2e; color: #f5f0ff; padding: 2rem; border-radius: 16px"] h2 {
  color: #ffffff;
  border-bottom-color: var(--primary-light);
}

section[style*="background: #1a1a2e; color: #f5f0ff; padding: 2rem; border-radius: 16px"] p {
  color: var(--text-light);
  line-height: 1.9;
}

/* ===== APP下载 ===== */
section[style*="background: #ffffff; padding: 2rem; border-radius: 16px"] {
  background: var(--light-card);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

@media (prefers-color-scheme: dark) {
  section[style*="background: #ffffff; padding: 2rem; border-radius: 16px"] {
    background: var(--dark-card);
  }
}

section[style*="background: #ffffff; padding: 2rem; border-radius: 16px"] div {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

section[style*="background: #ffffff; padding: 2rem; border-radius: 16px"] span {
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
}

section[style*="background: #ffffff; padding: 2rem; border-radius: 16px"] span:nth-child(1) {
  background: var(--primary);
  color: #ffffff;
}

section[style*="background: #ffffff; padding: 2rem; border-radius: 16px"] span:nth-child(1):hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(107, 76, 255, 0.3);
}

section[style*="background: #ffffff; padding: 2rem; border-radius: 16px"] span:nth-child(2) {
  background: var(--dark-bg);
  color: #ffffff;
}

section[style*="background: #ffffff; padding: 2rem; border-radius: 16px"] span:nth-child(2):hover {
  background: var(--dark-bg-2);
  transform: translateY(-2px);
}

section[style*="background: #ffffff; padding: 2rem; border-radius: 16px"] span:nth-child(3) {
  background: var(--dark-card);
  color: #ffffff;
}

section[style*="background: #ffffff; padding: 2rem; border-radius: 16px"] span:nth-child(3):hover {
  background: var(--dark-bg-2);
  transform: translateY(-2px);
}

/* ===== 用户评论 ===== */
div[style*="grid-template-columns: 1fr 1fr"] {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 768px) {
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr;
  }
}

div[style*="grid-template-columns: 1fr 1fr"] p {
  background: var(--light-card);
  padding: 1rem;
  border-radius: 8px;
  transition: var(--transition);
  border: 1px solid rgba(107, 76, 255, 0.05);
  box-shadow: var(--shadow-sm);
}

div[style*="grid-template-columns: 1fr 1fr"] p:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

@media (prefers-color-scheme: dark) {
  div[style*="grid-template-columns: 1fr 1fr"] p {
    background: var(--dark-card);
    color: #a0a0b8;
  }
}

/* ===== 侧边栏 ===== */
aside {
  background: var(--light-card);
  border-radius: 16px;
  padding: 1.5rem;
  height: fit-content;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 100px;
  border: 1px solid rgba(107, 76, 255, 0.08);
}

@media (max-width: 1024px) {
  aside {
    position: static;
    margin-top: 2rem;
  }
}

aside h2 {
  color: var(--text-dark);
  font-size: 1.5rem;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.3rem;
  margin-bottom: 1rem;
}

aside ol, aside ul {
  color: var(--text-muted);
  font-weight: 500;
  padding-left: 1.2rem;
  margin: 1rem 0;
}

aside li {
  padding: 0.3rem 0;
  transition: var(--transition);
  cursor: pointer;
}

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

aside p {
  color: var(--text-muted);
  margin: 0.5rem 0;
}

aside p[style*="background: #f8f4ff"] {
  background: var(--light-bg);
  padding: 0.8rem;
  border-radius: 8px;
  line-height: 1.8;
  border: 1px solid rgba(107, 76, 255, 0.1);
}

@media (prefers-color-scheme: dark) {
  aside {
    background: var(--dark-card);
  }
  
  aside h2 {
    color: #ffffff;
  }
  
  aside li, aside p {
    color: #a0a0b8;
  }
  
  aside p[style*="background: #f8f4ff"] {
    background: rgba(107, 76, 255, 0.1);
    border-color: rgba(107, 76, 255, 0.2);
  }
}

/* ===== 底部 ===== */
footer {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1030 100%);
  color: var(--text-light);
  padding: 2rem 1rem;
  margin-top: 3rem;
  border-top: 4px solid var(--primary);
  position: relative;
  overflow: hidden;
}

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

footer div {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

footer a {
  color: #b0a8ff;
  text-decoration: none;
  transition: var(--transition);
}

footer a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(107, 76, 255, 0.5);
}

footer span {
  opacity: 0.9;
}

/* ===== 响应式优化 ===== */
@media (max-width: 768px) {
  header {
    padding: 0.5rem;
  }
  
  nav {
    flex-direction: column;
    align-items: flex-start;
  }
  
  nav div:last-child {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
  }
  
  nav div:last-child a {
    white-space: nowrap;
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }
  
  h1 {
    font-size: 1.6rem;
  }
  
  section h2 {
    font-size: 1.4rem;
  }
  
  main {
    margin: 1rem auto;
    padding: 0 0.8rem;
  }
  
  section[style*="background: #ffffff; border-radius: 16px; padding: 1.5rem 2rem"] {
    padding: 1rem;
  }
  
  section[style*="background: #1a1a2e; color: #f5f0ff; padding: 2rem; border-radius: 16px"] {
    padding: 1.5rem;
  }
  
  section[style*="background: #ffffff; padding: 2rem; border-radius: 16px"] {
    padding: 1.5rem;
  }
  
  aside {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  nav a[href="/"] span {
    font-size: 1.5rem;
  }
  
  h1 {
    font-size: 1.4rem;
  }
  
  section h2 {
    font-size: 1.2rem;
  }
  
  div[style*="grid-template-columns: repeat(auto-fill, minmax(160px,1fr))"] {
    gap: 0.8rem;
  }
  
  footer div {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

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

section {
  animation: fadeInUp 0.6s ease both;
}

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

/* ===== 毛玻璃特效 ===== */
@supports (backdrop-filter: blur(10px)) {
  header {
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
  }
  
  article {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.8);
  }
  
  @media (prefers-color-scheme: dark) {
    article {
      background: rgba(45, 45, 68, 0.8);
    }
  }
}

/* ===== 渐变Banner效果 ===== */
h1::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 60%;
  background: linear-gradient(180deg, var(--primary-light), var(--primary-dark));
  border-radius: 0 5px 5px 0;
}

/* ===== 暗色模式增强 ===== */
@media (prefers-color-scheme: dark) {
  body {
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1030 100%);
  }
  
  main {
    background: transparent;
  }
  
  div[style*="grid-template-columns: 1fr 1fr"] p {
    background: var(--dark-card);
  }
  
  section[style*="background: #ffffff; padding: 2rem; border-radius: 16px"] p {
    color: #a0a0b8;
  }
  
  section[style*="background: #ffffff; border-radius: 16px; padding: 1.5rem 2rem"] h2 {
    color: #ffffff;
  }
}

/* ===== 打印样式 ===== */
@media print {
  header, footer, aside {
    display: none;
  }
  
  body {
    background: #ffffff;
    color: #000000;
  }
  
  main {
    grid-template-columns: 1fr;
  }
}

/* ===== 无障碍支持 ===== */
@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;
  }
}

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

/* ===== 选择器优化 ===== */
::selection {
  background: var(--primary);
  color: #ffffff;
}

/* ===== 图片加载动画 ===== */
img {
  opacity: 0;
  animation: imgFadeIn 0.5s ease forwards;
}

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

img[loading="lazy"] {
  opacity: 1;
}
```