/* roulang page: index */
/* ===== Design Variables ===== */
:root {
  --bg-primary: #0B0C0E;
  --bg-secondary: #14161A;
  --bg-tertiary: #1C1F25;
  --surface-border: rgba(255, 255, 255, 0.08);
  --text-primary: #F2F4F8;
  --text-secondary: #A0A8B4;
  --text-tertiary: #6C7480;
  --accent: #00E5A0;
  --accent-hover: #25F5B2;
  --gold: #D9A441;
  --danger: #FF5C7A;
  --gradient-hero: linear-gradient(180deg, rgba(11, 12, 14, 0) 30%, rgba(11, 12, 14, 0.82) 100%);
  --gradient-card: linear-gradient(180deg, rgba(11, 12, 14, 0) 55%, rgba(11, 12, 14, 0.84) 100%);
  --font-sans: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-en: "Space Grotesk", Inter, system-ui;
  --text-hero: clamp(2.4rem, 5vw, 4.2rem);
  --text-h2: clamp(1.6rem, 3vw, 2.3rem);
  --text-h3: 1.25rem;
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-micro: 0.75rem;
  --radius-large: 20px;
  --radius-small: 12px;
  --radius-btn: 10px;
  --radius-badge: 999px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 12px 40px rgba(0, 229, 160, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container-max: 1280px;
  --gutter: 32px;
}
/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.75;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.25; font-weight: 700; }
.container { max-width: var(--container-max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 64px 0; }
::selection { background: rgba(0, 229, 160, 0.25); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
/* ===== Typography Helpers ===== */
.font-en { font-family: var(--font-en); }
.text-secondary { color: var(--text-secondary); }
.text-tertiary { color: var(--text-tertiary); }
.text-accent { color: var(--accent); }
/* ===== Navigation ===== */
.site-header {
  position: relative;
  z-index: 100;
  border-bottom: 1px solid var(--surface-border);
  background: rgba(11, 12, 14, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent) 0%, #00b87e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(0, 229, 160, 0.3);
}
.brand-mark svg { width: 16px; height: 16px; }
.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  line-height: 1;
  white-space: nowrap;
}
.brand-name span { color: var(--accent); }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-menu .nav-link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 26px 0;
  transition: color 0.3s var(--ease);
  white-space: nowrap;
}
.nav-menu .nav-link:hover { color: var(--accent); }
.nav-menu .nav-link.active { color: var(--text-primary); }
.nav-menu .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(0, 229, 160, 0.6);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 20px;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(0, 229, 160, 0.5);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  background: transparent;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.nav-cta:hover {
  background: rgba(0, 229, 160, 0.1);
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(0, 229, 160, 0.15);
  transform: translateY(-1px);
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-btn);
  border: 1px solid var(--surface-border);
  background: transparent;
  position: relative;
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  position: relative;
}
.menu-toggle span { margin: 5px 0; }
.menu-toggle.open span { opacity: 0; }
.menu-toggle.open::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open::after { transform: translateY(-7px) rotate(-45deg); }
/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(11, 12, 14, 0.98);
  padding: 100px 32px 48px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  padding: 18px 0;
  border-bottom: 1px solid var(--surface-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-nav .nav-link.active { color: var(--accent); }
.mobile-nav .nav-link.active::after { content: "→"; font-size: 20px; }
.mobile-nav .nav-cta { margin-top: 24px; height: 48px; font-size: 16px; }
.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--text-primary);
}
/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 28px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 700;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
  line-height: 1;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: #0B0C0E;
  box-shadow: 0 0 0 rgba(0, 229, 160, 0);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(0, 229, 160, 0.25);
}
.btn-primary:active { transform: scale(0.98); }
.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
}
.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}
.btn-secondary:active { transform: scale(0.98); }
.btn-lg { height: 52px; padding: 0 36px; font-size: 16px; }
.btn-sm { height: 38px; padding: 0 20px; font-size: 13px; }
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  background: none;
  padding: 0;
  transition: gap 0.3s var(--ease);
}
.btn-link:hover { gap: 12px; color: var(--accent-hover); }
/* ===== Section Headers ===== */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 24px;
}
.section-head h2 {
  font-size: var(--text-h2);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.section-head .sec-sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 6px;
  line-height: 1.5;
}
.section-head .sec-link {
  flex-shrink: 0;
}
/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  background-image: url('/assets/images/backpic/back-1.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; padding-bottom: 96px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-badge);
  border: 1px solid rgba(0, 229, 160, 0.4);
  background: rgba(0, 229, 160, 0.08);
  color: var(--accent);
  font-size: var(--text-micro);
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}
.hero-badge .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 229, 160, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(0, 229, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 229, 160, 0); }
}
.hero h1 {
  font-size: var(--text-hero);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 700px;
  letter-spacing: -0.02em;
}
.hero h1 .highlight { color: var(--accent); }
.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-tertiary);
  font-size: var(--text-micro);
  letter-spacing: 0.12em;
  transition: color 0.3s;
}
.hero-scroll:hover { color: var(--accent); }
.hero-scroll .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--text-tertiary), transparent);
  position: relative;
  overflow: hidden;
}
.hero-scroll .line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--accent));
  animation: scrollLine 2s ease infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}
