```css
/* ============================================
   九一 - 二次元同好聚集地
   201810.cn | 暗色科幻风
   ============================================ */

/* ---------- 基础重置 & 全局变量 ---------- */
:root {
  --bg-primary: #0a0a18;
  --bg-secondary: #14142e;
  --bg-card: #1a1a35;
  --bg-card-hover: #1f1f40;
  --bg-glass: rgba(26, 26, 53, 0.7);
  --border-color: #2d2d55;
  --border-color-light: rgba(139, 92, 246, 0.3);
  --text-primary: #f0f0ff;
  --text-secondary: #e0e0f0;
  --text-muted: #b0b0d0;
  --text-dim: #8888aa;
  --accent: #8b5cf6;
  --accent-light: #a78bfa;
  --accent-dark: #6d28d9;
  --accent-glow: rgba(139, 92, 246, 0.4);
  --gradient-accent: linear-gradient(135deg, #7c3aed, #6d28d9);
  --gradient-accent-hover: linear-gradient(135deg, #8b5cf6, #7c3aed);
  --gradient-bg: linear-gradient(135deg, #0a0a18, #14142a);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-card-hover: 0 10px 30px rgba(139, 92, 246, 0.2);
  --shadow-btn: 0 5px 20px rgba(124, 58, 237, 0.4);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 999px;
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- 全局样式 ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg-secondary);
}

body {
  background: var(--gradient-bg);
  background-attachment: fixed;
  color: var(--text-secondary);
  font-family: var(--font-family);
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: var(--radius-full);
}

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

/* ---------- 链接 ---------- */
a {
  color: var(--accent-light);
  text-decoration: none;
  transition: color var(--transition-fast), text-decoration var(--transition-fast);
}

a:hover {
  color: #c4b5fd;
  text-decoration: underline;
}

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

/* ---------- 头部导航 ---------- */
header {
  background: rgba(13, 13, 32, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.logo h1 {
  font-size: 30px;
  color: var(--text-primary);
  font-weight: 800;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #a78bfa, #7c3aed, #6d28d9);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  position: relative;
}

.logo h1::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: var(--radius-full);
}

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

nav a {
  color: #d0d0e8;
  font-size: 15px;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
  transition: color var(--transition-base);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

nav a:hover {
  color: var(--accent-light);
  text-decoration: none;
}

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

nav a.active {
  color: var(--accent);
}

nav a.active::after {
  width: 100%;
}

/* ---------- 主内容 ---------- */
main {
  padding: 40px 0;
  position: relative;
}

section {
  margin-bottom: 50px;
  animation: fadeInUp 0.6s ease both;
}

/* ---------- 区块标题 ---------- */
.section-title {
  font-size: 32px;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-left: 15px;
  border-left: 4px solid var(--accent);
  font-weight: 700;
  letter-spacing: 1px;
  position: relative;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.1), transparent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 8px 15px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 30px;
  padding-left: 15px;
  font-weight: 400;
}

/* ---------- 卡片网格 ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 25px;
  margin-bottom: 20px;
}

/* ---------- 卡片 ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
  position: relative;
  animation: fadeInUp 0.5s ease both;
  animation-delay: calc(var(--card-index, 0) * 0.05s);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
  z-index: 1;
}

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

.card:hover::before {
  transform: scaleX(1);
}

.card img {
  width: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

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

.card-body {
  padding: 15px;
  position: relative;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.2));
}

.card-title {
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-weight: 600;
  transition: color var(--transition-base);
}

.card:hover .card-title {
  color: var(--accent-light);
}

.card-text {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 5px;
  line-height: 1.6;
}

.card-text span {
  color: var(--text-muted);
  font-size: 13px;
}

/* ---------- 徽章 ---------- */
.badge {
  display: inline-block;
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-light);
  padding: 3px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  margin: 3px 3px 3px 0;
  border: 1px solid rgba(139, 92, 246, 0.2);
  backdrop-filter: blur(4px);
  transition: all var(--transition-base);
  font-weight: 500;
}

.badge:hover {
  background: rgba(139, 92, 246, 0.25);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* ---------- 详情区块 ---------- */
.detail-section {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 35px;
  margin-bottom: 30px;
  border: 1px solid var(--border-color);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.detail-section:hover {
  border-color: var(--border-color-light);
  box-shadow: var(--shadow-card-hover);
}

.detail-section h3 {
  color: var(--text-primary);
  font-size: 22px;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
}

.detail-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: var(--radius-full);
}

.detail-section p {
  color: var(--text-secondary);
  margin-bottom: 15px;
  font-size: 15px;
  line-height: 1.8;
}

/* ---------- 平台区块 ---------- */
.platform-section {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 35px;
  margin-bottom: 30px;
  border: 1px solid var(--border-color);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.platform-section:hover {
  border-color: var(--border-color-light);
  box-shadow: var(--shadow-card-hover);
}

.platform-section h3 {
  color: var(--text-primary);
  font-size: 22px;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
}

.platform-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: var(--radius-full);
}

.platform-section p {
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.8;
}

/* ---------- APP下载 ---------- */
.app-download {
  background: linear-gradient(135deg, rgba(20, 20, 46, 0.9), rgba(28, 28, 58, 0.9));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.app-download::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

.app-download h3 {
  color: var(--text-primary);
  font-size: 26px;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.app-download p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 15px;
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- 按钮 ---------- */
.btn-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn {
  display: inline-block;
  padding: 14px 35px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left var(--transition-base);
}

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

.btn-primary {
  background: var(--gradient-accent);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
  background: var(--gradient-accent-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-btn);
  text-decoration: none;
  color: #ffffff;
}

.btn-primary:active {
  transform: translateY(-1px);
}

/* ---------- 评论卡片 ---------- */
.comment-card {
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 25px;
  margin-bottom: 15px;
  transition: all var(--transition-base);
  animation: fadeInUp 0.4s ease both;
  animation-delay: calc(var(--comment-index, 0) * 0.03s);
}

.comment-card:hover {
  border-color: var(--border-color-light);
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.1);
}

.comment-user {
  color: var(--accent-light);
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.comment-user::before {
  content: '👤';
  font-size: 14px;
}

.comment-text {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
}

.comment-time {
  color: var(--text-dim);
  font-size: 12px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.comment-time::before {
  content: '🕐';
  font-size: 11px;
}

/* ---------- 侧边栏 ---------- */
.sidebar {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 25px;
  margin-bottom: 30px;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.sidebar:hover {
  border-color: var(--border-color-light);
  box-shadow: var(--shadow-card);
}

.sidebar h3 {
  color: var(--text-primary);
  font-size: 20px;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 12px;
  position: relative;
}

.sidebar h3::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-light);
}

.sidebar ul {
  list-style: none;
}

.sidebar li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(45, 45, 85, 0.5);
  color: var(--text-secondary);
  font-size: 14px;
  display: flex;
  align-items: center;
  transition: all var(--transition-base);
}

.sidebar li:last-child {
  border-bottom: none;
}

.sidebar li:hover {
  color: var(--accent-light);
  padding-left: 5px;
}

.sidebar .rank-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--gradient-accent);
  color: #fff;
  border-radius: 50%;
  margin-right: 12px;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.sidebar .stat-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  color: var(--text-secondary);
  font-size: 14px;
  border-bottom: 1px solid rgba(45, 45, 85, 0.3);
  transition: all var(--transition-base);
}

.sidebar .stat-item:last-child {
  border-bottom: none;
}

.sidebar .stat-item:hover {
  padding-left: 5px;
  background: rgba(139, 92, 246, 0.05);
  border-radius: var(--radius-sm);
}

.sidebar .stat-num {
  color: var(--accent-light);
  font-weight: 600;
  font-size: 15px;
}

/* ---------- 页脚 ---------- */
footer {
  background: rgba(10, 10, 24, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
  margin-top: 50px;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

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

.footer-links a {
  color: var(--accent-light);
  font-size: 14px;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}

.footer-links a:hover {
  background: rgba(139, 92, 246, 0.1);
  transform: translateY(-2px);
  text-decoration: none;
}

.footer-info {
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 2;
}

.footer-info a {
  color: var(--accent-light);
  transition: color var(--transition-base);
}

.footer-info a:hover {
  color: #c4b5fd;
}

/* ---------- 两栏布局 ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  align-items: start;
}

/* ---------- 角色卡片 ---------- */
.role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.role-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: center;
  padding-bottom: 15px;
  transition: all var(--transition-base);
  position: relative;
}

.role-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.role-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-color-light);
}

.role-card:hover::before {
  transform: scaleX(1);
}

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

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

.role-name {
  color: var(--accent-light);
  font-size: 18px;
  font-weight: 600;
  margin: 12px 0 5px;
}

.role-identity {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 5px;
}

.role-ability {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 10px;
}

.role-desc {
  color: var(--text-secondary);
  font-size: 13px;
  padding: 0 12px;
  line-height: 1.6;
}

/* ---------- 标签 ---------- */
.tag {
  display: inline-block;
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent-light);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  margin: 5px 5px 0 0;
  border: 1px solid rgba(139, 92, 246, 0.15);
  transition: all var(--transition-base);
  cursor: default;
}

.tag:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: var(--accent);
  transform: translateY(-2px);
}

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

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

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

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .card-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .header-inner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  nav ul {
    justify-content: center;
    gap: 12px;
  }
  
  nav a {
    font-size: 14px;
    padding: 4px 8px;
  }
  
  .section-title {
    font-size: 24px;
    padding-left: 12px;
  }
  
  .card-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
  }
  
  .card-title {
    font-size: 16px;
  }
  
  .card-text {
    font-size: 13px;
  }
  
  .detail-section,
  .platform-section {
    padding: 20px;
  }
  
  .app-download {
    padding: 30px 20px;
  }
  
  .app-download h3 {
    font-size: 22px;
  }
  
  .btn {
    padding: 12px 25px;
    font-size: 14px;
  }
  
  .role-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
  }
  
  .role-name {
    font-size: 16px;
  }
  
  .sidebar {
    padding: 15px;
  }
  
  .sidebar h3 {
    font-size: 18px;
  }
  
  .grid-2 {
    gap: 15px;
  }
  
  main {
    padding: 25px 0;
  }
  
  section {
    margin-bottom: 35px;
  }
  
  .comment-card {
    padding: 15px 18px;
  }
}

@media (max-width: 480px) {
  .card-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
  }
  
  .card-body {
    padding: 10px;
  }
  
  .card-title {
    font-size: 14px;
    margin-bottom: 5px;
  }
  
  .card-text {
    font-size: 12px;
  }
  
  .badge {
    font-size: 11px;
    padding: 2px 8px;
  }
  
  .section-title {
    font-size: 20px;
  }
  
  .section-subtitle {
    font-size: 14px;
  }
  
  .footer-links {
    gap: 10px;
  }
  
  .footer-links a {
    font-size: 12px;
  }
  
  .role-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
  }
  
  .role-name {
    font-size: 14px;
  }
  
  .role-desc {
    font-size: 12px;
    padding: 0 8px;
  }
  
  .btn-group {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
}

/* ---------- 暗色模式增强 ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: #0a0a18;
    --bg-secondary: #14142e;
    --bg-card: #1a1a35;
    --bg-card-hover: #1f1f40;
    --border-color: #2d2d55;
    --text-primary: #f0f0ff;
    --text-secondary: #e0e0f0;
    --text-muted: #b0b0d0;
    --text-dim: #8888aa;
  }
}

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

/* ---------- 卡片动画延迟 ---------- */
.card:nth-child(1) { --card-index: 1; }
.card:nth-child(2) { --card-index: 2; }
.card:nth-child(3) { --card-index: 3; }
.card:nth-child(4) { --card-index: 4; }
.card:nth-child(5) { --card-index: 5; }
.card:nth-child(6) { --card-index: 6; }
.card:nth-child(7) { --card-index: 7; }
.card:nth-child(8) { --card-index: 8; }
.card:nth-child(9) { --card-index: 9; }
.card:nth-child(10) { --card-index: 10; }
.card:nth-child(11) { --card-index: 11; }
.card:nth-child(12) { --card-index: 12; }

/* ---------- 评论动画延迟 ---------- */
.comment-card:nth-child(1) { --comment-index: 1; }
.comment-card:nth-child(2) { --comment-index: 2; }
.comment-card:nth-child(3) { --comment-index: 3; }
.comment-card:nth-child(4) { --comment-index: 4; }
.comment-card:nth-child(5) { --comment-index: 5; }
.comment-card:nth-child(6) { --comment-index: 6; }
.comment-card:nth-child(7) { --comment-index: 7; }
.comment-card:nth-child(8) { --comment-index: 8; }
.comment-card:nth-child(9) { --comment-index: 9; }
.comment-card:nth-child(10) { --comment-index: 10; }
.comment-card:nth-child(11) { --comment-index: 11; }
.comment-card:nth-child(12) { --comment-index: 12; }
.comment-card:nth-child(13) { --comment-index: 13; }
.comment-card:nth-child(14) { --comment-index: 14; }
.comment-card:nth-child(15) { --comment-index: 15; }
.comment-card:nth-child(16) { --comment-index: 16; }
.comment-card:nth-child(17) { --comment-index: 17; }
.comment-card:nth-child(18) { --comment-index: 18; }

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

/* ---------- 焦点状态 ---------- */
a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- 工具类 ---------- */
.text-gradient {
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glass-effect {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
}

/* ---------- 滚动进度条 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-accent);
  z-index: 9999;
  transform-origin: 0 0;
  transform: scaleX(0);
}

/* ---------- 图片hover效果 ---------- */
.card img,
.role-card img {
  filter: brightness(0.95);
  transition: filter var(--transition-base), transform var(--transition-slow);
}

.card:hover img,
.role-card:hover img {
  filter: brightness(1.05);
}

/* ---------- 响应式字体 ---------- */
@media (max-width: 768px) {
  .logo h1 {
    font-size: 24px;
  }
  
  .section-title {
    font-size: 22px;
  }
  
  .detail-section h3,
  .platform-section h3 {
    font-size: 18px;
  }
  
  .detail-section p,
  .platform-section p {
    font-size: 14px;
  }
  
  .app-download h3 {
    font-size: 20px;
  }
  
  .app-download p {
    font-size: 14px;
  }
}

/* ---------- 打印样式 ---------- */
@media print {
  header,
  footer,
  .sidebar,
  .btn-group,
  .app-download {
    display: none !important;
  }
  
  body {
    background: #ffffff;
    color: #000000;
  }
  
  .card,
  .detail-section,
  .platform-section,
  .comment-card {
    break-inside: avoid;
    border: 1px solid #ddd;
    background: #ffffff;
  }
}
```