/* roulang page: index */
/* ========== 设计变量 ========== */
:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --accent-light: #fef3c7;
  --red: #ef4444;
  --red-light: #fef2f2;
  --blue: #3b82f6;
  --blue-light: #eff6ff;
  --bg: #f8fafc;
  --bg-card: #ffffff;
  --bg-dark: #0b1120;
  --text: #1e293b;
  --text-secondary: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 12px 40px rgba(15, 23, 42, 0.14);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans SC', sans-serif;
  --max-width: 1200px;
  --header-h: 72px;
}

/* ========== 基础 Reset ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; outline: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.3; font-weight: 700; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

/* ========== 容器 ========== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 768px) {
  .container { padding: 0 16px; }
}

/* ========== 按钮 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}
.btn-sm { padding: 8px 18px; font-size: 13px; border-radius: var(--radius-xs); }
.btn-lg { padding: 16px 40px; font-size: 17px; border-radius: var(--radius); }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ========== 标签 / 徽章 ========== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  background: var(--accent-light);
  color: var(--accent-hover);
}
.badge-red {
  background: var(--red-light);
  color: var(--red);
}
.badge-blue {
  background: var(--blue-light);
  color: var(--blue);
}
.badge-sm { padding: 2px 10px; font-size: 11px; }

/* ========== 卡片 ========== */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.card-body { padding: 20px 24px 24px; }
.card-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.card-text { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 12px; }
.card-meta { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--text-light); }

/* ========== 板块间距 ========== */
.section { padding: 80px 0; }
.section-dark { background: var(--bg-dark); color: #fff; }
.section-light { background: var(--bg); }
.section-white { background: #fff; }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { margin-bottom: 12px; }
.section-title p { color: var(--text-secondary); max-width: 600px; margin: 0 auto; font-size: 16px; }
.section-dark .section-title h2 { color: #fff; }
.section-dark .section-title p { color: var(--text-light); }

/* ========== 网格 ========== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 20px; }
}

/* ========== 导航 ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 17, 32, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.header-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), #f97316);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}
.header-logo .logo-text {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}
.header-logo .logo-text span { color: var(--accent); }
.header-search {
  flex: 1;
  max-width: 520px;
  position: relative;
  margin: 0 12px;
}
.header-search input {
  width: 100%;
  height: 44px;
  padding: 0 20px 0 48px;
  border-radius: 24px;
  border: 2px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 15px;
  transition: var(--transition);
}
.header-search input::placeholder { color: rgba(255,255,255,0.4); }
.header-search input:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}
.header-search .search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.4);
  font-size: 18px;
  pointer-events: none;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.header-nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-xs);
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}
.header-nav a:hover,
.header-nav a.active {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.header-nav a.active { color: var(--accent); background: rgba(245,158,11,0.12); }
.header-toggle { display: none; color: #fff; font-size: 24px; padding: 8px; flex-shrink: 0; }

@media (max-width: 900px) {
  .header-search { max-width: 320px; }
  .header-nav a { padding: 8px 12px; font-size: 13px; }
}
@media (max-width: 768px) {
  .header-search { max-width: 200px; }
  .header-nav { display: none; }
  .header-toggle { display: flex; }
  .header-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(11,17,32,0.98);
    backdrop-filter: blur(20px);
    padding: 16px 24px 24px;
    gap: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .header-nav.open a { padding: 12px 16px; font-size: 15px; }
}
@media (max-width: 520px) {
  .header-logo .logo-text { font-size: 16px; }
  .header-search { max-width: 140px; }
  .header-search input { padding: 0 12px 0 38px; font-size: 13px; height: 38px; }
  .header-search .search-icon { left: 12px; font-size: 15px; }
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  background: var(--bg-dark);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
  opacity: 0.25;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,17,32,0.88) 0%, rgba(15,23,42,0.72) 50%, rgba(11,17,32,0.88) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 24px;
  background: rgba(245,158,11,0.15);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(245,158,11,0.2);
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  line-height: 1.15;
}
.hero h1 span { color: var(--accent); }
.hero p {
  color: rgba(255,255,255,0.7);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.hero-actions .btn { min-width: 160px; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stat { text-align: center; }
.hero-stat .num {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.hero-stat .num span { color: var(--accent); }
.hero-stat .label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}
@media (max-width: 768px) {
  .hero { min-height: 90vh; padding: 100px 16px 60px; }
  .hero-stats { gap: 24px; padding-top: 28px; margin-top: 36px; }
  .hero-stat .num { font-size: 26px; }
}
@media (max-width: 520px) {
  .hero-stats { gap: 16px; }
  .hero-stat { flex: 1 1 40%; }
}

/* ========== 特色板块 ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px 24px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 26px;
  color: #fff;
}
.feature-icon.gold { background: linear-gradient(135deg, #f59e0b, #f97316); }
.feature-icon.red { background: linear-gradient(135deg, #ef4444, #dc2626); }
.feature-icon.blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.feature-icon.green { background: linear-gradient(135deg, #10b981, #059669); }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 24px 16px 20px; }
}

/* ========== 分类入口 ========== */
.category-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.category-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.category-card .cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11,17,32,0.7) 0%, transparent 60%);
  pointer-events: none;
}
.category-card .cat-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  color: #fff;
  z-index: 1;
}
.category-card .cat-info h3 { color: #fff; font-size: 20px; margin-bottom: 4px; }
.category-card .cat-info p { color: rgba(255,255,255,0.75); font-size: 14px; }
.category-card .cat-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
}
@media (max-width: 768px) {
  .category-card .cat-info { padding: 16px 18px; }
  .category-card .cat-info h3 { font-size: 17px; }
}

