```css
/* ========== 基础变量 & Reset ========== */
:root {
  --bg-primary: #0f0c29;
  --bg-secondary: #1a1a2e;
  --bg-card: rgba(255, 255, 255, 0.08);
  --bg-glass: rgba(255, 255, 255, 0.1);
  --bg-hover: rgba(255, 255, 255, 0.15);
  --border-glass: rgba(255, 255, 255, 0.18);
  --text-primary: #e0e0ff;
  --text-secondary: #a0a0c0;
  --text-muted: #6c6c8a;
  --accent: #6b4cff;
  --accent-secondary: #4a6cf7;
  --accent-glow: rgba(107, 76, 255, 0.4);
  --accent-glow-strong: rgba(107, 76, 255, 0.7);
  --gradient-main: linear-gradient(135deg, #6b4cff 0%, #4a6cf7 50%, #00c9ff 100%);
  --gradient-banner: linear-gradient(135deg, rgba(107, 76, 255, 0.9) 0%, rgba(74, 108, 247, 0.85) 40%, rgba(0, 201, 255, 0.7) 100%);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 20px 48px rgba(107, 76, 255, 0.35);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(107, 76, 255, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(0, 201, 255, 0.1) 0%, transparent 35%),
    radial-gradient(circle at 50% 100%, rgba(74, 108, 247, 0.15) 0%, transparent 50%);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  transition: background 0.5s ease, color 0.3s ease;
}

/* ========== 暗色模式 (默认已暗色，保留变量切换) ========== */
@media (prefers-color-scheme: light) {
  :root {
    --bg-primary: #f8f4ff;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.75);
    --bg-hover: rgba(107, 76, 255, 0.08);
    --border-glass: rgba(107, 76, 255, 0.2);
    --text-primary: #1a1a2e;
    --text-secondary: #2d2d44;
    --text-muted: #6b6b8a;
    --shadow-card: 0 4px 20px rgba(26, 26, 46, 0.08);
    --shadow-hover: 0 16px 40px rgba(107, 76, 255, 0.2);
  }
}

/* ========== 滚动条 ========== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: rgba(107, 76, 255, 0.05);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: content-box;
  transition: var(--transition);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-secondary);
  background-clip: content-box;
}

/* ========== 排版 ========== */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

h1 {
  font-size: 2.2rem;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 1.9rem;
  margin: 2.5rem 0 1.5rem;
  position: relative;
  padding-left: 1.2rem;
  display: inline-block;
}

h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 80%;
  background: var(--gradient-main);
  border-radius: 4px;
  box-shadow: 0 0 20px var(--accent-glow);
}

h3 {
  font-size: 1.4rem;
  margin: 1.2rem 0 0.8rem;
  color: var(--text-primary);
}

p {
  margin-bottom: 0.8rem;
}

a {
  color: var(--accent-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

a:hover {
  color: var(--accent);
  text-decoration: none;
  text-shadow: 0 0 20px var(--accent-glow);
}

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

/* ========== 头部 ========== */
header {
  background: rgba(15, 12, 41, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 1.2rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo h1 {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  background: none;
  -webkit-text-fill-color: #ffffff;
  color: #ffffff;
  text-shadow: 0 0 30px var(--accent-glow);
}

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

nav a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 40px;
  transition: var(--transition);
  position: relative;
  background: transparent;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  border-radius: 2px;
  transition: var(--transition);
}

nav a:hover {
  color: #ffffff;
  background: rgba(107, 76, 255, 0.15);
  text-decoration: none;
  text-shadow: 0 0 20px var(--accent-glow);
}

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

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

.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fadeInUp 0.6s ease both;
  position: relative;
}

.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:nth-child(13) { animation-delay: 0.65s; }
.card:nth-child(14) { animation-delay: 0.7s; }
.card:nth-child(15) { animation-delay: 0.75s; }
.card:nth-child(16) { animation-delay: 0.8s; }

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
  background: var(--bg-hover);
}

.card img {
  width: 100%;
  height: auto;
  aspect-ratio: 300/420;
  object-fit: cover;
  background: var(--bg-secondary);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.card-body {
  padding: 1.2rem;
  position: relative;
  background: linear-gradient(to top, var(--bg-card) 0%, transparent 100%);
}

.card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  font-weight: 700;
  transition: var(--transition);
}

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

.card-body .meta {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0.2rem 0;
  line-height: 1.5;
}

/* ========== 徽章 ========== */
.badge {
  display: inline-block;
  background: var(--gradient-main);
  color: #ffffff;
  padding: 0.2rem 0.9rem;
  border-radius: 30px;
  font-size: 0.8rem;
  margin-right: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 10px var(--accent-glow);
}

.score {
  color: #f59e0b;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

/* ========== 布局 ========== */
.layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  margin: 2rem 0;
}

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

.sidebar h3 {
  border-bottom: 2px solid transparent;
  border-image: var(--gradient-main) 1;
  padding-bottom: 0.8rem;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.sidebar li {
  padding: 0.7rem 0.5rem;
  border-bottom: 1px dashed rgba(107, 76, 255, 0.2);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition);
  border-radius: 8px;
  cursor: default;
}

.sidebar li:hover {
  background: rgba(107, 76, 255, 0.1);
  padding-left: 1rem;
}

.sidebar .num {
  color: var(--accent);
  font-weight: 800;
  margin-right: 0.6rem;
  font-size: 0.9rem;
  display: inline-block;
  min-width: 2.2rem;
}

.stats {
  background: linear-gradient(135deg, rgba(107, 76, 255, 0.1) 0%, rgba(0, 201, 255, 0.1) 100%);
  padding: 1.2rem;
  border-radius: var(--radius-md);
  margin: 1rem 0;
  border: 1px solid var(--border-glass);
}

.stats p {
  color: var(--text-primary);
  font-weight: 600;
  margin: 0.3rem 0;
  font-size: 0.95rem;
}

/* ========== 按钮 ========== */
.btn {
  display: inline-block;
  background: var(--gradient-main);
  color: #ffffff;
  padding: 0.8rem 2rem;
  border-radius: 40px;
  font-weight: 600;
  margin: 0.5rem 0.5rem 0 0;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px var(--accent-glow);
  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: var(--accent-secondary);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow-strong);
  color: #ffffff;
  text-decoration: none;
}

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

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

.btn-outline:hover {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 8px 30px var(--accent-glow);
}

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

.comment-list li {
  background: var(--bg-card);
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
  animation: fadeInUp 0.5s ease both;
}

.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:hover {
  transform: translateX(5px);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(107, 76, 255, 0.15);
}

.comment-list .user {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1.05rem;
}

.comment-list .time {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-left: 1rem;
}

.comment-list p {
  margin-top: 0.5rem;
  color: var(--text-secondary);
}

/* ========== Footer ========== */
footer {
  background: rgba(15, 12, 41, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--text-secondary);
  padding: 3rem 0;
  margin-top: 4rem;
  border-top: 1px solid var(--border-glass);
  position: relative;
  overflow: hidden;
}

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

footer a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  margin-right: 1.2rem;
  display: inline-block;
  padding: 0.2rem 0;
}

footer a:hover {
  color: #ffffff;
  text-shadow: 0 0 20px var(--accent-glow);
}

.friend-links {
  margin-bottom: 2rem;
}

.friend-links strong {
  color: #ffffff;
  margin-right: 1rem;
  font-size: 1.1rem;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.copyright p {
  margin: 0.3rem 0;
}

/* ========== 内容区块样式 ========== */
#detail > div,
#about > div,
#app > div {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

#detail > div::before,
#about > div::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-main);
  border-radius: 3px;
}

#detail p,
#about p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

#detail strong,
#about strong {
  color: var(--text-primary);
  font-weight: 700;
}

#app > div {
  background: linear-gradient(135deg, rgba(107, 76, 255, 0.2) 0%, rgba(74, 108, 247, 0.15) 50%, rgba(0, 201, 255, 0.1) 100%);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

#app p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

#app p:first-child {
  font-size: 1.4rem;
  color: var(--text-primary);
  font-weight: 700;
}

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

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

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

/* ========== 滚动动画 ========== */
section {
  animation: fadeInUp 0.8s ease both;
}

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

/* ========== 响应式 ========== */
@media (max-width: 1200px) {
  .card-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.2rem;
  }
}

@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }
  
  nav ul {
    gap: 0.5rem;
    justify-content: center;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  header .container {
    flex-direction: column;
    text-align: center;
  }
  
  .sidebar {
    position: static;
    margin-top: 2rem;
  }
}

@media (max-width: 600px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem;
  }
  
  h3 {
    font-size: 1.1rem;
  }
  
  .card-body {
    padding: 0.8rem;
  }
  
  .card-body h3 {
    font-size: 1rem;
  }
  
  .card-body .meta {
    font-size: 0.8rem;
  }
  
  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .comment-list li {
    padding: 1rem;
  }
  
  .sidebar {
    padding: 1.2rem;
  }
  
  .friend-links a {
    margin-right: 0.8rem;
    font-size: 0.9rem;
  }
  
  .logo h1 {
    font-size: 1.6rem;
  }
}

@media (max-width: 400px) {
  .card-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }
  
  .card-body .meta {
    font-size: 0.75rem;
  }
  
  .badge {
    font-size: 0.7rem;
    padding: 0.1rem 0.6rem;
  }
}

/* ========== 滚动条动画 ========== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ========== 文章详情 ========== */
#detail .container {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

/* ========== 角色卡片特殊样式 ========== */
#characters .card {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
}

#characters .card-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0.3rem 0;
}

/* ========== 侧边栏标题图标 ========== */
.sidebar h3::before {
  content: '◆';
  color: var(--accent);
  font-size: 0.8rem;
  margin-right: 0.5rem;
}

/* ========== 渐变Banner效果 ========== */
#app > div {
  background: linear-gradient(135deg, 
    rgba(107, 76, 255, 0.3) 0%, 
    rgba(74, 108, 247, 0.2) 30%, 
    rgba(0, 201, 255, 0.15) 70%,
    rgba(107, 76, 255, 0.25) 100%);
  position: relative;
  overflow: hidden;
}

#app > div::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}

/* ========== 选中状态 ========== */
::selection {
  background: var(--accent);
  color: #ffffff;
  text-shadow: none;
}

/* ========== 链接下划线动画 ========== */
.copyright a,
.friend-links a {
  position: relative;
}

.copyright a::after,
.friend-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gradient-main);
  transition: width 0.3s ease;
}

.copyright a:hover::after,
.friend-links a:hover::after {
  width: 100%;
}

/* ========== 卡片加载骨架屏 ========== */
.card {
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  animation: shimmer 2s infinite;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover::before {
  opacity: 1;
}

/* ========== 自定义工具类 ========== */
.text-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center {
  text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ========== 页面加载动画 ========== */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  z-index: 9999;
  animation: pageLoad 0.5s ease forwards;
  pointer-events: none;
}

@keyframes pageLoad {
  from { opacity: 1; }
  to { opacity: 0; visibility: hidden; }
}

/* ========== 滚动进度条 ========== */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-main);
  z-index: 10000;
  width: 0;
  opacity: 0.8;
  box-shadow: 0 0 20px var(--accent-glow);
  transition: width 0.1s ease;
}

/* ========== 性能优化: 硬件加速 ========== */
.card,
.sidebar,
.btn,
.comment-list li {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* ========== 打印样式 ========== */
@media print {
  header,
  footer,
  .sidebar,
  .btn,
  nav {
    display: none !important;
  }
  
  body {
    background: #ffffff;
    color: #000000;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}
```