/* roulang page: index */
:root {
  --primary: #16324f;
  --primary-dark: #0d1f36;
  --accent: #f6b73c;
  --accent-dark: #d99c1d;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --text: #172735;
  --muted: #5f7285;
  --border: #e3e9f0;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 6px 24px rgba(20, 40, 70, 0.08);
  --shadow-lg: 0 18px 50px rgba(10, 30, 60, 0.16);
  --space-section: 92px;
  --font-main: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

button, input {
  font-family: inherit;
}

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid rgba(246, 183, 60, 0.55);
  outline-offset: 2px;
}

.grid-container {
  max-width: 1220px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 10px 0;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(10, 30, 60, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.3px;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #1f4a73);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(22, 50, 79, 0.28);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  padding: 8px 2px;
  position: relative;
  transition: color 0.3s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: var(--primary);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a.active {
  color: var(--primary);
}

.header-cta {
  background: var(--primary);
  color: #fff;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(22, 50, 79, 0.22);
}

.header-cta:hover {
  background: var(--accent);
  color: #172735;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(246, 183, 60, 0.35);
}

/* Hero */
.hero-section {
  position: relative;
  background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
  padding: 150px 0 130px;
  color: #fff;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(10, 26, 48, 0.92) 12%, rgba(10, 26, 48, 0.68) 52%, rgba(22, 50, 79, 0.40));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  letter-spacing: 0.4px;
  backdrop-filter: blur(4px);
  margin-bottom: 20px;
}

.hero-badge i {
  color: var(--accent);
}

.hero-title {
  font-size: 3rem;
  line-height: 1.25;
  font-weight: 800;
  margin: 0 0 18px;
  letter-spacing: 0.5px;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 0;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent);
  color: #1a2b3b;
}

.btn-primary:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.72);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 52px;
  flex-wrap: wrap;
}

.hero-stat {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.86);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-stat i {
  color: var(--accent);
  font-size: 1.2rem;
}

/* Section 通用 */
.section {
  padding: var(--space-section) 0;
}

.section-white {
  background: #ffffff;
}

.section-tint {
  background: var(--bg);
}

.section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 56px;
}

.section-head .eyebrow {
  color: var(--accent-dark);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.82rem;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.section-head h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
  margin: 0 0 12px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.eyebrow-divider {
  width: 56px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 14px auto 0;
}

/* Intro */
.intro-copy {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.9;
}

.intro-copy strong {
  color: var(--text);
}

.intro-inner {
  padding-right: 24px;
}

.content-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.badge-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 3px 12px rgba(20, 40, 70, 0.05);
  transition: all 0.3s ease;
}

.badge-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(246, 183, 60, 0.4);
}

.badge-item i {
  color: var(--accent-dark);
  font-size: 1.3rem;
  width: 22px;
  text-align: center;
}

/* 分类卡片 */
.category-card {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-bottom: 0;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.category-card .cover-wrap {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.category-card .cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-card:hover .cover-wrap img {
  transform: scale(1.06);
}

.category-card .cover-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(13, 31, 54, 0.28));
}

.cat-body {
  padding: 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cat-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.cat-body p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
  flex: 1;
}

.cat-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-dark);
  transition: all 0.3s ease;
}

.cat-link i {
  transition: transform 0.3s ease;
}

.cat-link:hover {
  color: var(--primary);
}

.cat-link:hover i {
  transform: translateX(5px);
}

/* 新闻列表 */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 26px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 3px 12px rgba(20, 40, 70, 0.04);
  transition: all 0.3s ease;
}

.news-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(246, 183, 60, 0.35);
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.news-cat {
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(246, 183, 60, 0.15);
  color: #a8790b;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

.news-date {
  font-size: 0.82rem;
  color: #8a9aa9;
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
  transition: color 0.2s ease;
}

.news-card:hover h3 {
  color: var(--primary);
}

.news-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.news-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-more i {
  transition: transform 0.3s ease;
}

.news-card:hover .news-more i {
  transform: translateX(5px);
}

.empty-tip {
  background: #fff;
  border: 1px dashed var(--border);
  border-radius: 14px;
  padding: 40px;
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
}

/* 流程 */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-item {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 36px 24px 30px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(20, 40, 70, 0.05);
  text-align: center;
  transition: all 0.3s ease;
}

.step-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.step-num {
  font-size: 2.6rem;
  font-weight: 800;
  color: #eef2f7;
  position: absolute;
  top: 8px;
  right: 18px;
  line-height: 1;
}

.step-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(246, 183, 60, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.5rem;
  color: var(--accent-dark);
}

.step-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.step-item p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.7;
}

/* 特色卡片 */
.moment-card {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all 0.35s ease;
  height: 100%;
}

.moment-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.moment-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.moment-body {
  padding: 26px;
}

.moment-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.moment-body p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 14px;
}

.moment-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--bg);
  color: var(--primary);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

/* FAQ */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 28px;
  box-shadow: 0 3px 12px rgba(20, 40, 70, 0.04);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(246, 183, 60, 0.4);
  box-shadow: var(--shadow);
}

.faq-item h4 {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.05rem;
}

.faq-item h4 i {
  color: var(--accent);
  margin-top: 5px;
  font-size: 1rem;
}

.faq-item p {
  color: var(--muted);
  margin-top: 12px;
  font-size: 0.95rem;
  line-height: 1.75;
  padding-left: 26px;
}

/* CTA */
.cta-outer {
  padding: 0 0 var(--space-section);
}

.cta-cover {
  position: relative;
  background: url('/assets/images/backpic/back-3.png') center center / cover no-repeat;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(13, 31, 54, 0.94) 20%, rgba(30, 74, 115, 0.86));
}

.cta-inner {
  position: relative;
  z-index: 2;
  padding: 72px 50px;
  text-align: center;
  color: #fff;
}

.cta-inner h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.cta-inner p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-cover .btn-primary {
  background: var(--accent);
  color: #1a2b3b;
}

.cta-cover .btn-primary:hover {
  background: #fff;
}

.cta-cover .btn-outline {
  border-color: rgba(255, 255, 255, 0.65);
}

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: #a8b8c9;
  padding: 64px 0 0;
}

.footer-brand {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}

