/* roulang page: index */
/* ========== 设计变量 ========== */
:root {
  --primary: #2563EB;
  --primary-hover: #1D4FC4;
  --primary-active: #173FA3;
  --primary-light: #EFF4FF;
  --accent: #E8A33D;
  --accent-deep: #D98E2B;
  --success: #16A34A;
  --warning: #DC2626;
  --bg: #F8FAFC;
  --card-bg: #FFFFFF;
  --text: #1E293B;
  --text-secondary: #64748B;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --dark: #0F172A;
  --dark-soft: #1E293B;
  --dark-text: #F1F5F9;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(37,99,235,0.08);
  --shadow-lg: 0 12px 32px rgba(15,23,42,0.08);
  --shadow-nav: 0 4px 16px rgba(15,23,42,0.06);
  --container: 1200px;
  --font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

/* ========== Reset / 基础 ========== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-hover);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4 {
  line-height: 1.3;
  font-weight: 700;
  color: var(--text);
}

/* ========== 容器 ========== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ========== 按钮 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
  font-family: var(--font-family);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 12px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 8px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37,99,235,0.25);
  transform: translateY(-1px);
}

.btn-primary:active {
  background: var(--primary-active);
  box-shadow: none;
  transform: translateY(1px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary-light);
  border-color: var(--primary-hover);
  color: var(--primary-hover);
}

.btn-white {
  background: #fff;
  color: var(--primary);
}

.btn-white:hover {
  background: #F1F5F9;
  color: var(--primary-hover);
  box-shadow: 0 8px 24px rgba(255,255,255,0.18);
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 3px solid rgba(37,99,235,0.4);
  outline-offset: 2px;
}

/* ========== 标签 / 徽章 ========== */
.tag, .badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
}

.badge-primary, .tag-primary {
  background: var(--primary-light);
  color: var(--primary);
}

.badge-hot, .tag-hot {
  background: #FEE2E2;
  color: #DC2626;
}

.badge-premium, .tag-premium {
  background: #FEF3C7;
  color: #B45309;
}

.badge-recommend {
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
  margin-left: 6px;
  vertical-align: 2px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
}

.text-link:hover {
  color: var(--primary-hover);
  gap: 6px;
}

/* ========== 站点头部 / 导航 ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-nav);
}

.header-top {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-actions .btn-outline {
  padding: 8px 16px;
  font-size: 14px;
}

.header-actions .btn-primary {
  padding: 8px 16px;
  font-size: 14px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-bar {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 52px;
  border-top: 1px solid #F1F5F9;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s;
  position: relative;
}

.nav-links a:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-links a.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 3px;
  border-radius: 3px;
  background: var(--primary);
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s;
  flex-shrink: 0;
}

.search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
  background: #fff;
}

.search-box input {
  width: 160px;
  border: none;
  outline: none;
  background: transparent;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--text);
  font-family: var(--font-family);
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.search-box button {
  border: none;
  background: transparent;
  padding: 8px 12px;
  cursor: pointer;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.search-box button:hover {
  color: var(--primary);
}

.hot-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.hot-label {
  font-size: 12px;
  color: #DC2626;
  font-weight: 600;
  background: #FEE2E2;
  padding: 2px 8px;
  border-radius: 999px;
}

.hot-tags a {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 3px 10px;
  border-radius: 999px;
  background: #F1F5F9;
  transition: all 0.2s;
  white-space: nowrap;
}

.hot-tags a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* ========== Hero 首屏 ========== */
.hero {
  position: relative;
  min-height: 560px;
  background: var(--dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0.7) 45%, rgba(15,23,42,0.3) 70%, rgba(15,23,42,0.15) 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0 48px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #E2E8F0;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

.hero-pill i {
  width: 6px;
  height: 6px;
  background: #22C55E;
  border-radius: 50%;
  display: inline-block;
}

.hero-text h1 {
  font-size: 38px;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  font-weight: 800;
}

.hero-desc {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-panel {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 380px;
  margin-left: auto;
  transform: translateZ(0);
}

.hero-panel__img {
  position: relative;
  height: 190px;
}

.hero-panel__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-panel__body {
  padding: 20px 24px 24px;
}

.hero-panel__body h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.hero-panel__body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.hero-trust {
  display: flex;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 24px 0 32px;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.trust-item strong {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  font-feature-settings: "tnum";
  letter-spacing: -0.02em;
}

.trust-item span {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

/* ========== 通用板块 ========== */
.section {
  padding: 72px 0;
}

.section-white {
  background: #fff;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-size: 28px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.section-head p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.section-head .section-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* ========== 权益对比表 ========== */
.benefit-table-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  margin-bottom: 24px;
  -webkit-overflow-scrolling: touch;
}

.benefit-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 14px;
}

.benefit-table th {
  background: var(--dark-soft);
  color: #fff;
  padding: 16px 20px;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
}

.benefit-table th:first-child {
  text-align: left;
  border-radius: var(--radius-lg) 0 0 0;
}

.benefit-table th:last-child {
  border-radius: 0 var(--radius-lg) 0 0;
}

.benefit-table td {
  padding: 14px 20px;
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
}

.benefit-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text);
}

.benefit-table tbody tr:nth-child(even) td {
  background: #F8FAFC;
}

.benefit-table tbody tr:hover td {
  background: var(--primary-light);
}

.benefit-table .recommend-col {
  border-left: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
  background: rgba(37,99,235,0.04);
}

.benefit-table th.recommend-col {
  background: var(--primary);
  color: #fff;
}

.table-cta {
  text-align: center;
}

/* ========== 等级亮点卡片 ========== */
.level-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.level-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.level-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37,99,235,0.3);
}

.level-card.featured {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(37,99,235,0.12);
}

.level-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
}

.level-icon.silver {
  background: #E2E8F0;
  color: #475569;
}

.level-icon.gold {
  background: #FEF3C7;
  color: #D97706;
}

.level-icon.diamond {
  background: #DBEAFE;
  color: #2563EB;
}

.level-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.level-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.level-card .text-link {
  justify-content: center;
}

/* ========== 平台功能概览 ========== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(37,99,235,0.3);
  transform: translateY(-2px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* ========== 专属内容预览 ========== */
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.content-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.content-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(37,99,235,0.3);
  transform: translateY(-3px);
}

.card-thumb {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.content-card:hover .card-thumb img {
  transform: scale(1.03);
}

.card-thumb .tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.card-lock {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(15,23,42,0.7);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  backdrop-filter: blur(4px);
}

.card-body {
  padding: 20px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.card-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.card-body .btn {
  align-self: flex-start;
}

/* ========== 最新资讯列表 ========== */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.news-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.news-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(37,99,235,0.3);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 13px;
}

.news-date {
  color: var(--text-muted);
}

.news-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.news-card h3 a {
  color: var(--text);
  transition: color 0.2s;
}

.news-card h3 a:hover {
  color: var(--primary);
}

.news-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}

.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.read-more {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
}

.read-more:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.empty-state {
  background: #fff;
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 56px 32px;
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
}

.empty-state .empty-icon {
  font-size: 40px;
  display: block;
  margin-bottom: 12px;
  opacity: 0.6;
}

/* ========== FAQ 手风琴 ========== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(37,99,235,0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: #fff;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  font-family: var(--font-family);
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--primary-light);
}

.faq-question .faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.25s, background 0.25s;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: #fff;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer-inner p {
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* ========== CTA 横幅 ========== */
.cta-section {
  background: var(--primary);
  padding: 60px 0;
  text-align: center;
}

