/* roulang page: index */
:root {
  --primary: #0f1923;
  --primary-2: #162332;
  --primary-3: #1d2b3a;
  --accent: #ff4655;
  --accent-2: #ff9e2c;
  --bg: #f3f6f9;
  --surface: #ffffff;
  --text: #182230;
  --text-light: #64748b;
  --border: #e7ebf0;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(15,25,35,0.06);
  --shadow-md: 0 8px 24px rgba(15,25,35,0.08);
  --shadow-lg: 0 18px 44px rgba(15,25,35,0.12);
  --sidebar-w: 280px;
  --transition: all 0.25s ease;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(255, 70, 85, 0.4);
  outline-offset: 3px;
  border-radius: 4px;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  width: 100%;
}

/* ===== 侧边导航 ===== */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: linear-gradient(175deg, var(--primary) 0%, #0b1219 100%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 32px 26px;
  overflow-y: auto;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.brand-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  box-shadow: 0 4px 14px rgba(255,70,85,0.35);
}

.brand-text {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.brand-sub {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: 1.5px;
  margin-top: 2px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  padding: 8px;
}

.side-nav {
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-label {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  padding: 0 14px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  color: rgba(255,255,255,0.68);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.nav-link i {
  width: 22px;
  text-align: center;
  font-size: 16px;
  color: rgba(255,255,255,0.45);
  transition: var(--transition);
}

.nav-link:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
}

.nav-link:hover i {
  color: var(--accent-2);
}

.nav-link.active {
  background: linear-gradient(105deg, rgba(255,70,85,0.16), rgba(255,158,44,0.10));
  color: #fff;
  border-color: rgba(255,70,85,0.35);
  box-shadow: 0 4px 14px rgba(255,70,85,0.08);
}

.nav-link.active i {
  color: var(--accent);
}

.sidebar-footer {
  margin-top: auto;
  padding: 18px 14px 4px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.status-card {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
}

/* ===== 主内容 ===== */
.main-content {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: url("/assets/images/backpic/back-1.png") no-repeat center center / cover;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(86deg, rgba(10,16,24,0.92) 0%, rgba(15,25,35,0.72) 50%, rgba(15,25,35,0.35) 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 70px;
  padding-bottom: 70px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,70,85,0.18);
  border: 1px solid rgba(255,70,85,0.45);
  color: #ff8a92;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 40px;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  letter-spacing: 1px;
  max-width: 600px;
  margin-bottom: 18px;
}

.hero h1 .highlight {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  max-width: 560px;
  color: rgba(255,255,255,0.78);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  gap: 28px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

.hero-meta-item i {
  color: var(--accent-2);
  font-size: 16px;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1.2;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 20px rgba(255,70,85,0.35);
}

.btn-primary:hover {
  background: #e33d4b;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255,70,85,0.4);
}

.btn-outline {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  backdrop-filter: blur(6px);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.16);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(15,25,35,0.22);
}

.btn-dark:hover {
  background: var(--primary-2);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(15,25,35,0.28);
}

/* ===== 板块 ===== */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  background: rgba(255,70,85,0.08);
  padding: 5px 16px;
  border-radius: 40px;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--text-light);
  font-size: 15px;
}

/* ===== 平台优势 ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255,70,85,0.2);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, rgba(255,70,85,0.12), rgba(255,158,44,0.12));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 22px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 20px rgba(255,70,85,0.25);
}

.feature-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.75;
}

/* ===== 分类卡片 ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.category-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: block;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.category-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card:hover img {
  transform: scale(1.04);
}

.category-body {
  padding: 26px 28px 30px;
}

.category-body h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-body h3 i {
  color: var(--accent);
  font-size: 16px;
}

.category-body p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
  transition: var(--transition);
}

.text-link i {
  transition: transform 0.25s ease;
}

.text-link:hover {
  color: var(--accent-2);
}

.text-link:hover i {
  transform: translateX(4px);
}

/* ===== 数据区 ===== */
.data-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 30px;
}

.data-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.panel-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--accent-2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.panel-head h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary);
}

.panel-extra {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-light);
  background: var(--bg);
  padding: 4px 12px;
  border-radius: 30px;
}

.rank-list {
  list-style: none;
}

.rank-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 6px;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  border-radius: 8px;
}

.rank-item:last-child {
  border-bottom: none;
}

.rank-item:hover {
  background: rgba(255,70,85,0.03);
}

.rank-num {
  width: 30px;
  font-weight: 900;
  font-size: 15px;
  color: var(--text-light);
}

.rank-item.rank-1 .rank-num {
  color: var(--accent);
  font-size: 18px;
}

.rank-item.rank-2 .rank-num {
  color: var(--accent-2);
}

.rank-team {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.team-icon {
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.team-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}

.rank-pts {
  font-weight: 800;
  font-size: 14px;
  color: var(--primary);
}

.rank-trend {
  color: #22c55e;
  font-size: 13px;
  width: 20px;
}

.rank-trend.down {
  color: #ef4444;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.stat-item {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255,70,85,0.2);
}

.stat-item strong {
  display: block;
  font-size: 30px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 6px;
}

.stat-item strong em {
  font-style: normal;
  color: var(--accent);
}

.stat-item span {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

/* ===== 最新信息 ===== */
.post-list {
  max-width: 820px;
  margin: 0 auto;
}

.post-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 34px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.post-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(255,70,85,0.18);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.post-meta time {
  font-size: 13px;
  color: var(--text-light);
}

.badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), #e33d4b);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 30px;
  letter-spacing: 0.5px;
}

.badge-secondary {
  background: rgba(255,158,44,0.15);
  color: #d67e14;
}

.post-item h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.45;
}

.post-item h3 a {
  transition: var(--transition);
}

.post-item h3 a:hover {
  color: var(--accent);
}

.post-item p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.empty-state {
  text-align: center;
  padding: 50px 30px;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-light);
  font-size: 15px;
}

/* ===== 流程 ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  counter-reset: step;
}

.step-item {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 32px 36px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
}

.step-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.step-item::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(255,70,85,0.06) 0%, transparent 70%);
}

.step-num {
  font-size: 44px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  display: block;
  margin-bottom: 18px;
}

.step-item h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

.step-item p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

.step-line {
  position: absolute;
  top: 66px;
  left: calc(100% - 15px);
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  z-index: 2;
}

.step-item:last-child .step-line {
  display: none;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
}

.faq-item:hover {
  border-color: rgba(255,70,85,0.18);
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  padding: 22px 30px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 13px;
  color: var(--accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item p {
  padding: 0 30px 24px;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.8;
}

/* ===== CTA ===== */
.cta-section {
  position: relative;
  padding: 92px 0;
  background: url("/assets/images/backpic/back-2.png") no-repeat center center / cover;
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(10,16,24,0.9) 0%, rgba(15,25,35,0.72) 60%, rgba(255,70,85,0.35) 100%);
}