.footer-brand i {
  color: var(--accent);
  margin-right: 4px;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #8da0b2;
  max-width: 360px;
  margin-top: 12px;
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.footer-links a {
  display: block;
  padding: 5px 0;
  color: #a8b8c9;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 48px;
  padding: 22px 0 28px;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: #7d8fa1;
}

/* 移动端底部 Tab */
.mobile-tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  display: none;
  z-index: 60;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.07);
}

.mobile-tab-bar a {
  flex: 1;
  padding: 10px 4px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.75rem;
  color: var(--muted);
  gap: 3px;
  transition: color 0.2s ease;
}

.mobile-tab-bar a i {
  font-size: 1.25rem;
}

.mobile-tab-bar a.active,
.mobile-tab-bar a:hover {
  color: var(--primary);
  font-weight: 600;
}

/* 响应式 */
@media (max-width: 1024px) {
  :root {
    --space-section: 76px;
  }

  .main-nav {
    gap: 22px;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 768px) {
  :root {
    --space-section: 64px;
  }

  .site-header {
    height: 60px;
  }

  .header-inner {
    height: 60px;
  }

  .desktop-nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .brand {
    font-size: 1.05rem;
  }

  .brand-icon {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }

  .hero-section {
    padding: 90px 0 80px;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-stats {
    gap: 18px;
    margin-top: 36px;
  }

  .hero-stat {
    font-size: 0.84rem;
  }

  .section-head h2 {
    font-size: 1.7rem;
  }

  .section-head p {
    font-size: 0.95rem;
  }

  .intro-inner {
    padding-right: 0;
    margin-bottom: 28px;
  }

  .content-badges {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    padding: 52px 28px;
  }

  .cta-inner h2 {
    font-size: 1.6rem;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-grid-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

  .footer-desc {
    max-width: 100%;
  }

  .mobile-tab-bar {
    display: flex;
  }

  body {
    padding-bottom: 62px;
  }
}

@media (max-width: 520px) {
  :root {
    --space-section: 52px;
  }

  .hero-section {
    padding: 70px 0 60px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-sub {
    font-size: 0.94rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-lg {
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    gap: 12px;
  }

  .section-head h2 {
    font-size: 1.5rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .news-card {
    padding: 18px;
  }

  .faq-item {
    padding: 18px 20px;
  }

  .faq-item h4 {
    font-size: 0.95rem;
  }

  .faq-item p {
    padding-left: 0;
  }

  .cta-inner {
    padding: 42px 20px;
  }
}

/* roulang page: category1 */
:root {
      --primary: #13294b;
      --primary-light: #1f3d6e;
      --primary-dark: #0b1d35;
      --accent: #d4a843;
      --accent-soft: #f3e8cc;
      --bg: #f6f8fb;
      --bg-white: #ffffff;
      --text: #1a2332;
      --text-muted: #5b6c80;
      --text-light: #8a9bb0;
      --border: #e3e9f0;
      --radius: 16px;
      --radius-md: 12px;
      --shadow: 0 12px 32px rgba(19, 41, 75, 0.08);
      --shadow-hover: 0 20px 44px rgba(19, 41, 75, 0.14);
      --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      --font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

    body {
      font-family: var(--font-family);
      background: var(--bg);
      color: var(--text);
      line-height: 1.7;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
    }

    img { max-width: 100%; height: auto; display: block; border: 0; }
    a { color: inherit; text-decoration: none; transition: var(--transition); }
    ul, ol { list-style: none; }
    button, input, select, textarea { font-family: inherit; font-size: inherit; line-height: inherit; }

    .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

    .section { padding: 80px 0; }
    .section-alt { background: var(--bg-white); }
    .section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
    .section-tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--accent-soft);
      color: #8a6d1f;
      font-size: 13px;
      font-weight: 600;
      padding: 6px 16px;
      border-radius: 999px;
      letter-spacing: 0.5px;
      margin-bottom: 16px;
    }
    .section-title { font-size: 32px; font-weight: 700; color: var(--text); line-height: 1.3; }
    .section-desc { color: var(--text-muted); font-size: 16px; margin-top: 12px; }

    /* Header */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(255, 255, 255, 0.92);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--border);
      box-shadow: 0 1px 4px rgba(19, 41, 75, 0.03);
      height: 68px;
      display: flex;
      align-items: center;
    }
    .header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
    .brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; color: var(--primary); white-space: nowrap; }
    .brand-icon {
      width: 36px; height: 36px;
      background: var(--primary);
      color: var(--accent);
      border-radius: 10px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
      flex-shrink: 0;
    }
    .main-nav { display: flex; align-items: center; gap: 4px; }
    .main-nav a {
      padding: 8px 18px;
      border-radius: 999px;
      font-size: 15px;
      font-weight: 500;
      color: var(--text);
      transition: var(--transition);
    }
    .main-nav a:hover { background: #eef1f6; color: var(--primary); }
    .main-nav a.active { background: var(--primary); color: #fff; font-weight: 600; }
    .header-cta {
      padding: 8px 20px;
      background: var(--accent);
      color: var(--primary-dark);
      font-weight: 600;
      font-size: 14px;
      border-radius: 999px;
      white-space: nowrap;
      transition: var(--transition);
    }
    .header-cta:hover { background: #c99a3a; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(212, 168, 67, 0.3); }
    .mobile-tabbar { display: none; }

    /* Category Hero */
    .category-hero {
      position: relative;
      background: linear-gradient(120deg, rgba(11, 29, 53, 0.92), rgba(19, 41, 75, 0.76)), url('/assets/images/backpic/back-1.png') center/cover no-repeat;
      padding: 76px 0 72px;
      color: #fff;
    }
    .category-hero::after {
      content: '';
      position: absolute;
      inset: auto 0 0 0;
      height: 80px;
      background: linear-gradient(to bottom, transparent, var(--bg));
      pointer-events: none;
    }
    .hero-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,0.75); margin-bottom: 18px; }
    .hero-breadcrumb a { color: rgba(255,255,255,0.75); }
    .hero-breadcrumb a:hover { color: var(--accent); }
    .hero-breadcrumb i { font-size: 12px; }
    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(212, 168, 67, 0.16);
      border: 1px solid rgba(212, 168, 67, 0.4);
      color: var(--accent);
      font-size: 13px;
      font-weight: 600;
      padding: 6px 16px;
      border-radius: 999px;
      margin-bottom: 20px;
      letter-spacing: 0.5px;
    }
    .category-hero h1 { font-size: 42px; font-weight: 800; color: #fff; line-height: 1.25; margin-bottom: 16px; letter-spacing: 1px; }
    .category-hero p { font-size: 17px; color: rgba(255,255,255,0.85); max-width: 620px; line-height: 1.8; }
    .hero-stats { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 36px; }
    .hero-stat { display: flex; align-items: center; gap: 12px; }
    .hero-stat-icon {
      width: 44px; height: 44px;
      background: rgba(255,255,255,0.12);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      color: var(--accent);
    }
    .hero-stat-num { font-size: 22px; font-weight: 700; color: #fff; line-height: 1.1; }
    .hero-stat-label { font-size: 13px; color: rgba(255,255,255,0.70); margin-top: 2px; }

    /* Card Grid */
    .cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 8px; }
    .cat-card {
      background: var(--bg-white);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 28px 24px;
      transition: var(--transition);
      position: relative;
      overflow: hidden;
    }
    .cat-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 3px;
      background: var(--accent);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.4s ease;
    }
    .cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
    .cat-card:hover::before { transform: scaleX(1); }
    .cat-card-icon {
      width: 52px; height: 52px;
      background: linear-gradient(135deg, var(--primary), var(--primary-light));
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      color: var(--accent);
      margin-bottom: 18px;
    }
    .cat-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
    .cat-card p { font-size: 14px; color: var(--text-muted); line-height: 1.75; }
    .cat-card .cat-more { display: inline-block; margin-top: 16px; font-size: 14px; color: var(--primary); font-weight: 600; }
    .cat-card .cat-more:hover { color: var(--accent); }
    .cat-card .cat-more i { font-size: 12px; margin-left: 4px; }

    /* News List */
    .news-item {
      background: var(--bg-white);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
      transition: var(--transition);
      display: flex;
      flex-direction: column;
      height: 100%;
    }
    .news-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
    .news-thumb { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
    .news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
    .news-item:hover .news-thumb img { transform: scale(1.05); }
    .news-tag {
      position: absolute;
      top: 12px; left: 12px;
      background: rgba(11, 29, 53, 0.85);
      color: #fff;
      font-size: 12px;
      padding: 4px 12px;
      border-radius: 999px;
      backdrop-filter: blur(4px);
    }
    .news-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
    .news-meta { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--text-light); margin-bottom: 10px; }
    .news-meta i { margin-right: 4px; }
    .news-card-body h3 { font-size: 17px; font-weight: 700; line-height: 1.5; margin-bottom: 10px; }
    .news-card-body h3 a:hover { color: var(--primary); }
    .news-card-body p { font-size: 14px; color: var(--text-muted); line-height: 1.75; flex: 1; }
    .news-read {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-top: 16px;
      font-size: 14px;
      font-weight: 600;
      color: var(--primary);
    }
    .news-read i { font-size: 12px; transition: transform 0.3s; }
    .news-item:hover .news-read i { transform: translateX(4px); }

    /* Featured */
    .featured-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: stretch; }
    .featured-main {
      background: linear-gradient(135deg, var(--primary), var(--primary-dark));
      border-radius: var(--radius);
      padding: 36px;
      color: #fff;
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      min-height: 360px;
    }
    .featured-main::before {
      content: '';
      position: absolute;
      inset: 0;
      background: url('/assets/images/coverpic/cover-2.png') center/cover no-repeat;
      opacity: 0.24;
    }
    .featured-main > * { position: relative; z-index: 1; }
    .featured-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(212, 168, 67, 0.2);
      border: 1px solid rgba(212, 168, 67, 0.45);
      color: var(--accent);
      font-size: 12px;
      font-weight: 600;
      padding: 4px 14px;
      border-radius: 999px;
      align-self: flex-start;
      margin-bottom: 16px;
    }
    .featured-main h3 { font-size: 24px; font-weight: 700; line-height: 1.45; margin-bottom: 10px; }
    .featured-main p { font-size: 14px; color: rgba(255,255,255,0.8); line-height: 1.75; max-width: 480px; }
    .featured-link { margin-top: 18px; color: var(--accent); font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
    .featured-side { display: flex; flex-direction: column; gap: 16px; }
    .featured-side-item {
      background: var(--bg-white);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 22px 24px;
      display: flex;
      align-items: center;
      gap: 18px;
      transition: var(--transition);
    }
    .featured-side-item:hover { box-shadow: var(--shadow); transform: translateX(4px); }
    .featured-side-icon {
      width: 48px; height: 48px;
      background: var(--accent-soft);
      color: #8a6d1f;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      flex-shrink: 0;
    }
    .featured-side-body h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
    .featured-side-body p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

    /* Process */
    .process-wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
    .process-wrap::before {
      content: '';
      position: absolute;
      top: 32px; left: 10%; right: 10%;
      height: 1px;
      background: var(--border);
      z-index: 0;
    }
    .process-item {
      text-align: center;
      padding: 0 12px;
      position: relative;
      z-index: 1;
      background: var(--bg);
    }
    .process-icon {
      width: 64px; height: 64px;
      background: var(--bg-white);
      border: 1px solid var(--border);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      color: var(--primary);
      margin: 0 auto 16px;
      box-shadow: var(--shadow);
      transition: var(--transition);
    }
    .process-item:hover .process-icon { background: var(--primary); color: var(--accent); transform: scale(1.08); }
    .process-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
    .process-item p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
    .process-num {
      font-size: 30px;
      font-weight: 800;
      color: var(--border);
      line-height: 1;
      margin-bottom: 10px;
      display: block;
    }

    /* FAQ */
    .faq-wrap { max-width: 860px; margin: 0 auto; }
    .faq-item {
      background: var(--bg-white);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      margin-bottom: 14px;
      overflow: hidden;
      transition: var(--transition);
    }
    .faq-item:hover { box-shadow: var(--shadow); border-color: #cdd7e2; }
    .faq-q {
      padding: 20px 24px;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      background: none;
      border: none;
      width: 100%;
      text-align: left;
      color: var(--text);
    }
    .faq-q i { font-size: 14px; color: var(--text-light); transition: transform 0.3s; color: var(--accent); }
    .faq-item.active .faq-q i { transform: rotate(180deg); }
    .faq-a { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease; color: var(--text-muted); font-size: 15px; line-height: 1.8; }
    .faq-item.active .faq-a { max-height: 300px; padding-bottom: 22px; }

    /* CTA */
    .cta-section {
      background: linear-gradient(135deg, var(--primary), var(--primary-light));
      border-radius: 24px;
      padding: 56px 48px;
      text-align: center;
      color: #fff;
      position: relative;
      overflow: hidden;
    }
    .cta-section::before {
      content: '';
      position: absolute;
      inset: 0;
      background: url('/assets/images/backpic/back-2.png') center/cover no-repeat;
      opacity: 0.15;
    }
    .cta-section > * { position: relative; z-index: 1; }
    .cta-section h2 { font-size: 30px; font-weight: 700; margin-bottom: 14px; }
    .cta-section p { font-size: 16px; color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 28px; line-height: 1.8; }
    .cta-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 13px 30px;
      background: var(--accent);
      color: var(--primary-dark);
      font-weight: 700;
      border: none;
      border-radius: 999px;
      cursor: pointer;
      transition: var(--transition);
      font-size: 15px;
    }
    .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(212, 168, 67, 0.4); }
    .btn-outline {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 13px 30px;
      background: transparent;
      color: #fff;
      font-weight: 600;
      border: 1px solid rgba(255,255,255,0.5);
      border-radius: 999px;
      cursor: pointer;
      transition: var(--transition);
      font-size: 15px;
    }
    .btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

    /* Footer */
    .site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.75); padding: 56px 0 0; margin-top: 80px; }
    .footer-grid-inner { padding-bottom: 40px; }
    .footer-brand { font-size: 20px; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
    .footer-brand i { color: var(--accent); font-size: 22px; }
    .footer-desc { font-size: 14px; line-height: 1.8; max-width: 380px; color: rgba(255,255,255,0.6); }
    .footer-title { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 16px; }
    .footer-links { display: flex; flex-direction: column; gap: 10px; }
    .footer-links a { font-size: 14px; color: rgba(255,255,255,0.65); display: inline-flex; align-items: center; gap: 6px; }
    .footer-links a:hover { color: var(--accent); padding-left: 4px; }
    .footer-links a i { font-size: 10px; color: var(--accent); }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; }
    .footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.45); }

    /* Responsive */
    @media screen and (max-width: 1024px) {
      .cat-grid { grid-template-columns: repeat(2, 1fr); }
      .process-wrap { grid-template-columns: repeat(2, 1fr); gap: 32px; }
      .process-wrap::before { display: none; }
      .featured-wrap { grid-template-columns: 1fr; }
    }

    @media screen and (max-width: 768px) {
      .section { padding: 56px 0; }
      .desktop-nav { display: none; }
      .header-cta { display: none; }
      .brand { font-size: 17px; }
      .brand-icon { width: 32px; height: 32px; font-size: 14px; }
      .category-hero { padding: 52px 0 56px; }
      .category-hero h1 { font-size: 30px; }
      .category-hero p { font-size: 15px; }
      .hero-stats { gap: 20px; }
      .hero-stat-num { font-size: 18px; }
      .hero-stat-label { font-size: 12px; }
      .section-title { font-size: 26px; }
      .legend-row { flex-direction: column; gap: 8px; }

      /* 移动端底部 Tab 导航 */
      .site-header { height: 60px; }
      body { padding-bottom: 64px; }
      .mobile-tabbar {
        display: flex;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        background: rgba(255,255,255,0.97);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-top: 1px solid var(--border);
        z-index: 200;
        padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
        box-shadow: 0 -4px 16px rgba(19,41,75,0.06);
      }
      .mobile-tabbar a {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        font-size: 11px;
        color: var(--text-muted);
        padding: 6px 4px;
        border-radius: 10px;
        transition: var(--transition);
      }
      .mobile-tabbar a i { font-size: 18px; }
      .mobile-tabbar a.active { color: var(--primary); font-weight: 600; }
      .mobile-tabbar a.active i { color: var(--accent); }

      .site-footer { margin-top: 48px; }
      .footer-grid-inner { padding-bottom: 28px; }
      .footer-bottom-inner { flex-direction: column; text-align: center; }
    }

    @media screen and (max-width: 520px) {
      .cat-grid { grid-template-columns: 1fr; }
      .process-wrap { grid-template-columns: 1fr; }
      .featured-main { padding: 28px 24px; min-height: 300px; }
      .featured-main h3 { font-size: 20px; }
      .cta-section { padding: 40px 24px; border-radius: 18px; }
      .cta-section h2 { font-size: 24px; }
      .cta-btns { flex-direction: column; }
      .btn-primary, .btn-outline { width: 100%; justify-content: center; }
      .hero-stats { flex-wrap: wrap; gap: 16px; }
      .news-meta { flex-wrap: wrap; gap: 8px; }
      .category-hero h1 { font-size: 26px; }
      .faq-q { padding: 16px 18px; font-size: 15px; }
      .faq-a { padding: 0 18px; }
      .faq-item.active .faq-a { padding-bottom: 16px; }
      .featured-side-item { flex-direction: column; text-align: center; padding: 20px; }
    }