/* ===== Stats Bar ===== */
.stats-bar {
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  background: var(--bg-primary);
}
.stats-grid {
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 44px 0;
  flex-wrap: wrap;
}
.stat-item { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--font-en);
  font-size: 34px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
}
.stat-num em { font-style: normal; color: var(--accent); font-size: 20px; margin-left: 2px; }
.stat-label { font-size: 14px; color: var(--text-tertiary); }
/* ===== Cards ===== */
.game-card {
  position: relative;
  border-radius: var(--radius-large);
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--surface-border);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  flex-shrink: 0;
}
.game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 160, 0.35);
  box-shadow: var(--shadow-hover);
}
.game-card .cover-wrap { position: relative; overflow: hidden; aspect-ratio: 3/4; background: var(--bg-tertiary); }
.game-card .cover-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.game-card:hover .cover-wrap img { transform: scale(1.05); }
.game-card .card-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.game-card .card-info { width: 100%; }
.game-card .card-tags { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.game-card .card-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
.game-card .card-meta { display: flex; align-items: center; justify-content: space-between; font-size: var(--text-micro); color: var(--text-secondary); }
.game-card .card-rating { color: var(--gold); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.game-card .card-rating svg { width: 12px; height: 12px; fill: var(--gold); }
.game-card .view-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(11, 12, 14, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  font-size: var(--text-micro);
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-badge);
  opacity: 0;
  transform: translateY(-6px);
  transition: all 0.35s var(--ease);
  backdrop-filter: blur(8px);
  z-index: 3;
}
.game-card:hover .view-badge { opacity: 1; transform: translateY(0); }
/* ===== Horizontal Scroll ===== */
.h-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 24px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
  -webkit-overflow-scrolling: touch;
}
.h-scroll::-webkit-scrollbar { height: 4px; }
.h-scroll::-webkit-scrollbar-track { background: transparent; }
.h-scroll::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.15); border-radius: 4px; }
.h-scroll::-webkit-scrollbar-thumb:hover { background: var(--accent); }
.h-scroll .game-card { scroll-snap-align: start; width: 240px; }
.scroll-nav {
  display: flex;
  gap: 8px;
}
.scroll-nav button {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--surface-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s var(--ease);
  background: transparent;
}
.scroll-nav button:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0, 229, 160, 0.06);
}
.scroll-nav button:disabled { opacity: 0.3; cursor: default; }
/* ===== Featured Grid ===== */
.featured-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; }
.feat-card {
  position: relative;
  border-radius: var(--radius-large);
  overflow: hidden;
  border: 1px solid var(--surface-border);
  background: var(--bg-secondary);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  min-height: 280px;
}
.feat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 160, 0.3);
  box-shadow: var(--shadow-hover);
}
.feat-card .cover-wrap { position: relative; overflow: hidden; height: 100%; min-height: 280px; }
.feat-card .cover-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.feat-card:hover .cover-wrap img { transform: scale(1.04); }
.feat-card .feat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,12,14,0) 25%, rgba(11,12,14,0.9) 100%);
  display: flex;
  align-items: flex-end;
  padding: 32px;
}
.feat-card .feat-content { max-width: 420px; }
.feat-card .feat-tag { margin-bottom: 10px; }
.feat-card .feat-title { font-size: 24px; font-weight: 800; margin-bottom: 8px; line-height: 1.3; }
.feat-card .feat-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feat-card-tall { min-height: 420px; }
.feat-card-tall .cover-wrap { min-height: 420px; }
.feat-card-tall .feat-title { font-size: 28px; }
.featured-grid .feat-row-2 {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.feat-card-sm { min-height: 220px; }
.feat-card-sm .cover-wrap { min-height: 220px; }
.feat-card-sm .feat-overlay { padding: 24px; }
.feat-card-sm .feat-title { font-size: 20px; }
.feat-card-sm .feat-desc { -webkit-line-clamp: 1; }
/* ===== Collection Section ===== */
.collection-group + .collection-group { margin-top: 56px; }
.collection-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
}
.collection-head h3 { font-size: 22px; font-weight: 700; }
.collection-head .more-link { font-size: 13px; color: var(--text-secondary); transition: color 0.3s; display: inline-flex; align-items: center; gap: 4px; }
.collection-head .more-link:hover { color: var(--accent); }
.collection-head .more-link svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.collection-head .more-link:hover svg { transform: translateX(4px); }
/* ===== Badges ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: var(--radius-badge);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: var(--text-micro);
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
}
.badge:hover { border-color: var(--accent); color: var(--accent); }
.badge-hot { border-color: rgba(217, 164, 65, 0.5); color: var(--gold); background: rgba(217, 164, 65, 0.08); }
.badge-new { border-color: rgba(0, 229, 160, 0.5); color: var(--accent); background: rgba(0, 229, 160, 0.08); }
.badge-accent { border-color: var(--accent); color: var(--accent); background: rgba(0, 229, 160, 0.1); }
/* ===== CTA Section ===== */
.cta-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/backpic/back-2.png');
  background-size: cover;
  background-position: center;
  opacity: 0.14;
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 88px 32px;
  max-width: 720px;
  margin: 0 auto;
}
.cta-inner h2 { font-size: var(--text-h2); font-weight: 800; margin-bottom: 12px; }
.cta-inner p { color: var(--text-secondary); font-size: 16px; margin-bottom: 32px; line-height: 1.6; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
/* ===== News Section ===== */
.news-section { background: var(--bg-primary); }
.news-list { display: flex; flex-direction: column; }
.news-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--surface-border);
  transition: background 0.3s var(--ease);
}
.news-item:first-child { border-top: 1px solid var(--surface-border); }
.news-item:hover { background: rgba(255, 255, 255, 0.015); }
.news-info { flex: 1; min-width: 0; }
.news-info .badge { margin-bottom: 8px; }
.news-info h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  transition: color 0.3s var(--ease);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-item:hover .news-info h3 { color: var(--accent); }
.news-info p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 720px;
}
.news-date { font-size: var(--text-micro); color: var(--text-tertiary); }
.news-thumb {
  width: 160px;
  height: 100px;
  border-radius: var(--radius-small);
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--surface-border);
  background: var(--bg-tertiary);
  position: relative;
}
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.news-item:hover .news-thumb img { transform: scale(1.05); }
.empty-state {
  padding: 64px 32px;
  text-align: center;
  color: var(--text-tertiary);
  border-bottom: 1px solid var(--surface-border);
}
.empty-state svg { width: 48px; height: 48px; margin-bottom: 16px; stroke: var(--text-tertiary); opacity: 0.6; }
.empty-state p { font-size: 15px; }
/* ===== FAQ ===== */
.faq-section { background: var(--bg-primary); }
.faq-list { max-width: 840px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--surface-border); }
.faq-item:first-child { border-top: 1px solid var(--surface-border); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 8px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.3s var(--ease);
  background: transparent;
}
.faq-q:hover { color: var(--accent); }
.faq-q .plus {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.4s var(--ease);
}
.faq-q .plus::before, .faq-q .plus::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
}
.faq-q .plus::before { width: 16px; height: 2px; top: 11px; left: 4px; }
.faq-q .plus::after { width: 2px; height: 16px; top: 4px; left: 11px; transition: opacity 0.3s; }
.faq-item.open .faq-q { color: var(--accent); }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.faq-a-inner { padding: 0 8px 28px; font-size: 15px; line-height: 1.7; color: var(--text-secondary); }
/* ===== Footer ===== */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--surface-border);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand { max-width: 300px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--text-tertiary); line-height: 1.6; }
.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.3s var(--ease);
}
.footer-col ul a:hover { color: var(--text-primary); }
.footer-bottom {
  border-top: 1px solid var(--surface-border);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 13px; color: var(--text-tertiary); }
