/* roulang page: index */
/* ===== 设计变量 ===== */
:root {
  --primary: #2d2a24;
  --primary-light: #4a443c;
  --accent: #c9a96e;
  --accent-hover: #d4b87a;
  --accent-light: #e8dcc8;
  --bg-dark: #1a1814;
  --bg-body: #f5f0eb;
  --bg-card: #ffffff;
  --bg-section-alt: #ede7e0;
  --text-primary: #2d2a24;
  --text-secondary: #6b655c;
  --text-light: #9e978e;
  --text-white: #f5f0eb;
  --border-color: #ddd6ce;
  --border-light: #e8e2da;
  --shadow-sm: 0 2px 8px rgba(45,42,36,0.06);
  --shadow-md: 0 4px 16px rgba(45,42,36,0.08);
  --shadow-lg: 0 8px 32px rgba(45,42,36,0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Georgia', 'Noto Serif SC', serif;
  --sidebar-width: 240px;
  --header-height: 0px;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 80px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-body);
  display: flex;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--radius-sm); }

img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-md); }
button, input, textarea { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }

/* ===== 左侧导航 ===== */
.sidebar {
  position: fixed;
  top: 0; left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--bg-dark);
  color: var(--text-white);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  padding: var(--space-xl) var(--space-lg);
  border-right: 1px solid rgba(255,255,255,0.06);
  overflow-y: auto;
  transition: transform var(--transition);
}

.sidebar-logo {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
  padding-bottom: var(--space-lg);
  margin-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.sidebar-logo span { font-size: 1.5rem; }

.sidebar-nav { display: flex; flex-direction: column; gap: var(--space-xs); flex: 1; }

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all var(--transition);
  position: relative;
}
.sidebar-nav a i { width: 20px; text-align: center; font-size: 1.1rem; }
.sidebar-nav a:hover {
  color: var(--text-white);
  background: rgba(255,255,255,0.06);
}
.sidebar-nav a.active {
  color: var(--accent);
  background: rgba(201,169,110,0.12);
}
.sidebar-nav a.active::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 20px;
  background: var(--accent);
  border-radius: 0 3px 3px 0;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: center;
}

/* ===== 主内容区 ===== */
.main-content {
  margin-left: var(--sidebar-width);
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== 容器 ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}
@media (max-width: 768px) {
  .container { padding: 0 var(--space-lg); }
}

/* ===== 板块 ===== */
.section { padding: var(--space-3xl) 0; }
.section-alt { background: var(--bg-section-alt); }
.section-dark { background: var(--bg-dark); color: var(--text-white); }

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}
.section-header h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}
.section-dark .section-header h2 { color: var(--text-white); }
.section-dark .section-header p { color: var(--text-light); }

.section-header .accent-line {
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: var(--space-md) auto var(--space-lg);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
  background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,24,20,0.82) 0%, rgba(45,42,36,0.65) 100%);
  z-index: 1;
}
.hero * { position: relative; z-index: 2; }

.hero-content { max-width: 780px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(201,169,110,0.18);
  border: 1px solid rgba(201,169,110,0.3);
  color: var(--accent);
  padding: var(--space-xs) var(--space-lg);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}
.hero h1 .highlight { color: var(--accent); }

.hero p {
  font-size: 1.15rem;
  color: rgba(245,240,235,0.8);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
}

.hero-actions { display: flex; gap: var(--space-md); justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.02em;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.btn-primary {
  background: var(--accent);
  color: var(--bg-dark);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,169,110,0.3);
  color: var(--bg-dark);
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(201,169,110,0.08);
  transform: translateY(-2px);
}

.btn-accent-light {
  background: rgba(201,169,110,0.12);
  color: var(--accent);
  border: 1px solid rgba(201,169,110,0.25);
}
.btn-accent-light:hover {
  background: rgba(201,169,110,0.2);
  color: var(--accent-hover);
  transform: translateY(-2px);
}

