/* roulang page: index */
/* ===== 设计变量 ===== */
:root {
  /* 主色系 — 金/橙 */
  --primary: #d4a854;
  --primary-dark: #b88d3a;
  --primary-light: #e8c97a;
  --primary-glow: rgba(212, 168, 84, 0.3);
  /* 辅色 */
  --accent: #c0392b;
  --accent-dark: #a93226;
  /* 深色背景 */
  --bg-deep: #0d0b15;
  --bg-card: #151220;
  --bg-card-hover: #1c192b;
  --bg-elevated: #1f1b30;
  /* 文字 */
  --text-primary: #f0ece4;
  --text-secondary: #a89f94;
  --text-muted: #6b6358;
  --text-gold: #d4a854;
  /* 边框 & 分割 */
  --border-subtle: rgba(212, 168, 84, 0.12);
  --border-glow: rgba(212, 168, 84, 0.25);
  /* 圆角 */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  /* 阴影 */
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-card-hover: 0 8px 40px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 30px var(--primary-glow);
  /* 间距 */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;
  /* 导航 */
  --nav-width: 240px;
  --nav-collapsed: 0px;
  /* 字体 */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans SC', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  /* 过渡 */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
/* ===== 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);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
a { color: var(--text-gold); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--primary-light); }
a:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.25; color: var(--text-primary); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: var(--space-md); color: var(--text-secondary); }
::selection { background: var(--primary); color: var(--bg-deep); }
/* ===== 辅助类 ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-lg); }
.section-padding { padding: var(--space-2xl) 0; }
.section-title { margin-bottom: var(--space-lg); }
.section-title h2 { position: relative; display: inline-block; }
.section-title h2::after {
  content: '';
  display: block;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
  margin-top: var(--space-sm);
  border-radius: 4px;
}
.text-gold { color: var(--text-gold); }
.text-center { text-align: center; }
/* ===== 布局: 左侧导航 + 主内容 ===== */
.app-wrapper { display: flex; min-height: 100vh; }
/* ===== 左侧导航 ===== */
.sidebar {
  position: fixed; top: 0; left: 0;
  width: var(--nav-width);
  height: 100vh;
  background: var(--bg-card);
  border-right: 1px solid var(--border-subtle);
  display: flex; flex-direction: column;
  z-index: 1000;
  transition: transform var(--transition-smooth);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.sidebar-brand {
  padding: var(--space-lg) var(--space-md);
  border-bottom: 1px solid var(--border-subtle);
  display: flex; align-items: center; gap: var(--space-sm);
}
.sidebar-brand .brand-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: var(--bg-deep);
  flex-shrink: 0;
}
.sidebar-brand .brand-text {
  font-size: 20px; font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sidebar-nav { flex: 1; padding: var(--space-md) 0; overflow-y: auto; }
.sidebar-nav .nav-section-label {
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--text-muted);
  padding: var(--space-md) var(--space-lg) var(--space-xs);
  font-weight: 600;
}
.sidebar-nav .nav-item { display: flex; align-items: center; gap: var(--space-md); padding: 10px var(--space-lg); margin: 2px var(--space-sm); border-radius: var(--radius-md); color: var(--text-secondary); font-size: 15px; font-weight: 500; transition: all var(--transition-fast); cursor: pointer; position: relative; }
.sidebar-nav .nav-item i { width: 20px; text-align: center; font-size: 16px; flex-shrink: 0; }
.sidebar-nav .nav-item:hover { background: rgba(212, 168, 84, 0.08); color: var(--text-primary); }
.sidebar-nav .nav-item.active { background: rgba(212, 168, 84, 0.12); color: var(--text-gold); }
.sidebar-nav .nav-item.active::before {
  content: '';
  position: absolute; left: -6px; top: 50%; transform: translateY(-50%);
  width: 3px; height: 20px;
  background: var(--primary);
  border-radius: 0 4px 4px 0;
}
.sidebar-footer {
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--border-subtle);
  font-size: 12px; color: var(--text-muted);
  text-align: center;
}
/* ===== 移动端菜单按钮 ===== */
.menu-toggle {
  display: none;
  position: fixed; top: var(--space-md); left: var(--space-md);
  z-index: 1100;
  width: 44px; height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 20px;
  cursor: pointer;
  align-items: center; justify-content: center;
  transition: background var(--transition-fast);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.menu-toggle:hover { background: var(--bg-card-hover); }
.menu-toggle i { pointer-events: none; }
.overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 999;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}
.overlay.show { opacity: 1; }
/* ===== 主内容区 ===== */
.main-content {
  margin-left: var(--nav-width);
  flex: 1;
  width: calc(100% - var(--nav-width));
}
/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, rgba(13,11,21,0.85) 0%, rgba(13,11,21,0.6) 100%), url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg-deep), transparent);
}
.hero .hero-glow {
  position: absolute; top: 15%; right: 10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.5;
}
.hero .hero-glow-2 {
  position: absolute; bottom: 10%; left: 5%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(192,57,43,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: var(--space-2xl) var(--space-lg);
}
.hero-content .hero-badge {
  display: inline-flex; align-items: center; gap: var(--space-sm);
  background: rgba(212,168,84,0.12);
  border: 1px solid var(--border-glow);
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 14px; font-weight: 500;
  color: var(--text-gold);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.5px;
}
.hero-content .hero-badge i { font-size: 14px; }
.hero-content h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, #f0ece4 0%, var(--primary-light) 50%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
}
.hero-actions { display: flex; gap: var(--space-md); justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: var(--space-sm);
  padding: 12px 32px;
  border-radius: 100px;
  font-weight: 600; font-size: 16px;
  border: none; cursor: pointer;
  transition: all var(--transition-smooth);
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--bg-deep);
  box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px var(--primary-glow); color: var(--bg-deep); }