.footer-bottom p .dot { margin: 0 6px; }
/* ===== Animations ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero .badge, .hero h1, .hero-sub, .hero-actions, .hero-scroll { animation: fadeUp 0.7s var(--ease) both; }
.hero h1 { animation-delay: 0.1s; }
.hero-sub { animation-delay: 0.2s; }
.hero-actions { animation-delay: 0.3s; }
.hero-scroll { animation-delay: 0.5s; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  html { scroll-behavior: auto; }
}
/* ===== Back to top ===== */
.back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(28, 31, 37, 0.85);
  border: 1px solid var(--surface-border);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.35s var(--ease);
  z-index: 50;
  backdrop-filter: blur(10px);
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 20px rgba(0, 229, 160, 0.15); }
/* ===== Responsive ===== */
@media (max-width: 1023px) {
  .nav-menu { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero { min-height: 80vh; }
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .feat-card, .feat-card-tall { min-height: 320px; }
  .feat-card .cover-wrap, .feat-card-tall .cover-wrap { min-height: 320px; }
  .featured-grid .feat-row-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .stats-grid { gap: 40px; }
}
@media (max-width: 767px) {
  :root { --gutter: 16px; }
  .section-pad { padding: 64px 0; }
  .hero { min-height: 72vh; align-items: flex-end; }
  .hero .container { padding-bottom: 64px; }
  .hero-sub { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; height: 50px; }
  .stats-grid { gap: 24px; padding: 32px 0; }
  .stat-num { font-size: 28px; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 28px; }
  .section-head .sec-link { align-self: flex-start; }
  .h-scroll .game-card { width: 200px; }
  .featured-grid { grid-template-columns: 1fr; gap: 16px; }
  .feat-card, .feat-card-tall, .feat-card-sm { min-height: 240px; }
  .feat-card .cover-wrap, .feat-card-tall .cover-wrap, .feat-card-sm .cover-wrap { min-height: 240px; }
  .feat-card .feat-title, .feat-card-tall .feat-title { font-size: 20px; }
  .feat-card .feat-overlay, .feat-card-tall .feat-overlay, .feat-card-sm .feat-overlay { padding: 20px; }
  .collection-head h3 { font-size: 18px; }
  .news-item { flex-direction: column-reverse; align-items: flex-start; gap: 16px; padding: 24px 0; }
  .news-thumb { width: 100%; height: 160px; }
  .news-info p { white-space: normal; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; }
  .news-info h3 { white-space: normal; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; }
  .cta-inner { padding: 64px 0; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .back-top { bottom: 20px; right: 20px; }
}
@media (max-width: 480px) {
  .brand-name { font-size: 18px; }
  .stat-num { font-size: 24px; }
  .stat-item { flex: 1 1 30%; }
  .h-scroll .game-card { width: 180px; }
  .collection-group + .collection-group { margin-top: 40px; }
}

/* roulang page: category1 */
/* ============ 设计变量 ============ */
:root {
  --bg-primary: #0B0C0E;
  --bg-secondary: #14161A;
  --bg-tertiary: #1C1F25;
  --surface-border: rgba(255, 255, 255, 0.08);
  --text-primary: #F2F4F8;
  --text-secondary: #A0A8B4;
  --text-tertiary: #6C7480;
  --accent: #00E5A0;
  --accent-hover: #25F5B2;
  --gold: #D9A441;
  --danger: #FF5C7A;
  --gradient-hero: linear-gradient(180deg, rgba(11,12,14,0) 30%, rgba(11,12,14,0.82) 100%);
  --font-sans: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-en: "Space Grotesk", Inter, system-ui, sans-serif;
  --text-hero: clamp(2.4rem, 5vw, 4.5rem);
  --text-h2: clamp(1.6rem, 3vw, 2.5rem);
  --text-h3: 1.25rem;
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-micro: 0.75rem;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 12px 40px rgba(0, 229, 160, 0.08);
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  --container-max: 1280px;
  --spacing-section: clamp(4rem, 8vw, 7rem);
}

/* ============ Reset & Base ============ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.75;
  background: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

section {
  position: relative;
}

/* ============ 按钮体系 ============ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 28px;
  background: var(--accent);
  color: #0B0C0E;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(0, 229, 160, 0.25);
  color: #0B0C0E;
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 46px;
  padding: 0 28px;
  background: transparent;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.9375rem;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-secondary:hover {
  border-color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.btn-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
}

.btn-link-arrow svg {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-link-arrow:hover {
  color: var(--accent);
}

.btn-link-arrow:hover svg {
  transform: translateX(4px);
}

/* ============ 徽章与标签 ============ */
.badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  font-size: var(--text-micro);
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: var(--transition);
  background: transparent;
}

.badge:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.badge-hot {
  border-color: rgba(217, 164, 65, 0.4);
  color: var(--gold);
}

.badge-new {
  border-color: rgba(0, 229, 160, 0.4);
  color: var(--accent);
}

.badge-accent {
  background: rgba(0, 229, 160, 0.1);
  border-color: rgba(0, 229, 160, 0.3);
  color: var(--accent);
}

/* ============ 导航 ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 12, 14, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--surface-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--accent);
  border-radius: 8px;
  flex-shrink: 0;
}

.brand-mark svg {
  display: block;
}

.brand-name {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.brand-name span {
  color: var(--text-secondary);
  font-weight: 400;
  font-size: 0.9rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-left: auto;
  margin-right: 32px;
}

.nav-link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 0;
  transition: var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link:hover::after {
  transform: scaleX(0.4);
}

.nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 18px;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition);
  background: transparent;
  white-space: nowrap;
}

.nav-cta:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 20px rgba(0, 229, 160, 0.1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.04);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  margin: 2px 0;
  border-radius: 2px;
  transition: var(--transition);
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ============ Hero ============ */
.page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  background-image: url('/assets/images/backpic/back-1.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--surface-border);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.page-hero .container {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  padding-bottom: 64px;
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: var(--text-micro);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-hero-badge::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.page-hero-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.75;
}

/* ============ 数据条 ============ */
.data-strip {
  border-bottom: 1px solid var(--surface-border);
  background: var(--bg-primary);
}

.data-strip-inner {
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 28px 0;
  flex-wrap: wrap;
}

.data-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.data-number {
  font-family: var(--font-en);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.data-number em {
  font-style: normal;
  font-size: 1rem;
  color: var(--accent);
  margin-left: 2px;
}

.data-label {
  font-size: var(--text-small);
  color: var(--text-tertiary);
}

/* ============ 内容版块 ============ */
.section-block {
  padding: var(--spacing-section) 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.section-head p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-top: 8px;
  max-width: 480px;
  line-height: 1.7;
}

.section-head-right {
  flex-shrink: 0;
}

/* ============ 大图横幅 + 错位列表 ============ */
.feature-layout {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 24px;
  margin-bottom: 24px;
}

.feature-card-large {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--surface-border);
  background: var(--bg-secondary);
  transition: var(--transition);
  display: block;
  min-height: 420px;
}

.feature-card-large:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 229, 160, 0.3);
}