.cta-section h2 {
  color: #fff;
  font-size: 30px;
  margin-bottom: 12px;
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-white {
  font-size: 16px;
  padding: 14px 36px;
}

/* ========== 页脚 ========== */
.site-footer {
  background: var(--dark);
  color: var(--dark-text);
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand .logo-text {
  color: #fff;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: #94A3B8;
  max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #94A3B8;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact p {
  color: #94A3B8;
  font-size: 14px;
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0 24px;
  text-align: center;
}

.footer-bottom p {
  color: #64748B;
  font-size: 13px;
}

/* ========== 响应式 ========== */
@media (max-width: 1023px) {
  .nav-bar {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 24px;
  }

  .nav-links {
    order: 3;
    flex-basis: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 16px;
    border-radius: 8px;
  }

  .nav-links a.active::after {
    display: none;
  }

  .nav-links a.active {
    background: var(--primary-light);
  }

  .search-box {
    order: 1;
    flex: 1;
    max-width: 280px;
  }

  .hot-tags {
    order: 2;
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 48px;
  }

  .hero-panel {
    margin: 0 auto;
  }

  .hero-trust {
    gap: 32px;
  }

  .level-cards,
  .feature-grid,
  .content-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 767px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .header-top {
    padding: 0 16px;
  }

  .logo-text {
    font-size: 16px;
  }

  .header-actions .btn {
    padding: 8px 12px;
    font-size: 13px;
  }

  .header-actions .btn-outline {
    display: none;
  }

  .search-box {
    max-width: 220px;
  }

  .search-box input {
    width: 140px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-top: 40px;
    padding-bottom: 32px;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .hero-desc {
    font-size: 16px;
  }

  .hero-btns {
    flex-direction: column;
  }

  .hero-btns .btn {
    width: 100%;
  }

  .hero-trust {
    flex-direction: column;
    gap: 16px;
    padding-top: 20px;
    padding-bottom: 28px;
  }

  .trust-item strong {
    font-size: 30px;
  }

  .section {
    padding: 48px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .section-head h2 {
    font-size: 22px;
  }

  .level-cards,
  .feature-grid,
  .content-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .news-card {
    padding: 20px;
  }

  .cta-section {
    padding: 48px 0;
  }

  .cta-section h2 {
    font-size: 24px;
  }

  .cta-section .btn-white {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }

  .footer-bottom {
    padding-bottom: 20px;
  }
}

@media (max-width: 520px) {
  .search-box {
    display: none;
  }

  .nav-bar {
    justify-content: space-between;
  }

  .nav-links {
    flex-basis: 100%;
  }

  .header-actions .btn-primary {
    display: none;
  }
}

/* ========== 无障碍 ========== */
:focus-visible {
  outline: 3px solid rgba(37,99,235,0.4);
  outline-offset: 2px;
}

/* roulang page: article */
:root {
  --primary: #2563EB;
  --primary-hover: #1D4FC4;
  --primary-active: #1E40AF;
  --primary-light: #EFF4FF;
  --secondary: #E8A33D;
  --secondary-dark: #D98E2B;
  --success: #16A34A;
  --warning: #DC2626;
  --bg: #F8FAFC;
  --card-bg: #FFFFFF;
  --text: #1E293B;
  --text-secondary: #64748B;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --dark: #0F172A;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(15,23,42,0.06);
  --shadow-lg: 0 8px 24px rgba(37,99,235,0.08);
  --shadow-btn: 0 4px 12px rgba(37,99,235,0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-hover);
}

button {
  font-family: inherit;
  cursor: pointer;
}

input {
  font-family: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== 按钮系统 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  white-space: nowrap;
  text-align: center;
}

.btn:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  box-shadow: var(--shadow-btn);
  color: #fff;
}

.btn-primary:active {
  background: var(--primary-active);
  border-color: var(--primary-active);
  transform: translateY(1px);
  box-shadow: none;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary-light);
  border-color: var(--primary-hover);
  color: var(--primary-hover);
}

.btn-outline:active {
  background: var(--primary-light);
  border-color: var(--primary-active);
  color: var(--primary-active);
  transform: translateY(1px);
}

.btn-light {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

.btn-light:hover {
  background: #EFF4FF;
  border-color: #EFF4FF;
  box-shadow: 0 4px 16px rgba(255,255,255,0.25);
  color: var(--primary-hover);
}

.btn-light:active {
  background: #E2E8F0;
  border-color: #E2E8F0;
  transform: translateY(1px);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 14px;
  border-radius: 8px;
}

.btn-lg {
  padding: 14px 36px;
  font-size: 16px;
  border-radius: 12px;
}

/* ========== 标签 / 徽章 ========== */
.tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  background: var(--primary-light);
  color: var(--primary);
  transition: all 0.2s ease;
}

.tag:hover {
  background: var(--primary);
  color: #fff;
}

.badge-hot {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(220, 38, 38, 0.1);
  color: var(--warning);
}

.badge-gold {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(232, 163, 61, 0.15);
  color: var(--secondary-dark);
}

/* ========== Header 导航 ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15,23,42,0.04);
}

.header-top {
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.logo-text:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header-nav {
  background: #fff;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 46px;
}

.nav-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 11px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px 8px 0 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-links a.active {
  color: var(--primary);
  font-weight: 600;
  border-bottom-color: var(--primary);
  background: transparent;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 4px 0 14px;
  height: 32px;
  width: 230px;
  transition: all 0.2s ease;
}

.search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  background: #fff;
}

.search-box input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 13px;
  color: var(--text);
  outline: none;
  min-width: 0;
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.search-box button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: 6px;
  transition: all 0.2s ease;
}

.search-box button:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.hot-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  white-space: nowrap;
}

.hot-label {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  background: #FEE2E2;
  color: var(--warning);
}

.hot-tags a {
  color: var(--text-muted);
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg);
  transition: all 0.2s ease;
}

.hot-tags a:hover {
  color: var(--primary);
  background: var(--primary-light);
}

/* ========== 面包屑 ========== */
.breadcrumb {
  padding: 24px 0 0;
}

.breadcrumb-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb-sep {
  color: var(--border);
}

.breadcrumb-current {
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 400px;
}

/* ========== 文章主体 ========== */
.article-main {
  padding: 0 0 64px;
}

.article-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
}

.article-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 48px 56px;
  margin-top: 24px;
  margin-bottom: 48px;
}

.article-header {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.article-header h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meta-item svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

.meta-item a {
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.2s ease;
}

.meta-item a:hover {
  color: var(--primary);
}

/* ========== 文章内容排版 ========== */
.article-content {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  word-break: break-word;
}

.article-content p {
  margin: 0 0 1.5em;
}

.article-content h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  margin: 40px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--primary);
  color: var(--text);
}

.article-content h3 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
  margin: 32px 0 12px;
  color: var(--text);
}

.article-content h4 {
  font-size: 17px;
  font-weight: 600;
  margin: 24px 0 10px;
  color: var(--text);
}

.article-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(37,99,235,0.3);
  transition: all 0.2s ease;
}

.article-content a:hover {
  color: var(--primary-hover);
  text-decoration-color: var(--primary);
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 28px 0;
  box-shadow: 0 6px 20px rgba(15,23,42,0.08);
}

.article-content blockquote {
  margin: 28px 0;
  padding: 18px 24px;
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 12px 12px 0;
  color: var(--text-secondary);
  font-style: normal;
}

.article-content blockquote p {
  margin: 0;
}

.article-content ul,
.article-content ol {
  margin: 0 0 24px;
  padding-left: 24px;
}

.article-content ul li,
.article-content ol li {
  margin-bottom: 8px;
}

.article-content ul li::marker {
  color: var(--primary);
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 14px;
  border-radius: 8px;
  overflow: hidden;
}

.article-content table th,
.article-content table td {
  border: 1px solid var(--border);
  padding: 10px 16px;
  text-align: left;
}

.article-content table th {
  background: var(--primary-light);
  font-weight: 600;
  color: var(--text);
}

.article-content table tr:nth-child(even) {
  background: #F8FAFC;
}

.article-content pre {
  background: var(--dark);
  color: #E2E8F0;
  padding: 20px 24px;
  border-radius: 12px;
  overflow-x: auto;
  margin: 28px 0;
  font-size: 14px;
  line-height: 1.7;
}

.article-content code {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  font-size: 14px;
  background: var(--primary-light);
  color: var(--primary-hover);
  padding: 2px 6px;
  border-radius: 4px;
}

.article-content pre code {
  background: transparent;
  color: inherit;
  padding: 0;
  border-radius: 0;
  font-size: inherit;
}

.article-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

.article-content video,
.article-content iframe {
  max-width: 100%;
  border-radius: 12px;
  margin: 24px 0;
}

/* ========== 空态 ========== */
.article-empty {
  text-align: center;
  padding: 60px 20px;
}

.empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.article-empty h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.article-empty p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 24px;
}

/* ========== 文章标签 ========== */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.article-tags .tag-label {
  font-size: 13px;
  color: var(--text-muted);
  padding: 5px 0;
  margin-right: 4px;
}

/* ========== 延伸阅读 ========== */
.related-section {
  padding: 0 0 64px;
}

.related-section .container {
  max-width: 1200px;
}

.section-head {
  margin-bottom: 32px;
}

.section-head h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.section-head p {
  color: var(--text-secondary);
  font-size: 14px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-card {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.3);
}

.related-img {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: var(--border);
}