.cta-section .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-section h2 {
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.cta-section p {
  max-width: 560px;
  margin: 0 auto 32px;
  color: rgba(255,255,255,0.8);
  font-size: 15px;
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand h3 {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: 1px;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  padding: 6px 0;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--accent-2);
  padding-left: 4px;
}

.footer-col p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  :root {
    --sidebar-w: 240px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .section {
    padding: 76px 0;
  }
  .feature-grid,
  .category-grid,
  .steps {
    gap: 20px;
  }
  .data-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    height: 64px;
    padding: 0 16px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .sidebar-top {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .mobile-toggle {
    display: block;
  }
  .side-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--primary);
    padding: 18px 20px;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
    z-index: 190;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .side-nav.show {
    display: flex;
  }
  .nav-label {
    display: none;
  }
  .nav-link {
    padding: 13px 16px;
  }
  .sidebar-footer {
    display: none;
  }
  .main-content {
    margin-left: 0;
    padding-top: 64px;
  }
  .hero {
    min-height: 480px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero-desc {
    font-size: 15px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn {
    width: auto;
    padding: 14px 26px;
  }
  .feature-grid,
  .category-grid,
  .steps {
    grid-template-columns: 1fr;
  }
  .feature-card,
  .category-card,
  .step-item {
    max-width: 100%;
  }
  .data-row {
    grid-template-columns: 1fr;
  }
  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .section {
    padding: 60px 0;
  }
  .section-head h2 {
    font-size: 28px;
  }
  .post-item {
    padding: 24px 22px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 28px;
  }
  .hero-meta {
    flex-direction: column;
    gap: 12px;
  }
  .stat-grid {
    grid-template-columns: 1fr;
  }
  .stat-item strong {
    font-size: 26px;
  }
  .section {
    padding: 48px 0;
  }
  .section-head h2 {
    font-size: 24px;
  }
  .btn {
    padding: 13px 22px;
    font-size: 14px;
  }
  .post-item h3 {
    font-size: 16px;
  }
  .footer-brand h3 {
    font-size: 19px;
  }
}

/* Foundation 覆盖 */
.button {
  margin-bottom: 0;
}

.grid-container {
  max-width: 1240px;
  padding-left: 28px;
  padding-right: 28px;
}

/* roulang page: category1 */
:root {
            --primary: #101d2d;
            --primary-light: #1b2d42;
            --accent: #d99a2b;
            --accent-hover: #b87f1e;
            --accent-light: #f5d79a;
            --bg: #f4f6f9;
            --bg-white: #ffffff;
            --bg-dark: #0b1420;
            --text: #16233a;
            --text-muted: #64748b;
            --border: #dde4ed;
            --radius: 14px;
            --radius-sm: 8px;
            --shadow-sm: 0 2px 8px rgba(22, 35, 58, .06);
            --shadow-md: 0 10px 30px rgba(22, 35, 58, .08);
            --shadow-lg: 0 20px 50px rgba(22, 35, 58, .12);
            --transition: all .3s ease;
            --nav-width: 260px;
        }
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html {
            font-size: 16px;
            scroll-behavior: smooth;
        }
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
            background: var(--bg);
            color: var(--text);
            line-height: 1.75;
            -webkit-font-smoothing: antialiased;
        }
        img {
            max-width: 100%;
            display: block;
        }
        a {
            color: inherit;
            text-decoration: none;
            transition: var(--transition);
        }
        button {
            border: none;
            cursor: pointer;
            font-family: inherit;
        }
        input,
        textarea {
            font-family: inherit;
        }
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
        }

        /* ========== 左侧导航 ========== */
        .page-wrapper {
            display: flex;
            min-height: 100vh;
        }
        .side-nav-wrap {
            width: var(--nav-width);
            position: fixed;
            left: 0;
            top: 0;
            bottom: 0;
            background: linear-gradient(180deg, var(--primary) 0%, var(--bg-dark) 100%);
            z-index: 200;
            display: flex;
            flex-direction: column;
            box-shadow: 4px 0 24px rgba(0, 0, 0, .15);
        }
        .side-nav-inner {
            display: flex;
            flex-direction: column;
            height: 100%;
            padding: 36px 20px 28px;
        }
        .side-nav-brand {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 0 8px 30px;
            border-bottom: 1px solid rgba(255, 255, 255, .08);
            margin-bottom: 24px;
        }
        .brand-badge {
            width: 40px;
            height: 40px;
            background: var(--accent);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: 18px;
            color: #101d2d;
            flex-shrink: 0;
            box-shadow: 0 4px 14px rgba(217, 154, 43, .35);
        }
        .brand-text {
            font-size: 15px;
            font-weight: 700;
            color: #fff;
            line-height: 1.4;
            letter-spacing: .5px;
        }
        .nav-label {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: rgba(255, 255, 255, .4);
            padding: 0 8px;
            margin-bottom: 10px;
            font-weight: 600;
        }
        .side-nav {
            display: flex;
            flex-direction: column;
            gap: 4px;
            flex: 1;
        }
        .side-nav .nav-link {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 14px 16px;
            border-radius: 12px;
            color: rgba(255, 255, 255, .65);
            font-size: 15px;
            font-weight: 500;
            transition: var(--transition);
        }
        .side-nav .nav-link i {
            width: 20px;
            text-align: center;
            font-size: 16px;
        }
        .side-nav .nav-link:hover {
            background: rgba(255, 255, 255, .06);
            color: rgba(255, 255, 255, .9);
        }
        .side-nav .nav-link.active {
            background: var(--accent);
            color: #101d2d;
            font-weight: 600;
            box-shadow: 0 6px 18px rgba(217, 154, 43, .3);
        }
        .mobile-topbar {
            display: none;
        }

        /* ========== 主内容区 ========== */
        .content-area {
            margin-left: var(--nav-width);
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
        }
        .main-wrap {
            flex: 1;
        }

        /* ========== Hero ========== */
        .page-hero {
            position: relative;
            padding: 90px 0 100px;
            background-size: cover;
            background-position: center;
            color: #fff;
            isolation: isolate;
        }
        .page-hero::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(13, 23, 37, .9) 0%, rgba(13, 23, 37, .55) 60%, rgba(13, 23, 37, .3) 100%);
            z-index: -1;
        }
        .page-hero .container {
            position: relative;
            z-index: 2;
        }
        .breadcrumb {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            color: rgba(255, 255, 255, .6);
            margin-bottom: 20px;
        }
        .breadcrumb a {
            color: rgba(255, 255, 255, .75);
        }
        .breadcrumb a:hover {
            color: var(--accent);
        }
        .breadcrumb i {
            font-size: 10px;
            color: rgba(255, 255, 255, .4);
        }
        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(217, 154, 43, .2);
            border: 1px solid rgba(217, 154, 43, .4);
            color: var(--accent-light);
            font-size: 13px;
            font-weight: 600;
            padding: 6px 18px;
            border-radius: 100px;
            margin-bottom: 24px;
            letter-spacing: .5px;
        }
        .page-hero h1 {
            font-size: 46px;
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 18px;
            letter-spacing: -1px;
            color: #fff;
        }
        .page-hero p {
            font-size: 17px;
            line-height: 1.8;
            color: rgba(255, 255, 255, .75);
            max-width: 640px;
            margin-bottom: 30px;
        }
        .hero-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        .hero-tags span {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(255, 255, 255, .1);
            border: 1px solid rgba(255, 255, 255, .12);
            color: rgba(255, 255, 255, .85);
            font-size: 13px;
            padding: 6px 16px;
            border-radius: 100px;
            backdrop-filter: blur(4px);
        }
        .hero-tags span i {
            color: var(--accent);
            font-size: 12px;
        }

        /* ========== 板块通用 ========== */
        .section {
            padding: 80px 0;
        }
        .section-alt {
            background: var(--bg-white);
        }
        .section-head {
            text-align: center;
            max-width: 720px;
            margin: 0 auto 50px;
        }
        .section-head .sec-label {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(217, 154, 43, .1);
            color: var(--accent);
            font-size: 13px;
            font-weight: 600;
            padding: 6px 18px;
            border-radius: 100px;
            margin-bottom: 16px;
            letter-spacing: .5px;
            text-transform: uppercase;
        }
        .section-head h2 {
            font-size: 32px;
            font-weight: 800;
            line-height: 1.3;
            margin-bottom: 14px;
            color: var(--text);
            letter-spacing: -.5px;
        }
        .section-head p {
            color: var(--text-muted);
            font-size: 15px;
            line-height: 1.7;
        }

        /* ========== 特色卡片（分类说明） ========== */
        .feature-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
        }
        .feature-card {
            background: var(--bg-white);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 30px 24px;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }
        .feature-card::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, var(--accent), transparent);
            opacity: 0;
            transition: var(--transition);
        }
        .feature-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
            border-color: rgba(217, 154, 43, .3);
        }
        .feature-card:hover::after {
            opacity: 1;
        }
        .feature-icon {
            width: 54px;
            height: 54px;
            background: linear-gradient(135deg, var(--accent-light), #f7e2b6);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            color: var(--accent-hover);
            font-size: 22px;
        }
        .feature-card h3 {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 10px;
            color: var(--text);
        }
        .feature-card p {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.7;
        }

        /* ========== 资讯卡片 ========== */
        .news-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 28px;
        }
        .news-card {
            background: var(--bg-white);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            overflow: hidden;
            transition: var(--transition);
            display: flex;
            flex-direction: column;
        }
        .news-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }
        .news-cover {
            position: relative;
            height: 200px;
            overflow: hidden;
        }
        .news-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform .5s ease;
        }
        .news-card:hover .news-cover img {
            transform: scale(1.05);
        }
        .news-cover .tag {
            position: absolute;
            top: 14px;
            left: 14px;
            background: rgba(16, 29, 45, .85);
            color: #fff;
            font-size: 12px;
            font-weight: 600;
            padding: 4px 12px;
            border-radius: 100px;
            backdrop-filter: blur(4px);
        }
        .news-body {
            padding: 24px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .news-meta {
            display: flex;
            align-items: center;
            gap: 14px;
            font-size: 12px;
            color: var(--text-muted);
            margin-bottom: 12px;
        }
        .news-meta span {
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }
        .news-body h3 {
            font-size: 18px;
            font-weight: 700;
            line-height: 1.4;
            margin-bottom: 10px;
            color: var(--text);
        }
        .news-body h3 a:hover {
            color: var(--accent-hover);
        }
        .news-body p {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.7;
            flex: 1;
            margin-bottom: 16px;
        }
        .news-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            font-weight: 600;
            color: var(--accent);
        }
        .news-link:hover {
            gap: 12px;
            color: var(--accent-hover);
        }

        /* ========== 流程时间线 ========== */
        .process-section {
            background: var(--bg-dark);
            color: #fff;
            position: relative;
            overflow: hidden;
        }
        .process-section::before {
            content: "";
            position: absolute;
            top: -40%;
            right: -20%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(217, 154, 43, .12) 0%, transparent 70%);
            border-radius: 50%;
        }
        .process-section .section-head h2 {
            color: #fff;
        }
        .process-section .section-head p {
            color: rgba(255, 255, 255, .6);
        }
        .process-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 28px;
            position: relative;
            z-index: 2;
        }
        .process-step {
            position: relative;
            padding: 32px 20px;
            background: rgba(255, 255, 255, .05);
            border: 1px solid rgba(255, 255, 255, .08);
            border-radius: var(--radius);
            text-align: center;
            transition: var(--transition);
        }
        .process-step:hover {
            background: rgba(255, 255, 255, .09);
            transform: translateY(-4px);
            border-color: rgba(217, 154, 43, .4);
        }
        .step-num {
            width: 48px;
            height: 48px;
            margin: 0 auto 18px;
            background: var(--accent);
            color: #101d2d;
            font-weight: 800;
            font-size: 18px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 6px 20px rgba(217, 154, 43, .3);
        }
        .process-step h3 {
            font-size: 17px;
            font-weight: 700;
            margin-bottom: 10px;
            color: #fff;
        }
        .process-step p {
            font-size: 13px;
            color: rgba(255, 255, 255, .55);
            line-height: 1.6;
        }

        /* ========== 数据统计 ========== */
        .stats-section {
            background: var(--bg-white);
        }
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
        }
        .stat-card {
            text-align: center;
            padding: 40px 20px;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            background: var(--bg);
            transition: var(--transition);
        }
        .stat-card:hover {
            box-shadow: var(--shadow-md);
            transform: translateY(-3px);
            border-color: rgba(217, 154, 43, .3);
        }
        .stat-num {
            font-size: 40px;
            font-weight: 800;
            color: var(--primary);
            line-height: 1.2;
            margin-bottom: 6px;
            letter-spacing: -1px;
        }
        .stat-num em {
            font-style: normal;
            color: var(--accent);
            font-size: 28px;
        }
        .stat-card h3 {
            font-size: 15px;
            color: var(--text-muted);
            font-weight: 500;
        }

        /* ========== FAQ ========== */
        .faq-section {
            background: var(--bg);
        }
        .faq-list {
            max-width: 780px;
            margin: 0 auto;
        }
        .faq-item {
            background: var(--bg-white);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            margin-bottom: 16px;
            transition: var(--transition);
        }
        .faq-item:hover {
            border-color: rgba(217, 154, 43, .3);
        }
        .faq-item summary {
            padding: 22px 26px;
            font-size: 16px;
            font-weight: 600;
            color: var(--text);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            list-style: none;
            outline: none;
        }
        .faq-item summary::-webkit-details-marker {
            display: none;
        }
        .faq-item summary::after {
            content: "\f107";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            font-size: 16px;
            color: var(--accent);
            transition: var(--transition);
            flex-shrink: 0;
        }
        .faq-item[open] summary::after {
            transform: rotate(180deg);
        }
        .faq-item .faq-answer {
            padding: 0 26px 22px;
            color: var(--text-muted);
            font-size: 14px;
            line-height: 1.8;
            border-top: 1px solid var(--border);
            padding-top: 16px;
        }

        /* ========== CTA ========== */
        .cta-section {
            padding: 90px 0;
            background-size: cover;
            background-position: center;
            position: relative;
            color: #fff;
            isolation: isolate;
        }
        .cta-section::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(13, 23, 37, .92) 0%, rgba(13, 23, 37, .7) 100%);
            z-index: -1;
        }
        .cta-inner {
            text-align: center;
            max-width: 700px;
            margin: 0 auto;
        }
        .cta-inner h2 {
            font-size: 34px;
            font-weight: 800;
            margin-bottom: 16px;
            color: #fff;
            line-height: 1.3;
        }
        .cta-inner p {
            font-size: 16px;
            color: rgba(255, 255, 255, .7);
            margin-bottom: 32px;
            line-height: 1.7;
        }
        .btn-cta {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: var(--accent);
            color: #101d2d;
            font-size: 16px;
            font-weight: 700;
            padding: 16px 36px;
            border-radius: 60px;
            transition: var(--transition);
            box-shadow: 0 8px 30px rgba(217, 154, 43, .35);
        }
        .btn-cta:hover {
            background: var(--accent-hover);
            transform: translateY(-2px);
            box-shadow: 0 12px 36px rgba(217, 154, 43, .45);
        }
        .btn-cta i {
            font-size: 15px;
        }

        /* ========== 页脚 ========== */
        .site-footer {
            background: var(--bg-dark);
            color: #fff;
            padding: 70px 0 0;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 50px;
            padding-bottom: 50px;
            border-bottom: 1px solid rgba(255, 255, 255, .08);
        }
        .footer-brand h3 {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 14px;
            color: #fff;
        }
        .footer-brand p {
            font-size: 14px;
            color: rgba(255, 255, 255, .55);
            line-height: 1.7;
            max-width: 320px;
        }
        .footer-col h4 {
            font-size: 15px;
            font-weight: 600;
            color: rgba(255, 255, 255, .85);
            margin-bottom: 18px;
        }
        .footer-col a {
            display: block;
            font-size: 14px;
            color: rgba(255, 255, 255, .5);
            margin-bottom: 10px;
            transition: var(--transition);
        }
        .footer-col a:hover {
            color: var(--accent);
            padding-left: 4px;
        }
        .footer-col p {
            font-size: 14px;
            color: rgba(255, 255, 255, .5);
            margin-bottom: 10px;
            line-height: 1.6;
        }
        .footer-bottom {
            padding: 24px 0;
            text-align: center;
            font-size: 13px;
            color: rgba(255, 255, 255, .35);
        }

        /* ========== 响应式 ========== */
        @media screen and (max-width: 1024px) {
            .side-nav-wrap {
                transform: translateX(-100%);
                transition: transform .3s ease;
                box-shadow: none;
            }
            .side-nav-wrap.open {
                transform: translateX(0);
                box-shadow: 0 0 60px rgba(0, 0, 0, .4);
            }
            .content-area {
                margin-left: 0;
            }
            .mobile-topbar {
                display: flex;
                align-items: center;
                justify-content: space-between;
                padding: 14px 20px;
                background: var(--primary);
                position: sticky;
                top: 0;
                z-index: 150;
                box-shadow: 0 4px 20px rgba(0, 0, 0, .15);
            }
            .mobile-brand {
                color: #fff;
                font-weight: 700;
                font-size: 15px;
                letter-spacing: .5px;
            }
            .menu-toggle {
                background: rgba(255, 255, 255, .1);
                border: none;
                color: #fff;
                width: 42px;
                height: 42px;
                border-radius: 10px;
                font-size: 18px;
                display: flex;
                align-items: center;
                justify-content: center;
                transition: var(--transition);
            }
            .menu-toggle:hover {
                background: var(--accent);
                color: #101d2d;
            }
            .page-hero {
                padding: 70px 0 80px;
            }
            .page-hero h1 {
                font-size: 36px;
            }
            .feature-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .process-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 30px;
            }
        }
        @media screen and (max-width: 768px) {
            .section {
                padding: 60px 0;
            }
            .page-hero h1 {
                font-size: 30px;
            }
            .page-hero p {
                font-size: 15px;
            }
            .section-head h2 {
                font-size: 26px;
            }
            .news-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            .container {
                padding: 0 20px;
            }
            .feature-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }
            .process-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }
            .stats-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }
            .cta-inner h2 {
                font-size: 26px;
            }
            .btn-cta {
                padding: 14px 28px;
                font-size: 15px;
            }
        }
        @media screen and (max-width: 520px) {
            .page-hero {
                padding: 50px 0 60px;
            }
            .page-hero h1 {
                font-size: 26px;
            }
            .hero-tags span {
                font-size: 12px;
                padding: 4px 12px;
            }
            .section-head {
                margin-bottom: 32px;
            }
            .news-cover {
                height: 170px;
            }
            .news-body {
                padding: 18px;
            }
            .stat-num {
                font-size: 32px;
            }
            .faq-item summary {
                font-size: 14px;
                padding: 18px 20px;
            }
            .faq-item .faq-answer {
                padding: 0 20px 16px;
                font-size: 13px;
            }
        }