.feature-card-large .cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-card-large:hover .cover-img {
  transform: scale(1.04);
}

.feature-card-large .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,12,14,0) 20%, rgba(11,12,14,0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}

.feature-card-large .card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.feature-card-large h3 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  color: #fff;
}

.feature-card-large p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 420px;
}

.feature-card-large .card-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-tertiary);
  font-size: var(--text-micro);
}

.feature-list-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-list-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--surface-border);
  background: var(--bg-secondary);
  transition: var(--transition);
}

.feature-list-card:hover {
  border-color: rgba(0, 229, 160, 0.3);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.feature-list-card .thumb {
  width: 140px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-list-card:hover .thumb {
  transform: scale(1.03);
}

.feature-list-card .info {
  flex: 1;
  min-width: 0;
}

.feature-list-card .badge-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.feature-list-card h4 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 6px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: var(--transition);
}

.feature-list-card:hover h4 {
  color: var(--accent);
}

.feature-list-card .desc {
  font-size: var(--text-small);
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.feature-list-card .time {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* ============ 资讯服务流程 ============ */
.service-strip {
  background: var(--bg-secondary);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  padding: var(--spacing-section) 0;
}

.service-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.service-content h2 {
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 20px;
}

.service-content p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.service-list {
  margin-top: 24px;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--surface-border);
}

.service-list li:last-child {
  border-bottom: none;
}

.service-list .step-num {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  margin-top: 4px;
}

.service-list h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.service-list p {
  font-size: var(--text-small);
  color: var(--text-tertiary);
  margin-bottom: 0;
  line-height: 1.6;
}

.service-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--surface-border);
  min-height: 360px;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-img-wrap:hover img {
  transform: scale(1.04);
}

/* ============ 资讯优势 ============ */
.advantage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.advantage-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-border);
  background: var(--bg-secondary);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.advantage-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--accent);
  transition: height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.advantage-card:hover::before {
  height: 100%;
}

.advantage-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 160, 0.25);
  box-shadow: var(--shadow-hover);
}

.advantage-card .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 229, 160, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.advantage-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.advantage-card p {
  color: var(--text-secondary);
  font-size: var(--text-small);
  line-height: 1.7;
}

/* ============ CTA ============ */
.cta-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  position: relative;
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  background: var(--bg-secondary);
}

.cta-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: var(--text-h2);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.cta-inner p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============ FAQ ============ */
.faq-section {
  padding: var(--spacing-section) 0;
}

.faq-wrap {
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--surface-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--surface-border);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 24px 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
}

.faq-q:hover {
  color: var(--accent);
}

.faq-q .plus {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-q .plus::before,
.faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: background 0.3s;
}

.faq-q .plus::before {
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
}

.faq-q .plus::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 20px;
}