/* ========== 最新资讯列表 ========== */
.post-list { display: flex; flex-direction: column; gap: 20px; }
.post-item {
  display: flex;
  gap: 24px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  align-items: flex-start;
}
.post-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.post-thumb {
  width: 160px;
  min-height: 100px;
  border-radius: var(--radius-xs);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--border-light);
}
.post-content { flex: 1; min-width: 0; }
.post-content .post-cat {
  display: inline-block;
  padding: 2px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  background: var(--accent-light);
  color: var(--accent-hover);
  margin-bottom: 8px;
}
.post-content h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; line-height: 1.4; }
.post-content h3 a { color: var(--text); }
.post-content h3 a:hover { color: var(--accent); }
.post-content .excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-content .post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-light);
}
.post-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-secondary);
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px dashed var(--border);
}
.post-empty i { font-size: 40px; color: var(--text-light); margin-bottom: 16px; display: block; }
@media (max-width: 768px) {
  .post-item { flex-direction: column; padding: 16px; }
  .post-thumb { width: 100%; min-height: 140px; }
}
@media (max-width: 520px) {
  .post-item { padding: 12px; gap: 12px; }
  .post-thumb { min-height: 100px; }
  .post-content h3 { font-size: 15px; }
}

/* ========== 数据统计 ========== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.stat-card {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}
.stat-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
}
.stat-card .stat-icon {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 16px;
}
.stat-card .stat-num {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 6px;
}
.stat-card .stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
}
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-card { padding: 24px 16px; }
  .stat-card .stat-num { font-size: 28px; }
}

/* ========== 流程 ========== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}
.step-card {
  text-align: center;
  padding: 32px 20px 28px;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #f97316);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  position: relative;
  z-index: 1;
}
.step-card h3 { font-size: 17px; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.step-connector { display: none; }
@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .steps-grid { grid-template-columns: 1fr; gap: 16px; }
  .step-card { padding: 24px 16px; }
}

/* ========== FAQ ========== */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: var(--accent); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  gap: 16px;
}
.faq-question i {
  font-size: 14px;
  color: var(--text-light);
  transition: var(--transition);
  flex-shrink: 0;
}
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--accent); }
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.active .faq-answer {
  padding: 0 24px 18px;
  max-height: 300px;
}
.faq-answer p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }
@media (max-width: 768px) {
  .faq-question { padding: 14px 16px; font-size: 15px; }
  .faq-item.active .faq-answer { padding: 0 16px 14px; }
}

/* ========== CTA ========== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #1a1a3e 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
  opacity: 0.08;
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta-content h2 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 16px; }
.cta-content p { color: rgba(255,255,255,0.7); font-size: 16px; margin-bottom: 32px; line-height: 1.7; }
.cta-content .btn { min-width: 180px; }

/* ========== 页脚 ========== */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.6);
  padding: 60px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo-text { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 12px; display: block; }
.footer-brand .logo-text span { color: var(--accent); }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-col a:hover { color: var(--accent); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.35); }
.footer-bottom a:hover { color: var(--accent); }
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer { padding: 40px 0 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ========== 工具类 ========== */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-wrap { display: flex; flex-wrap: wrap; }

/* ========== 响应式补丁 ========== */
@media (max-width: 1024px) {
  .section { padding: 60px 0; }
  .section-title { margin-bottom: 36px; }
}
@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .section-title { margin-bottom: 28px; }
  .section-title h2 { font-size: clamp(1.3rem, 4vw, 1.8rem); }
}
@media (max-width: 520px) {
  .section { padding: 36px 0; }
  .section-title { margin-bottom: 24px; }
  .hero-actions .btn { min-width: 140px; }
}

