/* roulang page: index */
/* ===== Design Variables ===== */
:root {
  --primary: #1a1a2e;
  --primary-light: #16213e;
  --primary-dark: #0f0f1a;
  --accent: #e94560;
  --accent-hover: #d63851;
  --gold: #f5c518;
  --gold-light: #ffe066;
  --bg-body: #f0f2f5;
  --bg-card: #ffffff;
  --bg-dark: #1a1a2e;
  --bg-section-alt: #f8f9fc;
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a6a;
  --text-muted: #8888a0;
  --text-light: #f0f2f5;
  --text-white: #ffffff;
  --border-color: #e4e6ef;
  --border-light: rgba(255,255,255,0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(26,26,46,0.06);
  --shadow-md: 0 6px 24px rgba(26,26,46,0.10);
  --shadow-lg: 0 12px 40px rgba(26,26,46,0.14);
  --shadow-glow: 0 0 30px rgba(233,69,96,0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --sidebar-width: 240px;
  --header-height: 0px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-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-family);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.25; font-weight: 700; color: var(--text-primary); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
p { margin-bottom: 1rem; color: var(--text-secondary); }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 16px; }
.section-subtitle { text-align: center; color: var(--text-muted); font-size: 1.05rem; max-width: 640px; margin: 0 auto 48px; }

/* ===== Sidebar Layout ===== */
.app-wrapper {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--primary);
  color: var(--text-light);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 2px 0 20px rgba(0,0,0,0.2);
}
.sidebar-brand {
  display: flex;
  align-items: center;
  padding: 24px 20px 20px;
  border-bottom: 1px solid var(--border-light);
}
.sidebar-brand .brand-icon {
  width: 40px;
  height: 40px;
  background: var(--gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
  margin-right: 12px;
  flex-shrink: 0;
}
.sidebar-brand .brand-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 0.5px;
  line-height: 1.3;
}
.sidebar-nav {
  flex: 1;
  padding: 16px 12px;
  overflow-y: auto;
}
.sidebar-nav .nav-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.35);
  padding: 12px 12px 6px;
  font-weight: 600;
}
.sidebar-nav .nav-item {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  margin: 2px 0;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}
.sidebar-nav .nav-item i {
  width: 22px;
  margin-right: 12px;
  font-size: 1.05rem;
  text-align: center;
  color: rgba(255,255,255,0.4);
  transition: var(--transition);
}
.sidebar-nav .nav-item:hover {
  background: rgba(255,255,255,0.08);
  color: var(--text-white);
}
.sidebar-nav .nav-item:hover i { color: var(--gold); }
.sidebar-nav .nav-item.active {
  background: rgba(233,69,96,0.18);
  color: var(--text-white);
  box-shadow: inset 3px 0 0 var(--accent);
}
.sidebar-nav .nav-item.active i { color: var(--accent); }
.sidebar-nav .nav-item .badge {
  margin-left: auto;
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 600;
}
.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border-light);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
  line-height: 1.5;
}
.main-content {
  margin-left: var(--sidebar-width);
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== Mobile Header ===== */
.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--primary);
  z-index: 999;
  align-items: center;
  padding: 0 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.mobile-header .menu-toggle {
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.4rem;
  padding: 8px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.mobile-header .menu-toggle:hover { background: rgba(255,255,255,0.08); }
.mobile-header .mobile-brand {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-left: 12px;
  letter-spacing: 0.3px;
}
.mobile-header .mobile-actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
}
.mobile-header .mobile-actions .mobile-btn {
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--text-white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.mobile-header .mobile-actions .mobile-btn:hover { background: rgba(255,255,255,0.18); }

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.sidebar-overlay.show { opacity: 1; }

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-dark);
  overflow: hidden;
  padding: 60px 24px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
  opacity: 0.25;
  transform: scale(1.05);
  transition: transform 0.6s ease;
}
.hero:hover .hero-bg { transform: scale(1.02); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.92) 0%, rgba(22,33,62,0.78) 60%, rgba(233,69,96,0.15) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  width: 100%;
}
.hero-content .hero-badge {
  display: inline-block;
  background: rgba(245,197,24,0.15);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 30px;
  border: 1px solid rgba(245,197,24,0.25);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.hero-content h1 {
  color: var(--text-white);
  font-weight: 800;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-content h1 .highlight {
  color: var(--gold);
}
.hero-content p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.hero-actions .btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(233,69,96,0.35);
}
.hero-actions .btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(233,69,96,0.45);
}
.hero-actions .btn-secondary {
  background: rgba(255,255,255,0.1);
  color: var(--text-white);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(4px);
}
.hero-actions .btn-secondary:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-2px);
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stats .stat-item {
  text-align: center;
}
.hero-stats .stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.2;
}
.hero-stats .stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}

/* ===== Features Section ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.feature-card:hover::before { opacity: 1; }
.feature-card .feature-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(233,69,96,0.08), rgba(245,197,24,0.08));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent);
  transition: var(--transition);
}
.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--accent), var(--gold));
  color: #fff;
  transform: scale(1.05);
}
.feature-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.feature-card p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 0; }

/* ===== Categories Section ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.category-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.category-card .cat-img {
  width: 160px;
  min-height: 140px;
  flex-shrink: 0;
  background: var(--primary-light);
  position: relative;
  overflow: hidden;
}
.category-card .cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.category-card:hover .cat-img img { transform: scale(1.08); }
.category-card .cat-img .cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.3), rgba(233,69,96,0.15));
}
.category-card .cat-body {
  padding: 24px 24px 24px 28px;
  flex: 1;
}
.category-card .cat-body h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.category-card .cat-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.category-card .cat-body .cat-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
}
.category-card .cat-body .cat-link i { font-size: 0.75rem; transition: var(--transition); }
.category-card .cat-body .cat-link:hover i { transform: translateX(4px); }

/* ===== Latest News Section ===== */
.news-section { background: var(--bg-section-alt); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.news-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.news-card .news-img {
  height: 180px;
  background: var(--primary-light);
  position: relative;
  overflow: hidden;
}
.news-card .news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-card:hover .news-img img { transform: scale(1.06); }
.news-card .news-img .news-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}
.news-card .news-body {
  padding: 20px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-card .news-body h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card .news-body h3 a { color: var(--text-primary); }
.news-card .news-body h3 a:hover { color: var(--accent); }
.news-card .news-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.news-card .news-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}
.news-card .news-meta i { margin-right: 4px; }
.news-card .news-meta .meta-cat {
  background: rgba(233,69,96,0.08);
  color: var(--accent);
  padding: 2px 12px;
  border-radius: 20px;
  font-weight: 500;
}
.news-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-color);
  color: var(--text-muted);
}
.news-empty i { font-size: 2.4rem; color: var(--border-color); margin-bottom: 16px; display: block; }

