/* roulang page: index */
/* ===== 设计变量 ===== */
:root {
  --clr-primary: #0d0d1a;
  --clr-secondary: #16162a;
  --clr-surface: #1a1a35;
  --clr-card: #1e1e3a;
  --clr-card-hover: #28284f;
  --clr-border: #2a2a4a;
  --clr-border-light: #3a3a5a;
  --clr-accent: #f0b90b;
  --clr-accent-hover: #d4a309;
  --clr-accent-glow: rgba(240, 185, 11, 0.25);
  --clr-purple: #7c3aed;
  --clr-purple-hover: #6d28d9;
  --clr-purple-glow: rgba(124, 58, 237, 0.3);
  --clr-text: #ffffff;
  --clr-text-secondary: #c4c4d4;
  --clr-text-muted: #8888aa;
  --clr-badge-bg: rgba(240, 185, 11, 0.15);
  --clr-badge-text: #f0b90b;
  --clr-overlay: rgba(0, 0, 0, 0.65);
  --clr-overlay-light: rgba(0, 0, 0, 0.40);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(240, 185, 11, 0.08);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1200px;
  --header-height: 80px;
  --space-section: 100px;
  --space-section-mobile: 60px;
}

/* ===== 基础 reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--clr-text);
  background: var(--clr-primary);
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: var(--clr-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--clr-accent-hover); }
a:focus-visible { outline: 2px solid var(--clr-accent); outline-offset: 2px; border-radius: 4px; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font-family: inherit; font-size: inherit; border: none; outline: none; }
button { cursor: pointer; background: none; }
button:focus-visible { outline: 2px solid var(--clr-accent); outline-offset: 2px; }
ul, ol { list-style: none; }

/* ===== 容器 ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 768px) {
  .container { padding: 0 16px; }
}

/* ===== 排版 ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.25;
  color: var(--clr-text);
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.2rem; }
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: var(--clr-badge-bg);
  color: var(--clr-badge-text);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
  border: 1px solid rgba(240, 185, 11, 0.15);
}
.section-title {
  text-align: center;
  margin-bottom: 12px;
}
.section-subtitle {
  text-align: center;
  color: var(--clr-text-secondary);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .section-subtitle { margin-bottom: 32px; font-size: 1rem; }
}

/* ===== 导航 ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 12px 0;
  background: rgba(13, 13, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(42, 42, 74, 0.5);
  transition: background var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  background: rgba(13, 13, 26, 0.96);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}
.nav-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 6px 20px;
  background: rgba(22, 22, 42, 0.8);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.04);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--clr-text);
  white-space: nowrap;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.nav-logo .logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--clr-accent), #d4a309);
  border-radius: var(--radius-sm);
  color: var(--clr-primary);
  font-size: 1.1rem;
  font-weight: 900;
  box-shadow: 0 0 20px rgba(240, 185, 11, 0.2);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 8px 20px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--clr-text-secondary);
  transition: all var(--transition);
  position: relative;
  letter-spacing: 0.01em;
}
.nav-links a:hover {
  color: var(--clr-text);
  background: rgba(255,255,255,0.05);
}
.nav-links a.active {
  color: var(--clr-accent);
  background: rgba(240, 185, 11, 0.1);
  box-shadow: inset 0 0 0 1px rgba(240, 185, 11, 0.15);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--clr-accent), #d4a309);
  color: #0d0d1a;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all var(--transition);
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(240, 185, 11, 0.2);
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(240, 185, 11, 0.35);
  color: #0d0d1a;
}
.nav-cta i { font-size: 0.85rem; }
.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--clr-text);
  font-size: 1.4rem;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--clr-border);
  transition: background var(--transition);
}
.mobile-toggle:hover { background: rgba(255,255,255,0.1); }
@media (max-width: 768px) {
  .header { padding: 8px 0; }
  .nav-panel { padding: 4px 14px; gap: 10px; border-radius: var(--radius-md); }
  .nav-logo { font-size: 1rem; }
  .nav-logo .logo-icon { width: 30px; height: 30px; font-size: 0.9rem; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 12px;
    right: 12px;
    flex-direction: column;
    gap: 4px;
    background: rgba(22, 22, 42, 0.97);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 12px;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; width: 100%; }
  .mobile-toggle { display: flex; }
  .nav-cta { padding: 8px 16px; font-size: 0.82rem; }
  .nav-cta span { display: none; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + 40px) 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,13,26,0.85) 0%, rgba(13,13,26,0.60) 50%, rgba(13,13,26,0.85) 100%);
}
.hero-overlay-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 700px;
  height: 40%;
  background: radial-gradient(ellipse at center, rgba(240,185,11,0.08) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  padding: 0 20px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 22px;
  background: rgba(240, 185, 11, 0.1);
  border: 1px solid rgba(240, 185, 11, 0.2);
  border-radius: 50px;
  color: var(--clr-accent);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
}
.hero-badge i { font-size: 0.8rem; }
.hero h1 {
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, var(--clr-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 60px rgba(240, 185, 11, 0.1);
}
.hero p {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--clr-text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.hero-actions .btn-primary {
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--clr-accent), #d4a309);
  color: #0d0d1a;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.05rem;
  transition: all var(--transition);
  box-shadow: 0 8px 30px rgba(240, 185, 11, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero-actions .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(240, 185, 11, 0.4);
}
.hero-actions .btn-secondary {
  padding: 16px 36px;
  background: rgba(255,255,255,0.06);
  color: var(--clr-text);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1.05rem;
  transition: all var(--transition);
  border: 1px solid var(--clr-border);
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero-actions .btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--clr-border-light);
  transform: translateY(-3px);
}
.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 60px;
  flex-wrap: wrap;
}
.hero-stat-item {
  text-align: center;
}
.hero-stat-item .num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--clr-accent);
  line-height: 1.2;
}
.hero-stat-item .label {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  margin-top: 4px;
}
@media (max-width: 768px) {
  .hero { min-height: 90vh; padding: calc(var(--header-height) + 20px) 0 50px; }
  .hero-stats { gap: 24px; margin-top: 40px; }
  .hero-stat-item .num { font-size: 1.6rem; }
  .hero-actions .btn-primary, .hero-actions .btn-secondary { padding: 14px 28px; font-size: 0.95rem; }
}

/* ===== 通用板块 ===== */
.section {
  padding: var(--space-section) 0;
  position: relative;
}
.section-dark {
  background: var(--clr-secondary);
}
.section-divider {
  position: relative;
}
.section-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-border), transparent);
}
@media (max-width: 768px) {
  .section { padding: var(--space-section-mobile) 0; }
}

