/* roulang page: index */
/* ===== 设计变量 ===== */
:root {
  --primary: #6C3EF8;
  --primary-light: #8B6CF8;
  --primary-dark: #5228D4;
  --primary-bg: rgba(108, 62, 248, 0.08);
  --secondary: #FF6B9D;
  --secondary-light: #FF8DB5;
  --accent: #00D4AA;
  --accent-light: #33DFBE;
  --bg: #FAFAFE;
  --bg-card: #FFFFFF;
  --bg-dark: #1A1028;
  --bg-section-alt: #F4F0FC;
  --text-primary: #1A1028;
  --text-secondary: #5A4A72;
  --text-muted: #8B7FA0;
  --text-inverse: #FFFFFF;
  --border: #E8E0F0;
  --border-light: #F0ECF6;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(26, 16, 40, 0.06);
  --shadow-md: 0 6px 24px rgba(26, 16, 40, 0.08);
  --shadow-lg: 0 16px 48px rgba(26, 16, 40, 0.12);
  --shadow-glow: 0 0 30px rgba(108, 62, 248, 0.15);
  --space-xs: 6px;
  --space-sm: 12px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans SC', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-width: 240px;
  --header-height: 64px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
a:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; border: none; outline: none; }
button { cursor: pointer; background: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.3; font-weight: 700; color: var(--text-primary); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
p { margin-bottom: 1em; color: var(--text-secondary); }
.container { max-width: 1240px; margin: 0 auto; padding: 0 var(--space-md); }
.section-padding { padding: var(--space-xl) 0; }
.section-title { text-align: center; margin-bottom: var(--space-lg); }
.section-title h2 { margin-bottom: var(--space-sm); }
.section-title p { max-width: 640px; margin: 0 auto; color: var(--text-muted); font-size: 1.05rem; }

/* ===== 左侧竖向导航 ===== */
.page-wrapper { display: flex; min-height: 100vh; }

.sidebar {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: var(--nav-width);
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow-y: auto;
  transition: transform var(--transition);
}
.sidebar-brand {
  padding: var(--space-md) var(--space-md) var(--space-sm);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.sidebar-brand .logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.3rem; flex-shrink: 0;
}
.sidebar-brand .logo-text {
  font-size: 1.15rem; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.01em;
}
.sidebar-nav { padding: var(--space-sm) var(--space-sm); flex: 1; }
.sidebar-nav .nav-section { margin-bottom: var(--space-md); }
.sidebar-nav .nav-label {
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text-muted);
  padding: var(--space-xs) var(--space-sm); margin-bottom: var(--space-xs);
}
.sidebar-nav a {
  display: flex; align-items: center; gap: var(--space-sm);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-weight: 500; font-size: 0.92rem;
  transition: all var(--transition);
  margin-bottom: 2px;
}
.sidebar-nav a i { width: 20px; text-align: center; font-size: 1rem; color: var(--text-muted); transition: color var(--transition); }
.sidebar-nav a:hover { background: var(--primary-bg); color: var(--primary); }
.sidebar-nav a:hover i { color: var(--primary); }
.sidebar-nav a.active { background: var(--primary-bg); color: var(--primary); font-weight: 600; }
.sidebar-nav a.active i { color: var(--primary); }
.sidebar-nav a .badge {
  margin-left: auto; background: var(--secondary); color: #fff;
  font-size: 0.65rem; font-weight: 700; padding: 2px 8px;
  border-radius: 20px; line-height: 1.4;
}
.sidebar-footer {
  padding: var(--space-sm) var(--space-md) var(--space-md);
  border-top: 1px solid var(--border-light);
  font-size: 0.78rem; color: var(--text-muted);
  text-align: center;
}

/* ===== 右侧主内容 ===== */
.main-content {
  margin-left: var(--nav-width);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ===== 移动端顶部导航 ===== */
.mobile-header {
  display: none;
  position: sticky; top: 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  z-index: 999;
  padding: 0 var(--space-md);
  height: var(--header-height);
  align-items: center;
  justify-content: space-between;
}
.mobile-header .logo-text {
  font-size: 1.1rem; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mobile-header .menu-toggle {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); color: var(--text-primary); font-size: 1.3rem;
  background: var(--bg-section-alt); transition: background var(--transition);
}
.mobile-header .menu-toggle:hover { background: var(--border); }
.mobile-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  z-index: 998; backdrop-filter: blur(4px);
}

/* ===== Hero 首屏 ===== */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex; align-items: center;
  background: var(--bg-dark) url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,16,40,0.88) 0%, rgba(26,16,40,0.60) 50%, rgba(108,62,248,0.30) 100%);
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; width: 100%; }
.hero-content { max-width: 700px; padding: var(--space-xl) 0; }
.hero-content .hero-tag {
  display: inline-block;
  background: rgba(108,62,248,0.25);
  color: #C4B0FF;
  font-size: 0.8rem; font-weight: 600;
  padding: 4px 16px; border-radius: 20px;
  margin-bottom: var(--space-md);
  border: 1px solid rgba(108,62,248,0.3);
  backdrop-filter: blur(4px);
}
.hero-content h1 {
  color: var(--text-inverse);
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}
.hero-content h1 span {
  background: linear-gradient(135deg, #C4B0FF, var(--secondary-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-content p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem; max-width: 560px;
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}
.hero-actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem;
  transition: all var(--transition);
  border: none; cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; box-shadow: 0 4px 16px rgba(108,62,248,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(108,62,248,0.4); color: #fff; }
.btn-secondary {
  background: rgba(255,255,255,0.12);
  color: #fff; border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.2); color: #fff; transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

/* ===== 核心特色 ===== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  border: 1px solid var(--border);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.feature-card .icon {
  width: 60px; height: 60px; margin: 0 auto var(--space-sm);
  background: var(--primary-bg); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--primary); transition: all var(--transition);
}
.feature-card:hover .icon { background: var(--primary); color: #fff; }
.feature-card h3 { margin-bottom: var(--space-xs); }
.feature-card p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 0; }

/* ===== 分类入口 ===== */
.categories-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
.category-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  padding: var(--space-md);
  gap: var(--space-md);
}
.category-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.category-card .cat-cover {
  width: 100px; height: 100px; border-radius: var(--radius-sm);
  object-fit: cover; flex-shrink: 0;
  background: var(--bg-section-alt);
}
.category-card .cat-info { flex: 1; }
.category-card .cat-info h3 { font-size: 1.1rem; margin-bottom: 4px; }
.category-card .cat-info p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: var(--space-sm); }
.category-card .cat-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 600;
  color: var(--primary); background: var(--primary-bg);
  padding: 2px 12px; border-radius: 20px;
}

