/* roulang page: index */
:root {
  --brand: #4f46e5;
  --brand-dark: #3730a3;
  --brand-light: #eef2ff;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --dark: #0b1222;
  --surface: #ffffff;
  --bg: #f6f8fd;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 12px 32px rgba(23, 32, 90, 0.08);
  --shadow-lg: 0 24px 56px rgba(23, 32, 90, 0.14);
  --transition: all 0.3s ease;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; display: block; }
button, input, textarea { font-family: inherit; border: none; outline: none; }
ul, ol { list-style: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 999px; font-size: 15px; font-weight: 600;
  transition: var(--transition); cursor: pointer; border: 2px solid transparent; white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(79,70,229,.25); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 14px 28px rgba(79,70,229,.32); }
.btn-primary:active { transform: translateY(0); }
.btn-outline { border-color: #fff; color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-outline-dark { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline-dark:hover { background: var(--brand-light); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(245,158,11,.25); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-lg { padding: 16px 40px; font-size: 16px; }
.btn-sm { padding: 8px 18px; font-size: 13px; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px;
  border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.5;
}
.badge-brand { background: var(--brand); color: #fff; }
.badge-light { background: rgba(255,255,255,.18); color: #fff; }
.badge-accent { background: #fef3c7; color: #b45309; }
.badge-gray { background: #f3f4f6; color: #4b5563; }

.section { padding: 80px 0; }
.section-alt { background: var(--surface); }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-tag { color: var(--brand); font-weight: 700; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; display: block; }
.section-title { font-size: 34px; font-weight: 800; line-height: 1.25; color: #111827; letter-spacing: -.5px; }
.section-desc { color: var(--muted); font-size: 16px; margin-top: 14px; }

.topbar { background: var(--dark); color: rgba(255,255,255,.7); font-size: 13px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.topbar-brand { font-weight: 600; color: #fff; }
.topbar-brand i { color: var(--accent); margin-right: 6px; }
.topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-item i { color: #a5b4fc; }
.topbar-badge { background: rgba(255,255,255,.1); padding: 2px 12px; border-radius: 999px; color: #c7d2fe; font-weight: 500; }

.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 16px rgba(0,0,0,.05); }
.header-inner { display: flex; align-items: center; gap: 36px; height: 74px; }
.brand-logo { font-size: 26px; font-weight: 800; color: var(--brand); letter-spacing: .5px; line-height: 1; flex-shrink: 0; }
.brand-logo small { display: block; font-size: 10px; font-weight: 500; color: var(--muted); letter-spacing: 2px; margin-top: 2px; }
.main-nav { display: flex; gap: 30px; flex: 1; }
.nav-link { font-size: 15px; font-weight: 500; color: #374151; padding: 8px 2px; border-bottom: 2px solid transparent; position: relative; }
.nav-link:hover { color: var(--brand); }
.nav-link.active { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }
.nav-cta { flex-shrink: 0; }
.nav-toggle { display: none; background: none; font-size: 24px; color: var(--text); cursor: pointer; flex-shrink: 0; padding: 4px; }

.hero {
  position: relative; min-height: 580px; display: flex; align-items: center; overflow: hidden;
  background: linear-gradient(135deg, #0b1222 0%, #1e1b4b 60%, #312e81 100%);
}
.hero::before {
  content: ''; position: absolute; inset: 0; opacity: .25; background-size: cover; background-position: center;
  background-image: url('/assets/images/backpic/back-1.png');
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(11,18,34,.92) 25%, rgba(11,18,34,.55) 70%, rgba(49,46,129,.35) 100%);
}
.hero-content { position: relative; z-index: 2; width: 100%; padding: 90px 0; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #e0e7ff; padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 500; backdrop-filter: blur(4px); margin-bottom: 24px; }
.hero-title { font-size: 52px; font-weight: 800; color: #fff; line-height: 1.18; letter-spacing: -1px; }
.hero-title span { color: var(--accent); }
.hero-desc { color: rgba(255,255,255,.78); font-size: 18px; max-width: 580px; margin: 20px 0 30px; line-height: 1.7; }
.hero-search { display: flex; max-width: 560px; background: #fff; border-radius: 999px; padding: 6px; box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.hero-search i { display: flex; align-items: center; padding: 0 14px 0 18px; color: #9ca3af; font-size: 16px; }
.hero-search input { flex: 1; border: none; font-size: 15px; padding: 10px 0; background: transparent; color: var(--text); }
.hero-search input::placeholder { color: #9ca3af; }
.hero-search button { background: var(--brand); color: #fff; border-radius: 999px; padding: 12px 28px; font-weight: 600; font-size: 14px; cursor: pointer; transition: var(--transition); white-space: nowrap; }
.hero-search button:hover { background: var(--brand-dark); }
.hero-actions { display: flex; gap: 16px; margin-top: 28px; }

.stats-section { position: relative; z-index: 3; margin-top: -56px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stats-card { background: #fff; border-radius: var(--radius); padding: 28px 24px; text-align: center; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.6); }
.stats-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 20px; }
.stats-icon.blue { background: var(--brand-light); color: var(--brand); }
.stats-icon.amber { background: #fef3c7; color: var(--accent); }
.stats-icon.green { background: #d1fae5; color: #059669; }
.stats-icon.purple { background: #ede9fe; color: #7c3aed; }
.stats-num { font-size: 36px; font-weight: 800; color: #111827; line-height: 1.1; }
.stats-label { color: var(--muted); font-size: 14px; margin-top: 6px; }

.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.category-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  transition: var(--transition); box-shadow: 0 4px 16px rgba(0,0,0,.04); position: relative;
}
.category-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.category-card .cover-wrap { height: 200px; overflow: hidden; position: relative; }
.category-card .cover-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.category-card:hover .cover-wrap img { transform: scale(1.06); }
.category-card .cover-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(11,18,34,.55) 100%); }
.category-body { padding: 26px; position: relative; }
.category-icon { width: 50px; height: 50px; border-radius: 14px; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-top: -52px; margin-bottom: 16px; box-shadow: 0 8px 20px rgba(79,70,229,.3); position: relative; }
.category-body h3 { font-size: 20px; font-weight: 700; color: #111827; }
.category-body p { color: var(--muted); font-size: 14px; line-height: 1.7; margin-top: 10px; }
.category-link { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 600; font-size: 14px; margin-top: 16px; }
.category-link:hover { gap: 10px; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.feature-card { background: #fff; border-radius: var(--radius); padding: 34px 26px; border: 1px solid var(--border); transition: var(--transition); }
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.feature-icon { width: 58px; height: 58px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px; }
.feature-card h3 { font-size: 18px; font-weight: 700; color: #111827; }
.feature-card p { color: var(--muted); font-size: 14px; line-height: 1.7; margin-top: 10px; }

.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.post-card {
  background: #fff; border-radius: var(--radius); padding: 26px 28px; border: 1px solid var(--border);
  transition: var(--transition); display: flex; flex-direction: column; gap: 10px;
}
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--brand); }
.post-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.post-meta time { color: var(--muted); font-size: 13px; }
.post-title { font-size: 18px; font-weight: 700; color: #111827; line-height: 1.4; }
.post-title a:hover { color: var(--brand); }
.post-excerpt { color: var(--muted); font-size: 14px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-link { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 600; font-size: 13px; margin-top: 6px; }
.empty-tips { grid-column: 1 / -1; text-align: center; padding: 40px 20px; color: var(--muted); font-size: 15px; }
.news-more { text-align: center; margin-top: 40px; }

.game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.game-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); }
.game-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: transparent; }
.game-card .game-img { height: 200px; overflow: hidden; position: relative; }
.game-card .game-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.game-card:hover .game-img img { transform: scale(1.05); }
.game-img .rank { position: absolute; top: 14px; left: 14px; background: rgba(11,18,34,.7); backdrop-filter: blur(4px); color: #fff; border-radius: 8px; padding: 4px 10px; font-size: 12px; font-weight: 700; }
.game-body { padding: 22px; }
.game-body h3 { font-size: 17px; font-weight: 700; color: #111827; }
.game-body p { color: var(--muted); font-size: 13px; margin-top: 6px; line-height: 1.6; }
.game-tags { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }

.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: step; }
.process-step { text-align: center; padding: 40px 30px; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); position: relative; transition: var(--transition); }
.process-step:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.process-num { width: 56px; height: 56px; border-radius: 50%; background: var(--brand-light); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; margin: 0 auto 20px; border: 3px solid #fff; box-shadow: 0 0 0 3px var(--brand-light); }
.process-step h3 { font-size: 18px; font-weight: 700; color: #111827; }
.process-step p { color: var(--muted); font-size: 14px; margin-top: 10px; line-height: 1.7; }

.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 14px; overflow: hidden; transition: var(--transition); }
.faq-item:hover { border-color: var(--brand); box-shadow: 0 4px 16px rgba(0,0,0,.05); }
.faq-q { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; cursor: pointer; font-weight: 600; color: #111827; font-size: 16px; background: #fff; }
.faq-q i { color: var(--brand); transition: transform .3s; }
.faq-item.active .faq-q i { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 24px 22px; color: var(--muted); font-size: 14px; line-height: 1.75; }

.cta-section { background: linear-gradient(135deg, #4f46e5 0%, #3730a3 50%, #1e1b4b 100%); position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; opacity: .12; background-image: url('/assets/images/backpic/back-2.png'); background-size: cover; background-position: center; }
.cta-content { position: relative; z-index: 2; text-align: center; padding: 90px 0; }
.cta-title { font-size: 38px; font-weight: 800; color: #fff; }
.cta-desc { color: rgba(255,255,255,.8); font-size: 17px; margin: 16px auto 32px; max-width: 620px; line-height: 1.7; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.footer { background: var(--dark); color: rgba(255,255,255,.6); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-brand { font-size: 24px; font-weight: 800; color: #fff; }
.footer-brand span { color: var(--accent); }
.footer-desc { font-size: 14px; line-height: 1.7; margin-top: 14px; max-width: 300px; }
.footer h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 18px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,.6); }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,.4); }

@media (max-width: 1024px) {
  .hero-title { font-size: 42px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 74px; left: 0; right: 0; background: #fff;
    flex-direction: column; padding: 20px 24px; gap: 16px; box-shadow: 0 16px 32px rgba(0,0,0,.1);
  }
  .main-nav.open { display: flex; }
  .nav-link { border-bottom: none; padding: 10px 0; }
  .nav-link.active { border-bottom: none; background: var(--brand-light); border-radius: 8px; padding: 10px 14px; }
  .hero { min-height: 500px; }
  .hero-title { font-size: 32px; }
  .hero-desc { font-size: 15px; }
  .hero-search { flex-direction: column; border-radius: 20px; padding: 12px; gap: 8px; }
  .hero-search i { display: none; }
  .hero-search button { border-radius: 12px; }
  .category-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .game-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 24px; }
  .stats-grid { gap: 16px; }
  .stats-num { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-title { font-size: 30px; }
  .section-title { font-size: 28px; }
}
@media (max-width: 520px) {
  .topbar-right .topbar-item { display: none; }
  .header-inner { gap: 16px; }
  .brand-logo { font-size: 22px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* roulang page: category1 */
:root {
  --primary: #6c5ce7;
  --primary-dark: #5a4bd1;
  --primary-light: #a29bfe;
  --accent: #fd79a8;
  --accent-dark: #e84393;
  --dark: #0f0e1a;
  --dark-soft: #17162a;
  --card-bg: #1e1d35;
  --bg: #0b0a14;
  --text: #f0eef9;
  --text-weak: #a5a0c9;
  --border: rgba(255,255,255,0.08);
  --radius-lg: 20px;
  --raidus-md: 14px;
  --radius-sm: 8px;
  --shadow: 0 20px 50px rgba(0,0,0,0.35);
  --shadow-sm: 0 6px 20px rgba(0,0,0,0.25);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color .2s ease; }
ul { list-style: none; }
button { font-family: inherit; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,10,20,0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 16px;
}
.brand-logo {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.brand-logo small {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-weak);
  transition: all .25s ease;
}
.nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
}
.nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  box-shadow: 0 4px 20px rgba(108,92,231,0.35);
}
.nav-cta {
  flex-shrink: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  border-radius: 12px;
  transition: all .3s ease;
  letter-spacing: 0.3px;
}
.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}
.btn-md {
  padding: 14px 28px;
  font-size: 15px;
}
.btn-lg {
  padding: 16px 38px;
  font-size: 16px;
  border-radius: 14px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  color: #fff;
  box-shadow: 0 6px 24px rgba(108,92,231,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(108,92,231,0.45);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 16px rgba(108,92,231,0.3);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  border-color: var(--primary-light);
  color: var(--primary-light);
  background: rgba(108,92,231,0.08);
}
.btn-accent {
  background: linear-gradient(135deg, var(--accent), #d63031);
  color: #fff;
  box-shadow: 0 6px 24px rgba(253,121,168,0.3);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(253,121,168,0.45);
}
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.nav-toggle:hover {
  background: rgba(255,255,255,0.08);
}

/* ===== Page Hero ===== */
.page-hero {
  position: relative;
  padding: 100px 0 90px;
  background: linear-gradient(135deg, rgba(15,14,26,0.95), rgba(30,24,60,0.88)), url('/assets/images/backpic/back-1.png') center/cover no-repeat;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--bg), transparent);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero-content h6 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108,92,231,0.15);
  border: 1px solid rgba(108,92,231,0.3);
  color: var(--primary-light);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.hero-content h1 {
  font-size: 48px;
  line-height: 1.25;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.hero-content h1 span {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-content p {
  font-size: 16px;
  color: var(--text-weak);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.8;
}
.hero-meta {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.hero-meta .num {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.hero-meta .label {
  font-size: 13px;
  color: var(--text-weak);
}
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}
.hero-visual img {
  border-radius: 24px;
  box-shadow: var(--shadow);
  transform: perspective(1400px) rotateY(-8deg) rotateX(4deg);
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.hero-visual img:hover {
  transform: perspective(1400px) rotateY(0deg) rotateX(0deg);
}
.float-card {
  position: absolute;
  background: rgba(20,18,40,0.92);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatY 4s ease-in-out infinite;
}
.float-card.top {
  top: 30px;
  right: -10px;
}
.float-card.bottom {
  bottom: 50px;
  left: -20px;
  animation-delay: 2s;
}
.float-card .fc-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
}
.float-card .fc-text {
  font-size: 13px;
  color: var(--text-weak);
}
.float-card .fc-text strong {
  font-size: 16px;
  color: #fff;
  display: block;
  font-weight: 700;
}
@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== Section ===== */
.section {
  padding: 90px 0;
}
.section-light {
  background: linear-gradient(180deg, rgba(108,92,231,0.04), transparent);
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 55px;
}
.section-header .tag {
  display: inline-block;
  background: rgba(108,92,231,0.12);
  color: var(--primary-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 14px;
}
.section-header p {
  font-size: 15px;
  color: var(--text-weak);
  line-height: 1.8;
}

/* ===== Filter Tabs ===== */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}
.filter-tab {
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-weak);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .3s;
}
.filter-tab:hover {
  color: #fff;
  border-color: rgba(108,92,231,0.4);
  background: rgba(108,92,231,0.12);
}
.filter-tab.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(108,92,231,0.3);
}

/* ===== Game Cards ===== */
.game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.game-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  display: flex;
  flex-direction: column;
}
.game-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(108,92,231,0.35);
}
.game-card .card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.game-card .card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.game-card:hover .card-thumb img {
  transform: scale(1.06);
}
.card-thumb .badge-top {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, var(--accent), #d63031);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 16px rgba(253,121,168,0.4);
}
.card-thumb .rating-circle {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(10,8,20,0.75);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #ffd32a;
}
.game-card .card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.game-card .card-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  transition: color .2s;
}
.game-card:hover .card-body h3 {
  color: var(--primary-light);
}
.game-card .card-body p {
  font-size: 13px;
  color: var(--text-weak);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.card-tag {
  font-size: 11px;
  color: var(--primary-light);
  background: rgba(108,92,231,0.1);
  border: 1px solid rgba(108,92,231,0.2);
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 500;
}
.card-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.card-footer-row .players {
  font-size: 12px;
  color: var(--text-weak);
}
.card-footer-row .players i {
  color: var(--primary-light);
  margin-right: 4px;
}
.card-footer-row .btn-download {
  font-size: 12px;
  color: #fff;
  background: rgba(108,92,231,0.18);
  border: 1px solid rgba(108,92,231,0.35);
  padding: 6px 14px;
  border-radius: 8px;
  transition: all .3s;
  cursor: pointer;
}
.card-footer-row .btn-download:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* ===== Stats ===== */
.stats-section {
  position: relative;
  background: linear-gradient(135deg, #17162a, #0f0e1a);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.stat-item {
  text-align: center;
  padding: 30px 20px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  transition: transform .3s, background .3s;
}
.stat-item:hover {
  transform: translateY(-4px);
  background: rgba(108,92,231,0.06);
}
.stat-item .stat-icon {
  font-size: 26px;
  color: var(--primary-light);
  margin-bottom: 12px;
}
.stat-item .stat-num {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 6px;
}
.stat-item .stat-label {
  font-size: 13px;
  color: var(--text-weak);
}

/* ===== Ranking List ===== */
.ranking-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.ranking-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 30px;
  transition: box-shadow .3s;
}
.ranking-card:hover {
  box-shadow: var(--shadow-sm);
}
.ranking-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.ranking-card .sub-title {
  font-size: 13px;
  color: var(--text-weak);
  margin-bottom: 24px;
}
.rank-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: background .2s;
}
.rank-item:last-child {
  border-bottom: none;
}
.rank-item:hover {
  background: rgba(108,92,231,0.04);
}
.rank-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  background: rgba(255,255,255,0.05);
  color: var(--text-weak);
  flex-shrink: 0;
}
.rank-item:first-child .rank-num,
.rank-item:nth-child(2) .rank-num,
.rank-item:nth-child(3) .rank-num {
  background: linear-gradient(135deg, #ffd700, #ffb142);
  color: #1a1200;
}
.rank-info {
  flex: 1;
  min-width: 0;
}
.rank-info .rank-name {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rank-info .rank-genre {
  font-size: 12px;
  color: var(--text-weak);
}
.rank-score {
  font-size: 18px;
  font-weight: 800;
  color: #ffd32a;
  text-align: right;
  min-width: 48px;
}
.rank-trend {
  font-size: 12px;
  color: #2ed573;
  text-align: right;
  min-width: 40px;
  margin-top: 2px;
}

/* ===== Compare ===== */
.compare-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}
.compare-avatar {
  width: 90px;
  height: 90px;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
}
.compare-content {
  flex: 1;
  min-width: 260px;
}
.compare-content h4 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 6px;
}
.compare-content .genre-line {
  font-size: 13px;
  color: var(--text-weak);
  margin-bottom: 12px;
}
.compare-bars {
  margin-top: 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px 14px;
  font-size: 13px;
}
.compare-bars .bar-name {
  color: var(--text-weak);
  min-width: 40px;
}
.compare-bars .bar-track {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 99px;
  overflow: hidden;
}
.compare-bars .bar-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}
.compare-bars .bar-val {
  color: #fff;
  font-weight: 600;
  min-width: 32px;
  text-align: right;
}
.compare-bars .bar-fill.fill-accent {
  background: linear-gradient(90deg, var(--accent), #ffb8d0);
}

/* ===== Testimonials ===== */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px;
  transition: transform .3s, box-shadow .3s;
}
.testi-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-sm);
}
.testi-stars {
  color: #ffd32a;
  font-size: 14px;
  margin-bottom: 16px;
  letter-spacing: 3px;
}
.testi-card blockquote {
  font-size: 14px;
  color: #cfc8ef;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-author .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.testi-author .author-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.testi-author .author-meta {
  font-size: 12px;
  color: var(--text-weak);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.faq-item:hover {
  border-color: rgba(108,92,231,0.3);
}
.faq-item summary {
  padding: 22px 28px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 16px;
  color: var(--primary-light);
  transition: transform .3s;
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  transform: rotate(180deg);
}
.faq-item .faq-body {
  padding: 0 28px 24px;
  font-size: 14px;
  color: var(--text-weak);
  line-height: 1.85;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

/* ===== CTA ===== */
.cta-section {
  position: relative;
  padding: 90px 0;
  background: linear-gradient(135deg, rgba(108,92,231,0.12), rgba(253,121,168,0.08));
  border-top: 1px solid var(--border);
}
.cta-box {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  background: rgba(20,18,40,0.8);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 60px 40px;
  box-shadow: var(--shadow);
}
.cta-box h2 {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.cta-box h2 span {
  color: var(--primary-light);
}
.cta-box p {
  font-size: 15px;
  color: var(--text-weak);
  max-width: 560px;
  margin: 0 auto 30px;
  line-height: 1.8;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
  background: linear-gradient(180deg, var(--dark-soft), var(--dark));
  border-top: 1px solid var(--border);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--border);
}
.footer-brand {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: 1px;
}
.footer-brand span {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-desc {
  font-size: 14px;
  color: var(--text-weak);
  line-height: 1.8;
  max-width: 340px;
}
.footer h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  font-size: 14px;
  color: var(--text-weak);
  transition: color .2s, padding-left .2s;
}
.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 6px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 32px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--text-weak);
}
.footer-bottom .social-links {
  display: flex;
  gap: 12px;
}
.footer-bottom .social-links a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-weak);
  font-size: 15px;
  transition: all .3s;
}
.footer-bottom .social-links a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .game-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-content h1 {
    font-size: 40px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hero-visual {
    min-height: 360px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .site-header {
    position: relative;
  }
  .header-inner {
    height: auto;
    padding: 14px 24px;
    flex-wrap: wrap;
  }
  .nav-toggle {
    display: flex;
  }
  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0 6px;
    gap: 4px;
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav .nav-link {
    width: 100%;
    border-radius: 10px;
  }
  .nav-cta {
    margin-left: auto;
  }
  .page-hero {
    padding: 70px 0 60px;
  }
  .hero-content h1 {
    font-size: 32px;
  }
  .hero-visual {
    min-height: 300px;
  }
  .float-card.top {
    right: 0;
  }
  .float-card.bottom {
    left: 0;
  }
  .section {
    padding: 60px 0;
  }
  .section-header h2 {
    font-size: 28px;
  }
  .game-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ranking-wrapper {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .testi-grid {
    grid-template-columns: 1fr;
  }
  .compare-card {
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
  }
  .compare-bars {
    grid-template-columns: auto 1fr auto;
    width: 100%;
  }
  .cta-box {
    padding: 40px 24px;
  }
  .cta-box h2 {
    font-size: 26px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 520px) {
  .game-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .header-inner {
    gap: 12px;
  }
  .brand-logo {
    font-size: 22px;
  }
  .brand-logo small {
    display: none;
  }
  .nav-cta {
    padding: 8px 14px;
    font-size: 12px;
  }
  .hero-content h1 {
    font-size: 27px;
  }
  .hero-content p {
    font-size: 14px;
  }
  .hero-meta {
    flex-wrap: wrap;
    gap: 18px;
  }
  .hero-visual {
    min-height: 240px;
  }
  .hero-visual img {
    border-radius: 18px;
  }
  .float-card {
    padding: 10px 14px;
  }
  .float-card.top {
    top: 10px;
  }
  .float-card.bottom {
    bottom: 10px;
  }
  .section-header h2 {
    font-size: 24px;
  }
  .filter-tab {
    padding: 8px 16px;
    font-size: 13px;
  }
  .rank-item {
    gap: 12px;
  }
  .rank-num {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  .compare-bars {
    grid-template-columns: 45px 1fr auto;
  }
  .cta-box {
    padding: 32px 18px;
    border-radius: 20px;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-buttons .btn {
    width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* roulang page: article */
:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #dbeafe;
    --accent: #f59e0b;
    --bg-body: #f6f8fc;
    --bg-white: #ffffff;
    --text-main: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 10px 30px rgba(2, 12, 27, 0.06);
    --shadow-lg: 0 20px 45px rgba(2, 12, 27, 0.12);
    --space-section: 90px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background: var(--bg-body);
    color: var(--text-body);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: all 0.25s ease; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.site-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(2, 12, 27, 0.03);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand-logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: 1px;
    display: flex;
    align-items: baseline;
    white-space: nowrap;
}
.brand-logo small {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1.5px;
    margin-left: 6px;
    text-transform: uppercase;
}
.main-nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    transition: all 0.25s ease;
}
.nav-link:hover { color: var(--primary); background: var(--primary-light); }
.nav-link.active { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25); }
.nav-toggle {
    display: none;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: all 0.28s ease;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 16px 35px rgba(37, 99, 235, 0.35); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-lg { padding: 15px 40px; font-size: 1.05rem; border-radius: 14px; }

.page-hero {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(30, 64, 175, 0.75)),
        url('/assets/images/backpic/back-1.png') center center / cover;
    padding: 72px 0 70px;
    color: #fff;
    text-align: center;
}
.breadcrumb { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; font-size: 0.9rem; color: rgba(255,255,255,0.75); margin-bottom: 20px; font-weight: 500; }
.breadcrumb a { color: rgba(255,255,255,0.9); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: 0.4; }
.breadcrumb .current { color: #fff; opacity: 0.95; }
.page-hero h1 {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.35;
    max-width: 900px;
    margin: 0 auto 18px;
    color: #fff;
    letter-spacing: 0.01em;
}
.hero-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; font-size: 0.92rem; color: rgba(255,255,255,0.88); }
.hero-meta i { color: var(--accent); margin-right: 6px; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; padding: 56px 24px 20px; max-width: 1280px; margin: 0 auto; }
.article-main { min-width: 0; }
.article-header { margin-bottom: 28px; }
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.article-header h1 { font-size: 1.95rem; line-height: 1.45; color: var(--text-main); font-weight: 800; margin: 12px 0 14px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--text-muted); font-size: 0.9rem; }
.article-meta i { margin-right: 5px; color: var(--primary); }
.article-cover {
    border-radius: var(--radius);
    overflow: hidden;
    margin: 30px 0 34px;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.article-cover img { width: 100%; height: auto; object-fit: cover; max-height: 480px; }
.article-content { background: #fff; padding: 42px 44px; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-content p { margin: 0 0 1.4em; font-size: 1.05rem; }
.article-content h2 { font-size: 1.5rem; color: var(--text-main); font-weight: 800; margin: 2em 0 0.8em; padding-bottom: 0.5em; border-bottom: 2px solid var(--primary-light); }
.article-content h3 { font-size: 1.25rem; color: var(--text-main); font-weight: 700; margin: 1.6em 0 0.6em; }
.article-content ul, .article-content ol { margin: 0 0 1.4em; padding-left: 1.6em; }
.article-content li { margin-bottom: 0.5em; }
.article-content blockquote {
    margin: 1.8em 0;
    padding: 18px 24px;
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-main);
    font-weight: 500;
}
.article-content img { border-radius: var(--radius-sm); margin: 1.6em 0; box-shadow: var(--shadow); }
.article-content a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 34px; }
.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-body);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 999px;
    transition: all 0.2s ease;
}
.tag:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.article-share { display: flex; align-items: center; gap: 12px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border); }
.share-label { font-weight: 700; color: var(--text-main); margin-right: 6px; }
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-white);
    color: var(--text-muted);
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.25s ease;
}
.share-btn:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow); }
.share-btn:focus-visible, .btn:focus-visible, .nav-link:focus-visible, .tag:focus-visible { outline: 3px solid rgba(59, 130, 246, 0.5); outline-offset: 2px; }

.article-aside { display: flex; flex-direction: column; gap: 24px; }
.side-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 24px; border: 1px solid rgba(226, 232, 240, 0.5); }
.side-card h3 { font-size: 1.05rem; color: var(--text-main); font-weight: 800; margin: 0 0 16px; display: flex; align-items: center; gap: 8px; }
.side-card h3 i { color: var(--primary); }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li { margin-bottom: 14px; }
.side-list li:last-child { margin-bottom: 0; }
.side-list a { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 12px; transition: all 0.22s ease; }
.side-list a:hover { background: var(--bg-body); transform: translateX(4px); }
.side-list .side-icon {
    width: 44px; height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--primary);
    background: var(--primary-light);
}
.side-list .side-title { font-weight: 700; font-size: 0.95rem; color: var(--text-main); }
.side-list .side-sub { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }
.side-card .side-cta { margin-top: 18px; width: 100%; }
.adv-card { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; border: none; }
.adv-card h3 { color: #fff; }
.adv-card p { color: rgba(255,255,255,0.85); font-size: 0.9rem; }
.adv-card .side-list a { color: rgba(255,255,255,0.92); }
.adv-card .side-list .side-icon { background: rgba(255,255,255,0.18); color: #fff; }
.adv-card .side-list a:hover { background: rgba(255,255,255,0.12); transform: translateX(4px); }

.faq-section { margin: 70px auto 0; max-width: 1280px; padding: 0 24px; }
.faq-section-title { text-align: center; margin-bottom: 42px; }
.faq-section-title h2 { font-size: 2rem; color: var(--text-main); font-weight: 800; margin-bottom: 12px; }
.faq-section-title p { color: var(--text-muted); font-size: 1.05rem; }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.faq-item {
    background: #fff;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    padding: 24px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(2,12,27,0.03);
}
.faq-item:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-3px); }
.faq-item h3 { font-size: 1.02rem; font-weight: 800; color: var(--text-main); margin: 0 0 10px; display: flex; gap: 8px; align-items: flex-start; }
.faq-item h3 i { color: var(--primary); margin-top: 4px; }
.faq-item p { font-size: 0.93rem; color: var(--text-muted); margin: 0; }

.cta-box {
    max-width: 1280px;
    margin: 70px auto;
    padding: 0 24px;
}
.cta-inner {
    background:
        linear-gradient(135deg, rgba(15,23,42,0.92), rgba(37,99,235,0.85)),
        url('/assets/images/backpic/back-2.png') center center / cover;
    border-radius: 26px;
    padding: 64px 50px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-inner::after { content: ""; position: absolute; top: -60px; right: -60px; width: 240px; height: 240px; background: rgba(255,255,255,0.06); border-radius: 50%; }
.cta-inner h2 { font-size: 2.2rem; font-weight: 800; margin: 0 0 16px; color: #fff; }
.cta-inner p { font-size: 1.1rem; color: rgba(255,255,255,0.85); max-width: 650px; margin: 0 auto 34px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.footer { background: #0b1220; color: #94a3b8; padding: 70px 0 0; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-brand { font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: 14px; }
.footer-brand span { color: var(--accent); }
.footer-desc { font-size: 0.92rem; line-height: 1.8; max-width: 340px; }
.footer h4 { font-size: 1rem; color: #fff; font-weight: 700; margin: 4px 0 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 0.92rem; color: #94a3b8; transition: all 0.22s ease; }
.footer-links a:hover { color: #fff; padding-left: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; text-align: center; color: #64748b; font-size: 0.88rem; }
.footer-bottom p { margin: 0; }

.progress-bar {
    position: fixed;
    top: 0; left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    width: 0%;
    z-index: 9999;
    transition: width 0.1s linear;
}

@media (max-width: 1024px) {
    .article-layout { grid-template-columns: 1fr; }
    .article-aside { grid-template-columns: repeat(2, 1fr); display: grid; gap: 24px; }
    .faq-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    :root { --space-section: 56px; }
    .header-inner { height: 66px; }
    .brand-logo { font-size: 1.4rem; }
    .nav-toggle { display: inline-flex; }
    .main-nav {
        position: absolute;
        top: 66px; left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 14px 20px 22px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 20px 30px rgba(2,12,27,0.1);
        display: none;
    }
    .main-nav.open { display: flex; }
    .nav-link { border-radius: 10px; text-align: center; padding: 14px; }
    .nav-cta { display: none; }
    .page-hero { padding: 52px 0; }
    .page-hero h1 { font-size: 1.75rem; }
    .article-content { padding: 28px 20px; border-radius: 14px; }
    .article-content p { font-size: 1rem; }
    .article-aside { grid-template-columns: 1fr; }
    .cta-inner { padding: 42px 20px; }
    .cta-inner h2 { font-size: 1.6rem; }
    .faq-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom p { padding: 0 20px; }
}
@media (max-width: 520px) {
    .container { padding: 0 16px; }
    .brand-logo { font-size: 1.25rem; }
    .page-hero h1 { font-size: 1.45rem; }
    .hero-meta { gap: 12px; }
    .article-cover { border-radius: 14px; }
    .article-tags { flex-direction: column; align-items: flex-start; }
    .article-share { flex-wrap: wrap; }
    .btn-lg { padding: 14px 28px; }
    .cta-btns { flex-direction: column; align-items: center; }
    .cta-btns .btn { width: 100%; max-width: 280px; }
    .badge { font-size: 0.78rem; }
}

/* roulang page: category2 */
:root {
  --primary: #2e4fe0;
  --primary-dark: #1d2f7a;
  --primary-light: #8eb6ff;
  --accent: #ff9f1c;
  --bg: #f7f9fc;
  --bg-light: #ffffff;
  --text: #1a2238;
  --text-weak: #6b7280;
  --border: #e5e9f2;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 20px rgba(30,45,90,0.08);
  --shadow-hover: 0 12px 32px rgba(30,45,90,0.14);
  --spacing-section: 5rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color .25s ease; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, textarea { font-family: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: var(--spacing-section) 0; }
.section-alt { background: #f0f3f9; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(229,233,242,0.7);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand-logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
  display: flex;
  align-items: baseline;
  line-height: 1;
  white-space: nowrap;
}
.brand-logo small {
  font-size: .65rem;
  font-weight: 700;
  color: var(--accent);
  margin-left: 6px;
  letter-spacing: 1px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  position: relative;
  padding: 8px 16px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-weak);
  border-radius: 999px;
  transition: all .25s ease;
}
.nav-link:hover {
  color: var(--primary);
  background: rgba(46,79,224,0.06);
}
.nav-link.active {
  color: var(--primary);
  font-weight: 600;
  background: rgba(46,79,224,0.1);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
}
.nav-toggle {
  display: none;
  font-size: 1.3rem;
  color: var(--text);
  padding: 6px 10px;
  border-radius: 8px;
}
.nav-toggle:hover { background: #f0f2f7; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: .95rem;
  font-weight: 600;
  border-radius: 999px;
  transition: all .3s ease;
  line-height: 1.4;
}
.btn-primary {
  background: linear-gradient(135deg, #3b6bf6 0%, #2e4fe0 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(46,79,224,0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(46,79,224,0.36);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  transform: translateY(-2px);
}
.btn-ghost {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow);
}
.btn-ghost:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.btn-sm { padding: 8px 18px; font-size: .85rem; }

/* ===== Hero Banner ===== */
.guide-banner {
  position: relative;
  background: linear-gradient(135deg, rgba(23,32,84,0.92) 0%, rgba(46,79,224,0.85) 60%, rgba(97,130,255,0.78) 100%), url('/assets/images/backpic/back-2.png') center/cover no-repeat;
  padding: 96px 0 120px;
  color: #fff;
  overflow: hidden;
}
.guide-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,159,28,0.25) 0%, transparent 70%);
}
.guide-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
}
.banner-inner { position: relative; z-index: 2; }
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.28);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
  margin-bottom: 22px;
}
.banner-title {
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
}
.banner-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 640px;
  color: rgba(255,255,255,0.88);
  margin-bottom: 32px;
  line-height: 1.8;
}
.banner-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== Card ===== */
.guide-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all .35s ease;
  border: 1px solid rgba(229,233,242,0.6);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.guide-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.guide-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #e8ecf5;
}
.guide-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.guide-card:hover .guide-card-img img {
  transform: scale(1.05);
}
.guide-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(23,32,84,0.85);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.guide-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.guide-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 10px;
}
.guide-card-title a { transition: color .2s; }
.guide-card-title a:hover { color: var(--primary); }
.guide-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .8rem;
  color: var(--text-weak);
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f0f2f7;
}
.guide-card-meta span { display: inline-flex; align-items: center; gap: 5px; }

/* ===== Tag filter ===== */
.tag-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.tag-item {
  padding: 8px 20px;
  border-radius: 999px;
  font-size: .87rem;
  font-weight: 500;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-weak);
  transition: all .25s ease;
  cursor: pointer;
}
.tag-item:hover { border-color: var(--primary-light); color: var(--primary); }
.tag-item.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 6px 16px rgba(46,79,224,0.24);
}

/* ===== Feature / Deep dive ===== */
.deep-wrap {
  background: linear-gradient(135deg, #1d2f7a 0%, #2e4fe0 100%);
  border-radius: 24px;
  overflow: hidden;
  color: #fff;
  position: relative;
}
.deep-wrap::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -40px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,159,28,0.3) 0%, transparent 70%);
}
.deep-img { position: relative; min-height: 320px; }
.deep-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list li {
  position: relative;
  padding: 10px 0 10px 34px;
  font-size: .95rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 10px;
  color: #ffd166;
  font-size: .95rem;
}