/* roulang page: article */
:root {
  --primary: #0f1a2e;
  --primary-2: #16263f;
  --accent: #d4a843;
  --accent-2: #e8c86a;
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 12px 32px rgba(15, 26, 46, 0.08);
  --shadow-lg: 0 20px 48px rgba(15, 26, 46, 0.14);
  --transition: all 0.35s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  padding: 0;
  margin: 0;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

.container-narrow {
  max-width: 880px;
}

/* ===== 布局 ===== */
.site-wrapper {
  display: flex;
  min-height: 100vh;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 260px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-2) 100%);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  z-index: 1000;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  overflow-y: auto;
}

.site-content {
  flex: 1;
  margin-left: 260px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

/* ===== 品牌 Logo ===== */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 19px;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(212, 168, 67, 0.3);
}

.brand-text {
  color: #ffffff;
  font-weight: 800;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: 0.5px;
}

.brand-text small {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
}

/* ===== 左侧导航 ===== */
.nav-label {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 3px;
  padding: 0 12px 12px;
  text-transform: uppercase;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition);
  line-height: 1;
}

.nav-link i {
  width: 22px;
  text-align: center;
  font-size: 16px;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transform: translateX(4px);
}

.nav-link.active {
  background: var(--accent);
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(212, 168, 67, 0.3);
}

