/* roulang page: index */
/* ===== 设计变量 ===== */
:root {
  --primary: #C7000B;
  --primary-dark: #880008;
  --primary-light: #F5B3B6;
  --primary-soft: #FDF0F0;
  --accent: #D4A843;
  --accent-light: #F0DFBC;
  --bg: #F4F4F5;
  --surface: #FFFFFF;
  --text: #1C1C1E;
  --text-secondary: #6E6E73;
  --text-tertiary: #9A9A9F;
  --border: #E3E3E6;
  --sidebar-bg: #131316;
  --sidebar-text: #9A9AA0;
  --sidebar-active: #FFFFFF;
  --sidebar-hover: rgba(255,255,255,0.08);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.10);
  --sidebar-width: 272px;
  --transition: all .3s cubic-bezier(.4,0,.2,1);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

/* ===== Reset / Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-family);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
input, textarea { font-family: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; }

/* ===== 容器 ===== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 72px 0;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section-header .section-title {
  font-size: 32px;
  color: var(--text);
  position: relative;
  padding-bottom: 12px;
}
.section-header .section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: var(--primary);
}
.section-header .section-sub {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 520px;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid transparent;
  line-height: 1.4;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(199,0,11,0.28);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(199,0,11,0.35);
}
.btn-primary:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(199,0,11,0.25); }
.btn-outline {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.22);
  border-color: #fff;
  transform: translateY(-2px);
}
.btn-outline:active { transform: translateY(0); }
.btn-light {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.btn-light:hover {
  background: var(--primary-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.btn:focus-visible {
  outline: 3px solid rgba(199,0,11,0.4);
  outline-offset: 2px;
}

/* ===== 左侧导航 ===== */
.app-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  background: var(--sidebar-bg);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 28px 20px;
  overflow-y: auto;
  transition: transform .35s ease;
}
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 10px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 20px;
}
.sidebar-brand .brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
}
.sidebar-brand .brand-text {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  line-height: 1.2;
}
.sidebar-brand .brand-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1px;
}
.sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sidebar-nav .nav-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.3);
  padding: 12px 12px 6px;
}
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--sidebar-text);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}
.sidebar-nav a i {
  width: 20px;
  text-align: center;
  font-size: 16px;
}
.sidebar-nav a:hover {
  color: #fff;
  background: var(--sidebar-hover);
}
.sidebar-nav a.active {
  color: #fff;
  background: rgba(199,0,11,0.85);
  box-shadow: 0 4px 16px rgba(199,0,11,0.35);
}
.sidebar-nav a.active::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  border-radius: 4px;
  background: var(--accent);
}
.sidebar-footer {
  padding: 20px 12px 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
}
.sidebar-footer .copy {
  display: flex;
  align-items: center;
  gap: 6px;
}
.sidebar-close {
  display: none;
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 18px;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}

/* ===== 主内容区 ===== */
.app-main {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.mobile-header {
  display: none;
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  align-items: center;
  gap: 12px;
}
.mobile-header .menu-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.mobile-header .menu-btn:hover { border-color: var(--primary); color: var(--primary); }
.mobile-header .mobile-brand {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.mobile-header .mobile-brand span { color: var(--primary); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10,10,14,0.88) 0%, rgba(10,10,14,0.62) 50%, rgba(10,10,14,0.25) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 640px;
  padding: 80px 0 80px 48px;
  margin: 0 auto 0 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 40px;
  padding: 8px 20px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}
.hero-badge i { color: var(--accent); }
.hero h1 {
  font-size: 52px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.15;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-stats {
  position: absolute;
  right: 48px;
  bottom: 40px;
  z-index: 2;
  display: flex;
  gap: 20px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
}
.hero-stats .stat-item { text-align: center; padding: 0 12px; }
.hero-stats .stat-num {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}
.hero-stats .stat-num i { color: var(--accent); font-style: normal; }
.hero-stats .stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* ===== 核心优势 ===== */
.features-section {
  background: var(--surface);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid transparent;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
  background: var(--surface);
}
.feature-card:hover::after { opacity: 1; }
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  transition: var(--transition);
}
.feature-card:hover .feature-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.05);
}
.feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ===== 分类入口 ===== */
.categories-section {
  background: var(--bg);
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.category-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.category-card .cat-cover {
  height: 180px;
  position: relative;
  overflow: hidden;
}
.category-card .cat-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.category-card:hover .cat-cover img { transform: scale(1.06); }
.category-card .cat-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.35), transparent);
}
.category-card .cat-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: rgba(255,255,255,0.9);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 30px;
  backdrop-filter: blur(4px);
}
.category-card .cat-body {
  padding: 24px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.category-card .cat-body h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.category-card .cat-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}
.cat-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}
.cat-link i { transition: transform .3s ease; }
.cat-link:hover i { transform: translateX(4px); }
.cat-link:hover { color: var(--primary-dark); }