/* roulang page: article */
:root {
  --primary: #0b1a33;
  --primary-light: #1d3a5f;
  --accent: #12b76a;
  --accent-dark: #0e9d58;
  --gold: #f5b301;
  --bg: #f4f7fb;
  --white: #ffffff;
  --text: #1e293b;
  --text-weak: #64748b;
  --border: #e2e8f0;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow: 0 8px 30px rgba(2, 12, 27, 0.08);
  --shadow-lg: 0 20px 50px rgba(2, 12, 27, 0.14);
  --transition: 0.3s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.grid-container {
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.06rem;
  color: var(--primary);
  white-space: nowrap;
}

.brand:hover {
  color: var(--primary);
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #1d3a5f);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(11, 26, 51, 0.3);
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  gap: 26px;
  align-items: center;
}

.main-nav a {
  color: var(--text);
  font-weight: 500;
  padding: 8px 2px;
  position: relative;
  font-size: 0.95rem;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent-dark);
}

.main-nav a.active::after {
  width: 100%;
}

.header-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(18, 183, 106, 0.35);
}

/* ---------- Article Banner ---------- */
.article-banner {
  position: relative;
  background: linear-gradient(rgba(11, 26, 51, 0.85), rgba(11, 26, 51, 0.85)), url('/assets/images/backpic/back-2.png') center / cover no-repeat;
  padding: 88px 0 64px;
  color: #fff;
  text-align: center;
}