.header-meta {
  padding: 16px 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 12px;
}

.header-meta p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  line-height: 1.7;
}

.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  color: #ffffff;
  width: 42px;
  height: 42px;
  font-size: 18px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ===== 按钮 ===== */
.btn,
.button.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  line-height: 1.6;
  margin: 0;
  vertical-align: middle;
}

.btn-primary,
.button.btn-primary {
  background: var(--accent);
  color: var(--primary);
}

.btn-primary:hover,
.button.btn-primary:hover {
  background: var(--accent-2);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(212, 168, 67, 0.35);
}

.btn-outline,
.button.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ===== 面包屑 ===== */
.breadcrumb-section {
  padding: 24px 0 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb i {
  font-size: 11px;
  color: #b0b8c4;
}

.breadcrumb .current {
  color: var(--primary);
  font-weight: 600;
  max-width: 400px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ===== 文章头部 ===== */
.article-hero {
  background: linear-gradient(135deg, rgba(15, 26, 46, 0.92), rgba(22, 38, 63, 0.85)), url('/assets/images/backpic/back-2.png') center / cover no-repeat;
  padding: 64px 0 56px;
  border-bottom: 3px solid var(--accent);
  position: relative;
}

.article-head {
  max-width: 880px;
  margin: 0 auto;
}

.article-category {
  display: inline-block;
  background: rgba(212, 168, 67, 0.25);
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
  letter-spacing: 1px;
  border: 1px solid rgba(212, 168, 67, 0.3);
}

.article-head h1 {
  font-size: 38px;
  line-height: 1.35;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}

.article-meta {
  display: flex;
  gap: 26px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  flex-wrap: wrap;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.article-meta i {
  color: var(--accent-2);
}

/* ===== 正文 ===== */
.article-body {
  padding: 48px 0 64px;
}

.article-content {
  background: var(--card);
  border-radius: var(--radius);
  padding: 52px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  line-height: 1.9;
  font-size: 16px;
  color: #334155;
}

.article-content h2 {
  font-size: 25px;
  font-weight: 800;
  color: var(--primary);
  margin: 38px 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

.article-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin: 30px 0 12px;
}

.article-content h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin: 22px 0 10px;
}

.article-content p {
  margin: 0 0 18px;
}

.article-content ul,
.article-content ol {
  margin: 0 0 20px 22px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content a {
  color: var(--primary);
  font-weight: 600;
  border-bottom: 2px solid var(--accent);
}

.article-content a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.article-content img {
  border-radius: 14px;
  margin: 26px 0;
  box-shadow: var(--shadow);
}

.article-content blockquote {
  border-left: 4px solid var(--accent);
  background: rgba(212, 168, 67, 0.08);
  padding: 18px 22px;
  margin: 26px 0;
  border-radius: 0 14px 14px 0;
  color: var(--primary);
  font-style: italic;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  border-radius: 12px;
  overflow: hidden;
}

.article-content th {
  background: var(--primary);
  color: #ffffff;
  padding: 12px 16px;
  font-weight: 600;
  text-align: left;
}

.article-content td {
  border: 1px solid var(--border);
  padding: 10px 16px;
}

.article-content code {
  background: #f1f5f9;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 14px;
  color: var(--primary);
}

/* ===== 空状态 ===== */
.article-empty {
  text-align: center;
  padding: 80px 28px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.empty-icon {
  font-size: 52px;
  color: var(--accent);
  margin-bottom: 18px;
  display: block;
}

.article-empty h2 {
  font-size: 30px;
  color: var(--primary);
  margin: 0 0 10px;
}

.article-empty p {
  color: var(--muted);
  margin: 0 0 28px;
}

/* ===== 相关推荐 ===== */
.related-section {
  padding: 60px 0;
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--primary);
  text-align: center;
  margin: 0 0 40px;
  position: relative;
  letter-spacing: -0.3px;
}

.section-title::after {
  content: '';
  display: block;
  width: 52px;
  height: 4px;
  background: var(--accent);
  border-radius: 4px;
  margin: 14px auto 0;
}

.related-grid {
  margin-right: -12px;
  margin-left: -12px;
}

.related-grid .cell {
  padding: 0 12px;
}

.related-card {
  display: block;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

.related-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  background: var(--card);
}

.related-img {
  height: 180px;
  overflow: hidden;
  background: var(--primary-2);
  position: relative;
}

.related-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 26, 46, 0.25));
}

.related-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.related-card:hover .related-img img {
  transform: scale(1.06);
}

.related-body {
  padding: 22px 22px 24px;
}

.related-tag {
  display: inline-block;
  background: rgba(212, 168, 67, 0.14);
  color: #a8812a;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.related-body h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--primary);
  margin: 0 0 8px;
}

.related-body p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}

/* ===== CTA ===== */
.cta-section {
  padding: 64px 0;
}

.cta-card {
  background: linear-gradient(135deg, rgba(15, 26, 46, 0.93), rgba(22, 38, 63, 0.88)), url('/assets/images/backpic/back-1.png') center / cover no-repeat;
  border-radius: 22px;
  padding: 56px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(212, 168, 67, 0.2);
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: rgba(212, 168, 67, 0.14);
  border-radius: 50%;
}

.cta-card::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 30%;
  width: 170px;
  height: 170px;
  background: rgba(212, 168, 67, 0.09);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 1;
  flex: 1;
}