/* ===== 特色卡片 ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
  text-align: center;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-light);
}

.feature-card .icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 1.8rem;
  color: var(--accent);
  transition: background var(--transition);
}
.feature-card:hover .icon-wrap { background: var(--accent); color: #fff; }

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}
.feature-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== 分类入口 ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-light);
}

.category-card .card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0;
}
.category-card .card-body {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.category-card .card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}
.category-card .card-body .tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 12px;
  border-radius: 100px;
  margin-bottom: var(--space-sm);
  align-self: flex-start;
}
.category-card .card-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}
.category-card .card-body .card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-light);
}
.category-card .card-body .card-footer .btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
  border-radius: 100px;
  background: var(--accent);
  color: var(--bg-dark);
  font-weight: 600;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}
.category-card .card-body .card-footer .btn-sm:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* ===== 最新资讯 (CMS) ===== */
.news-list { display: flex; flex-direction: column; gap: var(--space-md); }

.news-item {
  display: flex;
  gap: var(--space-lg);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
  align-items: flex-start;
}
.news-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
}

.news-item .news-img {
  width: 160px;
  min-height: 100px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}
.news-item .news-content { flex: 1; }
.news-item .news-content .news-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  padding: 2px 12px;
  border-radius: 100px;
  margin-bottom: var(--space-xs);
}
.news-item .news-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}
.news-item .news-content h3 a { color: inherit; }
.news-item .news-content h3 a:hover { color: var(--accent); }
.news-item .news-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}
.news-item .news-content .news-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  display: flex;
  gap: var(--space-md);
}

.news-empty {
  text-align: center;
  padding: var(--space-2xl);
  color: var(--text-light);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-color);
}

/* ===== 数据统计 ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.stat-card {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all var(--transition);
}
.stat-card:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-2px);
}

.stat-card .stat-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
  margin-bottom: var(--space-xs);
}
.stat-card .stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ===== 使用流程 ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.step-card {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  position: relative;
  transition: all var(--transition);
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-card .step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg-dark);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-family: var(--font-serif);
}
.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}
.step-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== FAQ ===== */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-md); }

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item:hover { border-color: var(--accent-light); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg);
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  transition: background var(--transition);
  font-family: var(--font-sans);
}
.faq-question:hover { background: rgba(201,169,110,0.04); }
.faq-question .faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
  color: var(--accent);
  flex-shrink: 0;
}
.faq-item.open .faq-question .faq-icon { transform: rotate(180deg); }

.faq-answer {
  padding: 0 var(--space-lg) var(--space-lg);
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  display: none;
}
.faq-item.open .faq-answer { display: block; }

/* ===== CTA ===== */
.cta-section {
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
  background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,24,20,0.85) 0%, rgba(45,42,36,0.7) 100%);
}
.cta-section * { position: relative; z-index: 2; }

.cta-section h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: var(--space-md);
}
.cta-section p {
  font-size: 1.05rem;
  color: rgba(245,240,235,0.75);
  max-width: 560px;
  margin: 0 auto var(--space-xl);
}
.cta-section .btn { font-size: 1.05rem; padding: 16px 40px; }

/* ===== 页脚 ===== */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: var(--space-2xl) 0 var(--space-lg);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: var(--space-lg);
}

.footer-brand .footer-logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--space-sm);
  display: block;
}
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 300px; }

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: var(--space-md);
  letter-spacing: 0.04em;
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer-col ul a {
  font-size: 0.88rem;
  color: var(--text-light);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: 0.82rem;
  color: var(--text-light);
}
.footer-bottom a { color: var(--text-light); }
.footer-bottom a:hover { color: var(--accent); }

/* ===== 移动端菜单按钮 ===== */
.mobile-toggle {
  display: none;
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 1100;
  background: var(--bg-dark);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-white);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.3rem;
  transition: background var(--transition);
}
.mobile-toggle:hover { background: var(--primary-light); }