/* ===== Stats ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-card {
  text-align: center;
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 16px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(229,233,242,0.6);
  transition: transform .3s ease, box-shadow .3s ease;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}
.stat-label { font-size: .9rem; color: var(--text-weak); margin-top: 8px; }

/* ===== Steps ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 24px;
  position: relative;
  box-shadow: var(--shadow);
  border: 1px solid rgba(229,233,242,0.6);
  transition: transform .3s ease, box-shadow .3s ease;
  counter-increment: step;
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b6bf6, #2e4fe0);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 6px 16px rgba(46,79,224,0.28);
}
.step-card h3 { font-size: 1.1rem; margin-bottom: 8px; font-weight: 700; }
.step-card p { font-size: .88rem; color: var(--text-weak); margin: 0; line-height: 1.7; }

/* ===== FAQ ===== */
.faq-item {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(229,233,242,0.6);
  margin-bottom: 16px;
  overflow: hidden;
  transition: box-shadow .3s ease;
}
.faq-item:hover { box-shadow: var(--shadow-hover); }
.faq-q {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: .98rem;
  gap: 16px;
}
.faq-q i {
  color: var(--primary);
  font-size: .85rem;
  flex-shrink: 0;
  transition: transform .3s ease;
}
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  color: var(--text-weak);
  font-size: .92rem;
  line-height: 1.8;
}
.faq-item.open .faq-a {
  padding: 0 24px 22px;
  max-height: 300px;
}

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, #1d2f7a 0%, #3b6bf6 100%);
  border-radius: 28px;
  padding: 68px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,159,28,0.25) 0%, transparent 70%);
}
.cta-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 14px; position: relative; z-index: 1; }
.cta-desc { font-size: 1.05rem; max-width: 560px; margin: 0 auto 32px; color: rgba(255,255,255,0.85); position: relative; z-index: 1; }
.cta-btn { position: relative; z-index: 1; }