.article-banner .breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.article-banner .breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
}

.article-banner .breadcrumb a:hover {
  color: var(--gold);
}

.article-banner .breadcrumb .sep {
  color: rgba(255, 255, 255, 0.4);
}

.article-banner h1 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.3;
  max-width: 900px;
  margin: 0 auto 20px;
  letter-spacing: 0.01em;
}

.article-banner .meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  flex-wrap: wrap;
}

.article-banner .meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-banner .meta i {
  color: var(--gold);
}

/* ---------- Article Main ---------- */
.article-main {
  padding: 60px 0 48px;
}

.article-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 34px;
  margin-bottom: 32px;
}

.article-card .article-cover {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: 28px;
  object-fit: cover;
  max-height: 420px;
}

.article-content {
  font-size: 1.02rem;
  line-height: 1.85;
  color: #334155;
}

.article-content h2 {
  font-size: 1.48rem;
  margin: 34px 0 14px;
  color: var(--primary);
  font-weight: 800;
  line-height: 1.35;
}

.article-content h3 {
  font-size: 1.2rem;
  margin: 28px 0 10px;
  color: var(--primary);
  font-weight: 700;
}

.article-content p {
  margin-bottom: 18px;
}

.article-content img {
  border-radius: var(--radius-md);
  margin: 22px 0;
  box-shadow: var(--shadow);
}

