/* roulang page: index */
/* ===== Design Variables ===== */
:root {
  --primary: #1e1b4b;
  --primary-light: #312e81;
  --primary-dark: #0f0c29;
  --secondary: #f59e0b;
  --secondary-light: #fbbf24;
  --secondary-dark: #d97706;
  --accent: #6366f1;
  --accent-light: #818cf8;
  --bg: #f8fafc;
  --bg-alt: #f1f5f9;
  --bg-card: #ffffff;
  --text: #1e293b;
  --text-light: #64748b;
  --text-muted: #94a3b8;
  --text-inverse: #ffffff;
  --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 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.06);
  --shadow-xl: 0 24px 48px rgba(0,0,0,0.16);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans SC', sans-serif;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --nav-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);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--secondary); }
a:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 2px; border-radius: var(--radius-sm); }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-md); }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.3; font-weight: 700; color: var(--primary-dark); }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.6rem); margin-bottom: 0.5em; }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.5rem); }
p { margin-bottom: 1em; color: var(--text-light); }
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--primary-dark); color: var(--text-inverse); }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-full);
  font-weight: 600; font-size: 1rem; line-height: 1.4;
  transition: all var(--transition); border: 2px solid transparent;
  white-space: nowrap; text-decoration: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 2px; }
.btn-primary { background: var(--primary); color: var(--text-inverse); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-light); border-color: var(--primary-light); color: var(--text-inverse); }
.btn-secondary { background: var(--secondary); color: var(--primary-dark); border-color: var(--secondary); }
.btn-secondary:hover { background: var(--secondary-light); border-color: var(--secondary-light); color: var(--primary-dark); }
.btn-outline { background: transparent; color: var(--text-inverse); border-color: var(--text-inverse); }
.btn-outline:hover { background: var(--text-inverse); color: var(--primary); border-color: var(--text-inverse); }
.btn-outline-dark { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline-dark:hover { background: var(--primary); color: var(--text-inverse); }
.btn-lg { padding: 16px 40px; font-size: 1.1rem; }
.btn-sm { padding: 8px 18px; font-size: 0.875rem; }
.btn-block { width: 100%; }

/* ===== Tags & Badges ===== */
.badge {
  display: inline-block; padding: 4px 14px; border-radius: var(--radius-full);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em;
  background: var(--bg-alt); color: var(--text-light); border: 1px solid var(--border);
}
.badge-primary { background: rgba(30,27,75,0.08); color: var(--primary); border-color: rgba(30,27,75,0.15); }
.badge-secondary { background: rgba(245,158,11,0.12); color: var(--secondary-dark); border-color: rgba(245,158,11,0.2); }
.badge-accent { background: rgba(99,102,241,0.1); color: var(--accent); border-color: rgba(99,102,241,0.18); }
.tag {
  display: inline-block; padding: 2px 12px; border-radius: var(--radius-sm);
  font-size: 0.75rem; font-weight: 500; background: var(--bg-alt); color: var(--text-light);
  border: 1px solid var(--border); transition: all var(--transition);
}
.tag:hover { background: var(--primary); color: var(--text-inverse); border-color: var(--primary); }

/* ===== Cards ===== */
.card {
  background: var(--bg-card); border-radius: var(--radius-md);
  border: 1px solid var(--border); overflow: hidden;
  transition: all var(--transition); box-shadow: var(--shadow-sm);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(30,27,75,0.12); }
.card-img { width: 100%; object-fit: cover; aspect-ratio: 16/10; }
.card-body { padding: 24px; }
.card-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; color: var(--primary-dark); }
.card-text { font-size: 0.92rem; color: var(--text-light); margin-bottom: 16px; line-height: 1.6; }
.card-meta { display: flex; align-items: center; gap: 12px; font-size: 0.82rem; color: var(--text-muted); }
.card-footer { padding: 16px 24px; border-top: 1px solid var(--border-light); background: var(--bg-alt); }

/* ===== Grid ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }

/* ===== Divider ===== */
.divider { width: 60px; height: 4px; background: var(--secondary); border-radius: var(--radius-full); margin: 16px 0 24px; }
.divider-center { margin-left: auto; margin-right: auto; }

/* ===== Lists ===== */
.list-check li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--text-light); font-size: 0.95rem; }
.list-check li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; color: var(--secondary); }