/* ===== Stats / Data Section ===== */
.stats-section {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
  opacity: 0.08;
}
.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.stat-card {
  text-align: center;
  padding: 36px 20px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}
.stat-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}
.stat-card .stat-icon {
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 14px;
}
.stat-card .stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
}
.stat-card .stat-number .suffix { font-size: 1.2rem; color: var(--gold); }
.stat-card .stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  margin-top: 6px;
}

/* ===== Process / Flow Section ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.process-step {
  text-align: center;
  padding: 32px 18px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  position: relative;
  transition: var(--transition);
}
.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.process-step .step-number {
  counter-increment: step;
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(233,69,96,0.25);
}
.process-step .step-number::after { content: counter(step); }
.process-step .step-icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}
.process-step h4 { font-size: 1rem; margin-bottom: 6px; }
.process-step p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0; }
.process-step .step-arrow {
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--border-color);
  z-index: 2;
}
.process-step:last-child .step-arrow { display: none; }

/* ===== FAQ Section ===== */
.faq-section { background: var(--bg-section-alt); }
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: rgba(233,69,96,0.15); }
.faq-item summary {
  padding: 18px 22px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  transition: var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--text-muted);
  transition: var(--transition);
  font-size: 1.1rem;
}
.faq-item[open] summary::after { transform: rotate(180deg); color: var(--accent); }
.faq-item[open] summary { color: var(--accent); }
.faq-item .faq-answer {
  padding: 0 22px 18px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ===== CTA Section ===== */
.cta-section {
  background: var(--primary);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 80px 24px;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/images/backpic/back-3.png') center center / cover no-repeat;
  opacity: 0.08;
}
.cta-section .cta-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.cta-section h2 { color: var(--text-white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.7); font-size: 1.05rem; margin-bottom: 32px; }
.cta-section .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--primary);
  padding: 16px 44px;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(245,197,24,0.3);
}
.cta-section .cta-btn:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 36px rgba(245,197,24,0.45);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.6);
  padding: 48px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-brand .footer-logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand .footer-logo .logo-icon {
  width: 34px;
  height: 34px;
  background: var(--gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--primary);
}
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.45); margin-bottom: 16px; max-width: 320px; }
.footer-brand .social-links {
  display: flex;
  gap: 12px;
}
.footer-brand .social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.06);
}
.footer-brand .social-links a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-2px);
}
.footer-col h4 {
  color: var(--text-white);
  font-size: 0.95rem;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); padding-left: 4px; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step .step-arrow { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .mobile-header { display: flex; }
  .main-content { margin-left: 0; padding-top: 60px; }
  .sidebar-overlay.show { display: block; }
  .section-padding { padding: 56px 0; }
  .hero { min-height: 420px; padding: 40px 20px; }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-content p { font-size: 0.95rem; }
  .hero-stats { gap: 20px; }
  .hero-stats .stat-number { font-size: 1.4rem; }
  .features-grid { grid-template-columns: 1fr; gap: 20px; }
  .categories-grid { grid-template-columns: 1fr; }
  .category-card { flex-direction: column; }
  .category-card .cat-img { width: 100%; min-height: 120px; }
  .category-card .cat-body { padding: 18px 20px; }
  .news-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-card { padding: 24px 16px; }
  .stat-card .stat-number { font-size: 1.8rem; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { width: 100%; max-width: 300px; justify-content: center; }
  .cta-section { padding: 56px 20px; }
  .cta-section .cta-btn { width: 100%; max-width: 320px; justify-content: center; }
}

@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .hero { min-height: 360px; padding: 32px 16px; }
  .hero-content h1 { font-size: 1.5rem; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .hero-stats .stat-item { flex: 1 1 40%; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .process-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 28px 20px; }
  .news-card .news-img { height: 140px; }
  .faq-item summary { font-size: 0.9rem; padding: 14px 16px; }
  .faq-item .faq-answer { padding: 0 16px 14px; font-size: 0.85rem; }
  .footer-grid { gap: 24px; }
  .sidebar-brand { padding: 18px 16px; }
  .sidebar-brand .brand-text { font-size: 1rem; }
  .sidebar-nav .nav-item { padding: 10px 12px; font-size: 0.9rem; }
}

/* ===== Accessibility ===== */
a:focus-visible, button:focus-visible, .nav-item:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* roulang page: article */
/* ===== 设计变量 ===== */
        :root {
            --primary: #6c5ce7;
            --primary-dark: #5a4bd1;
            --primary-light: #a29bfe;
            --secondary: #fd79a8;
            --accent: #00cec9;
            --bg-main: #0f0e1a;
            --bg-card: #1a1833;
            --bg-card-hover: #222044;
            --bg-sidebar: #12102a;
            --bg-header: rgba(15, 14, 26, 0.95);
            --text-white: #ffffff;
            --text-main: #e8e6f0;
            --text-muted: #8a86a8;
            --border-color: rgba(108, 92, 231, 0.2);
            --border-light: rgba(255, 255, 255, 0.06);
            --radius-sm: 8px;
            --radius-md: 14px;
            --radius-lg: 20px;
            --radius-xl: 28px;
            --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.3);
            --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
            --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --font-sans: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
            --sidebar-width: 240px;
            --header-height: 70px;
        }

        /* ===== Reset & Base ===== */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html {
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
        }
        body {
            font-family: var(--font-sans);
            font-size: 16px;
            line-height: 1.7;
            color: var(--text-main);
            background: var(--bg-main);
            min-height: 100vh;
            display: flex;
        }
        a {
            color: var(--primary-light);
            text-decoration: none;
            transition: var(--transition);
        }
        a:hover {
            color: var(--secondary);
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
            border-radius: var(--radius-md);
        }
        button,
        input,
        textarea {
            font-family: inherit;
            font-size: inherit;
            outline: none;
            border: none;
        }
        ul,
        ol {
            list-style: none;
        }
        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            color: var(--text-white);
            font-weight: 700;
            line-height: 1.3;
        }

        /* ===== 布局容器 ===== */
        .app-wrapper {
            display: flex;
            width: 100%;
            min-height: 100vh;
        }

        /* ===== 侧边栏 ===== */
        .sidebar {
            position: fixed;
            top: 0;
            left: 0;
            width: var(--sidebar-width);
            height: 100vh;
            background: var(--bg-sidebar);
            border-right: 1px solid var(--border-light);
            padding: 24px 16px;
            display: flex;
            flex-direction: column;
            z-index: 1000;
            overflow-y: auto;
            backdrop-filter: blur(12px);
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .sidebar-logo {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 8px 12px 20px;
            border-bottom: 1px solid var(--border-light);
            margin-bottom: 20px;
            font-size: 20px;
            font-weight: 800;
            color: var(--text-white);
        }
        .sidebar-logo .logo-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: #fff;
            flex-shrink: 0;
        }
        .nav-label {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 1.2px;
            color: var(--text-muted);
            padding: 8px 12px 6px;
            font-weight: 600;
        }
        .sidebar-nav {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 2px;
        }
        .sidebar-nav .nav-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 14px;
            border-radius: var(--radius-sm);
            color: var(--text-muted);
            font-size: 15px;
            font-weight: 500;
            transition: var(--transition);
            position: relative;
        }
        .sidebar-nav .nav-item i {
            width: 20px;
            text-align: center;
            font-size: 16px;
        }
        .sidebar-nav .nav-item:hover {
            color: var(--text-white);
            background: rgba(108, 92, 231, 0.12);
        }
        .sidebar-nav .nav-item.active {
            color: var(--text-white);
            background: linear-gradient(135deg, rgba(108, 92, 231, 0.25), rgba(253, 121, 168, 0.10));
            border-left: 3px solid var(--secondary);
        }
        .sidebar-nav .nav-item .badge {
            margin-left: auto;
            font-size: 10px;
            padding: 2px 10px;
            border-radius: 20px;
            background: linear-gradient(135deg, var(--secondary), #e84393);
            color: #fff;
            font-weight: 600;
            letter-spacing: 0.3px;
        }
        .sidebar-nav .nav-item .fa-chevron-right {
            margin-left: auto;
            font-size: 12px;
            opacity: 0.5;
        }

        /* ===== 主内容区 ===== */
        .main-content {
            margin-left: var(--sidebar-width);
            flex: 1;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* ===== 顶部栏 ===== */
        .top-header {
            height: var(--header-height);
            background: var(--bg-header);
            border-bottom: 1px solid var(--border-light);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 32px;
            position: sticky;
            top: 0;
            z-index: 100;
            backdrop-filter: blur(16px);
        }
        .top-header .breadcrumb {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            color: var(--text-muted);
        }
        .top-header .breadcrumb a {
            color: var(--text-muted);
        }
        .top-header .breadcrumb a:hover {
            color: var(--primary-light);
        }
        .top-header .breadcrumb .sep {
            color: var(--text-muted);
            opacity: 0.4;
        }
        .top-header .breadcrumb .current {
            color: var(--text-white);
            font-weight: 500;
        }
        .top-header .header-actions {
            display: flex;
            align-items: center;
            gap: 16px;
        }
        .top-header .header-actions .search-box {
            display: flex;
            align-items: center;
            background: rgba(255, 255, 255, 0.06);
            border-radius: 20px;
            padding: 6px 16px;
            gap: 8px;
            border: 1px solid var(--border-light);
            transition: var(--transition);
        }
        .top-header .header-actions .search-box:focus-within {
            border-color: var(--primary);
            background: rgba(108, 92, 231, 0.10);
        }
        .top-header .header-actions .search-box input {
            background: transparent;
            color: var(--text-white);
            font-size: 14px;
            width: 160px;
            padding: 4px 0;
        }
        .top-header .header-actions .search-box input::placeholder {
            color: var(--text-muted);
        }
        .top-header .header-actions .search-box i {
            color: var(--text-muted);
            font-size: 14px;
        }
        .mobile-toggle {
            display: none;
            background: transparent;
            color: var(--text-white);
            font-size: 22px;
            cursor: pointer;
            padding: 4px 8px;
            border-radius: var(--radius-sm);
            transition: var(--transition);
        }
        .mobile-toggle:hover {
            background: rgba(255, 255, 255, 0.06);
        }

        /* ===== 文章页 Hero 横幅 ===== */
        .article-hero {
            position: relative;
            padding: 60px 40px 50px;
            background: linear-gradient(135deg, rgba(15, 14, 26, 0.92), rgba(26, 24, 51, 0.88)), url('/assets/images/backpic/back-1.png') center/cover no-repeat;
            border-bottom: 1px solid var(--border-light);
        }
        .article-hero .article-meta {
            display: flex;
            align-items: center;
            gap: 16px;
            flex-wrap: wrap;
            margin-bottom: 16px;
        }
        .article-hero .article-meta .cat-tag {
            padding: 4px 16px;
            border-radius: 20px;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: #fff;
            font-size: 13px;
            font-weight: 600;
        }
        .article-hero .article-meta .date {
            font-size: 14px;
            color: var(--text-muted);
        }
        .article-hero .article-meta .date i {
            margin-right: 6px;
        }
        .article-hero h1 {
            font-size: 36px;
            font-weight: 800;
            line-height: 1.25;
            max-width: 800px;
            margin-bottom: 16px;
            color: var(--text-white);
        }
        .article-hero .article-desc {
            font-size: 18px;
            color: var(--text-muted);
            max-width: 680px;
            line-height: 1.6;
        }

        /* ===== 文章正文区 ===== */
        .article-body-section {
            padding: 50px 40px 60px;
            flex: 1;
        }
        .article-body-section .container {
            max-width: 860px;
            margin: 0 auto;
        }
        .article-body-section .article-content {
            font-size: 17px;
            line-height: 1.9;
            color: var(--text-main);
        }
        .article-body-section .article-content p {
            margin-bottom: 1.4em;
        }
        .article-body-section .article-content h2,
        .article-body-section .article-content h3 {
            margin-top: 1.8em;
            margin-bottom: 0.8em;
            color: var(--text-white);
        }
        .article-body-section .article-content h2 {
            font-size: 26px;
            border-left: 4px solid var(--primary);
            padding-left: 16px;
        }
        .article-body-section .article-content h3 {
            font-size: 20px;
        }
        .article-body-section .article-content ul,
        .article-body-section .article-content ol {
            margin-bottom: 1.4em;
            padding-left: 24px;
        }
        .article-body-section .article-content li {
            margin-bottom: 0.5em;
            list-style: disc;
        }
        .article-body-section .article-content a {
            color: var(--primary-light);
            border-bottom: 1px solid transparent;
        }
        .article-body-section .article-content a:hover {
            border-bottom-color: var(--primary-light);
        }
        .article-body-section .article-content blockquote {
            border-left: 4px solid var(--primary);
            background: rgba(108, 92, 231, 0.08);
            padding: 16px 24px;
            margin: 1.6em 0;
            border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
            color: var(--text-muted);
            font-style: italic;
        }
        .article-body-section .article-content img {
            margin: 1.6em auto;
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-md);
        }
        .article-body-section .article-content code {
            background: rgba(255, 255, 255, 0.06);
            padding: 2px 10px;
            border-radius: 4px;
            font-size: 0.9em;
            color: var(--secondary);
        }

        /* ===== 文章底部 ===== */
        .article-footer-bar {
            border-top: 1px solid var(--border-light);
            padding: 30px 40px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 16px;
        }
        .article-footer-bar .share-links {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .article-footer-bar .share-links span {
            color: var(--text-muted);
            font-size: 14px;
        }
        .article-footer-bar .share-links a {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.06);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-muted);
            font-size: 16px;
            transition: var(--transition);
            border: 1px solid var(--border-light);
        }
        .article-footer-bar .share-links a:hover {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
            transform: translateY(-2px);
        }
        .article-footer-bar .back-link a {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--text-muted);
            font-size: 15px;
            padding: 8px 20px;
            border-radius: 20px;
            border: 1px solid var(--border-light);
            transition: var(--transition);
        }
        .article-footer-bar .back-link a:hover {
            border-color: var(--primary);
            color: var(--primary-light);
            background: rgba(108, 92, 231, 0.06);
        }

        /* ===== 空文章提示 ===== */
        .article-not-found {
            padding: 80px 40px;
            text-align: center;
        }
        .article-not-found .not-found-icon {
            font-size: 64px;
            color: var(--text-muted);
            opacity: 0.3;
            margin-bottom: 20px;
        }
        .article-not-found h2 {
            font-size: 28px;
            margin-bottom: 12px;
        }
        .article-not-found p {
            color: var(--text-muted);
            margin-bottom: 24px;
        }
        .article-not-found a {
            display: inline-block;
            padding: 12px 32px;
            border-radius: 30px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: #fff;
            font-weight: 600;
            transition: var(--transition);
        }
        .article-not-found a:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(108, 92, 231, 0.35);
            color: #fff;
        }

        /* ===== 页脚 ===== */
        .site-footer {
            background: var(--bg-sidebar);
            border-top: 1px solid var(--border-light);
            padding: 50px 40px 30px;
            margin-top: auto;
        }
        .site-footer .container {
            max-width: 1200px;
            margin: 0 auto;
        }
        .site-footer .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 36px;
        }
        .site-footer .footer-brand .footer-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 20px;
            font-weight: 800;
            color: var(--text-white);
            margin-bottom: 16px;
        }
        .site-footer .footer-brand .footer-logo .logo-icon {
            color: var(--secondary);
        }
        .site-footer .footer-brand p {
            color: var(--text-muted);
            font-size: 14px;
            line-height: 1.8;
            max-width: 360px;
        }
        .site-footer .social-links {
            display: flex;
            gap: 12px;
            margin-top: 18px;
        }
        .site-footer .social-links a {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.06);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-muted);
            font-size: 16px;
            transition: var(--transition);
            border: 1px solid var(--border-light);
        }
        .site-footer .social-links a:hover {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
            transform: translateY(-3px);
        }
        .site-footer .footer-col h4 {
            font-size: 16px;
            font-weight: 700;
            color: var(--text-white);
            margin-bottom: 16px;
        }
        .site-footer .footer-col ul li {
            margin-bottom: 10px;
        }
        .site-footer .footer-col ul li a {
            color: var(--text-muted);
            font-size: 14px;
            transition: var(--transition);
        }
        .site-footer .footer-col ul li a:hover {
            color: var(--primary-light);
            padding-left: 4px;
        }
        .site-footer .footer-bottom {
            border-top: 1px solid var(--border-light);
            padding-top: 24px;
            text-align: center;
            color: var(--text-muted);
            font-size: 14px;
        }

        /* ===== 响应式 ===== */
        @media (max-width: 1024px) {
            .sidebar {
                transform: translateX(-100%);
            }
            .sidebar.open {
                transform: translateX(0);
            }
            .main-content {
                margin-left: 0;
            }
            .mobile-toggle {
                display: block;
            }
            .top-header {
                padding: 0 20px;
            }
            .top-header .header-actions .search-box input {
                width: 120px;
            }
            .article-hero {
                padding: 40px 24px 36px;
            }
            .article-hero h1 {
                font-size: 28px;
            }
            .article-body-section {
                padding: 30px 24px 40px;
            }
            .article-footer-bar {
                padding: 20px 24px;
            }
            .site-footer {
                padding: 36px 24px 24px;
            }
            .site-footer .footer-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (max-width: 768px) {
            .top-header .header-actions .search-box {
                display: none;
            }
            .article-hero h1 {
                font-size: 24px;
            }
            .article-hero .article-desc {
                font-size: 16px;
            }
            .article-body-section .article-content {
                font-size: 16px;
            }
            .article-body-section .article-content h2 {
                font-size: 22px;
            }
            .article-body-section .article-content h3 {
                font-size: 18px;
            }
            .article-footer-bar {
                flex-direction: column;
                align-items: flex-start;
            }
            .site-footer .footer-grid {
                grid-template-columns: 1fr;
                gap: 28px;
            }
            .sidebar {
                width: 280px;
            }
            .sidebar.open {
                transform: translateX(0);
            }
            .sidebar-overlay {
                display: none;
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: rgba(0, 0, 0, 0.6);
                z-index: 999;
            }
            .sidebar-overlay.active {
                display: block;
            }
        }

        @media (max-width: 520px) {
            .top-header {
                padding: 0 12px;
                height: 60px;
            }
            .top-header .breadcrumb {
                font-size: 12px;
            }
            .article-hero {
                padding: 28px 16px 24px;
            }
            .article-hero h1 {
                font-size: 20px;
            }
            .article-hero .article-desc {
                font-size: 14px;
            }
            .article-body-section {
                padding: 20px 16px 30px;
            }
            .article-body-section .article-content {
                font-size: 15px;
            }
            .article-body-section .article-content h2 {
                font-size: 20px;
                padding-left: 12px;
            }
            .article-footer-bar {
                padding: 16px;
            }
            .site-footer {
                padding: 28px 16px 20px;
            }
            .article-not-found {
                padding: 40px 16px;
            }
            .article-not-found .not-found-icon {
                font-size: 48px;
            }
        }

/* roulang page: category1 */
/* ===== 设计变量 ===== */
        :root {
            --primary: #e74c3c;
            --primary-dark: #c0392b;
            --primary-light: #fadbd8;
            --secondary: #f39c12;
            --secondary-light: #fef3e2;
            --accent: #3498db;
            --accent-light: #d6eaf8;
            --bg-body: #f5f6fa;
            --bg-white: #ffffff;
            --bg-dark: #1a1a2e;
            --bg-sidebar: #1a1a2e;
            --text-primary: #2c3e50;
            --text-secondary: #7f8c8d;
            --text-light: #bdc3c7;
            --text-white: #ffffff;
            --border-color: #e8e8e8;
            --border-light: #f0f0f0;
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
            --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
            --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 16px;
            --radius-xl: 20px;
            --sidebar-width: 240px;
            --header-height: 0px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans SC', sans-serif;
        }

        /* ===== Reset & Base ===== */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html {
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        body {
            font-family: var(--font-family);
            font-size: 16px;
            line-height: 1.6;
            color: var(--text-primary);
            background: var(--bg-body);
            display: flex;
            min-height: 100vh;
        }
        a {
            color: var(--primary);
            text-decoration: none;
            transition: var(--transition);
        }
        a:hover {
            color: var(--primary-dark);
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        button,
        input,
        select,
        textarea {
            font-family: inherit;
            font-size: inherit;
        }
        ul,
        ol {
            list-style: none;
        }

        /* ===== 容器 ===== */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
        }
        .container-fluid {
            width: 100%;
            padding: 0 24px;
        }

        /* ===== 左侧导航 ===== */
        .sidebar {
            position: fixed;
            top: 0;
            left: 0;
            width: var(--sidebar-width);
            height: 100vh;
            background: var(--bg-sidebar);
            color: var(--text-white);
            display: flex;
            flex-direction: column;
            z-index: 1000;
            transition: var(--transition);
            overflow-y: auto;
        }
        .sidebar-brand {
            padding: 24px 20px 16px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .sidebar-brand .logo-icon {
            width: 40px;
            height: 40px;
            background: var(--primary);
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: #fff;
            flex-shrink: 0;
        }
        .sidebar-brand .logo-text {
            font-size: 18px;
            font-weight: 700;
            color: #fff;
            line-height: 1.3;
        }
        .sidebar-nav {
            padding: 16px 12px;
            flex: 1;
        }
        .nav-label {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 1.2px;
            color: rgba(255, 255, 255, 0.35);
            padding: 8px 12px 6px;
            font-weight: 600;
        }
        .nav-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            border-radius: var(--radius-sm);
            color: rgba(255, 255, 255, 0.75);
            font-size: 15px;
            font-weight: 500;
            transition: var(--transition);
            cursor: pointer;
            margin-bottom: 2px;
        }
        .nav-item i {
            width: 20px;
            text-align: center;
            font-size: 16px;
            color: rgba(255, 255, 255, 0.5);
            transition: var(--transition);
        }
        .nav-item:hover {
            background: rgba(255, 255, 255, 0.08);
            color: #fff;
        }
        .nav-item:hover i {
            color: var(--primary);
        }
        .nav-item.active {
            background: var(--primary);
            color: #fff;
            box-shadow: 0 4px 14px rgba(231, 76, 60, 0.35);
        }
        .nav-item.active i {
            color: #fff;
        }
        .nav-item .badge {
            margin-left: auto;
            background: var(--secondary);
            color: #fff;
            font-size: 10px;
            padding: 2px 10px;
            border-radius: 20px;
            font-weight: 600;
            letter-spacing: 0.3px;
        }
        .sidebar-footer {
            padding: 16px 20px 24px;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            font-size: 12px;
            color: rgba(255, 255, 255, 0.3);
            text-align: center;
        }

        /* ===== 主内容区 ===== */
        .main-content {
            margin-left: var(--sidebar-width);
            flex: 1;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* ===== 顶部栏（移动端） ===== */
        .top-bar {
            display: none;
            background: var(--bg-white);
            padding: 12px 20px;
            border-bottom: 1px solid var(--border-color);
            align-items: center;
            justify-content: space-between;
            position: sticky;
            top: 0;
            z-index: 999;
            box-shadow: var(--shadow-sm);
        }
        .top-bar .logo-small {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 700;
            font-size: 17px;
            color: var(--text-primary);
        }
        .top-bar .logo-small .logo-icon {
            width: 34px;
            height: 34px;
            background: var(--primary);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            color: #fff;
        }
        .menu-toggle {
            background: none;
            border: none;
            font-size: 24px;
            color: var(--text-primary);
            cursor: pointer;
            padding: 4px 8px;
            border-radius: 6px;
            transition: var(--transition);
        }
        .menu-toggle:hover {
            background: var(--bg-body);
        }

        /* ===== 移动端遮罩 ===== */
        .sidebar-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 999;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .sidebar-overlay.show {
            opacity: 1;
        }

        /* ===== Hero / 分类页 Banner ===== */
        .category-hero {
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
            padding: 60px 0 50px;
            position: relative;
            overflow: hidden;
            min-height: 280px;
            display: flex;
            align-items: center;
        }
        .category-hero::before {
            content: '';
            position: absolute;
            top: -30%;
            right: -10%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(231, 76, 60, 0.15) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
        }
        .category-hero::after {
            content: '';
            position: absolute;
            bottom: -20%;
            left: -5%;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(52, 152, 219, 0.12) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
        }
        .category-hero .hero-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.1;
            z-index: 0;
        }
        .category-hero .container {
            position: relative;
            z-index: 1;
        }
        .category-hero .breadcrumb {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            color: rgba(255, 255, 255, 0.5);
            margin-bottom: 16px;
        }
        .category-hero .breadcrumb a {
            color: rgba(255, 255, 255, 0.6);
            transition: var(--transition);
        }
        .category-hero .breadcrumb a:hover {
            color: #fff;
        }
        .category-hero .breadcrumb .separator {
            color: rgba(255, 255, 255, 0.25);
        }
        .category-hero .breadcrumb .current {
            color: var(--secondary);
        }
        .category-hero h1 {
            font-size: 38px;
            font-weight: 800;
            color: #fff;
            margin-bottom: 12px;
            line-height: 1.2;
            letter-spacing: -0.5px;
        }
        .category-hero h1 .highlight {
            color: var(--secondary);
        }
        .category-hero .hero-desc {
            font-size: 17px;
            color: rgba(255, 255, 255, 0.7);
            max-width: 640px;
            line-height: 1.7;
        }
        .category-hero .hero-stats {
            display: flex;
            gap: 32px;
            margin-top: 24px;
            flex-wrap: wrap;
        }
        .category-hero .hero-stats .stat-item {
            display: flex;
            align-items: center;
            gap: 10px;
            color: rgba(255, 255, 255, 0.8);
            font-size: 14px;
        }
        .category-hero .hero-stats .stat-item i {
            color: var(--secondary);
            font-size: 18px;
        }
        .category-hero .hero-stats .stat-item strong {
            font-size: 22px;
            color: #fff;
            font-weight: 700;
            margin-right: 4px;
        }

        /* ===== 分类筛选标签 ===== */
        .filter-section {
            background: var(--bg-white);
            border-bottom: 1px solid var(--border-color);
            padding: 16px 0;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: var(--shadow-sm);
        }
        .filter-tabs {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            align-items: center;
        }
        .filter-tabs .filter-label {
            font-size: 14px;
            font-weight: 600;
            color: var(--text-secondary);
            margin-right: 8px;
        }
        .filter-tab {
            padding: 6px 18px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 500;
            background: var(--bg-body);
            color: var(--text-secondary);
            border: 1px solid var(--border-color);
            cursor: pointer;
            transition: var(--transition);
        }
        .filter-tab:hover {
            background: var(--primary-light);
            color: var(--primary);
            border-color: var(--primary);
        }
        .filter-tab.active {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
            box-shadow: 0 2px 10px rgba(231, 76, 60, 0.25);
        }

        /* ===== 攻略列表 ===== */
        .guide-section {
            padding: 40px 0 50px;
        }
        .guide-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }
        .guide-card {
            background: var(--bg-white);
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
            border: 1px solid var(--border-light);
            display: flex;
            flex-direction: column;
        }
        .guide-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
            border-color: transparent;
        }
        .guide-card .card-img {
            width: 100%;
            aspect-ratio: 16/9;
            object-fit: cover;
            display: block;
            background: var(--bg-body);
        }
        .guide-card .card-body {
            padding: 18px 20px 20px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .guide-card .card-tags {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
            margin-bottom: 10px;
        }
        .guide-card .card-tags .tag {
            font-size: 11px;
            padding: 2px 12px;
            border-radius: 12px;
            font-weight: 500;
            background: var(--bg-body);
            color: var(--text-secondary);
        }
        .guide-card .card-tags .tag.hot {
            background: var(--primary-light);
            color: var(--primary);
        }
        .guide-card .card-tags .tag.new {
            background: var(--accent-light);
            color: var(--accent);
        }
        .guide-card .card-tags .tag.tip {
            background: var(--secondary-light);
            color: var(--secondary);
        }
        .guide-card h3 {
            font-size: 17px;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 8px;
            line-height: 1.4;
        }
        .guide-card h3 a {
            color: inherit;
        }
        .guide-card h3 a:hover {
            color: var(--primary);
        }
        .guide-card .card-desc {
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.6;
            flex: 1;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .guide-card .card-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 14px;
            padding-top: 12px;
            border-top: 1px solid var(--border-light);
            font-size: 13px;
            color: var(--text-light);
        }
        .guide-card .card-meta .meta-left {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .guide-card .card-meta .meta-left i {
            margin-right: 4px;
            font-size: 12px;
        }
        .guide-card .card-meta .read-btn {
            font-size: 13px;
            font-weight: 600;
            color: var(--primary);
            transition: var(--transition);
        }
        .guide-card .card-meta .read-btn:hover {
            color: var(--primary-dark);
            gap: 4px;
        }

        /* ===== 热门攻略排行 ===== */
        .hot-section {
            background: var(--bg-white);
            padding: 50px 0;
            border-top: 1px solid var(--border-color);
            border-bottom: 1px solid var(--border-color);
        }
        .section-header {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            margin-bottom: 28px;
            flex-wrap: wrap;
            gap: 12px;
        }
        .section-header .section-title {
            font-size: 26px;
            font-weight: 800;
            color: var(--text-primary);
            letter-spacing: -0.3px;
        }
        .section-header .section-title .sub {
            font-size: 15px;
            font-weight: 400;
            color: var(--text-secondary);
            margin-left: 12px;
        }
        .section-header .section-link {
            font-size: 14px;
            font-weight: 600;
            color: var(--primary);
            transition: var(--transition);
        }
        .section-header .section-link i {
            font-size: 12px;
            margin-left: 4px;
        }
        .section-header .section-link:hover {
            color: var(--primary-dark);
            gap: 6px;
        }
        .hot-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .hot-item {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 14px 18px;
            background: var(--bg-body);
            border-radius: var(--radius-sm);
            transition: var(--transition);
            border: 1px solid transparent;
        }
        .hot-item:hover {
            background: var(--bg-white);
            border-color: var(--border-color);
            box-shadow: var(--shadow-sm);
        }
        .hot-item .rank {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 15px;
            background: var(--border-color);
            color: var(--text-secondary);
            flex-shrink: 0;
        }
        .hot-item .rank.top1 {
            background: var(--primary);
            color: #fff;
        }
        .hot-item .rank.top2 {
            background: var(--secondary);
            color: #fff;
        }
        .hot-item .rank.top3 {
            background: var(--accent);
            color: #fff;
        }
        .hot-item .hot-info {
            flex: 1;
        }
        .hot-item .hot-info h4 {
            font-size: 15px;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 2px;
        }
        .hot-item .hot-info p {
            font-size: 13px;
            color: var(--text-secondary);
        }
        .hot-item .hot-meta {
            font-size: 13px;
            color: var(--text-light);
            white-space: nowrap;
        }
        .hot-item .hot-meta i {
            margin-right: 4px;
            color: var(--secondary);
        }

        /* ===== 攻略专题 ===== */
        .topic-section {
            padding: 50px 0;
            background: var(--bg-body);
        }
        .topic-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }
        .topic-card {
            background: var(--bg-white);
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
            border: 1px solid var(--border-light);
            position: relative;
        }
        .topic-card:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-md);
            border-color: transparent;
        }
        .topic-card .topic-img {
            width: 100%;
            aspect-ratio: 16/9;
            object-fit: cover;
            display: block;
            background: var(--bg-body);
        }
        .topic-card .topic-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
            pointer-events: none;
        }
        .topic-card .topic-body {
            padding: 18px 20px 20px;
        }
        .topic-card .topic-body .topic-label {
            font-size: 11px;
            font-weight: 600;
            color: var(--primary);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 6px;
        }
        .topic-card .topic-body h3 {
            font-size: 18px;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 6px;
        }
        .topic-card .topic-body p {
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.6;
        }
        .topic-card .topic-body .topic-count {
            margin-top: 12px;
            font-size: 13px;
            color: var(--text-light);
        }
        .topic-card .topic-body .topic-count i {
            margin-right: 4px;
            color: var(--primary);
        }

        /* ===== FAQ ===== */
        .faq-section {
            padding: 50px 0;
            background: var(--bg-white);
            border-top: 1px solid var(--border-color);
        }
        .faq-grid {
            max-width: 800px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .faq-item {
            border: 1px solid var(--border-color);
            border-radius: var(--radius-sm);
            overflow: hidden;
            transition: var(--transition);
        }
        .faq-item:hover {
            border-color: var(--primary-light);
        }
        .faq-item .faq-question {
            padding: 16px 20px;
            font-size: 16px;
            font-weight: 600;
            color: var(--text-primary);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: var(--bg-body);
            transition: var(--transition);
            user-select: none;
        }
        .faq-item .faq-question:hover {
            background: var(--primary-light);
            color: var(--primary);
        }
        .faq-item .faq-question i {
            font-size: 14px;
            color: var(--text-light);
            transition: var(--transition);
        }
        .faq-item .faq-question:hover i {
            color: var(--primary);
        }
        .faq-item .faq-answer {
            padding: 0 20px 16px;
            font-size: 15px;
            color: var(--text-secondary);
            line-height: 1.7;
            display: none;
        }
        .faq-item.open .faq-answer {
            display: block;
        }
        .faq-item.open .faq-question i {
            transform: rotate(180deg);
            color: var(--primary);
        }

        /* ===== CTA ===== */
        .cta-section {
            padding: 60px 0;
            background: linear-gradient(135deg, var(--bg-sidebar) 0%, #16213e 100%);
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .cta-section::before {
            content: '';
            position: absolute;
            top: -50%;
            left: 50%;
            transform: translateX(-50%);
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(231, 76, 60, 0.12) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
        }
        .cta-section .container {
            position: relative;
            z-index: 1;
        }
        .cta-section h2 {
            font-size: 32px;
            font-weight: 800;
            color: #fff;
            margin-bottom: 12px;
            letter-spacing: -0.3px;
        }
        .cta-section p {
            font-size: 17px;
            color: rgba(255, 255, 255, 0.65);
            max-width: 560px;
            margin: 0 auto 28px;
            line-height: 1.7;
        }
        .cta-section .cta-buttons {
            display: flex;
            gap: 16px;
            justify-content: center;
            flex-wrap: wrap;
        }
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 28px;
            border-radius: var(--radius-sm);
            font-size: 15px;
            font-weight: 600;
            border: none;
            cursor: pointer;
            transition: var(--transition);
            text-decoration: none;
        }
        .btn-primary {
            background: var(--primary);
            color: #fff;
            box-shadow: 0 4px 14px rgba(231, 76, 60, 0.3);
        }
        .btn-primary:hover {
            background: var(--primary-dark);
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 6px 24px rgba(231, 76, 60, 0.4);
        }
        .btn-outline-light {
            background: transparent;
            color: #fff;
            border: 2px solid rgba(255, 255, 255, 0.25);
        }
        .btn-outline-light:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.5);
            color: #fff;
            transform: translateY(-2px);
        }

        /* ===== 页脚 ===== */
        .site-footer {
            background: var(--bg-sidebar);
            color: rgba(255, 255, 255, 0.7);
            padding: 48px 0 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 32px;
        }
        .footer-brand .footer-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 20px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 14px;
        }
        .footer-brand .footer-logo .logo-icon {
            width: 36px;
            height: 36px;
            background: var(--primary);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            color: #fff;
        }
        .footer-brand p {
            font-size: 14px;
            line-height: 1.7;
            color: rgba(255, 255, 255, 0.55);
            max-width: 380px;
        }
        .social-links {
            display: flex;
            gap: 12px;
            margin-top: 16px;
        }
        .social-links a {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.08);
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255, 255, 255, 0.6);
            font-size: 16px;
            transition: var(--transition);
        }
        .social-links a:hover {
            background: var(--primary);
            color: #fff;
            transform: translateY(-2px);
        }
        .footer-col h4 {
            font-size: 15px;
            font-weight: 600;
            color: #fff;
            margin-bottom: 14px;
        }
        .footer-col ul li {
            margin-bottom: 8px;
        }
        .footer-col ul li a {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.55);
            transition: var(--transition);
        }
        .footer-col ul li a:hover {
            color: var(--primary);
            padding-left: 4px;
        }
        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            padding-top: 20px;
            font-size: 13px;
            color: rgba(255, 255, 255, 0.35);
            text-align: center;
        }

        /* ===== 分页 ===== */
        .pagination {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-top: 36px;
            flex-wrap: wrap;
        }
        .pagination .page-btn {
            width: 40px;
            height: 40px;
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            font-weight: 500;
            background: var(--bg-white);
            color: var(--text-secondary);
            border: 1px solid var(--border-color);
            transition: var(--transition);
            cursor: pointer;
        }
        .pagination .page-btn:hover {
            border-color: var(--primary);
            color: var(--primary);
            background: var(--primary-light);
        }
        .pagination .page-btn.active {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
            box-shadow: 0 2px 10px rgba(231, 76, 60, 0.25);
        }
        .pagination .page-btn.next {
            width: auto;
            padding: 0 18px;
        }

        /* ===== 响应式 ===== */
        @media (max-width: 1024px) {
            .guide-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .topic-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 30px;
            }
        }

        @media (max-width: 768px) {
            .sidebar {
                transform: translateX(-100%);
            }
            .sidebar.open {
                transform: translateX(0);
            }
            .main-content {
                margin-left: 0;
            }
            .top-bar {
                display: flex;
            }
            .sidebar-overlay.show {
                display: block;
            }
            .category-hero {
                padding: 40px 0 36px;
                min-height: auto;
            }
            .category-hero h1 {
                font-size: 28px;
            }
            .category-hero .hero-desc {
                font-size: 15px;
            }
            .category-hero .hero-stats {
                gap: 20px;
            }
            .category-hero .hero-stats .stat-item strong {
                font-size: 18px;
            }
            .guide-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }
            .topic-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }
            .filter-tabs {
                gap: 6px;
            }
            .filter-tab {
                padding: 4px 14px;
                font-size: 12px;
            }
            .section-header .section-title {
                font-size: 22px;
            }
            .section-header .section-title .sub {
                display: block;
                margin-left: 0;
                margin-top: 4px;
                font-size: 14px;
            }
            .hot-item {
                padding: 12px 14px;
                flex-wrap: wrap;
            }
            .hot-item .hot-meta {
                width: 100%;
                margin-left: 48px;
                white-space: normal;
            }
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }
            .cta-section h2 {
                font-size: 26px;
            }
            .cta-section p {
                font-size: 15px;
            }
            .btn {
                padding: 10px 22px;
                font-size: 14px;
            }
            .faq-item .faq-question {
                font-size: 15px;
                padding: 14px 16px;
            }
            .pagination .page-btn {
                width: 36px;
                height: 36px;
                font-size: 13px;
            }
        }

        @media (max-width: 520px) {
            .container {
                padding: 0 16px;
            }
            .category-hero h1 {
                font-size: 24px;
            }
            .category-hero .hero-stats {
                flex-direction: column;
                gap: 8px;
            }
            .guide-card .card-body {
                padding: 14px 16px 16px;
            }
            .guide-card h3 {
                font-size: 16px;
            }
            .hot-item .rank {
                width: 28px;
                height: 28px;
                font-size: 13px;
            }
            .hot-item .hot-info h4 {
                font-size: 14px;
            }
            .topic-card .topic-body h3 {
                font-size: 16px;
            }
            .cta-section {
                padding: 40px 0;
            }
            .cta-section h2 {
                font-size: 22px;
            }
            .social-links a {
                width: 34px;
                height: 34px;
                font-size: 14px;
            }
        }
