/* roulang page: index */
/* ===== Design Variables ===== */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --primary-bg: #eff6ff;
  --secondary: #f59e0b;
  --secondary-dark: #d97706;
  --secondary-light: #fbbf24;
  --accent: #8b5cf6;
  --bg: #f8fafc;
  --bg-alt: #f1f5f9;
  --bg-dark: #0f172a;
  --card-bg: #ffffff;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-weak: #94a3b8;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-hover: 0 20px 50px rgba(0,0,0,0.15);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --header-height: 72px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; outline: none; border: none; }
button { cursor: pointer; background: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.3; font-weight: 700; color: var(--text); }
h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }

/* ===== Container ===== */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ===== Header & Navigation ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border); height: var(--header-height);
  transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; font-weight: 800; color: var(--text); }
.logo i { color: var(--primary); font-size: 1.6rem; }
.logo span { background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: flex; align-items: center; gap: 6px; padding: 8px 18px; border-radius: var(--radius-sm);
  font-size: 0.95rem; font-weight: 500; color: var(--text-secondary); transition: var(--transition);
}
.nav a:hover { color: var(--primary); background: var(--primary-bg); }
.nav a.active { color: var(--primary); background: var(--primary-bg); font-weight: 600; }
.nav a i { font-size: 0.9rem; }
.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: #fff !important; padding: 8px 22px !important; border-radius: var(--radius-sm) !important;
  font-weight: 600 !important; box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,0.4) !important; color: #fff !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; }
