/* roulang page: index */
/* ========== 设计变量 ========== */
:root {
  --bg-dark: #0B0D12;
  --bg-secondary: #12151C;
  --bg-card: #171A22;
  --bg-float: #1D212B;
  --text-primary: #E7E9EE;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;
  --text-disabled: #4B5563;
  --border: rgba(255,255,255,0.06);
  --border-light: rgba(255,255,255,0.1);
  --primary-cyan: #22D3EE;
  --primary-purple: #7C3AED;
  --accent-amber: #F59E0B;
  --accent-red: #EF4444;
  --success: #34D399;
  --error: #F87171;
  --grad-main: linear-gradient(135deg, #22D3EE, #7C3AED);
  --grad-fire: linear-gradient(135deg, #F59E0B, #EF4444);
  --grad-line: linear-gradient(90deg, #22D3EE, #7C3AED, #F59E0B);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --shadow-card: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-hover: 0 8px 32px rgba(124,58,237,0.25);
  --shadow-glow: 0 0 24px rgba(124,58,237,0.35);
  --spacing-section: 96px;
  --spacing-section-mobile: 64px;
  --font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-display: "DIN Alternate", "Barlow Condensed", sans-serif;
}

/* ========== Reset & Base ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-family);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.3; font-weight: 700; color: var(--text-primary); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.grid-container { max-width: 1200px; padding: 0 24px; }

.section { padding: var(--spacing-section) 0; }
.section-alt { background: var(--bg-secondary); }

/* ========== 区块标题 ========== */
.section-head { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-head .section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: #A78BFA;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.section-head h2 { font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.section-head p { color: var(--text-secondary); font-size: 15px; }

/* ========== 按钮 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  border: none;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--primary-cyan); outline-offset: 3px; }
.btn-primary {
  background: linear-gradient(135deg, #22D3EE, #7C3AED);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,0.3);
}
.btn-primary:hover { background: linear-gradient(315deg, #22D3EE, #7C3AED); transform: translateY(-2px); box-shadow: var(--shadow-glow); color: #fff; }
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--text-primary);
}
.btn-outline:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.4); color: #fff; transform: translateY(-2px); }
.btn-outline:active { transform: translateY(0) scale(0.98); }
.btn-pill { border-radius: var(--radius-pill); }
.btn-lg { padding: 18px 44px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ========== 悬浮胶囊导航 ========== */
.site-nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1200px;
  z-index: 1000;
  background: rgba(11,13,18,0.75);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-nav.scrolled { background: rgba(11,13,18,0.9); box-shadow: 0 8px 32px rgba(0,0,0,0.5); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  gap: 16px;
}
.nav-logo { display: flex; align-items: baseline; font-size: 20px; font-weight: 800; letter-spacing: 0.5px; line-height: 1; padding: 6px 8px; border-radius: var(--radius-sm); }
.nav-logo .logo-fire {
  background: linear-gradient(135deg, #22D3EE, #7C3AED);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-logo .logo-plain { color: var(--text-primary); margin-left: 2px; }
.nav-logo:hover { opacity: 0.85; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all .25s ease;
}
.nav-link:hover { background: rgba(255,255,255,0.08); color: #fff; }
.nav-link.active { background: rgba(124,58,237,0.2); color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-pill);
  color: var(--text-primary);
  font-size: 18px;
  align-items: center;
  justify-content: center;
}
.nav-toggle:focus-visible { outline: 2px solid var(--primary-cyan); }

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-bg::before {
  content: "";
  position: absolute;
  top: -150px;
  left: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,0.22), transparent 70%);
  border-radius: 50%;
}
.hero-bg::after {
  content: "";
  position: absolute;
  bottom: -120px;
  right: -100px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(245,158,11,0.1), transparent 70%);
  border-radius: 50%;
}
.hero .container { position: relative; z-index: 1; width: 100%; }
.hero-content { padding-right: 40px; }
.hero h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 480px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-trust { font-size: 13px; color: var(--text-muted); display: flex; gap: 16px; flex-wrap: wrap; }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust i { color: var(--primary-cyan); font-size: 12px; }
.hero-visual { position: relative; }
.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}
.hero-img-wrap img { width: 100%; height: 340px; object-fit: cover; }
.hero-badge {
  position: absolute;
  bottom: -20px;
  right: 20px;
  background: var(--grad-main);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-glow);
  animation: floatY 3s ease-in-out infinite;
}
.hero-badge .badge-num { font-size: 24px; font-weight: 800; font-family: var(--font-display); line-height: 1.2; }
.hero-badge .badge-label { font-size: 12px; opacity: 0.9; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ========== 数据徽章条 ========== */
.stats-bar { padding: 40px 0 64px; position: relative; z-index: 2; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-pill {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all .3s ease;
}
.stat-pill:hover { border-color: rgba(124,58,237,0.4); transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.stat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
}
.stat-icon.cyan { background: linear-gradient(135deg, #22D3EE, #7C3AED); }
.stat-icon.amber { background: linear-gradient(135deg, #F59E0B, #EF4444); }
.stat-pill .stat-info { display: flex; flex-direction: column; }
.stat-pill .stat-num { font-size: 24px; font-weight: 800; font-family: var(--font-display); line-height: 1.2; }
.stat-pill .stat-txt { font-size: 13px; color: var(--text-muted); }

/* ========== 爆款网格卡片 ========== */
.hot-grid { background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.hot-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.hot-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(124,58,237,0.4); }
.hot-card-img { position: relative; height: 170px; overflow: hidden; }
.hot-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hot-card:hover .hot-card-img img { transform: scale(1.05); }
.hot-card-num {
  position: absolute;
  top: 12px; left: 12px;
  width: 36px; height: 36px;
  background: var(--grad-main);
  border-radius: 10px;
  color: #fff;
  font-size: 16px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  box-shadow: 0 4px 12px rgba(34,211,238,0.3);
  z-index: 2;
}
.hot-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.hot-card-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  border: 1px solid;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.hot-card-tag.tag-hot { color: var(--accent-amber); border-color: rgba(245,158,11,0.4); background: rgba(245,158,11,0.08); }
.hot-card-tag.tag-cool { color: var(--primary-cyan); border-color: rgba(34,211,238,0.4); background: rgba(34,211,238,0.08); }
.hot-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; }
.hot-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.6; flex: 1; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hot-card-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 14px; }
.hot-card-meta i { margin-right: 4px; color: var(--primary-cyan); }
.hot-card-link { position: absolute; inset: 0; z-index: 3; border-radius: var(--radius-lg); }
.hot-card:hover h3 { color: var(--primary-cyan); }

/* ========== 评价轮播 ========== */
.testimonials { overflow: hidden; position: relative; }
.testi-carousel { position: relative; max-width: 920px; margin: 0 auto; padding: 20px 0; }
.testi-track { display: flex; align-items: center; transition: transform .45s cubic-bezier(.4,0,.2,1); }
.testi-slide {
  min-width: 420px;
  max-width: 420px;
  padding: 0 12px;
  opacity: 0.35;
  transform: scale(0.92);
  transition: all .45s ease;
}
.testi-slide.active { opacity: 1; transform: scale(1); }
.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.testi-stars { color: var(--accent-amber); font-size: 16px; letter-spacing: 3px; margin-bottom: 20px; }
.testi-text { font-size: 16px; line-height: 1.8; color: var(--text-primary); margin-bottom: 24px; }
.testi-user { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--grad-main);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.testi-name { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.testi-role { font-size: 12px; color: var(--text-muted); }
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-float);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
  transition: all .25s ease;
}
.carousel-arrow:hover { border-color: var(--primary-purple); color: var(--primary-cyan); box-shadow: var(--shadow-hover); }
.carousel-arrow:active { transform: translateY(-50%) scale(0.95); }
.carousel-arrow.prev { left: -20px; }
.carousel-arrow.next { right: -20px; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.15); border: none; transition: all .3s ease; padding: 0; }
.carousel-dot.active { background: var(--primary-cyan); width: 28px; border-radius: var(--radius-pill); }

/* ========== 保障条 ========== */
.guarantee-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: 100%;
  transition: all .3s ease;
}
.guarantee-card:hover { border-color: rgba(124,58,237,0.35); transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.guarantee-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
  color: #fff;
}
.guarantee-icon.g-cyan { background: linear-gradient(135deg, #22D3EE, #7C3AED); }
.guarantee-icon.g-amber { background: linear-gradient(135deg, #F59E0B, #EF4444); }
.guarantee-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.guarantee-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ========== 最新资讯 CMS 区 ========== */
.latest-news { background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-item { border-radius: var(--radius-md); overflow: hidden; }
.news-item a.news-link {
  display: grid;
  grid-template-columns: 220px 1fr 200px;
  gap: 20px;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.04);
  transition: all .3s ease;
}
.news-item a.news-link:hover { background: var(--bg-card); border-color: var(--border); box-shadow: var(--shadow-card); }
.news-item a.news-link:hover .news-more { color: var(--primary-cyan); }
.news-thumb { height: 110px; border-radius: var(--radius-sm); overflow: hidden; position: relative; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.img-fallback {
  position: absolute; inset: 0;
  background: var(--grad-main);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: 15px;
}
.news-body { display: flex; flex-direction: column; gap: 4px; padding-left: 4px; }
.news-tag {
  align-self: flex-start;
  font-size: 12px;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.25);
  color: #A78BFA;
  letter-spacing: 0.5px;
}
.news-title { font-size: 17px; font-weight: 600; line-height: 1.4; }
.news-item a.news-link:hover .news-title { color: var(--primary-cyan); }
.news-excerpt {
  font-size: 13px;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
}
.news-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.news-time { font-size: 13px; color: var(--text-muted); }
.news-time i { margin-right: 4px; }
.news-more { font-size: 14px; font-weight: 600; color: var(--text-secondary); }
.news-more i { margin-left: 4px; font-size: 12px; }
.news-empty {
  border: 2px dashed rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 64px 24px;
  text-align: center;
  color: var(--text-muted);
}
.news-empty i { font-size: 48px; color: rgba(255,255,255,0.15); margin-bottom: 16px; }
.news-empty p { font-size: 15px; }

/* ========== FAQ 手风琴 ========== */
.faq-list { max-width: 780px; margin: 0 auto; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border); transition: background .25s ease; }
.faq-item:last-child { border-bottom: none; }
.faq-item.active { background: rgba(255,255,255,0.02); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  font-size: 16px; font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: color .25s ease;
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-primary);
  text-align: left;
  min-height: 48px;
}
.faq-q:hover { color: var(--primary-cyan); }
.faq-q:focus-visible { outline: 2px solid var(--primary-cyan); outline-offset: -2px; border-radius: var(--radius-sm); }
.faq-q .faq-icon { transition: transform .35s ease; color: var(--text-muted); font-size: 14px; flex-shrink: 0; margin-left: 12px; }
.faq-item.active .faq-icon { transform: rotate(180deg); color: var(--primary-cyan); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a-inner { padding: 0 24px 20px; font-size: 14px; color: var(--text-secondary); line-height: 1.75; }
.faq-item.active .faq-a { max-height: 400px; }
.faq-item.active { position: relative; }
.faq-item.active::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--grad-line);
}

/* ========== CTA 横幅 ========== */
.cta-banner { padding: 96px 0; }
.cta-inner {
  position: relative;
  background: linear-gradient(135deg, rgba(34,211,238,0.12), rgba(124,58,237,0.15), rgba(245,158,11,0.1));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.cta-inner::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-line);
}
.cta-inner::after {
  content: "";
  position: absolute;
  bottom: -120px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(124,58,237,0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-inner h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.cta-inner p { font-size: 16px; color: var(--text-secondary); margin-bottom: 32px; max-width: 520px; }
.cta-inner .btn { position: relative; z-index: 2; }

/* ========== 页脚 ========== */
.footer { background: #080A0E; border-top: 1px solid var(--border); padding-top: 64px; }
.footer-main { padding-bottom: 48px; }
.footer-brand { margin-bottom: 24px; }
.footer-logo { font-size: 22px; font-weight: 800; display: inline-flex; align-items: baseline; margin-bottom: 12px; }
.footer-logo .logo-fire { background: linear-gradient(135deg, #22D3EE, #7C3AED); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.footer-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; max-width: 280px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--bg-float);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  color: var(--text-secondary);
  transition: all .25s ease;
}
.footer-social a:hover { background: var(--bg-card); color: var(--primary-cyan); border-color: var(--primary-purple); transform: translateY(-2px); }
.footer-col h3 { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 13px; color: var(--text-muted); transition: color .25s ease; }
.footer-col ul a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}

/* ========== 模态框 ========== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center; justify-content: center;
  z-index: 2000;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-hover);
  position: relative;
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: none;
  color: var(--text-secondary);
  font-size: 16px;
  transition: all .25s ease;
}
.modal-close:hover { background: rgba(255,255,255,0.12); color: #fff; }
.modal-box h3 { font-size: 22px; margin-bottom: 8px; }
.modal-box > p { font-size: 14px; color: var(--text-secondary); margin-bottom: 24px; }
.modal-form .form-group { margin-bottom: 16px; }
.modal-form label { display: block; font-size: 13px; color: var(--text-secondary); margin-bottom: 6px; }
.modal-form input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-primary);
  font-size: 14px;
  transition: all .25s ease;
}
.modal-form input::placeholder { color: var(--text-muted); }
.modal-form input:focus { outline: none; border-color: var(--primary-cyan); box-shadow: 0 0 0 3px rgba(34,211,238,0.15); }
.modal-form .btn { width: 100%; margin-top: 8px; }
.form-tip { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 12px; }

/* ========== 响应式 ========== */
@media screen and (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 36px; }
  .hero-content { padding-right: 20px; }
  .news-item a.news-link { grid-template-columns: 160px 1fr 160px; }
  .carousel-arrow.prev { left: -10px; }
  .carousel-arrow.next { right: -10px; }
  .testi-slide { min-width: 360px; max-width: 360px; }
}
@media screen and (max-width: 768px) {
  :root { --spacing-section: 64px; }
  .section-head h2 { font-size: 24px; }
  .site-nav { top: 8px; width: calc(100% - 24px); }
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    background: rgba(11,13,18,0.95);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-link { padding: 12px 16px; text-align: center; }
  .nav-actions .btn-sm { display: none; }
  .hero { padding-top: 110px; }
  .hero h1 { font-size: 30px; }
  .hero .grid-x { display: flex; flex-direction: column; }
  .hero-content { padding-right: 0; margin-bottom: 48px; }
  .hero-img-wrap img { height: 240px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-pill { padding: 16px; flex-direction: column; text-align: center; }
  .testi-slide { min-width: 280px; max-width: 280px; }
  .carousel-arrow.prev { left: 4px; }
  .carousel-arrow.next { right: 4px; }
  .news-item a.news-link { grid-template-columns: 1fr 120px; }
  .news-thumb { display: none; }
  .news-meta { align-items: flex-start; }
  .cta-inner { padding: 48px 24px; }
  .cta-inner h2 { font-size: 26px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media screen and (max-width: 520px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 26px; }
  .hero-sub { font-size: 16px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .testi-slide { min-width: 240px; max-width: 240px; }
  .news-item a.news-link { grid-template-columns: 1fr; }
  .news-thumb { display: block; height: 160px; }
  .news-meta { flex-direction: row; justify-content: space-between; align-items: center; }
  .section-head { margin-bottom: 32px; }
}
@media screen and (max-width: 400px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* roulang page: category1 */
:root {
  --bg-ink: #0B0D12;
  --bg-panel: #12151C;
  --bg-card: #171A22;
  --bg-float: #1D212B;
  --text-main: #E7E9EE;
  --text-sub: #9CA3AF;
  --text-dim: #6B7280;
  --text-disabled: #4B5563;
  --line: rgba(255, 255, 255, 0.06);
  --line-strong: rgba(255, 255, 255, 0.12);
  --accent-a: #22D3EE;
  --accent-b: #7C3AED;
  --fire-a: #F59E0B;
  --fire-b: #EF4444;
  --success: #34D399;
  --danger: #F87171;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 8px 32px rgba(124, 58, 237, 0.25);
  --shadow-glow: 0 0 24px rgba(124, 58, 237, 0.35);
  --grad-main: linear-gradient(135deg, #22D3EE, #7C3AED);
  --grad-fire: linear-gradient(135deg, #F59E0B, #EF4444);
  --grad-line: linear-gradient(90deg, #22D3EE, #7C3AED, #F59E0B);
  --space-section: 96px;
  --font-stack: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-digital: "DIN Alternate", "Barlow Condensed", -apple-system, sans-serif;
}

html,
body {
  font-family: var(--font-stack);
  height: auto;
}

body {
  background: var(--bg-ink);
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.page-category {
  background: var(--bg-ink);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

a {
  color: var(--accent-a);
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

a:hover {
  color: #67e8f9;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-a);
  outline-offset: 2px;
  border-radius: 6px;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

input,
button {
  font-family: var(--font-stack);
}

input:focus {
  outline: none;
  border-color: var(--accent-a);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* 导航 */
.site-nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1200px;
  z-index: 1000;
  background: rgba(11, 13, 18, 0.75);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-nav.scrolled {
  background: rgba(11, 13, 18, 0.92);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  min-height: 60px;
}

.nav-logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
}

.logo-fire {
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-plain {
  color: #fff;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
  display: block;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav-link.active {
  background: rgba(124, 58, 237, 0.2);
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.3s ease, border-color 0.3s ease;
  text-align: center;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--grad-main);
  color: #fff !important;
  box-shadow: 0 0 24px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.45);
}

.btn-outline {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-pill {
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  font-size: 14px;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 14px;
}

.btn-lg {
  padding: 15px 34px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

/* Hero区 */
.cat-hero {
  position: relative;
  padding: 156px 0 80px;
  background: var(--bg-ink);
  overflow: hidden;
}

.cat-hero::before {
  content: "";
  position: absolute;
  top: -180px;
  left: -120px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.22), transparent 65%);
  pointer-events: none;
}

.cat-hero::after {
  content: "";
  position: absolute;
  bottom: -200px;
  right: -120px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12), transparent 65%);
  pointer-events: none;
}

.cat-hero .container {
  position: relative;
  z-index: 2;
}

.cat-hero-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-a);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.3);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.cat-hero h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 24px;
  color: #fff;
  letter-spacing: -0.02em;
}

.cat-hero h1 .txt-fire {
  background: var(--grad-fire);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cat-hero-desc {
  font-size: 17px;
  color: var(--text-sub);
  line-height: 1.8;
  margin: 0 0 32px;
  max-width: 540px;
}

.cat-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.cat-hero-note {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0;
}

.cat-hero-note i {
  color: var(--success);
  margin-right: 4px;
}

.cat-hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-card);
}

.cat-hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.cat-hero-badge-float {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(11, 13, 18, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  animation: floatY 3s ease-in-out infinite;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

/* 区块通用 */
.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.section-head p {
  font-size: 16px;
  color: var(--text-sub);
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.section-body {
  padding: var(--space-section) 0;
}

/* 栏目导览 */
.cat-guides {
  background: var(--bg-panel);
  padding: var(--space-section) 0;
  position: relative;
}

.cat-guides::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.3), rgba(245, 158, 11, 0.3), transparent);
}

.guide-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  height: 100%;
}

.guide-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(124, 58, 237, 0.4);
}

.guide-card-media {
  position: relative;
  overflow: hidden;
}

.guide-card-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.guide-card:hover .guide-card-media img {
  transform: scale(1.04);
}

.guide-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  background: rgba(11, 13, 18, 0.8);
  border: 1px solid rgba(34, 211, 238, 0.35);
  color: var(--accent-a);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.guide-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.guide-card-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.4;
}

.guide-card-body p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
  margin: 0 0 20px;
  flex: 1;
}

.guide-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-a);
  transition: gap 0.25s ease;
}

.guide-card-link i {
  font-size: 13px;
}

.guide-card:hover .guide-card-link {
  gap: 12px;
  color: #fff;
}

/* 适用场景 */
.cat-scenarios {
  background: var(--bg-ink);
  padding: var(--space-section) 0;
}

.scenario-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  height: 100%;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.scenario-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--grad-line);
  transition: height 0.3s ease;
}

.scenario-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(124, 58, 237, 0.35);
}