/* ===== 最新资讯 (CMS) ===== */
.news-section { background: var(--bg-section-alt); }
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
.news-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.news-card .news-img {
  width: 100%; height: 180px; object-fit: cover;
  background: var(--bg-section-alt);
}
.news-card .news-body { padding: var(--space-md); flex: 1; display: flex; flex-direction: column; }
.news-card .news-body .news-meta {
  display: flex; align-items: center; gap: var(--space-sm);
  font-size: 0.78rem; color: var(--text-muted); margin-bottom: var(--space-xs);
}
.news-card .news-body .news-meta .cat {
  background: var(--primary-bg); color: var(--primary);
  padding: 2px 10px; border-radius: 20px; font-weight: 600;
}
.news-card .news-body h3 { font-size: 1.05rem; margin-bottom: var(--space-xs); flex: 1; }
.news-card .news-body p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: var(--space-sm); }
.news-card .news-body .read-more {
  font-size: 0.85rem; font-weight: 600; color: var(--primary);
  display: inline-flex; align-items: center; gap: 4px;
}
.news-empty {
  grid-column: 1 / -1;
  text-align: center; padding: var(--space-xl);
  background: var(--bg-card); border-radius: var(--radius-md);
  border: 1px dashed var(--border); color: var(--text-muted);
  font-size: 1rem;
}

/* ===== 数据统计 ===== */
.stats-section { background: var(--bg-dark); position: relative; overflow: hidden; }
.stats-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
  opacity: 0.08;
}
.stats-section .container { position: relative; z-index: 1; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }
.stat-item { text-align: center; padding: var(--space-md); }
.stat-item .number {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
  background: linear-gradient(135deg, #C4B0FF, var(--secondary-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2; margin-bottom: var(--space-xs);
}
.stat-item .label { color: rgba(255,255,255,0.6); font-size: 0.9rem; font-weight: 500; }

/* ===== 内容展示区 ===== */
.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.showcase-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.showcase-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.showcase-card .showcase-img {
  width: 100%; height: 200px; object-fit: cover;
  background: var(--bg-section-alt);
  transition: transform 0.5s ease;
}
.showcase-card:hover .showcase-img { transform: scale(1.03); }
.showcase-card .showcase-body { padding: var(--space-md); }
.showcase-card .showcase-body h3 { font-size: 1.05rem; margin-bottom: 4px; }
.showcase-card .showcase-body p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0; }
.showcase-card .showcase-badge {
  position: absolute; top: var(--space-sm); left: var(--space-sm);
  background: var(--primary); color: #fff;
  font-size: 0.7rem; font-weight: 700; padding: 2px 12px; border-radius: 20px;
}

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item:hover { border-color: var(--primary-light); }
.faq-item summary {
  padding: var(--space-md);
  font-weight: 600; font-size: 1rem;
  cursor: pointer; display: flex; align-items: center;
  justify-content: space-between;
  list-style: none;
  transition: background var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '\f107'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  transition: transform var(--transition); font-size: 1.1rem; color: var(--text-muted);
}
.faq-item[open] summary { background: var(--primary-bg); }
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item .faq-answer { padding: 0 var(--space-md) var(--space-md); color: var(--text-secondary); font-size: 0.92rem; line-height: 1.7; }

/* ===== CTA ===== */
.cta-section {
  background: var(--bg-dark) url('/assets/images/backpic/back-3.png') center center / cover no-repeat;
  position: relative; isolation: isolate;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,16,40,0.9), rgba(108,62,248,0.5));
  z-index: 0;
}
.cta-section .container { position: relative; z-index: 1; text-align: center; padding: var(--space-xl) 0; }
.cta-section h2 { color: var(--text-inverse); font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: var(--space-sm); }
.cta-section p { color: rgba(255,255,255,0.7); max-width: 560px; margin: 0 auto var(--space-lg); font-size: 1.05rem; }
.cta-section .btn-primary { font-size: 1.05rem; padding: 14px 36px; }

/* ===== 页脚 ===== */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--space-lg) 0 var(--space-md);
}
.footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-lg); }
.footer-brand .logo-text { font-size: 1.2rem; font-weight: 800; color: var(--text-inverse); margin-bottom: var(--space-sm); display: inline-block; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.5); max-width: 300px; }
.footer-col h4 { color: var(--text-inverse); font-size: 0.9rem; font-weight: 600; margin-bottom: var(--space-md); text-transform: uppercase; letter-spacing: 0.04em; }
.footer-col ul li { margin-bottom: var(--space-xs); }
.footer-col ul a { color: rgba(255,255,255,0.55); font-size: 0.88rem; transition: all var(--transition); }
.footer-col ul a:hover { color: var(--primary-light); padding-left: 4px; }
.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: var(--space-md);
  margin-top: var(--space-md);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: var(--space-sm);
  font-size: 0.8rem; color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--primary-light); }