.article-content blockquote {
  border-left: 4px solid var(--accent);
  background: #f0fdf7;
  padding: 18px 22px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: #475569;
  margin: 26px 0;
}

.article-content ul,
.article-content ol {
  margin: 0 0 18px 22px;
}

.article-content ul {
  list-style: disc;
}

.article-content ol {
  list-style: decimal;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content a {
  color: var(--accent-dark);
  text-decoration: underline;
}

.article-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.tag-label {
  font-weight: 600;
  color: var(--text-weak);
  font-size: 0.9rem;
}

.tag {
  background: #f0fdf7;
  color: var(--accent-dark);
  border: 1px solid #d1fae5;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.82rem;
  font-weight: 500;
}

/* Not Found */
.article-not-found {
  text-align: center;
  padding: 60px 20px;
}

.article-not-found i {
  font-size: 3rem;
  color: var(--text-weak);
  opacity: 0.45;
  margin-bottom: 20px;
}

.article-not-found h2 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.article-not-found p {
  color: var(--text-weak);
  margin-bottom: 28px;
}

/* ---------- Sidebar ---------- */
.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.sidebar-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--primary);
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-title i {
  color: var(--accent);
}

.sidebar-links li {
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
}

.sidebar-links li:last-child {
  border-bottom: none;
}

.sidebar-links a {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text);
}

.sidebar-links a:hover {
  color: var(--accent-dark);
}

.sidebar-post-title {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
  display: block;
}

.sidebar-post-meta {
  font-size: 0.78rem;
  color: var(--text-weak);
  margin-top: 4px;
  display: block;
}

.tag-cloud {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tag-cloud a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
  transition: all var(--transition);
}

.tag-cloud a:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
  transform: translateX(4px);
  background: #f0fdf7;
}

.tag-cloud a i {
  color: var(--accent);
}