/* ===== 遮罩 ===== */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  backdrop-filter: blur(2px);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .mobile-toggle { display: flex; }

  .sidebar {
    transform: translateX(-100%);
    width: 280px;
  }
  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay.open { display: block; }

  .main-content { margin-left: 0; }

  .hero { min-height: 60vh; padding: var(--space-2xl) var(--space-lg); }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }

  .features-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .news-item { flex-direction: column; }
  .news-item .news-img { width: 100%; height: 180px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
  .steps-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .footer-bottom { flex-direction: column; text-align: center; }

  .section { padding: var(--space-2xl) 0; }
  .section-header h2 { font-size: 1.6rem; }

  .stat-card .stat-number { font-size: 2rem; }
  .cta-section h2 { font-size: 1.6rem; }
  .cta-section { padding: var(--space-2xl) var(--space-lg); }

  .news-item .news-content h3 { font-size: 1rem; }
}

@media (max-width: 520px) {
  .container { padding: 0 var(--space-md); }
  .hero h1 { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: var(--space-md); }
  .stat-card { padding: var(--space-lg) var(--space-md); }
  .faq-question { font-size: 0.92rem; padding: var(--space-md); }
  .faq-answer { padding: 0 var(--space-md) var(--space-md); }
  .btn { padding: 12px 24px; font-size: 0.9rem; }
}

/* ===== 工具类 ===== */
.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

/* roulang page: category1 */
/* ===== 设计变量 ===== */
:root {
  --primary: #b8860b;
  --primary-light: #daa520;
  --primary-dark: #8b6508;
  --accent: #2c3e50;
  --accent-light: #3d5a73;
  --bg-body: #f2ece4;
  --bg-card: #faf6f0;
  --bg-dark: #1e1e2a;
  --bg-sidebar: #1a1a2e;
  --text-main: #2d2a24;
  --text-light: #6b5e4a;
  --text-muted: #9a8c7a;
  --text-inverse: #f0ebe0;
  --border-color: #d4c9b5;
  --border-soft: #e8dfd0;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(30, 25, 20, 0.06);
  --shadow-md: 0 6px 24px rgba(30, 25, 20, 0.08);
  --shadow-lg: 0 14px 40px rgba(30, 25, 20, 0.12);
  --shadow-inset: inset 0 1px 3px rgba(0,0,0,0.04);
  --font-body: Georgia, 'Times New Roman', serif;
  --font-heading: 'Segoe UI', 'PingFang SC', Roboto, sans-serif;
  --font-mono: 'Courier New', monospace;
  --sidebar-width: 220px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-body);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  display: flex;
  min-height: 100vh;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
a:focus-visible { outline: 2px solid var(--primary-light); outline-offset: 3px; border-radius: var(--radius-sm); }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font-family: inherit; font-size: 1rem; }
ul, ol { list-style: none; }

/* ===== 侧边栏 ===== */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--bg-sidebar);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.25rem;
  box-shadow: 2px 0 20px rgba(0,0,0,0.2);
  transition: var(--transition);
  overflow-y: auto;
}
.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-inverse);
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.8rem;
}
.sidebar-logo i { color: var(--primary-light); font-size: 1.4rem; }
.sidebar-nav { display: flex; flex-direction: column; gap: 0.25rem; }
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.65);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}
.sidebar-nav a i { width: 1.2rem; text-align: center; font-size: 1rem; color: inherit; }
.sidebar-nav a:hover {
  background: rgba(255,255,255,0.06);
  color: var(--text-inverse);
}
.sidebar-nav a.active {
  background: rgba(218,165,32,0.15);
  color: var(--primary-light);
  font-weight: 600;
}
.sidebar-nav a.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: var(--primary-light);
  border-radius: 0 3px 3px 0;
}
.sidebar-footer-nav {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.sidebar-footer-nav a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  font-family: var(--font-heading);
  transition: var(--transition);
}
.sidebar-footer-nav a:hover { color: var(--text-inverse); background: rgba(255,255,255,0.04); }