/* ===== 最新信息 ===== */
.news-section {
  background: var(--surface);
}
.news-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}
.news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.news-item {
  display: flex;
  gap: 20px;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid transparent;
  transition: var(--transition);
}
.news-item:hover {
  background: var(--surface);
  border-color: var(--border);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.news-item .news-index {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.7;
  flex-shrink: 0;
  width: 36px;
}
.news-item .news-content {
  flex: 1;
  min-width: 0;
}
.news-item .news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.news-item .news-cat {
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}
.news-item .news-time {
  font-size: 13px;
  color: var(--text-tertiary);
}
.news-item h3 {
  font-size: 17px;
  margin-bottom: 6px;
  color: var(--text);
  transition: var(--transition);
  line-height: 1.4;
}
.news-item:hover h3 { color: var(--primary); }
.news-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-empty {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 15px;
}
.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.news-side-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
}
.news-side-card h4 {
  font-size: 15px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.news-side-card h4 i { color: var(--primary); }
.news-side-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.news-side-card li a {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  transition: var(--transition);
  line-height: 1.5;
}
.news-side-card li a::before {
  content: '▸';
  color: var(--primary);
  flex-shrink: 0;
}
.news-side-card li a:hover { color: var(--primary); }

/* ===== 流程 ===== */
.process-section {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-step {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.process-step .step-num {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(199,0,11,0.3);
}
.process-step .step-icon {
  font-size: 26px;
  color: var(--primary);
  margin-bottom: 16px;
  display: block;
}
.process-step h3 {
  font-size: 17px;
  margin-bottom: 10px;
}
.process-step p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.process-step::after {
  content: '→';
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 20px;
  font-weight: 700;
  z-index: 2;
}
.process-step:last-child::after { display: none; }

/* ===== 数据统计 ===== */
.stats-section {
  background: var(--sidebar-bg);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(199,0,11,0.2);
  filter: blur(80px);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 2;
}
.stat-block {
  text-align: center;
  padding: 40px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.stat-block:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}
.stat-block .stat-icon {
  font-size: 30px;
  color: var(--accent);
  margin-bottom: 16px;
}
.stat-block .num {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.stat-block .num i {
  font-style: normal;
  color: var(--accent);
  font-size: 28px;
}
.stat-block .label {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-top: 10px;
}

/* ===== FAQ ===== */
.faq-section {
  background: var(--surface);
}
.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--bg);
  border-radius: var(--radius);
  margin-bottom: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover {
  border-color: var(--primary-light);
}
.faq-item.active {
  background: var(--surface);
  box-shadow: var(--shadow);
}
.faq-question {
  width: 100%;
  padding: 22px 28px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  transition: var(--transition);
}
.faq-question .q-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  transition: var(--transition);
}
.faq-item.active .q-icon {
  background: var(--primary);
  color: #fff;
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.faq-answer-inner {
  padding: 0 28px 22px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  margin: 0 28px;
  padding-left: 0;
  padding-right: 0;
  padding-top: 16px;
}

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #8E0006 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
  opacity: 0.15;
}
.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 24px;
  max-width: 720px;
  margin: 0 auto;
}
.cta-inner h2 {
  color: #fff;
  font-size: 36px;
  margin-bottom: 16px;
}
.cta-inner p {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== 页脚 ===== */
.app-footer {
  background: var(--sidebar-bg);
  color: rgba(255,255,255,0.7);
  padding: 48px 40px 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-brand .footer-logo {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand .footer-logo i {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 300px;
}
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: var(--primary);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.footer-col ul a:hover {
  color: var(--accent);
  padding-left: 4px;
}
.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.6); }

/* ===== 响应式 ===== */
@media (max-width: 1200px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step::after { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .news-layout { grid-template-columns: 1fr; }
  .hero-content { padding-left: 36px; }
  .hero-stats { right: 24px; }
}

@media (max-width: 768px) {
  :root { --sidebar-width: 260px; }
  .app-sidebar {
    transform: translateX(-100%);
    box-shadow: 8px 0 40px rgba(0,0,0,0.2);
  }
  .app-sidebar.is-open { transform: translateX(0); }
  .sidebar-close { display: flex; }
  .sidebar-overlay.show { display: block; }
  .app-main { margin-left: 0; }
  .mobile-header { display: flex; }
  .hero {
    min-height: 520px;
  }
  .hero-content {
    padding: 60px 24px;
    text-align: center;
    max-width: 100%;
  }
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 16px; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats {
    position: static;
    margin: 24px auto 0;
    width: fit-content;
    flex-wrap: wrap;
    justify-content: center;
  }
  .section { padding: 48px 0; }
  .section-header .section-title { font-size: 26px; }
  .features-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stats-grid .stat-block { padding: 24px 12px; }
  .stat-block .num { font-size: 30px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand p { margin: 0 auto; }
  .footer-col h4::after { left: 50%; transform: translateX(-50%); }
  .cta-inner { padding: 56px 24px; }
  .cta-inner h2 { font-size: 28px; }
}

@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 30px; }
  .hero-actions .btn { width: 100%; }
  .news-item { flex-direction: column; padding: 20px; gap: 12px; }
  .news-item .news-index { font-size: 18px; width: auto; }
  .stats-grid { grid-template-columns: 1fr; }
  .stats-section .section-header { text-align: center; justify-content: center; }
  .faq-question { padding: 18px 20px; font-size: 15px; flex-wrap: wrap; }
  .app-footer { padding: 36px 20px 24px; }
}

/* roulang page: category1 */
:root {
  --primary: #c8102e;
  --primary-dark: #a50d25;
  --primary-light: #fde8eb;
  --accent: #d4af37;
  --accent-light: #fbf3d9;
  --bg: #f4f5f7;
  --surface: #ffffff;
  --text: #1a1a2e;
  --muted: #6b7280;
  --border: #e5e7eb;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,.06);
  --shadow-lg: 0 20px 40px rgba(0,0,0,.1);
  --sidebar-bg: #151a2d;
  --sidebar-bg-light: #1b2437;
  --content-max: 1200px;
  --space-section: 64px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color .25s ease;
}

img {
  max-width: 100%;
  display: block;
}

button,
input {
  font-family: inherit;
  font-size: inherit;
}

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

.app-shell {
  display: flex;
  min-height: 100vh;
}

/* ============ 侧边栏 ============ */
.sidebar {
  width: 260px;
  background: linear-gradient(180deg, var(--sidebar-bg) 0%, var(--sidebar-bg-light) 100%);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  padding: 28px 20px;
  overflow-y: auto;
  z-index: 50;
  display: flex;
  flex-direction: column;
  color: #fff;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 22px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .02em;
}

.logo-mark {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 8px 20px rgba(200,16,46,.3);
  flex-shrink: 0;
}

.logo-text {
  white-space: nowrap;
}

.sidebar-search {
  position: relative;
  margin-top: 20px;
}

.sidebar-search i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.45);
  font-size: 14px;
}

.sidebar-search input {
  width: 100%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 10px 14px 10px 38px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color .25s, background .25s;
}

.sidebar-search input::placeholder {
  color: rgba(255,255,255,.4);
}

.sidebar-search input:focus {
  border-color: var(--primary);
  background: rgba(255,255,255,.1);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  flex: 1;
}

.nav-label {
  font-size: 12px;
  color: rgba(255,255,255,.38);
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 12px 8px 4px;
  font-weight: 700;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  color: rgba(255,255,255,.72);
  font-size: 15px;
  font-weight: 500;
  transition: background .25s, color .25s, transform .2s;
}

.sidebar-nav a i {
  width: 20px;
  text-align: center;
  font-size: 15px;
}

.sidebar-nav a:hover {
  background: rgba(255,255,255,.07);
  color: #fff;
  transform: translateX(2px);
}

.sidebar-nav a.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(200,16,46,.35);
  transform: none;
}

.sidebar-status {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,.15);
  flex-shrink: 0;
}

.status-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.status-desc {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  line-height: 1.4;
}

/* ============ 主内容区 ============ */
.main-content {
  margin-left: 260px;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.page-main {
  flex: 1;
}

/* ============ 分类 Hero ============ */
.category-hero {
  position: relative;
  background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
  padding: 88px 0 76px;
  color: #fff;
  overflow: hidden;
}

.category-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17,24,39,.94) 0%, rgba(17,24,39,.62) 70%, rgba(17,24,39,.3) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 18px;
}

.hero-tag::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.category-hero h1 {
  font-size: 44px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}

.category-hero p {
  font-size: 16px;
  max-width: 560px;
  color: rgba(255,255,255,.82);
  margin-bottom: 28px;
  line-height: 1.8;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}

.hero-meta span i {
  color: var(--accent);
}

/* ============ 分类筛选 ============ */
.filter-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: var(--shadow-sm);
}

.filter-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-inner::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  padding: 9px 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all .25s ease;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(200,16,46,.25);
}

/* ============ 通用板块 ============ */
.section {
  padding: var(--space-section) 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}

.section-eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.section-title {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -.01em;
}

.section-title.center {
  text-align: center;
}

.section-desc {
  color: var(--muted);
  margin-top: 6px;
  max-width: 560px;
}

.section-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  padding: 9px 18px;
  border: 1px solid var(--primary);
  border-radius: 999px;
  transition: all .25s ease;
}

.section-more:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(200,16,46,.25);
}

/* ============ 资讯卡片 ============ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.news-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.news-card:hover .news-media img {
  transform: scale(1.05);
}

.news-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(17,24,39,.85);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: .02em;
  border: 1px solid rgba(255,255,255,.12);
}

.news-body {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-body h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 10px;
}

.news-body h3 a:hover {
  color: var(--primary);
}

.news-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 18px;
  flex: 1;
}

.news-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.news-date {
  color: var(--muted);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-foot a {
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.news-foot a:hover {
  gap: 9px;
}

/* ============ 精选专题 ============ */
.section-topic {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.topic-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #faf9f6 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.topic-media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.topic-media img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.topic-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: var(--accent);
  color: #1a1a2e;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
}

.topic-content h2 {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 14px;
}

.topic-content p {
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.8;
}

.topic-list {
  list-style: none;
  margin-bottom: 28px;
}

.topic-list li {
  position: relative;
  padding: 9px 0 9px 30px;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px dashed var(--border);
}

.topic-list li:last-child {
  border-bottom: none;
}