.sidebar-info p {
  font-size: 0.9rem;
  color: var(--text-weak);
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(18, 183, 106, 0.3);
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-light {
  background: #fff;
  color: var(--primary);
}

.btn-light:hover {
  background: var(--gold);
  color: var(--primary);
  box-shadow: 0 8px 24px rgba(245, 179, 1, 0.35);
}

.btn-outline-light {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

/* ---------- Related Section ---------- */
.related-section {
  padding: 56px 0 64px;
  background: linear-gradient(180deg, var(--bg) 0%, #eef2f7 100%);
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.section-head p {
  color: var(--text-weak);
  font-size: 1rem;
}

.related-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  transition: all var(--transition);
  height: 100%;
}

.related-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(18, 183, 106, 0.4);
}

.related-cover {
  position: relative;
  overflow: hidden;
  height: 180px;
}

.related-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.related-card:hover .related-cover img {
  transform: scale(1.05);
}

.related-body {
  padding: 24px;
}

.related-body .badge {
  display: inline-block;
  background: #f0fdf7;
  color: var(--accent-dark);
  border: 1px solid #d1fae5;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.related-body h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-body p {
  font-size: 0.88rem;
  color: var(--text-weak);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- CTA Band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, #1d3a5f 100%);
  padding: 64px 0;
  color: #fff;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-content h2 {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- FAQ ---------- */
.faq-section {
  padding: 64px 0;
  background: var(--bg);
}

.faq-grid {
  row-gap: 18px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  transition: all var(--transition);
  cursor: pointer;
}

.faq-item:hover {
  border-color: rgba(18, 183, 106, 0.4);
  box-shadow: var(--shadow);
}

.faq-question {
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}

.faq-question i {
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding-left: 30px;
  font-size: 0.92rem;
  color: var(--text-weak);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 240px;
  padding-top: 12px;
  padding-bottom: 4px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 48px;
}

.footer-grid-inner {
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}

.footer-brand i {
  color: var(--gold);
}

.footer-desc {
  font-size: 0.92rem;
  max-width: 380px;
  line-height: 1.7;
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding: 22px 0 26px;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Mobile Tabbar ---------- */
.mobile-tabbar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  z-index: 999;
  align-items: center;
  justify-content: space-around;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
}

.mobile-tabbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 0.68rem;
  color: var(--text-weak);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
  min-width: 64px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.mobile-tabbar a i {
  font-size: 1.15rem;
}

.mobile-tabbar a:hover,
.mobile-tabbar a.active {
  color: var(--accent-dark);
}

.mobile-tabbar a.active {
  background: #f0fdf7;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 70px;
  }

  .desktop-nav,
  .header-cta {
    display: none !important;
  }

  .header-inner {
    height: 62px;
  }

  .brand {
    font-size: 0.96rem;
  }

  .brand-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .mobile-tabbar {
    display: flex;
  }

  .article-banner {
    padding: 56px 0 40px;
  }

  .article-banner h1 {
    font-size: 1.4rem;
  }

  .article-banner .meta {
    gap: 12px;
    font-size: 0.82rem;
    flex-direction: column;
    align-items: center;
  }

  .article-main {
    padding: 36px 0 36px;
  }

  .article-card {
    padding: 20px;
    border-radius: var(--radius-md);
  }

  .article-card .article-cover {
    max-height: 260px;
  }

  .article-content {
    font-size: 1rem;
    line-height: 1.75;
  }

  .article-content h2 {
    font-size: 1.25rem;
    margin: 24px 0 10px;
  }

  .article-content h3 {
    font-size: 1.1rem;
  }

  .sidebar-card {
    padding: 20px;
  }

  .related-section {
    padding: 40px 0 48px;
  }

  .section-head h2 {
    font-size: 1.45rem;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-actions {
    justify-content: center;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .grid-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .article-banner h1 {
    font-size: 1.25rem;
  }

  .article-card {
    padding: 16px;
  }

  .tag {
    font-size: 0.75rem;
    padding: 4px 10px;
  }

  .btn {
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .related-cover {
    height: 140px;
  }
}

/* roulang page: category2 */
:root {
  --primary: #1a56db;
  --primary-dark: #143e9e;
  --primary-light: #e8f0fe;
  --accent: #ff6a3d;
  --accent-soft: #fff0ea;
  --bg: #f5f7fb;
  --bg-alt: #ffffff;
  --bg-deep: #0f1b33;
  --text: #17233d;
  --text-weak: #5a6b87;
  --border: #e3e9f2;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 8px 30px rgba(23, 35, 61, 0.08);
  --shadow-hover: 0 14px 36px rgba(26, 86, 219, 0.14);
  --space: 4.5rem;
  --space-sm: 2.5rem;
  --transition: all 0.3s ease;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: var(--primary); transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button, input { font-family: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-title { font-size: 2rem; font-weight: 700; line-height: 1.3; margin-bottom: 0.5rem; }
.section-subtitle { color: var(--text-weak); font-size: 1.05rem; max-width: 640px; line-height: 1.8; }

/* Header */
.site-header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
}
.brand:hover { color: var(--text); }
.brand-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(26,86,219,0.3);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a {
  color: var(--text-weak);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 2px;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}
.main-nav a:hover,
.main-nav a.active { color: var(--primary); }
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.header-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(26,86,219,0.28);
}
.header-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,86,219,0.36);
}

/* Page Banner */
.page-banner {
  background: linear-gradient(135deg, #0f1b33 0%, #16304f 60%, #1a56db 100%);
  position: relative;
  padding: 90px 0 70px;
  overflow: hidden;
  color: #fff;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/assets/images/backpic/back-2.png') center/cover no-repeat;
  opacity: 0.22;
}
.page-banner::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -40px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,106,61,0.28) 0%, transparent 70%);
  border-radius: 50%;
}
.banner-inner { position: relative; z-index: 2; }
.banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 18px;
}
.page-banner h1 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
}
.page-banner p {
  font-size: 1.05rem;
  max-width: 720px;
  color: rgba(255,255,255,0.88);
  line-height: 1.8;
}
.banner-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  backdrop-filter: blur(6px);
}
.banner-badge i { color: #ffb63d; }

/* Section base */
.section { padding: var(--space) 0; }
.section-alt { background: var(--bg-alt); }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}

/* Game Type Cards */
.game-type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.game-type-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.game-type-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition);
}
.game-type-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}
.game-type-card:hover::before { opacity: 1; }
.game-type-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
}
.game-type-card:nth-child(2) .game-type-icon { background: var(--accent-soft); color: var(--accent); }
.game-type-card:nth-child(3) .game-type-icon { background: #e8f8ef; color: #16a34a; }
.game-type-card:nth-child(4) .game-type-icon { background: #f2ecfe; color: #7c3aed; }
.game-type-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.game-type-card p { font-size: 0.88rem; color: var(--text-weak); line-height: 1.7; }
.game-type-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 12px;
}
.game-type-link i { font-size: 0.75rem; transition: transform 0.3s; }
.game-type-card:hover .game-type-link i { transform: translateX(4px); }

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step-item {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px 22px;
  text-align: center;
  transition: var(--transition);
}
.step-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 4px 12px rgba(26,86,219,0.3);
}
.step-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.step-item p { font-size: 0.84rem; color: var(--text-weak); line-height: 1.6; }

/* Guide Cards */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.guide-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.guide-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}
.guide-cover {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.guide-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.guide-card:hover .guide-cover img { transform: scale(1.06); }
.guide-cover .guide-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15,27,51,0.82);
  color: #fff;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.guide-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.guide-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; line-height: 1.45; }
.guide-body p { font-size: 0.88rem; color: var(--text-weak); line-height: 1.75; flex: 1; }
.guide-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-weak);
}
.guide-meta span { display: inline-flex; align-items: center; gap: 5px; }
.guide-meta i { color: var(--primary); font-size: 0.75rem; }

/* Key points */
.points-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.point-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  transition: var(--transition);
}
.point-item:hover { box-shadow: var(--shadow); border-color: var(--primary); }
.point-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.point-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.point-item p { font-size: 0.86rem; color: var(--text-weak); line-height: 1.7; }

/* FAQ */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "\f107";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--primary);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--text-weak); font-size: 0.9rem; line-height: 1.8; }

/* CTA */
.cta-block {
  background: linear-gradient(135deg, var(--bg-deep) 0%, #1a3a66 60%, #1a56db 100%);
  border-radius: var(--radius-lg);
  padding: 60px 50px;
  color: #fff;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/assets/images/backpic/back-3.png') center/cover no-repeat;
  opacity: 0.15;
}
.cta-inner { position: relative; z-index: 2; }
.cta-block h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 12px; }
.cta-block p { font-size: 1rem; color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto 28px; line-height: 1.8; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(255,106,61,0.35);
}
.btn-secondary:hover {
  background: #e8552a;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(255,106,61,0.45);
}