/* ===== 主内容区 ===== */
.main-wrapper {
  margin-left: var(--sidebar-width);
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== 容器 ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

/* ===== 移动端菜单切换 ===== */
.mobile-toggle {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1100;
  background: var(--bg-sidebar);
  color: var(--text-inverse);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.mobile-toggle:hover { background: #2a2a3e; }

/* ===== Hero / Banner ===== */
.category-banner {
  position: relative;
  padding: 5rem 0 4rem;
  background: var(--bg-dark);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
}
.category-banner .banner-bg {
  position: absolute;
  inset: 0;
  background: url('/assets/images/backpic/back-1.png') center/cover no-repeat;
  opacity: 0.25;
  pointer-events: none;
}
.category-banner .container { position: relative; z-index: 2; }
.category-banner h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-inverse);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.category-banner h1 i { color: var(--primary-light); margin-right: 0.5rem; }
.category-banner .banner-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  max-width: 640px;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.category-banner .banner-badge {
  display: inline-block;
  background: rgba(218,165,32,0.18);
  color: var(--primary-light);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-family: var(--font-heading);
  font-weight: 500;
  border: 1px solid rgba(218,165,32,0.25);
}

/* ===== 板块通用 ===== */
.section {
  padding: 4.5rem 0;
}
.section-alt { background: var(--bg-card); }
.section-dark {
  background: var(--bg-dark);
  color: var(--text-inverse);
}
.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.75rem;
  color: var(--text-main);
  letter-spacing: -0.3px;
}
.section-dark .section-title { color: var(--text-inverse); }
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
  line-height: 1.7;
}
.section-dark .section-subtitle { color: rgba(255,255,255,0.6); }
.section-divider {
  width: 56px;
  height: 3px;
  background: var(--primary);
  border-radius: 4px;
  margin: 0 auto 1.2rem;
}

/* ===== 卡片网格 ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.card-grid.col-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
  transition: var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--border-color);
}
.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  background: var(--border-soft);
}
.card-body { padding: 1.5rem; }
.card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}
.card-body p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.card-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.8rem; }
.tag {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 500;
  background: rgba(184,134,11,0.08);
  color: var(--primary);
  border: 1px solid rgba(184,134,11,0.15);
}
.tag-alt { background: rgba(44,62,80,0.08); color: var(--accent); border-color: rgba(44,62,80,0.15); }
.card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  transition: var(--transition);
}
.card-btn:hover { gap: 0.7rem; color: var(--primary-dark); }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.7rem 1.8rem;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
  color: inherit;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(184,134,11,0.3);
  transform: translateY(-2px);
}
.btn-outline {
  border-color: var(--border-color);
  color: var(--text-main);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(184,134,11,0.04);
}
.btn-light {
  background: var(--text-inverse);
  color: var(--text-main);
  border-color: var(--text-inverse);
}
.btn-light:hover {
  background: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

/* ===== 数据/统计 ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item {}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 0.3rem;
}
.stat-label {
  font-size: 0.95rem;
  color: var(--text-light);
  font-family: var(--font-heading);
}

/* ===== 流程步骤 ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  counter-reset: step;
}
.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  position: relative;
  transition: var(--transition);
}
.step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}
.step-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.step-card p { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; }

/* ===== 图文列表 ===== */
.list-block { display: flex; flex-direction: column; gap: 1.5rem; }
.list-item {
  display: flex;
  gap: 1.5rem;
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  transition: var(--transition);
  align-items: flex-start;
}
.list-item:hover { box-shadow: var(--shadow-sm); border-color: var(--border-color); }
.list-item-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(184,134,11,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
}
.list-item-content { flex: 1; }
.list-item-content h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.list-item-content p { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; }
.list-item-content .meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  display: flex;
  gap: 1rem;
}
.list-item-content .meta i { margin-right: 0.25rem; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: var(--border-color); }
.faq-question {
  padding: 1.2rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--text-main);
  user-select: none;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}
.faq-question i { color: var(--primary); transition: var(--transition); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer {
  padding: 0 1.5rem 1.2rem;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  display: none;
}
.faq-item.active .faq-answer { display: block; }

/* ===== CTA ===== */
.cta-block {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/images/backpic/back-2.png') center/cover no-repeat;
  opacity: 0.08;
  pointer-events: none;
}
.cta-block h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-inverse);
  margin-bottom: 1rem;
  position: relative;
}
.cta-block p {
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  position: relative;
}
.cta-block .btn-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--bg-sidebar);
  color: rgba(255,255,255,0.6);
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}
.footer-brand .footer-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-inverse);
  display: block;
  margin-bottom: 0.8rem;
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 360px;
}
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-inverse);
  margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--primary-light); padding-left: 3px; }