.topic-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 11px;
  width: 20px;
  height: 20px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all .25s ease;
  line-height: 1;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(200,16,46,.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(200,16,46,.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn:focus-visible,
.filter-btn:focus-visible,
.cta-form input:focus-visible {
  outline: 3px solid rgba(200,16,46,.4);
  outline-offset: 2px;
}

/* ============ 数据面板 ============ */
.section-stats {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-card {
  background: linear-gradient(135deg, #111827 0%, #1e293b 50%, #24405c 100%);
  border-radius: var(--radius-lg);
  padding: 52px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  overflow: hidden;
}

.stats-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(212,175,55,.08);
}

.stats-card::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 20%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(200,16,46,.1);
}

.stat-item {
  position: relative;
  text-align: center;
  color: #fff;
  z-index: 1;
}

.stat-num {
  display: block;
  font-size: 44px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1.2;
  margin-bottom: 4px;
}

.stat-item span:not(.stat-num) {
  font-size: 15px;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 13px;
  color: rgba(255,255,255,.5);
}

/* ============ 时间线 ============ */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-left: 40px;
  padding-bottom: 32px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--primary);
}

.timeline-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}

.timeline-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.timeline-date {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.timeline-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ============ FAQ ============ */
.section-faq {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 24px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s ease, border-color .25s ease;
}

.faq-item:hover {
  border-color: rgba(200,16,46,.3);
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--primary);
  font-size: 14px;
  transition: transform .3s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item .faq-answer {
  padding: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

/* ============ CTA ============ */
.cta-section {
  padding: 72px 0;
}

.cta-box {
  background: linear-gradient(120deg, #151a2d 0%, #1e293b 60%, #2d1b2e 100%);
  border-radius: var(--radius-lg);
  padding: 48px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -40px;
  left: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(212,175,55,.1);
}

.cta-text h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
}

.cta-text p {
  color: rgba(255,255,255,.65);
  max-width: 420px;
}

.cta-form {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  width: 100%;
  max-width: 460px;
}

.cta-form input {
  flex: 1;
  min-width: 0;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  padding: 13px 16px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: all .25s ease;
}

.cta-form input::placeholder {
  color: rgba(255,255,255,.4);
}

.cta-form input:focus {
  border-color: var(--primary);
  background: rgba(255,255,255,.12);
}

.cta-form .btn {
  white-space: nowrap;
}

/* ============ 页脚 ============ */
.app-footer {
  background: #111827;
  color: rgba(255,255,255,.7);
  padding: 60px 32px 28px;
}

.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand .footer-logo i {
  width: 42px;
  height: 42px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-weight: 900;
  color: #fff;
  font-size: 20px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  max-width: 360px;
}

.footer-col h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  transition: color .25s ease;
}

.footer-col ul a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-bottom {
  max-width: var(--content-max);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}

/* ============ 响应式 ============ */
@media (max-width: 1200px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .app-shell {
    display: block;
  }

  .sidebar {
    position: fixed;
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
    right: 0;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    z-index: 100;
    flex-direction: row;
    overflow-x: auto;
  }

  .sidebar-logo {
    border-bottom: none;
    padding: 0;
    flex-shrink: 0;
  }

  .sidebar-nav {
    flex-direction: row;
    gap: 8px;
    padding: 0;
    overflow-x: auto;
    flex: 1;
    scrollbar-width: none;
  }

  .sidebar-nav::-webkit-scrollbar {
    display: none;
  }

  .sidebar-nav .nav-label {
    display: none;
  }

  .sidebar-nav a {
    white-space: nowrap;
    padding: 8px 14px;
    font-size: 14px;
  }

  .sidebar-nav a:hover {
    transform: none;
  }

  .sidebar-search,
  .sidebar-status {
    display: none;
  }

  .main-content {
    margin-left: 0;
    padding-top: 70px;
  }

  .logo-mark {
    width: 36px;
    height: 36px;
    font-size: 18px;
    border-radius: 10px;
  }

  .logo-text {
    font-size: 16px;
  }

  .topic-wrap {
    grid-template-columns: 1fr;
    padding: 36px;
  }

  .topic-media img {
    height: 260px;
  }

  .stats-card {
    grid-template-columns: repeat(2, 1fr);
    padding: 40px 28px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .category-hero {
    padding: 64px 0 56px;
  }

  .category-hero h1 {
    font-size: 32px;
  }

  .category-hero p {
    font-size: 15px;
  }

  .section {
    --space-section: 48px;
    padding: 48px 0;
  }

  .section-title {
    font-size: 24px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 28px;
  }

  .cta-box {
    flex-direction: column;
    padding: 36px 28px;
    text-align: center;
  }

  .cta-form {
    max-width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 520px) {
  .sidebar {
    padding: 10px 14px;
    gap: 10px;
  }

  .logo-text {
    display: none;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .stats-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stat-num {
    font-size: 36px;
  }

  .topic-wrap {
    padding: 24px 20px;
    gap: 28px;
  }

  .topic-media img {
    height: 200px;
  }

  .topic-content h2 {
    font-size: 22px;
  }

  .cta-section {
    padding: 48px 0;
  }

  .cta-box {
    padding: 28px 20px;
  }

  .cta-form {
    flex-direction: column;
  }

  .cta-form .btn {
    justify-content: center;
  }

  .footer-inner {
    gap: 24px;
  }

  .footer-brand p {
    font-size: 13px;
  }

  .timeline-card {
    padding: 18px 20px;
  }
}

/* roulang page: article */
:root {
  --primary: #b91c1c;
  --primary-dark: #991b1b;
  --primary-light: #ef4444;
  --accent: #d4a574;
  --accent-light: #f3d9bf;
  --sidebar-bg: #111827;
  --sidebar-bg-light: #1f2937;
  --body-bg: #f5f6fa;
  --card-bg: #ffffff;
  --text-main: #1e293b;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-soft: #94a3b8;
  --border: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .06);
  --shadow-md: 0 4px 18px rgba(15, 23, 42, .07);
  --shadow-lg: 0 12px 36px rgba(15, 23, 42, .12);
  --header-h: 68px;
  --sidebar-w: 272px;
  --transition: all .28s cubic-bezier(.4, 0, .2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: var(--body-bg);
  color: var(--text-main);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: 100%;
  border: none;
  outline: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.menu-toggle {
  display: none;
}

/* ========= Sidebar ========= */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar-w);
  background: var(--sidebar-bg);
  display: flex;
  flex-direction: column;
  z-index: 999;
  padding: 28px 18px 22px;
  border-right: 1px solid rgba(255, 255, 255, .06);
}

.sidebar-header {
  padding: 0 12px 26px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  margin-bottom: 22px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  box-shadow: 0 6px 18px rgba(185, 28, 28, .4);
  flex-shrink: 0;
}

.brand-name {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .5px;
  background: linear-gradient(90deg, #fff 60%, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.nav-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, .35);
  text-transform: uppercase;
  padding: 14px 14px 6px;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
  border-radius: 12px;
  color: rgba(255, 255, 255, .6);
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
}

.sidebar-nav a i {
  width: 20px;
  text-align: center;
  font-size: 16px;
  flex-shrink: 0;
}

.sidebar-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  transform: translateX(3px);
}

.sidebar-nav a.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 6px 18px rgba(185, 28, 28, .35);
}

.sidebar-foot {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.side-help {
  background: rgba(255, 255, 255, .05);
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
}

.side-help i {
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 8px;
}

.side-help strong {
  display: block;
  color: #fff;
  font-size: 15px;
  margin-bottom: 4px;
}

.side-help p {
  color: rgba(255, 255, 255, .45);
  font-size: 13px;
  margin-bottom: 12px;
}

.side-help a {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border-radius: 20px;
  font-size: 13px;
  transition: var(--transition);
}

.side-help a:hover {
  background: var(--primary);
}

/* ========= Main Shell ========= */
.main-shell {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}

.topbar-brand {
  display: none;
  font-weight: 700;
  color: var(--text-main);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}

.topbar-link:hover {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-sm {
  padding: 7px 16px;
  font-size: 13px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 14px rgba(185, 28, 28, .28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(185, 28, 28, .35);
}

.btn-outline {
  border-color: var(--border);
  color: var(--text-main);
  background: #fff;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #fff;
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), #b98a4f);
  color: #fff;
  box-shadow: 0 4px 14px rgba(212, 165, 116, .3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(212, 165, 116, .4);
}

.btn-light {
  background: #fff;
  color: var(--primary-dark);
}

.btn-light:hover {
  background: #fef2f2;
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, .7);
  color: #fff;
  background: transparent;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  transform: translateY(-2px);
}

/* ========= Page Main ========= */
.page-main {
  flex: 1;
  padding: 36px 0 20px;
}

.breadcrumb-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumb-bar a:hover {
  color: var(--primary);
}

.breadcrumb-bar i {
  font-size: 10px;
  color: var(--text-soft);
}

.breadcrumb-bar span {
  color: var(--text-main);
  max-width: 420px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ========= Article Hero ========= */
.article-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 28px;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-lg);
}

.article-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, .35) 0%, rgba(15, 23, 42, .72) 60%, rgba(15, 23, 42, .92) 100%);
  z-index: 1;
}