/* ===== 特色卡片 ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-accent), var(--clr-purple));
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--clr-border-light);
  box-shadow: var(--shadow-glow), var(--shadow-md);
  background: var(--clr-card-hover);
}
.feature-card:hover::before { opacity: 1; }
.feature-card .icon-wrap {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 1.6rem;
  color: var(--clr-accent);
  background: rgba(240, 185, 11, 0.08);
  border: 1px solid rgba(240, 185, 11, 0.1);
  transition: all var(--transition);
}
.feature-card:hover .icon-wrap {
  background: rgba(240, 185, 11, 0.15);
  transform: scale(1.05);
}
.feature-card h3 { margin-bottom: 12px; font-weight: 700; }
.feature-card p { color: var(--clr-text-secondary); font-size: 0.95rem; line-height: 1.6; }
@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; gap: 20px; }
  .feature-card { padding: 28px 20px; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== 分类入口 ===== */
.category-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}
.category-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--clr-border);
  transition: all var(--transition);
}
.category-image:hover {
  border-color: var(--clr-accent);
  box-shadow: 0 0 40px rgba(240, 185, 11, 0.08);
}
.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.category-image:hover img { transform: scale(1.04); }
.category-image .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,26,0.7) 0%, transparent 60%);
}
.category-info h2 { margin-bottom: 16px; }
.category-info p { color: var(--clr-text-secondary); font-size: 1.05rem; line-height: 1.7; margin-bottom: 24px; }
.category-info .btn-category {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--clr-purple), #5b21b6);
  color: #ffffff;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all var(--transition);
  border: 1px solid rgba(124, 58, 237, 0.3);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.2);
}
.category-info .btn-category:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.35);
  color: #ffffff;
}
@media (max-width: 768px) {
  .category-showcase { grid-template-columns: 1fr; gap: 20px; }
  .category-image { aspect-ratio: 16 / 9; }
}

/* ===== 资讯列表 ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.news-card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  border-color: var(--clr-border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: var(--clr-card-hover);
}
.news-card .meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.82rem;
}
.news-card .meta .tag {
  padding: 2px 12px;
  background: var(--clr-badge-bg);
  color: var(--clr-badge-text);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.75rem;
}
.news-card .meta .date {
  color: var(--clr-text-muted);
}
.news-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card h3 a {
  color: var(--clr-text);
  transition: color var(--transition);
}
.news-card h3 a:hover { color: var(--clr-accent); }
.news-card p {
  color: var(--clr-text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
  flex: 1;
}
.news-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--clr-accent);
  font-weight: 600;
  font-size: 0.88rem;
  transition: gap var(--transition);
}
.news-card .read-more:hover { gap: 10px; color: var(--clr-accent-hover); }
.news-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--clr-text-muted);
  background: var(--clr-card);
  border: 1px dashed var(--clr-border);
  border-radius: var(--radius-lg);
  font-size: 1rem;
}
.news-empty i { font-size: 2rem; margin-bottom: 16px; display: block; opacity: 0.5; }
@media (max-width: 768px) {
  .news-grid { grid-template-columns: 1fr; gap: 16px; }
  .news-card { padding: 18px; }
}

/* ===== 数据统计 ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  transition: all var(--transition);
}
.stat-card:hover {
  border-color: var(--clr-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.stat-card .stat-icon {
  font-size: 2rem;
  color: var(--clr-accent);
  margin-bottom: 16px;
  opacity: 0.7;
}
.stat-card .stat-number {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--clr-text);
  line-height: 1.2;
  margin-bottom: 6px;
}
.stat-card .stat-number .suffix { color: var(--clr-accent); font-size: 1.8rem; }
.stat-card .stat-label {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-card { padding: 24px 16px; }
  .stat-card .stat-number { font-size: 2rem; }
}
@media (max-width: 420px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* ===== 推荐游戏 ===== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.game-card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--clr-border-light);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}
.game-card .game-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}
.game-card .game-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.game-card:hover .game-img img { transform: scale(1.05); }
.game-card .game-img .game-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 14px;
  background: rgba(240, 185, 11, 0.9);
  color: #0d0d1a;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
}
.game-card .game-body {
  padding: 20px;
}
.game-card .game-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 700;
}
.game-card .game-body p {
  color: var(--clr-text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.game-card .game-body .game-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--clr-text-muted);
}
.game-card .game-body .game-meta i { margin-right: 4px; }
@media (max-width: 768px) {
  .games-grid { grid-template-columns: 1fr; gap: 18px; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item:hover { border-color: var(--clr-border-light); }
.faq-item.active { border-color: var(--clr-accent); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  color: var(--clr-text);
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
  background: none;
  transition: background var(--transition);
}
.faq-question:hover { background: rgba(255,255,255,0.02); }
.faq-question .faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(240, 185, 11, 0.1);
  color: var(--clr-accent);
  transition: transform var(--transition);
  font-size: 0.8rem;
}
.faq-item.active .faq-icon { transform: rotate(180deg); background: rgba(240, 185, 11, 0.2); }
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.35s ease;
}
.faq-item.active .faq-answer {
  padding: 0 24px 20px;
  max-height: 300px;
}
.faq-answer p {
  color: var(--clr-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}
@media (max-width: 768px) {
  .faq-question { padding: 16px 18px; font-size: 0.95rem; }
  .faq-answer p { font-size: 0.9rem; }
}

/* ===== CTA ===== */
.cta-section {
  background: var(--clr-secondary);
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(240,185,11,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.cta-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px;
}
.cta-content h2 { margin-bottom: 16px; }
.cta-content p { color: var(--clr-text-secondary); font-size: 1.1rem; margin-bottom: 32px; }
.cta-content .btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 48px;
  background: linear-gradient(135deg, var(--clr-accent), #d4a309);
  color: #0d0d1a;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.1rem;
  transition: all var(--transition);
  box-shadow: 0 8px 30px rgba(240, 185, 11, 0.2);
}
.cta-content .btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(240, 185, 11, 0.35);
  color: #0d0d1a;
}
@media (max-width: 768px) {
  .cta-section { padding: 50px 0; }
  .cta-content .btn-cta { padding: 14px 32px; font-size: 1rem; }
}