/* Footer */
.site-footer {
  background: var(--bg-deep);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
  margin-top: 0;
}
.footer-grid-inner { padding-bottom: 40px; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.footer-brand i {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #fff;
}
.footer-desc { font-size: 0.9rem; line-height: 1.8; max-width: 400px; color: rgba(255,255,255,0.6); }
.footer-title {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 14px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  transition: var(--transition);
}
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

/* Mobile Bottom Tab */
.mobile-tabbar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  z-index: 300;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
}
.mobile-tab-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.mobile-tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 7px 4px;
  border-radius: 10px;
  color: var(--text-weak);
  font-size: 0.72rem;
  transition: var(--transition);
}
.mobile-tab-item i { font-size: 1.1rem; }
.mobile-tab-item.active {
  color: var(--primary);
  background: var(--primary-light);
}

/* Responsive */
@media (max-width: 1024px) {
  .game-type-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  :root { --space: 3rem; }
  .desktop-nav { display: none; }
  .mobile-tabbar { display: block; }
  .site-header { position: sticky; }
  .header-inner { height: 64px; }
  .brand { font-size: 1.05rem; }
  .brand-icon { width: 32px; height: 32px; font-size: 0.85rem; }
  .header-cta { display: none; }
  .page-banner { padding: 60px 0 50px; }
  .page-banner h1 { font-size: 1.9rem; }
  .page-banner p { font-size: 0.95rem; }
  .section-title { font-size: 1.6rem; }
  .banner-badges { gap: 8px; }
  .banner-badge { padding: 6px 12px; font-size: 0.8rem; }
  .points-grid { grid-template-columns: 1fr; }
  .cta-block { padding: 40px 24px; }
  .cta-block h2 { font-size: 1.4rem; }
  .site-footer { padding-top: 40px; }
  .footer-grid-inner { row-gap: 30px; }
  .body-has-tabbar { padding-bottom: 68px; }
}
@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .game-type-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .guide-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .step-item { padding: 18px 14px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; justify-content: center; }
}

/* roulang page: category3 */
:root {
    --primary: #0d4d32;
    --primary-dark: #083d26;
    --primary-light: #e6f2eb;
    --accent: #c89b3c;
    --accent-dark: #a97e2e;
    --accent-light: #fdf3dd;
    --bg: #f6f7f4;
    --bg-deep: #0b2419;
    --bg-soft: #eef1ec;
    --text: #1f2a24;
    --text-weak: #6a7670;
    --border: #e3e8e4;
    --radius: 18px;
    --radius-sm: 10px;
    --shadow: 0 8px 28px rgba(13,77,50,.08);
    --shadow-hover: 0 16px 40px rgba(13,77,50,.16);
    --space: 84px;
    --header-h: 72px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button, input, textarea, select {
    font-family: inherit;
}

ul, ol, p, figure, h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
}

.grid-container {
    max-width: 1240px;
    padding-left: 24px;
    padding-right: 24px;
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: var(--primary-dark);
    box-shadow: 0 2px 18px rgba(0,0,0,.16);
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .3px;
    white-space: nowrap;
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--accent);
    color: var(--primary-dark);
    font-size: 17px;
    flex-shrink: 0;
}

.main-nav {
    display: flex;
    gap: 26px;
    align-items: center;
}

.main-nav a {
    position: relative;
    color: rgba(255,255,255,.78);
    font-size: 15px;
    font-weight: 500;
    padding: 6px 2px;
    transition: color .2s;
}

.main-nav a:hover {
    color: #fff;
}

.main-nav a.active {
    color: #fff;
    font-weight: 600;
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: var(--accent);
    color: var(--primary-dark);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: background .2s, transform .2s, box-shadow .2s;
}

.header-cta:hover {
    background: #d9ab4a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(200,155,60,.35);
}

.page-hero {
    position: relative;
    background-image: url('/assets/images/backpic/back-2.png');
    background-size: cover;
    background-position: center;
    padding: 100px 0 90px;
    color: #fff;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(8,61,38,.94) 0%, rgba(8,61,38,.78) 45%, rgba(8,61,38,.52) 100%);
}

.page-hero::after {
    content: '';
    position: absolute;
    right: -140px;
    bottom: -140px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(200,155,60,.12);
    filter: blur(20px);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 20px 0 10px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.28);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .6px;
}

.hero-badge i {
    color: #f0cf8d;
}

.page-hero h1 {
    font-size: 44px;
    line-height: 1.24;
    font-weight: 800;
    margin: 22px 0 18px;
    letter-spacing: .5px;
}

.page-hero .hero-lead {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255,255,255,.86);
    max-width: 580px;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .25s ease;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
}

.btn-primary:hover {
    background: #d9ab4a;
    border-color: #d9ab4a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(200,155,60,.35);
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.65);
}

.btn-ghost:hover {
    background: rgba(255,255,255,.12);
    border-color: #fff;
    transform: translateY(-2px);
}

.section {
    padding: var(--space) 0;
}

.section-bg-soft {
    background: var(--bg-soft);
}

.section-bg-dark {
    background: var(--bg-deep);
}

.section-header {
    margin-bottom: 44px;
    max-width: 680px;
}

.section-header.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 15px;
    border-radius: 999px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .4px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 32px;
    line-height: 1.3;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 14px;
}

.section-desc {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-weak);
    max-width: 600px;
}

.section-dark .section-title {
    color: #fff;
}

.section-dark .section-desc {
    color: rgba(255,255,255,.68);
}

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 26px;
    height: 100%;
    transition: all .3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: rgba(13,77,50,.22);
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.service-card .card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.service-card:nth-child(2) .card-icon,
.service-card:nth-child(even) .card-icon {
    background: var(--accent-light);
    color: var(--accent-dark);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: .3px;
}

.service-card p {
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--text-weak);
    flex: 1;
}

.feature-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    height: 100%;
    transition: all .28s ease;
}

.feature-item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 16px;
}

.feature-item:nth-child(2) .feature-icon {
    background: var(--accent);
    color: var(--primary-dark);
}