/* ===== Header / Dock Nav ===== */
.site-header {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  z-index: 1000; width: 92%; max-width: 1100px;
  background: rgba(255,255,255,0.88); backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-radius: var(--radius-xl); border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  padding: 0 24px; height: var(--nav-height);
  display: flex; align-items: center; justify-content: space-between;
  transition: all var(--transition);
}
.site-header.scrolled { background: rgba(255,255,255,0.96); box-shadow: 0 8px 40px rgba(0,0,0,0.12); }
.site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.site-logo .logo-icon { width: 38px; height: 38px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; }
.site-logo .logo-text { font-size: 1.2rem; font-weight: 800; color: var(--primary); letter-spacing: -0.01em; white-space: nowrap; }
.site-logo .logo-text span { color: var(--secondary); }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  padding: 8px 18px; border-radius: var(--radius-full);
  font-size: 0.9rem; font-weight: 500; color: var(--text-light);
  transition: all var(--transition); text-decoration: none;
  position: relative; white-space: nowrap;
}
.main-nav a:hover { color: var(--primary); background: rgba(30,27,75,0.05); }
.main-nav a.active { color: var(--primary); background: rgba(30,27,75,0.08); font-weight: 600; }
.main-nav a.active::after { display: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-search { position: relative; }
.nav-search input {
  width: 180px; padding: 8px 16px 8px 36px; border-radius: var(--radius-full);
  border: 1px solid var(--border); background: var(--bg-alt);
  font-size: 0.85rem; transition: all var(--transition);
  color: var(--text);
}
.nav-search input:focus { width: 220px; outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(99,102,241,0.12); background: #fff; }
.nav-search .search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 0.85rem; pointer-events: none; }
.nav-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: var(--radius-sm); color: var(--primary); font-size: 1.3rem; background: transparent; border: 1px solid var(--border); cursor: pointer; transition: all var(--transition); }
.nav-toggle:hover { background: var(--bg-alt); }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 80px; overflow: hidden;
  background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,12,41,0.85) 0%, rgba(30,27,75,0.7) 50%, rgba(30,27,75,0.4) 100%);
  z-index: 1;
}
.hero-particles { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-particles span { position: absolute; width: 4px; height: 4px; background: rgba(255,255,255,0.25); border-radius: 50%; animation: float 8s infinite ease-in-out; }
.hero-particles span:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; width: 6px; height: 6px; }
.hero-particles span:nth-child(2) { top: 30%; left: 75%; animation-delay: 1.2s; }
.hero-particles span:nth-child(3) { top: 60%; left: 20%; animation-delay: 2.5s; width: 5px; height: 5px; }
.hero-particles span:nth-child(4) { top: 80%; left: 85%; animation-delay: 0.8s; }
.hero-particles span:nth-child(5) { top: 45%; left: 50%; animation-delay: 3.8s; width: 7px; height: 7px; }
.hero-particles span:nth-child(6) { top: 10%; left: 40%; animation-delay: 5.2s; }
@keyframes float { 0%,100% { transform: translateY(0) scale(1); opacity: 0.25; } 50% { transform: translateY(-30px) scale(1.4); opacity: 0.6; } }
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.12); backdrop-filter: blur(8px); padding: 6px 18px 6px 10px; border-radius: var(--radius-full); border: 1px solid rgba(255,255,255,0.15); color: var(--text-inverse); font-size: 0.85rem; font-weight: 500; margin-bottom: 24px; }
.hero-badge i { color: var(--secondary); }
.hero h1 { color: var(--text-inverse); margin-bottom: 16px; letter-spacing: -0.01em; }
.hero h1 span { background: linear-gradient(135deg, var(--secondary), var(--secondary-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { color: rgba(255,255,255,0.8); font-size: 1.15rem; max-width: 560px; margin-bottom: 32px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.12); }
.hero-stat h3 { color: var(--text-inverse); font-size: 1.8rem; font-weight: 800; letter-spacing: -0.01em; }
.hero-stat h3 i { color: var(--secondary); font-size: 1.2rem; margin-right: 4px; }
.hero-stat p { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin: 0; }

/* ===== Features ===== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.feature-card { background: var(--bg-card); border-radius: var(--radius-md); padding: 32px 24px; border: 1px solid var(--border); transition: all var(--transition); text-align: center; box-shadow: var(--shadow-sm); }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.feature-icon { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: var(--radius-md); background: linear-gradient(135deg, rgba(30,27,75,0.06), rgba(99,102,241,0.08)); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--primary); transition: all var(--transition); }
.feature-card:hover .feature-icon { background: var(--primary); color: var(--text-inverse); }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; margin: 0; }

/* ===== Category Cards ===== */
.category-card { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16/10; display: flex; align-items: flex-end; cursor: pointer; }
.category-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.category-card:hover img { transform: scale(1.06); }
.category-overlay { position: relative; z-index: 1; width: 100%; padding: 28px 24px; background: linear-gradient(transparent, rgba(15,12,41,0.85)); color: var(--text-inverse); }
.category-overlay h3 { color: var(--text-inverse); font-size: 1.2rem; margin-bottom: 4px; }
.category-overlay p { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin: 0; }
.category-overlay .tag { background: rgba(255,255,255,0.15); color: #fff; border-color: rgba(255,255,255,0.2); }

/* ===== Latest Posts ===== */
.post-card { display: flex; flex-direction: column; }
.post-card .card-img { aspect-ratio: 16/9; }
.post-card .post-category { display: inline-block; padding: 2px 12px; border-radius: var(--radius-sm); font-size: 0.72rem; font-weight: 600; background: rgba(99,102,241,0.1); color: var(--accent); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.04em; }
.post-card .card-title a { color: var(--primary-dark); text-decoration: none; transition: color var(--transition); }
.post-card .card-title a:hover { color: var(--secondary); }
.post-card .card-meta i { margin-right: 4px; }

/* ===== Steps / Process ===== */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; counter-reset: step; }
.step-item { text-align: center; position: relative; padding: 32px 16px; }
.step-item::before { counter-increment: step; content: counter(step); position: absolute; top: -8px; left: 50%; transform: translateX(-50%); width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: var(--text-inverse); font-weight: 800; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(30,27,75,0.2); }
.step-item .step-icon { margin: 16px auto 12px; font-size: 2rem; color: var(--primary); }
.step-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step-item p { font-size: 0.88rem; margin: 0; }

/* ===== Stats / Counter ===== */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; }
.stat-card { text-align: center; padding: 32px 16px; background: rgba(255,255,255,0.06); border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,0.08); backdrop-filter: blur(4px); }
.stat-card .stat-number { font-size: 2.6rem; font-weight: 800; color: var(--text-inverse); line-height: 1.2; }
.stat-card .stat-number i { color: var(--secondary); font-size: 1.8rem; margin-right: 6px; }
.stat-card .stat-label { color: rgba(255,255,255,0.65); font-size: 0.92rem; margin-top: 6px; }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--bg-card); border-radius: var(--radius-md); border: 1px solid var(--border); margin-bottom: 12px; overflow: hidden; transition: all var(--transition); }
.faq-item:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.faq-question { width: 100%; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; font-size: 1rem; font-weight: 600; color: var(--text); background: none; border: none; text-align: left; cursor: pointer; transition: color var(--transition); }
.faq-question:hover { color: var(--primary); }
.faq-question i { transition: transform var(--transition); color: var(--text-muted); font-size: 0.9rem; }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; padding: 0 24px; }
.faq-item.active .faq-answer { max-height: 300px; padding: 0 24px 20px; }
.faq-answer p { color: var(--text-light); font-size: 0.92rem; margin: 0; line-height: 1.7; }

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  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-content { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; text-align: center; padding: 60px 0; }
.cta-content h2 { color: var(--text-inverse); margin-bottom: 12px; }
.cta-content p { color: rgba(255,255,255,0.75); font-size: 1.05rem; margin-bottom: 28px; }
.cta-content .btn { font-size: 1.05rem; padding: 16px 44px; }