.hamburger span { display: block; width: 26px; height: 2.5px; background: var(--text); border-radius: 4px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  min-height: 92vh; display: flex; align-items: center; position: relative;
  background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
  margin-top: var(--header-height); overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.82), rgba(30,41,59,0.65), rgba(15,23,42,0.75));
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; padding: 80px 24px; }
.hero-content { max-width: 700px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 18px; border-radius: 50px;
  background: rgba(255,255,255,0.12); backdrop-filter: blur(8px); color: #fff; font-size: 0.85rem;
  font-weight: 500; margin-bottom: 24px; border: 1px solid rgba(255,255,255,0.15);
}
.hero-badge i { color: var(--secondary); }
.hero h1 { font-size: 3.6rem; font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 20px; }
.hero h1 span { background: linear-gradient(135deg, var(--secondary), #f97316); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 1.2rem; color: rgba(255,255,255,0.8); max-width: 580px; margin-bottom: 36px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-actions .btn-primary {
  padding: 14px 36px; background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; border-radius: var(--radius-sm); font-weight: 600; font-size: 1.05rem;
  box-shadow: 0 8px 28px rgba(37,99,235,0.35); transition: var(--transition);
}
.hero-actions .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(37,99,235,0.45); }
.hero-actions .btn-secondary {
  padding: 14px 36px; background: rgba(255,255,255,0.12); backdrop-filter: blur(8px);
  color: #fff; border-radius: var(--radius-sm); font-weight: 600; font-size: 1.05rem;
  border: 1px solid rgba(255,255,255,0.2); transition: var(--transition);
}
.hero-actions .btn-secondary:hover { background: rgba(255,255,255,0.2); transform: translateY(-3px); }
.hero-stats {
  display: flex; gap: 48px; margin-top: 52px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stats .stat-item { text-align: left; }
.hero-stats .stat-number { font-size: 2rem; font-weight: 800; color: #fff; line-height: 1.2; }
.hero-stats .stat-number i { color: var(--secondary); font-size: 1.4rem; margin-right: 6px; }
.hero-stats .stat-label { font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-top: 4px; }

/* ===== Section Common ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: #fff; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--text-secondary); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.section-header.light h2 { color: #fff; }
.section-header.light p { color: rgba(255,255,255,0.7); }

/* ===== Features Section ===== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card {
  background: var(--card-bg); border-radius: var(--radius); padding: 36px 30px;
  box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid var(--border);
  text-align: center;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--primary-light); }
.feature-card .icon-wrap {
  width: 68px; height: 68px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 1.8rem; color: #fff;
}
.feature-card:nth-child(1) .icon-wrap { background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.feature-card:nth-child(2) .icon-wrap { background: linear-gradient(135deg, var(--secondary), #f97316); }
.feature-card:nth-child(3) .icon-wrap { background: linear-gradient(135deg, var(--accent), #a78bfa); }
.feature-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.feature-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }

/* ===== Games Grid (Cover Cards) ===== */
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.game-card {
  border-radius: var(--radius); overflow: hidden; background: var(--card-bg);
  box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid var(--border);
  cursor: pointer;
}
.game-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.game-card .cover {
  width: 100%; height: 200px; object-fit: cover; display: block;
  transition: var(--transition);
}
.game-card:hover .cover { transform: scale(1.05); }
.game-card .info { padding: 20px; }
.game-card .info h3 { font-size: 1.1rem; margin-bottom: 6px; }
.game-card .info p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }
.game-card .tag {
  display: inline-block; padding: 3px 12px; border-radius: 50px; font-size: 0.75rem;
  font-weight: 600; margin-top: 10px; background: var(--primary-bg); color: var(--primary);
}

/* ===== Latest Posts List (CMS) ===== */
.posts-list { display: flex; flex-direction: column; gap: 16px; }
.post-item {
  display: flex; align-items: flex-start; gap: 20px; padding: 24px; background: var(--card-bg);
  border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: var(--transition);
}
.post-item:hover { box-shadow: var(--shadow); transform: translateX(4px); border-color: var(--primary-light); }
.post-item .thumb {
  width: 120px; height: 80px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0;
}
.post-item .post-body { flex: 1; min-width: 0; }
.post-item .post-body h3 { font-size: 1.05rem; margin-bottom: 6px; }
.post-item .post-body h3 a { color: var(--text); }
.post-item .post-body h3 a:hover { color: var(--primary); }
.post-item .post-body .meta { font-size: 0.85rem; color: var(--text-weak); display: flex; gap: 16px; align-items: center; }
.post-item .post-body .meta i { margin-right: 4px; }
.post-item .post-body .excerpt { color: var(--text-secondary); font-size: 0.9rem; margin-top: 6px; line-height: 1.6; }
.post-item .badge {
  display: inline-block; padding: 2px 10px; border-radius: 50px; font-size: 0.7rem;
  font-weight: 600; background: var(--primary-bg); color: var(--primary);
}

/* ===== Stats / Numbers ===== */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card {
  text-align: center; padding: 36px 20px; background: rgba(255,255,255,0.06);
  border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.1); transition: var(--transition);
}
.stat-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.stat-card .number { font-size: 2.6rem; font-weight: 800; color: #fff; line-height: 1.2; }
.stat-card .number i { color: var(--secondary); font-size: 1.6rem; margin-right: 6px; }
.stat-card .label { color: rgba(255,255,255,0.6); font-size: 0.95rem; margin-top: 8px; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--card-bg); border-radius: var(--radius); border: 1px solid var(--border);
  overflow: hidden; transition: var(--transition);
}
.faq-item:hover { border-color: var(--primary-light); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center; padding: 20px 24px;
  font-weight: 600; font-size: 1rem; cursor: pointer; transition: var(--transition); color: var(--text);
}
.faq-question i { color: var(--primary); transition: var(--transition); font-size: 0.9rem; }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px; color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7;
}
.faq-item.active .faq-answer { max-height: 300px; padding: 0 24px 20px; }

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 80px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
  opacity: 0.08; z-index: 0;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: #fff; font-size: 2.4rem; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 600px; margin: 0 auto 32px; }
.cta-btn {
  display: inline-block; padding: 16px 48px; background: #fff; color: var(--primary) !important;
  border-radius: var(--radius-sm); font-weight: 700; font-size: 1.1rem;
  box-shadow: 0 8px 28px rgba(0,0,0,0.15); transition: var(--transition);
}
.cta-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.25); }

/* ===== Footer ===== */
.footer {
  background: var(--bg-dark); color: rgba(255,255,255,0.7); padding: 48px 0 32px;
}
.footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand .logo i { color: var(--secondary); }
.footer-brand .logo span { -webkit-text-fill-color: #fff; background: none; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 300px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; font-weight: 600; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer ul a:hover { color: var(--secondary); }
.footer-bottom {
  grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px;
  margin-top: 16px; text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.4);
}