.article-hero-content {
  position: relative;
  z-index: 2;
  padding: 36px 40px 40px;
  width: 100%;
}

.article-cat-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: .5px;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(185, 28, 28, .4);
}

.article-hero-content h1 {
  color: #fff;
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .3);
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  margin-bottom: 14px;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-meta i {
  font-size: 14px;
  color: var(--accent);
}

.article-summary {
  color: rgba(255, 255, 255, .85);
  font-size: 15px;
  max-width: 680px;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========= Article Card ========= */
.article-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, .6);
  padding: 44px 48px;
  margin-bottom: 28px;
}

.article-body {
  color: var(--text-body);
  font-size: 15.5px;
  line-height: 1.9;
  word-break: break-word;
}

.article-body p {
  margin: 0 0 1.4em;
}

.article-body h2 {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 2em 0 .8em;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  position: relative;
}

.article-body h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 48px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.article-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 1.6em 0 .7em;
}

.article-body h4 {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 1.4em 0 .5em;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.4em;
  padding-left: 1.6em;
}

.article-body li {
  margin-bottom: .5em;
}

.article-body li::marker {
  color: var(--primary);
}

.article-body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-body a:hover {
  color: var(--primary-dark);
}

.article-body blockquote {
  margin: 1.6em 0;
  padding: 16px 22px;
  background: #f9fafb;
  border-left: 4px solid var(--primary);
  border-radius: 0 10px 10px 0;
  color: #475569;
  font-style: normal;
}

.article-body img {
  max-width: 100%;
  border-radius: 12px;
  margin: 1.6em 0;
  box-shadow: var(--shadow-md);
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0;
  font-size: 14px;
}

.article-body th,
.article-body td {
  border: 1px solid var(--border);
  padding: 10px 16px;
  text-align: left;
}

.article-body th {
  background: #f8fafc;
  font-weight: 600;
  color: var(--text-main);
}

.article-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2em 0;
}

/* ========= Article Extras ========= */
.article-extras {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 28px;
}

.article-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-right: 4px;
}

.tag-item {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  font-size: 13px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 20px;
  transition: var(--transition);
}

.tag-item:hover {
  background: var(--primary);
  color: #fff;
}

.share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 13px;
}

.share-bar a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition);
}

.share-bar a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ========= Author Box ========= */
.author-box {
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg, #fff 0%, #fdf7f5 100%);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  border: 1px solid #f5e6dd;
  margin-bottom: 28px;
}

.author-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(185, 28, 28, .3);
}

.author-info {
  flex: 1;
  min-width: 0;
}

.author-info strong {
  font-size: 15px;
  color: var(--text-main);
  display: block;
  margin-bottom: 4px;
}

.author-info p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ========= Article Actions ========= */
.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

/* ========= Related ========= */
.related-section {
  margin-bottom: 36px;
}

.section-head {
  margin-bottom: 22px;
}

.section-head h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  position: relative;
  padding-left: 16px;
}

.section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 5px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}

.section-head p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 6px;
  padding-left: 16px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.related-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(185, 28, 28, .2);
}

.related-thumb {
  height: 170px;
  overflow: hidden;
  position: relative;
}

.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.related-card:hover .related-thumb img {
  transform: scale(1.05);
}

.related-card-body {
  padding: 22px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  align-self: flex-start;
}

.badge-red {
  background: #fef2f2;
  color: var(--primary);
  border: 1px solid #fecaca;
}

.badge-blue {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

.badge-gold {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.related-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.45;
  margin-bottom: 10px;
  transition: var(--transition);
}

.related-card:hover h3 {
  color: var(--primary);
}

.related-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========= CTA Band ========= */
.cta-band {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  padding: 44px 48px;
  position: relative;
  margin-bottom: 36px;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(185, 28, 28, .4) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(30%, -30%);
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.cta-content h2 {
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
}

.cta-content p {
  color: rgba(255, 255, 255, .65);
  font-size: 15px;
  max-width: 460px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ========= Not Found ========= */
.not-found {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
  box-shadow: var(--shadow-md);
  margin-bottom: 28px;
}

.not-found-icon {
  font-size: 52px;
  color: var(--text-soft);
  margin-bottom: 18px;
}

.not-found h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.not-found p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ========= Footer ========= */
.app-footer {
  background: #0b1220;
  color: #94a3b8;
  padding: 48px 32px 0;
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
}

.footer-brand .footer-logo {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-logo i {
  font-style: normal;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 10px;
  font-size: 17px;
  color: #fff;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  max-width: 360px;
}

.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  position: relative;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 32px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #94a3b8;
  font-size: 14px;
  transition: var(--transition);
}

.footer-col a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding: 20px 0;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 13px;
  color: rgba(255, 255, 255, .35);
  text-align: center;
}

/* ========= Sidebar Backdrop ========= */
.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 998;
  opacity: 0;
  transition: opacity .3s;
}

.sidebar-backdrop.show {
  opacity: 1;
}

/* ========= Responsive ========= */
@media (max-width: 1024px) {
  :root {
    --sidebar-w: 240px;
  }

  .article-hero-content {
    padding: 28px 28px 32px;
  }

  .article-card {
    padding: 32px 28px;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --sidebar-w: 280px;
  }

  .sidebar {
    transform: translateX(-100%);
    transition: transform .35s ease;
    box-shadow: 6px 0 30px rgba(0, 0, 0, .3);
  }

  .sidebar.show {
    transform: translateX(0);
  }

  .sidebar-backdrop.show {
    display: block;
  }

  .main-shell {
    margin-left: 0;
  }

  .topbar {
    padding: 0 18px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f1f5f9;
    color: var(--text-main);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
  }

  .menu-toggle:hover {
    background: var(--primary);
    color: #fff;
  }

  .topbar-brand {
    display: inline-block;
  }

  .topbar-link span {
    display: none;
  }

  .breadcrumb-bar {
    font-size: 12px;
  }

  .article-hero {
    min-height: 260px;
  }

  .article-hero-content {
    padding: 24px 22px 28px;
  }

  .article-meta {
    gap: 12px;
    font-size: 12px;
  }

  .article-card {
    padding: 26px 20px;
    border-radius: 16px;
  }

  .article-body {
    font-size: 15px;
    line-height: 1.85;
  }

  .article-body table {
    font-size: 12.5px;
  }

  .related-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .related-thumb {
    height: 180px;
  }

  .cta-band {
    padding: 32px 24px;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-content h2 {
    font-size: 22px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    padding: 16px 0;
  }

  .container {
    padding: 0 18px;
  }
}

@media (max-width: 520px) {
  .page-main {
    padding-top: 24px;
  }

  .breadcrumb-bar span {
    max-width: 180px;
  }

  .article-hero {
    min-height: 220px;
    border-radius: 16px;
  }

  .article-hero-content h1 {
    font-size: 21px;
  }

  .article-summary {
    font-size: 13.5px;
    -webkit-line-clamp: 2;
  }

  .article-extras {
    flex-direction: column;
    gap: 16px;
  }

  .share-bar {
    width: 100%;
    justify-content: flex-end;
  }

  .author-box {
    flex-wrap: wrap;
    padding: 18px;
  }

  .author-avatar {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }

  .author-info strong {
    font-size: 14px;
  }

  .author-info p {
    font-size: 12.5px;
  }

  .article-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .section-head h2 {
    font-size: 20px;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-content h2 {
    font-size: 19px;
  }

  .topbar-actions .btn-sm {
    padding: 6px 12px;
    font-size: 12px;
  }
}

/* roulang page: category3 */
/* ========== Design Variables ========== */
:root {
    --primary: #8B1E3F;
    --primary-dark: #6E1631;
    --primary-light: #B03A5A;
    --accent: #D4AF37;
    --accent-light: #E8C96A;
    --bg: #F7F4F2;
    --bg-white: #FFFFFF;
    --bg-soft: #FAF7F5;
    --bg-deep: #241A1E;
    --text-main: #2D2428;
    --text-body: #544A50;
    --text-weak: #8A7E85;
    --border-light: #EAE2DE;
    --border-mid: #DCD0CB;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 2px 8px rgba(43, 28, 34, 0.06);
    --shadow-md: 0 8px 24px rgba(43, 28, 34, 0.08);
    --shadow-lg: 0 16px 40px rgba(43, 28, 34, 0.12);
    --space-section: 4.5rem;
    --sidebar-w: 260px;
    --font-main: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    --font-serif: "Noto Serif SC", "Songti SC", SimSun, serif;
}

/* ========== 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-main);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-main);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

/* ========== Container ========== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ========== App Shell Layout ========== */
.app-shell { display: flex; min-height: 100vh; }
.app-main { flex: 1; min-width: 0; margin-left: var(--sidebar-w); }

/* ========== Sidebar ========== */
.app-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-w);
    height: 100vh;
    background: var(--bg-deep);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    box-shadow: 2px 0 20px rgba(0,0,0,0.18);
}
.sidebar-brand {
    padding: 28px 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}
.sidebar-logo .logo-badge {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 4px 14px rgba(139, 30, 63, 0.5);
}
.sidebar-desc {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin-top: 6px;
    padding-left: 52px;
}
.sidebar-nav { padding: 20px 14px; flex: 1; overflow-y: auto; }
.nav-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.4);
    padding: 14px 14px 8px;
}
.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    color: rgba(255,255,255,0.72);
    font-size: 14px;
    font-weight: 500;
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
    margin-bottom: 2px;
}
.sidebar-nav a i { width: 20px; text-align: center; font-size: 15px; }
.sidebar-nav a:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
    transform: translateX(3px);
}
.sidebar-nav a.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 16px rgba(139, 30, 63, 0.35);
}
.sidebar-bottom {
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.sidebar-bottom .mini-card {
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-sm);
    padding: 14px;
    text-align: center;
}
.sidebar-bottom .mini-card p {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    margin-bottom: 8px;
}
.sidebar-bottom .mini-card .btn {
    display: inline-block;
    width: 100%;
    padding: 8px 12px;
    background: var(--accent);
    color: #2D1B10;
    font-size: 13px;
    font-weight: 700;
    border-radius: 6px;
    transition: all 0.25s ease;
}
.sidebar-bottom .mini-card .btn:hover { background: var(--accent-light); transform: scale(1.02); }