/* ===== Footer ===== */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.7); padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .site-logo .logo-text { color: var(--text-inverse); }
.footer-brand .site-logo .logo-text span { color: var(--secondary); }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.55); margin-top: 12px; max-width: 320px; line-height: 1.7; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); font-size: 0.95rem; transition: all var(--transition); text-decoration: none; }
.footer-social a:hover { background: var(--secondary); color: var(--primary-dark); transform: translateY(-2px); }
.footer-col h4 { color: var(--text-inverse); font-size: 0.95rem; margin-bottom: 16px; font-weight: 600; }
.footer-col a { display: block; padding: 4px 0; font-size: 0.88rem; color: rgba(255,255,255,0.55); transition: color var(--transition); text-decoration: none; }
.footer-col a:hover { color: var(--secondary); }
.footer-col a i { width: 20px; margin-right: 6px; color: var(--secondary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--secondary); }

/* ===== Section Title ===== */
.section-title { margin-bottom: 48px; }
.section-title h2 { margin-bottom: 8px; }
.section-title p { font-size: 1.05rem; max-width: 560px; }
.section-title.text-center p { margin: 0 auto; }

/* ===== Empty State ===== */
.empty-state { text-align: center; padding: 48px 24px; background: var(--bg-alt); border-radius: var(--radius-md); border: 1px dashed var(--border); }
.empty-state i { font-size: 2.4rem; color: var(--text-muted); margin-bottom: 12px; }
.empty-state p { font-size: 0.95rem; color: var(--text-muted); margin: 0; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-stats { gap: 24px; }
  .hero-stat h3 { font-size: 1.5rem; }
}
@media (max-width: 768px) {
  .site-header { top: 12px; padding: 0 16px; height: 60px; width: 95%; }
  .main-nav { position: fixed; top: 72px; left: 5%; right: 5%; background: rgba(255,255,255,0.98); backdrop-filter: blur(18px); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); flex-direction: column; padding: 16px; gap: 4px; display: none; border: 1px solid var(--border); }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 12px 16px; border-radius: var(--radius-sm); }
  .nav-search { display: none; }
  .nav-toggle { display: flex; }
  .hero { min-height: 80vh; padding: 100px 0 60px; }
  .hero h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); }
  .hero p { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .section { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 20px; }
  .grid-auto { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .cta-content { padding: 40px 0; }
  .cta-content .btn { width: 100%; }
  .steps { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 520px) {
  .site-header { top: 8px; height: 54px; padding: 0 12px; }
  .site-logo .logo-text { font-size: 1rem; }
  .site-logo .logo-icon { width: 32px; height: 32px; font-size: 0.9rem; }
  .hero { min-height: 70vh; padding: 80px 0 40px; }
  .hero h1 { font-size: 1.6rem; }
  .hero-badge { font-size: 0.75rem; padding: 4px 12px; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card .stat-number { font-size: 2rem; }
  .faq-question { font-size: 0.92rem; padding: 16px 18px; }
  .faq-answer { padding: 0 18px; }
  .faq-item.active .faq-answer { padding: 0 18px 16px; }
  .card-body { padding: 18px; }
  .btn-lg { padding: 14px 28px; font-size: 1rem; }
  .section { padding: 40px 0; }
}

/* roulang page: article */
/* ===== 设计变量 ===== */
        :root {
            --primary: #1a2a6c;
            --primary-light: #2d4a8e;
            --primary-dark: #0f1a4a;
            --accent: #f0b90b;
            --accent-light: #fcd34d;
            --accent-dark: #d4a307;
            --bg-body: #f8f9fc;
            --bg-card: #ffffff;
            --bg-dark: #0f1a4a;
            --bg-section-alt: #eef1f8;
            --text-primary: #1a1a2e;
            --text-secondary: #4a4a6a;
            --text-muted: #8888a0;
            --text-light: #ffffff;
            --border-color: #e2e5ef;
            --radius-sm: 8px;
            --radius-md: 16px;
            --radius-lg: 24px;
            --radius-xl: 32px;
            --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
            --shadow-md: 0 8px 24px rgba(0,0,0,0.06);
            --shadow-lg: 0 16px 48px rgba(0,0,0,0.08);
            --shadow-xl: 0 24px 64px rgba(0,0,0,0.12);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --font-sans: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
            --container-max: 1200px;
            --nav-height: 72px;
            --spacing-section: 80px;
            --spacing-block: 40px;
        }

        /* ===== 基础 Reset ===== */
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
        body {
            font-family: var(--font-sans);
            background: var(--bg-body);
            color: var(--text-primary);
            line-height: 1.7;
            font-size: 16px;
            padding-top: var(--nav-height);
        }
        img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }
        a { color: var(--primary); text-decoration: none; transition: var(--transition); }
        a:hover { color: var(--accent); }
        button, input, textarea { font-family: inherit; font-size: inherit; outline: none; border: none; }
        ul, ol { list-style: none; }
        h1, h2, h3, h4, h5, h6 { line-height: 1.3; font-weight: 700; color: var(--text-primary); }

        /* ===== 容器 ===== */
        .container {
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 24px;
        }
        @media (max-width: 768px) {
            .container { padding: 0 16px; }
            :root { --spacing-section: 48px; }
        }

        /* ===== 浮动 Dock 导航 ===== */
        .site-header {
            position: fixed;
            top: 16px;
            left: 50%;
            transform: translateX(-50%);
            width: calc(100% - 48px);
            max-width: 1100px;
            height: var(--nav-height);
            background: rgba(255,255,255,0.88);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border-radius: var(--radius-xl);
            box-shadow: 0 4px 24px rgba(0,0,0,0.06);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 28px;
            z-index: 1000;
            border: 1px solid rgba(255,255,255,0.5);
            transition: var(--transition);
        }
        .site-header:hover { box-shadow: 0 8px 40px rgba(0,0,0,0.10); }
        .site-header.scrolled { background: rgba(255,255,255,0.96); }

        .site-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-shrink: 0;
        }
        .site-logo .logo-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 20px;
            box-shadow: 0 4px 12px rgba(26,42,108,0.25);
        }
        .site-logo .logo-text {
            font-size: 22px;
            font-weight: 800;
            color: var(--primary);
            letter-spacing: 0.5px;
        }
        .site-logo .logo-text span { color: var(--accent); }

        .main-nav {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .main-nav a {
            padding: 8px 20px;
            border-radius: 50px;
            font-size: 15px;
            font-weight: 500;
            color: var(--text-secondary);
            transition: var(--transition);
            position: relative;
            white-space: nowrap;
        }
        .main-nav a:hover { color: var(--primary); background: rgba(26,42,108,0.06); }
        .main-nav a.active {
            color: #fff;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            box-shadow: 0 4px 16px rgba(26,42,108,0.25);
        }

        .nav-actions {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .nav-search {
            display: flex;
            align-items: center;
            background: var(--bg-body);
            border-radius: 50px;
            padding: 0 16px;
            gap: 8px;
            border: 1px solid var(--border-color);
            transition: var(--transition);
            height: 40px;
        }
        .nav-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,42,108,0.1); }
        .nav-search .search-icon { color: var(--text-muted); font-size: 14px; }
        .nav-search input {
            background: transparent;
            border: none;
            padding: 8px 0;
            width: 140px;
            color: var(--text-primary);
            font-size: 14px;
        }
        .nav-search input::placeholder { color: var(--text-muted); }

        .nav-toggle { display: none; background: none; font-size: 22px; color: var(--text-primary); cursor: pointer; padding: 8px; border-radius: 8px; }
        .nav-toggle:hover { background: rgba(0,0,0,0.04); }

        @media (max-width: 768px) {
            .site-header { top: 12px; width: calc(100% - 24px); padding: 0 16px; height: 64px; }
            body { padding-top: 76px; }
            .nav-search input { width: 80px; }
            .main-nav {
                position: fixed;
                top: 80px;
                left: 12px;
                right: 12px;
                background: rgba(255,255,255,0.98);
                backdrop-filter: blur(20px);
                border-radius: var(--radius-lg);
                box-shadow: var(--shadow-lg);
                flex-direction: column;
                padding: 16px;
                gap: 4px;
                display: none;
                border: 1px solid var(--border-color);
            }
            .main-nav.open { display: flex; }
            .main-nav a { width: 100%; text-align: center; padding: 12px 16px; }
            .nav-toggle { display: block; }
            .site-logo .logo-text { font-size: 18px; }
            .site-logo .logo-icon { width: 34px; height: 34px; font-size: 16px; }
        }

        /* ===== 文章内页 Banner ===== */
        .article-banner {
            position: relative;
            padding: 60px 0 50px;
            background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
            overflow: hidden;
            margin-top: 0;
        }
        .article-banner::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-2.png') center/cover no-repeat;
            opacity: 0.15;
            mix-blend-mode: overlay;
        }
        .article-banner .container { position: relative; z-index: 2; }
        .article-banner .breadcrumb {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            color: rgba(255,255,255,0.7);
            margin-bottom: 20px;
            flex-wrap: wrap;
        }
        .article-banner .breadcrumb a { color: rgba(255,255,255,0.8); }
        .article-banner .breadcrumb a:hover { color: var(--accent); }
        .article-banner .breadcrumb .sep { color: rgba(255,255,255,0.4); }
        .article-banner .breadcrumb .current { color: var(--accent-light); font-weight: 500; }
        .article-banner h1 {
            font-size: 36px;
            color: #fff;
            max-width: 860px;
            line-height: 1.3;
            margin-bottom: 16px;
            text-shadow: 0 2px 12px rgba(0,0,0,0.15);
        }
        .article-meta-bar {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 16px 24px;
            color: rgba(255,255,255,0.8);
            font-size: 14px;
        }
        .article-meta-bar .meta-tag {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 4px 14px;
            border-radius: 50px;
            background: rgba(255,255,255,0.15);
            color: var(--accent-light);
            font-weight: 500;
            font-size: 13px;
        }
        .article-meta-bar i { font-size: 14px; opacity: 0.7; }
        @media (max-width: 768px) {
            .article-banner { padding: 40px 0 32px; }
            .article-banner h1 { font-size: 24px; }
            .article-meta-bar { gap: 10px 16px; font-size: 13px; }
        }

        /* ===== 文章主体 ===== */
        .article-main {
            padding: var(--spacing-section) 0;
        }
        .article-layout {
            display: grid;
            grid-template-columns: 1fr 320px;
            gap: 48px;
            align-items: start;
        }
        @media (max-width: 992px) {
            .article-layout { grid-template-columns: 1fr; gap: 40px; }
        }

        .article-content {
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-sm);
            padding: 40px 48px;
            border: 1px solid var(--border-color);
        }
        .article-content .post-body {
            font-size: 16px;
            line-height: 1.9;
            color: var(--text-primary);
        }
        .article-content .post-body h2 {
            font-size: 24px;
            margin: 40px 0 16px;
            padding-bottom: 12px;
            border-bottom: 2px solid var(--accent);
            color: var(--primary);
        }
        .article-content .post-body h3 {
            font-size: 20px;
            margin: 32px 0 12px;
            color: var(--primary-light);
        }
        .article-content .post-body p {
            margin-bottom: 18px;
        }
        .article-content .post-body ul, .article-content .post-body ol {
            margin: 16px 0 24px;
            padding-left: 24px;
        }
        .article-content .post-body li {
            margin-bottom: 8px;
            list-style: disc;
        }
        .article-content .post-body a {
            color: var(--primary);
            text-decoration: underline;
            text-underline-offset: 2px;
        }
        .article-content .post-body a:hover { color: var(--accent); }
        .article-content .post-body blockquote {
            border-left: 4px solid var(--accent);
            padding: 16px 24px;
            margin: 24px 0;
            background: var(--bg-section-alt);
            border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
            font-style: italic;
            color: var(--text-secondary);
        }
        .article-content .post-body img {
            border-radius: var(--radius-md);
            margin: 24px 0;
            box-shadow: var(--shadow-md);
        }
        .article-content .post-body .post-image-caption {
            font-size: 13px;
            color: var(--text-muted);
            text-align: center;
            margin-top: -16px;
            margin-bottom: 24px;
        }
        .article-content .post-body code {
            background: var(--bg-section-alt);
            padding: 3px 10px;
            border-radius: 6px;
            font-size: 14px;
            color: var(--primary);
        }
        .article-content .post-body pre {
            background: var(--bg-dark);
            color: #e8e8f0;
            padding: 24px;
            border-radius: var(--radius-md);
            overflow-x: auto;
            margin: 24px 0;
            font-size: 14px;
            line-height: 1.6;
        }

        .article-footer-nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 40px;
            padding-top: 24px;
            border-top: 1px solid var(--border-color);
            flex-wrap: wrap;
            gap: 16px;
        }
        .article-footer-nav a {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 20px;
            border-radius: 50px;
            background: var(--bg-section-alt);
            font-size: 14px;
            font-weight: 500;
            color: var(--text-secondary);
            transition: var(--transition);
        }
        .article-footer-nav a:hover { background: var(--primary); color: #fff; box-shadow: 0 4px 16px rgba(26,42,108,0.25); }
        .article-footer-nav .back-home { background: var(--accent); color: var(--primary-dark); }
        .article-footer-nav .back-home:hover { background: var(--accent-dark); color: #fff; }

        @media (max-width: 768px) {
            .article-content { padding: 24px 20px; }
            .article-content .post-body h2 { font-size: 20px; }
            .article-content .post-body h3 { font-size: 18px; }
            .article-footer-nav { flex-direction: column; align-items: stretch; }
            .article-footer-nav a { justify-content: center; }
        }

        /* ===== 侧边栏 ===== */
        .article-sidebar {
            display: flex;
            flex-direction: column;
            gap: 28px;
        }
        .sidebar-card {
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-sm);
            padding: 28px;
            border: 1px solid var(--border-color);
        }
        .sidebar-card h3 {
            font-size: 18px;
            margin-bottom: 16px;
            padding-bottom: 12px;
            border-bottom: 2px solid var(--accent);
            color: var(--primary);
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .sidebar-card h3 i { color: var(--accent); }
        .sidebar-list a {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 12px 0;
            border-bottom: 1px solid var(--border-color);
            transition: var(--transition);
        }
        .sidebar-list a:last-child { border-bottom: none; }
        .sidebar-list a:hover { padding-left: 8px; color: var(--primary); }
        .sidebar-list .list-icon { color: var(--accent); font-size: 14px; margin-top: 4px; flex-shrink: 0; }
        .sidebar-list .list-text { font-size: 14px; color: var(--text-secondary); line-height: 1.4; }
        .sidebar-list .list-text strong { display: block; color: var(--text-primary); font-weight: 600; margin-bottom: 2px; }

        .sidebar-cta {
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: #fff;
            border: none;
            text-align: center;
        }
        .sidebar-cta h3 { color: #fff; border-bottom-color: rgba(255,255,255,0.2); }
        .sidebar-cta h3 i { color: var(--accent); }
        .sidebar-cta p { color: rgba(255,255,255,0.85); font-size: 14px; margin-bottom: 20px; }
        .sidebar-cta .btn-cta-side {
            display: inline-block;
            padding: 12px 32px;
            border-radius: 50px;
            background: var(--accent);
            color: var(--primary-dark);
            font-weight: 700;
            font-size: 15px;
            transition: var(--transition);
        }
        .sidebar-cta .btn-cta-side:hover { background: #fff; color: var(--primary); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

        @media (max-width: 992px) {
            .article-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
        }
        @media (max-width: 600px) {
            .article-sidebar { grid-template-columns: 1fr; }
        }

        /* ===== 空文章提示 ===== */
        .article-empty {
            text-align: center;
            padding: 80px 24px;
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-color);
        }
        .article-empty i { font-size: 64px; color: var(--text-muted); margin-bottom: 20px; opacity: 0.4; }
        .article-empty h2 { font-size: 24px; color: var(--text-secondary); margin-bottom: 12px; }
        .article-empty p { color: var(--text-muted); margin-bottom: 24px; }
        .article-empty .btn-home {
            display: inline-block;
            padding: 12px 32px;
            border-radius: 50px;
            background: var(--primary);
            color: #fff;
            font-weight: 600;
            transition: var(--transition);
        }
        .article-empty .btn-home:hover { background: var(--accent); color: var(--primary-dark); transform: translateY(-2px); }

        /* ===== 页脚 ===== */
        .site-footer {
            background: var(--bg-dark);
            color: rgba(255,255,255,0.8);
            padding: 60px 0 30px;
            margin-top: 0;
        }
        .site-footer .site-logo .logo-text { color: #fff; }
        .site-footer .site-logo .logo-text span { color: var(--accent); }
        .footer-grid {
            display: grid;
            grid-template-columns: 1.6fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 40px;
        }
        .footer-brand p { margin: 16px 0 20px; font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.6); max-width: 320px; }
        .footer-social { display: flex; gap: 12px; }
        .footer-social a {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255,255,255,0.08);
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255,255,255,0.7);
            font-size: 18px;
            transition: var(--transition);
        }
        .footer-social a:hover { background: var(--accent); color: var(--primary-dark); transform: translateY(-3px); }
        .footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
        .footer-col a {
            display: block;
            padding: 6px 0;
            color: rgba(255,255,255,0.65);
            font-size: 14px;
            transition: var(--transition);
        }
        .footer-col a:hover { color: var(--accent); padding-left: 6px; }
        .footer-col a i { width: 20px; margin-right: 4px; }
        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.08);
            padding-top: 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 12px;
            font-size: 13px;
            color: rgba(255,255,255,0.5);
        }
        .footer-bottom a { color: rgba(255,255,255,0.6); }
        .footer-bottom a:hover { color: var(--accent); }
        @media (max-width: 768px) {
            .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
            .footer-brand { grid-column: 1 / -1; }
            .footer-bottom { flex-direction: column; text-align: center; }
        }
        @media (max-width: 500px) {
            .footer-grid { grid-template-columns: 1fr; }
        }

        /* ===== 通用工具 ===== */
        .text-center { text-align: center; }
        .mt-20 { margin-top: 20px; }
        .mb-20 { margin-bottom: 20px; }
        .gap-8 { gap: 8px; }
        .flex-center { display: flex; align-items: center; justify-content: center; }

        /* ===== 文章不存在时的样式（内嵌于侧栏/内容区） ===== */
        .not-found-container {
            min-height: 40vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 60px 24px;
        }