.scenario-card:hover::before {
  height: 100%;
}

.scenario-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 22px;
  color: #fff;
}

.scenario-icon.i-cyan {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.25), rgba(34, 211, 238, 0.08));
  border: 1px solid rgba(34, 211, 238, 0.25);
  color: var(--accent-a);
}

.scenario-icon.i-purple {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(124, 58, 237, 0.08));
  border: 1px solid rgba(124, 58, 237, 0.25);
  color: #a78bfa;
}

.scenario-icon.i-amber {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(245, 158, 11, 0.08));
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #fbbf24;
}

.scenario-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}

.scenario-card p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.75;
  margin: 0;
}

/* 参赛流程 */
.cat-process {
  background: var(--bg-panel);
  padding: var(--space-section) 0;
  position: relative;
}

.cat-process::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.25), rgba(34, 211, 238, 0.25), transparent);
}

.step-item {
  position: relative;
  text-align: center;
  padding: 0 16px;
}

.step-num {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 20px;
  background: var(--grad-main);
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  font-family: var(--font-digital);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(124, 58, 237, 0.35);
}

.step-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}

.step-item p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
  margin: 0;
}

.step-line {
  position: relative;
}

.step-line::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.2), rgba(124, 58, 237, 0.3));
  z-index: 0;
}