.faq-item.open .faq-q .plus {
  transform: rotate(45deg);
}

.faq-item.open .faq-q .plus::before,
.faq-item.open .faq-q .plus::after {
  background: var(--accent);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-a p {
  padding-bottom: 24px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.75;
}

/* ============ 页脚 ============ */
.site-footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--surface-border);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand p {
  color: var(--text-tertiary);
  font-size: var(--text-small);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
  transition: var(--transition);
}

.footer-col ul a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid var(--surface-border);
  font-size: var(--text-micro);
  color: var(--text-tertiary);
}

.footer-bottom p {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom .dot {
  color: var(--text-tertiary);
}

.footer-bottom a {
  color: var(--text-tertiary);
}

.footer-bottom a:hover {
  color: var(--text-secondary);
}

/* ============ 动画 ============ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  opacity: 0;
  animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============ 响应式 ============ */
@media (max-width: 1023px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 80vw);
    background: var(--bg-primary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin: 0;
    padding: 40px 24px;
    border-left: 1px solid var(--surface-border);
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 99;
  }

  .nav-menu.nav-open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1.25rem;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 100;
  }

  .feature-layout {
    grid-template-columns: 1fr;
  }

  .feature-card-large {
    min-height: 360px;
  }

  .service-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-img-wrap {
    min-height: 280px;
    position: relative;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .page-hero {
    min-height: 360px;
  }

  .page-hero .container {
    padding-top: 80px;
    padding-bottom: 40px;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .data-strip-inner {
    gap: 32px;
    padding: 20px 0;
  }

  .section-block {
    padding: 64px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
  }

  .feature-list-card {
    align-items: flex-start;
  }

  .feature-list-card .thumb {
    width: 100px;
    height: 80px;
  }

  .advantage-grid {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn-primary,
  .cta-actions .btn-secondary {
    width: 100%;
    max-width: 320px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 0.95rem;
  }

  .brand-name span {
    font-size: 0.8rem;
  }

  .page-hero-desc {
    font-size: 0.9375rem;
  }

  .data-strip-inner {
    gap: 20px;
  }

  .data-number {
    font-size: 1.5rem;
  }

  .data-label {
    font-size: 0.75rem;
  }

  .feature-card-large .card-overlay {
    padding: 20px;
  }

  .feature-card-large h3 {
    font-size: 1.2rem;
  }

  .feature-list-card {
    flex-direction: column;
    gap: 12px;
  }

  .feature-list-card .thumb {
    width: 100%;
    height: 140px;
  }

  .service-list li {
    gap: 12px;
  }

  .service-list .step-num {
    font-size: 1.2rem;
  }

  .advantage-card {
    padding: 24px;
  }
}

/* roulang page: article */
:root {
  --bg-primary: #0B0C0E;
  --bg-secondary: #14161A;
  --bg-tertiary: #1C1F25;
  --surface-border: rgba(255,255,255,0.08);
  --text-primary: #F2F4F8;
  --text-secondary: #A0A8B4;
  --text-tertiary: #6C7480;
  --accent: #00E5A0;
  --accent-hover: #25F5B2;
  --gold: #D9A441;
  --danger: #FF5C7A;
  --gradient-hero: linear-gradient(180deg, rgba(11,12,14,0) 30%, rgba(11,12,14,0.82) 100%);
  --font-sans: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-en: "Space Grotesk", Inter, system-ui, sans-serif;
  --container: 1280px;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow: 0 8px 30px rgba(0,0,0,0.35);
  --shadow-hover: 0 12px 40px rgba(0,229,160,0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  background: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}
ul {
  list-style: none;
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.font-en {
  font-family: var(--font-en);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #0B0C0E;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(0,229,160,0.25);
}
.btn-primary:active {
  transform: scale(0.98);
}
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--text-primary);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.04);
}
.btn-sm {
  height: 36px;
  padding: 0 18px;
  font-size: 13px;
  border-radius: var(--radius-pill);
}
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.3s var(--ease);
}
.btn-link:hover {
  color: var(--accent);
}
.btn-link .arrow {
  transition: transform 0.3s var(--ease);
}
.btn-link:hover .arrow {
  transform: translateX(4px);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--text-secondary);
  background: transparent;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.badge:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.badge-gold {
  color: var(--gold);
  border-color: rgba(217,164,65,0.4);
}
.badge-accent {
  color: var(--accent);
  border-color: rgba(0,229,160,0.35);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--surface-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-mark svg {
  width: 18px;
  height: 18px;
}
.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.2;
}
.brand-name span {
  font-weight: 500;
  color: var(--text-tertiary);
  margin-left: 2px;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-left: auto;
  margin-right: 8px;
}
.nav-link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 2px;
  transition: color 0.3s var(--ease);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s var(--ease);
}
.nav-link:hover {
  color: var(--text-primary);
}
.nav-link:hover::after {
  transform: scaleX(0.4);
}
.nav-link.active {
  color: var(--text-primary);
}
.nav-link.active::after {
  transform: scaleX(1);
}
.nav-cta {
  flex-shrink: 0;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--surface-border);
  background: transparent;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 28px;
}
.breadcrumb a {
  color: var(--text-secondary);
  transition: color 0.3s var(--ease);
}
.breadcrumb a:hover {
  color: var(--accent);
}
.breadcrumb .sep {
  color: var(--text-tertiary);
  opacity: 0.5;
}
.breadcrumb .current {
  color: var(--text-tertiary);
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Article Hero */
.article-hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(11,12,14,0.86) 0%, rgba(11,12,14,0.94) 100%),
    url('/assets/images/backpic/back-2.png') center/cover no-repeat;
  border-bottom: 1px solid var(--surface-border);
  padding: 64px 0 48px;
}
.article-hero-inner {
  max-width: 860px;
  margin: 0 auto;
}
.article-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-tertiary);
}
.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.meta-item .author {
  color: var(--text-secondary);
  font-weight: 500;
}
.meta-badge {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0,229,160,0.3);
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
}

