/* roulang page: index */
/* ============ 设计变量 ============ */
:root {
  --primary: #4f46e5;
  --primary-dark: #3730a3;
  --primary-light: #eef2ff;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --dark-bg: #0f172a;
  --dark-bg-light: #1e293b;
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 44px rgba(15, 23, 42, 0.12);
  --sidebar-width: 264px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============ 基础 Reset ============ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

button, input, textarea {
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ============ 容器 ============ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ 侧边栏导航 ============ */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--dark-bg);
  color: #fff;
  display: flex;
  flex-direction: column;
  z-index: 1000;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.15);
}

.sidebar-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  margin-bottom: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.brand:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}

.brand-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.brand-text {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.5px;
}

.brand-sub {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link i {
  width: 20px;
  text-align: center;
  font-size: 16px;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav-link.active {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.3), rgba(79, 70, 229, 0.15));
  color: #fff;
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--primary);
}

.nav-link.active i {
  color: var(--accent);
}

.nav-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.sidebar-bottom {
  margin-top: auto;
  padding: 16px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.side-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.1); }
}

.side-copy {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
}

/* ============ 遮罩层 ============ */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ============ 移动端顶部栏 ============ */
.mobile-header {
  display: none;
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--dark-bg);
  padding: 14px 20px;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.menu-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.menu-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.mobile-brand {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============ 主内容区 ============ */
.main-content {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ============ Hero 首屏 ============ */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(30, 27, 75, 0.88)), url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
  color: #fff;
  padding: 110px 0 90px;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25), transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  margin-bottom: 24px;
}

.hero-tag i {
  color: var(--accent);
  font-size: 12px;
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 30%, rgba(255, 255, 255, 0.75));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn i {
  font-size: 15px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(79, 70, 229, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(79, 70, 229, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 12px rgba(79, 70, 229, 0.3);
}

.btn-primary:focus-visible {
  outline: 3px solid rgba(79, 70, 229, 0.4);
  outline-offset: 3px;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(245, 158, 11, 0.08);
  transform: translateY(-2px);
}

.btn-amber {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

.btn-amber:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.4);
}

.hero-update {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 100%;
}

.hero-update i {
  color: var(--accent);
  font-size: 16px;
  animation: rotate 2s linear infinite;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ============ 统计条 ============ */
.stats-section {
  position: relative;
  z-index: 3;
  margin-top: -40px;
  padding-bottom: 20px;
}

.stats-bar {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border: 1px solid rgba(226, 232, 240, 0.6);
}

.stat-item {
  text-align: center;
  padding: 10px 8px;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 500;
}

/* ============ 通用板块 ============ */
.section {
  padding: 80px 0;
}

.section-alt {
  background: linear-gradient(180deg, #f8fafc, #f1f5f9);
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-tag {
  display: inline-block;
  padding: 5px 16px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

/* ============ 核心优势 ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(79, 70, 229, 0.2);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============ 分类入口 ============ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.85));
  z-index: 1;
  transition: var(--transition);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.category-card:hover::before {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0.9));
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.category-card:hover img {
  transform: scale(1.05);
}

.category-content {
  position: relative;
  z-index: 2;
  padding: 30px;
  width: 100%;
}

.category-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
}

.category-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 14px;
  max-width: 280px;
}

.category-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  backdrop-filter: blur(4px);
  transition: var(--transition);
}

.category-card:hover .category-btn {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
}

/* ============ 资讯列表 ============ */
.news-section {
  background: linear-gradient(180deg, #f8fafc, #fff);
}

.news-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.news-featured {
  grid-row: span 2;
  background: var(--dark-bg);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-lg);
}

.news-featured::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.4), transparent 70%);
}

.news-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  align-self: flex-start;
}

.news-featured h3 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

.news-featured p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.news-featured-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.news-card:hover {
  border-color: rgba(79, 70, 229, 0.2);
  box-shadow: var(--shadow);
  transform: translateX(4px);
}

.news-card a {
  display: block;
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.news-cat {
  display: inline-block;
  padding: 3px 12px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
}

.news-date {
  font-size: 13px;
  color: var(--text-light);
}

.news-card h4 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 6px;
  transition: var(--transition);
}

.news-card:hover h4 {
  color: var(--primary);
}

.news-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-more {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.news-more i {
  font-size: 12px;
  transition: var(--transition);
}

.news-card:hover .news-more i {
  transform: translateX(4px);
}

.news-empty {
  background: var(--card);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  color: var(--text-muted);
  border: 1px dashed var(--border);
  font-size: 15px;
}

/* ============ 热门推荐 ============ */
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.game-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.game-cover {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.game-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.game-card:hover .game-cover img {
  transform: scale(1.06);
}

.game-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 14px;
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

.game-info {
  padding: 20px;
}

.game-info h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.game-info p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}

.game-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
}

.game-link i {
  font-size: 12px;
  transition: var(--transition);
}

.game-card:hover .game-link i {
  transform: translateX(4px);
}

/* ============ 使用流程 ============ */
.steps-section {
  background: linear-gradient(135deg, var(--dark-bg), #1e1b4b);
  color: #fff;
}

.steps-section .section-tag {
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent);
}

.steps-section .section-header p {
  color: rgba(255, 255, 255, 0.6);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}

.step-card {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 36px 24px 28px;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.step-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  transform: translateY(-6px);
}

.step-num {
  position: absolute;
  top: -18px;
  left: 24px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 18px;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

/* ============ FAQ ============ */
.faq-grid {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(79, 70, 229, 0.2);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 16px;
  font-weight: 600;
  transition: var(--transition);
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary i {
  min-width: 20px;
  text-align: center;
  color: var(--primary);
  font-size: 15px;
  transition: var(--transition);
}

.faq-item[open] summary {
  color: var(--primary);
  padding-bottom: 14px;
}

.faq-item[open] summary i.fa-chevron-down {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 26px 22px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

/* ============ CTA ============ */
.cta-section {
  padding: 80px 0;
  background: var(--bg);
}

.cta-box {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.95), rgba(55, 48, 163, 0.95)), url('/assets/images/backpic/back-2.png') center cover no-repeat;
  border-radius: var(--radius-lg);
  padding: 60px 50px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(79, 70, 229, 0.25);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.3);
  filter: blur(40px);
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  filter: blur(30px);
}

.cta-box h2 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
}

.cta-box .btn {
  position: relative;
  z-index: 2;
}

/* ============ 页脚 ============ */
.site-footer {
  background: var(--dark-bg);
  color: rgba(255, 255, 255, 0.65);
  padding: 60px 0 30px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 360px;
}

.footer-brand .brand {
  background: none;
  border: none;
  padding: 0;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}

.footer-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-links a i {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ============ 响应式断点 ============ */
@media (max-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .recommend-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 1024px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
  .news-layout {
    grid-template-columns: 1fr;
  }
  .news-featured {
    min-height: 260px;
  }
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
  }
  .stat-item {
    border-right: none;
    padding: 8px;
  }
}