.step-line .cell {
  position: relative;
  z-index: 1;
}

/* 赛事类型 */
.cat-types {
  background: var(--bg-ink);
  padding: var(--space-section) 0;
}

.type-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: 100%;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.type-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(245, 158, 11, 0.35);
}

.type-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(239, 68, 68, 0.1));
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #fbbf24;
}

.type-card:nth-child(even) .type-icon {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(124, 58, 237, 0.12));
  border-color: rgba(34, 211, 238, 0.25);
  color: var(--accent-a);
}

.type-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}

.type-card p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
  margin: 0;
}

/* FAQ */
.cat-faq {
  background: var(--bg-panel);
  padding: var(--space-section) 0;
}

.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item.open {
  background: rgba(255, 255, 255, 0.02);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: #E7E9EE;
  text-align: left;
  line-height: 1.5;
  border-left: 3px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.faq-question:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}

.faq-item.open .faq-question {
  border-left-color: var(--accent-b);
  color: #fff;
}

.faq-question i {
  font-size: 14px;
  color: var(--text-sub);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
  color: var(--accent-a);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding: 0 28px 24px;
  margin: 0;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

/* CTA横幅 */
.cat-cta {
  padding: var(--space-section) 0;
  background: var(--bg-ink);
}

.cta-banner {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(124, 58, 237, 0.18), rgba(245, 158, 11, 0.1));
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: var(--grad-line);
}