.footer-col ul li a i { width: 1.2rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--primary-light); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  :root { --sidebar-width: 200px; }
  .container { padding: 0 1.5rem; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .category-banner h1 { font-size: 2.2rem; }
}

@media (max-width: 768px) {
  .mobile-toggle { display: flex; align-items: center; justify-content: center; }
  .sidebar {
    transform: translateX(-100%);
    width: 260px;
  }
  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
  }
  .sidebar-overlay.show { display: block; }
  .main-wrapper { margin-left: 0; }
  .container { padding: 0 1.2rem; }
  .category-banner { padding: 3.5rem 0 3rem; min-height: 240px; }
  .category-banner h1 { font-size: 1.8rem; }
  .category-banner .banner-desc { font-size: 1rem; }
  .section { padding: 3rem 0; }
  .section-title { font-size: 1.6rem; }
  .card-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .card-grid.col-2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .stat-number { font-size: 2.2rem; }
  .steps-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .list-item { flex-direction: column; padding: 1.2rem; }
  .list-item-icon { width: 44px; height: 44px; font-size: 1.2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .cta-block { padding: 3rem 1.5rem; }
  .cta-block h2 { font-size: 1.6rem; }
}

@media (max-width: 520px) {
  .category-banner h1 { font-size: 1.5rem; }
  .category-banner .banner-desc { font-size: 0.9rem; }
  .section-title { font-size: 1.4rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .stat-number { font-size: 1.8rem; }
  .btn { padding: 0.6rem 1.4rem; font-size: 0.85rem; }
  .cta-block h2 { font-size: 1.3rem; }
  .cta-block .btn-group { flex-direction: column; align-items: center; }
}

/* roulang page: article */
:root {
  --primary: #b8860b;
  --primary-light: #daa520;
  --primary-dark: #8b6508;
  --accent: #d4a574;
  --bg-dark: #1a1614;
  --bg-main: #231f1c;
  --bg-card: #2d2824;
  --bg-sidebar: #1e1a17;
  --bg-elevated: #35302b;
  --text-main: #e8ddd0;
  --text-light: #c4b8a8;
  --text-muted: #8f8478;
  --border-color: #3d3530;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.5);
  --sidebar-width: 220px;
  --font-base: 'Segoe UI', system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-base);
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
  display: flex;
  min-height: 100vh;
}
a { color: var(--primary-light); text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #f0d080; outline: none; }
a:focus-visible { outline: 2px solid var(--primary-light); outline-offset: 2px; }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }
button, input, textarea { font-family: inherit; font-size: 1rem; }

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0; left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  padding: 1.5rem 0;
  overflow-y: auto;
}
.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.5rem 1.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1rem;
}
.sidebar-logo i { font-size: 1.5rem; }
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 0.75rem;
}
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s;
}
.sidebar-nav a i { width: 1.25rem; text-align: center; font-size: 1rem; }
.sidebar-nav a:hover {
  background: var(--bg-elevated);
  color: var(--text-main);
}
.sidebar-nav a.active {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.sidebar-divider {
  height: 1px;
  background: var(--border-color);
  margin: 1rem 1.5rem;
}
.sidebar-footer {
  margin-top: auto;
  padding: 1rem 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
}

/* Main content area */
.main-wrapper {
  margin-left: var(--sidebar-width);
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.main-content {
  flex: 1;
  padding: 2.5rem 2rem 3rem;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}

/* Article */
.article-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}
.article-category {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-dark);
  color: #fff;
  padding: 0.25rem 0.9rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 1rem;
}
.article-category i { font-size: 0.7rem; }
.article-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.article-meta span { display: flex; align-items: center; gap: 0.35rem; }
.article-meta i { font-size: 0.8rem; }
.article-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-light);
}
.article-body p { margin-bottom: 1.2rem; }
.article-body h2, .article-body h3 {
  color: var(--text-main);
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
}
.article-body h2 { font-size: 1.5rem; border-left: 4px solid var(--primary); padding-left: 1rem; }
.article-body h3 { font-size: 1.2rem; }
.article-body ul, .article-body ol { margin: 0.8rem 0 1.2rem 1.5rem; }
.article-body li { margin-bottom: 0.4rem; }
.article-body blockquote {
  border-left: 4px solid var(--primary);
  background: var(--bg-card);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-light);
  font-style: italic;
}
.article-body img {
  margin: 1.5rem auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.article-body a { text-decoration: underline; text-underline-offset: 2px; }
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 2rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--bg-card);
  color: var(--text-light);
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  font-size: 0.8rem;
  border: 1px solid var(--border-color);
  transition: all 0.2s;
}
.tag:hover { background: var(--bg-elevated); color: var(--text-main); border-color: var(--primary); }
.tag i { font-size: 0.7rem; color: var(--primary-light); }