/* ===== Footer ===== */
.footer {
  background: #151b33;
  color: #9ba3b8;
  padding: 70px 0 30px;
  margin-top: 70px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
  margin-bottom: 14px;
}
.footer-brand span { color: var(--accent); }
.footer-desc {
  font-size: .88rem;
  line-height: 1.8;
  margin: 0;
  max-width: 320px;
}
.footer h4 {
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: 0.5px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: #8a92a8;
  font-size: .88rem;
  transition: color .25s ease, padding-left .25s ease;
}
.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}
.footer-bottom {
  text-align: center;
  padding-top: 30px;
  font-size: .82rem;
  color: #6b7280;
}

/* ===== Section title ===== */
.sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(46,79,224,0.08);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.sec-title {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
}
.sec-desc {
  font-size: 1rem;
  color: var(--text-weak);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 20px;
    box-shadow: 0 20px 40px rgba(30,45,90,0.12);
    border-bottom: 1px solid var(--border);
    display: none;
    gap: 4px;
  }
  .main-nav.open { display: flex; }
  .nav-link { padding: 12px 16px; border-radius: 10px; }
  .nav-link.active::after { display: none; }
  .nav-cta { display: none; }
  .guide-banner { padding: 64px 0 80px; }
  .steps-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 14px; }
  .deep-img { min-height: 220px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-section { padding: 44px 24px; }
  .section { --spacing-section: 3.5rem; }
}
@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .brand-logo { font-size: 1.35rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 1.7rem; }
  .banner-actions .btn { width: 100%; }
}