.cta-banner h2 {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.cta-banner p {
  font-size: 16px;
  color: var(--text-sub);
  margin: 0 0 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-banner .btn {
  margin: 0 8px;
}

/* 页脚 */
.footer {
  background: #080A0E;
  border-top: 1px solid var(--line);
  padding: 64px 0 0;
  margin-top: 0;
}

.footer-main {
  padding-bottom: 48px;
}

.footer-brand {
  padding-right: 24px;
}

.footer-logo {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
  margin: 0 0 24px;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-sub);
  font-size: 16px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.footer-social a:hover {
  background: var(--grad-main);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}

.footer-col h3 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 20px;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 13px;
  color: var(--text-sub);
  transition: color 0.25s ease;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 13, 18, 0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.open .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--text-sub);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.modal-box h3 {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
}

.modal-box > p {
  font-size: 14px;
  color: var(--text-sub);
  margin: 0 0 24px;
}

.modal-box form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-box input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-strong);
  color: #fff;
  font-size: 14px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.modal-box input::placeholder {
  color: var(--text-dim);
}

.modal-tip {
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
  margin: 18px 0 0;
  line-height: 1.6;
}

/* 响应式 */
@media (max-width: 1024px) {
  :root {
    --space-section: 80px;
  }

  .cat-hero h1 {
    font-size: 36px;
  }

  .cat-hero-media {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --space-section: 64px;
  }

  .site-nav {
    top: 10px;
    width: calc(100% - 32px);
  }

  .nav-inner {
    min-height: 56px;
    padding: 8px 14px;
  }

  .nav-logo {
    font-size: 18px;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: rgba(11, 13, 18, 0.96);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-link {
    text-align: center;
    padding: 14px 18px;
    border-radius: 12px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-actions .btn-pill {
    display: none;
  }

  .cat-hero {
    padding: 120px 0 60px;
  }

  .cat-hero h1 {
    font-size: 30px;
  }

  .cat-hero-desc {
    font-size: 15px;
  }

  .cat-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cat-hero-actions .btn {
    width: 100%;
  }

  .section-head h2 {
    font-size: 24px;
  }

  .section-head p {
    font-size: 14px;
  }

  .cta-banner {
    padding: 40px 24px;
  }

  .cta-banner h2 {
    font-size: 24px;
  }

  .cta-banner p {
    font-size: 14px;
  }

  .cta-banner .btn {
    width: 100%;
    margin: 8px 0;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .footer-brand {
    padding-right: 0;
  }

  .step-line::before {
    display: none;
  }

  .faq-question {
    padding: 18px 20px;
    font-size: 15px;
  }

  .faq-answer p {
    padding: 0 20px 20px;
    font-size: 14px;
  }

  .modal-box {
    padding: 32px 24px;
  }
}

@media (max-width: 640px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .cat-guides,
  .cat-scenarios,
  .cat-process,
  .cat-types,
  .cat-faq,
  .cat-cta {
    padding: 56px 0;
  }

  .guide-card-body {
    padding: 20px;
  }

  .guide-card-body h3 {
    font-size: 17px;
  }

  .scenario-card {
    padding: 24px 20px;
  }

  .type-card {
    flex-direction: column;
    gap: 14px;
  }

  .type-icon {
    width: 44px;
    height: 44px;
  }
}

/* roulang page: article */
/* ===== 设计变量 ===== */
:root {
  --bg-primary: #0B0D12;
  --bg-secondary: #12151C;
  --bg-card: #171A22;
  --bg-float: #1D212B;
  --text-primary: #E7E9EE;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;
  --text-disabled: #4B5563;
  --border: rgba(255,255,255,0.06);
  --border-strong: rgba(255,255,255,0.1);
  --accent-cyan: #22D3EE;
  --accent-purple: #7C3AED;
  --accent-amber: #F59E0B;
  --accent-red: #EF4444;
  --gradient-main: linear-gradient(135deg, #22D3EE 0%, #7C3AED 100%);
  --gradient-fire: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
  --gradient-line: linear-gradient(90deg, #22D3EE, #7C3AED, #F59E0B);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --shadow-card: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-hover: 0 8px 32px rgba(124,58,237,0.25);
  --shadow-glow: 0 0 24px rgba(124,58,237,0.35);
  --space-section: 96px;
  --font-main: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-num: "DIN Alternate", "Barlow Condensed", "Roboto Condensed", sans-serif;
}

/* ===== Reset / Base ===== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color .3s ease, background .3s ease, border-color .3s ease;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

ul, ol { margin: 0; padding: 0; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 按钮体系 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: all .3s ease;
}
.btn:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}
.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #7C3AED 0%, #22D3EE 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(124,58,237,0.45);
}
.btn-primary:active {
  transform: translateY(0) scale(0.98);
}
.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--text-primary);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.btn-secondary:active {
  transform: scale(0.98);
}
.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}
.btn-pill {
  border-radius: var(--radius-pill);
}
.btn-block {
  width: 100%;
}

/* ===== 顶部悬浮胶囊导航 ===== */
.site-nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1200px;
  z-index: 1000;
  border-radius: var(--radius-pill);
  background: rgba(11,13,18,0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-nav.scrolled {
  background: rgba(11,13,18,0.92);
  box-shadow: 0 4px 24px rgba(0,0,0,0.55);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 8px 24px;
  min-height: 60px;
}
.nav-logo {
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: baseline;
  flex-shrink: 0;
}
.logo-fire {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 20px;
}
.logo-plain {
  color: #fff;
  margin-left: 2px;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: all .3s ease;
}
.nav-link:hover {
  background: rgba(255,255,255,0.08);
  color: var(--text-primary);
}
.nav-link.active {
  background: rgba(124,58,237,0.2);
  color: #fff;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-primary);
  font-size: 18px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .3s ease;
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}

/* ===== 面包屑 ===== */
.breadcrumb-wrap {
  padding: 128px 0 28px;
  background: transparent;
}
.breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb-list a {
  color: var(--text-secondary);
  transition: color .3s ease;
}
.breadcrumb-list a:hover {
  color: var(--accent-cyan);
}
.breadcrumb-sep {
  color: var(--text-disabled);
}
.breadcrumb-list .current {
  color: var(--text-primary);
  font-weight: 500;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== 文章主体 ===== */
.article-section {
  position: relative;
  padding: 32px 0 80px;
  background: radial-gradient(ellipse 700px 340px at 50% 0%, rgba(124,58,237,0.07), transparent 70%);
}
.article-head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px;
}
.article-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(124,58,237,0.4);
  background: rgba(124,58,237,0.1);
  color: var(--accent-cyan);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 22px;
}
.article-tag .tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: inline-block;
}
.article-head h1 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.article-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 14px;
}
.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.article-meta i {
  color: var(--accent-purple);
  font-size: 14px;
}
.article-meta-label {
  border-left: 1px solid var(--border-strong);
  padding-left: 28px;
}

/* ===== 正文阅读区 ===== */
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 0 24px;
  border-top: 1px solid var(--border);
  font-size: 16px;
}
.article-body > *:first-child {
  margin-top: 0;
}
.article-body > *:last-child {
  margin-bottom: 0;
}
.article-body p {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-primary);
}
.article-body h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 48px 0 20px;
  color: var(--text-primary);
  position: relative;
  padding-bottom: 12px;
}
.article-body h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: var(--gradient-main);
}
.article-body h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 36px 0 14px;
  color: var(--text-primary);
}
.article-body h4 {
  font-size: 17px;
  font-weight: 600;
  margin: 28px 0 12px;
  color: var(--text-primary);
}
.article-body a {
  color: var(--accent-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(34,211,238,0.4);
  transition: color .3s ease, border-color .3s ease;
}
.article-body a:hover {
  color: #fff;
  border-bottom-color: var(--accent-cyan);
}
.article-body strong {
  font-weight: 700;
  color: #fff;
}
.article-body ul,
.article-body ol {
  margin: 0 0 24px;
  padding-left: 28px;
}
.article-body li {
  margin-bottom: 10px;
  line-height: 1.75;
  color: var(--text-secondary);
}
.article-body ul li::marker {
  color: var(--accent-purple);
}
.article-body ol li::marker {
  color: var(--accent-cyan);
  font-weight: 600;
}
.article-body blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  background: rgba(124,58,237,0.08);
  border-left: 4px solid var(--accent-purple);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.75;
}
.article-body blockquote p {
  margin: 0;
  color: var(--text-secondary);
}
.article-body img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 32px 0;
  border: 1px solid var(--border);
}
.article-body .wp-caption,
.article-body figure {
  margin: 32px 0;
}
.article-body .wp-caption img,
.article-body figure img {
  margin: 0 0 8px;
}
.article-body figcaption,
.article-body .wp-caption-text {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 14px;
}
.article-body th,
.article-body td {
  padding: 12px 16px;
  border: 1px solid var(--border-strong);
  text-align: left;
}
.article-body th {
  background: var(--bg-secondary);
  font-weight: 600;
  color: var(--text-primary);
}
.article-body td {
  color: var(--text-secondary);
}
.article-body pre {
  background: var(--bg-secondary);
  padding: 24px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: 32px 0;
  border: 1px solid var(--border);
}
.article-body code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  background: rgba(34,211,238,0.1);
  padding: 2px 8px;
  border-radius: 6px;
  color: var(--accent-cyan);
}
.article-body pre code {
  background: transparent;
  padding: 0;
  color: var(--text-primary);
}
.article-body hr {
  border: none;
  height: 1px;
  background: var(--border-strong);
  margin: 40px 0;
}