/* ===== Empty State ===== */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-weak); }
.empty-state i { font-size: 3rem; margin-bottom: 16px; color: var(--border); }
.empty-state p { font-size: 1rem; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.8rem; }
  .hero h1 { font-size: 2.8rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .footer .container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-height: 64px; }
  .nav { display: none; position: absolute; top: var(--header-height); left: 0; right: 0;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(16px); flex-direction: column;
    padding: 16px 24px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { width: 100%; padding: 12px 16px; border-radius: var(--radius-sm); }
  .hamburger { display: flex; }
  .hero { min-height: 80vh; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-stats .stat-number { font-size: 1.6rem; }
  .features-grid { grid-template-columns: 1fr; gap: 20px; }
  .games-grid { grid-template-columns: 1fr; gap: 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .post-item { flex-direction: column; }
  .post-item .thumb { width: 100%; height: 160px; }
  .section { padding: 56px 0; }
  .footer .container { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .footer-brand p { max-width: 100%; }
  .cta-section h2 { font-size: 1.8rem; }
}

@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary, .hero-actions .btn-secondary { text-align: center; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stats-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 1.5rem; }
  .nav-cta { text-align: center; }
}

/* roulang page: article */
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #a5b4fc;
  --primary-bg: #eef2ff;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --bg-body: #f8fafc;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --bg-dark: #0f172a;
  --bg-dark-2: #1e293b;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-white: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --max-width: 1200px;
  --header-h: 72px;
}
*, *::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);
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--header-h);
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
@media (max-width: 768px) { .container { padding: 0 16px; } }
/* header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px) saturate(1.8);
  -webkit-backdrop-filter: blur(16px) saturate(1.8);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; color: var(--text-primary); }
.logo i { color: var(--primary); font-size: 26px; }
.logo span { background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: 50px;
  font-size: 15px; font-weight: 500; color: var(--text-secondary);
  transition: var(--transition); position: relative;
}
.nav a:hover { color: var(--primary); background: var(--primary-bg); }
.nav a.active { color: var(--primary); background: var(--primary-bg); font-weight: 600; }
.nav a.active::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 20px; height: 3px; border-radius: 3px; background: var(--primary); }
.nav a.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff !important; font-weight: 600; padding: 8px 22px; box-shadow: 0 4px 14px rgba(99,102,241,0.35);
}
.nav a.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(99,102,241,0.45); }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--text-primary); cursor: pointer; padding: 4px; }
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(16px); flex-direction: column; padding: 16px 24px 24px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); }
  .nav.open { display: flex; }
  .nav a { width: 100%; justify-content: center; padding: 12px 18px; }
  .nav a.active::after { display: none; }
}
/* page banner */
.page-banner {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
  padding: 60px 0 50px; text-align: center; position: relative; overflow: hidden;
}
.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background: url('/assets/images/backpic/back-1.png') center/cover no-repeat;
  opacity: 0.12; pointer-events: none;
}
.page-banner h1 { font-size: 32px; font-weight: 800; color: var(--text-white); margin-bottom: 10px; line-height: 1.3; }
.page-banner .breadcrumb { color: var(--text-muted); font-size: 14px; }
.page-banner .breadcrumb a { color: var(--primary-light); }
.page-banner .breadcrumb a:hover { color: #fff; }
.page-banner .breadcrumb span { color: rgba(255,255,255,0.6); }
@media (max-width: 768px) { .page-banner { padding: 44px 0 36px; } .page-banner h1 { font-size: 24px; } }
/* article main */
.article-main { padding: 48px 0 64px; }
.article-wrapper { max-width: 860px; margin: 0 auto; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.article-meta .tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 14px; border-radius: 50px; font-size: 13px; font-weight: 500; background: var(--primary-bg); color: var(--primary); }
.article-meta .date { color: var(--text-muted); font-size: 14px; display: flex; align-items: center; gap: 6px; }
.article-body { font-size: 16.5px; line-height: 1.9; color: var(--text-secondary); }
.article-body p { margin-bottom: 1.2em; }
.article-body h2, .article-body h3 { color: var(--text-primary); font-weight: 700; margin-top: 1.8em; margin-bottom: 0.6em; line-height: 1.4; }
.article-body h2 { font-size: 24px; }
.article-body h3 { font-size: 20px; }
.article-body ul, .article-body ol { margin-bottom: 1.2em; padding-left: 1.5em; }
.article-body li { margin-bottom: 0.4em; }
.article-body img { border-radius: var(--radius-md); margin: 1.5em 0; box-shadow: var(--shadow-sm); }
.article-body blockquote { border-left: 4px solid var(--primary); background: var(--primary-bg); padding: 12px 20px; margin: 1.2em 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text-secondary); font-style: italic; }
.article-body a { color: var(--primary); font-weight: 500; border-bottom: 1px solid transparent; }
.article-body a:hover { border-bottom-color: var(--primary); }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 15px; }
.article-body th, .article-body td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.article-body th { background: var(--primary-bg); font-weight: 600; color: var(--text-primary); }
.article-body code { background: var(--border-light); padding: 2px 8px; border-radius: 4px; font-size: 0.9em; }
.article-body pre { background: var(--bg-dark); color: #e2e8f0; padding: 18px 22px; border-radius: var(--radius-md); overflow-x: auto; margin: 1.2em 0; font-size: 14px; line-height: 1.6; }
.article-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.article-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 50px; font-size: 14px; font-weight: 500; background: var(--bg-white); border: 1px solid var(--border); color: var(--text-secondary); transition: var(--transition); }
.article-nav a:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-bg); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.article-notfound { text-align: center; padding: 60px 24px; }
.article-notfound i { font-size: 56px; color: var(--text-muted); margin-bottom: 16px; display: block; }
.article-notfound h2 { font-size: 26px; color: var(--text-primary); margin-bottom: 10px; }
.article-notfound p { color: var(--text-secondary); margin-bottom: 20px; }
.article-notfound a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 28px; border-radius: 50px; background: var(--primary); color: #fff; font-weight: 500; }
.article-notfound a:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
/* footer */
.footer {
  background: var(--bg-dark); color: rgba(255,255,255,0.8); padding: 56px 0 0;
}
.footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand .logo span { -webkit-text-fill-color: #fff; background: none; }
.footer-brand p { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.6); max-width: 300px; }
.footer h4 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 28px; height: 3px; border-radius: 3px; background: var(--primary); }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul li a { color: rgba(255,255,255,0.6); font-size: 14px; transition: var(--transition); display: inline-flex; align-items: center; gap: 6px; }
.footer ul li a:hover { color: #fff; transform: translateX(4px); }
.footer-bottom { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,0.4); margin-top: 8px; }
.footer-bottom p { margin-bottom: 0; }
@media (max-width: 900px) {
  .footer .container { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer .container { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand p { max-width: 100%; }
}
/* back to top */
.back-top { position: fixed; bottom: 32px; right: 32px; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; border: none; font-size: 20px; cursor: pointer; box-shadow: var(--shadow-lg); transition: var(--transition); z-index: 99; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(20px); }
.back-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--primary-dark); transform: translateY(-4px); box-shadow: var(--shadow-xl); }