.btn-primary:active { transform: translateY(0); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--border-glow);
  color: var(--text-gold);
}
.btn-outline:hover { background: rgba(212,168,84,0.1); border-color: var(--primary); color: var(--primary-light); transform: translateY(-2px); }
.btn-outline:active { transform: translateY(0); }
.btn-sm { padding: 8px 20px; font-size: 14px; }
/* ===== 特色板块 ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  transition: all var(--transition-smooth);
}
.feature-card:hover { background: var(--bg-card-hover); border-color: var(--border-glow); transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.feature-card .feature-icon {
  width: 60px; height: 60px;
  margin: 0 auto var(--space-md);
  background: rgba(212,168,84,0.1);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: var(--text-gold);
  transition: all var(--transition-smooth);
}
.feature-card:hover .feature-icon { background: rgba(212,168,84,0.2); transform: scale(1.05); }
.feature-card h3 { margin-bottom: var(--space-sm); font-size: 1.15rem; }
.feature-card p { font-size: 14px; margin-bottom: 0; }
/* ===== 彩种分类 ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
}
.category-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
  cursor: pointer;
}
.category-card:hover { transform: translateY(-4px); border-color: var(--border-glow); box-shadow: var(--shadow-card-hover); }
.category-card .cat-img {
  width: 100%; height: 160px;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}
.category-card:hover .cat-img { transform: scale(1.03); }
.category-card .cat-body { padding: var(--space-md) var(--space-lg) var(--space-lg); }
.category-card .cat-body h3 { margin-bottom: var(--space-xs); }
.category-card .cat-body p { font-size: 14px; margin-bottom: var(--space-md); }
.category-card .cat-tag {
  display: inline-block;
  padding: 3px 12px;
  background: rgba(212,168,84,0.1);
  border-radius: 100px;
  font-size: 12px; color: var(--text-gold);
  font-weight: 500;
}
/* ===== 资讯列表 ===== */
.news-list { display: flex; flex-direction: column; gap: var(--space-md); }
.news-item {
  display: flex; gap: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: all var(--transition-smooth);
  align-items: flex-start;
}
.news-item:hover { background: var(--bg-card-hover); border-color: var(--border-glow); transform: translateX(4px); }
.news-item .news-thumb {
  width: 120px; height: 90px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--bg-elevated);
}
.news-item .news-body { flex: 1; min-width: 0; }
.news-item .news-body .news-meta {
  display: flex; gap: var(--space-md); align-items: center;
  font-size: 13px; color: var(--text-muted); margin-bottom: var(--space-xs);
}
.news-item .news-body .news-meta .news-cat {
  color: var(--text-gold); font-weight: 500;
}
.news-item .news-body h3 { font-size: 1.1rem; margin-bottom: var(--space-xs); }
.news-item .news-body p { font-size: 14px; margin-bottom: 0; color: var(--text-secondary); }
.news-empty {
  text-align: center; padding: var(--space-2xl);
  color: var(--text-muted); background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-subtle);
}
/* ===== 数据统计 ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-lg);
}
.stat-card {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-xl) var(--space-md);
  transition: all var(--transition-smooth);
}
.stat-card:hover { border-color: var(--border-glow); transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.stat-card .stat-number {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  -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: var(--space-sm); }
/* ===== 工作流程 ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  counter-reset: step;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  position: relative;
  transition: all var(--transition-smooth);
}
.step-card:hover { background: var(--bg-card-hover); border-color: var(--border-glow); transform: translateY(-4px); }
.step-card .step-number {
  width: 48px; height: 48px;
  margin: 0 auto var(--space-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; color: var(--bg-deep);
}
.step-card h3 { margin-bottom: var(--space-sm); }
.step-card p { font-size: 14px; margin-bottom: 0; }
/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-sm); }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}
.faq-item.open { border-color: var(--border-glow); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--space-md) var(--space-lg);
  cursor: pointer;
  font-weight: 500; color: var(--text-primary);
  transition: background var(--transition-fast);
  user-select: none;
}
.faq-question:hover { background: rgba(212,168,84,0.04); }
.faq-question i { color: var(--text-gold); transition: transform var(--transition-smooth); font-size: 14px; }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height var(--transition-smooth), padding var(--transition-smooth);
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 var(--space-lg) var(--space-md);
}
.faq-answer p { font-size: 14px; margin-bottom: 0; color: var(--text-secondary); }
/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(160deg, rgba(13,11,21,0.9) 0%, rgba(13,11,21,0.7) 100%), url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, var(--primary-glow) 0%, transparent 60%);
  pointer-events: none;
}
.cta-section > * { position: relative; z-index: 2; }
.cta-section h2 { margin-bottom: var(--space-md); }
.cta-section p { max-width: 560px; margin: 0 auto var(--space-lg); }
/* ===== 页脚 ===== */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-xl) 0 var(--space-lg);
  margin-top: var(--space-2xl);
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: var(--space-md);
}
.footer .footer-brand { display: flex; align-items: center; gap: var(--space-sm); }
.footer .footer-brand .brand-icon {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: var(--bg-deep);
}
.footer .footer-brand .brand-text {
  font-size: 16px; font-weight: 700;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer p { font-size: 13px; color: var(--text-muted); margin-bottom: 0; }
.footer-links { display: flex; gap: var(--space-md); }
.footer-links a { font-size: 13px; color: var(--text-muted); transition: color var(--transition-fast); }
.footer-links a:hover { color: var(--text-gold); }
/* ===== 移动端响应式 ===== */
@media (max-width: 1024px) {
  .news-item { flex-direction: column; }
  .news-item .news-thumb { width: 100%; height: 160px; }
}
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .menu-toggle { display: flex; }
  .overlay { display: block; pointer-events: none; }
  .overlay.show { pointer-events: auto; }
  .main-content { margin-left: 0; width: 100%; }
  .hero { min-height: 70vh; }
  .hero-content h1 { font-size: clamp(1.8rem, 8vw, 2.8rem); }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .cta-section { padding: var(--space-xl) var(--space-lg); }
}
@media (max-width: 520px) {
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .news-item .news-thumb { height: 120px; }
  .section-padding { padding: var(--space-xl) 0; }
  .sidebar-brand { padding: var(--space-md); }
  .sidebar-nav .nav-item { padding: 8px var(--space-md); font-size: 14px; }
}
/* ===== 滚动条 ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--bg-elevated); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
/* ===== 分割线 ===== */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
  margin: var(--space-2xl) 0;
}
/* ===== 标签云 ===== */
.tag-list { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 14px;
  background: rgba(212,168,84,0.08);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-size: 13px; color: var(--text-secondary);
  transition: all var(--transition-fast);
}
.tag:hover { background: rgba(212,168,84,0.15); border-color: var(--border-glow); color: var(--text-gold); }
/* ===== 滚动动画 ===== */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.show { opacity: 1; transform: translateY(0); }