/* ===== 空态 ===== */
.article-empty {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 40px;
  text-align: center;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.02);
}
.article-empty i {
  font-size: 48px;
  color: var(--text-disabled);
  margin-bottom: 20px;
  display: block;
}
.article-empty h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}
.article-empty p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 28px;
}

/* ===== 返回入口 ===== */
.article-back {
  text-align: center;
  margin: 48px 0 0;
}

/* ===== 相关推荐 ===== */
.related-section {
  padding: 80px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-head h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
  margin-bottom: 8px;
}
.section-head h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: var(--gradient-line);
}
.section-head p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}
.related-grid .cell {
  margin-bottom: 24px;
}
.related-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(124,58,237,0.4);
}
.related-card:active {
  transform: translateY(0) scale(0.98);
}
.related-card-cover {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(34,211,238,0.1), rgba(124,58,237,0.2));
}
.related-card-cover::after {
  content: '雷火电竞';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 6px;
  color: rgba(255,255,255,0.08);
  z-index: 0;
}
.related-card-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  transition: transform .4s ease;
}
.related-card:hover .related-card-cover img {
  transform: scale(1.05);
}
.related-card-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.related-card-body h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 14px;
  line-height: 1.5;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .3s ease;
}
.related-card:hover .related-card-body h3 {
  color: var(--accent-cyan);
}
.related-card-time {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.related-card-time i {
  color: var(--accent-amber);
}

/* ===== CTA 横幅 ===== */
.cta-section {
  padding: 80px 0;
}
.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  background:
    linear-gradient(rgba(11,13,18,0.9), rgba(11,13,18,0.9)),
    url('/assets/images/backpic/back-1.webp') center / cover no-repeat;
  text-align: center;
  border: 1px solid var(--border-strong);
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: var(--gradient-line);
  opacity: 0.5;
}
.cta-banner h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}
.cta-banner p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 28px;
}