/* ===== 响应式 ===== */
/* 平板及以下 */
@media (max-width: 1024px) {
  :root { --nav-width: 200px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer .container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .mobile-header { display: flex; }
  .mobile-overlay.active { display: block; }
  .main-content { margin-left: 0; }
  .hero { min-height: 60vh; }
  .hero-content { padding: var(--space-lg) 0; }
  .features-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer .container { grid-template-columns: 1fr; gap: var(--space-md); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .category-card { flex-direction: column; text-align: center; }
  .category-card .cat-cover { width: 80px; height: 80px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; justify-content: center; }
}

@media (max-width: 520px) {
  .hero-content h1 { font-size: 1.8rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
  .stat-item { padding: var(--space-sm); }
  .section-padding { padding: var(--space-lg) 0; }
  .container { padding: 0 var(--space-sm); }
  .news-card .news-img { height: 140px; }
  .showcase-card .showcase-img { height: 160px; }
}

/* ===== 滚动条 ===== */
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* ===== 加载动画 ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.hero-content { animation: fadeUp 0.8s ease-out; }
.feature-card, .category-card, .news-card, .showcase-card { animation: fadeUp 0.6s ease-out both; }
.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

/* roulang page: article */
/* ===== 设计变量 ===== */
:root {
  --primary: #8B5CF6;
  --primary-soft: #7C3AED;
  --primary-light: #A78BFA;
  --primary-bg: rgba(139, 92, 246, 0.08);
  --secondary: #EC4899;
  --secondary-light: #F472B6;
  --accent: #06B6D4;
  --bg-dark: #0F0A1A;
  --bg-card: #1A1329;
  --bg-elevated: #221B36;
  --bg-body: #0B0615;
  --text-primary: #F5F0FF;
  --text-secondary: #C4B5E3;
  --text-muted: #8B7AAA;
  --border-color: rgba(139, 92, 246, 0.15);
  --border-light: rgba(139, 92, 246, 0.08);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.25);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.35);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.45);
  --shadow-glow: 0 0 30px rgba(139, 92, 246, 0.15);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Segoe UI', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --sidebar-w: 240px;
  --header-h: 0px;
  --max-w: 1100px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  display: flex;
  min-height: 100vh;
}
a { color: var(--primary-light); text-decoration: none; transition: var(--transition); }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }
button, input, textarea { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--primary); color: #fff; }
:focus-visible { outline: 2px solid var(--primary-light); outline-offset: 2px; border-radius: 4px; }