.related-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.related-card:hover .related-img img {
  transform: scale(1.04);
}

.related-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(15,23,42,0.1);
}

.related-card:hover .related-badge {
  background: var(--primary);
  color: #fff;
}

.related-body {
  padding: 20px 24px 24px;
}

.related-body h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.5;
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-card:hover .related-body h3 {
  color: var(--primary);
}

.related-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  transition: all 0.2s ease;
}

.related-link svg {
  transition: transform 0.2s ease;
}

.related-card:hover .related-link svg {
  transform: translateX(3px);
}

/* ========== CTA 横幅 ========== */
.cta-banner {
  background: linear-gradient(135deg, rgba(37,99,235,0.93) 0%, rgba(29,79,196,0.95) 100%), url('/assets/images/backpic/back-1.webp') center/cover;
  padding: 72px 0;
  margin: 24px 0 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-text {
  flex: 1;
  min-width: 260px;
}

.cta-text h2 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.4;
}

.cta-text p {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 0;
}

.cta-inner .btn-light {
  flex-shrink: 0;
}

/* ========== 页脚 ========== */
.site-footer {
  background: var(--dark);
  color: #CBD5E1;
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand .logo-text {
  color: #F1F5F9;
}

.footer-brand .logo-icon {
  background: var(--primary);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: #94A3B8;
  max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 16px;
  font-weight: 600;
  color: #F1F5F9;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #94A3B8;
  font-size: 14px;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-contact p {
  font-size: 14px;
  color: #94A3B8;
  line-height: 2;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}

.footer-bottom p {
  font-size: 13px;
  color: #64748B;
  text-align: center;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .search-box {
    width: 200px;
  }
  .hot-tags a:nth-child(n+4) {
    display: none;
  }
  .article-card {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .header-inner {
    height: 52px;
  }

  .logo-text {
    font-size: 16px;
  }

  .header-actions .btn-outline,
  .header-actions .btn-primary {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-nav {
    position: relative;
  }

  .nav-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    gap: 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 16px;
    border-radius: 0;
    border-left: 3px solid transparent;
  }

  .nav-links a.active {
    border-left-color: var(--primary);
    background: var(--primary-light);
  }

  .nav-links a.active::after {
    display: none;
  }

  .search-box {
    width: 100%;
    margin: 8px 0;
    height: 36px;
  }

  .hot-tags {
    padding-bottom: 12px;
    flex-wrap: wrap;
  }

  .hot-tags a {
    font-size: 11px;
  }

  .breadcrumb {
    padding: 16px 0 0;
  }

  .breadcrumb-current {
    max-width: 160px;
  }

  .article-wrap {
    padding: 0 16px;
  }

  .article-card {
    padding: 28px 20px;
    border-radius: 14px;
    margin-top: 16px;
    margin-bottom: 32px;
  }

  .article-header h1 {
    font-size: 24px;
    line-height: 1.45;
  }

  .article-meta {
    gap: 12px;
    font-size: 12px;
  }

  .article-content {
    font-size: 16px;
    line-height: 1.85;
  }

  .article-content h2 {
    font-size: 20px;
  }

  .article-content h3 {
    font-size: 18px;
  }

  .article-content table {
    font-size: 13px;
  }

  .article-content blockquote {
    padding: 14px 16px;
  }

  .related-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .related-img {
    height: 160px;
  }

  .cta-banner {
    padding: 48px 0;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .cta-text h2 {
    font-size: 22px;
  }

  .cta-text p {
    font-size: 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand p {
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  .header-actions .btn-sm {
    padding: 6px 14px;
    font-size: 13px;
  }

  .nav-links a {
    font-size: 14px;
  }

  .hot-tags a:nth-child(n+3) {
    display: none;
  }

  .article-header h1 {
    font-size: 21px;
  }

  .article-meta {
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
  }

  .related-body {
    padding: 16px 18px 20px;
  }

  .related-body h3 {
    font-size: 16px;
  }

  .btn-lg {
    padding: 12px 28px;
    font-size: 15px;
  }
}

/* roulang page: category1 */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4fc4;
    --primary-darker: #173fb3;
    --primary-soft: #eff4ff;
    --gold: #e8a33d;
    --success: #16a34a;
    --warning: #dc2626;
    --bg: #f8fafc;
    --white: #ffffff;
    --text: #1e293b;
    --muted: #64748b;
    --faint: #94a3b8;
    --border: #e2e8f0;
    --dark: #0f172a;
    --dark-2: #1e293b;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 999px;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 8px 24px rgba(37, 99, 235, 0.08);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08);
    --container: 1200px;
  }

  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
  }

  img {
    max-width: 100%;
    display: block;
  }

  a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.15s;
  }

  a:hover {
    color: var(--primary-dark);
  }

  ul, ol {
    list-style: none;
  }

  button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
  }

  input, button {
    font-family: inherit;
  }

  a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
  }

  .container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
  }

  /* 按钮 */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: background 0.15s, box-shadow 0.15s, transform 0.15s, border-color 0.15s, color 0.15s;
    border: 1px solid transparent;
  }

  .btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 10px 22px;
    font-size: 14px;
  }

  .btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    color: #fff;
  }

  .btn-primary:active {
    background: var(--primary-darker);
    transform: translateY(1px);
  }

  .btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
    padding: 10px 22px;
    font-size: 14px;
  }

  .btn-outline:hover {
    background: var(--primary-soft);
    border-color: var(--primary-dark);
    color: var(--primary-dark);
  }

  .btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.75);
    padding: 12px 26px;
    font-size: 15px;
  }

  .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: #fff;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .btn-light {
    background: #fff;
    color: var(--primary);
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 500;
  }

  .btn-light:hover {
    background: var(--primary-soft);
    color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }

  .btn-sm {
    padding: 7px 16px;
    font-size: 13px;
  }

  .btn-lg {
    padding: 12px 26px;
    font-size: 15px;
  }

  /* 网站头部 */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.2s;
  }

  .site-header.scrolled {
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  }

  .header-top {
    background: var(--white);
  }

  .header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    gap: 16px;
  }

  .logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
  }

  .logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .header-login {
    font-size: 14px;
    color: var(--muted);
    padding: 8px 4px;
  }

  .header-login:hover {
    color: var(--primary);
  }

  .menu-toggle {
    display: none;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: box-shadow 0.15s;
  }

  .menu-toggle span {
    display: block;
    width: 16px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-bar {
    background: var(--white);
    border-top: 1px solid var(--border);
  }

  .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    gap: 20px;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
  }

  .nav-links a {
    display: inline-block;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    padding: 14px 2px 12px;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
  }

  .nav-links a:hover {
    color: var(--primary);
  }

  .nav-links a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
  }

  .nav-tools {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .search-box {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    overflow: hidden;
    background: #fff;
    height: 34px;
    padding-left: 14px;
    transition: border-color 0.15s, box-shadow 0.15s;
  }

  .search-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  }

  .search-box input {
    border: none;
    outline: none;
    font-size: 13px;
    color: var(--text);
    width: 150px;
    background: transparent;
  }

  .search-box input::placeholder {
    color: var(--faint);
  }

  .search-box button {
    border: none;
    background: transparent;
    color: var(--faint);
    padding: 0 12px;
    height: 34px;
    display: flex;
    align-items: center;
    transition: color 0.15s;
  }

  .search-box button:hover {
    color: var(--primary);
  }

  .hot-tags {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
  }

  .hot-label {
    background: var(--gold);
    color: #fff;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
  }

  .hot-tags a {
    font-size: 13px;
    color: var(--muted);
    background: var(--primary-soft);
    border-radius: var(--radius-full);
    padding: 4px 12px;
    transition: background 0.15s, color 0.15s;
  }

  .hot-tags a:hover {
    background: var(--primary);
    color: #fff;
  }

  /* 横幅区 */
  .page-banner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 400px;
    padding: 72px 0;
    overflow: hidden;
    background: var(--dark);
  }

  .banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
  }

  .banner-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.82) 0%, rgba(30, 58, 138, 0.62) 50%, rgba(37, 99, 235, 0.25) 100%);
  }

  .banner-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 760px;
  }

  .banner-kicker {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: var(--gold);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    padding: 5px 16px;
    margin-bottom: 18px;
    letter-spacing: 0.02em;
  }

  .page-banner h1 {
    font-size: 36px;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
  }

  .banner-desc {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    margin-bottom: 24px;
  }

  .banner-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
  }

  .banner-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
  }

  .banner-tags span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-full);
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
  }

  /* 通用板块 */
  .section {
    padding: 72px 0;
  }

  .section-soft {
    background: var(--primary-soft);
  }

  .section-header {
    max-width: 720px;
    margin-bottom: 40px;
  }

  .section-header.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    background: var(--primary-soft);
    border-radius: var(--radius-full);
    padding: 4px 14px;
    margin-bottom: 12px;
  }

  .section-header h2 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
  }

  .section-header p {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.7;
  }

  .section-footer-link {
    text-align: center;
    margin-top: 28px;
  }

  /* 功能亮点卡片 */
  .feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, border-color 0.2s;
  }

  .feature-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.35);
  }

  .feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--primary-soft);
    border-radius: 12px;
    color: var(--primary);
    margin-bottom: 18px;
  }

  .feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
  }

  .feature-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--muted);
  }

  /* 流程步骤 */
  .step-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .step-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 22px 22px;
    transition: box-shadow 0.2s, transform 0.2s;
  }

  .step-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
  }

  .step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 14px;
  }

  .step-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
  }

  .step-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
  }

  /* 场景卡片 */
  .scene-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .scene-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, border-color 0.2s;
  }

  .scene-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.3);
  }

  .scene-img {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--border);
  }

  .scene-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
  }

  .scene-card:hover .scene-img img {
    transform: scale(1.03);
  }

  .scene-body {
    padding: 20px;
  }

  .badge {
    display: inline-flex;
    align-items: center;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 12px;
    font-weight: 500;
    border-radius: var(--radius-full);
    padding: 3px 10px;
    margin-bottom: 10px;
  }

  .scene-body h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
  }

  .scene-body p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 10px;
  }

  .text-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.15s, color 0.15s;
  }

  .text-link:hover {
    gap: 8px;
    color: var(--primary-dark);
  }

  /* 对比区域 */
  .compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 880px;
    margin: 0 auto;
  }

  .compare-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
  }

  .compare-card.highlight {
    border: 2px solid var(--primary);
    position: relative;
    background: var(--primary-soft);
  }

  .recommend-tag {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--gold);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 3px 12px;
    border-radius: var(--radius-full);
  }

  .compare-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
  }

  .compare-card ul {
    display: grid;
    gap: 10px;
  }

  .compare-card li {
    position: relative;
    padding-left: 22px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
  }

  .compare-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
  }

  .compare-card.highlight li::before {
    background: var(--primary);
  }

  /* FAQ */
  .faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
  }

  .faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s, border-color 0.2s;
  }

  .faq-item.active {
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.3);
  }

  .faq-question {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 18px 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    transition: background 0.15s;
  }

  .faq-question:hover {
    background: var(--primary-soft);
  }

  .faq-item.active .faq-question {
    background: var(--primary-soft);
  }

  .faq-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background 0.2s, color 0.2s;
    font-size: 14px;
  }

  .faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: var(--primary);
    color: #fff;
  }

  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .faq-item.active .faq-answer {
    max-height: 400px;
  }

  .faq-answer-inner {
    padding: 0 24px 18px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.75;
  }

  /* CTA */
  .cta-section {
    padding: 72px 0;
  }

  .cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
    border-radius: 24px;
    padding: 48px 40px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
  }

  .cta-box h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
  }

  .cta-box p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
  }

  .cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .cta-back {
    margin-top: 20px;
    font-size: 14px;
  }

  .cta-back a {
    color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  }

  .cta-back a:hover {
    color: #fff;
    border-color: #fff;
  }

  /* 页脚 */
  .site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 48px 0 24px;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.4fr;
    gap: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-brand .logo {
    margin-bottom: 12px;
  }

  .footer-brand .logo-text {
    color: #fff;
  }

  .footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    max-width: 320px;
    color: rgba(255, 255, 255, 0.65);
  }

  .footer-links h4,
  .footer-contact h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
  }

  .footer-links ul {
    display: grid;
    gap: 10px;
  }

  .footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: color 0.15s;
  }

  .footer-links a:hover {
    color: var(--primary);
  }

  .footer-contact p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
  }

  .footer-bottom {
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
  }

  /* 响应式 */
  @media (max-width: 1023px) {
    .menu-toggle {
      display: flex;
    }

    .nav-bar {
      display: none;
    }

    .nav-bar.open {
      display: block;
      border-top: 1px solid var(--border);
    }

    .nav-container {
      flex-direction: column;
      align-items: stretch;
      padding: 16px 0;
      gap: 16px;
    }

    .nav-links {
      flex-direction: column;
      gap: 2px;
    }

    .nav-links a {
      padding: 10px 0;
      border-bottom: none;
      border-left: 2px solid transparent;
      padding-left: 12px;
    }

    .nav-links a.active {
      border-left-color: var(--primary);
    }

    .nav-tools {
      flex-direction: column;
      align-items: stretch;
      gap: 12px;
    }

    .search-box {
      width: 100%;
    }

    .search-box input {
      width: 100%;
    }

    .hot-tags {
      flex-wrap: wrap;
    }

    .feature-grid,
    .scene-grid {
      grid-template-columns: 1fr 1fr;
    }

    .step-grid {
      grid-template-columns: 1fr 1fr;
    }

    .compare-grid {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 767px) {
    .container {
      padding: 0 16px;
    }

    .page-banner {
      min-height: 520px;
      padding: 56px 0;
      align-items: flex-start;
    }

    .page-banner h1 {
      font-size: 26px;
    }

    .banner-desc {
      font-size: 15px;
    }

    .section {
      padding: 48px 0;
    }

    .section-header h2 {
      font-size: 22px;
    }

    .feature-grid,
    .scene-grid {
      grid-template-columns: 1fr;
    }

    .step-grid {
      grid-template-columns: 1fr;
    }

    .footer-grid {
      grid-template-columns: 1fr;
      gap: 28px;
    }

    .cta-box {
      padding: 32px 24px;
    }

    .banner-actions .btn {
      width: 100%;
    }
  }

/* roulang page: category2 */
:root {
  --primary: #2563EB;
  --primary-hover: #1D4FC4;
  --primary-active: #1A44A8;
  --primary-soft: #EFF4FF;
  --gold: #D98E2B;
  --gold-soft: #FDF3E3;
  --green: #16A34A;
  --red: #DC2626;
  --bg: #F8FAFC;
  --card: #FFFFFF;
  --text: #1E293B;
  --text-secondary: #64748B;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --dark: #1E293B;
  --dark-deep: #0F172A;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 10px;
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(37, 99, 235, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-btn: 0 4px 12px rgba(37, 99, 235, 0.2);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif; font-size: 16px; line-height: 1.75; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-hover); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-tag { display: inline-block; font-size: 13px; font-weight: 500; color: var(--primary); background: var(--primary-soft); border-radius: 999px; padding: 4px 16px; margin-bottom: 16px; }
.section-title { font-size: 28px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 12px; }
.section-sub { font-size: 16px; color: var(--text-secondary); max-width: 640px; margin: 0 auto; }

/* ===== Header ===== */
.site-header { background: var(--card); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; width: 100%; }
.header-main { display: flex; align-items: center; justify-content: space-between; height: 56px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
.logo:hover { color: var(--text); }
.logo-icon { width: 36px; height: 36px; background: var(--primary); color: #fff; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; }
.logo-text { font-size: 18px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); font-weight: 500; padding: 10px 24px; transition: all .15s; border: 1px solid transparent; font-size: 14px; line-height: 1.5; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; box-shadow: var(--shadow-btn); }
.btn-primary:active { background: var(--primary-active); transform: translateY(1px); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-soft); border-color: var(--primary-hover); color: var(--primary-hover); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--primary-soft); color: var(--primary-hover); box-shadow: var(--shadow-md); }
.btn-link { background: transparent; color: var(--primary); border: none; padding: 6px 8px; font-size: 14px; border-radius: 8px; }
.btn-link:hover { background: var(--primary-soft); color: var(--primary-hover); }
.btn-sm { padding: 6px 16px; font-size: 13px; border-radius: 8px; }
.auth-link { font-size: 14px; font-weight: 500; color: var(--text-secondary); padding: 6px 4px; }
.auth-link:hover { color: var(--primary); }
.menu-toggle { display: none; background: none; border: none; padding: 6px; border-radius: 8px; color: var(--text); }
.menu-toggle:hover { background: var(--primary-soft); }

.nav-bar { display: flex; align-items: center; gap: 24px; padding: 8px 0 12px; flex-wrap: wrap; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--text-secondary); padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--primary); }
.nav-links a.active { color: var(--primary); border-bottom-color: var(--primary); }
.search-box { display: flex; align-items: center; margin-left: auto; }
.search-box input { width: 220px; height: 36px; border: 1px solid var(--border); border-right: none; border-radius: 10px 0 0 10px; padding: 0 14px; font-size: 13px; background: var(--bg); outline: none; transition: border-color .2s; }
.search-box input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15); }
.search-box input::placeholder { color: var(--text-muted); }
.search-box button { height: 36px; width: 38px; background: var(--primary); border: 1px solid var(--primary); border-radius: 0 10px 10px 0; color: #fff; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.search-box button:hover { background: var(--primary-hover); }
.hot-tags { display: flex; align-items: center; gap: 8px; }
.hot-label { font-size: 12px; font-weight: 700; color: #fff; background: #EF4444; border-radius: 4px; padding: 1px 6px; }
.hot-tags a { font-size: 12px; color: var(--text-secondary); background: #F1F5F9; border-radius: 999px; padding: 3px 12px; transition: all .2s; }
.hot-tags a:hover { background: var(--primary-soft); color: var(--primary); }

/* ===== Hero ===== */
.page-hero { position: relative; background: url('/assets/images/backpic/back-2.png') center/cover no-repeat; padding: 80px 0 88px; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(248,250,252,0.96) 0%, rgba(248,250,252,0.85) 45%, rgba(248,250,252,0.65) 100%); z-index: 1; }
.page-hero .container { position: relative; z-index: 2; }
.hero-breadcrumb { font-size: 13px; color: var(--text-secondary); margin-bottom: 20px; }
.hero-breadcrumb a { color: var(--text-muted); }
.hero-breadcrumb a:hover { color: var(--primary); }
.hero-breadcrumb span { margin: 0 8px; color: var(--text-muted); }
.page-hero h1 { font-size: 38px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 16px; line-height: 1.3; }
.page-hero h1 .highlight { color: var(--primary); }
.page-hero .hero-desc { font-size: 18px; color: var(--text-secondary); max-width: 560px; margin-bottom: 32px; line-height: 1.7; }
.hero-countdown-wrap { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.countdown-box { display: flex; align-items: center; gap: 12px; background: var(--card); border-radius: var(--radius-md); box-shadow: var(--shadow-md); padding: 14px 20px; }
.countdown-label { font-size: 13px; color: var(--text-secondary); }
.countdown-nums { display: flex; gap: 6px; font-size: 22px; font-weight: 700; color: var(--primary); font-feature-settings: "tnum"; }
.countdown-nums span { background: var(--primary-soft); border-radius: 8px; padding: 2px 8px; min-width: 36px; text-align: center; }
.countdown-nums .colon { background: none; padding: 0; min-width: auto; color: var(--primary); }

/* ===== Activity Cards ===== */
.activities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.activity-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all .2s; box-shadow: var(--shadow-xs); display: flex; flex-direction: column; }
.activity-card:hover { box-shadow: var(--shadow-md); border-color: rgba(37,99,235,0.3); transform: translateY(-4px); }
.activity-card .card-media { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.activity-card .card-media img { width: 100%; height: 100%; object-fit: cover; }
.activity-card .card-media .badge { position: absolute; top: 14px; left: 14px; background: var(--gold); color: #fff; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 3px 12px; }
.activity-card .card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.activity-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.activity-card .card-text { font-size: 14px; color: var(--text-secondary); margin-bottom: 16px; line-height: 1.65; flex: 1; }
.card-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.card-meta .tag { background: var(--primary-soft); color: var(--primary); border-radius: 999px; padding: 2px 10px; font-size: 12px; }
.card-meta .tag.gold { background: var(--gold-soft); color: var(--gold); }
.card-link { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; color: var(--primary); transition: gap .2s; }
.card-link:hover { gap: 8px; }

/* ===== Hot Event / Countdown Section ===== */
.hot-event { background: linear-gradient(135deg, var(--dark) 0%, var(--dark-deep) 100%); color: #E2E8F0; border-radius: var(--radius-lg); padding: 48px; position: relative; overflow: hidden; }
.hot-event::after { content: ""; position: absolute; top: -60px; right: -60px; width: 220px; height: 220px; background: rgba(37,99,235,0.25); border-radius: 50%; }
.hot-event-grid { display: flex; gap: 48px; align-items: center; position: relative; z-index: 2; }
.hot-event-left { flex: 1; }
.hot-event-left .event-tag { display: inline-block; background: rgba(37,99,235,0.3); color: #93C5FD; font-size: 13px; border-radius: 999px; padding: 4px 14px; margin-bottom: 16px; }
.hot-event-left h2 { font-size: 26px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.hot-event-left p { font-size: 14px; color: #94A3B8; margin-bottom: 24px; max-width: 360px; }
.hot-event-right { flex: 0 0 auto; text-align: center; }
.hot-event-right .event-date { font-size: 13px; color: #94A3B8; margin-bottom: 12px; }
.hot-event-right .event-time { font-size: 40px; font-weight: 700; color: #fff; font-feature-settings: "tnum"; letter-spacing: 2px; }
.hot-event-right .event-time small { font-size: 16px; color: #94A3B8; font-weight: 400; }
.event-prize { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.event-prize span { background: rgba(37,99,235,0.2); border: 1px solid rgba(37,99,235,0.3); color: #BFDBFE; border-radius: 999px; padding: 6px 16px; font-size: 13px; }

/* ===== Timeline ===== */
.timeline { position: relative; padding: 20px 0; max-width: 780px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 50%; transform: translateX(-50%); top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { display: flex; align-items: flex-start; margin-bottom: 40px; position: relative; }
.timeline-dot { width: 16px; height: 16px; background: var(--primary); border: 3px solid var(--primary-soft); border-radius: 50%; position: absolute; left: 50%; transform: translateX(-50%); top: 6px; z-index: 2; }
.timeline-dot.gold { background: var(--gold); border-color: var(--gold-soft); }
.timeline-content { width: calc(50% - 40px); padding: 20px 24px; background: var(--card); border-radius: var(--radius-md); box-shadow: var(--shadow-xs); border: 1px solid var(--border); }
.timeline-item:nth-child(odd) .timeline-content { margin-right: auto; margin-left: 0; }
.timeline-item:nth-child(even) .timeline-content { margin-left: auto; margin-right: 0; }
.timeline-content h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.timeline-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.timeline-date { font-size: 12px; color: var(--text-muted); display: block; margin-bottom: 8px; }

/* ===== Benefits Compare ===== */
.compare-wrap { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow-x: auto; box-shadow: var(--shadow-xs); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare-table th { background: var(--dark); color: #F1F5F9; font-size: 14px; font-weight: 600; padding: 14px 20px; text-align: center; }
.compare-table th:first-child { text-align: left; }
.compare-table td { padding: 14px 20px; font-size: 14px; border-bottom: 1px solid var(--border); color: var(--text-secondary); text-align: center; }
.compare-table tr:nth-child(even) td { background: #F8FAFC; }
.compare-table tr:hover td { background: var(--primary-soft); }
.compare-table td:first-child { font-weight: 500; color: var(--text); text-align: left; }
.compare-table .recommend { background: var(--gold-soft) !important; color: var(--gold); font-weight: 600; border-bottom: 2px solid var(--gold); }

/* ===== Rule Cards ===== */
.rules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rule-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; transition: all .2s; text-align: center; }
.rule-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.rule-icon { width: 52px; height: 52px; background: var(--primary-soft); color: var(--primary); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 24px; }
.rule-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.rule-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 12px; overflow: hidden; transition: box-shadow .2s; }
.faq-item.active { box-shadow: var(--shadow-md); border-color: rgba(37,99,235,0.3); }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; cursor: pointer; transition: background .2s; }
.faq-question:hover { background: var(--primary-soft); }
.faq-item.active .faq-question { background: var(--primary-soft); }
.faq-question h3 { font-size: 16px; font-weight: 500; color: var(--text); }
.faq-toggle { width: 24px; height: 24px; border-radius: 50%; background: var(--border); color: var(--text-secondary); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 400; transition: all .2s; flex-shrink: 0; }
.faq-item.active .faq-toggle { background: var(--primary); color: #fff; transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-answer-inner { padding: 0 24px 20px; font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ===== CTA ===== */
.cta-section { background: linear-gradient(135deg, var(--primary) 0%, #3B82F6 100%); border-radius: var(--radius-lg); padding: 56px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-section::before { content: ""; position: absolute; top: -50px; right: -30px; width: 200px; height: 200px; background: rgba(255,255,255,0.1); border-radius: 50%; }
.cta-section::after { content: ""; position: absolute; bottom: -60px; left: 20px; width: 160px; height: 160px; background: rgba(255,255,255,0.08); border-radius: 50%; }
.cta-section h2 { font-size: 28px; font-weight: 700; margin-bottom: 10px; position: relative; z-index: 2; }
.cta-section p { font-size: 15px; color: rgba(255,255,255,0.9); margin-bottom: 28px; position: relative; z-index: 2; }

/* ===== Footer ===== */
.site-footer { background: var(--dark); color: #94A3B8; margin-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; padding: 56px 0 32px; }
.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 320px; }
.footer-links h4, .footer-contact h4 { color: #F1F5F9; font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links a { color: #94A3B8; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-contact p { font-size: 14px; margin-bottom: 10px; color: #94A3B8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; font-size: 14px; color: #64748B; }

/* ===== Back to top ===== */
.back-top { position: fixed; bottom: 24px; right: 24px; width: 42px; height: 42px; border-radius: 12px; background: var(--primary); color: #fff; border: none; display: flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: var(--shadow-btn); opacity: 0; visibility: hidden; transition: all .3s; z-index: 99; }
.back-top.visible { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--primary-hover); }

/* ===== Responsive ===== */
@media (max-width: 1023px) {
  .activities-grid, .rules-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-bar { gap: 16px; }
  .nav-links { gap: 18px; }
  .hot-tags { display: none; }
  .search-box { margin-left: auto; }
  .search-box input { width: 180px; }
  .hot-event-grid { flex-direction: column; gap: 24px; text-align: center; }
  .hot-event-left p { margin-left: auto; margin-right: auto; }
  .timeline::before { left: 24px; }
  .timeline-dot { left: 24px; }
  .timeline-content { width: calc(100% - 56px); margin-left: 56px !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .section-title { font-size: 22px; }
  .header-main { height: 52px; }
  .menu-toggle { display: flex; }
  .nav-bar { flex-direction: column; align-items: stretch; gap: 12px; padding: 0 0 16px; display: none; }
  .nav-bar.open { display: flex; }
  .nav-links { flex-direction: column; gap: 4px; }
  .nav-links a { padding: 8px 0; border-bottom: 1px solid var(--border); }
  .nav-links a.active { border-bottom-color: var(--primary); }
  .search-box { display: flex; width: 100%; }
  .search-box input { flex: 1; width: auto; }
  .hot-tags { display: flex; flex-wrap: wrap; gap: 6px; }
  .logo-text { font-size: 16px; }
  .logo-icon { width: 32px; height: 32px; font-size: 16px; }
  .page-hero { padding: 48px 0 56px; }
  .page-hero h1 { font-size: 26px; }
  .page-hero .hero-desc { font-size: 15px; }
  .countdown-box { padding: 12px 16px; }
  .countdown-nums { font-size: 18px; }
  .activities-grid { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: 1fr; }
  .timeline-content { padding: 16px 18px; }
  .hot-event { padding: 32px 24px; }
  .hot-event-left h2 { font-size: 20px; }
  .cta-section { padding: 40px 24px; }
  .cta-section h2 { font-size: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 40px 0 24px; }
  .footer-bottom { font-size: 12px; }
}

@media (max-width: 520px) {
  .header-actions .btn-sm { display: none; }
  .page-hero { background-position: 60% center; }
  .page-hero::before { background: linear-gradient(90deg, rgba(248,250,252,0.98) 0%, rgba(248,250,252,0.9) 60%, rgba(248,250,252,0.75) 100%); }
  .hero-countdown-wrap { flex-direction: column; align-items: flex-start; }
  .event-prize span { font-size: 12px; }
}

/* roulang page: category3 */
:root{
  --primary:#2563EB;
  --primary-dark:#1D4FC4;
  --primary-darker:#1E40AF;
  --primary-soft:#EFF4FF;
  --gold:#E8A33D;
  --gold-dark:#D98E2B;
  --gold-soft:#FDF3E3;
  --success:#16A34A;
  --warning:#DC2626;
  --bg:#F8FAFC;
  --card:#FFFFFF;
  --text:#1E293B;
  --text-secondary:#64748B;
  --text-light:#94A3B8;
  --border:#E2E8F0;
  --footer-bg:#0F172A;
  --footer-text:#F1F5F9;
  --radius-lg:16px;
  --radius-md:12px;
  --radius-sm:10px;
  --shadow-sm:0 1px 3px rgba(0,0,0,0.04);
  --shadow-md:0 8px 24px rgba(37,99,235,0.08);
  --shadow-lg:0 12px 32px rgba(15,23,42,0.08);
  --container:1200px;
  --gap:24px;
  --header-h:56px;
  --nav-h:52px;
}
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans SC",sans-serif;
  font-size:16px;line-height:1.75;color:var(--text);background:var(--bg);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:var(--primary);text-decoration:none;transition:color .2s ease;}
a:hover{color:var(--primary-dark);}
ul,ol{list-style:none;}
button{font-family:inherit;cursor:pointer;border:none;background:none;}
input,textarea{font-family:inherit;font-size:14px;}

.container{max-width:var(--container);margin:0 auto;padding:0 24px;}
@media (max-width:768px){.container{padding:0 16px;}}

/* ===== Header ===== */
.site-header{
  position:sticky;top:0;z-index:100;
  background:var(--card);
  border-bottom:1px solid var(--border);
  box-shadow:0 1px 4px rgba(15,23,42,0.03);
  transition:box-shadow .3s ease;
}
.site-header.scrolled{box-shadow:0 4px 16px rgba(15,23,42,0.06);}
.header-top{
  height:var(--header-h);
  border-bottom:1px solid #F1F5F9;
  background:var(--card);
}
.header-top-inner{
  height:100%;display:flex;align-items:center;justify-content:space-between;
}
.logo{display:inline-flex;align-items:center;gap:10px;font-weight:700;font-size:20px;color:var(--text);}
.logo-icon{
  width:36px;height:36px;border-radius:10px;background:var(--primary);
  color:#fff;display:flex;align-items:center;justify-content:center;
  font-size:18px;font-weight:700;flex-shrink:0;
  box-shadow:0 4px 12px rgba(37,99,235,0.2);
}
.logo-text{font-size:19px;letter-spacing:0.01em;}
.header-actions{display:flex;align-items:center;gap:12px;}
.btn-login{
  font-size:14px;color:var(--text-secondary);padding:8px 4px;font-weight:500;
}
.btn-login:hover{color:var(--primary);}
.btn-register{
  font-size:14px;font-weight:500;color:#fff;background:var(--primary);
  padding:8px 20px;border-radius:var(--radius-sm);transition:all .15s ease;
  box-shadow:0 2px 8px rgba(37,99,235,0.18);
}
.btn-register:hover{background:var(--primary-dark);color:#fff;box-shadow:0 4px 12px rgba(37,99,235,0.25);}
.btn-register:active{background:var(--primary-darker);transform:translateY(1px);}
.menu-toggle{
  display:none;flex-direction:column;gap:5px;padding:8px;border-radius:8px;
}
.menu-toggle span{width:22px;height:2px;background:var(--text);border-radius:2px;transition:all .3s ease;}
.menu-toggle.open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.menu-toggle.open span:nth-child(2){opacity:0;}
.menu-toggle.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

.nav-wrap{
  background:var(--card);
  position:relative;
}
.nav-inner{display:flex;align-items:center;gap:20px;min-height:var(--nav-h);flex-wrap:wrap;}
.nav-bar{display:flex;align-items:center;gap:28px;flex:1;min-height:var(--nav-h);}
.nav-links{display:flex;align-items:center;gap:4px;}
.nav-links a{
  display:inline-block;padding:10px 14px;font-size:15px;font-weight:500;
  color:var(--text-secondary);border-radius:8px;position:relative;
  transition:color .2s ease,background .2s ease;
}
.nav-links a:hover{color:var(--primary);background:var(--primary-soft);}
.nav-links a.active{color:var(--primary);font-weight:600;}
.nav-links a.active::after{
  content:"";position:absolute;left:14px;right:14px;bottom:2px;height:3px;
  background:var(--primary);border-radius:3px;
}
.search-box{
  display:flex;align-items:center;background:var(--bg);
  border:1px solid var(--border);border-radius:999px;
  padding:0 6px 0 16px;height:38px;width:220px;
  transition:border-color .2s ease,box-shadow .2s ease;
}
.search-box:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px rgba(37,99,235,0.15);}
.search-box input{
  flex:1;border:none;outline:none;background:transparent;font-size:13px;
  color:var(--text);width:100%;
}
.search-box input::placeholder{color:var(--text-light);}
.search-box button{
  width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  color:var(--text-secondary);flex-shrink:0;transition:background .2s,color .2s;
}
.search-box button:hover{background:var(--primary);color:#fff;}
.hot-tags{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.hot-label{
  background:#FEE2E2;color:#DC2626;font-size:12px;font-weight:600;
  padding:2px 8px;border-radius:999px;line-height:1.4;
}
.hot-tags a{
  font-size:13px;color:var(--text-secondary);background:var(--bg);
  border:1px solid var(--border);padding:3px 12px;border-radius:999px;
  transition:all .2s ease;white-space:nowrap;
}
.hot-tags a:hover{color:var(--primary);border-color:var(--primary);background:var(--primary-soft);}

/* ===== Hero ===== */
.benefits-hero{
  position:relative;background:url('/assets/images/backpic/back-2.png') center/cover no-repeat;
  padding:90px 0 100px;overflow:hidden;
}
.benefits-hero::before{
  content:"";position:absolute;inset:0;background:linear-gradient(100deg,rgba(241,245,249,0.95) 0%,rgba(248,250,252,0.85) 45%,rgba(248,250,252,0.4) 100%);
}
.benefits-hero .container{position:relative;z-index:2;}
.hero-badge{
  display:inline-flex;align-items:center;gap:8px;background:var(--gold-soft);
  color:var(--gold-dark);font-size:13px;font-weight:600;padding:6px 16px;border-radius:999px;
  margin-bottom:20px;border:1px solid rgba(232,163,61,0.25);
}
.hero-badge::before{
  content:"";width:8px;height:8px;border-radius:50%;background:var(--gold);
  box-shadow:0 0 0 3px rgba(232,163,61,0.2);
}
.benefits-hero h1{
  font-size:38px;font-weight:700;line-height:1.3;color:var(--text);
  max-width:600px;letter-spacing:-0.01em;margin-bottom:16px;
}
.benefits-hero h1 .highlight{color:var(--primary);position:relative;}
.benefits-hero .hero-sub{
  font-size:18px;color:var(--text-secondary);max-width:500px;line-height:1.8;margin-bottom:32px;
}
.hero-cta{display:flex;gap:16px;flex-wrap:wrap;}
.btn-primary{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  background:var(--primary);color:#fff;font-size:15px;font-weight:600;
  padding:13px 28px;border-radius:10px;transition:all .15s ease;
  box-shadow:0 4px 14px rgba(37,99,235,0.25);border:none;
}
.btn-primary:hover{background:var(--primary-dark);color:#fff;box-shadow:0 6px 18px rgba(37,99,235,0.3);transform:translateY(-1px);}
.btn-primary:active{background:var(--primary-darker);transform:translateY(1px);box-shadow:0 2px 8px rgba(37,99,235,0.2);}
.btn-outline{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  background:#fff;color:var(--primary);font-size:15px;font-weight:500;
  padding:12px 26px;border-radius:10px;border:1px solid var(--primary);
  transition:all .15s ease;
}
.btn-outline:hover{background:var(--primary-soft);border-color:var(--primary-dark);color:var(--primary-dark);transform:translateY(-1px);}
.btn-outline:active{transform:translateY(1px);}
.hero-metrics{
  display:flex;gap:0;margin-top:48px;background:rgba(255,255,255,0.9);
  border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:20px 28px;max-width:540px;box-shadow:var(--shadow-sm);
  backdrop-filter:blur(6px);
}
.metric-item{
  flex:1;text-align:center;position:relative;
}
.metric-item + .metric-item::before{
  content:"";position:absolute;left:0;top:20%;bottom:20%;width:1px;background:var(--border);
}
.metric-num{
  font-size:28px;font-weight:700;color:var(--text);line-height:1.3;
  font-feature-settings:"tnum";
}
.metric-num span{color:var(--primary);}
.metric-label{font-size:13px;color:var(--text-light);margin-top:2px;}

/* ===== Section common ===== */
.section{padding:72px 0;}
.section-alt{background:#fff;border-top:1px solid var(--border);border-bottom:1px solid var(--border);}
.section-head{text-align:center;margin-bottom:48px;}
.section-head .tag{
  display:inline-block;font-size:13px;font-weight:600;color:var(--primary);
  background:var(--primary-soft);padding:5px 16px;border-radius:999px;margin-bottom:12px;
}
.section-head h2{font-size:28px;font-weight:600;color:var(--text);margin-bottom:10px;letter-spacing:-0.01em;}
.section-head p{font-size:15px;color:var(--text-secondary);max-width:560px;margin:0 auto;}

/* ===== Benefits Grid ===== */
.benefits-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;}
.benefit-card{
  background:var(--card);border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:32px 24px;text-align:center;transition:all .2s ease;position:relative;overflow:hidden;
}
.benefit-card::before{
  content:"";position:absolute;top:0;left:0;right:0;height:3px;background:transparent;
  transition:background .3s ease;
}
.benefit-card:hover{
  transform:translateY(-4px);box-shadow:var(--shadow-md);border-color:rgba(37,99,235,0.3);
}
.benefit-card:hover::before{background:var(--primary);}
.benefit-icon{
  width:60px;height:60px;border-radius:16px;background:var(--primary-soft);
  display:flex;align-items:center;justify-content:center;margin:0 auto 20px;color:var(--primary);
}
.benefit-card h3{font-size:17px;font-weight:600;color:var(--text);margin-bottom:10px;}
.benefit-card p{font-size:14px;color:var(--text-secondary);line-height:1.7;}

/* ===== Activity Cards ===== */
.activity-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.activity-card{
  background:var(--card);border:1px solid var(--border);border-radius:var(--radius-lg);
  overflow:hidden;transition:all .25s ease;display:flex;flex-direction:column;
}
.activity-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);border-color:rgba(37,99,235,0.3);}
.activity-thumb{position:relative;aspect-ratio:16/9;overflow:hidden;}
.activity-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease;}
.activity-card:hover .activity-thumb img{transform:scale(1.04);}
.activity-thumb .activity-tag{
  position:absolute;top:14px;left:14px;background:rgba(255,255,255,0.92);
  color:var(--primary);font-size:12px;font-weight:600;padding:4px 12px;border-radius:999px;
  box-shadow:0 2px 8px rgba(0,0,0,0.08);
}
.activity-thumb .activity-hot{
  position:absolute;top:14px;right:14px;background:var(--gold);
  color:#fff;font-size:12px;font-weight:600;padding:4px 12px;border-radius:999px;
  box-shadow:0 2px 8px rgba(0,0,0,0.12);
}
.activity-body{padding:24px;display:flex;flex-direction:column;flex:1;}
.activity-body h3{font-size:18px;font-weight:600;color:var(--text);margin-bottom:10px;}
.activity-body p{font-size:14px;color:var(--text-secondary);line-height:1.75;flex:1;}
.activity-meta{
  display:flex;align-items:center;justify-content:space-between;margin-top:16px;
  padding-top:14px;border-top:1px solid #F1F5F9;
}
.activity-date{font-size:13px;color:var(--text-light);}
.activity-link{font-size:14px;font-weight:500;color:var(--primary);display:inline-flex;align-items:center;gap:4px;transition:gap .2s;}
.activity-link:hover{gap:8px;color:var(--primary-dark);}

/* ===== Timeline ===== */
.timeline-section{background:var(--footer-bg);color:var(--footer-text);}
.timeline-section .section-head h2{color:#fff;}
.timeline-section .section-head p{color:#94A3B8;}
.timeline-section .section-head .tag{background:rgba(255,255,255,0.1);color:var(--gold);}
.timeline-wrap{
  display:grid;grid-template-columns:repeat(4,1fr);gap:24px;position:relative;margin-top:16px;
}
.timeline-item{
  background:rgba(255,255,255,0.05);border:1px solid rgba(255,255,255,0.08);
  border-radius:var(--radius-lg);padding:28px 24px;position:relative;transition:all .2s ease;
}
.timeline-item:hover{background:rgba(255,255,255,0.08);transform:translateY(-3px);}
.timeline-badge{
  width:42px;height:42px;border-radius:12px;background:var(--primary);
  display:flex;align-items:center;justify-content:center;font-size:18px;
  margin-bottom:18px;box-shadow:0 4px 12px rgba(37,99,235,0.3);
}
.timeline-item:nth-child(2) .timeline-badge{background:var(--gold);box-shadow:0 4px 12px rgba(232,163,61,0.3);}
.timeline-item:nth-child(3) .timeline-badge{background:var(--success);box-shadow:0 4px 12px rgba(22,163,74,0.3);}
.timeline-item:nth-child(4) .timeline-badge{background:#7C3AED;box-shadow:0 4px 12px rgba(124,58,237,0.3);}
.timeline-item h3{font-size:16px;font-weight:600;color:#fff;margin-bottom:10px;}
.timeline-item p{font-size:14px;color:#94A3B8;line-height:1.7;}

/* ===== Rules ===== */
.rules-wrap{
  display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start;
}
.rules-card{
  background:var(--card);border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:32px;box-shadow:var(--shadow-sm);
}
.rules-card h3{
  font-size:18px;font-weight:600;color:var(--text);margin-bottom:20px;
  display:flex;align-items:center;gap:10px;
}
.rules-card h3 .icons{
  width:28px;height:28px;border-radius:8px;background:var(--primary-soft);
  color:var(--primary);display:flex;align-items:center;justify-content:center;font-size:14px;
}
.rules-list li{
  display:flex;gap:14px;padding:14px 0;border-bottom:1px solid #F1F5F9;font-size:15px;color:var(--text-secondary);
}
.rules-list li:last-child{border-bottom:none;}
.rules-list li::before{
  content:"";flex-shrink:0;width:6px;height:6px;border-radius:50%;
  background:var(--primary);margin-top:10px;
}
.rules-note{
  background:var(--gold-soft);border:1px solid rgba(232,163,61,0.3);
  border-radius:var(--radius-md);padding:20px 24px;margin-top:24px;
  font-size:14px;color:#92400E;line-height:1.8;
}
.rules-note strong{color:var(--gold-dark);}
.rules-image{
  border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-md);
  position:sticky;top:120px;
}
.rules-image img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/3;}
.rules-image .image-caption{
  background:rgba(15,23,42,0.8);color:#fff;font-size:13px;
  padding:12px 20px;text-align:center;backdrop-filter:blur(4px);
}

/* ===== FAQ ===== */
.faq-wrap{max-width:780px;margin:0 auto;}
.faq-item{
  background:var(--card);border:1px solid var(--border);border-radius:var(--radius-md);
  margin-bottom:14px;overflow:hidden;transition:all .2s ease;
}
.faq-item.open{border-color:rgba(37,99,235,0.3);box-shadow:var(--shadow-sm);}
.faq-question{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:20px 24px;cursor:pointer;transition:background .2s ease;border-left:3px solid transparent;
}
.faq-item.open .faq-question{background:var(--primary-soft);border-left-color:var(--primary);}
.faq-question h3{font-size:16px;font-weight:600;color:var(--text);flex:1;}
.faq-icon{
  width:28px;height:28px;border-radius:50%;background:var(--bg);
  border:1px solid var(--border);display:flex;align-items:center;justify-content:center;
  font-size:16px;color:var(--text-secondary);flex-shrink:0;transition:all .3s ease;
}
.faq-item.open .faq-icon{transform:rotate(45deg);background:var(--primary);color:#fff;border-color:var(--primary);}
.faq-answer{
  max-height:0;overflow:hidden;transition:max-height .25s ease;
}
.faq-answer p{padding:0 24px 20px;font-size:14px;color:var(--text-secondary);line-height:1.8;}

/* ===== CTA ===== */
.cta-section{
  background:linear-gradient(120deg,var(--primary) 0%,var(--primary-dark) 100%);
  padding:64px 0;position:relative;overflow:hidden;
}
.cta-section::before{
  content:"";position:absolute;top:-40%;right:-10%;width:400px;height:400px;
  border-radius:50%;background:rgba(255,255,255,0.08);
}
.cta-section::after{
  content:"";position:absolute;bottom:-60%;left:10%;width:300px;height:300px;
  border-radius:50%;background:rgba(255,255,255,0.05);
}
.cta-section .container{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:40px;flex-wrap:wrap;}
.cta-content h2{font-size:26px;font-weight:600;color:#fff;margin-bottom:10px;}
.cta-content p{font-size:15px;color:rgba(255,255,255,0.85);}
.btn-light{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  background:#fff;color:var(--primary);font-size:15px;font-weight:600;
  padding:14px 32px;border-radius:10px;box-shadow:0 4px 16px rgba(0,0,0,0.12);
  transition:all .2s ease;white-space:nowrap;
}
.btn-light:hover{background:var(--primary-soft);transform:translateY(-1px);box-shadow:0 6px 20px rgba(0,0,0,0.16);color:var(--primary-dark);}
.btn-light:active{transform:translateY(1px);}

/* ===== Footer ===== */
.site-footer{
  background:var(--footer-bg);color:#94A3B8;padding:56px 0 0;
}
.footer-grid{
  display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:48px;padding-bottom:40px;
}
.footer-brand .logo{color:#fff;margin-bottom:16px;}
.footer-brand .logo-icon{background:var(--primary);}
.footer-brand p{font-size:14px;line-height:1.8;color:#64748B;max-width:340px;}
.footer-links h4,.footer-contact h4{
  font-size:15px;font-weight:600;color:#fff;margin-bottom:16px;
}
.footer-links ul li{margin-bottom:10px;}
.footer-links ul li a{font-size:14px;color:#94A3B8;transition:color .2s ease;}
.footer-links ul li a:hover{color:var(--primary);}
.footer-contact p{font-size:14px;line-height:2;color:#94A3B8;}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.08);padding:20px 0;
  text-align:center;font-size:13px;color:#64748B;
}
.footer-bottom p{margin:0;}

/* ===== Responsive ===== */
@media (max-width:1024px){
  .benefits-grid{grid-template-columns:repeat(2,1fr);}
  .activity-grid{grid-template-columns:repeat(2,1fr);}
  .timeline-wrap{grid-template-columns:repeat(2,1fr);}
  .rules-wrap{grid-template-columns:1fr;}
  .rules-image{position:static;margin-top:0;}
  .nav-bar{gap:16px;}
  .hot-tags{display:none;}
  .search-box{width:180px;}
  .footer-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:768px){
  .header-top{height:auto;padding:12px 0;}
  .menu-toggle{display:flex;}
  .header-actions .btn-login{display:none;}
  .nav-wrap{
    position:absolute;top:var(--header-h);left:0;right:0;
    background:var(--card);border-bottom:1px solid var(--border);
    max-height:0;overflow:hidden;transition:max-height .3s ease;
    box-shadow:0 8px 20px rgba(15,23,42,0.08);
  }
  .site-header.menu-open .nav-wrap{max-height:500px;}
  .nav-inner{flex-direction:column;align-items:stretch;padding:16px;gap:14px;}
  .nav-bar{flex-direction:column;align-items:stretch;gap:6px;}
  .nav-links{flex-direction:column;align-items:stretch;gap:2px;}
  .nav-links a{padding:12px 14px;font-size:15px;}
  .nav-links a.active::after{display:none;}
  .nav-links a.active{background:var(--primary-soft);}
  .search-box{width:100%;}
  .hot-tags{display:flex;padding-top:4px;}
  .benefits-hero{padding:60px 0 70px;}
  .benefits-hero h1{font-size:28px;}
  .benefits-hero .hero-sub{font-size:16px;}
  .hero-metrics{flex-direction:column;gap:16px;padding:20px;}
  .metric-item + .metric-item::before{display:none;}
  .benefits-grid{grid-template-columns:1fr;}
  .activity-grid{grid-template-columns:1fr;}
  .timeline-wrap{grid-template-columns:1fr;}
  .section{padding:48px 0;}
  .section-head h2{font-size:22px;}
  .benefits-hero h1{max-width:100%;}
  .rules-card{padding:24px;}
  .footer-grid{grid-template-columns:1fr;gap:32px;}
  .cta-section .container{flex-direction:column;text-align:center;}
  .btn-light{width:100%;}
}
@media (max-width:520px){
  .benefits-hero h1{font-size:24px;}
  .hero-cta{flex-direction:column;width:100%;}
  .hero-cta .btn-primary,.hero-cta .btn-outline{width:100%;}
  .logo-text{font-size:17px;}
}