/* roulang page: category1 */
/* ===== Design Variables ===== */
    :root {
        --primary: #1a1a2e;
        --primary-light: #16213e;
        --primary-dark: #0f0f1a;
        --accent: #e94560;
        --accent-light: #ff6b81;
        --accent-dark: #c2304a;
        --gold: #f5a623;
        --gold-light: #ffc55a;
        --star-bright: #ffd700;
        --bg-dark: #0a0a15;
        --bg-card: #1a1a2e;
        --bg-card-hover: #222240;
        --bg-section: #12121f;
        --bg-section-alt: #1a1a2e;
        --text-primary: #f0f0f5;
        --text-secondary: #b8b8d0;
        --text-muted: #7a7a9a;
        --border-color: #2a2a4a;
        --border-light: #3a3a5a;
        --radius-sm: 8px;
        --radius-md: 14px;
        --radius-lg: 20px;
        --radius-xl: 28px;
        --shadow-sm: 0 2px 12px rgba(0,0,0,0.3);
        --shadow-md: 0 8px 30px rgba(0,0,0,0.4);
        --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
        --shadow-glow: 0 0 40px rgba(233,69,96,0.15);
        --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
        --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        --max-width: 1200px;
        --nav-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-family);
        font-size: 16px;
        line-height: 1.7;
        color: var(--text-primary);
        background: var(--bg-dark);
        min-height: 100vh;
        overflow-x: hidden;
    }
    img { max-width: 100%; height: auto; display: block; }
    a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
    a:hover { color: var(--accent-light); }
    button { cursor: pointer; font-family: inherit; border: none; background: none; }
    input { font-family: inherit; border: none; outline: none; }
    ul, ol { list-style: none; }
    h1, h2, h3, h4, h5, h6 { line-height: 1.25; font-weight: 700; color: var(--text-primary); }
    h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
    h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
    h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
    h4 { font-size: 1.15rem; }
    p { margin-bottom: 1rem; color: var(--text-secondary); }
    ::selection { background: var(--accent); color: #fff; }
    :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

    /* ===== Container ===== */
    .container {
        max-width: var(--max-width);
        margin: 0 auto;
        padding: 0 24px;
        width: 100%;
    }
    @media (max-width: 768px) { .container { padding: 0 16px; } }

    /* ===== Scrollbar ===== */
    ::-webkit-scrollbar { width: 8px; }
    ::-webkit-scrollbar-track { background: var(--bg-dark); }
    ::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }
    ::-webkit-scrollbar-thumb:hover { background: var(--border-light); }

    /* ===== Section Spacing ===== */
    .section { padding: 80px 0; }
    .section-alt { background: var(--bg-section-alt); }
    .section-dark { background: var(--bg-dark); }
    .section-title {
        text-align: center;
        margin-bottom: 16px;
    }
    .section-subtitle {
        text-align: center;
        color: var(--text-muted);
        font-size: 1.05rem;
        max-width: 640px;
        margin: 0 auto 48px;
    }
    @media (max-width: 768px) { .section { padding: 50px 0; } .section-subtitle { margin-bottom: 32px; } }

    /* ===== Header / Dock Navigation ===== */
    .site-header {
        position: fixed;
        top: 16px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1000;
        width: calc(100% - 48px);
        max-width: 900px;
        background: rgba(26, 26, 46, 0.85);
        backdrop-filter: blur(20px) saturate(1.4);
        -webkit-backdrop-filter: blur(20px) saturate(1.4);
        border-radius: var(--radius-xl);
        border: 1px solid rgba(255, 255, 255, 0.08);
        padding: 0 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: var(--nav-height);
        box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
        transition: all var(--transition);
    }
    .site-header.scrolled {
        background: rgba(15, 15, 26, 0.92);
        border-color: rgba(255,255,255,0.06);
    }
    .site-logo {
        display: flex;
        align-items: center;
        gap: 10px;
        color: var(--text-primary);
        font-weight: 700;
        font-size: 1.25rem;
        letter-spacing: -0.01em;
        transition: opacity var(--transition);
    }
    .site-logo:hover { opacity: 0.85; color: var(--text-primary); }
    .logo-icon {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--accent), var(--gold));
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        color: #fff;
        box-shadow: 0 4px 15px rgba(233,69,96,0.3);
    }
    .logo-text { font-size: 1.2rem; }
    .logo-text span { color: var(--accent); }

    .main-nav {
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .main-nav a {
        padding: 8px 18px;
        border-radius: var(--radius-sm);
        color: var(--text-secondary);
        font-size: 0.92rem;
        font-weight: 500;
        transition: all var(--transition);
        position: relative;
        white-space: nowrap;
    }
    .main-nav a:hover { color: var(--text-primary); background: rgba(255,255,255,0.06); }
    .main-nav a.active {
        color: #fff;
        background: var(--accent);
        box-shadow: 0 4px 20px rgba(233,69,96,0.3);
    }
    .main-nav a.active:hover { background: var(--accent-light); }

    .nav-actions { display: flex; align-items: center; gap: 12px; }
    .nav-search {
        position: relative;
        display: flex;
        align-items: center;
    }
    .nav-search input {
        background: rgba(255,255,255,0.07);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 50px;
        padding: 8px 16px 8px 38px;
        font-size: 0.85rem;
        color: var(--text-primary);
        width: 180px;
        transition: all var(--transition);
    }
    .nav-search input::placeholder { color: var(--text-muted); }
    .nav-search input:focus { border-color: var(--accent); background: rgba(255,255,255,0.1); width: 220px; }
    .search-icon {
        position: absolute;
        left: 14px;
        color: var(--text-muted);
        font-size: 0.85rem;
        pointer-events: none;
    }

    .nav-toggle {
        display: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(255,255,255,0.06);
        color: var(--text-primary);
        font-size: 1.2rem;
        align-items: center;
        justify-content: center;
        transition: background var(--transition);
    }
    .nav-toggle:hover { background: rgba(255,255,255,0.12); }

    /* Mobile Nav Overlay */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.6);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .mobile-menu-overlay.open { opacity: 1; }

    @media (max-width: 820px) {
        .site-header { top: 12px; width: calc(100% - 24px); padding: 0 14px; height: 64px; }
        .main-nav { display: none; }
        .main-nav.open {
            display: flex;
            flex-direction: column;
            position: fixed;
            top: 80px;
            left: 12px;
            right: 12px;
            background: rgba(20, 20, 40, 0.96);
            backdrop-filter: blur(20px);
            border-radius: var(--radius-lg);
            border: 1px solid rgba(255,255,255,0.08);
            padding: 16px;
            gap: 4px;
            z-index: 1001;
            box-shadow: var(--shadow-lg);
        }
        .main-nav.open a { padding: 14px 18px; font-size: 1rem; }
        .nav-search input { width: 140px; }
        .nav-search input:focus { width: 160px; }
        .nav-toggle { display: flex; }
        .mobile-menu-overlay.open { display: block; }
    }
    @media (max-width: 480px) {
        .site-header { top: 8px; width: calc(100% - 16px); height: 58px; padding: 0 10px; }
        .logo-text { font-size: 1rem; }
        .logo-icon { width: 32px; height: 32px; font-size: 0.95rem; }
        .nav-search { display: none; }
        .main-nav.open { top: 72px; left: 8px; right: 8px; }
    }

    /* ===== Page Banner ===== */
    .page-banner {
        position: relative;
        padding: 140px 0 80px;
        background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary) 60%, #0d0d1a 100%);
        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;
        mix-blend-mode: overlay;
    }
    .page-banner::after {
        content: '';
        position: absolute;
        top: -40%;
        right: -20%;
        width: 600px;
        height: 600px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(233,69,96,0.08), transparent 70%);
        pointer-events: none;
    }
    .page-banner .container {
        position: relative;
        z-index: 2;
    }
    .banner-breadcrumb {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.88rem;
        color: var(--text-muted);
        margin-bottom: 20px;
        flex-wrap: wrap;
    }
    .banner-breadcrumb a { color: var(--text-muted); }
    .banner-breadcrumb a:hover { color: var(--accent); }
    .banner-breadcrumb .sep { color: var(--border-light); }
    .banner-breadcrumb .current { color: var(--text-secondary); }
    .page-banner h1 {
        font-size: clamp(2rem, 4.5vw, 3.2rem);
        font-weight: 800;
        margin-bottom: 16px;
        background: linear-gradient(135deg, #fff 40%, var(--accent-light));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    .page-banner p {
        font-size: 1.1rem;
        max-width: 620px;
        color: var(--text-secondary);
        margin-bottom: 0;
    }
    @media (max-width: 768px) { .page-banner { padding: 110px 0 50px; } }

    /* ===== Category Intro ===== */
    .category-intro {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        align-items: center;
    }
    .category-intro-text h2 { margin-bottom: 16px; }
    .category-intro-text p { font-size: 1.05rem; }
    .category-intro-image {
        border-radius: var(--radius-lg);
        overflow: hidden;
        box-shadow: var(--shadow-md);
        position: relative;
    }
    .category-intro-image img { width: 100%; height: 320px; object-fit: cover; }
    .category-intro-image::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: var(--radius-lg);
        border: 1px solid rgba(255,255,255,0.06);
        pointer-events: none;
    }
    @media (max-width: 768px) { .category-intro { grid-template-columns: 1fr; gap: 28px; } .category-intro-image img { height: 220px; } }

    /* ===== Card Grid ===== */
    .card-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 24px;
    }
    .card {
        background: var(--bg-card);
        border-radius: var(--radius-md);
        overflow: hidden;
        border: 1px solid var(--border-color);
        transition: all var(--transition);
        box-shadow: var(--shadow-sm);
    }
    .card:hover {
        transform: translateY(-6px);
        border-color: var(--border-light);
        box-shadow: var(--shadow-md), var(--shadow-glow);
    }
    .card-image {
        position: relative;
        overflow: hidden;
        aspect-ratio: 16 / 10;
    }
    .card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }
    .card:hover .card-image img { transform: scale(1.05); }
    .card-image .badge {
        position: absolute;
        top: 12px;
        left: 12px;
        background: var(--accent);
        color: #fff;
        font-size: 0.75rem;
        font-weight: 600;
        padding: 4px 14px;
        border-radius: 50px;
        letter-spacing: 0.3px;
        box-shadow: 0 2px 12px rgba(233,69,96,0.3);
    }
    .card-body { padding: 22px 24px 24px; }
    .card-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
    .card-body h3 a { color: var(--text-primary); }
    .card-body h3 a:hover { color: var(--accent); }
    .card-body p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 0; }
    .card-meta {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-top: 14px;
        font-size: 0.82rem;
        color: var(--text-muted);
        padding-top: 14px;
        border-top: 1px solid var(--border-color);
    }
    .card-meta i { margin-right: 4px; }

    /* ===== Steps / Timeline ===== */
    .steps-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
        counter-reset: step;
    }
    .step-card {
        background: var(--bg-card);
        border-radius: var(--radius-md);
        padding: 36px 28px;
        border: 1px solid var(--border-color);
        position: relative;
        transition: all var(--transition);
        counter-increment: step;
    }
    .step-card:hover { border-color: var(--border-light); box-shadow: var(--shadow-md); transform: translateY(-4px); }
    .step-number {
        font-size: 2.8rem;
        font-weight: 800;
        color: rgba(233,69,96,0.15);
        line-height: 1;
        margin-bottom: 8px;
        font-family: 'Inter', monospace;
    }
    .step-number::before { content: "0" counter(step); }
    .step-card h4 { font-size: 1.15rem; margin-bottom: 8px; }
    .step-card p { font-size: 0.92rem; margin-bottom: 0; }
    .step-icon {
        font-size: 1.6rem;
        color: var(--accent);
        margin-bottom: 12px;
    }
    @media (max-width: 900px) { .steps-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
    @media (max-width: 560px) { .steps-grid { grid-template-columns: 1fr; } }

    /* ===== FAQ ===== */
    .faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
    .faq-item {
        background: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-sm);
        overflow: hidden;
        transition: border-color var(--transition);
    }
    .faq-item:hover { border-color: var(--border-light); }
    .faq-question {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 18px 24px;
        font-size: 1rem;
        font-weight: 600;
        color: var(--text-primary);
        text-align: left;
        background: none;
        transition: all var(--transition);
    }
    .faq-question:hover { background: rgba(255,255,255,0.03); }
    .faq-question i { color: var(--accent); font-size: 0.9rem; transition: transform 0.3s ease; }
    .faq-item.open .faq-question i { transform: rotate(180deg); }
    .faq-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.3s ease;
        padding: 0 24px;
        color: var(--text-secondary);
        font-size: 0.95rem;
        line-height: 1.7;
    }
    .faq-item.open .faq-answer { max-height: 300px; padding: 0 24px 20px; }

    /* ===== CTA ===== */
    .cta-block {
        background: linear-gradient(135deg, var(--primary), #1e1e3a);
        border-radius: var(--radius-lg);
        padding: 56px 48px;
        text-align: center;
        border: 1px solid rgba(255,255,255,0.06);
        position: relative;
        overflow: hidden;
    }
    .cta-block::before {
        content: '';
        position: absolute;
        inset: 0;
        background: url('/assets/images/backpic/back-2.png') center/cover no-repeat;
        opacity: 0.06;
        mix-blend-mode: overlay;
    }
    .cta-block .container { position: relative; z-index: 2; }
    .cta-block h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 12px; }
    .cta-block p { color: var(--text-secondary); max-width: 520px; margin: 0 auto 24px; }
    .cta-block .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

    /* ===== Buttons ===== */
    .btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 14px 32px;
        border-radius: 50px;
        font-weight: 600;
        font-size: 0.95rem;
        transition: all var(--transition);
        border: none;
        cursor: pointer;
        text-decoration: none;
        line-height: 1.2;
    }
    .btn-primary {
        background: var(--accent);
        color: #fff;
        box-shadow: 0 4px 25px rgba(233,69,96,0.35);
    }
    .btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 8px 35px rgba(233,69,96,0.4); color: #fff; }
    .btn-secondary {
        background: rgba(255,255,255,0.08);
        color: var(--text-primary);
        border: 1px solid rgba(255,255,255,0.12);
    }
    .btn-secondary:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); color: var(--text-primary); }
    .btn-sm { padding: 10px 22px; font-size: 0.85rem; }

    /* ===== Tags / Badges ===== */
    .tag-group { display: flex; flex-wrap: wrap; gap: 8px; }
    .tag {
        display: inline-block;
        padding: 4px 14px;
        border-radius: 50px;
        font-size: 0.78rem;
        font-weight: 500;
        background: rgba(255,255,255,0.06);
        color: var(--text-secondary);
        border: 1px solid rgba(255,255,255,0.06);
        transition: all var(--transition);
    }
    .tag:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
    .badge {
        display: inline-block;
        padding: 3px 12px;
        border-radius: 50px;
        font-size: 0.72rem;
        font-weight: 600;
        letter-spacing: 0.3px;
    }
    .badge-accent { background: var(--accent); color: #fff; }
    .badge-gold { background: var(--gold); color: #1a1a2e; }

    /* ===== Statistics ===== */
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
        text-align: center;
    }
    .stat-item { padding: 24px 16px; }
    .stat-number {
        font-size: 2.4rem;
        font-weight: 800;
        background: linear-gradient(135deg, var(--accent), var(--gold));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        line-height: 1.2;
    }
    .stat-label { font-size: 0.9rem; color: var(--text-muted); margin-top: 4px; }
    @media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
    @media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr 1fr; } }

    /* ===== Divider ===== */
    .divider {
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--border-color), transparent);
        margin: 0;
        border: none;
    }

    /* ===== Footer ===== */
    .site-footer {
        background: var(--bg-dark);
        border-top: 1px solid var(--border-color);
        padding: 60px 0 30px;
    }
    .footer-grid {
        display: grid;
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 40px;
        margin-bottom: 40px;
    }
    .footer-brand .site-logo { margin-bottom: 14px; display: inline-flex; }
    .footer-brand p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 20px; max-width: 300px; }
    .footer-social { display: flex; gap: 14px; }
    .footer-social a {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: rgba(255,255,255,0.05);
        color: var(--text-secondary);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        transition: all var(--transition);
        border: 1px solid rgba(255,255,255,0.05);
    }
    .footer-social a:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-3px); }
    .footer-col h4 {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 16px;
        color: var(--text-primary);
    }
    .footer-col a {
        display: block;
        color: var(--text-muted);
        font-size: 0.88rem;
        padding: 5px 0;
        transition: all var(--transition);
    }
    .footer-col a:hover { color: var(--accent); padding-left: 4px; }
    .footer-col a i { width: 20px; color: var(--accent); }
    .footer-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 24px;
        border-top: 1px solid var(--border-color);
        font-size: 0.84rem;
        color: var(--text-muted);
        flex-wrap: wrap;
        gap: 12px;
    }
    .footer-bottom a { color: var(--text-muted); }
    .footer-bottom a:hover { color: var(--accent); }
    @media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } .footer-brand { grid-column: 1 / -1; } }
    @media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } .footer-bottom { flex-direction: column; text-align: center; } }

    /* ===== Utility ===== */
    .text-center { text-align: center; }
    .mt-8 { margin-top: 8px; }
    .mt-16 { margin-top: 16px; }
    .mt-24 { margin-top: 24px; }
    .mt-32 { margin-top: 32px; }
    .mb-16 { margin-bottom: 16px; }
    .mb-24 { margin-bottom: 24px; }
    .gap-8 { gap: 8px; }
    .flex-center { display: flex; align-items: center; justify-content: center; }
    .flex-wrap { flex-wrap: wrap; }
    .d-none { display: none; }
    @media (max-width: 768px) { .d-md-none { display: none; } }

    /* ===== Page Specific ===== */
    .login-methods {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }
    .method-card {
        background: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        padding: 28px 24px;
        text-align: center;
        transition: all var(--transition);
    }
    .method-card:hover { border-color: var(--border-light); transform: translateY(-4px); box-shadow: var(--shadow-md); }
    .method-card .icon-circle {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background: rgba(233,69,96,0.12);
        color: var(--accent);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        margin: 0 auto 14px;
    }
    .method-card h4 { margin-bottom: 6px; }
    .method-card p { font-size: 0.88rem; margin-bottom: 0; color: var(--text-muted); }

    .security-tips {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
    .tip-item {
        display: flex;
        gap: 16px;
        align-items: flex-start;
        background: var(--bg-card);
        border-radius: var(--radius-sm);
        padding: 20px 22px;
        border: 1px solid var(--border-color);
    }
    .tip-item .tip-icon { font-size: 1.4rem; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
    .tip-item h5 { font-size: 0.98rem; margin-bottom: 4px; }
    .tip-item p { font-size: 0.85rem; margin-bottom: 0; }

    @media (max-width: 768px) {
        .login-methods { grid-template-columns: 1fr 1fr; }
        .security-tips { grid-template-columns: 1fr; }
    }
    @media (max-width: 480px) { .login-methods { grid-template-columns: 1fr; } }