/* ===== 页脚 ===== */
.footer {
  background: #08081a;
  border-top: 1px solid var(--clr-border);
  padding: 50px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .footer-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--clr-text);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand .footer-logo .logo-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--clr-accent), #d4a309);
  border-radius: var(--radius-sm);
  color: var(--clr-primary);
  font-weight: 900;
  font-size: 0.9rem;
}
.footer-brand p {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
}
.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--clr-text);
}
.footer-col a {
  display: block;
  padding: 4px 0;
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--clr-accent); }
.footer-bottom {
  border-top: 1px solid rgba(42, 42, 74, 0.4);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}
.footer-bottom a { color: var(--clr-text-muted); }
.footer-bottom a:hover { color: var(--clr-accent); }
.footer-bottom .footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom .footer-links { justify-content: center; }
}

/* ===== 移动端适配补丁 ===== */
@media (max-width: 520px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn-primary, .hero-actions .btn-secondary { width: 100%; justify-content: center; }
  .hero-stat-item .num { font-size: 1.4rem; }
  .section-title { font-size: 1.6rem; }
}

/* ===== 滚动条美化 ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--clr-primary); }
::-webkit-scrollbar-thumb { background: var(--clr-border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--clr-border-light); }

/* ===== 动画 ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

/* ===== 加载骨架 ===== */
.skeleton {
  background: linear-gradient(90deg, var(--clr-card) 25%, var(--clr-card-hover) 50%, var(--clr-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* roulang page: article */
:root {
  --primary: #f59e0b;
  --primary-dark: #d97706;
  --primary-light: #fbbf24;
  --accent: #ef4444;
  --accent-dark: #dc2626;
  --bg-dark: #0f0f1a;
  --bg-card: #1a1a2e;
  --bg-card-hover: #222240;
  --bg-section: #12121f;
  --bg-section-alt: #1a1a30;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: rgba(245, 158, 11, 0.15);
  --border-light: rgba(255, 255, 255, 0.06);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(245, 158, 11, 0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-light); }

img { max-width: 100%; height: auto; display: block; }

button, input, textarea { font-family: inherit; font-size: inherit; outline: none; border: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(15, 15, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(15, 15, 26, 0.96);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-panel {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; gap: 20px;
}

.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 1.35rem; font-weight: 800; color: var(--text-primary);
  letter-spacing: 0.5px; flex-shrink: 0;
}

.nav-logo .logo-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-weight: 900; font-size: 1.2rem; border-radius: var(--radius-sm);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.nav-links {
  display: flex; align-items: center; gap: 4px;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.nav-links a {
  padding: 8px 18px; border-radius: 6px; font-size: 0.9rem;
  font-weight: 500; color: var(--text-secondary); white-space: nowrap;
  transition: var(--transition); position: relative;
}

.nav-links a:hover { color: var(--text-primary); background: rgba(255, 255, 255, 0.06); }

.nav-links a.active {
  color: #fff; background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 24px; background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff !important; font-weight: 700; font-size: 0.9rem;
  border-radius: var(--radius-sm); transition: var(--transition);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3); flex-shrink: 0;
}

.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(245, 158, 11, 0.4); }

.mobile-toggle { display: none; background: none; color: var(--text-primary); font-size: 1.4rem; cursor: pointer; padding: 8px; border-radius: var(--radius-sm); }

/* ===== PAGE BANNER ===== */
.page-banner {
  padding: 140px 0 60px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #0f0f1a 100%);
}

.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
  opacity: 0.12; z-index: 0;
}

.page-banner::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--bg-dark) 100%);
  z-index: 1;
}

.page-banner .container { position: relative; z-index: 2; }

.breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--text-muted); opacity: 0.5; }
.breadcrumb .current { color: var(--primary); }