@media (max-width: 992px) {
  .sidebar {
    transform: translateX(-100%);
    width: 300px;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .mobile-header {
    display: flex;
  }
  .main-content {
    margin-left: 0;
  }
  .stats-section {
    margin-top: -30px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 80px 0 70px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero p {
    font-size: 16px;
  }
  .section {
    padding: 60px 0;
  }
  .section-header h2 {
    font-size: 28px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .recommend-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .cta-box {
    padding: 44px 28px;
  }
  .cta-box h2 {
    font-size: 26px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    justify-content: center;
  }
  .stats-bar {
    grid-template-columns: 1fr 1fr;
    padding: 24px;
  }
  .stat-num {
    font-size: 30px;
  }
  .news-featured {
    padding: 26px;
  }
  .news-featured h3 {
    font-size: 20px;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 16px;
  }
  .hero h1 {
    font-size: 30px;
    letter-spacing: 0;
  }
  .hero p {
    font-size: 15px;
  }
  .hero-tag {
    font-size: 13px;
    padding: 6px 14px;
  }
  .hero-update {
    font-size: 13px;
    padding: 10px 14px;
    flex-wrap: wrap;
  }
  .section-header h2 {
    font-size: 24px;
  }
  .section-header p {
    font-size: 14px;
  }
  .stats-bar {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 0;
  }
  .stat-item {
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
  }
  .stat-item:last-child {
    border-bottom: none;
  }
  .recommend-grid {
    grid-template-columns: 1fr;
  }
  .category-content {
    padding: 22px;
  }
  .category-content h3 {
    font-size: 20px;
  }
  .category-card {
    min-height: 240px;
  }
  .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 15px;
  }
  .cta-box {
    padding: 36px 20px;
  }
  .cta-box h2 {
    font-size: 22px;
  }
  .faq-item summary {
    padding: 18px 20px;
    font-size: 15px;
  }
  .faq-answer {
    padding: 0 20px 18px;
    font-size: 14px;
  }
  .footer-grid {
    gap: 28px;
  }
}

/* roulang page: article */
:root{
  --primary:#6366f1;
  --primary-dark:#4f46e5;
  --primary-light:#eef2ff;
  --accent:#f59e0b;
  --accent-dark:#d97706;
  --sidebar-bg:#0f172a;
  --sidebar-text:#cbd5e1;
  --bg:#f1f5f9;
  --card-bg:#ffffff;
  --text:#1e293b;
  --text-secondary:#64748b;
  --text-light:#94a3b8;
  --border:#e2e8f0;
  --radius-sm:10px;
  --radius:16px;
  --radius-lg:24px;
  --shadow:0 4px 24px rgba(15,23,42,.06);
  --shadow-hover:0 12px 36px rgba(15,23,42,.12);
  --sidebar-w:264px;
  --gap:24px;
  --container:1200px;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:system-ui,-apple-system,"PingFang SC","Microsoft YaHei","Segoe UI",sans-serif;background:var(--bg);color:var(--text);line-height:1.6;font-size:16px}
img{max-width:100%;display:block;height:auto}
a{color:inherit;text-decoration:none;transition:color .25s ease}
button{font-family:inherit;cursor:pointer;border:none;background:none}
input,textarea{font-family:inherit}
.container{max-width:var(--container);margin:0 auto;padding-left:20px;padding-right:20px}
.app-shell{display:flex;min-height:100vh}
.sidebar{position:fixed;left:0;top:0;bottom:0;width:var(--sidebar-w);background:var(--sidebar-bg);z-index:300;display:flex;flex-direction:column;transition:transform .3s ease;overflow-y:auto}
.sidebar-inner{display:flex;flex-direction:column;height:100%;padding:28px 20px}
.brand{display:flex;align-items:center;gap:12px;margin-bottom:34px;padding:0 8px}
.brand-icon{width:46px;height:46px;flex-shrink:0;background:linear-gradient(135deg,var(--primary),var(--accent));border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:20px;color:#fff;box-shadow:0 6px 18px rgba(99,102,241,.35)}
.brand-text{display:flex;flex-direction:column;line-height:1.3}
.brand-text > strong{color:#fff;font-size:15px;font-weight:700;letter-spacing:.3px}
.brand-sub{color:var(--sidebar-text);font-size:11px;margin-top:2px;opacity:.8}
.sidebar-nav{display:flex;flex-direction:column;gap:6px}
.nav-link{display:flex;align-items:center;gap:14px;padding:13px 18px;border-radius:12px;color:var(--sidebar-text);font-size:15px;font-weight:500;transition:all .25s ease;position:relative}
.nav-link i{width:20px;text-align:center;font-size:16px}
.nav-link:hover{background:rgba(255,255,255,.06);color:#fff;transform:translateX(4px)}
.nav-link.active{background:var(--primary);color:#fff;font-weight:600;box-shadow:0 4px 16px rgba(99,102,241,.35)}
.nav-link.active::after{content:'';position:absolute;right:14px;top:50%;transform:translateY(-50%);width:6px;height:6px;border-radius:50%;background:var(--accent)}
.sidebar-footer{margin-top:auto;padding-top:24px}
.sidebar-tip{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:16px;display:flex;align-items:center;gap:10px}
.sidebar-tip i{color:var(--accent);font-size:18px}
.sidebar-tip span{color:var(--sidebar-text);font-size:13px;line-height:1.4}
.sidebar-overlay{position:fixed;inset:0;background:rgba(15,23,42,.5);z-index:290;opacity:0;visibility:hidden;transition:all .3s ease}
.sidebar-overlay.show{opacity:1;visibility:visible}
.mobile-header{display:none;position:sticky;top:0;z-index:200;background:var(--sidebar-bg);padding:14px 16px;align-items:center;gap:12px;box-shadow:0 2px 12px rgba(15,23,42,.2)}
.menu-toggle{width:44px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:rgba(255,255,255,.08);color:#fff;font-size:18px;transition:background .2s}
.menu-toggle:hover{background:rgba(255,255,255,.14)}
.mobile-brand{display:flex;align-items:center;gap:10px;color:#fff;font-weight:700;font-size:16px}
.main-content{flex:1;margin-left:var(--sidebar-w);min-width:0;display:flex;flex-direction:column}
.article-hero{position:relative;padding:64px 0 72px;margin:24px 24px 0;border-radius:var(--radius-lg);overflow:hidden;background:var(--sidebar-bg)}
.hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.35}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(135deg,rgba(15,23,42,.85) 0%,rgba(15,23,42,.55) 50%,rgba(99,102,241,.35) 100%)}
.article-hero .container{position:relative;z-index:2}
.breadcrumb{display:flex;align-items:center;gap:10px;font-size:14px;color:rgba(255,255,255,.7);margin-bottom:24px;flex-wrap:wrap}
.breadcrumb a{display:inline-flex;align-items:center;gap:6px;color:rgba(255,255,255,.75);transition:color .2s}
.breadcrumb a:hover{color:#fff}
.breadcrumb i{font-size:10px;color:rgba(255,255,255,.4)}
.breadcrumb .current{color:#fff;font-weight:500}
.category-badge{display:inline-flex;align-items:center;gap:8px;background:var(--accent);color:#fff;font-size:13px;font-weight:600;padding:6px 16px;border-radius:100px;margin-bottom:16px;box-shadow:0 4px 14px rgba(245,158,11,.3)}
.category-badge i{font-size:13px}
.article-hero h1{font-size:32px;line-height:1.35;font-weight:800;color:#fff;max-width:760px;margin-bottom:20px;letter-spacing:.3px}
.article-meta{display:flex;align-items:center;gap:20px;color:rgba(255,255,255,.75);font-size:14px;flex-wrap:wrap}
.article-meta span{display:inline-flex;align-items:center;gap:7px}
.article-meta i{font-size:14px;color:rgba(255,255,255,.5)}
.article-layout{margin-top:-24px;position:relative;z-index:5}
.article-card{background:var(--card-bg);border-radius:var(--radius-lg);box-shadow:var(--shadow);overflow:hidden;margin:-36px 24px 0}
.article-cover{height:320px;overflow:hidden;position:relative}
.article-cover img{width:100%;height:100%;object-fit:cover}
.article-cover::after{content:'';position:absolute;inset:0;background:linear-gradient(to top,rgba(15,23,42,.25),transparent)}
.article-content{padding:40px 48px 32px;font-size:16px;line-height:1.85;color:var(--text)}
.article-content h2,.article-content h3,.article-content h4{margin:28px 0 14px;font-weight:700;color:var(--text);line-height:1.4}
.article-content h2{font-size:24px}
.article-content h3{font-size:20px}
.article-content p{margin-bottom:18px;color:#475569}
.article-content ul,.article-content ol{margin:0 0 18px;padding-left:22px;color:#475569}
.article-content li{margin-bottom:8px}
.article-content img{border-radius:14px;margin:20px 0;box-shadow:var(--shadow)}
.article-content a{color:var(--primary);font-weight:500;border-bottom:1px solid rgba(99,102,241,.3)}
.article-content a:hover{color:var(--primary-dark);border-color:var(--primary)}
.article-content blockquote{border-left:4px solid var(--primary);padding:16px 24px;margin:20px 0;background:var(--primary-light);border-radius:0 12px 12px 0;color:#475569;font-style:normal}
.article-content blockquote p{margin-bottom:0}
.article-content table{width:100%;border-collapse:collapse;margin:20px 0;font-size:14px}
.article-content th,.article-content td{border:1px solid var(--border);padding:12px 14px;text-align:left}
.article-content th{background:var(--primary-light);font-weight:600;color:var(--text)}
.not-found{padding:48px 24px;text-align:center}
.not-found-icon{display:block;width:72px;height:72px;margin:0 auto 20px;background:var(--primary-light);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:28px;color:var(--primary)}
.not-found h2{font-size:26px;font-weight:800;margin-bottom:12px;color:var(--text)}
.not-found p{color:var(--text-secondary);margin-bottom:24px;max-width:360px;margin-left:auto;margin-right:auto}
.tag-wrap{padding:0 48px 36px;border-top:1px solid var(--border);margin-top:8px}
.article-tags{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding-top:24px}
.tag-label{font-size:14px;color:var(--text-secondary);font-weight:500}
.tag{display:inline-block;background:var(--bg);border:1px solid var(--border);color:var(--text-secondary);font-size:13px;padding:5px 14px;border-radius:100px;transition:all .2s}
.tag:hover{background:var(--primary);color:#fff;border-color:var(--primary)}
.share-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding:20px 48px 36px}
.share-label{font-size:14px;color:var(--text-secondary);display:inline-flex;align-items:center;gap:8px}
.share-icons{display:flex;gap:10px}
.share-btn{width:40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:16px;color:#fff;transition:all .25s;background:var(--text-light)}
.share-btn.wechat{background:#07c160}
.share-btn.weibo{background:#e6162d}
.share-btn.qq{background:#12b7f5}
.share-btn:hover{transform:translateY(-3px);box-shadow:0 8px 20px rgba(15,23,42,.15)}
.related-section{padding:56px 24px 20px}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:28px;flex-wrap:wrap;gap:12px}
.section-head .section-tag{display:inline-block;background:var(--primary-light);color:var(--primary);font-size:12px;font-weight:600;padding:5px 14px;border-radius:100px;margin-bottom:8px}
.section-head h2{font-size:24px;font-weight:800;color:var(--text);line-height:1.3}
.section-more{display:inline-flex;align-items:center;gap:6px;font-size:14px;color:var(--primary);font-weight:500;transition:gap .2s}
.section-more:hover{gap:10px}
.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.related-card{background:var(--card-bg);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);transition:all .3s ease;border:1px solid rgba(226,232,240,.6);display:flex;flex-direction:column}
.related-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-hover);border-color:rgba(99,102,241,.25)}
.related-img{position:relative;height:180px;overflow:hidden}
.related-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.related-card:hover .related-img img{transform:scale(1.06)}
.img-badge{position:absolute;left:14px;bottom:14px;background:rgba(15,23,42,.75);backdrop-filter:blur(6px);color:#fff;font-size:12px;padding:4px 12px;border-radius:100px;border:1px solid rgba(255,255,255,.15)}
.related-body{padding:20px;display:flex;flex-direction:column;flex:1}
.related-body h3{font-size:16px;font-weight:700;color:var(--text);line-height:1.5;margin-bottom:10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.related-body h3:hover{color:var(--primary)}
.related-body p{font-size:14px;color:var(--text-secondary);line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:14px;flex:1}
.related-date{font-size:13px;color:var(--text-light);display:inline-flex;align-items:center;gap:6px}
.cta-section{margin:40px 24px 0;background:linear-gradient(135deg,var(--primary-dark),var(--primary));border-radius:var(--radius-lg);padding:48px 40px;position:relative;overflow:hidden;text-align:center}
.cta-section::before{content:'';position:absolute;top:-40px;right:-40px;width:180px;height:180px;background:rgba(255,255,255,.08);border-radius:50%}
.cta-section::after{content:'';position:absolute;bottom:-60px;left:-60px;width:200px;height:200px;background:rgba(255,255,255,.05);border-radius:50%}
.cta-section .container{position:relative;z-index:2}
.cta-section h2{font-size:26px;font-weight:800;color:#fff;margin-bottom:12px}
.cta-section p{color:rgba(255,255,255,.8);font-size:15px;margin-bottom:28px;max-width:520px;margin-left:auto;margin-right:auto}
.cta-buttons{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;gap:8px;padding:12px 28px;border-radius:12px;font-size:15px;font-weight:600;transition:all .25s ease;border:none}
.btn-white{background:#fff;color:var(--primary)}
.btn-white:hover{transform:translateY(-3px);box-shadow:0 10px 28px rgba(15,23,42,.25)}
.btn-outline-light{background:transparent;border:2px solid rgba(255,255,255,.6);color:#fff}
.btn-outline-light:hover{background:#fff;color:var(--primary);transform:translateY(-3px)}
.site-footer{margin:48px 0 0;background:var(--sidebar-bg);color:var(--sidebar-text);padding:48px 0 24px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px;margin-bottom:32px}
.footer-brand .brand{margin-bottom:18px}
.footer-brand p{font-size:14px;line-height:1.7;color:var(--text-light);max-width:360px}
.footer-title{font-size:15px;font-weight:700;color:#fff;margin-bottom:16px}
.footer-links{display:flex;flex-direction:column;gap:10px}
.footer-links a,.footer-links span{font-size:14px;color:var(--text-light);display:inline-flex;align-items:center;gap:8px;transition:color .2s}
.footer-links a:hover{color:#fff}
.footer-links i{font-size:10px;color:var(--primary)}
.footer-bottom{border-top:1px solid rgba(255,255,255,.08);padding-top:24px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;font-size:14px;color:var(--text-light)}
.footer-bottom span{display:inline-flex;align-items:center;gap:6px}
@media(max-width:1200px){
  .related-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:1024px){
  .sidebar{transform:translateX(-100%)}
  .sidebar.open{transform:translateX(0)}
  .mobile-header{display:flex}
  .main-content{margin-left:0}
  .article-hero{margin:16px 16px 0;padding:48px 0 60px}
  .article-card{margin:-30px 16px 0}
  .article-content{padding:32px 28px 24px}
  .cta-section{margin:32px 16px 0;padding:40px 24px}
  .cta-section h2{font-size:22px}
  .footer-grid{grid-template-columns:1fr 1fr;gap:28px}
}
@media(max-width:768px){
  .article-hero h1{font-size:24px}
  .article-cover{height:220px}
  .article-content{padding:24px 20px 20px;font-size:15px}
  .related-grid{grid-template-columns:1fr}
  .related-img{height:200px}
  .cta-section{padding:36px 20px}
  .cta-section h2{font-size:20px}
  .footer-grid{grid-template-columns:1fr;gap:24px}
  .footer-bottom{flex-direction:column;align-items:flex-start}
  .tag-wrap{padding:0 20px 24px}
  .share-bar{padding:16px 20px 28px}
  .article-meta{gap:12px;flex-direction:column;align-items:flex-start}
}
@media(max-width:520px){
  .container{padding-left:14px;padding-right:14px}
  .article-hero{padding:40px 0 48px}
  .article-hero h1{font-size:20px}
  .breadcrumb{font-size:12px}
  .category-badge{font-size:12px}
  .article-cover{height:180px}
  .article-content{padding:20px 16px 16px}
  .article-content h2{font-size:20px}
  .related-grid{grid-template-columns:1fr}
  .cta-section h2{font-size:18px}
  .cta-buttons{flex-direction:column}
  .cta-buttons .btn{justify-content:center}
  .mobile-brand{font-size:14px}
}

/* roulang page: category1 */
/* ===================== 设计变量 ===================== */
:root {
  --primary: #4f46e5;
  --primary-dark: #3730a3;
  --primary-light: #eef2ff;
  --accent: #f59e0b;
  --accent-dark: #b45309;
  --bg-body: #f4f6fb;
  --bg-surface: #ffffff;
  --bg-soft: #eef2f7;
  --bg-dark: #0f172a;
  --text-main: #1e293b;
  --text-weak: #64748b;
  --text-faint: #94a3b8;
  --border: #e2e8f0;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .06);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, .14);
  --sidebar-width: 264px;
  --topbar-height: 62px;
  --section-space: 76px;
  --container: 1200px;
  --transition: .25s ease;
}

/* ===================== Reset / 基础 ===================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-main);
  background: var(--bg-body);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: transparent;
  font-family: inherit;
}

input,
textarea {
  font-family: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(79, 70, 229, .45);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 920px;
}

/* ===================== Shell + Sidebar ===================== */
.shell {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 1000;
  width: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  padding: 22px 16px;
  color: #e2e8f0;
  background: linear-gradient(180deg, #131a2c, #0b1222);
  border-right: 1px solid rgba(255, 255, 255, .06);
  transition: transform .32s ease, width .3s ease;
}

.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 6px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  margin-bottom: 20px;
}

.sidebar-head .brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  color: #fff;
  box-shadow: 0 8px 22px rgba(79, 70, 229, .4);
}

.sidebar-head .brand-text {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  display: flex;
  flex-direction: column;
}

.sidebar-head .brand-sub {
  font-size: 11px;
  font-weight: 400;
  color: #7f8db3;
  margin-top: 4px;
  letter-spacing: .02em;
}

.sidebar-close {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-faint);
  transition: all var(--transition);
}

.sidebar-close:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  color: #aab6cf;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}

.nav-link i {
  width: 20px;
  text-align: center;
  font-size: 16px;
}

.nav-link:hover {
  background: rgba(255, 255, 255, .07);
  color: #fff;
  text-decoration: none;
}

.nav-link.active {
  background: linear-gradient(90deg, var(--primary), #6d28d9);
  color: #fff;
  box-shadow: 0 10px 24px rgba(79, 70, 229, .35);
}

.sidebar-foot {
  margin-top: auto;
  padding: 14px 16px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 14px;
  font-size: 12px;
  color: #7e8fb8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-foot::before {
  content: "\f4ad";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #34d399;
  font-size: 13px;
}

.sidebar-mask {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(15, 23, 42, .55);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
  display: none;
}

/* ===================== Main + Mobile Top ===================== */
.main {
  flex: 1;
  min-width: 0;
  margin-left: var(--sidebar-width);
  display: flex;
  flex-direction: column;
}

.mobile-top {
  display: none;
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--topbar-height);
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: rgba(15, 23, 42, .97);
  backdrop-filter: blur(8px);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}

.menu-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: #fff;
  transition: background var(--transition);
}

.menu-btn:hover {
  background: rgba(255, 255, 255, .12);
}

.mobile-brand {
  flex: 1;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 8px;
}

/* ===================== Button ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .02em;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

.btn i {
  font-size: 14px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 10px 24px rgba(79, 70, 229, .35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(79, 70, 229, .45);
}

.btn-accent {
  background: linear-gradient(135deg, #fbbf24, #d97706);
  color: #1e293b;
  box-shadow: 0 10px 24px rgba(245, 158, 11, .35);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(245, 158, 11, .44);
}

.btn-ghost {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .2);
  border-color: rgba(255, 255, 255, .5);
  transform: translateY(-2px);
}

/* ===================== Section 通用 ===================== */
.section {
  padding: var(--section-space) 0;
}

.section-white {
  background: var(--bg-surface);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: 32px;
  line-height: 1.35;
  font-weight: 800;
  margin-bottom: 10px;
}

.section-head p {
  color: var(--text-weak);
  font-size: 16px;
}

.text-gradient {
  background: linear-gradient(90deg, var(--primary), #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ===================== Hero ===================== */
.page-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  color: #fff;
  padding: 64px 0;
  overflow: hidden;
  background-image: linear-gradient(120deg, rgba(15, 23, 42, .96) 0%, rgba(30, 27, 90, .9) 48%, rgba(79, 70, 229, .78) 100%), url('/assets/images/backpic/back-1.png');
  background-size: cover;
  background-position: center;
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  right: -80px;
  bottom: -110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, .28), transparent 70%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
  backdrop-filter: blur(4px);
}

.hero-badge i {
  color: #fbbf24;
}

.hero-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 8px;
}

.hero-brand-line {
  display: block;
  font-size: 30px;
  font-weight: 800;
  margin-top: 8px;
  background: linear-gradient(90deg, #c7d2fe, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text {
  max-width: 620px;
  margin-top: 18px;
  font-size: 17px;
  color: #cbd5e1;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #dbe3f5;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .18);
  padding: 7px 14px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.hero-tags i {
  color: #34d399;
}

/* ===================== Update Strip ===================== */
.update-strip {
  background: linear-gradient(90deg, #eef2ff, #fdf4ff);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 11px 0;
  font-size: 14px;
  color: var(--text-weak);
}

.update-strip .container {
  display: flex;
  align-items: center;
  gap: 4px;
}

.update-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, .15);
  margin-right: 6px;
  flex-shrink: 0;
}

/* ===================== Features ===================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 70, 229, .25);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 18px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  transition: transform .3s ease, background .3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.06);
  background: #e0e7ff;
}

.feature-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-weak);
  line-height: 1.8;
}

/* ===================== Entry Cards ===================== */
.entry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.entry-card {
  position: relative;
  min-height: 236px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  isolation: isolate;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: var(--shadow-sm);
}

.entry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 30%, rgba(15, 23, 42, .86) 100%);
  z-index: -1;
}

.entry-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(79, 70, 229, .08), rgba(15, 23, 42, 0));
  z-index: -1;
  transition: opacity .3s ease;
}

.entry-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.entry-card-inner {
  position: relative;
  z-index: 2;
}

.entry-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(4px);
  margin-bottom: 12px;
}

.entry-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 6px;
}

.entry-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, .78);
  line-height: 1.65;
}

/* ===================== Steps ===================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}

.step-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle at top right, rgba(79, 70, 229, .12), transparent 70%);
  border-radius: 0 0 0 90px;
  transition: transform .3s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 10px 22px rgba(79, 70, 229, .3);
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-weak);
  line-height: 1.8;
}

/* ===================== Tips ===================== */
.tips-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 52px;
  align-items: center;
}

.tips-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.tips-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.tips-media:hover img {
  transform: scale(1.04);
}

.tips-content .section-tag {
  margin-bottom: 10px;
}

.tips-content h2 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 12px;
}

.tips-content>p {
  color: var(--text-weak);
  font-size: 15px;
  margin-bottom: 22px;
}

.tips-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tips-list li {
  position: relative;
  padding-left: 32px;
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.7;
}

.tips-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 11px;
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ===================== Articles ===================== */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.article-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.article-img {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}

.article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.article-card:hover .article-img img {
  transform: scale(1.06);
}

.article-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 5px 12px;
  border-radius: 999px;
}

.tag i {
  font-size: 12px;
}

.article-body h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  margin: 12px 0 8px;
}

.article-body h3 a {
  color: var(--text-main);
  transition: color var(--transition);
}

.article-body h3 a:hover {
  color: var(--primary);
}

.article-body p {
  font-size: 14px;
  color: var(--text-weak);
  line-height: 1.75;
  flex: 1;
}

.article-link {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.article-link i {
  transition: transform .2s ease;
}

.article-link:hover i {
  transform: translateX(4px);
}

/* ===================== FAQ ===================== */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow .3s ease, border-color .3s ease;
}

.faq-item+.faq-item {
  margin-top: 14px;
}

.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: rgba(79, 70, 229, .3);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.5;
  transition: background var(--transition);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  background: #f8fafc;
}

.faq-icon {
  color: var(--primary);
  font-size: 17px;
  flex-shrink: 0;
}

.faq-toggle {
  margin-left: auto;
  color: var(--text-faint);
  font-size: 14px;
  flex-shrink: 0;
  transition: transform .3s ease, color .3s ease;
}

.faq-item[open] .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary);
}

.faq-answer {
  padding: 0 22px 20px;
  color: var(--text-weak);
  font-size: 14px;
  line-height: 1.8;
  border-top: 1px dashed var(--border);
  margin: 0 22px;
  padding-left: 0;
  padding-right: 0;
}

.faq-answer p {
  margin-top: 16px;
}

/* ===================== CTA ===================== */
.cta-section {
  padding-top: 0;
}

.cta-box {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  text-align: center;
  color: #fff;
  padding: 70px 40px;
  background-image: linear-gradient(125deg, rgba(15, 23, 42, .95) 0%, rgba(49, 46, 129, .88) 55%, rgba(79, 70, 229, .8) 100%), url('/assets/images/backpic/back-2.png');
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
}

.cta-box::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  left: -90px;
  top: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, .2), transparent 72%);
  pointer-events: none;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #fde68a;
  background: rgba(245, 158, 11, .14);
  border: 1px solid rgba(245, 158, 11, .3);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.cta-box h2 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 12px;
}