/* roulang page: category3 */
:root {
    --primary: #1d4ed8;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --bg: #f1f5f9;
    --surface: #ffffff;
    --text: #0f172a;
    --text-soft: #475569;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    --shadow-hover: 0 12px 36px rgba(15, 23, 42, 0.12);
    --header-h: 74px;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif; background: var(--bg); color: var(--text); line-height: 1.7; -webkit-font-smoothing: antialiased; }
  img { max-width: 100%; display: block; }
  a { text-decoration: none; color: inherit; }
  ul { list-style: none; }
  button { background: none; border: none; cursor: pointer; font-family: inherit; }
  .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
  .site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
  .header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
  .brand-logo { font-size: 25px; font-weight: 800; color: var(--primary-dark); letter-spacing: 1px; display: flex; align-items: baseline; gap: 5px; white-space: nowrap; }
  .brand-logo small { font-size: 10px; font-weight: 700; letter-spacing: 2px; color: var(--accent); text-transform: uppercase; }
  .main-nav { display: flex; gap: 6px; margin-left: auto; align-items: center; }
  .nav-link { padding: 8px 18px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--text-soft); transition: all 0.25s ease; }
  .nav-link:hover { color: var(--primary); background: rgba(29,78,216,0.06); }
  .nav-link.active { color: #fff; background: var(--primary); box-shadow: 0 4px 16px rgba(29,78,216,0.28); }
  .nav-cta { margin-left: 8px; background: var(--accent); color: #fff; border-radius: 999px; padding: 10px 20px; font-weight: 600; font-size: 14px; transition: all 0.25s ease; box-shadow: 0 4px 14px rgba(245,158,11,0.3); }
  .nav-cta:hover { background: var(--accent-light); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(245,158,11,0.35); }
  .nav-toggle { display: none; margin-left: auto; font-size: 22px; color: var(--text); padding: 8px 10px; border-radius: 8px; transition: background .2s; }
  .nav-toggle:hover { background: var(--bg); }
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--radius-sm); font-weight: 600; transition: all 0.25s ease; }
  .btn-primary { background: var(--primary); color: #fff; padding: 12px 26px; box-shadow: 0 4px 16px rgba(29,78,216,0.26); }
  .btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(29,78,216,0.32); }
  .btn-ghost { background: transparent; color: var(--text-soft); border: 1px solid var(--border); padding: 12px 26px; }
  .btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); background: rgba(29,78,216,0.03); }
  .btn-sm { padding: 9px 18px; font-size: 14px; }
  .btn-light { background: #fff; color: var(--primary-dark); padding: 12px 26px; box-shadow: 0 6px 20px rgba(255,255,255,0.2); }
  .btn-light:hover { transform: translateY(-2px); background: var(--accent-light); color: #fff; }
  .category-hero { position: relative; background: linear-gradient(135deg, rgba(15,23,42,0.92) 0%, rgba(30,58,138,0.82) 55%, rgba(29,78,216,0.7) 100%), url('/assets/images/backpic/back-2.png') center/cover no-repeat; padding: 88px 0 78px; color: #fff; overflow: hidden; }
  .category-hero::after { content: ''; position: absolute; right: -80px; bottom: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(245,158,11,0.16); filter: blur(60px); }
  .hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.14); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.22); padding: 8px 18px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: 0.5px; color: #fde68a; margin-bottom: 22px; }
  .category-hero h1 { font-size: 44px; line-height: 1.2; font-weight: 800; margin-bottom: 16px; letter-spacing: 1px; }
  .category-hero p { font-size: 17px; line-height: 1.8; color: rgba(255,255,255,0.82); max-width: 620px; }
  .breadcrumb { display: flex; align-items: center; gap: 10px; margin-top: 24px; font-size: 14px; color: rgba(255,255,255,0.65); }
  .breadcrumb a { transition: color .2s; }
  .breadcrumb a:hover { color: var(--accent-light); }
  .breadcrumb i { font-size: 11px; color: rgba(255,255,255,0.4); }
  .section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
  .section-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2px; color: var(--primary); background: rgba(29,78,216,0.08); padding: 5px 14px; border-radius: 999px; margin-bottom: 10px; }
  .section-head h2 { font-size: 32px; font-weight: 800; color: var(--text); line-height: 1.3; }
  .filter-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 20px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--text-soft); background: var(--bg); border: 1px solid var(--border); transition: all 0.22s ease; }
  .filter-chip:hover { border-color: var(--primary); color: var(--primary); background: rgba(29,78,216,0.04); }
  .filter-chip.active { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 4px 14px rgba(29,78,216,0.24); }
  .news-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all 0.3s ease; border: 1px solid rgba(226,232,240,0.6); }
  .news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
  .news-thumb { position: relative; overflow: hidden; }
  .news-thumb img { transition: transform .5s ease; }
  .news-card:hover .news-thumb img { transform: scale(1.05); }
  .news-tag { position: absolute; top: 14px; left: 14px; background: rgba(29,78,216,0.92); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 14px; border-radius: 999px; backdrop-filter: blur(6px); }
  .news-tag.hot { background: rgba(245,158,11,0.92); }
  .topic-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 260px; display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow); transition: all .3s ease; }
  .topic-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
  .topic-card .topic-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .5s ease; }
  .topic-card:hover .topic-bg { transform: scale(1.05); }
  .topic-card .topic-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,0.05) 30%, rgba(15,23,42,0.88) 100%); }
  .topic-card .topic-body { position: relative; z-index: 2; padding: 28px 26px; }
  .topic-card .topic-body .topic-icon { font-size: 12px; font-weight: 700; color: var(--accent-light); margin-bottom: 8px; }
  .topic-card .topic-body h3 { font-size: 19px; font-weight: 700; line-height: 1.4; }
  .topic-card .topic-body p { font-size: 13px; color: rgba(255,255,255,0.72); margin-top: 6px; }
  .rank-list { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; border: 1px solid rgba(226,232,240,0.6); }
  .rank-list h3 { font-size: 18px; font-weight: 700; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
  .rank-list .rank-item { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--border); }
  .rank-list .rank-item:last-child { border-bottom: 0; padding-bottom: 0; }
  .rank-num { flex-shrink: 0; width: 30px; height: 30px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; background: rgba(29,78,216,0.08); color: var(--primary); }
  .rank-item:nth-child(2) .rank-num { background: rgba(245,158,11,0.12); color: var(--accent); }
  .rank-item .rank-title { font-size: 15px; font-weight: 500; line-height: 1.5; transition: color .2s; }
  .rank-item:hover .rank-title { color: var(--primary); }
  .rank-item .rank-meta { font-size: 12px; color: var(--text-muted); margin-top: 3px; }
  .stats-section { position: relative; background: linear-gradient(135deg, rgba(15,23,42,0.94), rgba(30,58,138,0.85)), url('/assets/images/backpic/back-1.png') center/cover no-repeat; padding: 70px 0; color: #fff; }
  .stats-card { text-align: center; padding: 20px 10px; }
  .stats-card .icon { font-size: 34px; color: var(--accent); margin-bottom: 12px; }
  .stats-card .num { font-size: 42px; font-weight: 800; line-height: 1.2; }
  .stats-card .label { font-size: 14px; color: rgba(255,255,255,0.7); margin-top: 8px; }
  .faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 14px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
  .faq-item.open { border-color: var(--primary); box-shadow: 0 4px 18px rgba(29,78,216,0.08); }
  .faq-question { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 20px 24px; font-size: 16px; font-weight: 600; color: var(--text); gap: 16px; text-align: left; transition: color .2s; }
  .faq-question i { transition: transform .3s; color: var(--text-muted); flex-shrink: 0; }
  .faq-item.open .faq-question { color: var(--primary); }
  .faq-item.open .faq-question i { transform: rotate(180deg); color: var(--primary); }
  .faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .faq-answer p { padding: 0 24px 22px; color: var(--text-soft); font-size: 15px; line-height: 1.8; }
  .cta-section { position: relative; padding: 80px 0; text-align: center; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; overflow: hidden; }
  .cta-section::before { content: ''; position: absolute; top: -60px; right: -40px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,0.08); }
  .cta-section::after { content: ''; position: absolute; bottom: -80px; left: -40px; width: 260px; height: 260px; border-radius: 50%; background: rgba(245,158,11,0.15); }
  .cta-section h2 { font-size: 34px; font-weight: 800; margin-bottom: 14px; position: relative; z-index: 1; }
  .cta-section p { font-size: 16px; color: rgba(255,255,255,0.82); max-width: 560px; margin: 0 auto 28px; position: relative; z-index: 1; }
  .cta-section .cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
  .footer { background: #0f172a; color: #94a3b8; padding: 70px 0 32px; }
  .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 50px; }
  .footer-brand { font-size: 26px; font-weight: 800; color: #fff; }
  .footer-brand span { color: var(--accent); }
  .footer-desc { margin-top: 14px; font-size: 14px; line-height: 1.9; max-width: 340px; color: #94a3b8; }
  .footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; font-weight: 600; }
  .footer-links li { margin-bottom: 11px; }
  .footer-links a { font-size: 14px; color: #94a3b8; transition: color 0.2s ease; }
  .footer-links a:hover { color: var(--accent); }
  .footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 26px; text-align: center; font-size: 14px; color: #94a3b8; }
  @media (max-width: 1024px) {
    .category-hero h1 { font-size: 36px; }
    .section-head h2 { font-size: 27px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  }
  @media (max-width: 768px) {
    .site-header { background: #fff; }
    .header-inner { gap: 16px; }
    .nav-toggle { display: block; }
    .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 16px 24px; flex-direction: column; align-items: stretch; gap: 8px; box-shadow: 0 24px 40px rgba(15,23,42,0.1); }
    .main-nav.active { display: flex; }
    .nav-link { padding: 12px 18px; border-radius: 12px; }
    .nav-cta { display: none; }
    .category-hero { padding: 60px 0 54px; }
    .category-hero h1 { font-size: 29px; }
    .category-hero p { font-size: 15px; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 28px; }
    .section-head h2 { font-size: 24px; }
    .rank-list { margin-top: 24px; }
    .stats-card .num { font-size: 34px; }
    .cta-section h2 { font-size: 26px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  }
  @media (max-width: 520px) {
    .container { padding: 0 18px; }
    .brand-logo { font-size: 21px; }
    .category-hero h1 { font-size: 25px; }
    .footer-grid { grid-template-columns: 1fr; }
  }