/* roulang page: category1 */
/* ===== 设计变量 ===== */
        :root {
            --primary: #e8342e;
            --primary-dark: #c9221d;
            --primary-light: #ff6b5a;
            --secondary: #f5a623;
            --secondary-light: #ffd93e;
            --accent: #9b59b6;
            --bg-dark: #0d0d1a;
            --bg-card: #1a1a2e;
            --bg-card-hover: #222244;
            --bg-section: #12122a;
            --text-main: #f0f0f5;
            --text-secondary: #b0b0c8;
            --text-muted: #6e6e8a;
            --border-color: #2a2a4a;
            --border-light: #3a3a5a;
            --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.5);
            --shadow-glow: 0 0 30px rgba(232, 52, 46, 0.25);
            --radius-sm: 8px;
            --radius-md: 14px;
            --radius-lg: 22px;
            --radius-xl: 30px;
            --spacing-xs: 6px;
            --spacing-sm: 14px;
            --spacing-md: 28px;
            --spacing-lg: 48px;
            --spacing-xl: 72px;
            --font-main: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
            --sidebar-width: 210px;
            --header-height-mobile: 64px;
            --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* ===== 基础重置 ===== */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: var(--font-main);
            background: var(--bg-dark);
            color: var(--text-main);
            line-height: 1.7;
            font-size: 16px;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        a {
            color: var(--secondary);
            text-decoration: none;
            transition: color var(--transition);
        }
        a:hover {
            color: var(--secondary-light);
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        button,
        input,
        select,
        textarea {
            font-family: inherit;
            font-size: inherit;
            border: none;
            outline: none;
            background: none;
            color: inherit;
        }
        button {
            cursor: pointer;
        }
        ul,
        ol {
            list-style: none;
        }

        /* ===== 容器 ===== */
        .app-shell {
            display: flex;
            min-height: 100vh;
        }

        .sidebar {
            width: var(--sidebar-width);
            background: var(--bg-card);
            border-right: 1px solid var(--border-color);
            display: flex;
            flex-direction: column;
            position: fixed;
            top: 0;
            left: 0;
            bottom: 0;
            z-index: 100;
            padding: var(--spacing-md) 0;
            overflow-y: auto;
            backdrop-filter: blur(8px);
            box-shadow: 4px 0 30px rgba(0, 0, 0, 0.4);
        }

        .sidebar-logo {
            padding: 0 var(--spacing-md) var(--spacing-md);
            border-bottom: 1px solid var(--border-color);
            margin-bottom: var(--spacing-md);
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .sidebar-logo .brand-icon {
            width: 42px;
            height: 42px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            font-weight: 800;
            color: #fff;
            flex-shrink: 0;
            box-shadow: 0 4px 16px rgba(232, 52, 46, 0.35);
        }

        .sidebar-logo .brand-text {
            font-size: 20px;
            font-weight: 700;
            color: var(--text-main);
            letter-spacing: 1px;
        }
        .sidebar-logo .brand-text span {
            color: var(--primary);
        }

        .nav-section-label {
            padding: 0 var(--spacing-md);
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: var(--text-muted);
            margin-bottom: var(--spacing-xs);
            font-weight: 600;
        }

        .sidebar-nav {
            display: flex;
            flex-direction: column;
            gap: 2px;
            padding: 0 var(--spacing-sm);
        }

        .nav-item {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 12px 16px;
            border-radius: var(--radius-sm);
            color: var(--text-secondary);
            font-size: 15px;
            font-weight: 500;
            transition: all var(--transition);
            position: relative;
        }
        .nav-item i {
            width: 20px;
            text-align: center;
            font-size: 16px;
            color: var(--text-muted);
            transition: color var(--transition);
        }
        .nav-item:hover {
            color: var(--text-main);
            background: rgba(255, 255, 255, 0.05);
        }
        .nav-item:hover i {
            color: var(--secondary);
        }
        .nav-item.active {
            color: #fff;
            background: linear-gradient(135deg, rgba(232, 52, 46, 0.25), rgba(245, 166, 35, 0.15));
            border: 1px solid rgba(232, 52, 46, 0.3);
            box-shadow: 0 0 20px rgba(232, 52, 46, 0.08);
        }
        .nav-item.active i {
            color: var(--primary);
        }
        .nav-item.active::before {
            content: '';
            position: absolute;
            left: -8px;
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 24px;
            background: var(--primary);
            border-radius: 0 4px 4px 0;
        }

        /* ===== 主内容区 ===== */
        .main-content {
            margin-left: var(--sidebar-width);
            flex: 1;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        .page-banner {
            position: relative;
            padding: 80px 0 70px;
            background: linear-gradient(135deg, #0d0d1a 0%, #1a0a1a 50%, #0d0d1a 100%);
            overflow: hidden;
            text-align: center;
        }
        .page-banner::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url(/assets/images/backpic/back-2.png) center/cover no-repeat;
            opacity: 0.2;
            z-index: 0;
        }
        .page-banner::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            right: 0;
            height: 80px;
            background: linear-gradient(to top, var(--bg-dark), transparent);
            z-index: 1;
        }
        .page-banner .container {
            position: relative;
            z-index: 2;
        }
        .page-banner h1 {
            font-size: 44px;
            font-weight: 800;
            color: #fff;
            margin-bottom: 16px;
            letter-spacing: 1px;
            text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
        }
        .page-banner h1 span {
            color: var(--primary);
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .page-banner p {
            font-size: 18px;
            color: var(--text-secondary);
            max-width: 640px;
            margin: 0 auto;
            line-height: 1.8;
        }
        .banner-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
            margin-top: 24px;
        }
        .banner-tags .tag {
            padding: 5px 16px;
            border-radius: 100px;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.12);
            font-size: 13px;
            color: var(--text-secondary);
            transition: all var(--transition);
        }
        .banner-tags .tag:hover {
            background: rgba(232, 52, 46, 0.2);
            border-color: var(--primary);
            color: #fff;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 var(--spacing-md);
            width: 100%;
        }

        /* ===== 板块通用 ===== */
        .section {
            padding: var(--spacing-xl) 0;
        }
        .section-header {
            text-align: center;
            margin-bottom: var(--spacing-lg);
        }
        .section-header h2 {
            font-size: 32px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 12px;
            letter-spacing: 0.5px;
        }
        .section-header h2 i {
            color: var(--primary);
            margin-right: 8px;
        }
        .section-header p {
            font-size: 16px;
            color: var(--text-secondary);
            max-width: 600px;
            margin: 0 auto;
        }
        .section-subtitle {
            display: inline-block;
            padding: 4px 18px;
            border-radius: 100px;
            background: rgba(232, 52, 46, 0.12);
            border: 1px solid rgba(232, 52, 46, 0.2);
            font-size: 13px;
            color: var(--primary-light);
            font-weight: 500;
            margin-bottom: 12px;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        .divider {
            height: 1px;
            background: linear-gradient(to right, transparent, var(--border-color), transparent);
            margin: var(--spacing-md) 0;
        }

        /* ===== 攻略分类入口 ===== */
        .guide-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 20px;
        }
        .guide-card {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            padding: 28px 24px;
            text-align: center;
            border: 1px solid var(--border-color);
            transition: all var(--transition);
            position: relative;
            overflow: hidden;
        }
        .guide-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            transform: scaleX(0);
            transform-origin: left;
            transition: transform var(--transition);
        }
        .guide-card:hover::before {
            transform: scaleX(1);
        }
        .guide-card:hover {
            background: var(--bg-card-hover);
            border-color: var(--border-light);
            transform: translateY(-4px);
            box-shadow: var(--shadow-card);
        }
        .guide-card .icon-wrap {
            width: 56px;
            height: 56px;
            border-radius: var(--radius-sm);
            background: linear-gradient(135deg, rgba(232, 52, 46, 0.2), rgba(245, 166, 35, 0.15));
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 16px;
            font-size: 26px;
            color: var(--primary);
        }
        .guide-card h3 {
            font-size: 18px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 8px;
        }
        .guide-card p {
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.6;
        }
        .guide-card .badge {
            display: inline-block;
            margin-top: 12px;
            padding: 3px 14px;
            border-radius: 100px;
            background: rgba(245, 166, 35, 0.15);
            color: var(--secondary);
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 0.5px;
        }

        /* ===== 精选文章卡片 ===== */
        .article-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 24px;
        }
        .article-card {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            overflow: hidden;
            border: 1px solid var(--border-color);
            transition: all var(--transition);
            display: flex;
            flex-direction: column;
        }
        .article-card:hover {
            background: var(--bg-card-hover);
            border-color: var(--border-light);
            transform: translateY(-4px);
            box-shadow: var(--shadow-card);
        }
        .article-card .card-img {
            width: 100%;
            aspect-ratio: 16/9;
            object-fit: cover;
            background: var(--bg-section);
            border-bottom: 1px solid var(--border-color);
        }
        .article-card .card-body {
            padding: 20px 22px 22px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .article-card .card-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 10px;
        }
        .article-card .card-tags .tag {
            padding: 2px 12px;
            border-radius: 100px;
            background: rgba(232, 52, 46, 0.1);
            font-size: 12px;
            color: var(--primary-light);
            font-weight: 500;
        }
        .article-card h3 {
            font-size: 18px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 8px;
            line-height: 1.4;
        }
        .article-card h3 a {
            color: #fff;
        }
        .article-card h3 a:hover {
            color: var(--primary-light);
        }
        .article-card p {
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.7;
            flex: 1;
            margin-bottom: 14px;
        }
        .article-card .card-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 13px;
            color: var(--text-muted);
            border-top: 1px solid var(--border-color);
            padding-top: 14px;
        }
        .article-card .card-meta i {
            margin-right: 4px;
        }
        .article-card .card-meta .read-more {
            color: var(--secondary);
            font-weight: 600;
            transition: color var(--transition);
        }
        .article-card .card-meta .read-more:hover {
            color: var(--secondary-light);
        }

        /* ===== 数据统计 ===== */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
            gap: 20px;
        }
        .stat-card {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            padding: 28px 20px;
            text-align: center;
            border: 1px solid var(--border-color);
            transition: all var(--transition);
        }
        .stat-card:hover {
            background: var(--bg-card-hover);
            border-color: var(--border-light);
            transform: translateY(-2px);
        }
        .stat-card .stat-num {
            font-size: 38px;
            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;
        }

        /* ===== 步骤流程 ===== */
        .steps {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 28px;
            position: relative;
        }
        .step-item {
            text-align: center;
            position: relative;
            padding: 0 8px;
        }
        .step-item .step-num {
            width: 52px;
            height: 52px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            font-weight: 800;
            color: #fff;
            margin: 0 auto 18px;
            box-shadow: 0 8px 24px rgba(232, 52, 46, 0.3);
        }
        .step-item h4 {
            font-size: 17px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 8px;
        }
        .step-item p {
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.7;
        }
        .step-item:not(:last-child)::after {
            content: '→';
            position: absolute;
            right: -20px;
            top: 14px;
            font-size: 28px;
            color: var(--text-muted);
            font-weight: 300;
        }
        @media (max-width: 900px) {
            .step-item:not(:last-child)::after {
                display: none;
            }
        }

        /* ===== FAQ ===== */
        .faq-list {
            max-width: 800px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .faq-item {
            background: var(--bg-card);
            border-radius: var(--radius-sm);
            border: 1px solid var(--border-color);
            overflow: hidden;
            transition: all var(--transition);
        }
        .faq-item:hover {
            border-color: var(--border-light);
        }
        .faq-item details {
            padding: 0;
        }
        .faq-item summary {
            padding: 18px 22px;
            font-size: 16px;
            font-weight: 600;
            color: var(--text-main);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            user-select: none;
            transition: color var(--transition);
            list-style: none;
        }
        .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: transform var(--transition);
            flex-shrink: 0;
        }
        .faq-item details[open] summary::after {
            transform: rotate(180deg);
        }
        .faq-item details[open] summary {
            color: var(--primary-light);
            border-bottom: 1px solid var(--border-color);
        }
        .faq-item .faq-answer {
            padding: 0 22px 18px;
            font-size: 15px;
            color: var(--text-secondary);
            line-height: 1.8;
        }
        .faq-item .faq-answer a {
            color: var(--secondary);
            text-decoration: underline;
        }

        /* ===== CTA ===== */
        .cta-section {
            background: linear-gradient(135deg, rgba(232, 52, 46, 0.08), rgba(245, 166, 35, 0.06));
            border: 1px solid rgba(232, 52, 46, 0.15);
            border-radius: var(--radius-lg);
            padding: 56px 40px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url(/assets/images/backpic/back-3.png) center/cover no-repeat;
            opacity: 0.06;
            z-index: 0;
        }
        .cta-section .cta-content {
            position: relative;
            z-index: 1;
        }
        .cta-section h2 {
            font-size: 30px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 12px;
        }
        .cta-section p {
            font-size: 16px;
            color: var(--text-secondary);
            max-width: 540px;
            margin: 0 auto 24px;
        }
        .cta-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 14px;
            justify-content: center;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 14px 34px;
            border-radius: 100px;
            font-size: 16px;
            font-weight: 600;
            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 20px rgba(232, 52, 46, 0.35);
        }
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 32px rgba(232, 52, 46, 0.45);
            color: #fff;
        }
        .btn-secondary {
            background: transparent;
            color: var(--text-main);
            border: 1px solid var(--border-light);
        }
        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.06);
            border-color: var(--text-muted);
            color: #fff;
            transform: translateY(-2px);
        }
        .btn-sm {
            padding: 8px 20px;
            font-size: 14px;
        }

        /* ===== 页脚 ===== */
        .footer {
            padding: var(--spacing-lg) 0 var(--spacing-md);
            margin-top: auto;
        }
        .footer .divider {
            margin-bottom: var(--spacing-md);
        }
        .footer-inner {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
        }
        .footer-brand {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .footer-brand .brand-icon {
            width: 34px;
            height: 34px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            font-weight: 800;
            color: #fff;
        }
        .footer-brand .brand-text {
            font-size: 17px;
            font-weight: 700;
            color: var(--text-main);
        }
        .footer p {
            font-size: 14px;
            color: var(--text-muted);
            text-align: center;
        }
        .footer-links {
            display: flex;
            gap: 20px;
        }
        .footer-links a {
            font-size: 14px;
            color: var(--text-secondary);
            transition: color var(--transition);
        }
        .footer-links a:hover {
            color: var(--secondary);
        }

        /* ===== 响应式 ===== */
        /* 移动端菜单按钮 - 桌面隐藏 */
        .mobile-menu-toggle {
            display: none;
            position: fixed;
            top: 14px;
            left: 14px;
            z-index: 200;
            width: 40px;
            height: 40px;
            border-radius: var(--radius-sm);
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            color: var(--text-main);
            font-size: 18px;
            align-items: center;
            justify-content: center;
            transition: all var(--transition);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
        }
        .mobile-menu-toggle:hover {
            background: var(--bg-card-hover);
        }

        .sidebar-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.6);
            z-index: 99;
            backdrop-filter: blur(2px);
        }

        @media (max-width: 1024px) {
            .section {
                padding: var(--spacing-lg) 0;
            }
            .page-banner {
                padding: 60px 0 50px;
            }
            .page-banner h1 {
                font-size: 34px;
            }
        }

        @media (max-width: 768px) {
            :root {
                --sidebar-width: 0px;
            }

            .mobile-menu-toggle {
                display: flex;
            }

            .sidebar {
                transform: translateX(-100%);
                transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
                width: 240px;
                border-right: 1px solid var(--border-color);
            }
            .sidebar.open {
                transform: translateX(0);
            }

            .sidebar-overlay.active {
                display: block;
            }

            .main-content {
                margin-left: 0;
                padding-top: var(--header-height-mobile);
            }

            .page-banner {
                padding: 40px 0 36px;
            }
            .page-banner h1 {
                font-size: 26px;
            }
            .page-banner p {
                font-size: 15px;
            }

            .section-header h2 {
                font-size: 24px;
            }

            .guide-grid {
                grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
                gap: 14px;
            }
            .guide-card {
                padding: 20px 16px;
            }
            .guide-card .icon-wrap {
                width: 44px;
                height: 44px;
                font-size: 20px;
            }
            .guide-card h3 {
                font-size: 16px;
            }

            .article-grid {
                grid-template-columns: 1fr;
                gap: 18px;
            }

            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 14px;
            }
            .stat-card .stat-num {
                font-size: 28px;
            }

            .steps {
                grid-template-columns: 1fr;
                gap: 24px;
            }

            .cta-section {
                padding: 36px 24px;
            }
            .cta-section h2 {
                font-size: 22px;
            }

            .footer-inner {
                flex-direction: column;
                text-align: center;
            }
            .footer-links {
                justify-content: center;
            }

            .container {
                padding: 0 16px;
            }

            .faq-item summary {
                padding: 14px 16px;
                font-size: 15px;
            }
            .faq-item .faq-answer {
                padding: 0 16px 14px;
                font-size: 14px;
            }
        }

        @media (max-width: 520px) {
            .page-banner h1 {
                font-size: 22px;
            }
            .page-banner p {
                font-size: 14px;
            }
            .guide-grid {
                grid-template-columns: 1fr 1fr;
            }
            .stats-grid {
                grid-template-columns: 1fr 1fr;
            }
            .banner-tags .tag {
                font-size: 12px;
                padding: 4px 12px;
            }
            .btn {
                padding: 12px 24px;
                font-size: 14px;
            }
            .cta-section {
                padding: 28px 16px;
            }
            .cta-section h2 {
                font-size: 20px;
            }
            .section-header h2 {
                font-size: 20px;
            }
        }

        /* ===== 滚动条美化 ===== */
        ::-webkit-scrollbar {
            width: 6px;
            height: 6px;
        }
        ::-webkit-scrollbar-track {
            background: var(--bg-dark);
        }
        ::-webkit-scrollbar-thumb {
            background: var(--border-color);
            border-radius: 4px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: var(--text-muted);
        }

        /* ===== 实用 ===== */
        .text-center {
            text-align: center;
        }
        .mt-sm {
            margin-top: var(--spacing-sm);
        }
        .mt-md {
            margin-top: var(--spacing-md);
        }
        .mt-lg {
            margin-top: var(--spacing-lg);
        }
        .mb-md {
            margin-bottom: var(--spacing-md);
        }
        .gap-sm {
            gap: var(--spacing-sm);
        }
        .flex-center {
            display: flex;
            align-items: center;
            justify-content: center;
        }