/* ===== 页脚 ===== */
.footer {
  background: #080A0E;
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
}
.footer-logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  margin-bottom: 16px;
}
.footer-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 340px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 15px;
  transition: all .3s ease;
}
.footer-social a:hover {
  background: var(--gradient-main);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}
.footer-col h3 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 10px;
}
.footer-col a {
  color: var(--text-muted);
  font-size: 13px;
  transition: color .3s ease;
}
.footer-col a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-disabled);
}

/* ===== 注册弹窗 ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
}
.modal-overlay.show {
  display: flex;
}
.modal-box {
  background: var(--bg-float);
  border-radius: var(--radius-lg);
  padding: 40px 32px 32px;
  width: 92%;
  max-width: 420px;
  border: 1px solid var(--border-strong);
  position: relative;
  box-shadow: var(--shadow-hover);
  animation: modalIn .35s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
}
.modal-close:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.modal-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  margin-bottom: 20px;
  box-shadow: var(--shadow-glow);
}
.modal-box h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}
.modal-box > p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-primary);
  font-size: 14px;
  margin-bottom: 16px;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.form-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(34,211,238,0.15);
}
.form-input::placeholder {
  color: var(--text-muted);
}
.modal-tip {
  font-size: 12px;
  color: var(--text-disabled);
  text-align: center;
  margin-top: 16px !important;
}

/* ===== 焦点 / 键盘可达 ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}

/* ===== 移动端断点 ===== */
@media (max-width: 1024px) {
  .article-head h1 {
    font-size: 34px;
  }
  .cta-banner {
    padding: 48px 32px;
  }
  .cta-banner h2 {
    font-size: 28px;
  }
}