/* Article Section */
.article-section {
  padding: 56px 0 64px;
}
.article-body {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
}
.article-body > * + * {
  margin-top: 1.5em;
}
.article-body p {
  margin-bottom: 1.5em;
}
.article-body h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin: 48px 0 20px;
  padding-left: 14px;
  border-left: 2px solid var(--accent);
}
.article-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 32px 0 14px;
}
.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s var(--ease);
}
.article-body a:hover {
  color: var(--accent-hover);
}
.article-body blockquote {
  border-left: 2px solid var(--accent);
  background: var(--bg-secondary);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 28px 0;
  color: var(--text-secondary);
  font-style: italic;
}
.article-body img {
  max-width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--surface-border);
  margin: 28px 0;
}
.article-body ul,
.article-body ol {
  padding-left: 1.4em;
  margin: 1.5em 0;
}
.article-body ul li,
.article-body ol li {
  margin-bottom: 0.6em;
}
.article-body ul li::marker {
  color: var(--accent);
}
.article-body ol li::marker {
  color: var(--accent);
  font-family: var(--font-en);
}
.article-body code {
  font-family: "SF Mono", "Cascadia Code", Consolas, monospace;
  background: var(--bg-tertiary);
  border: 1px solid var(--surface-border);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.9em;
  color: var(--accent);
}
.article-body pre {
  background: var(--bg-tertiary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  overflow-x: auto;
  margin: 28px 0;
}
.article-body pre code {
  background: none;
  border: none;
  padding: 0;
  color: var(--text-primary);
}

/* Tags */
.article-tags {
  max-width: 720px;
  margin: 40px auto 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--surface-border);
}
.tag-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-right: 4px;
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--surface-border);
  font-size: 13px;
  color: var(--text-secondary);
  transition: all 0.3s var(--ease);
}
.tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Article empty */
.article-empty {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 24px;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
}
.article-empty .empty-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  color: var(--text-tertiary);
}
.article-empty p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Article back */
.article-back {
  max-width: 720px;
  margin: 40px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.3s var(--ease);
}
.back-link:hover {
  color: var(--accent);
}
.back-link .arrow {
  transition: transform 0.3s var(--ease);
}
.back-link:hover .arrow {
  transform: translateX(-4px);
}

/* Related Section */
.related-section {
  padding: 72px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}
.section-head h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  position: relative;
  padding-bottom: 10px;
}
.section-head h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
}
.section-head p {
  font-size: 14px;
  color: var(--text-tertiary);
}
.related-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.related-card {
  display: flex;
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-border);
  background: var(--bg-tertiary);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,229,160,0.35);
  box-shadow: var(--shadow-hover);
}
.related-card.featured {
  flex-direction: row;
  min-height: 260px;
}
.related-card .card-cover {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.related-card.featured .card-cover {
  width: 46%;
}
.related-card .card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.related-card:hover .card-cover img {
  transform: scale(1.05);
}
.related-card .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  gap: 12px;
}
.related-card .card-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  transition: color 0.3s var(--ease);
}
.related-card:hover .card-body h3 {
  color: var(--accent);
}
.related-card .card-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;
}
.related-card .card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-tertiary);
}
.related-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.related-card.small {
  flex-direction: row;
  min-height: 110px;
}
.related-card.small .card-cover {
  width: 42%;
}
.related-card.small .card-body {
  padding: 16px 18px;
  gap: 6px;
}
.related-card.small .card-body h3 {
  font-size: 15px;
}
.related-card.small .card-body p {
  display: none;
}

/* CTA Section */
.cta-section {
  padding: 88px 0;
  background:
    linear-gradient(180deg, rgba(11,12,14,0.92) 0%, rgba(11,12,14,0.96) 100%),
    url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
  position: relative;
}
.cta-inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.cta-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 16px;
}
.cta-inner p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* FAQ Section */
.faq-section {
  padding: 72px 0;
}
.faq-section .section-head {
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}
.faq-list {
  max-width: 840px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--surface-border);
}
.faq-item:first-of-type {
  border-top: 1px solid var(--surface-border);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  background: none;
  cursor: pointer;
  transition: color 0.3s var(--ease);
}
.faq-question:hover {
  color: var(--accent);
}
.faq-question .q-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--text-tertiary);
  transition: transform 0.35s var(--ease), color 0.35s var(--ease);
}
.faq-item.active .faq-question .q-icon {
  transform: rotate(45deg);
  color: var(--accent);
}
.faq-answer-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.faq-item.active .faq-answer-wrap {
  max-height: 320px;
}
.faq-answer {
  padding: 0 4px 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Footer */
.site-footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--surface-border);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .brand {
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-tertiary);
  line-height: 1.7;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 18px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.3s var(--ease);
}
.footer-col ul a:hover {
  color: var(--text-primary);
}
.footer-bottom {
  border-top: 1px solid var(--surface-border);
  padding: 24px 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--text-tertiary);
}
.footer-bottom .dot {
  margin: 0 8px;
  opacity: 0.5;
}