/* roulang page: article */
:root {
  --primary: #1a1a2e;
  --primary-light: #2d2d44;
  --primary-dark: #0f0f1a;
  --accent: #e8a838;
  --accent-light: #f0c060;
  --accent-dark: #c88a1a;
  --bg: #f8f7f4;
  --bg-card: #ffffff;
  --bg-dark: #1a1a2e;
  --text: #1a1a2e;
  --text-light: #6b6b7a;
  --text-white: #f5f0e8;
  --border: #e2e0db;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-hover: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-btn: 0 4px 14px rgba(232,168,56,0.35);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --sidebar-width: 240px;
  --header-height: 64px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  display: flex;
  min-height: 100vh;
}
a { color: var(--accent-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--primary);
  color: var(--text-white);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  transition: transform var(--transition);
  overflow-y: auto;
}
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 20px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.brand-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0;
}
.brand-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-white);
}
.sidebar-nav {
  padding: 16px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.35);
  padding: 12px 12px 6px;
  font-weight: 600;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  font-weight: 500;
  transition: all var(--transition);
  position: relative;
}
.nav-item i { width: 20px; text-align: center; font-size: 16px; }
.nav-item:hover { background: rgba(255,255,255,0.08); color: var(--text-white); }
.nav-item.active { background: var(--accent); color: var(--primary); font-weight: 600; }
.nav-item.active i { color: var(--primary); }
.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  text-align: center;
}