@media (max-width: 640px) {
  .site-nav {
    top: 12px;
    width: calc(100% - 24px);
  }
  .nav-inner {
    padding: 6px 12px;
    min-height: 56px;
  }
  .nav-logo {
    font-size: 16px;
  }
  .logo-fire {
    font-size: 18px;
  }
  .nav-menu {
    display: none;
    position: fixed;
    top: 76px;
    left: 12px;
    right: 12px;
    background: rgba(11,13,18,0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-md);
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    border: 1px solid var(--border-strong);
    box-shadow: 0 16px 40px rgba(0,0,0,0.5);
    z-index: 999;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-link {
    justify-content: center;
    padding: 14px;
    font-size: 16px;
    border-radius: var(--radius-sm);
  }
  .nav-link.active {
    background: rgba(124,58,237,0.25);
  }
  .nav-actions .btn-pill {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .breadcrumb-wrap {
    padding: 100px 0 20px;
  }
  .breadcrumb-list {
    font-size: 12px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .breadcrumb-list .current {
    max-width: 140px;
  }
  .article-section {
    padding: 16px 0 56px;
  }
  .article-head {
    margin-bottom: 32px;
  }
  .article-head h1 {
    font-size: 28px;
    line-height: 1.35;
  }
  .article-meta {
    gap: 16px;
    font-size: 13px;
  }
  .article-meta-label {
    padding-left: 16px;
  }
  .article-body {
    padding: 32px 0 16px;
    font-size: 15px;
  }
  .article-body p {
    font-size: 15px;
    line-height: 1.8;
  }
  .article-body h2 {
    font-size: 22px;
    margin: 36px 0 16px;
  }
  .article-body h3 {
    font-size: 18px;
  }
  .article-body blockquote {
    padding: 18px 20px;
    font-size: 15px;
  }
  .article-body table {
    font-size: 12px;
  }
  .article-body th,
  .article-body td {
    padding: 8px 10px;
  }
  .article-empty {
    padding: 56px 20px;
  }
  .related-section {
    padding: 64px 0;
  }
  .section-head h2 {
    font-size: 24px;
  }
  .cta-section {
    padding: 56px 0;
  }
  .cta-banner {
    padding: 40px 24px;
  }
  .cta-banner h2 {
    font-size: 24px;
  }
  .cta-banner p {
    font-size: 14px;
  }
  .footer {
    padding: 48px 0 24px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    margin-top: 32px;
  }
  .modal-box {
    padding: 32px 24px 24px;
  }
}