/* Back Top */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(28,31,37,0.8);
  border: 1px solid var(--surface-border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.35s var(--ease);
  z-index: 50;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.back-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-top:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.back-top svg {
  width: 16px;
  height: 16px;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1023px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .related-card.featured {
    flex-direction: column;
  }
  .related-card.featured .card-cover {
    width: 100%;
    height: 200px;
  }
  .related-card.featured .card-body {
    padding: 20px;
  }
  .related-card.small .card-cover {
    width: 40%;
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 16px;
  }
  .site-header {
    height: 64px;
  }
  .header-inner {
    height: 64px;
  }
  .nav-menu {
    position: fixed;
    inset: 0;
    top: 0;
    background: rgba(11,12,14,0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
    z-index: 120;
  }
  .nav-menu.open {
    opacity: 1;
    visibility: visible;
  }
  .nav-menu .nav-link {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-secondary);
  }
  .nav-menu .nav-link.active {
    color: var(--accent);
  }
  .nav-menu .nav-link::after {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
    z-index: 130;
    position: relative;
  }
  .article-hero {
    padding: 48px 0 40px;
  }
  .breadcrumb {
    margin-bottom: 20px;
  }
  .article-hero h1 {
    font-size: 1.55rem;
  }
  .article-meta {
    gap: 12px;
    font-size: 12px;
  }
  .article-section {
    padding: 40px 0 48px;
  }
  .article-body {
    font-size: 15px;
  }
  .article-body h2 {
    font-size: 1.25rem;
    margin-top: 36px;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .related-side {
    flex-direction: row;
    gap: 16px;
  }
  .related-card.small {
    flex: 1;
    flex-direction: column;
    min-height: 180px;
  }
  .related-card.small .card-cover {
    width: 100%;
    height: 110px;
  }
  .related-card.small .card-body {
    padding: 14px;
  }
  .related-card.small .card-body h3 {
    font-size: 14px;
  }
  .cta-section {
    padding: 60px 0;
  }
  .faq-section {
    padding: 48px 0;
  }
  .faq-question {
    font-size: 15px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .back-top {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 16px;
  }
  .brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }
  .article-hero h1 {
    font-size: 1.35rem;
  }
  .related-side {
    flex-direction: column;
  }
  .related-card.small {
    min-height: 0;
  }
  .related-card.small .card-cover {
    height: 140px;
  }
  .btn {
    height: 42px;
    padding: 0 22px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* roulang page: category2 */
:root {
  --bg-primary: #0B0C0E;
  --bg-secondary: #14161A;
  --bg-tertiary: #1C1F25;
  --surface-border: rgba(255, 255, 255, 0.08);
  --text-primary: #F2F4F8;
  --text-secondary: #A0A8B4;
  --text-tertiary: #6C7480;
  --accent: #00E5A0;
  --accent-hover: #25F5B2;
  --gold: #D9A441;
  --danger: #FF5C7A;
  --gradient-hero: linear-gradient(180deg, rgba(11, 12, 14, 0) 20%, rgba(11, 12, 14, 0.88) 100%);
  --font-sans: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-en: "Space Grotesk", Inter, system-ui;
  --text-hero: clamp(2.4rem, 5vw, 4.5rem);
  --text-h2: clamp(1.6rem, 3vw, 2.5rem);
  --text-h3: 1.25rem;
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-micro: 0.75rem;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 12px 40px rgba(0, 229, 160, 0.08);
  --transition: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: var(--text-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button, input {
  font: inherit;
  border: none;
  background: none;
  color: inherit;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 767px) {
  .container {
    padding: 0 16px;
  }
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 12, 14, 0.95);
  border-bottom: 1px solid var(--surface-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--accent);
  border-radius: 7px;
  flex-shrink: 0;
}

.brand-mark svg {
  width: 16px;
  height: 16px;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-name span {
  color: var(--accent);
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-left: 56px;
}

.nav-link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s var(--transition);
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.35s var(--transition);
}

.btn--primary {
  background: var(--accent);
  color: #0B0C0E;
}

.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(0, 229, 160, 0.25);
}

.btn--primary:active {
  transform: scale(0.98);
}

.btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--text-primary);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255, 255, 255, 0.04);
}

.btn--ghost:active {
  transform: scale(0.98);
}

.btn--sm {
  height: 36px;
  padding: 0 18px;
  font-size: 0.875rem;
  border-radius: 8px;
}

.btn--link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  padding: 0;
  height: auto;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: gap 0.3s var(--transition);
}

.btn--link:hover {
  gap: 12px;
}

.btn--link .arrow {
  transition: transform 0.3s var(--transition);
}

.btn--link:hover .arrow {
  transform: translateX(4px);
}

/* ===== Badges ===== */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: var(--text-micro);
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.4;
  white-space: nowrap;
  transition: border-color 0.3s var(--transition), color 0.3s var(--transition);
}

.badge:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.badge--hot {
  border-color: rgba(217, 164, 65, 0.4);
  color: var(--gold);
}

.badge--new {
  border-color: rgba(0, 229, 160, 0.4);
  color: var(--accent);
}

/* ===== Category Hero ===== */
.category-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  background-image: url('/assets/images/backpic/back-1.webp');
  background-size: cover;
  background-position: center center;
  padding: 80px 0 56px;
}

.category-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.category-hero__content {
  position: relative;
  z-index: 1;
  animation: fadeUp 0.6s var(--transition) both;
}

.category-hero__badge {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  color: var(--accent);
  text-transform: uppercase;
}

.category-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.15;
  margin: 12px 0 16px;
}

.category-hero p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.8;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Section base ===== */
.section {
  padding: 72px 0;
}

.section--secondary {
  background: var(--bg-secondary);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: 1.25;
}

.section-header .sub {
  font-size: var(--text-small);
  color: var(--text-tertiary);
  margin-top: 6px;
}

.section-header .more-link {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 0.3s var(--transition);
}

.section-header .more-link:hover {
  opacity: 0.8;
}

/* ===== Ranking List ===== */
.rank-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rank-card {
  position: relative;
  display: grid;
  grid-template-columns: 88px 200px 1fr auto auto;
  gap: 24px;
  align-items: center;
  background: var(--bg-secondary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  transition: all 0.4s var(--transition);
  overflow: hidden;
}

.rank-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 160, 0.3);
  box-shadow: var(--shadow-hover);
}