.cta-box p {
  font-size: 15px;
  color: #cbd5e1;
  max-width: 520px;
  margin: 0 auto 30px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===================== Footer ===================== */
.site-footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 54px 0 26px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 34px;
}

.footer-brand .brand {
  color: #fff;
}

.footer-brand .brand-icon {
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  box-shadow: 0 8px 22px rgba(79, 70, 229, .35);
}

.footer-brand .brand-sub {
  color: #6c7a9b;
}

.footer-brand p {
  max-width: 420px;
  margin-top: 18px;
  color: #8897b5;
  font-size: 14px;
  line-height: 1.8;
}

.footer-title {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a,
.footer-links span {
  color: #8897b5;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
}

.footer-links a:hover {
  color: #fff;
}

.footer-links i {
  color: var(--primary);
  font-size: 12px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #5c6c8c;
}

/* ===================== 响应式 ===================== */
@media (max-width: 1200px) {
  .entry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  :root {
    --section-space: 60px;
  }

  .sidebar {
    width: min(300px, 84vw);
    transform: translateX(-100%);
    box-shadow: 20px 0 50px rgba(0, 0, 0, .2);
  }

  body.sidebar-open .sidebar {
    transform: translateX(0);
  }

  .sidebar-mask {
    display: block;
  }

  body.sidebar-open .sidebar-mask {
    opacity: 1;
    visibility: visible;
  }

  .sidebar-close {
    display: flex;
  }

  .main {
    margin-left: 0;
  }

  .mobile-top {
    display: flex;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 420px;
    padding: 48px 0;
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-brand-line {
    font-size: 26px;
  }

  .hero-text {
    font-size: 15px;
  }

  .section-head h2 {
    font-size: 26px;
  }

  .tips-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .entry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-box {
    padding: 46px 24px;
  }

  .cta-box h2 {
    font-size: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 18px;
  }

  .features-grid,
  .steps-grid,
  .article-grid,
  .entry-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: auto;
    padding: 40px 0;
  }

  .hero-title {
    font-size: 29px;
  }

  .hero-brand-line {
    font-size: 22px;
  }

  .hero-tags {
    gap: 8px;
  }

  .hero-tags span {
    font-size: 12px;
    padding: 6px 12px;
  }

  .btn {
    padding: 12px 22px;
    font-size: 14px;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .step-card {
    padding: 24px 20px;
  }

  .entry-card {
    min-height: 180px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* roulang page: category2 */
:root {
      --primary: #6d5dfc;
      --primary-dark: #4f3dd8;
      --primary-light: #ece9ff;
      --secondary: #ff7a59;
      --secondary-light: #fff1ec;
      --accent: #00b3a4;
      --bg: #f4f6fb;
      --surface: #ffffff;
      --text: #14162b;
      --text-soft: #5e6178;
      --text-faint: #979bb0;
      --border: #e4e7f2;
      --radius-sm: 10px;
      --radius-md: 16px;
      --radius-lg: 24px;
      --shadow-sm: 0 2px 10px rgba(20, 22, 43, 0.05);
      --shadow-md: 0 8px 30px rgba(20, 22, 43, 0.08);
      --shadow-lg: 0 18px 50px rgba(20, 22, 43, 0.12);
      --sp: 16px;
      --sp-lg: 32px;
      --sp-xl: 56px;
      --sidebar-w: 260px;
      --safe-top: 0px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.7;
      font-size: 15px;
      -webkit-font-smoothing: antialiased;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    img {
      max-width: 100%;
      display: block;
    }

    ul, ol {
      list-style: none;
    }

    button, input {
      font-family: inherit;
      font-size: inherit;
      border: none;
      background: none;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* ===== 按钮 ===== */
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 12px 26px;
      border-radius: 999px;
      font-weight: 600;
      font-size: 14px;
      line-height: 1.4;
      cursor: pointer;
      transition: all 0.3s ease;
      border: 2px solid transparent;
    }

    .btn i {
      font-size: 13px;
      transition: transform 0.3s ease;
    }

    .btn:hover i {
      transform: translateX(4px);
    }

    .btn-primary {
      background: var(--primary);
      color: #fff;
      box-shadow: 0 8px 24px rgba(109, 93, 252, 0.3);
    }

    .btn-primary:hover {
      background: var(--primary-dark);
      box-shadow: 0 12px 32px rgba(109, 93, 252, 0.4);
      transform: translateY(-2px);
    }

    .btn-outline {
      background: transparent;
      border-color: var(--border);
      color: var(--text);
    }

    .btn-outline:hover {
      border-color: var(--primary);
      color: var(--primary);
      background: var(--primary-light);
      transform: translateY(-2px);
    }

    .btn-light {
      background: #fff;
      color: var(--primary);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    }

    .btn-light:hover {
      background: var(--primary-light);
      transform: translateY(-2px);
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    }

    /* ===== 徽章/标签 ===== */
    .badge {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 4px 14px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 600;
      line-height: 1.5;
    }

    .badge-primary {
      background: var(--primary-light);
      color: var(--primary);
    }

    .badge-secondary {
      background: var(--secondary-light);
      color: var(--secondary);
    }

    .badge-accent {
      background: rgba(0, 179, 164, 0.12);
      color: var(--accent);
    }

    .badge-dark {
      background: rgba(20, 22, 43, 0.65);
      color: #fff;
      backdrop-filter: blur(8px);
    }

    .tag {
      display: inline-block;
      padding: 4px 12px;
      border-radius: 6px;
      background: var(--bg);
      color: var(--text-soft);
      font-size: 12px;
      font-weight: 500;
      border: 1px solid var(--border);
    }

    /* ===== 侧边栏 ===== */
    .sidebar {
      position: fixed;
      top: 0;
      left: 0;
      width: var(--sidebar-w);
      height: 100vh;
      background: var(--surface);
      border-right: 1px solid var(--border);
      display: flex;
      flex-direction: column;
      z-index: 1000;
      transition: transform 0.3s ease;
    }

    .sidebar-inner {
      display: flex;
      flex-direction: column;
      height: 100%;
      padding: 24px 18px;
      overflow-y: auto;
    }

    .sidebar .brand {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 6px 8px 20px;
      border-bottom: 1px solid var(--border);
      margin-bottom: 18px;
    }

    .brand-icon {
      width: 38px;
      height: 38px;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 12px;
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      color: #fff;
      font-size: 17px;
      box-shadow: 0 6px 16px rgba(109, 93, 252, 0.3);
    }

    .brand-text {
      display: flex;
      flex-direction: column;
      line-height: 1.3;
      font-weight: 700;
      font-size: 16px;
      color: var(--text);
      white-space: nowrap;
    }

    .brand-sub {
      font-size: 10.5px;
      font-weight: 500;
      color: var(--text-faint);
    }

    .sidebar-nav {
      display: flex;
      flex-direction: column;
      gap: 4px;
      flex: 1;
    }

    .nav-link {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 14px;
      border-radius: 12px;
      font-size: 14px;
      font-weight: 500;
      color: var(--text-soft);
      transition: all 0.25s ease;
      position: relative;
    }

    .nav-link i {
      width: 20px;
      text-align: center;
      font-size: 15px;
    }

    .nav-link:hover {
      background: var(--bg);
      color: var(--text);
    }

    .nav-link.active {
      background: var(--primary-light);
      color: var(--primary);
      font-weight: 600;
    }

    .nav-link.active::before {
      content: "";
      position: absolute;
      left: -18px;
      top: 50%;
      transform: translateY(-50%);
      width: 4px;
      height: 22px;
      border-radius: 0 4px 4px 0;
      background: var(--primary);
    }

    .sidebar-card {
      margin-top: 20px;
      padding: 16px;
      border-radius: var(--radius-md);
      background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
      border: 1px solid rgba(109, 93, 252, 0.15);
    }

    .sidebar-card h4 {
      font-size: 14px;
      margin-bottom: 6px;
    }

    .sidebar-card p {
      font-size: 12.5px;
      color: var(--text-soft);
      margin-bottom: 12px;
    }

    .sidebar-card .btn {
      width: 100%;
      justify-content: center;
      padding: 8px 16px;
      font-size: 13px;
    }

    /* ===== 主内容 ===== */
    .main-wrapper {
      margin-left: var(--sidebar-w);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    .main-wrapper > main {
      flex: 1;
    }

    /* ===== 移动端顶栏 ===== */
    .mobile-header {
      display: none;
      position: sticky;
      top: 0;
      z-index: 999;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
      padding: 12px 16px;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .mobile-header .brand-thumb {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 700;
      font-size: 15px;
      white-space: nowrap;
    }

    .mobile-header .brand-thumb .brand-icon {
      width: 32px;
      height: 32px;
      font-size: 14px;
      border-radius: 9px;
    }

    .mobile-nav {
      display: flex;
      gap: 6px;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      padding: 2px 0;
      scrollbar-width: none;
    }

    .mobile-nav::-webkit-scrollbar {
      display: none;
    }

    .mobile-nav a {
      flex-shrink: 0;
      padding: 7px 16px;
      border-radius: 999px;
      background: var(--bg);
      color: var(--text-soft);
      font-size: 13px;
      font-weight: 500;
      transition: all 0.25s ease;
    }

    .mobile-nav a:hover {
      background: var(--primary-light);
      color: var(--primary);
    }

    .mobile-nav a.active {
      background: var(--primary);
      color: #fff;
    }

    /* ===== 页面Hero ===== */
    .page-hero {
      position: relative;
      padding: 80px 0 64px;
      background: linear-gradient(135deg, rgba(20, 22, 43, 0.82), rgba(79, 61, 216, 0.68)), url('/assets/images/backpic/back-2.png') center/cover no-repeat;
      color: #fff;
      isolation: isolate;
    }

    .page-hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse at 80% 20%, rgba(255, 122, 89, 0.22), transparent 50%);
      z-index: -1;
    }

    .breadcrumb {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px;
      font-size: 13px;
      color: rgba(255, 255, 255, 0.7);
      margin-bottom: 20px;
    }

    .breadcrumb a {
      color: rgba(255, 255, 255, 0.8);
      transition: color 0.2s ease;
    }

    .breadcrumb a:hover {
      color: #fff;
    }

    .breadcrumb .sep {
      opacity: 0.5;
    }

    .page-hero .hero-tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 18px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.14);
      border: 1px solid rgba(255, 255, 255, 0.25);
      font-size: 13px;
      font-weight: 600;
      margin-bottom: 18px;
      backdrop-filter: blur(6px);
    }

    .page-hero h1 {
      font-size: 38px;
      line-height: 1.3;
      font-weight: 800;
      margin-bottom: 16px;
      letter-spacing: 1px;
    }

    .page-hero p {
      max-width: 640px;
      font-size: 16px;
      line-height: 1.8;
      color: rgba(255, 255, 255, 0.88);
      margin-bottom: 28px;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    /* ===== 通用板块 ===== */
    .section {
      padding: 64px 0;
    }

    .section-alt {
      background: var(--surface);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }

    .section-header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
      margin-bottom: 36px;
    }

    .section-header .label {
      display: inline-block;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--primary);
      margin-bottom: 6px;
    }

    .section-header h2 {
      font-size: 28px;
      font-weight: 800;
      line-height: 1.3;
    }

    .section-header p {
      color: var(--text-soft);
      font-size: 14px;
      max-width: 560px;
    }

    .section-more {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 14px;
      font-weight: 600;
      color: var(--primary);
      padding: 8px 18px;
      border-radius: 999px;
      background: var(--primary-light);
      transition: all 0.3s ease;
    }

    .section-more:hover {
      background: var(--primary);
      color: #fff;
      transform: translateY(-2px);
    }

    /* ===== 热门榜单 ===== */
    .rank-list {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .rank-card {
      display: flex;
      align-items: center;
      gap: 20px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 18px 22px;
      box-shadow: var(--shadow-sm);
      transition: all 0.3s ease;
    }

    .rank-card:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-2px);
      border-color: rgba(109, 93, 252, 0.35);
    }

    .rank-num {
      flex-shrink: 0;
      font-size: 32px;
      font-weight: 800;
      width: 52px;
      text-align: center;
      color: var(--border);
      font-style: italic;
      letter-spacing: -1px;
      line-height: 1;
    }

    .rank-card:nth-child(1) .rank-num {
      color: var(--secondary);
    }

    .rank-card:nth-child(2) .rank-num {
      color: var(--primary);
    }

    .rank-card:nth-child(3) .rank-num {
      color: var(--accent);
    }

    .rank-cover {
      width: 120px;
      height: 76px;
      flex-shrink: 0;
      border-radius: 12px;
      object-fit: cover;
      background: var(--primary-light);
    }

    .rank-info {
      flex: 1;
      min-width: 0;
    }

    .rank-title-row {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 6px;
    }

    .rank-info h3 {
      font-size: 18px;
      font-weight: 700;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .rank-meta {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px;
      font-size: 13px;
      color: var(--text-soft);
    }

    .rank-desc {
      font-size: 13.5px;
      color: var(--text-soft);
      margin-top: 4px;
      display: -webkit-box;
      -webkit-line-clamp: 1;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .rank-score {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 14px;
      font-weight: 700;
      color: var(--secondary);
      flex-shrink: 0;
    }

    .rank-score i {
      color: #f5b940;
    }

    .btn-sm {
      padding: 8px 18px;
      font-size: 13px;
      flex-shrink: 0;
    }

    /* ===== 精选推荐 ===== */
    .featured-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }

    .featured-card {
      background: var(--surface);
      border-radius: var(--radius-md);
      border: 1px solid var(--border);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      transition: all 0.3s ease;
      display: flex;
      flex-direction: column;
    }

    .featured-card:hover {
      box-shadow: var(--shadow-lg);
      transform: translateY(-6px);
    }

    .featured-cover {
      position: relative;
      height: 150px;
      overflow: hidden;
    }

    .featured-cover img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }

    .featured-card:hover .featured-cover img {
      transform: scale(1.05);
    }

    .featured-cover .badge {
      position: absolute;
      top: 12px;
      left: 12px;
    }

    .featured-body {
      padding: 18px;
      display: flex;
      flex-direction: column;
      flex: 1;
    }

    .featured-body h3 {
      font-size: 17px;
      font-weight: 700;
      margin-bottom: 8px;
    }

    .featured-body p {
      font-size: 13.5px;
      color: var(--text-soft);
      line-height: 1.7;
      flex: 1;
      margin-bottom: 16px;
    }

    .featured-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-top: 12px;
      border-top: 1px solid var(--border);
    }

    .featured-footer .score {
      font-size: 13px;
      font-weight: 700;
      color: var(--secondary);
    }

    .featured-footer .btn {
      padding: 7px 18px;
      font-size: 13px;
    }

    /* ===== 玩法类型 ===== */
    .type-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    .type-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 24px;
      display: flex;
      gap: 16px;
      align-items: flex-start;
      box-shadow: var(--shadow-sm);
      transition: all 0.3s ease;
    }

    .type-card:hover {
      border-color: rgba(109, 93, 252, 0.3);
      box-shadow: var(--shadow-md);
      transform: translateY(-3px);
    }

    .type-icon {
      width: 46px;
      height: 46px;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 14px;
      font-size: 19px;
      background: var(--primary-light);
      color: var(--primary);
    }

    .type-card:nth-child(2) .type-icon {
      background: var(--secondary-light);
      color: var(--secondary);
    }

    .type-card:nth-child(3) .type-icon {
      background: rgba(0, 179, 164, 0.12);
      color: var(--accent);
    }

    .type-card:nth-child(4) .type-icon {
      background: #fff4e0;
      color: #f0a020;
    }

    .type-card:nth-child(5) .type-icon {
      background: #e8f0ff;
      color: #4a7cf7;
    }

    .type-card:nth-child(6) .type-icon {
      background: #f3e8ff;
      color: #9b59f0;
    }

    .type-card h3 {
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 6px;
    }

    .type-card p {
      font-size: 13px;
      color: var(--text-soft);
      line-height: 1.7;
    }

    /* ===== 数据统计 ===== */
    .stats-section {
      position: relative;
      background: linear-gradient(135deg, var(--primary-dark), var(--text)) no-repeat center/cover;
      padding: 64px 0;
      color: #fff;
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      text-align: center;
    }

    .stat-card {
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: var(--radius-md);
      padding: 28px 16px;
      backdrop-filter: blur(8px);
      transition: all 0.3s ease;
    }

    .stat-card:hover {
      background: rgba(255, 255, 255, 0.14);
      transform: translateY(-4px);
    }

    .stat-card i {
      font-size: 28px;
      margin-bottom: 12px;
      color: #ffd166;
    }

    .stat-num {
      font-size: 34px;
      font-weight: 800;
      line-height: 1.2;
      margin-bottom: 6px;
    }

    .stat-label {
      font-size: 14px;
      color: rgba(255, 255, 255, 0.75);
    }

    /* ===== 推荐指南 ===== */
    .guide-steps {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }

    .guide-step {
      position: relative;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 32px 24px 24px;
      box-shadow: var(--shadow-sm);
      transition: all 0.3s ease;
    }

    .guide-step:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-4px);
    }

    .step-num {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: var(--primary-light);
      color: var(--primary);
      font-weight: 800;
      font-size: 17px;
      margin-bottom: 16px;
    }

    .guide-step h3 {
      font-size: 17px;
      font-weight: 700;
      margin-bottom: 10px;
    }

    .guide-step p {
      font-size: 14px;
      color: var(--text-soft);
      line-height: 1.7;
    }

    .guide-step::after {
      content: "\f054";
      font-family: "Font Awesome 6 Free";
      font-weight: 900;
      position: absolute;
      top: 42px;
      right: -22px;
      color: var(--border);
      font-size: 15px;
      z-index: 2;
    }

    .guide-step:last-child::after {
      display: none;
    }

    /* ===== FAQ ===== */
    .faq-list {
      max-width: 820px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .faq-item {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      overflow: hidden;
      transition: all 0.3s ease;
    }

    .faq-item:hover {
      border-color: rgba(109, 93, 252, 0.3);
    }

    .faq-q {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 18px 22px;
      font-weight: 600;
      font-size: 15px;
      cursor: pointer;
      transition: background 0.2s ease;
    }

    .faq-q:hover {
      background: #fafbff;
    }

    .faq-q i {
      color: var(--primary);
      font-size: 14px;
      transition: transform 0.3s ease;
      flex-shrink: 0;
    }

    .faq-item.active .faq-q i {
      transform: rotate(180deg);
    }

    .faq-a {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
    }

    .faq-a-inner {
      padding: 0 22px 20px;
      font-size: 14px;
      color: var(--text-soft);
      line-height: 1.8;
      border-top: 1px dashed var(--border);
      padding-top: 16px;
    }

    /* ===== CTA ===== */
    .cta-box {
      position: relative;
      background: linear-gradient(135deg, var(--primary), var(--primary-dark));
      border-radius: var(--radius-lg);
      padding: 56px 48px;
      color: #fff;
      overflow: hidden;
      text-align: center;
      box-shadow: 0 20px 50px rgba(109, 93, 252, 0.3);
    }

    .cta-box::before {
      content: "";
      position: absolute;
      width: 260px;
      height: 260px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.08);
      top: -100px;
      right: -60px;
    }

    .cta-box::after {
      content: "";
      position: absolute;
      width: 180px;
      height: 180px;
      border-radius: 50%;
      background: rgba(255, 122, 89, 0.25);
      bottom: -70px;
      left: -40px;
    }

    .cta-box h2 {
      font-size: 30px;
      font-weight: 800;
      margin-bottom: 14px;
    }

    .cta-box p {
      opacity: 0.88;
      font-size: 16px;
      max-width: 560px;
      margin: 0 auto 28px;
    }

    .cta-actions {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 14px;
      position: relative;
      z-index: 2;
    }

    /* ===== 页脚 ===== */
    .site-footer {
      background: #12142a;
      color: #a7a9c0;
      padding: 56px 0 0;
      margin-top: 64px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.6fr 1fr 1fr;
      gap: 40px;
      padding-bottom: 36px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-brand .brand {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 14px;
    }

    .footer-brand .brand-text {
      color: #fff;
      font-size: 17px;
    }

    .footer-brand .brand-sub {
      color: rgba(255, 255, 255, 0.45);
    }

    .footer-brand p {
      font-size: 13.5px;
      line-height: 1.8;
      color: #8b8da6;
      max-width: 420px;
    }

    .footer-title {
      color: #fff;
      font-size: 15px;
      font-weight: 700;
      margin-bottom: 18px;
      letter-spacing: 0.5px;
    }

    .footer-links {
      display: flex;
      flex-direction: column;
      gap: 10px;
      font-size: 13.5px;
    }

    .footer-links a,
    .footer-links span {
      color: #8b8da6;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: color 0.2s ease;
    }

    .footer-links a:hover {
      color: #fff;
    }

    .footer-links i {
      font-size: 11px;
      color: var(--primary);
    }

    .footer-bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
      padding: 20px 0;
      font-size: 13px;
      color: #6f7188;
    }

    /* ===== 响应式 ===== */
    @media (max-width: 1024px) {
      .featured-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .type-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .stats-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .guide-steps {
        grid-template-columns: 1fr 1fr;
      }

      .guide-step::after {
        display: none;
      }

      .page-hero h1 {
        font-size: 32px;
      }
    }

    @media (max-width: 768px) {
      .sidebar {
        transform: translateX(-100%);
        width: 280px;
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
      }

      .sidebar.open {
        transform: translateX(0);
      }

      .mobile-header {
        display: flex;
        flex-wrap: wrap;
      }

      .main-wrapper {
        margin-left: 0;
      }

      .container {
        padding: 0 20px;
      }

      .page-hero {
        padding: 56px 0 44px;
      }

      .page-hero h1 {
        font-size: 28px;
      }

      .page-hero p {
        font-size: 14.5px;
      }

      .section {
        padding: 48px 0;
      }

      .section-header h2 {
        font-size: 24px;
      }

      .rank-card {
        flex-wrap: wrap;
        padding: 16px;
      }

      .rank-cover {
        width: 100%;
        height: 120px;
      }

      .rank-score {
        display: none;
      }

      .rank-card .btn {
        width: 100%;
        justify-content: center;
      }

      .featured-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
      }

      .featured-body {
        padding: 14px;
      }

      .featured-body h3 {
        font-size: 15px;
      }

      .featured-body p {
        font-size: 12.5px;
      }

      .type-grid {
        grid-template-columns: 1fr;
        gap: 14px;
      }

      .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
      }

      .stat-card {
        padding: 20px 12px;
      }

      .stat-num {
        font-size: 26px;
      }

      .guide-steps {
        grid-template-columns: 1fr;
        gap: 18px;
      }

      .cta-box {
        padding: 40px 24px;
        border-radius: var(--radius-md);
      }

      .cta-box h2 {
        font-size: 24px;
      }

      .cta-box p {
        font-size: 14.5px;
      }

      .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
      }

      .footer-bottom {
        flex-direction: column;
        text-align: center;
      }

      .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 10px;
        background: var(--bg);
        color: var(--text);
        font-size: 16px;
        cursor: pointer;
        border: 1px solid var(--border);
        transition: all 0.3s ease;
      }

      .menu-toggle:hover {
        background: var(--primary-light);
        color: var(--primary);
      }
    }

    @media (max-width: 520px) {
      .container {
        padding: 0 16px;
      }

      .page-hero h1 {
        font-size: 24px;
      }

      .page-hero .hero-tag {
        font-size: 12px;
      }

      .hero-actions .btn {
        width: 100%;
        justify-content: center;
      }

      .section-header {
        flex-direction: column;
        align-items: flex-start;
      }

      .section-header h2 {
        font-size: 21px;
      }

      .featured-grid {
        grid-template-columns: 1fr;
      }

      .rank-num {
        font-size: 26px;
        width: 36px;
      }

      .rank-info h3 {
        font-size: 16px;
      }

      .stats-grid {
        grid-template-columns: 1fr 1fr;
      }

      .cta-actions .btn {
        width: 100%;
        justify-content: center;
      }

      .footer-bottom {
        font-size: 12px;
      }
    }

    .menu-toggle {
      display: none;
    }

    .sidebar-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(20, 22, 43, 0.5);
      z-index: 999;
      backdrop-filter: blur(2px);
    }

    .sidebar-overlay.active {
      display: block;
    }

    @media (max-width: 768px) {
      .sidebar-overlay.active {
        display: block;
      }
    }
