```css
/* ===== 鉴黄师app 主题样式 v2.0 ===== */
/* 基础重置与紫色+白色主题 */
:root {
  --primary: #6B4CFF;
  --primary-light: #9B7BFF;
  --primary-dark: #4A2DBF;
  --primary-bg: #F8F4FF;
  --primary-border: #E4D9FF;
  --primary-soft: #F0EBFF;
  --bg: #F8F4FF;
  --bg-card: #FFFFFF;
  --text-primary: #1A1A2E;
  --text-secondary: #2D2D44;
  --text-muted: #6E6E8C;
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.08);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --gradient-primary: linear-gradient(135deg, #6B4CFF 0%, #9B7BFF 100%);
  --gradient-banner: linear-gradient(135deg, #1A1A2E 0%, #2D1B4E 50%, #4A2DBF 100%);
  --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

/* 暗色模式支持 */
@media (prefers-color-scheme: dark) {
  :root {
    --primary: #9B7BFF;
    --primary-light: #B89FFF;
    --primary-dark: #6B4CFF;
    --primary-bg: #12101F;
    --primary-border: #2D2440;
    --primary-soft: #1E1830;
    --bg: #12101F;
    --bg-card: #1A1626;
    --text-primary: #EAE4F8;
    --text-secondary: #C8C0E0;
    --text-muted: #8A7FA8;
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.3);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.4);
    --shadow-lg: 0 16px 40px rgba(0,0,0,0.5);
  }
}

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

html {
  scroll-behavior: smooth;
}

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

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

h1, h2, h3 { color: var(--text-primary); font-weight: 700; line-height: 1.3; }
h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h2 { 
  font-size: clamp(1.4rem, 3vw, 1.75rem); 
  margin: 2rem 0 1.2rem; 
  border-left: 6px solid var(--primary);
  padding-left: 1rem;
  position: relative;
  overflow: hidden;
}
h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
h2:hover::after {
  transform: scaleX(1);
}
h3 { font-size: 1.25rem; margin: 1rem 0 0.5rem; }

p { line-height: 1.7; }

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

/* ===== 导航栏 ===== */
nav {
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  padding: 0.8rem 0;
  position: sticky; 
  top: 0; 
  z-index: 1000;
  border-bottom: 2px solid var(--primary-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.85);
}

@media (prefers-color-scheme: dark) {
  nav {
    background: rgba(26, 22, 38, 0.85);
  }
}

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

.logo { 
  font-size: 1.6rem; 
  font-weight: 800; 
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.logo:hover {
  transform: scale(1.05);
  text-decoration: none;
}

.nav-links { 
  display: flex; 
  gap: 1.5rem; 
  flex-wrap: wrap;
  align-items: center;
}

.nav-links a { 
  font-weight: 600; 
  color: var(--text-primary);
  font-size: 0.95rem;
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary);
  text-decoration: none;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--primary-border);
  transition: var(--transition);
  position: relative;
  animation: fadeInUp 0.6s ease both;
  transform: translateY(0);
}

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

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

.card img { 
  width: 100%; 
  height: auto; 
  display: block; 
  background: var(--primary-soft);
  transition: transform 0.4s ease;
  aspect-ratio: 5/7;
  object-fit: cover;
}

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

.card-body { 
  padding: 1rem;
  position: relative;
}

.card-body h3 { 
  font-size: 1.1rem; 
  margin-bottom: 0.25rem;
  transition: color 0.3s ease;
}

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

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

.badge { 
  background: var(--primary-soft); 
  color: var(--text-primary); 
  display: inline-block; 
  padding: 0.2rem 0.7rem; 
  border-radius: 30px; 
  font-size: 0.75rem; 
  font-weight: 600; 
  margin-top: 0.4rem;
  border: 1px solid var(--primary-border);
  transition: var(--transition);
}

.card:hover .badge {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
}

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

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

aside { 
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--primary-border);
  height: fit-content;
  position: sticky;
  top: 90px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.9);
}

@media (prefers-color-scheme: dark) {
  aside {
    background: rgba(26, 22, 38, 0.9);
  }
}

aside h3 { 
  border-bottom: 2px solid var(--primary-border); 
  padding-bottom: 0.5rem;
  margin-bottom: 0.8rem;
}

.rank-item { 
  display: flex; 
  justify-content: space-between; 
  padding: 0.6rem 0; 
  border-bottom: 1px dashed var(--primary-border); 
  font-size: 0.95rem;
  transition: var(--transition);
}

.rank-item:hover {
  padding-left: 0.5rem;
  color: var(--primary);
}

.stat-box { 
  background: var(--primary-bg); 
  border-radius: var(--radius-md); 
  padding: 1rem; 
  margin-top: 1.2rem;
  border: 1px solid var(--primary-border);
  transition: var(--transition);
}

.stat-box:hover {
  box-shadow: var(--shadow-md);
}

.stat-box p {
  margin: 0.35rem 0;
  color: var(--text-secondary);
}

/* ===== 评论列表 ===== */
.comment-list { 
  list-style: none;
  margin: 1.5rem 0;
}

.comment-list li { 
  background: var(--bg-card); 
  border-radius: var(--radius-md); 
  padding: 1rem; 
  margin-bottom: 0.8rem; 
  border: 1px solid var(--primary-border);
  transition: var(--transition);
  animation: fadeInUp 0.4s ease both;
}

.comment-list li:nth-child(2n) { animation-delay: 0.05s; }
.comment-list li:nth-child(3n) { animation-delay: 0.1s; }
.comment-list li:nth-child(4n) { animation-delay: 0.15s; }

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

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

.comment-meta { 
  font-size: 0.8rem; 
  color: var(--primary);
  margin-left: 0.5rem;
}

/* ===== 按钮 ===== */
.btn-group { 
  display: flex; 
  gap: 1rem; 
  flex-wrap: wrap; 
  margin: 1.5rem 0;
}

.btn { 
  background: var(--gradient-primary); 
  color: white !important; 
  padding: 0.8rem 2rem; 
  border-radius: 60px; 
  font-weight: 700; 
  display: inline-block; 
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(107, 76, 255, 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, #5A3BE0, #8B6BFF);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 76, 255, 0.4);
  text-decoration: none;
  color: white;
}

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

.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(107, 76, 255, 0.2);
}

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

.btn-outline:hover { 
  background: var(--primary-soft); 
  border-color: var(--primary-light);
  color: var(--primary) !important;
  box-shadow: var(--shadow-sm);
}

/* ===== 页脚 ===== */
footer { 
  background: var(--bg-card); 
  border-top: 2px solid var(--primary-border); 
  margin-top: 3rem; 
  padding: 2rem 0;
  position: relative;
}

.footer-links { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 1.8rem; 
  justify-content: center;
}

.footer-links a { 
  color: var(--text-primary); 
  font-weight: 500;
  transition: var(--transition);
}

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

.footer-copy { 
  text-align: center; 
  color: var(--text-secondary); 
  margin-top: 1.5rem; 
  font-size: 0.9rem;
}

/* ===== 介绍区块 ===== */
.intro-text { 
  background: var(--bg-card); 
  padding: 2rem; 
  border-radius: var(--radius-lg); 
  border: 1px solid var(--primary-border); 
  margin: 1.5rem 0;
  position: relative;
  overflow: hidden;
}

.intro-text::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(107, 76, 255, 0.08), transparent);
  border-radius: 50%;
}

.intro-text h2 {
  margin-top: 0;
}

.intro-text h3 {
  color: var(--primary);
  margin-top: 1.2rem;
}

.intro-text p {
  margin-bottom: 0.8rem;
  color: var(--text-secondary);
}

/* ===== 角色网格 ===== */
.char-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); 
  gap: 1.2rem;
  margin: 1.5rem 0;
}

.char-item { 
  background: var(--bg-card); 
  border-radius: var(--radius-md); 
  padding: 1.5rem 1rem; 
  text-align: center; 
  border: 1px solid var(--primary-border);
  transition: var(--transition);
  animation: fadeInUp 0.5s ease both;
}

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

.char-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.char-item img { 
  border-radius: 50%; 
  width: 100px; 
  height: 100px; 
  object-fit: cover; 
  margin-bottom: 0.8rem;
  border: 3px solid var(--primary-soft);
  transition: var(--transition);
}

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

.char-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.char-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0.2rem 0;
}

/* ===== 渐变Banner区 ===== */
.hero-banner {
  background: var(--gradient-banner);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
  color: white;
}

.hero-banner h1 {
  color: white;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
}

.hero-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 600px;
}

/* ===== 滚动动画 ===== */
@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 gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 滚动进入动画 */
@media (prefers-reduced-motion: no-preference) {
  .grid-cards > .card,
  .char-grid > .char-item,
  .comment-list > li {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
  }

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

/* ===== 图片占位 ===== */
img { 
  background: var(--primary-soft);
  max-width: 100%;
  height: auto;
}

/* ===== 响应式优化 ===== */
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  
  .nav-links {
    gap: 1rem;
    font-size: 0.9rem;
  }
  
  .nav-links a {
    font-size: 0.85rem;
  }
  
  .grid-cards {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
  }
  
  .card-body {
    padding: 0.8rem;
  }
  
  .card-body h3 {
    font-size: 1rem;
  }
  
  .card-body p {
    font-size: 0.8rem;
  }
  
  .intro-text {
    padding: 1.5rem;
  }
  
  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
  
  aside {
    position: static;
    margin-top: 2rem;
  }
  
  .layout {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.3rem;
  }
  
  .nav-links {
    gap: 0.8rem;
    justify-content: center;
    width: 100%;
  }
  
  .grid-cards {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.8rem;
  }
  
  .card-body {
    padding: 0.6rem;
  }
  
  .card-body h3 {
    font-size: 0.9rem;
  }
  
  .card-body p {
    font-size: 0.75rem;
  }
  
  .badge {
    font-size: 0.65rem;
    padding: 0.15rem 0.5rem;
  }
  
  h2 {
    font-size: 1.3rem;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  .hero-banner {
    padding: 2rem 1rem;
  }
  
  .hero-banner h1 {
    font-size: 1.8rem;
  }
  
  .hero-banner p {
    font-size: 0.95rem;
  }
  
  .btn-group {
    gap: 0.6rem;
  }
  
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    width: 100%;
    text-align: center;
  }
  
  .char-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.8rem;
  }
  
  .char-item img {
    width: 80px;
    height: 80px;
  }
  
  .comment-list li {
    padding: 0.8rem;
  }
}

/* 毛玻璃效果增强 */
@media (min-width: 768px) {
  .card {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    background: rgba(255, 255, 255, 0.92);
  }
  
  @media (prefers-color-scheme: dark) {
    .card {
      background: rgba(26, 22, 38, 0.92);
    }
  }
}

/* 自定义滚动条 */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

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

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

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

/* 选择文本样式 */
::selection {
  background: var(--primary);
  color: white;
}

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

/* 打印样式 */
@media print {
  nav, footer, .btn-group, aside {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .card, .intro-text, .char-item, .comment-list li {
    box-shadow: none;
    border: 1px solid #ddd;
    break-inside: avoid;
  }
  
  h2::after {
    display: none;
  }
}
```