/* roulang page: category1 */
/* ===== :root 设计变量 ===== */
        :root {
            --primary: #6366f1;
            --primary-dark: #4f46e5;
            --primary-light: #a5b4fc;
            --primary-bg: #eef2ff;
            --secondary: #f59e0b;
            --secondary-dark: #d97706;
            --accent: #ec4899;
            --bg-body: #f8fafc;
            --bg-card: #ffffff;
            --bg-dark: #0f172a;
            --bg-dark-alt: #1e293b;
            --text-primary: #0f172a;
            --text-secondary: #475569;
            --text-muted: #94a3b8;
            --text-inverse: #f1f5f9;
            --border: #e2e8f0;
            --border-light: #f1f5f9;
            --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
            --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
            --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
            --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.16);
            --radius: 16px;
            --radius-sm: 10px;
            --radius-xs: 6px;
            --radius-full: 9999px;
            --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans SC', sans-serif;
            --container-w: 1200px;
            --header-h: 72px;
            --space-section: 100px;
        }

        /* ===== 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: 16px;
            line-height: 1.7;
            color: var(--text-primary);
            background: var(--bg-body);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            padding-top: var(--header-h);
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
            border-radius: var(--radius-sm);
        }
        a {
            color: inherit;
            text-decoration: none;
            transition: color var(--transition);
        }
        button,
        input,
        select,
        textarea {
            font-family: inherit;
            font-size: inherit;
            border: none;
            outline: none;
            background: none;
        }
        ul,
        ol {
            list-style: none;
        }
        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            line-height: 1.3;
            font-weight: 600;
            color: var(--text-primary);
        }
        h1 {
            font-size: clamp(2rem, 5vw, 3.2rem);
        }
        h2 {
            font-size: clamp(1.5rem, 3.5vw, 2.2rem);
        }
        h3 {
            font-size: clamp(1.1rem, 2vw, 1.4rem);
        }
        h4 {
            font-size: 1.05rem;
        }
        p {
            color: var(--text-secondary);
            margin-bottom: 0.8rem;
        }
        p:last-child {
            margin-bottom: 0;
        }
        .container {
            max-width: var(--container-w);
            margin: 0 auto;
            padding: 0 24px;
        }
        .section {
            padding: var(--space-section) 0;
        }
        .section-header {
            text-align: center;
            margin-bottom: 56px;
        }
        .section-header h2 {
            margin-bottom: 16px;
            position: relative;
            display: inline-block;
        }
        .section-header h2::after {
            content: '';
            display: block;
            width: 60px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            border-radius: 4px;
            margin: 12px auto 0;
        }
        .section-header p {
            max-width: 640px;
            margin: 0 auto;
            font-size: 1.1rem;
            color: var(--text-secondary);
        }

        /* ===== 按钮系统 ===== */
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 28px;
            font-weight: 600;
            font-size: 0.95rem;
            border-radius: var(--radius-full);
            cursor: pointer;
            transition: all var(--transition);
            border: 2px solid transparent;
            background: transparent;
            text-align: center;
            justify-content: center;
            white-space: nowrap;
        }
        .btn-primary {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
            box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
        }
        .btn-primary:hover {
            background: var(--primary-dark);
            border-color: var(--primary-dark);
            box-shadow: 0 6px 24px rgba(99, 102, 241, 0.45);
            transform: translateY(-2px);
        }
        .btn-primary:active {
            transform: translateY(0);
            box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
        }
        .btn-secondary {
            background: var(--secondary);
            color: #fff;
            border-color: var(--secondary);
            box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
        }
        .btn-secondary:hover {
            background: var(--secondary-dark);
            border-color: var(--secondary-dark);
            box-shadow: 0 6px 24px rgba(245, 158, 11, 0.45);
            transform: translateY(-2px);
        }
        .btn-outline {
            background: transparent;
            color: var(--primary);
            border-color: var(--primary);
        }
        .btn-outline:hover {
            background: var(--primary);
            color: #fff;
            transform: translateY(-2px);
        }
        .btn-white {
            background: #fff;
            color: var(--primary);
            border-color: #fff;
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
        }
        .btn-white:hover {
            background: var(--primary-bg);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
        }
        .btn-lg {
            padding: 16px 36px;
            font-size: 1.05rem;
        }
        .btn-sm {
            padding: 8px 18px;
            font-size: 0.85rem;
        }
        .btn i {
            font-size: 0.9em;
        }

        /* ===== 导航 ===== */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            height: var(--header-h);
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border);
            transition: box-shadow var(--transition);
        }
        .header.scrolled {
            box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
        }
        .header .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 100%;
        }
        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--text-primary);
            flex-shrink: 0;
        }
        .logo i {
            font-size: 1.5rem;
            color: var(--primary);
        }
        .logo span {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .nav {
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .nav a {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 8px 18px;
            font-weight: 500;
            font-size: 0.92rem;
            color: var(--text-secondary);
            border-radius: var(--radius-full);
            transition: all var(--transition);
            position: relative;
        }
        .nav a i {
            font-size: 0.9rem;
        }
        .nav a:hover {
            color: var(--primary);
            background: var(--primary-bg);
        }
        .nav a.active {
            color: #fff;
            background: var(--primary);
            box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
        }
        .nav a.active:hover {
            background: var(--primary-dark);
        }
        .nav-cta {
            background: var(--secondary) !important;
            color: #fff !important;
            box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
            margin-left: 6px;
        }
        .nav-cta:hover {
            background: var(--secondary-dark) !important;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4) !important;
        }
        .nav-toggle {
            display: none;
            flex-direction: column;
            gap: 5px;
            padding: 8px 12px;
            cursor: pointer;
            background: none;
            border: none;
            border-radius: var(--radius-xs);
            transition: background var(--transition);
        }
        .nav-toggle:hover {
            background: var(--primary-bg);
        }
        .nav-toggle span {
            display: block;
            width: 24px;
            height: 2.5px;
            background: var(--text-primary);
            border-radius: 4px;
            transition: all var(--transition);
        }
        .nav-toggle.open span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }
        .nav-toggle.open span:nth-child(2) {
            opacity: 0;
        }
        .nav-toggle.open span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }

        /* ===== 横幅 Banner ===== */
        .page-banner {
            position: relative;
            padding: 80px 0 60px;
            background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-alt) 100%);
            overflow: hidden;
            min-height: 320px;
            display: flex;
            align-items: center;
        }
        .page-banner::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
            opacity: 0.15;
            pointer-events: none;
        }
        .page-banner::after {
            content: '';
            position: absolute;
            top: -40%;
            right: -20%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent 70%);
            pointer-events: none;
        }
        .page-banner .container {
            position: relative;
            z-index: 2;
            text-align: center;
        }
        .page-banner .breadcrumb {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            font-size: 0.9rem;
            color: var(--text-muted);
            margin-bottom: 20px;
        }
        .page-banner .breadcrumb a {
            color: var(--primary-light);
        }
        .page-banner .breadcrumb a:hover {
            color: #fff;
        }
        .page-banner .breadcrumb i {
            font-size: 0.7rem;
        }
        .page-banner h1 {
            color: #fff;
            font-weight: 700;
            margin-bottom: 16px;
            text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
        }
        .page-banner p {
            color: rgba(255, 255, 255, 0.75);
            font-size: 1.15rem;
            max-width: 640px;
            margin: 0 auto;
        }
        .page-banner .banner-stats {
            display: flex;
            justify-content: center;
            gap: 40px;
            margin-top: 32px;
            flex-wrap: wrap;
        }
        .page-banner .banner-stat-item {
            text-align: center;
            color: #fff;
        }
        .page-banner .banner-stat-item .num {
            font-size: 2rem;
            font-weight: 700;
            background: linear-gradient(135deg, var(--primary-light), #fff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .page-banner .banner-stat-item .label {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.6);
            margin-top: 4px;
        }

        /* ===== 分类标签导航 ===== */
        .tag-nav {
            background: #fff;
            border-bottom: 1px solid var(--border);
            padding: 16px 0;
            position: sticky;
            top: var(--header-h);
            z-index: 100;
            box-shadow: var(--shadow-sm);
        }
        .tag-nav .container {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
        }
        .tag-nav .tag-item {
            padding: 8px 20px;
            border-radius: var(--radius-full);
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text-secondary);
            background: var(--bg-body);
            border: 1px solid var(--border);
            transition: all var(--transition);
            cursor: pointer;
        }
        .tag-nav .tag-item:hover {
            color: var(--primary);
            border-color: var(--primary-light);
            background: var(--primary-bg);
        }
        .tag-nav .tag-item.active {
            color: #fff;
            background: var(--primary);
            border-color: var(--primary);
            box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
        }

        /* ===== 游戏卡片网格 ===== */
        .game-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
        }
        .game-card {
            background: var(--bg-card);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border);
            transition: all var(--transition);
            display: flex;
            flex-direction: column;
        }
        .game-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-lg);
            border-color: var(--primary-light);
        }
        .game-card .card-img {
            position: relative;
            aspect-ratio: 16 / 9;
            overflow: hidden;
            background: var(--bg-body);
        }
        .game-card .card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        .game-card:hover .card-img img {
            transform: scale(1.06);
        }
        .game-card .card-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            padding: 4px 14px;
            font-size: 0.75rem;
            font-weight: 600;
            border-radius: var(--radius-full);
            background: rgba(239, 68, 68, 0.9);
            color: #fff;
            backdrop-filter: blur(4px);
            letter-spacing: 0.3px;
        }
        .game-card .card-badge.hot {
            background: rgba(245, 158, 11, 0.9);
        }
        .game-card .card-badge.new {
            background: rgba(16, 185, 129, 0.9);
        }
        .game-card .card-badge.popular {
            background: rgba(99, 102, 241, 0.9);
        }
        .game-card .card-body {
            padding: 20px 22px 22px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .game-card .card-body h3 {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 8px;
        }
        .game-card .card-body h3 a {
            color: var(--text-primary);
        }
        .game-card .card-body h3 a:hover {
            color: var(--primary);
        }
        .game-card .card-body p {
            font-size: 0.9rem;
            color: var(--text-secondary);
            line-height: 1.6;
            flex: 1;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .game-card .card-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 16px;
            padding-top: 14px;
            border-top: 1px solid var(--border-light);
        }
        .game-card .card-meta .tags {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
        }
        .game-card .card-meta .tags span {
            padding: 3px 10px;
            font-size: 0.75rem;
            border-radius: var(--radius-full);
            background: var(--primary-bg);
            color: var(--primary);
            font-weight: 500;
        }
        .game-card .card-meta .rating {
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--secondary);
        }
        .game-card .card-meta .rating i {
            color: var(--secondary);
        }

        /* ===== 特色板块 ===== */
        .feature-section {
            background: var(--bg-card);
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }
        .feature-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
        }
        .feature-item {
            text-align: center;
            padding: 32px 20px;
            border-radius: var(--radius);
            background: var(--bg-body);
            transition: all var(--transition);
            border: 1px solid transparent;
        }
        .feature-item:hover {
            background: var(--primary-bg);
            border-color: var(--primary-light);
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
        }
        .feature-item .icon {
            width: 64px;
            height: 64px;
            margin: 0 auto 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: var(--radius);
            font-size: 1.6rem;
            color: #fff;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            box-shadow: 0 8px 24px rgba(99, 102, 241, 0.25);
        }
        .feature-item h4 {
            font-weight: 700;
            margin-bottom: 8px;
        }
        .feature-item p {
            font-size: 0.9rem;
            color: var(--text-secondary);
            line-height: 1.6;
        }

        /* ===== 排行榜 ===== */
        .rank-section {
            background: var(--bg-dark);
            color: #fff;
        }
        .rank-section .section-header h2 {
            color: #fff;
        }
        .rank-section .section-header h2::after {
            background: linear-gradient(90deg, var(--secondary), var(--accent));
        }
        .rank-section .section-header p {
            color: rgba(255, 255, 255, 0.6);
        }
        .rank-list {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }
        .rank-item {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 16px 20px;
            border-radius: var(--radius-sm);
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.08);
            transition: all var(--transition);
        }
        .rank-item:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateX(6px);
        }
        .rank-item .rank-num {
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            font-weight: 700;
            font-size: 1rem;
            background: rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.7);
            flex-shrink: 0;
        }
        .rank-item:nth-child(1) .rank-num,
        .rank-item:nth-child(2) .rank-num,
        .rank-item:nth-child(3) .rank-num {
            background: var(--secondary);
            color: #fff;
            box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
        }
        .rank-item .rank-info {
            flex: 1;
        }
        .rank-item .rank-info h4 {
            font-size: 0.95rem;
            font-weight: 600;
            color: #fff;
            margin-bottom: 2px;
        }
        .rank-item .rank-info p {
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.5);
            margin: 0;
        }
        .rank-item .rank-score {
            font-size: 0.95rem;
            font-weight: 700;
            color: var(--secondary);
            flex-shrink: 0;
        }

        /* ===== FAQ ===== */
        .faq-grid {
            max-width: 820px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .faq-item {
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            overflow: hidden;
            transition: all var(--transition);
            background: var(--bg-card);
        }
        .faq-item:hover {
            border-color: var(--primary-light);
        }
        .faq-item .faq-q {
            padding: 18px 24px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            user-select: none;
            transition: background var(--transition);
            color: var(--text-primary);
        }
        .faq-item .faq-q:hover {
            background: var(--primary-bg);
        }
        .faq-item .faq-q i {
            font-size: 0.85rem;
            color: var(--text-muted);
            transition: transform var(--transition);
            flex-shrink: 0;
        }
        .faq-item.open .faq-q i {
            transform: rotate(180deg);
            color: var(--primary);
        }
        .faq-item .faq-a {
            padding: 0 24px 18px;
            font-size: 0.95rem;
            color: var(--text-secondary);
            line-height: 1.7;
            display: none;
        }
        .faq-item.open .faq-a {
            display: block;
        }

        /* ===== CTA ===== */
        .cta-section {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            padding: 80px 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-3.png') center center / cover no-repeat;
            opacity: 0.08;
            pointer-events: none;
        }
        .cta-section .container {
            position: relative;
            z-index: 2;
        }
        .cta-section h2 {
            color: #fff;
            margin-bottom: 16px;
        }
        .cta-section p {
            color: rgba(255, 255, 255, 0.8);
            font-size: 1.1rem;
            max-width: 560px;
            margin: 0 auto 32px;
        }
        .cta-section .btn-white {
            font-size: 1.05rem;
            padding: 16px 40px;
        }

        /* ===== 页脚 ===== */
        .footer {
            background: var(--bg-dark);
            color: var(--text-inverse);
            padding: 60px 0 0;
        }
        .footer .container {
            display: grid;
            grid-template-columns: 1.6fr 1fr 1fr 1fr;
            gap: 40px;
        }
        .footer .footer-brand .logo {
            font-size: 1.2rem;
            margin-bottom: 16px;
        }
        .footer .footer-brand .logo i {
            color: var(--primary-light);
        }
        .footer .footer-brand .logo span {
            background: linear-gradient(135deg, #fff, var(--primary-light));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .footer .footer-brand p {
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.5);
            line-height: 1.7;
            max-width: 320px;
        }
        .footer h4 {
            font-size: 0.95rem;
            font-weight: 600;
            color: #fff;
            margin-bottom: 18px;
            position: relative;
            padding-bottom: 10px;
        }
        .footer h4::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 32px;
            height: 3px;
            background: var(--primary);
            border-radius: 4px;
        }
        .footer ul li {
            margin-bottom: 10px;
        }
        .footer ul li a {
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.5);
            transition: all var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        .footer ul li a:hover {
            color: #fff;
            transform: translateX(4px);
        }
        .footer .footer-bottom {
            grid-column: 1 / -1;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            padding: 20px 0;
            margin-top: 20px;
            text-align: center;
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.35);
        }

        /* ===== 响应式 ===== */
        @media (max-width: 1024px) {
            .game-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .feature-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .rank-list {
                grid-template-columns: 1fr;
            }
            .footer .container {
                grid-template-columns: 1fr 1fr;
            }
        }
        @media (max-width: 768px) {
            :root {
                --space-section: 60px;
                --header-h: 64px;
            }
            .nav-toggle {
                display: flex;
            }
            .nav {
                position: fixed;
                top: var(--header-h);
                left: 0;
                right: 0;
                background: rgba(255, 255, 255, 0.98);
                backdrop-filter: blur(20px);
                flex-direction: column;
                padding: 16px 24px 24px;
                gap: 8px;
                border-bottom: 1px solid var(--border);
                box-shadow: var(--shadow-lg);
                transform: translateY(-120%);
                opacity: 0;
                pointer-events: none;
                transition: all 0.35s ease;
            }
            .nav.open {
                transform: translateY(0);
                opacity: 1;
                pointer-events: auto;
            }
            .nav a {
                width: 100%;
                justify-content: center;
                padding: 12px 18px;
                font-size: 1rem;
            }
            .nav-cta {
                margin-left: 0;
                margin-top: 4px;
            }
            .page-banner {
                padding: 60px 0 40px;
                min-height: 240px;
            }
            .page-banner .banner-stats {
                gap: 20px;
            }
            .page-banner .banner-stat-item .num {
                font-size: 1.5rem;
            }
            .game-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            .feature-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }
            .footer .container {
                grid-template-columns: 1fr;
                gap: 32px;
                text-align: center;
            }
            .footer .footer-brand p {
                max-width: 100%;
            }
            .footer h4::after {
                left: 50%;
                transform: translateX(-50%);
            }
        }
        @media (max-width: 520px) {
            .container {
                padding: 0 16px;
            }
            .page-banner h1 {
                font-size: 1.6rem;
            }
            .page-banner p {
                font-size: 0.95rem;
            }
            .tag-nav .tag-item {
                padding: 6px 14px;
                font-size: 0.8rem;
            }
            .game-card .card-body {
                padding: 16px 18px 18px;
            }
            .btn-lg {
                padding: 14px 28px;
                font-size: 0.95rem;
            }
            .section-header {
                margin-bottom: 36px;
            }
            .rank-item {
                padding: 12px 16px;
            }
        }

        /* ===== 辅助 ===== */
        .text-center {
            text-align: center;
        }
        .mt-16 {
            margin-top: 16px;
        }
        .mt-24 {
            margin-top: 24px;
        }
        .mt-32 {
            margin-top: 32px;
        }
        .mb-16 {
            margin-bottom: 16px;
        }
        .gap-12 {
            gap: 12px;
        }
        .flex-center {
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            border: 0;
        }