.page-banner h1 {
  font-size: 2.4rem; font-weight: 800; line-height: 1.25;
  background: linear-gradient(135deg, var(--text-primary), var(--primary-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; max-width: 800px;
}

.article-meta-bar {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  margin-top: 20px; padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.article-meta-bar .meta-item {
  display: flex; align-items: center; gap: 6px; font-size: 0.9rem; color: var(--text-secondary);
}

.article-meta-bar .meta-item i { color: var(--primary); font-size: 0.85rem; }

.article-meta-bar .category-tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 14px; background: rgba(245, 158, 11, 0.12);
  color: var(--primary); border-radius: 20px; font-size: 0.8rem; font-weight: 600;
}

/* ===== MAIN CONTENT ===== */
.main-content {
  padding: 40px 0 80px; background: var(--bg-dark);
}

.content-layout {
  display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start;
}

.article-body {
  background: var(--bg-card); border-radius: var(--radius-md);
  border: 1px solid var(--border-light); padding: 40px;
  box-shadow: var(--shadow-md);
}

.article-body .content-text {
  font-size: 1.05rem; line-height: 1.9; color: var(--text-secondary);
}

.article-body .content-text p { margin-bottom: 1.2em; }

.article-body .content-text h2 {
  font-size: 1.5rem; font-weight: 700; color: var(--text-primary);
  margin: 1.5em 0 0.8em; padding-bottom: 10px;
  border-bottom: 2px solid var(--border-color);
}

.article-body .content-text h3 {
  font-size: 1.2rem; font-weight: 600; color: var(--text-primary);
  margin: 1.2em 0 0.6em;
}

.article-body .content-text ul, .article-body .content-text ol {
  padding-left: 1.5em; margin-bottom: 1.2em;
}

.article-body .content-text li { margin-bottom: 0.4em; }

.article-body .content-text a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

.article-body .content-text a:hover { color: var(--primary-light); }

.article-body .content-text img {
  border-radius: var(--radius-sm); margin: 1.5em 0;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border-light);
}

.article-body .content-text blockquote {
  border-left: 4px solid var(--primary); padding: 12px 20px;
  margin: 1.2em 0; background: rgba(245, 158, 11, 0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text-secondary);
}

.article-body .content-text code {
  background: rgba(255, 255, 255, 0.06); padding: 2px 8px;
  border-radius: 4px; font-size: 0.9em; color: var(--primary-light);
}

.tag-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding-top: 30px; margin-top: 30px;
  border-top: 1px solid var(--border-light);
}

.tag-bar .tag-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }

.tag-bar .tag-item {
  padding: 4px 14px; background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light); border-radius: 20px;
  font-size: 0.78rem; color: var(--text-secondary); transition: var(--transition);
}

.tag-bar .tag-item:hover { background: rgba(245, 158, 11, 0.1); border-color: var(--primary); color: var(--primary); }

.article-nav {
  display: flex; justify-content: space-between; gap: 16px;
  padding-top: 30px; margin-top: 30px;
  border-top: 1px solid var(--border-light);
}

.article-nav a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; background: var(--bg-card); border-radius: var(--radius-sm);
  border: 1px solid var(--border-light); font-size: 0.9rem; color: var(--text-secondary);
  transition: var(--transition);
}

.article-nav a:hover { background: var(--bg-card-hover); border-color: var(--primary); color: var(--primary); }

/* ===== SIDEBAR ===== */
.sidebar { display: flex; flex-direction: column; gap: 32px; }

.sidebar-widget {
  background: var(--bg-card); border-radius: var(--radius-md);
  border: 1px solid var(--border-light); padding: 28px;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget .widget-title {
  font-size: 1.1rem; font-weight: 700; color: var(--text-primary);
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 2px solid var(--border-color);
  display: flex; align-items: center; gap: 8px;
}

.sidebar-widget .widget-title i { color: var(--primary); }

.sidebar-list { list-style: none; display: flex; flex-direction: column; gap: 0; }

.sidebar-list li { border-bottom: 1px solid var(--border-light); }

.sidebar-list li:last-child { border-bottom: none; }

.sidebar-list a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 0; font-size: 0.9rem; color: var(--text-secondary);
  transition: var(--transition);
}

.sidebar-list a:hover { color: var(--primary); padding-left: 8px; }

.sidebar-list a .list-num {
  width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
  background: rgba(245, 158, 11, 0.1); border-radius: 50%;
  font-size: 0.75rem; font-weight: 700; color: var(--primary); flex-shrink: 0;
}

.cta-widget {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(239, 68, 68, 0.08));
  border: 1px solid var(--border-color); text-align: center;
}

.cta-widget .cta-icon { font-size: 2.2rem; color: var(--primary); margin-bottom: 12px; }

.cta-widget h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }

.cta-widget p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 16px; }

.cta-widget .cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 28px; background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-weight: 700; border-radius: var(--radius-sm);
  transition: var(--transition); box-shadow: 0 4px 20px rgba(245, 158, 11, 0.25);
}

.cta-widget .cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(245, 158, 11, 0.35); }

/* ===== RELATED SECTION ===== */
.related-section {
  padding: 60px 0; background: var(--bg-section);
  border-top: 1px solid var(--border-light);
}

.related-section .section-title {
  font-size: 1.5rem; font-weight: 800; color: var(--text-primary);
  text-align: center; margin-bottom: 40px;
}

.related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}

.related-card {
  background: var(--bg-card); border-radius: var(--radius-md);
  border: 1px solid var(--border-light); overflow: hidden;
  transition: var(--transition); box-shadow: var(--shadow-sm);
}

.related-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border-color); }

.related-card .card-img {
  height: 180px; background: var(--bg-card-hover); position: relative; overflow: hidden;
}

.related-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s ease; }

.related-card:hover .card-img img { transform: scale(1.05); }

.related-card .card-img .card-cat {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 12px; background: rgba(15, 15, 26, 0.8);
  backdrop-filter: blur(8px); border-radius: 20px;
  font-size: 0.72rem; color: var(--primary); font-weight: 600;
}

.related-card .card-body { padding: 20px; }

.related-card .card-body h3 {
  font-size: 1rem; font-weight: 700; color: var(--text-primary);
  margin-bottom: 8px; line-height: 1.4; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.related-card .card-body p {
  font-size: 0.85rem; color: var(--text-muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.related-card .card-body .card-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--border-light);
  font-size: 0.78rem; color: var(--text-muted);
}

/* ===== NOT FOUND ===== */
.not-found-box {
  text-align: center; padding: 80px 40px; background: var(--bg-card);
  border-radius: var(--radius-md); border: 1px solid var(--border-light);
}

.not-found-box .nf-icon { font-size: 4rem; color: var(--text-muted); margin-bottom: 20px; opacity: 0.5; }

.not-found-box h2 { font-size: 1.6rem; font-weight: 700; color: var(--text-primary); margin-bottom: 12px; }

.not-found-box p { color: var(--text-muted); margin-bottom: 24px; }

.not-found-box .back-home {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 32px; background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-weight: 700; border-radius: var(--radius-sm);
  transition: var(--transition); box-shadow: 0 4px 20px rgba(245, 158, 11, 0.25);
}

.not-found-box .back-home:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(245, 158, 11, 0.35); }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-card); border-top: 1px solid var(--border-light);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid var(--border-light);
}