/* ========== Mobile Top Bar ========== */
.mobile-topbar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 62px;
    background: var(--bg-deep);
    z-index: 1000;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.mobile-topbar .mobile-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
}
.mobile-topbar .mobile-logo .logo-badge {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
}
.mobile-menu-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}
.mobile-menu-btn:hover { background: rgba(255,255,255,0.1); }
.mobile-drawer {
    display: none;
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-deep);
    z-index: 999;
    padding: 16px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}
.mobile-drawer.open { transform: translateX(0); display: block; }
.mobile-drawer a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    color: rgba(255,255,255,0.8);
    font-size: 16px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-drawer a i { width: 22px; text-align: center; }
.mobile-drawer a.active { color: var(--accent); }
.mobile-drawer .nav-label {
    color: rgba(255,255,255,0.4);
    padding: 16px 16px 8px;
    font-size: 12px;
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    line-height: 1.4;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: #fff;
    box-shadow: 0 4px 16px rgba(139, 30, 63, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 30, 63, 0.4);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}
.btn-light {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
.btn-accent {
    background: var(--accent);
    color: #2D1B10;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.35);
}
.btn-accent:hover { transform: translateY(-2px); background: var(--accent-light); }

/* ========== Page Hero ========== */
.category-hero {
    position: relative;
    background: linear-gradient(135deg, rgba(36, 26, 30, 0.92), rgba(106, 22, 49, 0.85)), url('/assets/images/backpic/back-1.png') center/cover no-repeat;
    padding: 72px 0 64px;
    color: #fff;
}
.category-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(36, 26, 30, 0.35));
    pointer-events: none;
}
.hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.hero-breadcrumb a { color: var(--accent); transition: color 0.2s ease; }
.hero-breadcrumb a:hover { color: var(--accent-light); }
.hero-breadcrumb i { font-size: 10px; }
.category-hero h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
    max-width: 700px;
}
.category-hero h1 span { color: var(--accent); }
.category-hero .hero-lead {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255,255,255,0.82);
    max-width: 680px;
    margin-bottom: 28px;
}
.hero-meta-tags { display: flex; gap: 10px; flex-wrap: wrap; }

/* ========== Section Base ========== */
.section { padding: var(--space-section) 0; }
.section-alt { background: var(--bg-white); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 10px;
    background: var(--bg-soft);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
}
.section-title { font-size: 34px; font-weight: 800; line-height: 1.3; color: var(--text-main); margin-bottom: 14px; }
.section-subtitle { font-size: 16px; color: var(--text-body); max-width: 640px; margin: 0 auto; line-height: 1.8; }

/* ========== Membership Level Cards ========== */
.levels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.level-card {
    position: relative;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    padding: 36px 28px 30px;
    text-align: center;
    transition: all 0.35s ease;
    overflow: hidden;
}
.level-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--level-color, #c7b9b2);
}
.level-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--border-mid); }
.level-card.featured {
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(139, 30, 63, 0.18);
    background: linear-gradient(180deg, var(--bg-white) 0%, #FDF6F7 100%);
}
.level-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    background: var(--level-color, linear-gradient(135deg, #8E7E76, #6E5E56));
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.level-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent);
    color: #2D1B10;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    letter-spacing: 0.04em;
}
.level-name { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.level-condition { font-size: 13px; color: var(--text-weak); margin-bottom: 16px; }
.level-points { font-size: 15px; color: var(--primary); font-weight: 600; margin-bottom: 18px; }
.level-list { text-align: left; margin-bottom: 22px; }
.level-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13.5px;
    color: var(--text-body);
    padding: 5px 0;
    line-height: 1.5;
}
.level-list li i { color: var(--accent); font-size: 12px; margin-top: 4px; }
.level-cta { width: 100%; }

/* ========== Benefits Grid ========== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.benefit-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    display: flex;
    gap: 18px;
    transition: all 0.3s ease;
}
.benefit-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border-mid); }
.benefit-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #F9E9EC, #F3D9E0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
}
.benefit-text h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.benefit-text p { font-size: 14px; color: var(--text-body); line-height: 1.7; }

/* ========== Comparison Table Section ========== */
.compare-section {
    background: var(--bg-deep);
    color: #fff;
}
.compare-section .section-title { color: #fff; }
.compare-section .section-subtitle { color: rgba(255,255,255,0.7); }
.compare-section .section-eyebrow { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.15); color: var(--accent); }
.table-wrap {
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    overflow-x: auto;
    border: 1px solid rgba(255,255,255,0.1);
}
.compare-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare-table th, .compare-table td {
    padding: 16px 20px;
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
}
.compare-table thead th {
    background: rgba(255,255,255,0.08);
    font-weight: 700;
    color: #fff;
    font-size: 15px;
    padding: 18px 20px;
}
.compare-table thead th:first-child { text-align: left; }
.compare-table tbody td:first-child { text-align: left; font-weight: 600; color: rgba(255,255,255,0.9); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table .check { color: var(--accent); font-size: 15px; }
.compare-table .minus { color: rgba(255,255,255,0.35); }
.compare-table .diamond-highlight { color: var(--accent); font-weight: 700; }
.compare-note {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-top: 16px;
    text-align: right;
}

/* ========== Steps / Process ========== */
.steps-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}
.step-item {
    text-align: center;
    padding: 28px 20px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}
.step-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(139, 30, 63, 0.3);
}
.step-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step-item p { font-size: 13px; color: var(--text-body); line-height: 1.6; }