.feature-item:nth-child(3) .feature-icon {
    background: #1d6b4a;
}

.feature-item:nth-child(4) .feature-icon {
    background: #8a6b25;
}

.feature-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-weak);
}

.stats-wrap {
    padding: 64px 0;
    border-radius: var(--radius);
    background: var(--bg-deep);
    border: 1px solid rgba(255,255,255,.06);
    position: relative;
    overflow: hidden;
}

.stats-wrap::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(200,155,60,.1);
}

.stat-item {
    text-align: center;
    padding: 20px 10px;
}

.stat-number {
    font-size: 46px;
    font-weight: 900;
    color: var(--accent);
    line-height: 1.2;
    letter-spacing: 1px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,.68);
    margin-top: 8px;
    letter-spacing: .5px;
}

.step-col {
    margin-bottom: 24px;
}

.step-item {
    position: relative;
    padding: 30px 22px 22px 22px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    height: 100%;
    transition: all .28s ease;
}

.step-item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 16px;
}

.step-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-item p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-weak);
}

.post-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all .3s ease;
}

.post-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.post-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.post-card:hover .post-thumb img {
    transform: scale(1.04);
}

.post-date {
    position: absolute;
    right: 12px;
    top: 12px;
    padding: 4px 12px;
    background: rgba(8,61,38,.82);
    color: #fff;
    font-size: 12px;
    border-radius: 999px;
    backdrop-filter: blur(4px);
    letter-spacing: .4px;
}

.post-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-tag {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 12px;
    background: var(--accent-light);
    color: var(--accent-dark);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

.post-title {
    font-size: 17px;
    line-height: 1.5;
    font-weight: 800;
    margin-bottom: 10px;
}

.post-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-weak);
    margin-bottom: 16px;
    flex: 1;
}

.post-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    transition: gap .2s, color .2s;
}

.post-link:hover {
    gap: 10px;
    color: var(--accent-dark);
}

.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
    transition: border-color .25s, box-shadow .25s;
    overflow: hidden;
}

.faq-item.active {
    border-color: rgba(13,77,50,.3);
    box-shadow: 0 4px 18px rgba(13,77,50,.07);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    user-select: none;
}

.faq-question .faq-icon {
    color: var(--accent-dark);
    font-size: 15px;
    transition: transform .3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    padding: 0 24px;
    color: var(--text-weak);
    font-size: 15px;
    line-height: 1.75;
}

.faq-item.active .faq-answer {
    max-height: 320px;
    padding-bottom: 22px;
}

.cta-block {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 70%);
    border-radius: var(--radius);
    padding: 56px 48px;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    overflow: hidden;
}

.cta-block::after {
    content: '';
    position: absolute;
    right: -40px;
    top: -40px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(200,155,60,.16);
}

.cta-block h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: .3px;
}

.cta-block p {
    color: rgba(255,255,255,.8);
    font-size: 15px;
    line-height: 1.7;
    max-width: 480px;
}

.cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.btn-light {
    background: #fff;
    color: var(--primary-dark);
    border-color: #fff;
}

.btn-light:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,.18);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.7);
}

.btn-outline-light:hover {
    background: rgba(255,255,255,.12);
    border-color: #fff;
    transform: translateY(-2px);
}

.site-footer {
    background: var(--bg-deep);
    color: rgba(255,255,255,.75);
    padding: 56px 0 90px;
    margin-top: 0;
}

.footer-grid-inner {
    margin-bottom: 36px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.footer-brand i {
    color: var(--accent);
    font-size: 20px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,.58);
    max-width: 360px;
}

.footer-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .4px;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,.62);
    transition: color .2s, padding-left .2s;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 24px;
}

.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,.45);
}

.mobile-tabbar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(8,61,38,.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 16px rgba(0,0,0,.18);
}

.mobile-tabbar a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 4px;
    color: rgba(255,255,255,.66);
    font-size: 11px;
    font-weight: 500;
    border-radius: 10px;
    transition: color .2s, background .2s;
}

.mobile-tabbar a i {
    font-size: 17px;
}

.mobile-tabbar a.active {
    color: var(--accent);
    background: rgba(200,155,60,.12);
}

.mobile-tabbar a.active i {
    color: var(--accent);
}

@media (max-width: 1024px) {
    :root {
        --space: 64px;
    }
    .main-nav {
        gap: 18px;
    }
    .main-nav a {
        font-size: 14px;
    }
    .page-hero h1 {
        font-size: 38px;
    }
}

@media (max-width: 767px) {
    :root {
        --space: 52px;
        --header-h: 62px;
    }
    .main-nav {
        display: none;
    }
    .header-cta {
        padding: 7px 14px;
        font-size: 13px;
    }
    .site-header .brand {
        font-size: 16px;
    }
    .site-header .brand-icon {
        width: 32px;
        height: 32px;
        font-size: 15px;
    }
    .page-hero {
        padding: 72px 0 64px;
    }
    .page-hero h1 {
        font-size: 30px;
        line-height: 1.32;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .section-title {
        font-size: 26px;
        line-height: 1.35;
    }
    .section-desc {
        font-size: 15px;
    }
    .stat-number {
        font-size: 36px;
    }
    .cta-block {
        padding: 40px 24px;
    }
    .cta-block h2 {
        font-size: 22px;
    }
    .cta-actions .btn {
        width: 100%;
    }
    .site-footer {
        padding: 44px 0 78px;
    }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    .mobile-tabbar {
        display: flex;
    }
    .brand span:last-child {
        font-size: 15px;
    }
}

@media (max-width: 520px) {
    .grid-container {
        padding-left: 18px;
        padding-right: 18px;
    }
    .page-hero h1 {
        font-size: 26px;
    }
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    .post-title {
        font-size: 16px;
    }
    .faq-question {
        padding: 17px 18px;
        font-size: 15px;
    }
    .faq-answer {
        padding-left: 18px;
        padding-right: 18px;
    }
    .step-item {
        padding: 22px 16px;
    }
    .service-card {
        padding: 24px 18px;
    }
    .feature-item {
        padding: 22px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition: none !important;
    }
}

:focus-visible {
    outline: 3px solid rgba(200,155,60,.6);
    outline-offset: 2px;
}