/* Related posts */
.related-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}
.related-section h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.related-section h3 i { color: var(--primary-light); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
}
.related-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  transition: all 0.25s;
}
.related-card:hover {
  background: var(--bg-elevated);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.related-card .rc-cat {
  font-size: 0.75rem;
  color: var(--primary-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.related-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0.4rem 0 0.5rem;
  line-height: 1.4;
}
.related-card h4 a { color: inherit; }
.related-card h4 a:hover { color: var(--primary-light); }
.related-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* CTA */
.article-cta {
  margin-top: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  text-align: center;
  background-image: radial-gradient(circle at 80% 20%, rgba(184,134,11,0.08) 0%, transparent 60%);
}
.article-cta h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.6rem;
}
.article-cta p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 1.5rem;
  font-size: 0.95rem;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(184,134,11,0.3);
}
.cta-btn:hover {
  background: var(--primary-light);
  color: #1a1614;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(184,134,11,0.4);
}
.cta-btn:active { transform: translateY(0); }

/* Not found */
.not-found-box {
  text-align: center;
  padding: 4rem 2rem;
}
.not-found-box i {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.not-found-box h2 {
  font-size: 1.6rem;
  color: var(--text-main);
  margin-bottom: 0.6rem;
}
.not-found-box p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-light);
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--primary);
  border-radius: 30px;
  transition: all 0.2s;
}
.back-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* Footer */
.site-footer {
  background: var(--bg-sidebar);
  border-top: 1px solid var(--border-color);
  padding: 2.5rem 2rem 1.5rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
.footer-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: 0.5px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0.6rem;
  line-height: 1.6;
}
.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.8rem;
  letter-spacing: 0.3px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul a {
  color: var(--text-muted);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-col ul a:hover { color: var(--primary-light); }
.footer-bottom {
  max-width: 1000px;
  margin: 2rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--primary-light); }

/* Hamburger (mobile) */
.mobile-toggle {
  display: none;
  position: fixed;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 1100;
  background: var(--bg-sidebar);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.mobile-toggle:hover { background: var(--bg-elevated); }

/* Overlay */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 999;
}

/* Responsive */
@media (max-width: 1024px) {
  .main-content { padding: 2rem 1.5rem; }
  .article-title { font-size: 1.7rem; }
}

@media (max-width: 768px) {
  .mobile-toggle { display: flex; }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .sidebar-overlay.active { display: block; }
  .main-wrapper { margin-left: 0; }
  .main-content { padding: 4.5rem 1.2rem 2rem; }
  .article-title { font-size: 1.4rem; }
  .article-meta { gap: 0.8rem; font-size: 0.8rem; }
  .article-body { font-size: 1rem; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .article-cta { padding: 1.5rem 1.2rem; }
  .article-cta h3 { font-size: 1.2rem; }
}

@media (max-width: 520px) {
  .main-content { padding: 4rem 1rem 1.5rem; }
  .article-title { font-size: 1.2rem; }
  .article-body h2 { font-size: 1.2rem; }
  .cta-btn { padding: 0.6rem 1.5rem; font-size: 0.9rem; }
  .related-card { padding: 1rem; }
}