.footer-brand .footer-logo { display: flex; align-items: center; gap: 8px; font-size: 1.3rem; font-weight: 800; color: var(--text-primary); margin-bottom: 16px; }

.footer-brand .footer-logo .logo-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-weight: 900; border-radius: var(--radius-sm);
}

.footer-brand p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; max-width: 320px; }

.footer-col h4 { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 18px; position: relative; padding-bottom: 10px; }

.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--primary); border-radius: 2px; }

.footer-col a { display: block; padding: 5px 0; font-size: 0.88rem; color: var(--text-secondary); transition: var(--transition); }

.footer-col a:hover { color: var(--primary); padding-left: 6px; }

.footer-col a i { margin-right: 6px; width: 16px; text-align: center; color: var(--primary); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; flex-wrap: wrap; gap: 12px;
}

.footer-bottom span { font-size: 0.82rem; color: var(--text-muted); }

.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--primary); }

.footer-links { display: flex; gap: 20px; }

.footer-links a { font-size: 0.82rem; color: var(--text-muted); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(15, 15, 26, 0.98); backdrop-filter: blur(20px); flex-direction: column; padding: 16px; border-radius: 0 0 var(--radius-md) var(--radius-md); border: 1px solid var(--border-light); border-top: none; }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 12px 16px; }
  .mobile-toggle { display: block; }
  .nav-cta span { display: none; }
  .nav-cta { padding: 10px 14px; }
  
  .page-banner { padding: 110px 0 40px; }
  .page-banner h1 { font-size: 1.6rem; }
  .article-meta-bar { gap: 12px; }
  .article-body { padding: 24px; }
  
  .sidebar { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .page-banner h1 { font-size: 1.3rem; }
  .article-body { padding: 16px; }
  .article-body .content-text { font-size: 0.95rem; }
  .article-nav { flex-direction: column; }
  .article-nav a { justify-content: center; }
}