/* roulang page: category1 */
/* ===== Design Variables ===== */
        :root {
            --primary: #6c5ce7;
            --primary-dark: #5a4bd1;
            --primary-light: #a29bfe;
            --primary-gradient: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
            --secondary: #fd79a8;
            --secondary-gradient: linear-gradient(135deg, #fd79a8 0%, #fdcb6e 100%);
            --accent: #00cec9;
            --accent-gradient: linear-gradient(135deg, #00cec9 0%, #81ecec 100%);
            --bg-body: #0a0a1a;
            --bg-card: #14142b;
            --bg-card-hover: #1c1c3a;
            --bg-section: #0f0f25;
            --bg-section-alt: #1a1a35;
            --text-primary: #f0f0ff;
            --text-secondary: #b0b0d0;
            --text-muted: #7070a0;
            --border-color: #2a2a50;
            --border-light: #3a3a60;
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 20px;
            --radius-xl: 28px;
            --shadow-sm: 0 2px 8px rgba(108, 92, 231, 0.08);
            --shadow-md: 0 8px 30px rgba(108, 92, 231, 0.12);
            --shadow-lg: 0 20px 60px rgba(108, 92, 231, 0.18);
            --shadow-glow: 0 0 40px rgba(108, 92, 231, 0.15);
            --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
            --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --max-width: 1200px;
            --header-height: 72px;
        }

        /* ===== Base Reset ===== */
        *,
        *::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-sans);
            font-size: 16px;
            line-height: 1.7;
            color: var(--text-primary);
            background: var(--bg-body);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        a {
            color: var(--primary-light);
            text-decoration: none;
            transition: color var(--transition);
        }

        a:hover {
            color: var(--secondary);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        button,
        input,
        textarea,
        select {
            font-family: inherit;
            font-size: inherit;
            outline: none;
            border: none;
        }

        ul,
        ol {
            list-style: none;
        }

        /* ===== Container ===== */
        .container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
        }

        @media (max-width: 768px) {
            .container {
                padding: 0 16px;
            }
        }

        /* ===== Header / Nav ===== */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(10, 10, 26, 0.92);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border-color);
            height: var(--header-height);
            transition: background var(--transition), box-shadow var(--transition);
        }

        .header.scrolled {
            background: rgba(10, 10, 26, 0.98);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
        }

        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 100%;
            gap: 20px;
        }

        .header-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-shrink: 0;
        }

        .logo-icon {
            width: 40px;
            height: 40px;
            background: var(--primary-gradient);
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: 20px;
            color: #fff;
            box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
        }

        .logo-text {
            font-size: 22px;
            font-weight: 800;
            color: var(--text-primary);
            letter-spacing: 0.5px;
        }

        .logo-text span {
            color: var(--primary-light);
        }

        .header-search {
            flex: 1;
            max-width: 460px;
            position: relative;
            margin: 0 12px;
        }

        .header-search .search-icon {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted);
            font-size: 15px;
            pointer-events: none;
        }

        .header-search input {
            width: 100%;
            padding: 10px 18px 10px 46px;
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 50px;
            color: var(--text-primary);
            font-size: 14px;
            transition: border var(--transition), box-shadow var(--transition);
        }

        .header-search input::placeholder {
            color: var(--text-muted);
        }

        .header-search input:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
        }

        .header-nav {
            display: flex;
            align-items: center;
            gap: 6px;
            flex-shrink: 0;
        }

        .header-nav a {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 8px 18px;
            border-radius: 50px;
            color: var(--text-secondary);
            font-size: 14px;
            font-weight: 500;
            transition: all var(--transition);
            white-space: nowrap;
        }

        .header-nav a i {
            font-size: 14px;
        }

        .header-nav a:hover,
        .header-nav a.active {
            color: var(--text-primary);
            background: rgba(108, 92, 231, 0.15);
        }

        .header-nav a.active {
            background: var(--primary-gradient);
            color: #fff;
            box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
        }

        .header-toggle {
            display: none;
            width: 42px;
            height: 42px;
            align-items: center;
            justify-content: center;
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-sm);
            color: var(--text-primary);
            font-size: 20px;
            cursor: pointer;
            transition: all var(--transition);
            flex-shrink: 0;
        }

        .header-toggle:hover {
            background: var(--bg-card-hover);
            border-color: var(--primary);
        }

        @media (max-width: 820px) {
            .header-search {
                max-width: 280px;
            }

            .header-nav a {
                padding: 8px 14px;
                font-size: 13px;
            }

            .header-nav a span {
                display: none;
            }
        }

        @media (max-width: 680px) {
            .header-search {
                max-width: 180px;
            }

            .header-search input {
                padding: 8px 12px 8px 38px;
                font-size: 13px;
            }

            .header-search .search-icon {
                left: 12px;
                font-size: 13px;
            }

            .logo-text {
                font-size: 18px;
            }

            .logo-icon {
                width: 34px;
                height: 34px;
                font-size: 16px;
            }

            .header-nav {
                position: fixed;
                top: var(--header-height);
                left: 0;
                right: 0;
                background: rgba(10, 10, 26, 0.98);
                backdrop-filter: blur(20px);
                flex-direction: column;
                padding: 16px 20px;
                gap: 8px;
                border-bottom: 1px solid var(--border-color);
                transform: translateY(-120%);
                opacity: 0;
                transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
                pointer-events: none;
            }

            .header-nav.open {
                transform: translateY(0);
                opacity: 1;
                pointer-events: all;
            }

            .header-nav a {
                width: 100%;
                padding: 12px 18px;
                font-size: 15px;
                border-radius: var(--radius-sm);
            }

            .header-nav a i {
                width: 22px;
                text-align: center;
            }

            .header-toggle {
                display: flex;
            }
        }

        @media (max-width: 420px) {
            .header-search {
                max-width: 120px;
            }

            .header-search input {
                padding: 6px 10px 6px 32px;
                font-size: 12px;
            }

            .header-search .search-icon {
                left: 10px;
                font-size: 11px;
            }

            .logo-text {
                font-size: 15px;
            }

            .logo-icon {
                width: 30px;
                height: 30px;
                font-size: 14px;
            }
        }

        /* ===== Page Banner ===== */
        .page-banner {
            margin-top: var(--header-height);
            padding: 80px 0 60px;
            background: linear-gradient(135deg, #0a0a1a 0%, #14142b 50%, #1a0a2a 100%);
            position: relative;
            overflow: hidden;
            border-bottom: 1px solid var(--border-color);
        }

        .page-banner::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(108, 92, 231, 0.08) 0%, transparent 70%);
            pointer-events: none;
        }

        .page-banner::after {
            content: '';
            position: absolute;
            bottom: -30%;
            left: -10%;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(253, 121, 168, 0.06) 0%, transparent 70%);
            pointer-events: none;
        }

        .page-banner .container {
            position: relative;
            z-index: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .page-banner .breadcrumb {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            color: var(--text-muted);
            margin-bottom: 20px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .page-banner .breadcrumb a {
            color: var(--text-muted);
        }

        .page-banner .breadcrumb a:hover {
            color: var(--primary-light);
        }

        .page-banner .breadcrumb .sep {
            color: var(--text-muted);
            font-size: 10px;
        }

        .page-banner .breadcrumb .current {
            color: var(--text-secondary);
        }

        .page-banner h1 {
            font-size: 42px;
            font-weight: 800;
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 16px;
            line-height: 1.2;
        }

        .page-banner p {
            font-size: 18px;
            color: var(--text-secondary);
            max-width: 700px;
            line-height: 1.7;
        }

        .banner-stats {
            display: flex;
            gap: 40px;
            margin-top: 30px;
            padding: 20px 40px;
            background: rgba(20, 20, 43, 0.6);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            backdrop-filter: blur(10px);
        }

        .banner-stats .stat-item {
            text-align: center;
        }

        .banner-stats .stat-num {
            font-size: 28px;
            font-weight: 800;
            color: var(--text-primary);
            line-height: 1.2;
        }

        .banner-stats .stat-num span {
            color: var(--primary-light);
        }

        .banner-stats .stat-label {
            font-size: 13px;
            color: var(--text-muted);
            margin-top: 2px;
        }

        @media (max-width: 768px) {
            .page-banner {
                padding: 60px 0 40px;
            }

            .page-banner h1 {
                font-size: 30px;
            }

            .page-banner p {
                font-size: 15px;
            }

            .banner-stats {
                gap: 24px;
                padding: 16px 24px;
                flex-wrap: wrap;
                justify-content: center;
            }

            .banner-stats .stat-num {
                font-size: 22px;
            }
        }

        @media (max-width: 420px) {
            .page-banner h1 {
                font-size: 24px;
            }

            .banner-stats {
                gap: 16px;
                padding: 12px 16px;
            }

            .banner-stats .stat-item {
                min-width: 70px;
            }
        }

        /* ===== Section Base ===== */
        .section {
            padding: 70px 0;
        }

        .section-alt {
            background: var(--bg-section-alt);
        }

        .section-header {
            text-align: center;
            margin-bottom: 48px;
        }

        .section-header h2 {
            font-size: 32px;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 12px;
            line-height: 1.3;
        }

        .section-header h2 span {
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .section-header p {
            font-size: 16px;
            color: var(--text-secondary);
            max-width: 620px;
            margin: 0 auto;
            line-height: 1.7;
        }

        @media (max-width: 768px) {
            .section {
                padding: 50px 0;
            }

            .section-header {
                margin-bottom: 32px;
            }

            .section-header h2 {
                font-size: 26px;
            }

            .section-header p {
                font-size: 14px;
            }
        }

        /* ===== Filter / Tabs ===== */
        .filter-bar {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
            margin-bottom: 40px;
        }

        .filter-btn {
            padding: 8px 24px;
            border-radius: 50px;
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            color: var(--text-secondary);
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all var(--transition);
        }

        .filter-btn:hover {
            border-color: var(--primary);
            color: var(--text-primary);
            background: rgba(108, 92, 231, 0.08);
        }

        .filter-btn.active {
            background: var(--primary-gradient);
            color: #fff;
            border-color: transparent;
            box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
        }

        /* ===== Card Grid ===== */
        .card-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
        }

        .card-item {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            overflow: hidden;
            transition: all var(--transition);
            cursor: pointer;
            display: flex;
            flex-direction: column;
        }

        .card-item:hover {
            transform: translateY(-6px);
            border-color: var(--primary);
            box-shadow: var(--shadow-lg), var(--shadow-glow);
        }

        .card-thumb {
            position: relative;
            aspect-ratio: 16 / 9;
            overflow: hidden;
            background: var(--bg-card-hover);
        }

        .card-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .card-item:hover .card-thumb img {
            transform: scale(1.05);
        }

        .card-thumb .card-tag {
            position: absolute;
            top: 12px;
            left: 12px;
            padding: 4px 14px;
            background: var(--primary-gradient);
            border-radius: 50px;
            font-size: 12px;
            font-weight: 600;
            color: #fff;
            box-shadow: 0 2px 10px rgba(108, 92, 231, 0.3);
        }

        .card-thumb .card-duration {
            position: absolute;
            bottom: 12px;
            right: 12px;
            padding: 3px 12px;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(4px);
            border-radius: 50px;
            font-size: 12px;
            color: #fff;
            font-weight: 500;
        }

        .card-body {
            padding: 22px 24px 24px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .card-body .card-meta {
            display: flex;
            align-items: center;
            gap: 14px;
            font-size: 13px;
            color: var(--text-muted);
            margin-bottom: 10px;
        }

        .card-body .card-meta i {
            margin-right: 4px;
            font-size: 12px;
        }

        .card-body .card-meta span {
            display: flex;
            align-items: center;
        }

        .card-body h3 {
            font-size: 18px;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 10px;
            line-height: 1.4;
            transition: color var(--transition);
        }

        .card-item:hover .card-body h3 {
            color: var(--primary-light);
        }

        .card-body p {
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.6;
            flex: 1;
            margin-bottom: 16px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .card-body .card-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-top: 14px;
            border-top: 1px solid var(--border-color);
        }

        .card-body .card-footer .author {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            color: var(--text-muted);
        }

        .card-body .card-footer .author img {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            object-fit: cover;
        }

        .card-body .card-footer .read-more {
            font-size: 13px;
            font-weight: 600;
            color: var(--primary-light);
            display: flex;
            align-items: center;
            gap: 6px;
            transition: gap var(--transition);
        }

        .card-body .card-footer .read-more:hover {
            gap: 10px;
            color: var(--secondary);
        }

        @media (max-width: 1024px) {
            .card-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 24px;
            }
        }

        @media (max-width: 640px) {
            .card-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .card-body {
                padding: 16px 18px 18px;
            }

            .card-body h3 {
                font-size: 16px;
            }
        }

        /* ===== Featured / Large Card ===== */
        .featured-card {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0;
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            overflow: hidden;
            margin-bottom: 40px;
            transition: all var(--transition);
        }

        .featured-card:hover {
            border-color: var(--primary);
            box-shadow: var(--shadow-lg);
        }

        .featured-card .featured-thumb {
            aspect-ratio: 16 / 10;
            overflow: hidden;
            background: var(--bg-card-hover);
        }

        .featured-card .featured-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .featured-card:hover .featured-thumb img {
            transform: scale(1.03);
        }

        .featured-card .featured-body {
            padding: 36px 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .featured-card .featured-body .badge {
            display: inline-block;
            padding: 4px 16px;
            background: var(--accent-gradient);
            border-radius: 50px;
            font-size: 12px;
            font-weight: 600;
            color: #0a0a1a;
            margin-bottom: 16px;
            align-self: flex-start;
        }

        .featured-card .featured-body h3 {
            font-size: 26px;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 14px;
            line-height: 1.3;
        }

        .featured-card .featured-body p {
            font-size: 15px;
            color: var(--text-secondary);
            line-height: 1.7;
            margin-bottom: 20px;
        }

        .featured-card .featured-body .btn-group {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 30px;
            border-radius: 50px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all var(--transition);
            border: none;
            background: transparent;
            color: var(--text-primary);
            text-decoration: none;
        }

        .btn-primary {
            background: var(--primary-gradient);
            color: #fff;
            box-shadow: 0 4px 20px rgba(108, 92, 231, 0.3);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(108, 92, 231, 0.4);
            color: #fff;
        }

        .btn-outline {
            border: 1px solid var(--border-color);
            color: var(--text-secondary);
        }

        .btn-outline:hover {
            border-color: var(--primary);
            color: var(--text-primary);
            background: rgba(108, 92, 231, 0.08);
        }

        .btn-sm {
            padding: 8px 20px;
            font-size: 13px;
        }

        @media (max-width: 900px) {
            .featured-card {
                grid-template-columns: 1fr;
            }

            .featured-card .featured-thumb {
                aspect-ratio: 16 / 9;
            }

            .featured-card .featured-body {
                padding: 28px 30px;
            }

            .featured-card .featured-body h3 {
                font-size: 22px;
            }
        }

        @media (max-width: 480px) {
            .featured-card .featured-body {
                padding: 20px 18px;
            }

            .featured-card .featured-body h3 {
                font-size: 18px;
            }

            .btn {
                padding: 10px 22px;
                font-size: 14px;
            }
        }

        /* ===== Guide Categories ===== */
        .guide-categories {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }

        .guide-cat-card {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            padding: 28px 24px;
            text-align: center;
            transition: all var(--transition);
            cursor: pointer;
        }

        .guide-cat-card:hover {
            transform: translateY(-4px);
            border-color: var(--primary);
            box-shadow: var(--shadow-md);
        }

        .guide-cat-card .cat-icon {
            width: 56px;
            height: 56px;
            border-radius: var(--radius-md);
            background: rgba(108, 92, 231, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 16px;
            font-size: 24px;
            color: var(--primary-light);
            transition: all var(--transition);
        }

        .guide-cat-card:hover .cat-icon {
            background: var(--primary-gradient);
            color: #fff;
            box-shadow: 0 4px 20px rgba(108, 92, 231, 0.3);
        }

        .guide-cat-card h4 {
            font-size: 16px;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 6px;
        }

        .guide-cat-card p {
            font-size: 13px;
            color: var(--text-muted);
        }

        @media (max-width: 900px) {
            .guide-categories {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 420px) {
            .guide-categories {
                grid-template-columns: 1fr;
            }
        }

        /* ===== FAQ ===== */
        .faq-list {
            max-width: 800px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .faq-item {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            overflow: hidden;
            transition: border var(--transition);
        }

        .faq-item:hover {
            border-color: var(--border-light);
        }

        .faq-item.active {
            border-color: var(--primary);
        }

        .faq-question {
            padding: 20px 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            cursor: pointer;
            gap: 16px;
            user-select: none;
        }

        .faq-question span {
            font-size: 16px;
            font-weight: 600;
            color: var(--text-primary);
            line-height: 1.4;
        }

        .faq-question .faq-icon {
            flex-shrink: 0;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: rgba(108, 92, 231, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            color: var(--primary-light);
            transition: all var(--transition);
        }

        .faq-item.active .faq-question .faq-icon {
            background: var(--primary-gradient);
            color: #fff;
            transform: rotate(180deg);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease, padding 0.4s ease;
            padding: 0 24px;
        }

        .faq-item.active .faq-answer {
            max-height: 300px;
            padding: 0 24px 20px;
        }

        .faq-answer p {
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.7;
        }

        @media (max-width: 640px) {
            .faq-question {
                padding: 16px 18px;
            }

            .faq-question span {
                font-size: 14px;
            }

            .faq-answer {
                padding: 0 18px;
            }

            .faq-item.active .faq-answer {
                padding: 0 18px 16px;
            }
        }

        /* ===== CTA ===== */
        .cta-section {
            background: linear-gradient(135deg, #14142b 0%, #1a0a2a 50%, #0a1a2a 100%);
            border-top: 1px solid var(--border-color);
            border-bottom: 1px solid var(--border-color);
            position: relative;
            overflow: hidden;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('/assets/images/backpic/back-2.png') center/cover no-repeat;
            opacity: 0.06;
            pointer-events: none;
        }

        .cta-content {
            position: relative;
            z-index: 1;
            text-align: center;
            max-width: 640px;
            margin: 0 auto;
        }

        .cta-content h2 {
            font-size: 34px;
            font-weight: 800;
            color: var(--text-primary);
            margin-bottom: 16px;
            line-height: 1.3;
        }

        .cta-content h2 span {
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .cta-content p {
            font-size: 16px;
            color: var(--text-secondary);
            margin-bottom: 28px;
            line-height: 1.7;
        }

        .cta-content .cta-btns {
            display: flex;
            gap: 14px;
            justify-content: center;
            flex-wrap: wrap;
        }

        @media (max-width: 640px) {
            .cta-content h2 {
                font-size: 26px;
            }

            .cta-content p {
                font-size: 14px;
            }
        }

        /* ===== Pagination ===== */
        .pagination {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin-top: 48px;
        }

        .pagination a,
        .pagination span {
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 40px;
            height: 40px;
            padding: 0 12px;
            border-radius: var(--radius-sm);
            font-size: 14px;
            font-weight: 500;
            color: var(--text-secondary);
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            transition: all var(--transition);
        }

        .pagination a:hover {
            border-color: var(--primary);
            color: var(--text-primary);
            background: rgba(108, 92, 231, 0.08);
        }

        .pagination .active {
            background: var(--primary-gradient);
            color: #fff;
            border-color: transparent;
            box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
        }

        .pagination .dots {
            border: none;
            background: transparent;
            color: var(--text-muted);
        }

        /* ===== Footer ===== */
        .footer {
            background: #060612;
            border-top: 1px solid var(--border-color);
            padding: 60px 0 30px;
            margin-top: auto;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.8fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-brand .logo-text {
            font-size: 20px;
            display: inline-block;
            margin-bottom: 16px;
        }

        .footer-brand p {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.7;
            max-width: 360px;
        }

        .footer-col h4 {
            font-size: 15px;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 18px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-col h4::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 30px;
            height: 2px;
            background: var(--primary-gradient);
            border-radius: 2px;
        }

        .footer-col a {
            display: block;
            font-size: 14px;
            color: var(--text-muted);
            padding: 5px 0;
            transition: all var(--transition);
        }

        .footer-col a:hover {
            color: var(--primary-light);
            padding-left: 4px;
        }

        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 30px;
            border-top: 1px solid var(--border-color);
            font-size: 13px;
            color: var(--text-muted);
            flex-wrap: wrap;
            gap: 12px;
        }

        .footer-bottom a {
            color: var(--text-muted);
        }

        .footer-bottom a:hover {
            color: var(--primary-light);
        }

        @media (max-width: 900px) {
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 30px;
            }

            .footer-brand {
                grid-column: 1 / -1;
            }
        }

        @media (max-width: 520px) {
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }

            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
        }

        /* ===== Scrollbar ===== */
        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }

        ::-webkit-scrollbar-track {
            background: var(--bg-body);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--border-color);
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--primary);
        }

        /* ===== Animations ===== */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .animate-in {
            animation: fadeInUp 0.6s ease forwards;
        }

        .animate-in-delay-1 {
            animation-delay: 0.1s;
        }
        .animate-in-delay-2 {
            animation-delay: 0.2s;
        }
        .animate-in-delay-3 {
            animation-delay: 0.3s;
        }
        .animate-in-delay-4 {
            animation-delay: 0.4s;
        }

/* roulang page: article */
/* ===== 设计变量 ===== */
:root {
  --primary: #e74c3c;
  --primary-dark: #c0392b;
  --primary-light: #fadbd8;
  --secondary: #f39c12;
  --secondary-light: #fef3e2;
  --accent: #8e44ad;
  --bg: #0a0e1a;
  --bg-card: #111827;
  --bg-card-hover: #1a2332;
  --bg-section: #0f1724;
  --bg-input: #1e293b;
  --text: #f1f5f9;
  --text-light: #94a3b8;
  --text-muted: #64748b;
  --border: #1e293b;
  --border-light: #334155;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-hover: 0 8px 40px rgba(231,76,60,0.15);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --font: 'Segoe UI','PingFang SC','Microsoft YaHei','Helvetica Neue',sans-serif;
  --max-w: 1240px;
  --header-h: 72px;
}

/* ===== Reset ===== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--font);background:var(--bg);color:var(--text);line-height:1.7;font-size:16px;-webkit-font-smoothing:antialiased}
a{color:var(--primary);text-decoration:none;transition:var(--transition)}
a:hover{color:var(--secondary)}
img{max-width:100%;height:auto;display:block}
button,input,textarea{font-family:inherit;font-size:inherit;outline:none;border:none}
ul,ol{list-style:none}
h1,h2,h3,h4,h5,h6{line-height:1.3;font-weight:700;color:var(--text)}
h1{font-size:2.2rem;letter-spacing:-0.02em}
h2{font-size:1.75rem;letter-spacing:-0.01em}
h3{font-size:1.35rem}
h4{font-size:1.1rem}
p{margin-bottom:0.8rem}
strong{color:#fff}

/* ===== 容器 ===== */
.container{max-width:var(--max-w);margin:0 auto;padding:0 20px}

/* ===== 头部导航 ===== */
.header{position:fixed;top:0;left:0;right:0;z-index:1000;background:rgba(10,14,26,0.92);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid rgba(255,255,255,0.06);height:var(--header-h)}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:var(--header-h);gap:16px}
.header-logo{display:flex;align-items:center;gap:10px;flex-shrink:0}
.logo-icon{width:38px;height:38px;background:var(--primary);color:#fff;border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center;font-size:1.2rem;font-weight:800}
.logo-text{font-size:1.3rem;font-weight:800;color:#fff;letter-spacing:0.5px}
.logo-text span{color:var(--primary);font-weight:700}
.header-search{flex:1;max-width:460px;position:relative;margin:0 12px}
.header-search input{width:100%;height:44px;background:var(--bg-input);border:1px solid var(--border);border-radius:50px;padding:0 20px 0 48px;color:var(--text);font-size:0.95rem;transition:var(--transition)}
.header-search input:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(231,76,60,0.15)}
.header-search input::placeholder{color:var(--text-muted)}
.search-icon{position:absolute;left:18px;top:50%;transform:translateY(-50%);color:var(--text-muted);font-size:1rem;pointer-events:none}
.header-nav{display:flex;align-items:center;gap:6px;flex-shrink:0}
.header-nav a{display:flex;align-items:center;gap:6px;padding:8px 18px;border-radius:50px;color:var(--text-light);font-size:0.92rem;font-weight:500;transition:var(--transition);white-space:nowrap}
.header-nav a:hover,.header-nav a.active{color:#fff;background:rgba(231,76,60,0.15)}
.header-nav a.active{background:var(--primary);color:#fff}
.header-toggle{display:none;width:42px;height:42px;border-radius:var(--radius-sm);background:var(--bg-input);color:var(--text);font-size:1.3rem;cursor:pointer;align-items:center;justify-content:center;flex-shrink:0;border:1px solid var(--border);transition:var(--transition)}
.header-toggle:hover{background:var(--border);color:#fff}

/* ===== 页面主体 ===== */
.main{padding-top:var(--header-h);min-height:80vh}

/* ===== 文章 Banner ===== */
.article-banner{position:relative;padding:60px 0 50px;background:var(--bg-section);border-bottom:1px solid var(--border)}
.article-banner-bg{position:absolute;inset:0;background:url('/assets/images/backpic/back-2.png') center/cover no-repeat;opacity:0.12;pointer-events:none}
.article-banner .container{position:relative;z-index:2}
.article-breadcrumb{display:flex;align-items:center;gap:8px;margin-bottom:20px;font-size:0.88rem;color:var(--text-muted);flex-wrap:wrap}
.article-breadcrumb a{color:var(--text-light)}
.article-breadcrumb a:hover{color:var(--primary)}
.article-breadcrumb .sep{color:var(--text-muted)}
.article-breadcrumb .current{color:var(--primary);font-weight:500}
.article-category{display:inline-block;padding:4px 14px;border-radius:50px;background:var(--primary);color:#fff;font-size:0.8rem;font-weight:600;letter-spacing:0.3px;margin-bottom:16px}
.article-banner h1{font-size:2.4rem;max-width:840px;margin-bottom:14px;line-height:1.35}
.article-meta{display:flex;flex-wrap:wrap;gap:18px;align-items:center;color:var(--text-light);font-size:0.9rem;margin-top:6px}
.article-meta span{display:flex;align-items:center;gap:6px}
.article-meta i{color:var(--primary);width:16px;text-align:center}

/* ===== 文章正文区 ===== */
.article-content{padding:50px 0 60px}
.article-layout{display:grid;grid-template-columns:1fr 320px;gap:40px;align-items:start}

.article-body{background:var(--bg-card);border-radius:var(--radius);border:1px solid var(--border);padding:40px 42px;overflow:hidden}
.article-body .content-body{font-size:1.05rem;line-height:1.85;color:var(--text)}
.article-body .content-body p{margin-bottom:1.2rem}
.article-body .content-body img{border-radius:var(--radius-sm);margin:24px 0;border:1px solid var(--border)}
.article-body .content-body h2,.article-body .content-body h3{margin-top:32px;margin-bottom:14px;color:#fff}
.article-body .content-body h2{border-bottom:1px solid var(--border);padding-bottom:10px}
.article-body .content-body ul,.article-body .content-body ol{padding-left:24px;margin-bottom:1.2rem}
.article-body .content-body li{margin-bottom:6px;list-style:disc}
.article-body .content-body blockquote{border-left:4px solid var(--primary);background:var(--bg-section);padding:16px 22px;margin:20px 0;border-radius:0 var(--radius-sm) var(--radius-sm) 0;color:var(--text-light);font-style:italic}
.article-body .content-body a{color:var(--secondary);text-decoration:underline}
.article-body .content-body a:hover{color:var(--primary)}

.article-footer-tags{margin-top:36px;padding-top:24px;border-top:1px solid var(--border);display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.article-footer-tags span{color:var(--text-light);font-size:0.9rem}
.tag{display:inline-block;padding:4px 14px;border-radius:50px;background:var(--bg-input);color:var(--text-light);font-size:0.82rem;border:1px solid var(--border);transition:var(--transition)}
.tag:hover{background:var(--primary);color:#fff;border-color:var(--primary)}

/* ===== 侧边栏 ===== */
.article-sidebar{display:flex;flex-direction:column;gap:24px;position:sticky;top:calc(var(--header-h) + 24px)}
.sidebar-card{background:var(--bg-card);border-radius:var(--radius);border:1px solid var(--border);padding:24px}
.sidebar-card h3{font-size:1.05rem;margin-bottom:16px;display:flex;align-items:center;gap:8px}
.sidebar-card h3 i{color:var(--primary)}
.sidebar-list{display:flex;flex-direction:column;gap:10px}
.sidebar-list a{display:flex;gap:12px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,0.04);transition:var(--transition);align-items:flex-start}
.sidebar-list a:last-child{border-bottom:none}
.sidebar-list a:hover{color:var(--primary);padding-left:6px}
.sidebar-list .thumb{width:60px;height:45px;border-radius:var(--radius-xs);background:var(--bg-section);flex-shrink:0;overflow:hidden}
.sidebar-list .thumb img{width:100%;height:100%;object-fit:cover}
.sidebar-list .info{flex:1;min-width:0}
.sidebar-list .info .s-title{font-size:0.9rem;color:var(--text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.4}
.sidebar-list .info .s-date{font-size:0.78rem;color:var(--text-muted);margin-top:4px;display:block}

.sidebar-cta{background:linear-gradient(145deg,var(--primary-dark),var(--primary));border:none;text-align:center;padding:28px 20px}
.sidebar-cta h3{color:#fff;justify-content:center}
.sidebar-cta p{color:rgba(255,255,255,0.85);font-size:0.92rem;margin:8px 0 16px}
.sidebar-cta .btn-cta{display:inline-block;padding:10px 28px;border-radius:50px;background:#fff;color:var(--primary-dark);font-weight:700;font-size:0.95rem;transition:var(--transition)}
.sidebar-cta .btn-cta:hover{background:var(--secondary);color:#fff;transform:translateY(-2px)}

/* ===== 相关文章 ===== */
.related-section{padding:0 0 60px}
.related-section h2{font-size:1.5rem;margin-bottom:24px;display:flex;align-items:center;gap:10px}
.related-section h2 i{color:var(--primary)}
.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}

.related-card{background:var(--bg-card);border-radius:var(--radius);border:1px solid var(--border);overflow:hidden;transition:var(--transition)}
.related-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-hover);border-color:var(--primary)}
.related-card .r-thumb{height:160px;background:var(--bg-section);overflow:hidden}
.related-card .r-thumb img{width:100%;height:100%;object-fit:cover;transition:var(--transition)}
.related-card:hover .r-thumb img{transform:scale(1.05)}
.related-card .r-body{padding:18px 20px 20px}
.related-card .r-body h4{font-size:1rem;margin-bottom:6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.related-card .r-body .r-meta{font-size:0.82rem;color:var(--text-muted);display:flex;gap:12px}

/* ===== 内容未找到 ===== */
.not-found{text-align:center;padding:80px 20px}
.not-found i{font-size:3.5rem;color:var(--text-muted);margin-bottom:20px;display:block}
.not-found h2{font-size:1.8rem;margin-bottom:10px}
.not-found p{color:var(--text-light);margin-bottom:20px}
.not-found .btn-home{display:inline-block;padding:12px 32px;border-radius:50px;background:var(--primary);color:#fff;font-weight:600;transition:var(--transition)}
.not-found .btn-home:hover{background:var(--primary-dark);transform:translateY(-2px)}

/* ===== 页脚 ===== */
.footer{background:var(--bg-section);border-top:1px solid var(--border);padding:60px 0 0}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px;padding-bottom:40px;border-bottom:1px solid var(--border)}
.footer-brand .logo-text{font-size:1.3rem;color:#fff}
.footer-brand p{color:var(--text-light);font-size:0.92rem;margin-top:12px;max-width:360px;line-height:1.7}
.footer-col h4{color:#fff;font-size:1rem;margin-bottom:14px;letter-spacing:0.3px}
.footer-col a{display:block;color:var(--text-light);font-size:0.9rem;padding:5px 0;transition:var(--transition)}
.footer-col a:hover{color:var(--primary);padding-left:4px}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;padding:20px 0;font-size:0.85rem;color:var(--text-muted);flex-wrap:wrap;gap:8px}
.footer-bottom a{color:var(--text-light)}
.footer-bottom a:hover{color:var(--primary)}

/* ===== 响应式 ===== */
@media(max-width:1024px){
  .article-layout{grid-template-columns:1fr}
  .article-sidebar{position:static;display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:30px}
  .related-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:820px){
  .header-search{max-width:280px}
  .header-nav a{padding:6px 14px;font-size:0.85rem}
  .article-banner h1{font-size:1.9rem}
  .article-body{padding:28px 24px}
  .footer-grid{grid-template-columns:1fr 1fr;gap:30px}
}
@media(max-width:680px){
  .header-search{display:none}
  .header-nav{position:fixed;top:var(--header-h);left:0;right:0;background:rgba(10,14,26,0.98);backdrop-filter:blur(20px);flex-direction:column;padding:16px 20px;gap:8px;border-bottom:1px solid var(--border);transform:translateY(-120%);opacity:0;transition:var(--transition);pointer-events:none;border-radius:0 0 var(--radius) var(--radius)}
  .header-nav.open{transform:translateY(0);opacity:1;pointer-events:auto}
  .header-nav a{width:100%;justify-content:center;padding:12px 0;font-size:1rem}
  .header-toggle{display:flex}
  .header-inner{gap:10px}
  .article-banner{padding:40px 0 30px}
  .article-banner h1{font-size:1.5rem}
  .article-meta{gap:10px;font-size:0.82rem;flex-wrap:wrap}
  .article-body{padding:20px 16px}
  .article-body .content-body{font-size:0.98rem}
  .article-sidebar{grid-template-columns:1fr}
  .related-grid{grid-template-columns:1fr}
  .related-card .r-thumb{height:140px}
  .footer-grid{grid-template-columns:1fr;gap:24px}
  .footer-bottom{flex-direction:column;text-align:center;gap:6px}
  .article-breadcrumb{font-size:0.8rem}
}
@media(max-width:480px){
  .article-banner h1{font-size:1.3rem}
  .logo-text{font-size:1.1rem}
  .logo-icon{width:32px;height:32px;font-size:1rem}
}