/* ========== FAQ ========== */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
}
.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-item:hover { border-color: var(--border-mid); box-shadow: var(--shadow-sm); }
.faq-question {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    transition: background 0.3s ease;
}
.faq-question:hover { background: var(--bg-soft); }
.faq-question i { color: var(--primary); font-size: 14px; transition: transform 0.3s ease; }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.8;
    padding: 0 24px;
}
.faq-item.open .faq-answer { max-height: 200px; padding: 0 24px 20px; }
.faq-item.open .faq-question i { transform: rotate(45deg); }
.faq-item.open .faq-question { background: var(--bg-soft); }

/* ========== Event / CTA Card ========== */
.cta-card {
    position: relative;
    background: linear-gradient(120deg, var(--primary-dark), var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    padding: 52px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    overflow: hidden;
    color: #fff;
}
.cta-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -20px;
    width: 180px;
    height: 180px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}
.cta-card::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 30%;
    width: 200px;
    height: 200px;
    background: rgba(212, 175, 55, 0.12);
    border-radius: 50%;
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { font-size: 30px; font-weight: 800; margin-bottom: 12px; }
.cta-content p { font-size: 16px; color: rgba(255,255,255,0.8); line-height: 1.7; max-width: 560px; }
.cta-actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }
.cta-note { font-size: 12px; color: rgba(255,255,255,0.6); text-align: center; }

/* ========== Content Cards ========== */
.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.content-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.35s ease;
}
.content-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.content-cover { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.content-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.content-card:hover .content-cover img { transform: scale(1.05); }
.content-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.35));
}
.content-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    background: rgba(255,255,255,0.92);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}
.content-body { padding: 22px 22px 24px; }
.content-body h3 { font-size: 17px; font-weight: 700; line-height: 1.45; margin-bottom: 8px; }
.content-body h3 a { color: var(--text-main); transition: color 0.2s ease; }
.content-body h3 a:hover { color: var(--primary); }
.content-body p { font-size: 14px; color: var(--text-body); line-height: 1.65; margin-bottom: 14px; }
.content-meta { display: flex; align-items: center; gap: 16px; font-size: 12px; color: var(--text-weak); }
.content-meta i { font-size: 12px; margin-right: 4px; }

/* ========== App Footer ========== */
.app-footer {
    background: var(--bg-deep);
    color: rgba(255,255,255,0.7);
    padding: 56px 0 0;
    margin-left: var(--sidebar-w);
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
}
.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}
.footer-brand .footer-logo i {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
}
.footer-brand p { font-size: 14px; line-height: 1.8; max-width: 380px; }
.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
    letter-spacing: 0.04em;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; transition: color 0.2s ease, padding-left 0.2s ease; }
.footer-col ul li a:hover { color: var(--accent); padding-left: 4px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 48px;
    padding: 20px 24px;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.35);
}

/* ========== Focus / Accessibility ========== */
a:focus-visible, button:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}
.btn:focus-visible { outline-color: var(--accent); }