/* roulang page: category1 */
/* ===== 设计变量 ===== */
        :root {
            --primary: #e74c3c;
            --primary-dark: #c0392b;
            --primary-light: #f1948a;
            --secondary: #2c3e50;
            --secondary-light: #34495e;
            --accent: #f39c12;
            --accent-dark: #e67e22;
            --bg-dark: #0f0f1a;
            --bg-mid: #1a1a2e;
            --bg-card: #16213e;
            --bg-light: #f8f9fa;
            --text-light: #ecf0f1;
            --text-muted: #95a5a6;
            --text-dark: #2c3e50;
            --border-color: rgba(255, 255, 255, 0.08);
            --radius-sm: 8px;
            --radius-md: 14px;
            --radius-lg: 24px;
            --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.3);
            --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
            --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --font-sans: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
            --container-max: 1200px;
            --header-h: 72px;
        }

        /* ===== 基础重置 ===== */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-sans);
            background: var(--bg-dark);
            color: var(--text-light);
            line-height: 1.7;
            font-size: 16px;
            -webkit-font-smoothing: antialiased;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        a {
            color: var(--primary-light);
            text-decoration: none;
            transition: var(--transition);
        }
        a:hover {
            color: var(--primary);
        }

        button,
        input,
        textarea {
            font-family: inherit;
            font-size: inherit;
            border: none;
            outline: none;
        }

        ul,
        ol {
            list-style: none;
        }

        /* ===== 容器 ===== */
        .container {
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 24px;
        }

        /* ===== 头部 / 导航面板 ===== */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            height: var(--header-h);
            background: rgba(15, 15, 26, 0.88);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            border-bottom: 1px solid var(--border-color);
            transition: var(--transition);
        }

        .header.scrolled {
            background: rgba(15, 15, 26, 0.96);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
        }

        .nav-panel {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: var(--header-h);
            gap: 16px;
        }

        .nav-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 22px;
            font-weight: 800;
            color: var(--text-light);
            letter-spacing: 0.5px;
            flex-shrink: 0;
        }
        .nav-logo:hover {
            color: var(--primary);
        }
        .logo-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            height: 38px;
            background: var(--primary);
            border-radius: 10px;
            font-size: 18px;
            font-weight: 700;
            color: #fff;
            box-shadow: 0 4px 14px rgba(231, 76, 60, 0.4);
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .nav-links a {
            padding: 8px 18px;
            border-radius: var(--radius-sm);
            font-size: 15px;
            font-weight: 500;
            color: var(--text-muted);
            transition: var(--transition);
            position: relative;
        }
        .nav-links a:hover {
            color: var(--text-light);
            background: rgba(255, 255, 255, 0.06);
        }
        .nav-links a.active {
            color: #fff;
            background: var(--primary);
            box-shadow: 0 4px 16px rgba(231, 76, 60, 0.35);
        }
        .nav-links a.active:hover {
            background: var(--primary-dark);
        }

        .nav-cta {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 24px;
            background: var(--accent);
            color: #1a1a2e;
            border-radius: var(--radius-sm);
            font-weight: 700;
            font-size: 14px;
            transition: var(--transition);
            flex-shrink: 0;
            box-shadow: 0 4px 16px rgba(243, 156, 18, 0.3);
        }
        .nav-cta:hover {
            background: var(--accent-dark);
            color: #1a1a2e;
            transform: translateY(-2px);
            box-shadow: 0 8px 28px rgba(243, 156, 18, 0.4);
        }

        .mobile-toggle {
            display: none;
            background: none;
            color: var(--text-light);
            font-size: 22px;
            padding: 6px 10px;
            border-radius: var(--radius-sm);
            cursor: pointer;
            transition: var(--transition);
            border: 1px solid var(--border-color);
        }
        .mobile-toggle:hover {
            background: rgba(255, 255, 255, 0.06);
        }

        /* ===== 分类 Banner ===== */
        .category-hero {
            margin-top: var(--header-h);
            padding: 100px 0 80px;
            position: relative;
            background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
            isolation: isolate;
            overflow: hidden;
        }
        .category-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(15, 15, 26, 0.92) 0%, rgba(26, 26, 46, 0.78) 50%, rgba(15, 15, 26, 0.92) 100%);
            z-index: 0;
        }
        .category-hero::after {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse at 30% 60%, rgba(231, 76, 60, 0.12) 0%, transparent 60%);
            z-index: 1;
        }
        .category-hero .container {
            position: relative;
            z-index: 2;
        }
        .category-hero-content {
            max-width: 720px;
        }
        .category-hero-content .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(231, 76, 60, 0.2);
            border: 1px solid rgba(231, 76, 60, 0.3);
            padding: 6px 18px;
            border-radius: 50px;
            font-size: 13px;
            font-weight: 600;
            color: var(--primary-light);
            margin-bottom: 20px;
            backdrop-filter: blur(4px);
        }
        .category-hero-content h1 {
            font-size: 48px;
            font-weight: 900;
            line-height: 1.2;
            margin-bottom: 20px;
            background: linear-gradient(135deg, #fff 0%, var(--primary-light) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .category-hero-content p {
            font-size: 18px;
            color: var(--text-muted);
            max-width: 600px;
            margin-bottom: 32px;
        }
        .hero-stats {
            display: flex;
            gap: 40px;
            flex-wrap: wrap;
        }
        .hero-stat {
            text-align: left;
        }
        .hero-stat .num {
            font-size: 32px;
            font-weight: 800;
            color: var(--accent);
            display: block;
            line-height: 1.2;
        }
        .hero-stat .label {
            font-size: 14px;
            color: var(--text-muted);
        }

        /* ===== 板块通用 ===== */
        .section {
            padding: 80px 0;
        }
        .section-header {
            text-align: center;
            margin-bottom: 56px;
        }
        .section-header h2 {
            font-size: 36px;
            font-weight: 800;
            margin-bottom: 12px;
            background: linear-gradient(135deg, #fff 0%, var(--primary-light) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .section-header p {
            font-size: 17px;
            color: var(--text-muted);
            max-width: 600px;
            margin: 0 auto;
        }
        .section-header .tagline {
            display: inline-block;
            background: rgba(231, 76, 60, 0.12);
            padding: 4px 16px;
            border-radius: 50px;
            font-size: 13px;
            font-weight: 600;
            color: var(--primary-light);
            margin-bottom: 12px;
            border: 1px solid rgba(231, 76, 60, 0.15);
        }

        .section-dark {
            background: var(--bg-mid);
        }
        .section-darker {
            background: var(--bg-dark);
        }

        /* ===== 卡片网格 ===== */
        .card-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 28px;
        }

        .game-card {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            overflow: hidden;
            border: 1px solid var(--border-color);
            transition: var(--transition);
            cursor: pointer;
            display: flex;
            flex-direction: column;
        }
        .game-card:hover {
            transform: translateY(-6px);
            border-color: rgba(231, 76, 60, 0.25);
            box-shadow: var(--shadow-md);
        }
        .game-card .card-img {
            aspect-ratio: 16 / 9;
            overflow: hidden;
            position: relative;
        }
        .game-card .card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        .game-card:hover .card-img img {
            transform: scale(1.06);
        }
        .game-card .card-img .card-tag {
            position: absolute;
            top: 14px;
            left: 14px;
            background: var(--primary);
            color: #fff;
            font-size: 12px;
            font-weight: 700;
            padding: 4px 14px;
            border-radius: 50px;
            box-shadow: 0 4px 12px rgba(231, 76, 60, 0.35);
        }
        .game-card .card-img .card-duration {
            position: absolute;
            bottom: 14px;
            right: 14px;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(4px);
            color: #fff;
            font-size: 12px;
            padding: 4px 12px;
            border-radius: 50px;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        .game-card .card-body {
            padding: 22px 24px 24px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .game-card .card-body h3 {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 10px;
            color: var(--text-light);
            line-height: 1.3;
        }
        .game-card .card-body p {
            font-size: 15px;
            color: var(--text-muted);
            margin-bottom: 16px;
            flex: 1;
        }
        .game-card .card-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-top: 14px;
            border-top: 1px solid var(--border-color);
        }
        .game-card .card-meta .author {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            color: var(--text-muted);
        }
        .game-card .card-meta .author i {
            color: var(--primary-light);
        }
        .game-card .card-meta .views {
            font-size: 13px;
            color: var(--text-muted);
            display: flex;
            align-items: center;
            gap: 5px;
        }

        /* ===== 特色分类入口 ===== */
        .cat-chips {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            justify-content: center;
            margin-top: 8px;
        }
        .cat-chip {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 22px;
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 50px;
            color: var(--text-muted);
            font-size: 14px;
            font-weight: 500;
            transition: var(--transition);
        }
        .cat-chip:hover {
            border-color: var(--primary);
            color: var(--text-light);
            background: rgba(231, 76, 60, 0.1);
            transform: translateY(-2px);
        }
        .cat-chip.active {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
            box-shadow: 0 4px 16px rgba(231, 76, 60, 0.3);
        }
        .cat-chip i {
            font-size: 14px;
        }

        /* ===== 热门推荐 ===== */
        .featured-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 28px;
        }
        .featured-main {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            overflow: hidden;
            border: 1px solid var(--border-color);
            transition: var(--transition);
            cursor: pointer;
        }
        .featured-main:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
            border-color: rgba(231, 76, 60, 0.2);
        }
        .featured-main .feat-img {
            aspect-ratio: 16 / 9;
            overflow: hidden;
        }
        .featured-main .feat-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        .featured-main:hover .feat-img img {
            transform: scale(1.05);
        }
        .featured-main .feat-body {
            padding: 24px 28px 28px;
        }
        .featured-main .feat-body .feat-badge {
            display: inline-block;
            background: var(--accent);
            color: #1a1a2e;
            font-size: 12px;
            font-weight: 700;
            padding: 3px 14px;
            border-radius: 50px;
            margin-bottom: 12px;
        }
        .featured-main .feat-body h3 {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 10px;
            color: var(--text-light);
        }
        .featured-main .feat-body p {
            color: var(--text-muted);
            font-size: 15px;
            margin-bottom: 14px;
        }
        .featured-main .feat-body .feat-meta {
            font-size: 13px;
            color: var(--text-muted);
            display: flex;
            gap: 20px;
        }
        .featured-main .feat-body .feat-meta i {
            color: var(--primary-light);
            margin-right: 4px;
        }

        .featured-side {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }
        .feat-side-item {
            display: flex;
            gap: 16px;
            background: var(--bg-card);
            border-radius: var(--radius-sm);
            padding: 14px;
            border: 1px solid var(--border-color);
            transition: var(--transition);
            cursor: pointer;
            align-items: center;
        }
        .feat-side-item:hover {
            background: rgba(22, 33, 62, 0.8);
            border-color: rgba(231, 76, 60, 0.2);
            transform: translateX(4px);
        }
        .feat-side-item .side-img {
            width: 80px;
            height: 60px;
            border-radius: 8px;
            overflow: hidden;
            flex-shrink: 0;
        }
        .feat-side-item .side-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .feat-side-item .side-info {
            flex: 1;
            min-width: 0;
        }
        .feat-side-item .side-info h4 {
            font-size: 15px;
            font-weight: 600;
            color: var(--text-light);
            margin-bottom: 4px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .feat-side-item .side-info .side-meta {
            font-size: 12px;
            color: var(--text-muted);
        }
        .feat-side-item .side-info .side-meta i {
            color: var(--primary-light);
            margin-right: 4px;
        }
        .feat-side-item .side-rank {
            font-size: 20px;
            font-weight: 800;
            color: var(--text-muted);
            opacity: 0.4;
            min-width: 28px;
            text-align: center;
        }

        /* ===== 数据统计 ===== */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
        }
        .stat-item {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            padding: 32px 20px;
            text-align: center;
            border: 1px solid var(--border-color);
            transition: var(--transition);
        }
        .stat-item:hover {
            transform: translateY(-4px);
            border-color: rgba(231, 76, 60, 0.2);
            box-shadow: var(--shadow-sm);
        }
        .stat-item .stat-icon {
            font-size: 32px;
            color: var(--primary);
            margin-bottom: 12px;
        }
        .stat-item .stat-num {
            font-size: 36px;
            font-weight: 900;
            color: var(--text-light);
            line-height: 1.2;
        }
        .stat-item .stat-label {
            font-size: 14px;
            color: var(--text-muted);
            margin-top: 6px;
        }

        /* ===== FAQ ===== */
        .faq-list {
            max-width: 780px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 14px;
        }
        .faq-item {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-sm);
            overflow: hidden;
            transition: var(--transition);
        }
        .faq-item:hover {
            border-color: rgba(231, 76, 60, 0.15);
        }
        .faq-item summary {
            padding: 20px 24px;
            font-size: 16px;
            font-weight: 600;
            color: var(--text-light);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            list-style: none;
            transition: var(--transition);
        }
        .faq-item summary::-webkit-details-marker {
            display: none;
        }
        .faq-item summary::after {
            content: '\f078';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            font-size: 14px;
            color: var(--text-muted);
            transition: var(--transition);
        }
        .faq-item[open] summary::after {
            transform: rotate(180deg);
            color: var(--primary);
        }
        .faq-item[open] summary {
            border-bottom: 1px solid var(--border-color);
            color: var(--primary-light);
        }
        .faq-item .faq-answer {
            padding: 18px 24px 22px;
            font-size: 15px;
            color: var(--text-muted);
            line-height: 1.8;
        }

        /* ===== CTA ===== */
        .cta-section {
            padding: 80px 0;
            text-align: center;
            background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
            position: relative;
            isolation: isolate;
        }
        .cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(15, 15, 26, 0.92) 0%, rgba(26, 26, 46, 0.85) 100%);
            z-index: 0;
        }
        .cta-section .container {
            position: relative;
            z-index: 1;
        }
        .cta-section h2 {
            font-size: 38px;
            font-weight: 900;
            margin-bottom: 16px;
            background: linear-gradient(135deg, #fff 0%, var(--primary-light) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .cta-section p {
            font-size: 17px;
            color: var(--text-muted);
            max-width: 540px;
            margin: 0 auto 32px;
        }
        .cta-buttons {
            display: flex;
            gap: 16px;
            justify-content: center;
            flex-wrap: wrap;
        }
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 14px 34px;
            border-radius: var(--radius-sm);
            font-size: 16px;
            font-weight: 700;
            transition: var(--transition);
            cursor: pointer;
            border: none;
        }
        .btn-primary {
            background: var(--primary);
            color: #fff;
            box-shadow: 0 6px 24px rgba(231, 76, 60, 0.35);
        }
        .btn-primary:hover {
            background: var(--primary-dark);
            color: #fff;
            transform: translateY(-3px);
            box-shadow: 0 10px 36px rgba(231, 76, 60, 0.45);
        }
        .btn-outline {
            background: transparent;
            color: var(--text-light);
            border: 2px solid var(--border-color);
        }
        .btn-outline:hover {
            border-color: var(--primary);
            color: var(--text-light);
            background: rgba(231, 76, 60, 0.08);
            transform: translateY(-3px);
        }

        /* ===== 页脚 ===== */
        .footer {
            background: var(--bg-mid);
            border-top: 1px solid var(--border-color);
            padding: 60px 0 0;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 1.6fr 1fr 1fr 1fr;
            gap: 40px;
            padding-bottom: 40px;
        }
        .footer-brand .footer-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 22px;
            font-weight: 800;
            color: var(--text-light);
            margin-bottom: 14px;
        }
        .footer-brand .footer-logo .logo-icon {
            width: 36px;
            height: 36px;
            font-size: 16px;
        }
        .footer-brand p {
            font-size: 14px;
            color: var(--text-muted);
            max-width: 320px;
            line-height: 1.8;
        }
        .footer-col h4 {
            font-size: 16px;
            font-weight: 700;
            color: var(--text-light);
            margin-bottom: 18px;
        }
        .footer-col a {
            display: block;
            font-size: 14px;
            color: var(--text-muted);
            padding: 5px 0;
            transition: var(--transition);
        }
        .footer-col a:hover {
            color: var(--primary-light);
            padding-left: 4px;
        }
        .footer-col a i {
            width: 20px;
            color: var(--primary-light);
        }
        .footer-bottom {
            border-top: 1px solid var(--border-color);
            padding: 20px 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 12px;
            font-size: 13px;
            color: var(--text-muted);
        }
        .footer-bottom a {
            color: var(--text-muted);
        }
        .footer-bottom a:hover {
            color: var(--primary-light);
        }
        .footer-links {
            display: flex;
            gap: 20px;
        }

        /* ===== 响应式 ===== */
        @media (max-width: 1024px) {
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 32px;
            }
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .featured-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            :root {
                --header-h: 64px;
            }
            .container {
                padding: 0 16px;
            }
            .nav-links {
                display: none;
                position: absolute;
                top: var(--header-h);
                left: 0;
                right: 0;
                background: rgba(15, 15, 26, 0.98);
                backdrop-filter: blur(18px);
                flex-direction: column;
                padding: 16px 20px;
                gap: 6px;
                border-bottom: 1px solid var(--border-color);
                box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
            }
            .nav-links.open {
                display: flex;
            }
            .nav-links a {
                padding: 12px 16px;
                width: 100%;
                border-radius: var(--radius-sm);
            }
            .nav-links a.active {
                background: var(--primary);
            }
            .mobile-toggle {
                display: block;
            }
            .nav-cta span {
                display: none;
            }
            .nav-cta {
                padding: 10px 16px;
                font-size: 16px;
            }

            .category-hero {
                padding: 70px 0 50px;
            }
            .category-hero-content h1 {
                font-size: 32px;
            }
            .category-hero-content p {
                font-size: 16px;
            }
            .hero-stats {
                gap: 20px;
            }
            .hero-stat .num {
                font-size: 26px;
            }

            .section {
                padding: 56px 0;
            }
            .section-header h2 {
                font-size: 28px;
            }
            .card-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            .stats-grid {
                grid-template-columns: 1fr 1fr;
                gap: 14px;
            }
            .stat-item {
                padding: 20px 14px;
            }
            .stat-item .stat-num {
                font-size: 28px;
            }

            .featured-main .feat-body {
                padding: 18px 20px 22px;
            }
            .featured-main .feat-body h3 {
                font-size: 20px;
            }

            .cta-section h2 {
                font-size: 28px;
            }
            .btn {
                padding: 12px 24px;
                font-size: 14px;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 28px;
            }
            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
            .footer-links {
                gap: 14px;
                flex-wrap: wrap;
                justify-content: center;
            }
        }

        @media (max-width: 520px) {
            .category-hero-content h1 {
                font-size: 26px;
            }
            .hero-stats {
                gap: 14px;
                flex-direction: column;
            }
            .stats-grid {
                grid-template-columns: 1fr 1fr;
                gap: 10px;
            }
            .stat-item .stat-num {
                font-size: 22px;
            }
            .section-header h2 {
                font-size: 22px;
            }
            .cat-chips {
                gap: 8px;
            }
            .cat-chip {
                padding: 6px 14px;
                font-size: 12px;
            }
            .game-card .card-body {
                padding: 16px 18px 20px;
            }
            .game-card .card-body h3 {
                font-size: 17px;
            }
            .faq-item summary {
                padding: 14px 16px;
                font-size: 14px;
            }
            .faq-item .faq-answer {
                padding: 12px 16px 16px;
                font-size: 14px;
            }
        }

        /* ===== 辅助 ===== */
        .text-center {
            text-align: center;
        }
        .mt-16 {
            margin-top: 16px;
        }
        .mb-16 {
            margin-bottom: 16px;
        }
        .gap-8 {
            gap: 8px;
        }

        /* ===== 滚动条美化 ===== */
        ::-webkit-scrollbar {
            width: 6px;
            height: 6px;
        }
        ::-webkit-scrollbar-track {
            background: var(--bg-dark);
        }
        ::-webkit-scrollbar-thumb {
            background: var(--secondary-light);
            border-radius: 10px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: var(--primary);
        }

        /* ===== 加载动画 ===== */
        @keyframes fadeUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        .animate-fade-up {
            animation: fadeUp 0.6s ease forwards;
        }
        .delay-1 {
            animation-delay: 0.1s;
        }
        .delay-2 {
            animation-delay: 0.2s;
        }
        .delay-3 {
            animation-delay: 0.3s;
        }