/* Main Content */
.main-content {
  margin-left: var(--sidebar-width);
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Mobile Header */
.mobile-header {
  display: none;
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--primary);
  color: var(--text-white);
  padding: 0 20px;
  height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.mobile-header .brand-icon { width: 34px; height: 34px; font-size: 16px; }
.mobile-header .brand-text { font-size: 18px; }
.mobile-toggle {
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.mobile-toggle:hover { background: rgba(255,255,255,0.08); }

/* Overlay */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--transition);
}

/* Container */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* Divider */
.divider {
  height: 1px;
  background: var(--border);
  width: 100%;
  margin: 0;
}

/* Article Hero */
.article-hero {
  position: relative;
  padding: 60px 0 50px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--text-white);
  overflow: hidden;
}
.article-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/backpic/back-2.png');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 0;
}
.article-hero .container { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }
.article-hero h1 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--text-white);
  max-width: 800px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
}
.article-meta .tag {
  background: var(--accent);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.article-meta .date { display: flex; align-items: center; gap: 6px; }
.article-meta .date i { font-size: 13px; }

/* Article Body */
.article-body {
  padding: 50px 0 40px;
  background: var(--bg-card);
}
.article-body .container {
  max-width: 800px;
}
.article-content {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
}
.article-content p { margin-bottom: 1.2em; }
.article-content h2, .article-content h3 {
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  font-weight: 700;
  color: var(--primary);
}
.article-content h2 { font-size: 24px; }
.article-content h3 { font-size: 20px; }
.article-content ul, .article-content ol {
  margin: 0 0 1.2em 1.5em;
}
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: 0.4em; }
.article-content img {
  border-radius: var(--radius);
  margin: 1.5em 0;
  box-shadow: var(--shadow);
}
.article-content blockquote {
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  margin: 1.5em 0;
  background: #fcf9f0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-light);
  font-style: italic;
}
.article-content a { color: var(--accent-dark); text-decoration: underline; }