.cta-content h2 {
  color: #ffffff;
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -0.3px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  margin: 0;
}

.cta-card .btn {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.75);
  padding: 60px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 42px;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 20px;
  margin: 0 0 12px;
  font-weight: 800;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 15px;
  margin: 0 0 18px;
  letter-spacing: 1px;
  font-weight: 700;
}

.footer-col a,
.footer-col p {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  margin: 0 0 10px;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--accent-2);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 22px;
  text-align: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 13px;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .site-wrapper {
    display: block;
  }

  .site-header {
    position: sticky;
    top: 0;
    width: 100%;
    height: auto;
    flex-direction: row;
    align-items: center;
    padding: 14px 20px;
    flex-wrap: wrap;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .brand-logo {
    border-bottom: none;
    margin-bottom: 0;
    padding: 0;
    margin-right: auto;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .brand-text {
    font-size: 15px;
  }

  .menu-toggle {
    display: flex;
  }

  .side-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    background: var(--primary);
    padding: 12px 0 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 12px;
    flex: none;
  }

  .side-nav.open {
    display: flex;
  }

  .header-meta {
    display: none;
  }

  .site-content {
    margin-left: 0;
  }

  .article-hero {
    padding: 48px 0 42px;
  }

  .article-head h1 {
    font-size: 32px;
  }

  .cta-card {
    padding: 44px 36px;
    flex-direction: column;
    text-align: center;
  }

  .cta-card .btn {
    width: 100%;
    max-width: 280px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .article-head h1 {
    font-size: 27px;
  }

  .article-content {
    padding: 30px 22px;
  }

  .article-body {
    padding: 32px 0 44px;
  }

  .related-section {
    padding: 48px 0;
  }

  .section-title {
    font-size: 25px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cta-content h2 {
    font-size: 23px;
  }

  .breadcrumb .current {
    max-width: 220px;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 16px;
  }

  .brand-text {
    font-size: 14px;
  }

  .brand-text small {
    font-size: 11px;
  }

  .article-hero {
    padding: 38px 0 36px;
  }

  .article-head h1 {
    font-size: 23px;
  }

  .article-meta {
    gap: 14px;
    font-size: 13px;
  }

  .article-content {
    padding: 22px 16px;
    border-radius: 12px;
  }

  .article-content h2 {
    font-size: 21px;
  }

  .article-empty {
    padding: 56px 20px;
  }

  .article-empty h2 {
    font-size: 24px;
  }

  .related-img {
    height: 160px;
  }

  .cta-card {
    padding: 34px 22px;
    border-radius: 16px;
  }

  .cta-content h2 {
    font-size: 21px;
  }

  .site-footer {
    padding: 44px 0 20px;
  }
}

/* roulang page: category2 */
:root{
  --primary:#131f36;
  --primary-2:#1b2b47;
  --primary-3:#223356;
  --accent:#d4a853;
  --accent-2:#b8913d;
  --accent-soft:#f6ecd8;
  --bg:#f4f6fa;
  --card:#ffffff;
  --text:#1f2937;
  --muted:#6b7a90;
  --border:#e3e8f0;
  --radius-lg:18px;
  --radius-md:12px;
  --radius-sm:8px;
  --shadow-sm:0 4px 16px rgba(19,31,54,.06);
  --shadow-md:0 12px 36px rgba(19,31,54,.09);
  --shadow-lg:0 24px 60px rgba(19,31,54,.16);
  --space:90px;
  --sidebar-w:272px;
  --font:"PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--font);
  background:var(--bg);
  color:var(--text);
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;transition:color .25s ease;}
ul{list-style:none;}
button,input{font-family:inherit;}
section[id]{scroll-margin-top:80px;}

.container{max-width:1200px;margin:0 auto;padding:0 28px;}

/* 按钮 */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:13px 28px;border-radius:999px;font-size:15px;font-weight:600;
  border:1px solid transparent;cursor:pointer;transition:all .3s ease;
  letter-spacing:.5px;line-height:1.2;text-align:center;
}
.btn-accent{background:var(--accent);color:#1a1a1a;box-shadow:0 6px 20px rgba(212,168,83,.32);}
.btn-accent:hover{background:var(--accent-2);color:#1a1a1a;transform:translateY(-2px);box-shadow:0 10px 28px rgba(212,168,83,.4);}
.btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.55);}
.btn-ghost:hover{background:rgba(255,255,255,.12);border-color:#fff;color:#fff;transform:translateY(-2px);}
.btn-dark{background:var(--primary);color:#fff;}
.btn-dark:hover{background:var(--primary-2);color:#fff;transform:translateY(-2px);}
.btn-lg{padding:16px 38px;font-size:16px;}

/* 标签 */
.tag{
  display:inline-flex;align-items:center;gap:6px;
  padding:4px 12px;border-radius:999px;font-size:12px;font-weight:600;
  background:var(--accent-soft);color:#8a6820;letter-spacing:.5px;
}
.tag-blue{background:#e6edf8;color:#2d4f88;}
.tag-green{background:#e3f2e9;color:#277a4f;}
.tag-purple{background:#efe9fa;color:#5b3d9e;}

/* 应用骨架 */
.app-shell{display:flex;min-height:100vh;}

/* 侧边导航 */
.sidebar{
  width:var(--sidebar-w);position:fixed;top:0;left:0;bottom:0;z-index:200;
  background:linear-gradient(180deg,#101b2e 0%,#16233b 100%);
  padding:30px 22px;display:flex;flex-direction:column;gap:26px;
  border-right:1px solid rgba(255,255,255,.06);
}
.brand-logo{display:flex;align-items:center;gap:12px;padding:4px 6px;}
.brand-icon{
  width:42px;height:42px;border-radius:12px;flex:0 0 auto;
  background:linear-gradient(135deg,var(--accent) 0%,#e9c874 100%);
  display:flex;align-items:center;justify-content:center;color:#1a1a1a;
  font-size:17px;box-shadow:0 6px 18px rgba(212,168,83,.35);
}
.brand-name{font-size:15px;font-weight:700;color:#f2f5fa;line-height:1.45;letter-spacing:1px;}
.brand-name small{display:block;font-size:11px;font-weight:400;color:#8fa0be;letter-spacing:1.5px;margin-top:2px;}
.nav-label{font-size:11px;color:#6d7f9c;letter-spacing:2px;text-transform:uppercase;padding:0 10px;}
.side-nav{display:flex;flex-direction:column;gap:6px;}
.nav-link{
  display:flex;align-items:center;gap:12px;
  padding:12px 14px;border-radius:12px;color:#b9c4d8;font-size:15px;font-weight:500;
  transition:all .25s ease;border:1px solid transparent;
}
.nav-link i{width:20px;text-align:center;font-size:15px;color:#7d8eab;transition:color .25s ease;}
.nav-link:hover{background:rgba(255,255,255,.07);color:#fff;transform:translateX(3px);}
.nav-link:hover i{color:var(--accent);}
.nav-link.active{
  background:rgba(212,168,83,.13);color:#ffe4a0;border-color:rgba(212,168,83,.25);
}
.nav-link.active i{color:var(--accent);}
.nav-link:focus-visible{outline:2px solid var(--accent);outline-offset:2px;}
.side-card{
  margin-top:auto;background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.07);border-radius:14px;padding:18px;
}
.side-card p{color:#9aabc4;font-size:13px;margin-bottom:12px;line-height:1.6;}
.side-card .btn{width:100%;padding:10px 16px;font-size:13px;}
.nav-toggle{
  display:none;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.14);
  color:#fff;border-radius:10px;width:42px;height:38px;align-items:center;justify-content:center;cursor:pointer;font-size:16px;
}

/* 主内容区 */
.main-wrap{flex:1;margin-left:var(--sidebar-w);display:flex;flex-direction:column;min-width:0;}
.main-content{flex:1;}

/* 分类 Hero */
.cat-hero{
  position:relative;background-size:cover;background-position:center;
  padding:110px 0 95px;color:#fff;overflow:hidden;
}
.cat-hero::before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(10,18,32,.92) 0%,rgba(14,24,42,.78) 45%,rgba(14,24,42,.38) 100%);
}
.cat-hero::after{
  content:"";position:absolute;right:-120px;bottom:-120px;width:340px;height:340px;border-radius:50%;
  background:radial-gradient(circle,rgba(212,168,83,.22),transparent 65%);
}
.cat-hero .container{position:relative;z-index:2;}
.cat-hero-inner{max-width:680px;}
.breadcrumb{display:flex;align-items:center;gap:10px;font-size:13px;color:#93a3bd;margin-bottom:18px;flex-wrap:wrap;}
.breadcrumb a{color:#c8d2e2;transition:color .25s ease;}
.breadcrumb a:hover{color:var(--accent);}
.breadcrumb i{font-size:10px;color:#53657f;}
.breadcrumb span{color:var(--accent);}
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  background:rgba(212,168,83,.15);border:1px solid rgba(212,168,83,.35);
  color:#f0cf85;padding:6px 16px;border-radius:999px;font-size:13px;font-weight:600;
  letter-spacing:1px;margin-bottom:22px;
}
.cat-hero h1{font-size:44px;line-height:1.25;font-weight:800;letter-spacing:1px;margin-bottom:18px;}
.cat-hero h1 span{color:var(--accent);}
.cat-hero p{font-size:17px;color:#c8d2e2;max-width:540px;margin-bottom:34px;line-height:1.8;}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:42px;}
.hero-metrics{display:flex;gap:36px;border-top:1px solid rgba(255,255,255,.15);padding-top:28px;}
.hero-metrics strong{display:block;font-size:28px;font-weight:800;color:#fff;letter-spacing:.5px;}
.hero-metrics strong span{color:var(--accent);}
.hero-metrics span{font-size:13px;color:#93a3bd;}

/* 通用板块 */
.section{padding:var(--space) 0;}
.section-alt{background:#fff;}
.section-head{margin-bottom:52px;max-width:680px;}
.section-head.center{margin-left:auto;margin-right:auto;text-align:center;}
.section-tag{
  display:inline-flex;align-items:center;gap:6px;
  background:var(--accent-soft);color:#8a6820;
  padding:5px 14px;border-radius:999px;font-size:12px;font-weight:700;
  letter-spacing:1px;margin-bottom:14px;
}
.section-head h2{font-size:34px;line-height:1.3;font-weight:800;margin-bottom:12px;letter-spacing:.5px;}
.section-head p{color:var(--muted);font-size:16px;line-height:1.75;}

/* 分类卡片 */
.cat-card{
  background:var(--card);border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:34px 30px;height:100%;transition:all .35s ease;position:relative;overflow:hidden;
  box-shadow:var(--shadow-sm);
}
.cat-card::before{
  content:"";position:absolute;left:0;top:0;width:100%;height:3px;
  background:linear-gradient(90deg,var(--accent),#f0cf85);opacity:0;transition:opacity .3s ease;
}
.cat-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-md);border-color:#d9dfeb;}
.cat-card:hover::before{opacity:1;}
.cat-icon{
  width:54px;height:54px;border-radius:14px;display:flex;align-items:center;justify-content:center;
  font-size:20px;background:var(--primary);color:var(--accent);margin-bottom:20px;
  box-shadow:0 6px 16px rgba(19,31,54,.18);
}
.cat-card h3{font-size:20px;font-weight:700;margin-bottom:10px;}
.cat-card p{color:var(--muted);font-size:14px;line-height:1.75;margin-bottom:18px;}
.cat-more{color:var(--primary);font-weight:600;font-size:14px;display:inline-flex;align-items:center;gap:8px;transition:color .25s ease;}
.cat-more i{transition:transform .25s ease;}
.cat-more:hover{color:var(--accent-2);}
.cat-card:hover .cat-more i,.play-card:hover .cat-more i{transform:translateX(4px);}

/* 玩法卡片 */
.play-card{
  background:var(--card);border-radius:var(--radius-lg);overflow:hidden;
  border:1px solid var(--border);box-shadow:var(--shadow-sm);
  transition:all .35s ease;height:100%;display:flex;flex-direction:column;
}
.play-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-md);border-color:#d9dfeb;}
.play-thumb{position:relative;height:190px;overflow:hidden;}
.play-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease;}
.play-card:hover .play-thumb img{transform:scale(1.05);}
.play-thumb .tag{position:absolute;top:14px;left:14px;z-index:2;box-shadow:0 4px 12px rgba(0,0,0,.18);}
.play-body{padding:24px 26px 26px;display:flex;flex-direction:column;flex:1;}
.play-body h3{font-size:19px;font-weight:700;margin-bottom:10px;}
.play-body p{color:var(--muted);font-size:14px;line-height:1.75;margin-bottom:16px;flex:1;}
.play-body .cat-more{font-size:13px;}

/* 规则速览 */
.rules-section{
  background:linear-gradient(140deg,var(--primary) 0%,#0e192e 60%,#16233b 100%);
  color:#fff;position:relative;overflow:hidden;
}
.rules-section::before{
  content:"";position:absolute;right:-160px;top:-160px;width:420px;height:420px;border-radius:50%;
  background:radial-gradient(circle,rgba(212,168,83,.18),transparent 65%);
}
.rules-section .section-tag,.cta-box .section-tag{
  background:rgba(212,168,83,.16);color:#f0cf85;
}
.rules-section .section-head h2{color:#fff;}
.rules-section .section-head p{color:#9badc8;}
.rules-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px;position:relative;z-index:2;}
.rule-step{
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.09);
  border-radius:var(--radius-lg);padding:30px 22px;transition:all .3s ease;position:relative;
}
.rule-step:hover{background:rgba(255,255,255,.09);transform:translateY(-4px);border-color:rgba(212,168,83,.4);}
.step-num{
  display:inline-flex;align-items:center;justify-content:center;
  width:44px;height:44px;border-radius:12px;background:var(--accent);color:#1a1a1a;
  font-size:17px;font-weight:800;margin-bottom:18px;
}
.rule-step h3{font-size:17px;font-weight:700;margin-bottom:10px;color:#fff;}
.rule-step p{font-size:13px;color:#9cadc8;line-height:1.65;margin:0;}

/* 排行榜 */
.rank-list{
  background:var(--card);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);
  border:1px solid var(--border);overflow:hidden;
}
.rank-item{
  display:flex;align-items:center;gap:22px;padding:22px 28px;
  border-bottom:1px solid var(--border);transition:background .25s ease;
}
.rank-item:last-child{border-bottom:none;}
.rank-item:hover{background:#f8fafd;}
.rank-num{font-size:20px;font-weight:800;color:var(--accent);width:40px;text-align:center;font-style:normal;}
.rank-info{flex:1;min-width:0;}
.rank-info h4{font-size:16px;font-weight:700;margin-bottom:8px;}
.rank-bar{height:7px;background:#e9edf3;border-radius:99px;overflow:hidden;max-width:420px;}
.rank-bar span{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,var(--primary),var(--accent));}
.rank-rate{font-weight:800;color:var(--primary);font-size:16px;}

/* 技巧卡片 */
.tip-card{
  background:var(--card);border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:30px 24px;transition:all .3s ease;box-shadow:var(--shadow-sm);height:100%;
}
.tip-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-md);border-color:#d9dfeb;}
.tip-icon{
  width:48px;height:48px;border-radius:50%;background:var(--accent-soft);color:#8a6820;
  display:flex;align-items:center;justify-content:center;font-size:18px;margin-bottom:18px;
}
.tip-card h3{font-size:17px;font-weight:700;margin-bottom:10px;}
.tip-card p{font-size:14px;color:var(--muted);line-height:1.7;margin:0;}

/* FAQ */
.faq-wrap{
  background:var(--card);border:1px solid var(--border);border-radius:var(--radius-lg);
  box-shadow:var(--shadow-sm);overflow:hidden;
}
.faq-accordion .accordion-item{border-bottom:1px solid var(--border);}
.faq-accordion .accordion-item:last-child{border-bottom:none;}
.faq-accordion .accordion-title{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:24px 30px;font-size:16px;font-weight:600;color:var(--text);background:transparent;
  line-height:1.5;transition:background .25s ease,color .25s ease;
}
.faq-accordion .accordion-title::before{
  content:"\f107";font-family:"Font Awesome 6 Free";font-weight:900;color:var(--accent);
  font-size:16px;transition:transform .3s ease;
}
.faq-accordion .accordion-title:hover{background:#f8fafd;color:var(--primary);}
.faq-accordion .accordion-item.is-active .accordion-title{color:var(--primary);background:#f8fafd;}
.faq-accordion .accordion-item.is-active .accordion-title::before{transform:rotate(180deg);}
.faq-accordion .accordion-content{padding:0 30px 26px;color:var(--muted);font-size:14px;line-height:1.8;background:transaprent;}
.faq-accordion .accordion-content p{margin-bottom:8px;}
.faq-accordion .accordion-content p:last-child{margin-bottom:0;}

/* CTA */
.cta-section{padding:0 0 var(--space);}
.cta-box{
  background:linear-gradient(120deg,var(--primary) 0%,var(--primary-2) 100%);
  border-radius:var(--radius-lg);padding:60px;text-align:center;color:#fff;
  position:relative;overflow:hidden;
}
.cta-box::before{
  content:"";position:absolute;left:-80px;bottom:-100px;width:280px;height:280px;border-radius:50%;
  background:radial-gradient(circle,rgba(212,168,83,.28),transparent 65%);
}
.cta-box::after{
  content:"";position:absolute;right:-60px;top:-80px;width:220px;height:220px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.08),transparent 65%);
}
.cta-box > *{position:relative;z-index:2;}
.cta-box h2{font-size:30px;font-weight:800;margin-bottom:14px;}
.cta-box p{color:#aebdd6;font-size:15px;margin-bottom:28px;}
.cta-actions{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;}

/* 页脚 */
.site-footer{background:#0d1626;color:#8fa0bc;padding:64px 0 26px;}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:44px;margin-bottom:38px;}
.footer-brand h3{color:#fff;font-size:19px;font-weight:700;margin-bottom:14px;}
.footer-brand p{font-size:14px;line-height:1.75;max-width:360px;margin:0;}
.footer-col h4{color:#dfe6f1;font-size:15px;font-weight:600;margin-bottom:16px;letter-spacing:1px;}
.footer-col a{display:block;color:#8fa0bc;font-size:14px;padding:5px 0;transition:color .25s ease;}
.footer-col a:hover{color:var(--accent);}
.footer-col p{margin:0;font-size:13px;line-height:2;color:#6f82a0;}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.07);padding-top:24px;
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;
  font-size:13px;color:#5d718e;
}

/* 动效 */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .65s ease,transform .65s ease;}
.reveal.visible{opacity:1;transform:none;}

/* 焦点可见性 */
a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px;}

/* 响应式 */
@media (max-width:1024px){
  :root{--space:64px;}
  .sidebar{
    position:sticky;top:0;width:100%;height:auto;flex-direction:row;align-items:center;
    padding:14px 20px;gap:16px;border-right:none;border-bottom:1px solid rgba(255,255,255,.08);
  }
  .brand-logo{padding:0;}
  .brand-icon{width:38px;height:38px;font-size:15px;}
  .brand-name{font-size:14px;}
  .side-nav{
    display:none;position:absolute;top:100%;left:0;right:0;background:var(--primary);
    padding:14px 20px 20px;flex-direction:column;border-top:1px solid rgba(255,255,255,.07);
  }
  .sidebar.open .side-nav{display:flex;}
  .nav-toggle{display:inline-flex;margin-left:auto;}
  .side-card{display:none;}
  .main-wrap{margin-left:0;}
  .rules-grid{grid-template-columns:repeat(5,1fr);overflow-x:auto;padding-bottom:12px;}
  .rule-step{min-width:200px;}
}
@media (max-width:768px){
  :root{--space:54px;}
  .container{padding:0 20px;}
  .cat-hero{padding:80px 0 64px;}
  .cat-hero h1{font-size:32px;}
  .hero-metrics{gap:24px;}
  .hero-metrics strong{font-size:22px;}
  .section-head h2{font-size:27px;}
  .cta-box{padding:44px 28px;}
  .cta-box h2{font-size:25px;}
  .footer-grid{grid-template-columns:1fr;gap:28px;}
  .rank-item{padding:18px 20px;gap:16px;}
}
@media (max-width:520px){
  .hero-actions .btn{width:100%;}
  .hero-metrics{flex-wrap:wrap;gap:18px;}
  .cat-hero p{font-size:15px;}
  .cat-hero h1{font-size:27px;}
  .breadcrumb{font-size:12px;}
  .rank-item{flex-wrap:wrap;gap:12px;}
  .rank-bar{max-width:none;}
  .rank-rate{font-size:14px;}
  .cta-actions .btn{width:100%;}
  .faq-accordion .accordion-title{padding:20px 22px;font-size:15px;}
  .faq-accordion .accordion-content{padding:0 22px 22px;}
}

/* roulang page: category3 */
:root {
  --primary: #16294a;
  --primary-deep: #0f1c36;
  --primary-soft: #2a4270;
  --accent: #c9a24b;
  --accent-light: #e0bd6e;
  --accent-dark: #a88538;
  --bg: #f4f6fa;
  --bg-alt: #eef1f6;
  --surface: #ffffff;
  --text: #1e293b;
  --text-weak: #64748b;
  --border: #e2e8f0;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(22, 41, 74, 0.08);
  --shadow-lg: 0 18px 44px rgba(22, 41, 74, 0.14);
  --sidebar-w: 264px;
  --font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { scroll-behavior: smooth; }
body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
h1, h2, h3, h4, h5 { line-height: 1.35; color: var(--text); font-weight: 700; }
a:focus-visible, button:focus-visible { outline: 3px solid rgba(201,162,75,.55); outline-offset: 3px; border-radius: 4px; }

.container, .container-x {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  width: 100%;
}

.section-block { padding: 84px 0; }
.section-block.alt { background: var(--bg-alt); }
.section-head { max-width: 660px; margin: 0 auto 48px; text-align: center; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-dark);
  background: rgba(201,162,75,.1);
  border: 1px solid rgba(201,162,75,.28);
  border-radius: 999px;
  padding: 6px 18px;
  margin-bottom: 18px;
}
.section-head h2 { font-size: 34px; font-weight: 800; color: var(--primary); letter-spacing: 1px; }
.section-head p { margin-top: 12px; color: var(--text-weak); font-size: 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 30px;
  border-radius: 999px;
  transition: all .25s ease;
  border: none;
  line-height: 1.2;
}
.btn-solid { background: var(--accent); color: #16294a; box-shadow: 0 6px 16px rgba(201,162,75,.36); }
.btn-solid:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(201,162,75,.42); }
.btn-outline { border: 1.5px solid rgba(255,255,255,.5); color: #fff; background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.btn-outline:hover { background: rgba(255,255,255,.18); border-color: #fff; transform: translateY(-2px); }
.btn-dark { background: var(--primary); color: #fff; }
.btn-dark:hover { background: var(--primary-soft); transform: translateY(-2px); }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar-w);
  background: linear-gradient(175deg, #10213d 0%, #1a3054 60%, #1e3a63 100%);
  color: #fff;
  padding: 32px 20px 24px;
  display: flex;
  flex-direction: column;
  z-index: 220;
  box-shadow: 4px 0 24px rgba(10,22,44,.12);
}
.brand-box { margin-bottom: 40px; padding: 0 8px; }
.brand-logo { display: flex; flex-direction: column; gap: 4px; }
.logo-mark {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #16294a;
  margin-bottom: 10px;
  box-shadow: 0 6px 16px rgba(201,162,75,.4);
}
.logo-text { font-size: 20px; font-weight: 800; letter-spacing: 1px; color: #fff; }
.logo-sub { font-size: 12px; color: rgba(255,255,255,.58); letter-spacing: 3px; }
.nav-label {
  font-size: 11px;
  letter-spacing: 2.6px;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  padding: 0 14px;
  margin-bottom: 12px;
  display: block;
}
.side-nav { display: flex; flex-direction: column; flex: 1; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 12px;
  color: rgba(255,255,255,.75);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  transition: all .25s ease;
}
.nav-link i { width: 20px; text-align: center; font-size: 15px; }
.nav-link:hover { background: rgba(255,255,255,.08); color: #fff; transform: translateX(2px); }
.nav-link.active {
  background: var(--accent);
  color: #16294a;
  box-shadow: 0 8px 18px rgba(201,162,75,.35);
  font-weight: 800;
}
.side-foot { margin-top: auto; padding: 16px 14px 4px; border-top: 1px solid rgba(255,255,255,.1); }
.side-foot span { display: block; font-size: 12px; color: rgba(255,255,255,.5); font-weight: 600; letter-spacing: 1px; margin-bottom: 4px; }
.side-foot p { font-size: 12px; color: rgba(255,255,255,.42); line-height: 1.6; }

.mobile-topbar {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(90deg, #10213d, #1a3054);
  color: #fff;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  z-index: 230;
  box-shadow: 0 4px 14px rgba(10,22,44,.15);
}
.mobile-logo { font-size: 16px; font-weight: 800; color: #fff; letter-spacing: .5px; }
.mobile-logo i { color: var(--accent-light); margin-right: 6px; }
.menu-toggle {
  width: 40px; height: 40px;
  border-radius: 10px;
  color: #fff; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.menu-toggle:hover { background: rgba(255,255,255,.08); }
.menu-backdrop { display: none; position: fixed; inset: 0; background: rgba(10,20,40,.55); z-index: 180; backdrop-filter: blur(3px); }

.site-main { margin-left: var(--sidebar-w); }

.category-hero {
  position: relative;
  padding: 84px 0 76px;
  background:
    linear-gradient(120deg, rgba(12,25,48,.93) 0%, rgba(20,40,70,.84) 45%, rgba(27,47,82,.72) 100%),
    url('/assets/images/backpic/back-2.png') center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero-inner { max-width: 820px; }
.hero-crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin-bottom: 22px;
}
.hero-crumb a { color: rgba(255,255,255,.85); transition: color .2s; }
.hero-crumb a:hover { color: var(--accent-light); }
.hero-crumb i { font-size: 10px; color: rgba(255,255,255,.4); }
.hero-crumb span { color: var(--accent-light); font-weight: 600; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 7px 20px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-badge i { color: var(--accent-light); }
.category-hero h1 { font-size: 40px; font-weight: 900; line-height: 1.3; color: #fff; letter-spacing: 1px; margin-bottom: 18px; }
.category-hero h1 span { color: var(--accent-light); }
.category-hero .hero-desc { font-size: 17px; line-height: 1.8; color: rgba(255,255,255,.78); max-width: 620px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  height: 100%;
  transition: all .3s ease;
  box-shadow: 0 4px 12px rgba(22,41,74,.04);
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(201,162,75,.4); }
.step-num {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  color: #16294a;
  font-weight: 800;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 5px 14px rgba(201,162,75,.32);
}
.step-card h3 { font-size: 18px; font-weight: 800; color: var(--primary); margin-bottom: 10px; }
.step-card p { font-size: 14px; color: var(--text-weak); line-height: 1.7; }
.step-icon { position: absolute; top: 26px; right: 24px; font-size: 34px; color: rgba(201,162,75,.16); }

.guide-cards-block { background: var(--bg-alt); }
.guide-card {
  background: var(--surface);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(22,41,74,.07);
  transition: all .3s ease;
  border: 1px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.guide-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.guide-cover { position: relative; height: 176px; overflow: hidden; }
.guide-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.guide-card:hover .guide-cover img { transform: scale(1.05); }
.guide-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20,35,60,.35)); }
.guide-body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.guide-body h3 { font-size: 17px; font-weight: 800; color: var(--primary); margin-bottom: 10px; }
.guide-body p { font-size: 14px; color: var(--text-weak); line-height: 1.7; flex: 1; }
.guide-link {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-dark);
  transition: gap .25s, color .25s;
}
.guide-link:hover { gap: 13px; color: var(--primary); }

.stats-block {
  background: linear-gradient(145deg, #0f1c36, #16294a 60%, #1e3a63);
  color: #fff;
  padding: 76px 0;
}
.stats-block .section-head h2 { color: #fff; }
.stats-block .section-head p { color: rgba(255,255,255,.65); }
.stats-block .section-tag { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: var(--accent-light); }
.stat-item { text-align: center; padding: 20px 10px; }
.stat-num { font-size: 46px; font-weight: 900; color: var(--accent-light); line-height: 1.2; letter-spacing: 1px; }
.stat-label { margin-top: 8px; font-size: 15px; color: rgba(255,255,255,.7); font-weight: 600; }

.ranking-list { display: flex; flex-direction: column; gap: 14px; }
.ranking-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 22px;
  transition: all .28s ease;
  box-shadow: 0 3px 10px rgba(22,41,74,.04);
}
.ranking-item:hover { transform: translateX(8px); border-color: rgba(201,162,75,.45); box-shadow: 0 10px 24px rgba(22,41,74,.1); }
.rank-num { font-size: 26px; font-weight: 900; color: var(--accent); opacity: .85; width: 48px; text-align: center; font-style: italic; }
.rank-body { flex: 1; }
.rank-body h4 { font-size: 16px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.rank-body p { font-size: 14px; color: var(--text-weak); line-height: 1.6; }
.rank-tag {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  background: rgba(201,162,75,.12);
  color: var(--accent-dark);
  border: 1px solid rgba(201,162,75,.3);
  padding: 4px 12px;
  border-radius: 999px;
}

.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.faq-item.open { border-color: rgba(201,162,75,.5); box-shadow: 0 6px 18px rgba(22,41,74,.06); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: color .2s;
}
.faq-q:hover { color: var(--accent-dark); }
.faq-q i { color: var(--accent); font-size: 14px; transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .32s ease; padding: 0 24px; }
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 20px; }
.faq-a p { font-size: 14px; color: var(--text-weak); line-height: 1.8; }

.cta-block {
  padding: 76px 0;
  background:
    linear-gradient(120deg, rgba(12,25,48,.9), rgba(27,47,82,.82)),
    url('/assets/images/backpic/back-1.png') center / cover no-repeat;
  color: #fff;
  text-align: center;
}
.cta-block h2 { color: #fff; font-size: 32px; font-weight: 800; margin-bottom: 14px; }
.cta-block p { color: rgba(255,255,255,.75); max-width: 560px; margin: 0 auto 30px; font-size: 16px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.site-footer {
  background: var(--primary-deep);
  color: rgba(255,255,255,.75);
  padding: 64px 0 26px;
  margin-left: var(--sidebar-w);
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand h3 { color: #fff; font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.6); max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 16px; letter-spacing: 1px; }
.footer-col a { display: block; color: rgba(255,255,255,.6); font-size: 14px; margin-bottom: 10px; transition: color .2s, padding-left .2s; }
.footer-col a:hover { color: var(--accent-light); padding-left: 6px; }
.footer-col p { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.7; margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; text-align: center; font-size: 13px; color: rgba(255,255,255,.45); }

@media (max-width: 1024px) {
  .section-block { padding: 64px 0; }
  .category-hero h1 { font-size: 34px; }
  .section-head h2 { font-size: 28px; }
}
@media (max-width: 900px) {
  .site-header {
    transform: translateX(-105%);
    transition: transform .32s ease;
    width: 280px;
    box-shadow: 6px 0 30px rgba(0,0,0,.25);
  }
  body.menu-open .site-header { transform: translateX(0); }
  body.menu-open .menu-backdrop { display: block; }
  body.menu-open { overflow: hidden; }
  .site-main { margin-left: 0; }
  .site-footer { margin-left: 0; }
  .mobile-topbar { display: flex; }
  .brand-box { display: none; }
  .side-foot { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 38px; }
}
@media (max-width: 640px) {
  .container, .container-x { padding: 0 20px; }
  .section-block { padding: 52px 0; }
  .category-hero { padding: 56px 0 50px; }
  .category-hero h1 { font-size: 28px; }
  .category-hero .hero-desc { font-size: 15px; }
  .section-head h2 { font-size: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .ranking-item { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px; }
  .rank-tag { align-self: flex-start; }
  .stat-num { font-size: 32px; }
  .stat-label { font-size: 13px; }
  .hero-actions .btn { flex: 1; justify-content: center; }
}