.rank-card__num {
  font-family: var(--font-en);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text-tertiary);
  text-align: center;
  transition: all 0.4s var(--transition);
}

.rank-card:hover .rank-card__num {
  -webkit-text-stroke-color: var(--accent);
  transform: scale(1.04);
}

.rank-card__num--top {
  color: var(--gold);
  -webkit-text-stroke: 0;
}

.rank-card__num--top-2 {
  color: var(--text-tertiary);
  -webkit-text-stroke: 0;
}

.rank-card__cover {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 140px;
  width: 200px;
  flex-shrink: 0;
}

.rank-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--transition);
}

.rank-card:hover .rank-card__cover img {
  transform: scale(1.05);
}

.rank-card__info {
  min-width: 0;
}

.rank-card__tags {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.rank-card__info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-card__info p {
  font-size: var(--text-small);
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rank-card__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  font-size: var(--text-micro);
  color: var(--text-tertiary);
}

.rank-card__score {
  text-align: center;
  padding: 0 12px;
  border-left: 1px solid var(--surface-border);
}

.score-num {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  display: block;
}

.score-label {
  font-size: var(--text-micro);
  color: var(--text-tertiary);
  margin-top: 4px;
  display: block;
}

.rank-card .btn {
  margin-left: 4px;
}

/* ===== Highlights ===== */
.highlight-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 20px;
}

.highlight-card {
  background: var(--bg-secondary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.4s var(--transition);
  position: relative;
  overflow: hidden;
}

.highlight-card--dark {
  background: var(--bg-tertiary);
}

.highlight-card:hover {
  border-color: rgba(0, 229, 160, 0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.highlight-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(0, 229, 160, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.highlight-card__icon svg {
  width: 22px;
  height: 22px;
}

.highlight-card h3 {
  font-size: var(--text-h3);
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.highlight-card p {
  font-size: var(--text-small);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== Scenarios ===== */
.scenario-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.scenario-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--surface-border);
}

.scenario-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 12, 14, 0.1) 0%, rgba(11, 12, 14, 0.85) 100%);
}

.scenario-card__content {
  position: relative;
  z-index: 1;
  padding: 28px;
  width: 100%;
}

.scenario-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.scenario-card p {
  font-size: var(--text-small);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 380px;
}

/* ===== CTA ===== */
.cta-section {
  padding: 64px 0;
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  background: var(--bg-secondary);
}

.cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: var(--text-h2);
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-inner p {
  color: var(--text-secondary);
  font-size: var(--text-small);
  margin-bottom: 28px;
}

/* ===== FAQ ===== */
.faq-section {
  padding: 72px 0;
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--surface-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--surface-border);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  background: none;
  border: none;
  transition: color 0.3s var(--transition);
}

.faq-item__question:hover {
  color: var(--accent);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--surface-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-size: 1rem;
  font-weight: 400;
  transition: all 0.4s var(--transition);
}

.faq-item.open .faq-item__icon {
  border-color: var(--accent);
  color: var(--accent);
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--transition), padding 0.3s var(--transition);
}

.faq-item.open .faq-item__answer {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-item__answer p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-right: 24px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--surface-border);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand .brand {
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: var(--text-small);
  color: var(--text-tertiary);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.3s var(--transition);
}

.footer-col ul a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid var(--surface-border);
  font-size: var(--text-micro);
  color: var(--text-tertiary);
}

.footer-bottom .dot {
  margin: 0 8px;
}

/* ===== Mobile Menu ===== */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--radius-sm);
  transition: background 0.3s var(--transition);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.35s var(--transition);
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--transition);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}

.mobile-nav__link {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: color 0.3s var(--transition);
}

.mobile-nav__link:hover {
  color: var(--accent);
}

.mobile-nav__link.active {
  color: var(--text-primary);
}

.mobile-nav .btn {
  margin-top: 20px;
}

/* ===== Responsive ===== */
@media (max-width: 1023px) {
  .nav-menu {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-actions .btn--ghost {
    display: none;
  }

  .rank-card {
    grid-template-columns: 72px 160px 1fr;
  }

  .rank-card__score {
    border-left: none;
    padding: 0;
    grid-column: 3;
    text-align: left;
  }

  .rank-card .btn {
    grid-column: 3;
    justify-self: start;
    margin-top: 4px;
  }

  .highlight-grid {
    grid-template-columns: 1fr 1fr;
  }

  .highlight-card:first-child {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 767px) {
  .section {
    padding: 48px 0;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 28px;
  }

  .category-hero {
    min-height: 72vh;
    padding: 56px 0 40px;
  }

  .category-hero h1 {
    font-size: 2rem;
  }

  .rank-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .rank-card__num {
    font-size: 2.2rem;
    text-align: left;
  }

  .rank-card__cover {
    width: 100%;
    height: 180px;
  }

  .rank-card__info h3 {
    font-size: 1.05rem;
  }

  .rank-card__score {
    grid-column: 1;
    text-align: left;
    display: flex;
    align-items: baseline;
    gap: 8px;
  }

  .rank-card .btn {
    grid-column: 1;
    width: 100%;
  }

  .highlight-grid,
  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .highlight-card:first-child {
    grid-column: 1;
  }

  .scenario-card {
    min-height: 220px;
  }

  .cta-section {
    padding: 48px 0;
  }

  .cta-inner h2 {
    font-size: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 0.9375rem;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .brand-mark {
    width: 26px;
    height: 26px;
  }

  .category-hero p {
    font-size: 0.9375rem;
  }

  .rank-card__cover {
    height: 160px;
  }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