/* Article Info Card */
.article-info {
  padding: 30px 0 20px;
  background: var(--bg-card);
}
.article-info .container {
  max-width: 800px;
}
.info-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--border);
}
.info-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.info-tags .label { font-size: 14px; color: var(--text-light); font-weight: 500; }
.info-tags .tag-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--text);
  transition: all var(--transition);
  cursor: default;
}
.info-tags .tag-item:hover { border-color: var(--accent); color: var(--accent-dark); }
.info-share {
  display: flex;
  align-items: center;
  gap: 8px;
}
.info-share .label { font-size: 14px; color: var(--text-light); }
.info-share a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: all var(--transition);
}
.info-share a:hover { background: var(--accent); color: var(--primary); border-color: var(--accent); }

/* Related Section */
.related-section {
  padding: 50px 0;
  background: var(--bg);
}
.related-section .section-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.related-section .section-sub {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 32px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.related-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--border);
}
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.related-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.related-card-body { padding: 16px 18px 20px; }
.related-card-body h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
  line-height: 1.4;
}
.related-card-body p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 10px;
}
.related-card-body .meta {
  font-size: 12px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
}
.related-card-body .meta .tag-sm {
  background: var(--accent);
  color: var(--primary);
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}

/* Features Section */
.features-section {
  padding: 50px 0;
  background: var(--bg-card);
}
.features-section .section-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  text-align: center;
}
.features-section .section-sub {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 36px;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 16px;
}
.feature-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.feature-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* FAQ Section */
.faq-section {
  padding: 50px 0;
  background: var(--bg);
}
.faq-section .section-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  text-align: center;
}
.faq-section .section-sub {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 32px;
  text-align: center;
}
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow); }
.faq-question {
  padding: 16px 22px;
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background var(--transition);
  user-select: none;
}
.faq-question:hover { background: #fcf9f0; }
.faq-question i { color: var(--accent); font-size: 14px; transition: transform var(--transition); }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 22px;
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 22px 18px;
}