/* ===== 左侧导航 ===== */
.sidebar {
  position: fixed; top: 0; left: 0; bottom: 0; width: var(--sidebar-w);
  background: var(--bg-dark); border-right: 1px solid var(--border-color);
  display: flex; flex-direction: column; z-index: 1000;
  overflow-y: auto; padding: 0;
}
.sidebar-brand {
  padding: 24px 20px 16px; border-bottom: 1px solid var(--border-light);
  display: flex; align-items: center; gap: 12px;
}
.logo-icon {
  width: 38px; height: 38px; background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: #fff; flex-shrink: 0;
}
.logo-text {
  font-size: 20px; font-weight: 700; background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  letter-spacing: 0.5px;
}
.sidebar-nav {
  padding: 12px 0; flex: 1; display: flex; flex-direction: column; gap: 4px;
}
.nav-section { padding: 8px 0; }
.nav-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--text-muted); padding: 8px 20px 6px; font-weight: 600;
}
.sidebar-nav a {
  display: flex; align-items: center; gap: 12px; padding: 10px 20px;
  color: var(--text-secondary); font-size: 14px; font-weight: 500;
  border-left: 3px solid transparent; transition: var(--transition);
}
.sidebar-nav a i { width: 18px; text-align: center; font-size: 15px; color: var(--text-muted); transition: var(--transition); }
.sidebar-nav a:hover { background: var(--primary-bg); color: #fff; border-left-color: var(--primary-light); }
.sidebar-nav a:hover i { color: var(--primary-light); }
.sidebar-nav a.active { background: var(--primary-bg); color: #fff; border-left-color: var(--primary); }
.sidebar-nav a.active i { color: var(--primary); }
.sidebar-footer {
  padding: 16px 20px; border-top: 1px solid var(--border-light);
  font-size: 12px; color: var(--text-muted); text-align: center;
}

/* ===== 主内容区 ===== */
.main-content {
  margin-left: var(--sidebar-w); flex: 1; min-height: 100vh;
  display: flex; flex-direction: column; width: calc(100% - var(--sidebar-w));
}
.container {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
}

/* ===== 文章 Banner ===== */
.article-banner {
  position: relative; padding: 60px 0 50px; margin-bottom: 0;
  background: linear-gradient(135deg, rgba(15,10,26,0.92), rgba(26,19,41,0.88)), url('/assets/images/backpic/back-1.png') center/cover no-repeat;
  border-bottom: 1px solid var(--border-color);
}
.article-banner .container { position: relative; z-index: 2; }
.article-breadcrumb {
  display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-muted); margin-bottom: 20px; flex-wrap: wrap;
}
.article-breadcrumb a { color: var(--text-muted); }
.article-breadcrumb a:hover { color: var(--primary-light); }
.article-breadcrumb .sep { color: var(--text-muted); opacity: 0.4; }
.article-category-badge {
  display: inline-block; padding: 4px 14px; border-radius: 20px;
  background: var(--primary-bg); color: var(--primary-light); font-size: 12px; font-weight: 600;
  letter-spacing: 0.5px; margin-bottom: 14px; border: 1px solid rgba(139,92,246,0.2);
}
.article-banner h1 {
  font-size: 32px; font-weight: 800; line-height: 1.3; color: #fff;
  max-width: 800px; letter-spacing: -0.3px;
}
.article-meta-bar {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 20px;
  font-size: 13px; color: var(--text-secondary);
}
.article-meta-bar .meta-item { display: flex; align-items: center; gap: 6px; }
.article-meta-bar .meta-item i { font-size: 13px; color: var(--text-muted); }

/* ===== 文章主体 ===== */
.article-body-section { padding: 40px 0 50px; }
.article-content-wrap {
  background: var(--bg-card); border-radius: var(--radius-lg);
  border: 1px solid var(--border-color); padding: 40px 44px;
  box-shadow: var(--shadow-md);
}
.article-content {
  font-size: 16px; line-height: 1.9; color: var(--text-secondary);
}
.article-content p { margin-bottom: 1.2em; }
.article-content h2 { font-size: 22px; font-weight: 700; color: #fff; margin: 1.6em 0 0.6em; }
.article-content h3 { font-size: 18px; font-weight: 600; color: #fff; margin: 1.4em 0 0.5em; }
.article-content ul, .article-content ol { padding-left: 1.5em; margin-bottom: 1.2em; }
.article-content li { margin-bottom: 0.4em; list-style: disc; }
.article-content a { color: var(--primary-light); border-bottom: 1px solid transparent; }
.article-content a:hover { border-bottom-color: var(--primary-light); }
.article-content blockquote {
  border-left: 4px solid var(--primary); padding: 12px 20px; margin: 1.2em 0;
  background: var(--primary-bg); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-secondary); font-style: italic;
}
.article-content img { border-radius: var(--radius-md); margin: 1.2em 0; box-shadow: var(--shadow-sm); }
.article-content code { background: var(--bg-elevated); padding: 2px 8px; border-radius: 4px; font-size: 0.9em; color: var(--secondary-light); }
.article-content pre { background: var(--bg-elevated); border-radius: var(--radius-md); padding: 20px; overflow-x: auto; margin: 1.2em 0; border: 1px solid var(--border-color); }

/* ===== 文章标签 ===== */
.article-tags { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border-light); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.article-tags .tag-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.article-tags .tag {
  display: inline-block; padding: 4px 14px; border-radius: 20px;
  background: var(--bg-elevated); color: var(--text-secondary); font-size: 12px;
  border: 1px solid var(--border-color); transition: var(--transition);
}
.article-tags .tag:hover { background: var(--primary-bg); color: var(--primary-light); border-color: var(--primary); }

/* ===== 分享区 ===== */
.article-share { margin-top: 28px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.article-share .share-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.article-share .share-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border-radius: 50%; background: var(--bg-elevated); color: var(--text-secondary);
  border: 1px solid var(--border-color); transition: var(--transition); font-size: 14px; cursor: pointer;
}
.article-share .share-btn:hover { background: var(--primary-bg); color: var(--primary-light); border-color: var(--primary); transform: translateY(-2px); }

/* ===== 上下篇导航 ===== */
.article-pn { padding: 30px 0; border-top: 1px solid var(--border-color); margin-top: 40px; }
.article-pn .pn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.article-pn .pn-item {
  padding: 18px 22px; background: var(--bg-card); border-radius: var(--radius-md);
  border: 1px solid var(--border-color); transition: var(--transition);
  display: flex; flex-direction: column; gap: 4px;
}
.article-pn .pn-item:hover { border-color: var(--primary); box-shadow: var(--shadow-glow); transform: translateY(-2px); }
.article-pn .pn-item.pn-next { text-align: right; }
.article-pn .pn-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.article-pn .pn-title { font-size: 15px; font-weight: 600; color: var(--text-primary); }

/* ===== 相关推荐 ===== */
.related-section { padding: 50px 0 40px; background: var(--bg-dark); }
.related-section .section-title { font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 28px; display: flex; align-items: center; gap: 12px; }
.related-section .section-title i { color: var(--primary-light); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card {
  background: var(--bg-card); border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid var(--border-color); transition: var(--transition);
}
.related-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--shadow-glow); }
.related-card .rc-img { height: 160px; background: var(--bg-elevated); overflow: hidden; }
.related-card .rc-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.related-card:hover .rc-img img { transform: scale(1.05); }
.related-card .rc-body { padding: 16px 18px 18px; }
.related-card .rc-cat { font-size: 11px; color: var(--primary-light); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.related-card .rc-title { font-size: 15px; font-weight: 600; color: #fff; margin: 6px 0; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-card .rc-meta { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 12px; }

/* ===== CTA ===== */
.article-cta { padding: 50px 0 60px; }
.article-cta .cta-box {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
  border-radius: var(--radius-xl); padding: 44px 50px; text-align: center;
  border: 1px solid var(--border-color); box-shadow: var(--shadow-lg);
}
.article-cta .cta-box h3 { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.article-cta .cta-box p { color: var(--text-secondary); max-width: 520px; margin: 0 auto 24px; font-size: 15px; }
.article-cta .cta-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 36px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff; border-radius: 50px; font-weight: 600; font-size: 16px;
  border: none; cursor: pointer; transition: var(--transition); box-shadow: 0 4px 20px rgba(139,92,246,0.3);
}
.article-cta .cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(139,92,246,0.45); color: #fff; }

/* ===== 内容未找到 ===== */
.not-found-box { text-align: center; padding: 60px 20px; }
.not-found-box i { font-size: 48px; color: var(--text-muted); margin-bottom: 16px; }
.not-found-box h2 { font-size: 24px; color: #fff; margin-bottom: 10px; }
.not-found-box p { color: var(--text-secondary); margin-bottom: 20px; }
.not-found-box .back-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; background: var(--primary); color: #fff; border-radius: 50px; font-weight: 600; transition: var(--transition); }
.not-found-box .back-btn:hover { background: var(--primary-soft); transform: translateY(-2px); color: #fff; }

/* ===== 页脚 ===== */
.footer {
  background: var(--bg-dark); border-top: 1px solid var(--border-color);
  padding: 50px 0 30px; margin-top: auto;
}
.footer .container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 32px; }
.footer-brand .logo-text { font-size: 22px; }
.footer-brand p { font-size: 14px; color: var(--text-secondary); margin-top: 12px; line-height: 1.7; max-width: 320px; }
.footer-col h4 { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 14px; letter-spacing: 0.5px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 13px; color: var(--text-muted); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--primary-light); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid var(--border-light); padding-top: 20px; margin-top: 8px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--text-muted); flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: var(--text-secondary); }
.footer-bottom a:hover { color: var(--primary-light); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .sidebar { width: 200px; }
  .main-content { margin-left: 200px; width: calc(100% - 200px); }
  .article-banner h1 { font-size: 28px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  body { flex-direction: column; }
  .sidebar {
    position: relative; width: 100%; height: auto; border-right: none;
    border-bottom: 1px solid var(--border-color); flex-direction: row;
    flex-wrap: wrap; padding: 0 16px; overflow-y: visible;
  }
  .sidebar-brand { padding: 14px 0; border-bottom: none; flex: 1; }
  .sidebar-nav {
    flex-direction: row; flex-wrap: wrap; padding: 0 0 10px; width: 100%;
    gap: 2px; justify-content: flex-start;
  }
  .nav-section { display: flex; flex-wrap: wrap; gap: 2px; padding: 0; width: 100%; }
  .nav-label { display: none; }
  .sidebar-nav a { padding: 8px 14px; border-left: none; border-radius: var(--radius-sm); font-size: 13px; }
  .sidebar-nav a.active { border-left: none; background: var(--primary-bg); }
  .sidebar-footer { display: none; }
  .main-content { margin-left: 0; width: 100%; }
  .container { padding: 0 16px; }
  .article-banner { padding: 40px 0 30px; }
  .article-banner h1 { font-size: 22px; }
  .article-content-wrap { padding: 24px 20px; }
  .article-meta-bar { gap: 12px; font-size: 12px; }
  .article-pn .pn-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .article-cta .cta-box { padding: 30px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 520px) {
  .article-banner h1 { font-size: 19px; }
  .article-content-wrap { padding: 18px 14px; }
  .article-content { font-size: 15px; }
  .article-cta .cta-box h3 { font-size: 18px; }
  .related-card .rc-img { height: 140px; }
}

/* roulang page: category1 */
/* ===== 设计变量 ===== */
        :root {
            --primary: #6C5CE7;
            --primary-dark: #5A4BD1;
            --primary-light: #8B7CF7;
            --secondary: #FF6B6B;
            --accent: #FDCB6E;
            --bg-dark: #0F0F1A;
            --bg-darker: #0A0A14;
            --bg-card: #1A1A2E;
            --bg-hover: #252540;
            --bg-body: #F8F9FE;
            --bg-white: #FFFFFF;
            --text-primary: #1A1A2E;
            --text-secondary: #6B7280;
            --text-light: #9CA3AF;
            --text-on-dark: #FFFFFF;
            --text-muted-dark: #B2B2CC;
            --border: #E5E7EB;
            --border-dark: #2D2D4A;
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 20px;
            --radius-xl: 28px;
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
            --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
            --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
            --shadow-glow: 0 0 40px rgba(108, 92, 231, 0.15);
            --nav-width: 260px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            --max-width: 1200px;
        }

        /* ===== Reset & Base ===== */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        body {
            font-family: var(--font-family);
            font-size: 16px;
            line-height: 1.7;
            color: var(--text-primary);
            background: var(--bg-body);
            display: flex;
            min-height: 100vh;
        }

        a {
            color: var(--primary);
            text-decoration: none;
            transition: var(--transition);
        }
        a:hover {
            color: var(--primary-dark);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        button,
        input,
        textarea {
            font-family: inherit;
            font-size: inherit;
            outline: none;
            border: none;
        }

        button {
            cursor: pointer;
        }

        ul,
        ol {
            list-style: none;
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            line-height: 1.3;
            font-weight: 700;
            color: var(--text-primary);
        }

        /* ===== 布局容器 ===== */
        .container {
            width: 100%;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
        }

        .page-layout {
            display: flex;
            width: 100%;
            min-height: 100vh;
        }

        /* ===== 左侧导航 ===== */
        .sidebar {
            position: fixed;
            top: 0;
            left: 0;
            width: var(--nav-width);
            height: 100vh;
            background: var(--bg-dark);
            color: var(--text-on-dark);
            display: flex;
            flex-direction: column;
            z-index: 1000;
            overflow-y: auto;
            overflow-x: hidden;
            transition: var(--transition);
            border-right: 1px solid var(--border-dark);
        }

        .sidebar::-webkit-scrollbar {
            width: 4px;
        }
        .sidebar::-webkit-scrollbar-track {
            background: var(--bg-darker);
        }
        .sidebar::-webkit-scrollbar-thumb {
            background: var(--border-dark);
            border-radius: 4px;
        }

        .sidebar-brand {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 28px 24px 24px;
            border-bottom: 1px solid var(--border-dark);
            flex-shrink: 0;
        }

        .sidebar-brand .logo-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: #fff;
            flex-shrink: 0;
        }

        .sidebar-brand .logo-text {
            font-size: 20px;
            font-weight: 800;
            background: linear-gradient(135deg, #fff, var(--primary-light));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            letter-spacing: -0.5px;
        }

        .sidebar-nav {
            flex: 1;
            padding: 16px 12px 24px;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .nav-section {
            margin-bottom: 16px;
        }

        .nav-label {
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1.2px;
            color: var(--text-muted-dark);
            padding: 0 12px;
            margin-bottom: 6px;
            opacity: 0.7;
        }

        .sidebar-nav a {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 12px 16px;
            border-radius: var(--radius-sm);
            color: var(--text-muted-dark);
            font-size: 15px;
            font-weight: 500;
            transition: var(--transition);
            position: relative;
        }

        .sidebar-nav a i {
            width: 20px;
            text-align: center;
            font-size: 16px;
            flex-shrink: 0;
        }

        .sidebar-nav a:hover {
            background: var(--bg-hover);
            color: var(--text-on-dark);
        }

        .sidebar-nav a.active {
            background: var(--primary);
            color: #fff;
            box-shadow: 0 4px 16px rgba(108, 92, 231, 0.35);
        }

        .sidebar-nav a.active::before {
            content: '';
            position: absolute;
            left: -12px;
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 24px;
            background: var(--primary-light);
            border-radius: 0 4px 4px 0;
        }

        /* ===== 移动端菜单按钮 ===== */
        .menu-toggle {
            display: none;
            position: fixed;
            top: 16px;
            left: 16px;
            z-index: 1100;
            width: 44px;
            height: 44px;
            background: var(--bg-white);
            border-radius: var(--radius-sm);
            box-shadow: var(--shadow-md);
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: var(--text-primary);
            cursor: pointer;
            border: 1px solid var(--border);
            transition: var(--transition);
        }

        .menu-toggle:hover {
            background: var(--bg-body);
        }

        .menu-toggle.active {
            left: 276px;
        }

        .sidebar-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 999;
            backdrop-filter: blur(4px);
        }

        /* ===== 右侧主内容 ===== */
        .main-content {
            flex: 1;
            margin-left: var(--nav-width);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* ===== Banner 区域 ===== */
        .category-banner {
            position: relative;
            padding: 80px 0 72px;
            background: var(--bg-dark);
            overflow: hidden;
            min-height: 320px;
            display: flex;
            align-items: center;
        }

        .category-banner::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
            opacity: 0.4;
            z-index: 0;
        }

        .category-banner::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(15, 15, 26, 0.92) 0%, rgba(15, 15, 26, 0.6) 60%, rgba(108, 92, 231, 0.2) 100%);
            z-index: 1;
        }

        .category-banner .container {
            position: relative;
            z-index: 2;
        }

        .category-banner .breadcrumb {
            font-size: 14px;
            color: var(--text-muted-dark);
            margin-bottom: 16px;
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            align-items: center;
        }

        .category-banner .breadcrumb a {
            color: var(--primary-light);
        }
        .category-banner .breadcrumb a:hover {
            color: #fff;
        }
        .category-banner .breadcrumb span {
            color: var(--text-muted-dark);
        }

        .category-banner h1 {
            font-size: 44px;
            font-weight: 800;
            color: #fff;
            margin-bottom: 16px;
            letter-spacing: -1px;
            line-height: 1.2;
        }

        .category-banner h1 i {
            color: var(--primary-light);
            margin-right: 12px;
        }

        .category-banner p {
            font-size: 18px;
            color: var(--text-muted-dark);
            max-width: 640px;
            line-height: 1.7;
        }

        .category-banner .banner-meta {
            display: flex;
            gap: 28px;
            margin-top: 28px;
            flex-wrap: wrap;
        }

        .category-banner .banner-meta .meta-item {
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--text-muted-dark);
            font-size: 14px;
        }

        .category-banner .banner-meta .meta-item i {
            color: var(--accent);
            font-size: 16px;
        }

        /* ===== 通用板块 ===== */
        .section {
            padding: 72px 0;
        }

        .section-header {
            text-align: center;
            margin-bottom: 48px;
        }

        .section-header h2 {
            font-size: 32px;
            font-weight: 800;
            color: var(--text-primary);
            margin-bottom: 12px;
            letter-spacing: -0.5px;
        }

        .section-header p {
            font-size: 16px;
            color: var(--text-secondary);
            max-width: 560px;
            margin: 0 auto;
        }

        .section-header .badge {
            display: inline-block;
            background: rgba(108, 92, 231, 0.1);
            color: var(--primary);
            padding: 4px 16px;
            border-radius: 100px;
            font-size: 13px;
            font-weight: 600;
            margin-bottom: 12px;
        }

        /* ===== 分类简介 + 数据 ===== */
        .intro-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 48px;
            align-items: center;
        }

        .intro-text h3 {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 16px;
        }

        .intro-text p {
            color: var(--text-secondary);
            line-height: 1.8;
            margin-bottom: 20px;
        }

        .intro-text .intro-cta {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 28px;
            background: var(--primary);
            color: #fff;
            border-radius: 100px;
            font-weight: 600;
            font-size: 15px;
            transition: var(--transition);
        }
        .intro-text .intro-cta:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: var(--shadow-glow);
            color: #fff;
        }

        .intro-stats {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .stat-card {
            background: var(--bg-white);
            border-radius: var(--radius-md);
            padding: 28px 24px;
            text-align: center;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border);
            transition: var(--transition);
        }

        .stat-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
            border-color: var(--primary-light);
        }

        .stat-card .stat-number {
            font-size: 36px;
            font-weight: 800;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1.2;
        }

        .stat-card .stat-label {
            font-size: 14px;
            color: var(--text-secondary);
            margin-top: 6px;
            font-weight: 500;
        }

        /* ===== 资讯卡片网格 ===== */
        .news-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
        }

        .news-card {
            background: var(--bg-white);
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border);
            transition: var(--transition);
            display: flex;
            flex-direction: column;
        }

        .news-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-lg);
            border-color: transparent;
        }

        .news-card .card-img {
            position: relative;
            aspect-ratio: 16 / 9;
            overflow: hidden;
            background: var(--bg-dark);
        }

        .news-card .card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }

        .news-card:hover .card-img img {
            transform: scale(1.05);
        }

        .news-card .card-img .card-tag {
            position: absolute;
            top: 12px;
            left: 12px;
            background: var(--primary);
            color: #fff;
            padding: 4px 14px;
            border-radius: 100px;
            font-size: 12px;
            font-weight: 600;
            z-index: 2;
        }

        .news-card .card-body {
            padding: 22px 24px 24px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .news-card .card-body .card-date {
            font-size: 13px;
            color: var(--text-light);
            display: flex;
            align-items: center;
            gap: 6px;
            margin-bottom: 8px;
        }

        .news-card .card-body h3 {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 10px;
            line-height: 1.4;
        }

        .news-card .card-body h3 a {
            color: var(--text-primary);
        }
        .news-card .card-body h3 a:hover {
            color: var(--primary);
        }

        .news-card .card-body p {
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.7;
            flex: 1;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .news-card .card-body .card-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 16px;
            padding-top: 14px;
            border-top: 1px solid var(--border);
        }

        .news-card .card-body .card-footer .read-more {
            font-size: 14px;
            font-weight: 600;
            color: var(--primary);
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .news-card .card-body .card-footer .read-more:hover {
            gap: 10px;
        }

        .news-card .card-body .card-footer .like-count {
            font-size: 13px;
            color: var(--text-light);
            display: flex;
            align-items: center;
            gap: 4px;
        }

        /* ===== 热门标签 ===== */
        .tags-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            justify-content: center;
            max-width: 720px;
            margin: 0 auto;
        }

        .tags-cloud .tag-item {
            display: inline-block;
            padding: 8px 20px;
            background: var(--bg-white);
            border: 1px solid var(--border);
            border-radius: 100px;
            font-size: 14px;
            font-weight: 500;
            color: var(--text-secondary);
            transition: var(--transition);
        }

        .tags-cloud .tag-item:hover {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
            transform: translateY(-2px);
            box-shadow: 0 4px 16px rgba(108, 92, 231, 0.3);
        }

        .tags-cloud .tag-item.tag-lg {
            font-size: 17px;
            padding: 10px 26px;
        }
        .tags-cloud .tag-item.tag-sm {
            font-size: 12px;
            padding: 6px 14px;
        }
        .tags-cloud .tag-item.tag-hot {
            background: rgba(255, 107, 107, 0.08);
            border-color: rgba(255, 107, 107, 0.25);
            color: var(--secondary);
        }
        .tags-cloud .tag-item.tag-hot:hover {
            background: var(--secondary);
            color: #fff;
            border-color: var(--secondary);
        }

        /* ===== 精选推荐 ===== */
        .featured-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            grid-template-rows: auto auto;
            gap: 20px;
        }

        .featured-card {
            position: relative;
            border-radius: var(--radius-md);
            overflow: hidden;
            background: var(--bg-dark);
            min-height: 200px;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
        }

        .featured-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
        }

        .featured-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }

        .featured-card:hover img {
            transform: scale(1.04);
        }

        .featured-card .featured-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
            z-index: 1;
        }

        .featured-card .featured-content {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 24px 24px 20px;
            z-index: 2;
        }

        .featured-card .featured-content .featured-tag {
            display: inline-block;
            background: var(--accent);
            color: #1A1A2E;
            padding: 2px 12px;
            border-radius: 100px;
            font-size: 12px;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .featured-card .featured-content h3 {
            font-size: 18px;
            color: #fff;
            font-weight: 700;
            line-height: 1.3;
        }

        .featured-card .featured-content p {
            font-size: 13px;
            color: rgba(255, 255, 255, 0.7);
            margin-top: 4px;
        }

        .featured-card.main-feature {
            grid-row: 1 / 3;
            min-height: 420px;
        }

        .featured-card.main-feature .featured-content h3 {
            font-size: 26px;
        }

        /* ===== 资讯动态时间线 ===== */
        .timeline {
            position: relative;
            max-width: 800px;
            margin: 0 auto;
            padding-left: 40px;
        }

        .timeline::before {
            content: '';
            position: absolute;
            left: 14px;
            top: 0;
            bottom: 0;
            width: 2px;
            background: linear-gradient(to bottom, var(--primary-light), var(--secondary), transparent);
            border-radius: 2px;
        }

        .timeline-item {
            position: relative;
            padding: 0 0 40px 32px;
        }

        .timeline-item:last-child {
            padding-bottom: 0;
        }

        .timeline-item::before {
            content: '';
            position: absolute;
            left: -32px;
            top: 6px;
            width: 12px;
            height: 12px;
            background: var(--primary);
            border-radius: 50%;
            border: 3px solid var(--bg-body);
            box-shadow: 0 0 0 3px var(--primary-light), var(--shadow-sm);
            z-index: 1;
        }

        .timeline-item .tl-date {
            font-size: 13px;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 4px;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .timeline-item .tl-title {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 6px;
        }

        .timeline-item .tl-title a {
            color: var(--text-primary);
        }
        .timeline-item .tl-title a:hover {
            color: var(--primary);
        }

        .timeline-item .tl-desc {
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.7;
        }

        /* ===== CTA 订阅 ===== */
        .cta-section {
            background: var(--bg-dark);
            position: relative;
            overflow: hidden;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-3.png') center center / cover no-repeat;
            opacity: 0.12;
            z-index: 0;
        }

        .cta-section::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(15, 15, 26, 0.95) 0%, rgba(108, 92, 231, 0.15) 100%);
            z-index: 1;
        }

        .cta-section .container {
            position: relative;
            z-index: 2;
            text-align: center;
            padding: 80px 24px;
        }

        .cta-section h2 {
            font-size: 36px;
            color: #fff;
            font-weight: 800;
            margin-bottom: 16px;
        }

        .cta-section p {
            font-size: 18px;
            color: var(--text-muted-dark);
            max-width: 520px;
            margin: 0 auto 32px;
        }

        .cta-form {
            display: flex;
            max-width: 480px;
            margin: 0 auto;
            gap: 12px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .cta-form input[type="email"] {
            flex: 1;
            min-width: 220px;
            padding: 14px 20px;
            border-radius: 100px;
            background: var(--bg-card);
            border: 1px solid var(--border-dark);
            color: #fff;
            font-size: 15px;
            transition: var(--transition);
        }

        .cta-form input[type="email"]::placeholder {
            color: var(--text-muted-dark);
        }
        .cta-form input[type="email"]:focus {
            border-color: var(--primary-light);
            background: var(--bg-hover);
            box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
        }

        .cta-form button {
            padding: 14px 32px;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: #fff;
            border-radius: 100px;
            font-weight: 600;
            font-size: 15px;
            transition: var(--transition);
            border: none;
            white-space: nowrap;
        }

        .cta-form button:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(108, 92, 231, 0.4);
        }

        .cta-section .cta-note {
            font-size: 13px;
            color: var(--text-muted-dark);
            margin-top: 16px;
            opacity: 0.7;
        }

        /* ===== FAQ ===== */
        .faq-list {
            max-width: 760px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .faq-item {
            background: var(--bg-white);
            border-radius: var(--radius-md);
            border: 1px solid var(--border);
            overflow: hidden;
            transition: var(--transition);
        }

        .faq-item:hover {
            border-color: var(--primary-light);
            box-shadow: var(--shadow-sm);
        }

        .faq-question {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 20px 24px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            color: var(--text-primary);
            background: transparent;
            width: 100%;
            text-align: left;
            transition: var(--transition);
            border: none;
            gap: 12px;
        }

        .faq-question:hover {
            color: var(--primary);
        }

        .faq-question .faq-icon {
            font-size: 18px;
            color: var(--primary);
            transition: var(--transition);
            flex-shrink: 0;
        }

        .faq-item.active .faq-question .faq-icon {
            transform: rotate(180deg);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease, padding 0.4s ease;
            padding: 0 24px;
            color: var(--text-secondary);
            font-size: 15px;
            line-height: 1.8;
        }

        .faq-item.active .faq-answer {
            max-height: 300px;
            padding: 0 24px 24px;
        }

        /* ===== 页脚 ===== */
        .footer {
            background: var(--bg-darker);
            color: var(--text-muted-dark);
            padding: 64px 0 32px;
            margin-top: auto;
            border-top: 1px solid var(--border-dark);
        }

        .footer .container {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
        }

        .footer-brand .logo-text {
            font-size: 22px;
            font-weight: 800;
            background: linear-gradient(135deg, #fff, var(--primary-light));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .footer-brand p {
            font-size: 14px;
            line-height: 1.8;
            color: var(--text-muted-dark);
            margin-top: 12px;
            max-width: 320px;
        }

        .footer-col h4 {
            font-size: 15px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 18px;
        }

        .footer-col ul li {
            margin-bottom: 10px;
        }

        .footer-col ul li a {
            font-size: 14px;
            color: var(--text-muted-dark);
            transition: var(--transition);
        }

        .footer-col ul li a:hover {
            color: var(--primary-light);
            padding-left: 4px;
        }

        .footer-bottom {
            grid-column: 1 / -1;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 28px;
            margin-top: 28px;
            border-top: 1px solid var(--border-dark);
            font-size: 13px;
            flex-wrap: wrap;
            gap: 12px;
        }

        .footer-bottom a {
            color: var(--primary-light);
        }
        .footer-bottom a:hover {
            color: #fff;
        }

        /* ===== 响应式 ===== */
        @media (max-width: 1024px) {
            .intro-grid {
                grid-template-columns: 1fr;
                gap: 32px;
            }
            .news-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .featured-grid {
                grid-template-columns: 1fr 1fr;
            }
            .featured-card.main-feature {
                grid-column: 1 / -1;
                min-height: 320px;
            }
            .footer .container {
                grid-template-columns: 1fr 1fr;
                gap: 32px;
            }
            .footer-brand {
                grid-column: 1 / -1;
            }
        }

        @media (max-width: 768px) {
            :root {
                --nav-width: 0px;
            }

            .sidebar {
                transform: translateX(-100%);
                width: 280px;
            }

            .sidebar.open {
                transform: translateX(0);
            }

            .sidebar-overlay.active {
                display: block;
            }

            .menu-toggle {
                display: flex;
            }

            .main-content {
                margin-left: 0;
            }

            .menu-toggle.active {
                left: 296px;
            }

            .category-banner {
                padding: 100px 0 56px;
                min-height: 240px;
            }

            .category-banner h1 {
                font-size: 30px;
            }
            .category-banner p {
                font-size: 16px;
            }
            .category-banner .banner-meta {
                gap: 16px;
            }

            .section {
                padding: 48px 0;
            }
            .section-header h2 {
                font-size: 26px;
            }

            .news-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .featured-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }
            .featured-card.main-feature {
                min-height: 260px;
            }
            .featured-card.main-feature .featured-content h3 {
                font-size: 20px;
            }

            .intro-stats {
                grid-template-columns: 1fr 1fr;
                gap: 12px;
            }
            .stat-card .stat-number {
                font-size: 28px;
            }

            .timeline {
                padding-left: 28px;
            }
            .timeline::before {
                left: 8px;
            }
            .timeline-item {
                padding: 0 0 28px 24px;
            }
            .timeline-item::before {
                left: -24px;
                width: 10px;
                height: 10px;
            }

            .cta-section .container {
                padding: 56px 24px;
            }
            .cta-section h2 {
                font-size: 28px;
            }
            .cta-form {
                flex-direction: column;
                align-items: stretch;
            }
            .cta-form input[type="email"] {
                min-width: auto;
            }

            .footer .container {
                grid-template-columns: 1fr;
                gap: 28px;
            }
            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }

            .faq-question {
                padding: 16px 20px;
                font-size: 15px;
            }
            .faq-item.active .faq-answer {
                padding: 0 20px 20px;
            }
        }

        @media (max-width: 520px) {
            .category-banner h1 {
                font-size: 24px;
            }
            .category-banner p {
                font-size: 14px;
            }
            .category-banner .banner-meta .meta-item {
                font-size: 12px;
            }

            .section-header h2 {
                font-size: 22px;
            }

            .intro-stats {
                grid-template-columns: 1fr;
            }
            .stat-card {
                padding: 20px 16px;
            }
            .stat-card .stat-number {
                font-size: 26px;
            }

            .tags-cloud .tag-item {
                font-size: 12px;
                padding: 6px 14px;
            }
            .tags-cloud .tag-item.tag-lg {
                font-size: 14px;
                padding: 8px 18px;
            }

            .featured-card .featured-content {
                padding: 16px;
            }
            .featured-card .featured-content h3 {
                font-size: 15px;
            }
            .featured-card.main-feature .featured-content h3 {
                font-size: 18px;
            }

            .cta-section h2 {
                font-size: 24px;
            }
            .cta-section p {
                font-size: 15px;
            }
            .cta-form button {
                width: 100%;
            }

            .news-card .card-body {
                padding: 16px 18px 18px;
            }
            .news-card .card-body h3 {
                font-size: 16px;
            }
        }

        /* ===== 辅助动画 ===== */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .section {
            animation: fadeInUp 0.6s ease forwards;
        }

        .news-card:nth-child(2) {
            animation-delay: 0.1s;
        }
        .news-card:nth-child(3) {
            animation-delay: 0.2s;
        }
        .news-card:nth-child(4) {
            animation-delay: 0.3s;
        }
        .news-card:nth-child(5) {
            animation-delay: 0.4s;
        }
        .news-card:nth-child(6) {
            animation-delay: 0.5s;
        }