/* ========== Responsive ========== */
@media (max-width: 1200px) {
    :root { --space-section: 3.8rem; }
    .levels-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-wrap { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    :root { --sidebar-w: 232px; }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .content-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-card { flex-direction: column; text-align: center; padding: 40px 32px; }
    .cta-actions { flex-direction: row; }
}

@media (max-width: 768px) {
    .app-sidebar { display: none; }
    .mobile-topbar { display: flex; }
    .app-main { margin-left: 0; padding-top: 62px; }
    .app-footer { margin-left: 0; }
    .category-hero { padding: 56px 0 48px; }
    .category-hero h1 { font-size: 32px; }
    .section-title { font-size: 26px; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .faq-grid { grid-template-columns: 1fr; }
    .compare-table th, .compare-table td { padding: 14px 14px; font-size: 13px; }
    .mobile-drawer { display: block; transform: translateX(-100%); }
}

@media (max-width: 600px) {
    .levels-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr; }
    .content-grid { grid-template-columns: 1fr; }
    .steps-wrap { grid-template-columns: 1fr; }
    .container { padding: 0 18px; }
    .category-hero h1 { font-size: 28px; }
    .hero-lead { font-size: 15px; }
    .section { padding: 3rem 0; }
    .cta-card { padding: 32px 24px; }
    .cta-card h2 { font-size: 24px; }
    .cta-actions { flex-direction: column; width: 100%; }
    .content-body h3 { font-size: 16px; }
    .footer-bottom { padding: 16px; }
}

@media (max-width: 520px) {
    .btn { padding: 10px 20px; font-size: 14px; }
    .table-wrap { border-radius: var(--radius-sm); }
    .level-card { padding: 30px 22px; }
    .benefit-card { padding: 24px 20px; flex-direction: column; gap: 12px; }
}

/* roulang page: category2 */
:root {
      --primary: #c9382b;
      --primary-dark: #a4261e;
      --primary-deep: #33140f;
      --accent: #f1b244;
      --bg: #f6f4f1;
      --surface: #ffffff;
      --surface-2: #f1ede9;
      --text: #211a16;
      --muted: #7a6f67;
      --border: #e6ddd6;
      --sidebar: #16121a;
      --radial: 18px;
      --radius: 14px;
      --radius-lg: 22px;
      --shadow-sm: 0 2px 8px rgba(33, 26, 22, .06);
      --shadow: 0 8px 24px rgba(33, 26, 22, .08);
      --shadow-lg: 0 18px 46px rgba(33, 26, 22, .14);
      --header-h: 64px;
    }

    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    img {
      max-width: 100%;
      display: block;
    }

    button, input, select, textarea {
      font: inherit;
      border: none;
      background: none;
      cursor: pointer;
    }

    ul, ol, li {
      list-style: none;
    }

    .container {
      max-width: 1220px;
      margin: 0 auto;
      padding: 0 24px;
    }

    .app-shell {
      min-height: 100vh;
    }

    .sidebar {
      position: fixed;
      top: 0;
      left: 0;
      bottom: 0;
      width: 272px;
      z-index: 200;
      background: linear-gradient(180deg, #1b161c, #120e14);
      color: #cdc3c8;
      display: flex;
      flex-direction: column;
      box-shadow: 2px 0 20px rgba(0, 0, 0, .18);
    }

    .sidebar-brand {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 24px 22px 18px;
      color: #fff;
      font-size: 20px;
      font-weight: 800;
      letter-spacing: .02em;
      border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    .brand-icon {
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--accent);
      color: #24150e;
      font-style: normal;
      border-radius: 12px;
      font-weight: 900;
      font-size: 20px;
      box-shadow: 0 6px 16px rgba(242, 180, 75, .28);
    }

    .sidebar-close {
      display: none;
      position: absolute;
      top: 16px;
      right: 14px;
      color: #fff;
      font-size: 18px;
      z-index: 2;
      width: 34px;
      height: 34px;
      border-radius: 10px;
      align-items: center;
      justify-content: center;
      background: rgba(255, 255, 255, .1);
    }

    .sidebar-close:hover {
      background: rgba(255, 255, 255, .2);
    }

    .sidebar-nav {
      padding: 16px 12px;
      flex: 1;
    }

    .nav-label {
      font-size: 12px;
      color: #817782;
      margin: 18px 12px 8px;
      letter-spacing: .12em;
    }

    .sidebar-nav a {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 11px 12px;
      margin: 4px 0;
      border-radius: 12px;
      color: #c4b9c0;
      font-size: 15px;
      font-weight: 500;
      transition: all .25s;
    }

    .sidebar-nav a i {
      width: 22px;
      text-align: center;
    }

    .sidebar-nav a:hover {
      background: rgba(255, 255, 255, .06);
      color: #fff;
      transform: translateX(2px);
    }

    .sidebar-nav a.active {
      background: linear-gradient(90deg, var(--primary), var(--primary-dark));
      color: #fff;
      box-shadow: 0 10px 20px rgba(185, 42, 29, .38);
    }

    .sidebar-help {
      margin: 12px 16px 22px;
      padding: 16px;
      border-radius: 16px;
      background: rgba(255, 255, 255, .06);
      border: 1px solid rgba(255, 255, 255, .09);
      text-decoration: none;
      color: #e7dde2;
      display: block;
      transition: all .25s;
    }

    .sidebar-help:hover {
      background: rgba(255, 255, 255, .12);
      transform: translateY(-2px);
    }

    .sidebar-help i {
      color: var(--accent);
      margin-right: 6px;
    }

    .sidebar-help strong {
      display: block;
      font-size: 14px;
      margin-bottom: 4px;
    }

    .sidebar-help span {
      font-size: 12px;
      color: #a79aa4;
    }

    .main-wrapper {
      margin-left: 272px;
      display: flex;
      flex-direction: column;
      min-height: 100vh;
    }

    .main-content {
      flex: 1;
    }

    .topbar {
      position: sticky;
      top: 0;
      z-index: 90;
      height: var(--header-h);
      background: rgba(255, 255, 255, .88);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 0 24px;
    }

    .menu-toggle {
      display: none;
      color: var(--text);
      font-size: 18px;
      width: 38px;
      height: 38px;
      border-radius: 10px;
      align-items: center;
      justify-content: center;
      transition: background .2s;
    }

    .menu-toggle:hover {
      background: var(--surface-2);
    }

    .topbar-crumb {
      display: flex;
      gap: 8px;
      align-items: center;
      flex: 1;
      font-size: 14px;
      color: var(--muted);
    }

    .topbar-crumb a:hover {
      color: var(--primary);
    }

    .topbar-support {
      background: var(--surface-2);
      padding: 7px 16px;
      border-radius: 999px;
      font-size: 13px;
      color: var(--text);
      display: inline-flex;
      align-items: center;
      gap: 7px;
      transition: all .25s;
      font-weight: 500;
    }

    .topbar-support i {
      color: var(--primary);
    }

    .topbar-support:hover {
      background: #e9e1da;
      transform: translateY(-1px);
    }

    .guide-hero {
      position: relative;
      color: #fff;
      overflow: hidden;
    }

    .guide-hero-bg {
      position: absolute;
      inset: 0;
      background: linear-gradient(105deg, rgba(28, 12, 8, .94) 0%, rgba(164, 32, 24, .82) 55%, rgba(229, 156, 49, .42) 100%), url('/assets/images/backpic/back-1.png') center/cover no-repeat;
    }

    .guide-hero-inner {
      position: relative;
      padding: 76px 0 68px;
    }

    .guide-hero-content {
      max-width: 780px;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 7px 14px;
      background: rgba(255, 255, 255, .14);
      border: 1px solid rgba(255, 255, 255, .22);
      border-radius: 999px;
      font-size: 13px;
      letter-spacing: .08em;
    }

    .guide-hero h1 {
      margin: 18px 0 14px;
      font-size: 46px;
      line-height: 1.2;
      letter-spacing: .03em;
      font-weight: 900;
    }

    .guide-hero p {
      font-size: 17px;
      line-height: 1.75;
      color: rgba(255, 255, 255, .92);
      max-width: 640px;
    }

    .hero-actions {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
      margin-top: 28px;
    }

    .hero-tags {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 34px;
    }

    .hero-tags span {
      background: rgba(255, 255, 255, .14);
      border: 1px solid rgba(255, 255, 255, .2);
      padding: 4px 14px;
      border-radius: 999px;
      font-size: 13px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 11px 22px;
      border-radius: 12px;
      font-size: 15px;
      font-weight: 600;
      transition: all .28s;
      cursor: pointer;
      border: 2px solid transparent;
      line-height: 1.3;
    }

    .btn-primary {
      background: var(--primary);
      color: #fff;
      box-shadow: 0 6px 16px rgba(193, 52, 41, .3);
    }

    .btn-primary:hover {
      background: var(--primary-dark);
      transform: translateY(-2px);
      box-shadow: 0 12px 24px rgba(193, 52, 41, .38);
    }

    .btn-primary:focus-visible,
    .btn-glass:focus-visible,
    .btn-outline:focus-visible,
    .btn-light:focus-visible,
    .btn-outline-light:focus-visible {
      outline: 3px solid rgba(193, 52, 41, .35);
      outline-offset: 2px;
    }

    .btn-glass {
      background: rgba(255, 255, 255, .16);
      border-color: rgba(255, 255, 255, .3);
      color: #fff;
      backdrop-filter: blur(6px);
    }

    .btn-glass:hover {
      background: rgba(255, 255, 255, .26);
      transform: translateY(-2px);
    }

    .btn-outline {
      border-color: var(--primary);
      color: var(--primary);
    }

    .btn-outline:hover {
      background: var(--primary);
      color: #fff;
    }

    .btn-light {
      background: #fff;
      color: var(--primary-dark);
    }

    .btn-light:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 28px rgba(0, 0, 0, .15);
    }

    .btn-outline-light {
      border-color: rgba(255, 255, 255, .7);
      color: #fff;
    }

    .btn-outline-light:hover {
      background: rgba(255, 255, 255, .16);
    }

    .section {
      padding: 72px 0;
    }

    .section-soft {
      background: var(--surface-2);
    }

    .section-head {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 18px;
      margin-bottom: 42px;
      flex-wrap: wrap;
    }

    .section-head h2 {
      font-size: 30px;
      line-height: 1.3;
      margin-top: 6px;
      color: var(--text);
    }

    .section-head p {
      color: var(--muted);
      max-width: 420px;
    }

    .section-overline {
      display: inline-block;
      color: var(--primary);
      font-weight: 700;
      font-size: 14px;
      letter-spacing: .18em;
    }

    .section-head.center {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .category-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 22px;
    }

    .category-card {
      position: relative;
      background: var(--surface);
      border-radius: var(--radius-lg);
      border: 1px solid var(--border);
      padding: 30px 24px 28px;
      display: flex;
      flex-direction: column;
      transition: all .3s;
    }

    .category-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-lg);
      border-color: transparent;
    }

    .category-icon {
      width: 52px;
      height: 52px;
      border-radius: 16px;
      background: linear-gradient(135deg, #fdefe8, #fbd7cc);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      color: var(--primary);
      margin-bottom: 20px;
    }

    .category-card h3 {
      font-size: 18px;
      margin-bottom: 8px;
    }

    .category-card p {
      font-size: 14px;
      color: var(--muted);
      flex: 1;
    }

    .card-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-top: 18px;
      color: var(--primary);
      font-weight: 600;
      font-size: 14px;
    }

    .card-link i {
      transition: transform .25s;
    }

    .category-card:hover .card-link i {
      transform: translateX(4px);
    }

    .steps {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 22px;
    }

    .step-item {
      position: relative;
      background: var(--surface);
      border-radius: var(--radius-lg);
      padding: 28px 24px;
      border: 1px solid var(--border);
      transition: all .3s;
    }

    .step-item:hover {
      box-shadow: var(--shadow-lg);
      transform: translateY(-4px);
    }

    .step-num {
      width: 46px;
      height: 46px;
      border-radius: 14px;
      background: var(--primary);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: 18px;
      margin-bottom: 18px;
      box-shadow: 0 8px 18px rgba(185, 42, 29, .22);
    }

    .step-item h3 {
      font-size: 17px;
      margin-bottom: 6px;
    }

    .step-item p {
      color: var(--muted);
      font-size: 14px;
    }

    .stats-section {
      position: relative;
      padding: 76px 0;
      color: #fff;
      background: linear-gradient(rgba(27, 14, 10, .88), rgba(27, 14, 10, .88)), url('/assets/images/backpic/back-2.png') center/cover fixed no-repeat;
    }

    .stats-section .section-overline {
      color: var(--accent);
    }

    .stats-section h2 {
      color: #fff;
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 22px;
    }

    .stat-card {
      text-align: center;
      background: rgba(255, 255, 255, .08);
      border: 1px solid rgba(255, 255, 255, .16);
      padding: 32px 18px;
      border-radius: var(--radius-lg);
      backdrop-filter: blur(8px);
      transition: all .3s;
    }

    .stat-card:hover {
      background: rgba(255, 255, 255, .14);
      transform: translateY(-4px);
    }

    .stat-num {
      font-size: 42px;
      font-weight: 900;
      line-height: 1.2;
      color: #fff;
    }

    .stat-num span {
      font-size: 16px;
      font-weight: 700;
      color: var(--accent);
      margin-left: 4px;
    }

    .stat-label {
      margin-top: 6px;
      font-size: 14px;
      color: rgba(255, 255, 255, .78);
    }

    .guide-list {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 18px;
    }

    .guide-item {
      display: flex;
      gap: 16px;
      background: var(--surface);
      border-radius: var(--radius-lg);
      padding: 16px;
      border: 1px solid var(--border);
      transition: all .3s;
    }

    .guide-item:hover {
      box-shadow: var(--shadow-lg);
      transform: translateY(-3px);
    }

    .guide-thumb {
      width: 120px;
      height: 100px;
      object-fit: cover;
      border-radius: 12px;
      flex-shrink: 0;
    }

    .guide-info {
      display: flex;
      flex-direction: column;
    }

    .guide-meta {
      font-size: 12px;
      color: var(--primary);
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .guide-info h3 {
      font-size: 17px;
      margin: 6px 0 4px;
    }

    .guide-info p {
      font-size: 14px;
      color: var(--muted);
      flex: 1;
    }

    .faq-layout {
      display: grid;
      grid-template-columns: 320px 1fr;
      gap: 30px;
    }

    .faq-side .section-overline {
      display: inline-block;
    }

    .faq-side h2 {
      font-size: 30px;
      margin: 6px 0 12px;
    }

    .faq-side p {
      color: var(--muted);
      margin-bottom: 18px;
    }

    .faq-wrap {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .faq-item {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      transition: all .3s;
      overflow: hidden;
    }

    .faq-item[open] {
      box-shadow: var(--shadow);
      border-color: rgba(193, 56, 43, .25);
    }

    .faq-item summary {
      cursor: pointer;
      list-style: none;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      padding: 18px 22px;
      font-weight: 600;
      color: var(--text);
    }

    .faq-item summary::-webkit-details-marker {
      display: none;
    }

    .faq-item summary i {
      transition: transform .3s;
      color: var(--primary);
    }

    .faq-item[open] summary i {
      transform: rotate(180deg);
    }

    .faq-answer {
      padding: 0 22px 18px;
      color: var(--muted);
      font-size: 15px;
    }

    .cta-section {
      padding: 28px 0 72px;
    }

    .cta-card {
      background: linear-gradient(120deg, var(--primary), var(--primary-dark) 60%, #8e1f18);
      border-radius: 28px;
      padding: 42px 44px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      flex-wrap: wrap;
      box-shadow: 0 22px 46px rgba(139, 28, 20, .25);
      color: #fff;
    }

    .cta-info h2 {
      font-size: 26px;
    }

    .cta-info p {
      font-size: 15px;
      opacity: .9;
      margin-top: 8px;
    }

    .cta-actions {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
    }

    .app-footer {
      background: var(--surface);
      border-top: 1px solid var(--border);
      padding: 48px 0 0;
    }

    .footer-inner {
      max-width: 1220px;
      margin: 0 auto;
      padding: 0 24px 34px;
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 40px;
    }

    .footer-logo {
      font-size: 22px;
      font-weight: 800;
      display: flex;
      align-items: center;
      gap: 10px;
      color: var(--text);
    }

    .footer-logo i {
      width: 38px;
      height: 38px;
      background: var(--primary);
      color: #fff;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-style: normal;
      font-weight: 900;
    }

    .footer-brand p {
      color: var(--muted);
      font-size: 14px;
      margin-top: 12px;
      max-width: 360px;
    }

    .footer-col h4 {
      font-size: 16px;
      margin-bottom: 14px;
    }

    .footer-col li {
      margin-bottom: 8px;
    }

    .footer-col a {
      color: var(--muted);
      font-size: 14px;
      transition: color .2s;
    }

    .footer-col a:hover {
      color: var(--primary);
    }

    .footer-bottom {
      border-top: 1px solid var(--border);
      padding: 18px 24px;
      text-align: center;
      color: var(--muted);
      font-size: 13px;
    }

    .sidebar-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, .5);
      z-index: 190;
    }

    @media (max-width: 1024px) {
      .sidebar {
        transform: translateX(-100%);
        transition: transform .3s ease;
        box-shadow: none;
      }

      .sidebar.open {
        transform: translateX(0);
        box-shadow: 2px 0 20px rgba(0, 0, 0, .3);
      }

      .sidebar-close {
        display: flex;
      }

      .sidebar-overlay.show {
        display: block;
      }

      .main-wrapper {
        margin-left: 0;
      }

      .menu-toggle {
        display: flex;
      }

      .category-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .steps {
        grid-template-columns: repeat(2, 1fr);
      }

      .stats-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .guide-list {
        grid-template-columns: 1fr;
      }

      .faq-layout {
        grid-template-columns: 1fr;
      }

      .footer-inner {
        grid-template-columns: 1fr;
        gap: 26px;
      }
    }

    @media (max-width: 768px) {
      .section {
        padding: 52px 0;
      }

      .guide-hero-inner {
        padding: 52px 0 48px;
      }

      .guide-hero h1 {
        font-size: 34px;
      }

      .guide-hero p {
        font-size: 16px;
      }

      .hero-tags {
        justify-content: center;
      }

      .stats-section {
        background-attachment: scroll;
      }

      .cta-card {
        padding: 30px 24px;
      }

      .footer-inner {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 520px) {
      .container {
        padding: 0 18px;
      }

      .topbar {
        padding: 0 16px;
      }

      .category-grid {
        grid-template-columns: 1fr;
      }

      .steps {
        grid-template-columns: 1fr;
      }

      .stats-grid {
        grid-template-columns: 1fr;
      }

      .guide-item {
        flex-direction: column;
      }

      .guide-thumb {
        width: 100%;
        height: 160px;
      }

      .section-head {
        flex-direction: column;
        align-items: flex-start;
      }

      .section-head h2 {
        font-size: 26px;
      }

      .guide-hero h1 {
        font-size: 30px;
      }

      .hero-actions .btn {
        width: 100%;
      }

      .cta-actions .btn {
        width: 100%;
      }
    }