/* CTA Section */
.cta-section {
  padding: 50px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--text-white);
  text-align: center;
}
.cta-section .container { max-width: 640px; }
.cta-section h2 { font-size: 28px; font-weight: 700; margin-bottom: 12px; color: var(--text-white); }
.cta-section p { font-size: 16px; color: rgba(255,255,255,0.7); margin-bottom: 28px; }
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--primary);
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 17px;
  transition: all var(--transition);
  box-shadow: var(--shadow-btn);
  border: none;
  cursor: pointer;
}
.cta-btn:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,168,56,0.45); color: var(--primary); }
.cta-btn:active { transform: translateY(0); }

/* Not Found */
.not-found {
  text-align: center;
  padding: 40px 20px;
}
.not-found i { font-size: 56px; color: var(--accent); margin-bottom: 20px; display: block; }
.not-found h2 { font-size: 24px; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.not-found p { color: var(--text-light); margin-bottom: 20px; font-size: 15px; }
.not-found .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--primary);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  transition: all var(--transition);
}
.not-found .back-link:hover { background: var(--accent-light); transform: translateY(-2px); }

/* Footer */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.5);
  padding: 40px 0 30px;
  margin-top: auto;
}
.footer .divider {
  background: rgba(255,255,255,0.08);
  margin-bottom: 28px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand .brand-icon {
  width: 32px;
  height: 32px;
  font-size: 15px;
}
.footer-brand .brand-text { font-size: 18px; color: var(--text-white); }
.footer p { font-size: 13px; max-width: 480px; line-height: 1.6; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: rgba(255,255,255,0.45); font-size: 13px; transition: color var(--transition); }
.footer-links a:hover { color: var(--accent-light); }

/* Responsive */
@media (max-width: 1024px) {
  .related-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .features-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  .article-hero h1 { font-size: 30px; }
}
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay.open { display: block; opacity: 1; }
  .mobile-header { display: flex; }
  .main-content { margin-left: 0; }
  .container { padding: 0 16px; }
  .article-hero { padding: 40px 0 36px; }
  .article-hero h1 { font-size: 24px; }
  .article-meta { font-size: 13px; gap: 10px; }
  .related-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .features-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
  .info-card { flex-direction: column; align-items: flex-start; padding: 18px 20px; }
  .cta-section h2 { font-size: 22px; }
  .cta-btn { padding: 12px 28px; font-size: 15px; }
  .faq-question { font-size: 15px; padding: 14px 18px; }
  .faq-item.open .faq-answer { padding: 0 18px 16px; }
  .article-content { font-size: 15px; }
  .section-title { font-size: 22px !important; }
}
@media (max-width: 520px) {
  .article-hero h1 { font-size: 20px; }
  .related-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .breadcrumb { font-size: 12px; }
  .article-meta .date { font-size: 12px; }
  .info-tags .tag-item { font-size: 12px; padding: 3px 12px; }
  .cta-section { padding: 36px 0; }
  .cta-section h2 { font-size: 20px; }
  .footer p { font-size: 12px; }
}
