/* roulang page: index */
:root {
  --bg-page: #0A0F1E;
  --bg-card: #111A2E;
  --bg-hover: #151F36;
  --bg-input: #0E1626;
  --color-primary: #00E6B8;
  --color-primary-hover: #00B891;
  --color-accent: #FF5A36;
  --color-accent-hover: #FF6B4A;
  --text-primary: #EAF0F8;
  --text-secondary: #9FB0C3;
  --text-muted: #6B7A90;
  --border: rgba(255,255,255,0.10);
  --success: #34D399;
  --warning: #FBBF24;
  --error: #F87171;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow: 0 4px 20px rgba(0,0,0,0.35);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.45);
  --transition: 0.25s ease;
  --container: 1200px;
  --spacer: 120px;
  --spacer-mobile: 64px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  background: var(--bg-page);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-hover); }
button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.highlight { color: var(--color-primary); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  background: rgba(0,230,184,0.12);
  color: var(--color-primary);
  letter-spacing: 0.3px;
  line-height: 1.6;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 32px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  border: none;
  transition: all var(--transition);
  line-height: 1;
}
.btn:focus, button:focus { outline: none; box-shadow: 0 0 0 3px rgba(0,230,184,0.35); }
.btn:active, button:active { transform: scale(0.97); }
.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
  box-shadow: 0 8px 28px rgba(255,90,54,0.35);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--text-primary);
}
.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: 0 0 20px rgba(0,230,184,0.15);
  background: rgba(0,230,184,0.06);
}
.btn-block { width: 100%; }
.btn-sm { height: 32px; padding: 0 18px; font-size: 14px; }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  z-index: 100;
  background: rgba(10,15,30,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
.site-header.scrolled {
  background: var(--bg-page);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0,230,184,0.25), rgba(0,230,184,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--color-primary);
  border: 1px solid rgba(0,230,184,0.3);
}
.brand-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav .nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 2px;
  transition: color var(--transition);
}
.main-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: width var(--transition);
}
.main-nav .nav-link:hover { color: var(--text-primary); }
.main-nav .nav-link:hover::after { width: 100%; }
.main-nav .nav-link.active { color: var(--color-primary); font-weight: 600; }
.main-nav .nav-link.active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.btn-login {
  height: 40px;
  padding: 0 20px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  transition: all var(--transition);
}
.btn-login:hover {
  background: var(--color-accent-hover);
  color: #fff;
  box-shadow: 0 8px 28px rgba(255,90,54,0.3);
  transform: translateY(-1px);
}
.btn-login:active { transform: scale(0.97); }
.mobile-brand { display: none; }

/* Bottom Tab */
.bottom-tab {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 58px;
  background: var(--bg-page);
  border-top: 1px solid var(--border);
  display: none;
  align-items: center;
  justify-content: space-around;
  z-index: 200;
  padding-bottom: env(safe-area-inset-bottom);
}
.bottom-tab .tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 48px;
  min-height: 44px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  position: relative;
  transition: all var(--transition);
}
.bottom-tab .tab-item i { font-size: 20px; transition: color var(--transition); }
.bottom-tab .tab-item.active { color: var(--color-primary); }
.bottom-tab .tab-item.active i { color: var(--color-primary); }
.bottom-tab .tab-item.active::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-primary);
}
.bottom-tab .tab-item:active { transform: scale(0.96); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background-image: url('/assets/images/backpic/back-1.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(10,15,30,0.72) 0%, rgba(10,15,30,0.85) 60%, var(--bg-page) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  top: 10%;
  right: 5%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0,230,184,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}
.hero-content { padding-right: 24px; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(0,230,184,0.1);
  border: 1px solid rgba(0,230,184,0.25);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}
.hero-kicker i { font-size: 14px; }
.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}
.hero-trust i { color: var(--color-primary); }
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,230,184,0.08);
  border: 1px solid rgba(0,230,184,0.15);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 13px;
}
.login-panel {
  background: var(--bg-card);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0,230,184,0.08);
  position: relative;
}
.login-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-primary);
}
.panel-inner { padding: 32px; }
.panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.panel-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; color: var(--text-secondary); margin-bottom: 6px; }
.form-group input {
  width: 100%;
  height: 44px;
  padding: 0 16px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14px;
  transition: all var(--transition);
}
.form-group input::placeholder { color: var(--text-muted); }
.form-group input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0,230,184,0.25);
}
.form-tips {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.protocol a { color: var(--color-primary); }
.panel-btn { width: 100%; height: 48px; }
.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 12px;
  animation: float 2s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
.scroll-indicator i { font-size: 18px; }

/* Trust Bar */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(17,26,46,0.4);
  padding: 24px 0;
}
.trust-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 16px;
  border-right: 1px solid rgba(255,255,255,0.06);
  color: var(--text-secondary);
  font-size: 14px;
}
.trust-item:last-child { border-right: none; }
.trust-item i { color: var(--color-primary); font-size: 20px; }
.trust-item strong { color: var(--text-primary); font-weight: 600; }

/* Section common */
.section { padding: var(--spacer) 0; }
.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-header .eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.section-header h2 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-primary);
}

/* Pain Points */
.pain-points { position: relative; }
.pain-points .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.pain-left .section-header { margin-bottom: 24px; }
.pain-left p { color: var(--text-secondary); font-size: 16px; line-height: 1.8; }
.pain-list { list-style: none; }
.pain-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.12);
}
.pain-item:last-child { border-bottom: none; }
.pain-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255,90,54,0.1);
  border: 1px solid rgba(255,90,54,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 16px;
}
.pain-content h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; color: var(--text-primary); }
.pain-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* Solution */
.solution { background: rgba(17,26,46,0.25); }
.solution-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
}
.solution-hero {
  grid-row: 1 / 3;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.solution-hero:hover {
  border-color: rgba(0,230,184,0.45);
  box-shadow: 0 0 26px rgba(0,230,184,0.1);
  transform: translateY(-4px);
}
.solution-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.solution-hero:hover .solution-hero-bg { transform: scale(1.03); }
.solution-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,15,30,0.92) 0%, rgba(10,15,30,0.4) 60%, rgba(10,15,30,0.1) 100%);
}
.solution-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
}
.solution-hero-content h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.solution-hero-content p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.solution-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
}
.solution-link i { transition: transform var(--transition); }
.solution-link:hover i { transform: translateX(4px); }
.solution-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all var(--transition);
  position: relative;
}
.solution-card:hover {
  border-color: rgba(0,230,184,0.35);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  transform: translateY(-4px);
}
.solution-card .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(0,230,184,0.1);
  border: 1px solid rgba(0,230,184,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 20px;
  margin-bottom: 16px;
  transition: all var(--transition);
}
.solution-card:hover .icon-wrap { box-shadow: 0 0 20px rgba(0,230,184,0.25); }
.solution-card h3 { font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.solution-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.solution-card .arrow {
  position: absolute;
  right: 16px;
  bottom: 16px;
  color: var(--text-muted);
  transition: color var(--transition), transform var(--transition);
}
.solution-card:hover .arrow { color: var(--color-primary); transform: translateX(4px); }

/* Steps */
.steps { position: relative; }
.steps .container { position: relative; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.steps-grid::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 12%;
  right: 12%;
  height: 2px;
  border-top: 2px dashed rgba(0,230,184,0.3);
  transform: translateY(-50%);
  z-index: 0;
}
.step-card {
  position: relative;
  z-index: 1;
  background: transparent;
  padding: 24px 16px 16px;
  text-align: center;
  border-bottom: 3px solid var(--color-primary);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  transition: all var(--transition);
}
.step-card:last-child { border-bottom-color: var(--color-accent); }
.step-card:hover { background: rgba(17,26,46,0.6); transform: translateY(-4px); }
.step-num {
  font-size: 56px;
  font-weight: 800;
  color: rgba(0,230,184,0.15);
  line-height: 1;
  position: absolute;
  top: 8px;
  right: 16px;
}
.step-card:last-child .step-num { color: rgba(255,90,54,0.2); }
.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 24px;
  margin: 0 auto 16px;
}
.step-card:last-child .step-icon { border-color: var(--color-accent); color: var(--color-accent); }
.step-card h3 { font-size: 17px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.step-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* Stats */
.stats {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 0;
  position: relative;
}
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
}
.stat-block {
  text-align: center;
  padding: 24px 16px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-block:last-child { border-right: none; }
.stat-num { font-size: 56px; font-weight: 800; color: var(--color-primary); line-height: 1.2; }
.stat-label { font-size: 14px; color: var(--text-secondary); margin-top: 8px; }

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,230,184,0.35);
  box-shadow: var(--shadow);
}
.testimonial-card.variant-accent {
  border-color: rgba(255,90,54,0.3);
}
.testimonial-card.variant-accent:hover { border-color: var(--color-accent); }
.stars { color: var(--warning); font-size: 14px; margin-bottom: 12px; display: flex; gap: 2px; }
.testimonial-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-style: normal;
}
.testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,230,184,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 15px;
}
.user-name { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.user-role { font-size: 12px; color: var(--text-muted); }

/* News */
.news { background: rgba(17,26,46,0.25); }
.news-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.news-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
  transition: gap var(--transition);
}
.news-more:hover { gap: 10px; }
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.news-featured {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: block;
}
.news-featured:hover {
  border-color: rgba(0,230,184,0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.news-featured .featured-cover {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.news-featured .featured-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-featured:hover .featured-cover img { transform: scale(1.03); }
.news-featured .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(10,15,30,0.8);
  backdrop-filter: blur(4px);
}
.news-featured-body { padding: 24px; }
.news-featured-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-featured-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-meta { display: flex; align-items: center; justify-content: space-between; }
.news-meta .time { font-size: 12px; color: var(--text-muted); }
.read-more { font-size: 13px; color: var(--color-primary); display: inline-flex; align-items: center; gap: 4px; }
.read-more i { transition: transform var(--transition); }
.news-featured:hover .read-more i { transform: translateX(4px); }
.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-list-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all var(--transition);
}
.news-list-item:hover {
  border-color: rgba(0,230,184,0.35);
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.news-list-item .badge { flex-shrink: 0; }
.news-list-info { flex: 1; min-width: 0; }
.news-list-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}
.news-list-info p {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-list-time { font-size: 12px; color: var(--text-muted); flex-shrink: 0; }
.news-list-item .read-more { flex-shrink: 0; }
.news-empty {
  text-align: center;
  padding: 48px 24px;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
}
.load-more-wrap { text-align: center; margin-top: 32px; }

/* FAQ */
.faq-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.faq-left .section-header { margin-bottom: 24px; }
.faq-contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-contact-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0,230,184,0.12);
  border: 1px solid rgba(0,230,184,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 18px;
}
.faq-contact-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.accordion { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: rgba(0,230,184,0.3); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: transparent;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--color-primary); }
.faq-question .icon {
  font-size: 18px;
  color: var(--text-muted);
  transition: transform var(--transition), color var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-question { color: var(--color-primary); }
.faq-item.open .faq-question .icon { transform: rotate(45deg); color: var(--color-primary); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 20px;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}
.faq-answer p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  border-top: 1px dashed rgba(255,255,255,0.08);
  padding-top: 14px;
}
.faq-answer ul { padding-left: 18px; font-size: 14px; color: var(--text-secondary); line-height: 1.8; }

/* CTA */
.cta-section {
  position: relative;
  padding: 100px 0;
  background-image: url('/assets/images/backpic/back-2.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,15,30,0.92) 0%, rgba(10,15,30,0.7) 100%);
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.cta-inner h2 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.cta-inner > p { font-size: 16px; color: var(--text-secondary); margin-bottom: 32px; }
.cta-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 32px;
  font-size: 14px;
  color: var(--text-secondary);
}
.cta-trust span { display: inline-flex; align-items: center; gap: 6px; }
.cta-trust i { color: var(--color-primary); }
.cta-trust .sep { color: var(--text-muted); opacity: 0.5; }
.cta-btn { height: 52px; padding: 0 48px; font-size: 17px; }

/* Footer */
.site-footer {
  background: #060A14;
  border-top: 1px solid var(--border);
  padding: 64px 0 120px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .brand-text { font-size: 18px; }
.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 12px;
}
.footer-nav h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}
.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--color-primary); }
.footer-contact p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 8px;
}
.footer-contact i { color: var(--color-primary); margin-right: 6px; width: 16px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-bottom .sep { margin: 0 8px; opacity: 0.4; }
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--color-primary); }

/* HTML Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-page); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-primary); }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .site-header { display: none; }
  .mobile-brand {
    display: flex;
    align-items: center;
    height: 56px;
    padding: 0 24px;
    background: rgba(10,15,30,0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
  }
  .mobile-brand .brand-text { font-size: 16px; }
  .bottom-tab { display: flex; }
  body { padding-top: 56px; padding-bottom: 58px; }
  .site-footer { padding-bottom: 80px; }
  .hero { min-height: auto; padding: 60px 0 40px; }
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 20px;
  }
  .hero-content { padding-right: 0; }
  .hero h1 { font-size: 36px; }
  .section { padding: var(--spacer-mobile) 0; }
  .pain-points .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .solution-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .solution-hero { grid-row: auto; min-height: 280px; }
  .solution-hero-content { padding: 24px; }
  .steps-grid { gap: 24px; }
  .steps-grid::before { display: none; }
  .step-card { padding: 16px 8px; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .testimonial-card { padding: 20px; }
  .news-grid { grid-template-columns: 1fr; gap: 24px; }
  .faq-row { grid-template-columns: 1fr; gap: 32px; }
  .stats .container { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .stat-num { font-size: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-section { background-attachment: scroll; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .hero { padding-top: 32px; }
  .hero h1 { font-size: 30px; line-height: 1.3; }
  .hero-sub { font-size: 15px; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; }
  .trust-bar .container { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); padding: 8px 4px; }
  .section-header h2 { font-size: 24px; }
  .section-header .eyebrow { font-size: 12px; }
  .solution-grid { grid-template-columns: 1fr; }
  .solution-hero { min-height: 220px; }
  .solution-hero-content h3 { font-size: 18px; }
  .steps-grid { grid-template-columns: 1fr; gap: 16px; }
  .step-card { padding: 16px; }
  .step-num { font-size: 48px; top: 4px; right: 12px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats .container { grid-template-columns: 1fr; gap: 8px; }
  .stat-block { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); padding: 20px 8px; }
  .stat-block:last-child { border-bottom: none; }
  .stat-num { font-size: 36px; }
  .news-featured-body { padding: 16px; }
  .news-featured-body h3 { font-size: 16px; }
  .news-list-item { flex-wrap: wrap; padding: 14px 16px; }
  .news-list-time { display: none; }
  .cta-inner h2 { font-size: 28px; }
  .cta-trust { flex-direction: column; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; justify-content: center; }
  .faq-question { font-size: 15px; padding: 14px 16px; }
  .faq-answer { padding: 0 16px; }
  .faq-item.open .faq-answer { padding-bottom: 16px; }
  .btn { height: 48px; }
  .cta-btn { width: 100%; }
  .login-panel { margin: 0 10px; }
  .panel-inner { padding: 24px; }
  .news-header { flex-direction: row; align-items: center; }
  .news-more { font-size: 13px; }
}

@media (max-width: 576px) {
  .container { padding: 0 16px; }
  .mobile-brand { padding: 0 16px; }
  .brand-icon { width: 30px; height: 30px; font-size: 14px; }
  .brand-text { font-size: 15px; }
  .hero h1 { font-size: 26px; }
  .hero-sub { font-size: 14px; }
  .section-header h2 { font-size: 22px; line-height: 1.35; }
  .subsection-title { font-size: 18px; }
  .solution-hero-content h3 { font-size: 16px; }
  .solution-hero-content p { font-size: 13px; }
  .solution-card { padding: 18px; }
  .testimonial-card { padding: 18px; }
  .news-featured-body p { font-size: 13px; }
  .news-list-info h4 { font-size: 14px; }
  .news-list-info p { font-size: 12px; }
  .cta-inner h2 { font-size: 24px; }
  .cta-inner > p { font-size: 14px; }
  .panel-title { font-size: 15px; }
  .form-group input { height: 42px; }
  .stat-num { font-size: 30px; }
  .stat-label { font-size: 12px; }
  .faq-contact-card { padding: 16px; }
  .footer-nav a { font-size: 13px; }
  .footer-brand p { font-size: 13px; }
  .footer-bottom { font-size: 12px; }
}

/* roulang page: article */
:root {
  --bg: #0A0F1E;
  --bg-secondary: #111A2E;
  --bg-hover: #151F36;
  --primary: #00E6B8;
  --primary-hover: #00B891;
  --accent: #FF5A36;
  --accent-hover: #FF6B4A;
  --text: #EAF0F8;
  --text-secondary: #9FB0C3;
  --text-muted: #6B7A90;
  --border: rgba(255, 255, 255, 0.10);
  --border-primary: rgba(0, 230, 184, 0.45);
  --success: #34D399;
  --warning: #FBBF24;
  --error: #F87171;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow-default: 0 4px 20px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 0 26px rgba(0, 230, 184, 0.10);
  --font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --transition: 0.25s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea {
  font-family: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.18); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 72px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: var(--bg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 230, 184, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border: 1px solid rgba(0, 230, 184, 0.25);
}

.brand-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 24px;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.btn-login:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 28px rgba(255, 90, 54, 0.35);
}

.btn-login:active {
  transform: scale(0.97);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 32px;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 28px rgba(255, 90, 54, 0.35);
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 28px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 20px rgba(0, 230, 184, 0.12);
}

.btn-ghost:active {
  transform: scale(0.97);
}

.article-main {
  padding: 48px 0 40px;
  position: relative;
}

.article-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 280px;
  background: radial-gradient(ellipse at 80% 20%, rgba(0, 230, 184, 0.06), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.article-main .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.breadcrumb a {
  color: var(--text-secondary);
  transition: color 0.25s ease;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb i {
  font-size: 10px;
  color: var(--text-muted);
}

.breadcrumb .current {
  color: var(--text);
  font-weight: 500;
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-header {
  max-width: 780px;
  margin: 0 auto 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.article-header h1 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  color: var(--text);
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meta-item i {
  color: var(--primary);
  font-size: 13px;
}

.meta-item .official {
  color: var(--primary);
  font-weight: 600;
}

.article-summary {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.article-body {
  max-width: 780px;
  margin: 0 auto 48px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
}

.article-body h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 48px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  line-height: 1.4;
}

.article-body h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 16px;
  line-height: 1.4;
}

.article-body h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 32px 0 12px;
  line-height: 1.4;
}

.article-body p {
  margin-bottom: 20px;
  line-height: 1.9;
}

.article-body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.25s ease;
}

.article-body a:hover {
  color: var(--primary-hover);
}

.article-body img {
  max-width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  margin: 24px 0;
  height: auto;
}

.article-body blockquote {
  border-left: 3px solid var(--primary);
  background: var(--bg-secondary);
  padding: 20px 24px;
  border-radius: 0 10px 10px 0;
  margin: 24px 0;
  color: var(--text-secondary);
}

.article-body blockquote p {
  margin-bottom: 0;
}

.article-body ul, .article-body ol {
  margin: 16px 0 24px;
  padding-left: 24px;
}

.article-body li {
  margin-bottom: 8px;
  line-height: 1.8;
}

.article-body pre {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  overflow-x: auto;
  margin: 24px 0;
  font-size: 14px;
  line-height: 1.7;
}

.article-body code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.9em;
}

.article-footer {
  max-width: 780px;
  margin: 0 auto 48px;
}

.article-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}

.tags-label {
  font-size: 14px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tags-label i {
  color: var(--primary);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  font-size: 12px;
  color: var(--primary);
  background: rgba(0, 230, 184, 0.10);
  border: 1px solid rgba(0, 230, 184, 0.20);
  border-radius: 999px;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.tag:hover {
  background: rgba(0, 230, 184, 0.18);
  border-color: var(--primary);
}

.article-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.25s ease, gap 0.25s ease;
}

.back-home:hover {
  color: var(--primary);
  gap: 12px;
}

.related-posts {
  padding: 64px 0;
  background: rgba(17, 26, 46, 0.40);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.related-posts .container {
  max-width: 1200px;
}

.related-posts h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.related-posts h2::before {
  content: '';
  width: 4px;
  height: 28px;
  background: var(--primary);
  border-radius: 2px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.related-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-primary);
  box-shadow: var(--shadow-hover);
}

.related-card .card-cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.related-card .card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-card:hover .card-cover img {
  transform: scale(1.03);
}

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
  background: rgba(10, 15, 30, 0.85);
  border: 1px solid rgba(0, 230, 184, 0.25);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.related-card .card-body {
  padding: 20px;
}

.related-card .card-body h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 12px;
  color: var(--text);
  transition: color 0.25s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-card:hover .card-body h3 {
  color: var(--primary);
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

.card-meta i {
  color: var(--primary);
  font-size: 14px;
  transition: transform 0.25s ease;
}

.related-card:hover .card-meta i {
  transform: translateX(3px);
}

.article-cta {
  position: relative;
  padding: 72px 0;
  background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
  border-bottom: 1px solid var(--border);
}

.article-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 15, 30, 0.93) 0%, rgba(10, 15, 30, 0.80) 100%);
}

.article-cta .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.article-cta h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.article-cta p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  letter-spacing: 1px;
}

.article-cta .btn-primary {
  box-shadow: 0 8px 30px rgba(255, 90, 54, 0.30);
}

.not-found {
  text-align: center;
  padding: 100px 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin: 48px 0 64px;
}

.not-found i {
  font-size: 48px;
  color: var(--primary);
  margin-bottom: 20px;
}

.not-found h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.not-found p {
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-size: 16px;
}

.not-found .btn-primary {
  display: inline-flex;
}

.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 360px;
}

.footer-nav h4,
.footer-contact h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  text-transform: none;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li {
  margin-bottom: 10px;
}

.footer-nav a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-nav a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-contact p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact i {
  color: var(--primary);
  font-size: 13px;
  width: 18px;
  text-align: center;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom .sep {
  color: var(--text-muted);
  opacity: 0.5;
}

.footer-bottom a {
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.footer-bottom a:hover {
  color: var(--primary);
}

.mobile-tabbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 58px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  display: none;
  align-items: center;
  justify-content: space-around;
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom);
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 12px;
  font-size: 12px;
  color: var(--text-muted);
  transition: color 0.25s ease, transform 0.25s ease;
  position: relative;
  min-height: 44px;
  min-width: 56px;
}

.tab-item i {
  font-size: 20px;
}

.tab-item:hover {
  color: var(--text);
}

.tab-item:active {
  transform: scale(0.96);
}

.tab-item.active {
  color: var(--primary);
}

.tab-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--primary);
}

@media (min-width: 1024px) {
  .mobile-tabbar {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .main-nav {
    display: none;
  }
  .header-actions {
    display: none;
  }
  .site-header {
    height: 60px;
  }
  .brand-text {
    font-size: 16px;
  }
  .brand-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  .mobile-tabbar {
    display: flex;
  }
  body {
    padding-bottom: 76px;
  }
  .article-main {
    padding: 32px 0 24px;
  }
  .article-header h1 {
    font-size: 28px;
  }
  .article-body h2 {
    font-size: 24px;
  }
  .article-body h3 {
    font-size: 20px;
  }
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .article-cta h2 {
    font-size: 26px;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 20px;
  }
  .breadcrumb {
    font-size: 12px;
    margin-bottom: 24px;
  }
  .breadcrumb .current {
    max-width: 180px;
  }
  .article-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
  }
  .article-header h1 {
    font-size: 24px;
    line-height: 1.45;
  }
  .article-meta {
    gap: 10px;
    font-size: 13px;
  }
  .article-summary {
    font-size: 15px;
  }
  .article-body {
    font-size: 15px;
    line-height: 1.85;
  }
  .article-body h2 {
    font-size: 22px;
  }
  .article-body h3 {
    font-size: 19px;
  }
  .related-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .related-posts {
    padding: 48px 0;
  }
  .related-posts h2 {
    font-size: 24px;
    margin-bottom: 24px;
  }
  .article-cta {
    padding: 56px 0;
  }
  .article-cta h2 {
    font-size: 22px;
  }
  .article-cta p {
    font-size: 14px;
  }
  .article-pagination {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .btn-ghost,
  .btn-primary {
    width: 100%;
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}

/* roulang page: category1 */
:root{
  --bg-page:#0A0F1E;
  --bg-panel:#111A2E;
  --bg-hover:#151F36;
  --primary:#00E6B8;
  --primary-hover:#00B891;
  --accent:#FF5A36;
  --accent-hover:#FF6B4A;
  --text-main:#EAF0F8;
  --text-sub:#9FB0C3;
  --text-weak:#6B7A90;
  --border-color:rgba(255,255,255,0.10);
  --success:#34D399;
  --warning:#FBBF24;
  --error:#F87171;
  --radius-lg:20px;
  --radius-md:14px;
  --radius-sm:10px;
  --radius-pill:999px;
  --shadow-card:0 4px 20px rgba(0,0,0,0.35);
  --shadow-glow:0 0 26px rgba(0,230,184,0.10);
  --font-stack:"PingFang SC","Microsoft YaHei","Noto Sans SC",system-ui,sans-serif;
  --transition:0.25s ease;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--font-stack);
  font-size:16px;
  line-height:1.75;
  background:var(--bg-page);
  color:var(--text-main);
  -webkit-font-smoothing:antialiased;
  min-height:100vh;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;transition:var(--transition);}
button{font-family:inherit;cursor:pointer;border:none;background:none;font-size:14px;}
input,select,textarea{font-family:inherit;}
ul,ol{list-style:none;}
.container{max-width:1200px;margin:0 auto;padding:0 24px;}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  height:48px;
  padding:0 28px;
  border-radius:var(--radius-sm);
  font-size:15px;
  font-weight:600;
  transition:var(--transition);
  white-space:nowrap;
}
.btn:focus-visible,a:focus-visible,button:focus-visible{outline:2px solid var(--primary);outline-offset:3px;}
.btn:active{transform:scale(0.97);}
.btn-primary{background:var(--accent);color:#fff;}
.btn-primary:hover{background:var(--accent-hover);box-shadow:0 8px 28px rgba(255,90,54,0.35);}
.btn-secondary{background:transparent;color:var(--text-main);border:1px solid rgba(255,255,255,0.25);}
.btn-secondary:hover{border-color:var(--primary);color:var(--primary);box-shadow:0 0 20px rgba(0,230,184,0.15);}

/* Header */
.site-header{
  position:fixed;
  top:0;left:0;right:0;
  height:72px;
  z-index:1000;
  background:rgba(10,15,30,0.85);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
  border-bottom:1px solid transparent;
  transition:var(--transition);
}
.site-header.scrolled{
  background:var(--bg-page);
  border-bottom-color:var(--border-color);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:72px;
}
.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}
.brand-icon{
  width:40px;height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(0,230,184,0.12);
  color:var(--primary);
  border:1px solid rgba(0,230,184,0.35);
  border-radius:var(--radius-sm);
  font-size:18px;
  flex-shrink:0;
}
.brand-text{
  font-size:18px;
  font-weight:700;
  color:var(--text-main);
  letter-spacing:0.02em;
  white-space:nowrap;
}
.main-nav{display:flex;align-items:center;gap:4px;}
.main-nav .nav-link{
  position:relative;
  padding:8px 16px;
  font-size:15px;
  color:var(--text-sub);
  border-radius:8px;
  transition:var(--transition);
}
.main-nav .nav-link:hover{color:var(--text-main);background:rgba(255,255,255,0.05);}
.main-nav .nav-link.active{color:var(--primary);font-weight:600;}
.main-nav .nav-link.active::after{
  content:'';
  position:absolute;
  left:16px;right:16px;bottom:2px;
  height:2px;
  background:var(--primary);
  border-radius:2px;
}
.header-actions{display:flex;align-items:center;gap:12px;}
.btn-login{
  display:inline-flex;
  align-items:center;
  gap:6px;
  height:40px;
  padding:0 20px;
  background:var(--accent);
  color:#fff;
  border-radius:var(--radius-sm);
  font-size:14px;
  font-weight:600;
  transition:var(--transition);
}
.btn-login:hover{background:var(--accent-hover);box-shadow:0 8px 28px rgba(255,90,54,0.35);transform:translateY(-1px);}
.btn-login:active{transform:scale(0.97);}

/* Bottom Tabbar */
.bottom-tabbar{
  position:fixed;
  bottom:0;left:0;right:0;
  z-index:1100;
  height:calc(58px + env(safe-area-inset-bottom));
  padding-bottom:env(safe-area-inset-bottom);
  background:var(--bg-page);
  border-top:1px solid var(--border-color);
  display:none;
}
.bottom-tabbar .tab-item{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
  font-size:12px;
  color:var(--text-weak);
  position:relative;
  transition:var(--transition);
  min-width:0;
  height:58px;
}
.bottom-tabbar .tab-item i{font-size:20px;transition:var(--transition);}
.bottom-tabbar .tab-item.active{color:var(--primary);}
.bottom-tabbar .tab-item.active::before{
  content:'';
  position:absolute;
  top:0;
  width:26px;
  height:3px;
  border-radius:0 0 4px 4px;
  background:var(--primary);
}
.bottom-tabbar .tab-item:hover{color:var(--text-main);}
.bottom-tabbar .tab-item:active{transform:scale(0.96);}

/* Hero */
.page-hero{
  position:relative;
  padding:130px 0 64px;
  min-height:380px;
  overflow:hidden;
  background:var(--bg-page);
  display:flex;
  align-items:center;
}
.hero-bg{
  position:absolute;inset:0;
  background-image:url('/assets/images/backpic/back-1.webp');
  background-size:cover;
  background-position:center;
  z-index:0;
}
.hero-shade{
  position:absolute;inset:0;
  background:linear-gradient(100deg,rgba(10,15,30,0.96) 25%,rgba(10,15,30,0.78) 60%,rgba(10,15,30,0.55) 100%);
  z-index:1;
}
.hero-grid{
  position:absolute;inset:0;
  background-image:linear-gradient(rgba(255,255,255,0.03) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,0.03) 1px,transparent 1px);
  background-size:40px 40px;
  z-index:0;
}
.hero-content{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:48px;
  width:100%;
}
.hero-left{max-width:620px;}
.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:5px 14px;
  background:rgba(0,230,184,0.12);
  border:1px solid rgba(0,230,184,0.3);
  color:var(--primary);
  font-size:13px;
  border-radius:var(--radius-pill);
  margin-bottom:18px;
}
.hero-left h1{
  font-size:44px;
  font-weight:800;
  line-height:1.28;
  margin-bottom:14px;
  letter-spacing:0.01em;
}
.hero-left h1 .highlight{color:var(--primary);}
.hero-left p{
  font-size:16px;
  line-height:1.75;
  color:var(--text-sub);
  margin-bottom:24px;
  max-width:520px;
}
.hero-actions{display:flex;gap:16px;flex-wrap:wrap;}
.hero-side{flex-shrink:0;width:290px;}
.hot-rank-card{
  background:var(--bg-panel);
  border:1px solid rgba(0,230,184,0.35);
  border-radius:var(--radius-lg);
  padding:22px 22px 12px;
  box-shadow:var(--shadow-card);
  position:relative;
  overflow:hidden;
}
.hot-rank-card::before{
  content:'';
  position:absolute;
  top:0;left:0;right:0;
  height:2px;
  background:var(--primary);
}
.rank-title{
  font-size:14px;
  font-weight:700;
  color:var(--primary);
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:12px;
}
.rank-item{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 0;
  border-bottom:1px dotted var(--border-color);
  font-size:14px;
  color:var(--text-main);
}
.rank-item:last-child{border-bottom:none;}
.rank-num{
  width:22px;height:22px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,0.07);
  border-radius:6px;
  font-size:12px;
  font-weight:700;
  color:var(--text-sub);
  flex-shrink:0;
}
.rank-item:nth-child(2) .rank-num{background:rgba(0,230,184,0.15);color:var(--primary);}
.rank-item:nth-child(3) .rank-num{background:rgba(0,230,184,0.10);color:var(--primary);}
.rank-item:first-child .rank-num{background:rgba(255,90,54,0.18);color:var(--accent);}
.hero-notch{
  position:absolute;
  right:0;bottom:0;
  width:120px;height:120px;
  background:var(--primary);
  clip-path:polygon(100% 0,100% 100%,0 100%);
  opacity:0.12;
  z-index:1;
}

/* Section base */
.section-title{
  font-size:32px;
  font-weight:800;
  line-height:1.3;
  margin-bottom:10px;
}
.section-desc{color:var(--text-sub);font-size:15px;}

/* Game library */
.game-library{padding:100px 0;background:var(--bg-page);border-bottom:1px solid var(--border-color);}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:32px;
}
.section-head-left{max-width:640px;}
.section-link{
  color:var(--primary);
  font-size:14px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  white-space:nowrap;
  font-weight:600;
}
.section-link:hover{color:var(--primary-hover);}
.section-link i{transition:transform var(--transition);}
.section-link:hover i{transform:translateX(4px);}
.filter-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom:28px;
  padding:14px 18px;
  background:var(--bg-panel);
  border:1px solid var(--border-color);
  border-radius:var(--radius-md);
}
.filter-tabs{display:flex;gap:8px;flex-wrap:wrap;}
.filter-tab{
  height:34px;
  padding:0 16px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:14px;
  color:var(--text-sub);
  background:rgba(255,255,255,0.04);
  border:1px solid transparent;
  border-radius:var(--radius-pill);
  transition:var(--transition);
}
.filter-tab:hover{color:var(--text-main);border-color:rgba(0,230,184,0.3);}
.filter-tab.active{
  background:rgba(0,230,184,0.12);
  color:var(--primary);
  border-color:rgba(0,230,184,0.35);
  font-weight:600;
}
.filter-sort{display:flex;align-items:center;gap:8px;}
.sort-label{font-size:13px;color:var(--text-weak);}
.sort-select{
  height:36px;
  padding:0 12px;
  background:var(--bg-page);
  border:1px solid var(--border-color);
  border-radius:var(--radius-sm);
  color:var(--text-main);
  font-size:14px;
  transition:var(--transition);
}
.sort-select:focus{
  outline:none;
  border-color:var(--primary);
  box-shadow:0 0 0 3px rgba(0,230,184,0.18);
}

.game-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.game-card{
  background:var(--bg-panel);
  border:1px solid var(--border-color);
  border-radius:var(--radius-lg);
  overflow:hidden;
  transition:var(--transition);
  display:flex;
  flex-direction:column;
}
.game-card:hover{
  transform:translateY(-4px);
  border-color:rgba(0,230,184,0.45);
  box-shadow:var(--shadow-glow),var(--shadow-card);
}
.game-cover{
  position:relative;
  aspect-ratio:16/9;
  overflow:hidden;
  background:var(--bg-hover);
}
.game-cover img{
  width:100%;height:100%;
  object-fit:cover;
  transition:transform 0.4s ease;
}
.game-card:hover .game-cover img{transform:scale(1.03);}
.game-tag{
  position:absolute;
  top:12px;right:12px;
  padding:3px 12px;
  font-size:12px;
  background:rgba(10,15,30,0.85);
  color:var(--primary);
  border:1px solid rgba(0,230,184,0.4);
  border-radius:var(--radius-pill);
  -webkit-backdrop-filter:blur(4px);
  backdrop-filter:blur(4px);
}
.game-tag.tag-hot{color:var(--accent);border-color:rgba(255,90,54,0.5);background:rgba(10,15,30,0.85);}
.game-info{padding:18px 20px 20px;display:flex;flex-direction:column;flex:1;}
.game-meta{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:8px;
}
.game-cat{
  font-size:12px;
  color:var(--primary);
  background:rgba(0,230,184,0.10);
  border-radius:var(--radius-pill);
  padding:2px 10px;
  display:inline-flex;
  align-items:center;
}
.game-date{font-size:12px;color:var(--text-weak);}
.game-name{
  font-size:20px;
  font-weight:700;
  margin-bottom:6px;
  line-height:1.4;
}
.game-desc{
  font-size:14px;
  color:var(--text-sub);
  margin-bottom:16px;
  flex:1;
  line-height:1.6;
}
.game-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:40px;
  font-size:14px;
  font-weight:600;
  color:var(--primary);
  border:1px solid rgba(0,230,184,0.45);
  border-radius:var(--radius-sm);
  background:rgba(0,230,184,0.06);
  transition:var(--transition);
}
.game-btn:hover{
  background:rgba(0,230,184,0.14);
  box-shadow:0 0 18px rgba(0,230,184,0.15);
  color:var(--primary);
}
.game-btn:active{transform:scale(0.97);}
.load-more-wrap{text-align:center;margin-top:44px;}
.load-more-btn{
  height:44px;
  padding:0 36px;
  font-size:14px;
  color:var(--text-sub);
  background:transparent;
  border:1px solid var(--border-color);
  border-radius:var(--radius-pill);
  transition:var(--transition);
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.load-more-btn:hover{border-color:var(--primary);color:var(--primary);box-shadow:0 0 20px rgba(0,230,184,0.12);}
.load-more-btn:active{transform:scale(0.97);}

/* Game categories */
.game-categories{
  padding:100px 0;
  background:linear-gradient(rgba(17,26,46,0.55),rgba(17,26,46,0.55));
  border-bottom:1px solid var(--border-color);
  position:relative;
  overflow:hidden;
}
.game-categories::before{
  content:'';
  position:absolute;
  top:-120px;right:-120px;
  width:380px;height:380px;
  background:radial-gradient(circle,rgba(0,230,184,0.08),transparent 70%);
}
.section-head-center{text-align:center;margin-bottom:48px;}
.section-head-center .section-title{margin-bottom:10px;}
.cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;position:relative;z-index:1;}
.cat-card{
  background:var(--bg-panel);
  border:1px solid var(--border-color);
  border-radius:var(--radius-lg);
  padding:30px 24px;
  transition:var(--transition);
}
.cat-card:hover{
  transform:translateY(-4px);
  border-color:rgba(0,230,184,0.45);
  box-shadow:var(--shadow-card);
}
.cat-icon{
  width:50px;height:50px;
  border-radius:var(--radius-md);
  background:rgba(0,230,184,0.12);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  color:var(--primary);
  margin-bottom:18px;
  transition:var(--transition);
}
.cat-card:hover .cat-icon{
  background:rgba(0,230,184,0.20);
  box-shadow:0 0 22px rgba(0,230,184,0.20);
}
.cat-card h3{font-size:18px;font-weight:700;margin-bottom:8px;}
.cat-card p{font-size:14px;color:var(--text-sub);line-height:1.7;margin-bottom:14px;}
.cat-tags{display:flex;flex-wrap:wrap;gap:6px;}
.cat-tags span{
  font-size:12px;
  color:var(--text-weak);
  background:rgba(255,255,255,0.05);
  border-radius:var(--radius-pill);
  padding:2px 10px;
}

/* Trust */
.trust-section{padding:100px 0;background:var(--bg-page);border-bottom:1px solid var(--border-color);}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-top:44px;}
.trust-item{
  background:var(--bg-panel);
  border:1px solid var(--border-color);
  border-radius:var(--radius-md);
  padding:26px 24px;
  display:flex;
  flex-direction:column;
  gap:10px;
  transition:var(--transition);
}
.trust-item:hover{
  border-color:rgba(0,230,184,0.35);
  transform:translateY(-3px);
  box-shadow:var(--shadow-card);
}
.trust-item i{font-size:26px;color:var(--primary);}
.trust-item h3{font-size:16px;font-weight:700;}
.trust-item p{font-size:14px;color:var(--text-sub);line-height:1.7;}

/* FAQ */
.faq-section{
  padding:100px 0;
  background:linear-gradient(rgba(17,26,46,0.5),rgba(17,26,46,0.5));
}
.faq-layout{
  display:grid;
  grid-template-columns:1fr 2fr;
  gap:48px;
  align-items:start;
}
.faq-left .section-title{margin-bottom:12px;}
.faq-left>p{color:var(--text-sub);font-size:15px;margin-bottom:24px;}
.faq-contact{
  display:flex;
  align-items:center;
  gap:14px;
  background:var(--bg-panel);
  border:1px solid var(--border-color);
  border-radius:var(--radius-md);
  padding:16px 18px;
  transition:var(--transition);
}
.faq-contact:hover{border-color:rgba(0,230,184,0.3);}
.contact-avatar{
  width:44px;height:44px;
  border-radius:50%;
  background:rgba(0,230,184,0.15);
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--primary);
  font-size:18px;
  flex-shrink:0;
}
.faq-contact span{font-size:14px;color:var(--text-sub);flex:1;line-height:1.6;}
.btn-mini{
  height:32px;
  padding:0 14px;
  font-size:13px;
  color:var(--primary);
  border:1px solid rgba(0,230,184,0.4);
  border-radius:var(--radius-pill);
  display:inline-flex;
  align-items:center;
  gap:6px;
  transition:var(--transition);
  white-space:nowrap;
}
.btn-mini:hover{background:rgba(0,230,184,0.10);color:var(--primary);}
.btn-mini:active{transform:scale(0.97);}
.faq-list{display:flex;flex-direction:column;gap:12px;}
.faq-item{
  background:var(--bg-panel);
  border:1px solid var(--border-color);
  border-radius:var(--radius-md);
  overflow:hidden;
  transition:var(--transition);
}
.faq-item.open{border-color:rgba(0,230,184,0.4);}
.faq-question{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:16px 20px;
  font-size:16px;
  font-weight:600;
  text-align:left;
  color:var(--text-main);
  transition:var(--transition);
  line-height:1.5;
}
.faq-question:hover{color:var(--primary);}
.faq-icon{
  width:24px;height:24px;
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:rgba(255,255,255,0.06);
  color:var(--text-sub);
  font-size:14px;
  transition:transform var(--transition);
}
.faq-item.open .faq-icon{
  transform:rotate(45deg);
  color:var(--primary);
  background:rgba(0,230,184,0.12);
}
.faq-answer{
  max-height:0;
  overflow:hidden;
  transition:max-height 0.3s ease;
}
.faq-item.open .faq-answer{max-height:240px;}
.faq-answer-inner{
  padding:0 20px 18px;
  font-size:14px;
  color:var(--text-sub);
  line-height:1.75;
}
.faq-answer-inner ul{
  padding-left:18px;
  margin-top:6px;
  list-style:disc;
}
.faq-answer-inner ul li{margin-bottom:4px;}

/* CTA */
.cta-section{
  position:relative;
  padding:110px 0;
  background-image:url('/assets/images/coverpic/cover-2.webp');
  background-size:cover;
  background-position:center;
  text-align:center;
  overflow:hidden;
}
.cta-section::before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(10,15,30,0.93),rgba(10,15,30,0.83));
}
.cta-section::after{
  content:'';
  position:absolute;
  bottom:0;left:0;
  width:100%;height:1px;
  background:var(--border-color);
}
.cta-content{position:relative;z-index:1;max-width:660px;margin:0 auto;}
.cta-content h2{
  font-size:36px;
  font-weight:800;
  margin-bottom:14px;
  line-height:1.3;
}
.cta-content h2 .highlight{color:var(--primary);}
.cta-sub{
  font-size:16px;
  color:var(--text-sub);
  margin-bottom:26px;
  line-height:1.7;
}
.cta-points{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  flex-wrap:wrap;
  margin-bottom:30px;
}
.cta-point{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:14px;
  color:var(--text-sub);
}
.cta-point i{color:var(--primary);}
.cta-actions{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;}

/* Footer */
.site-footer{
  background:#070B15;
  border-top:1px solid var(--border-color);
  padding:60px 0 30px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1.2fr;
  gap:40px;
  margin-bottom:36px;
}
.footer-brand .brand{margin-bottom:14px;}
.footer-brand p{
  font-size:14px;
  color:var(--text-sub);
  max-width:320px;
  line-height:1.7;
}
.footer-nav h4,.footer-contact h4{
  font-size:14px;
  color:var(--primary);
  font-weight:700;
  margin-bottom:14px;
}
.footer-nav li{margin-bottom:8px;}
.footer-nav a{
  font-size:14px;
  color:var(--text-sub);
  line-height:1.8;
  transition:var(--transition);
}
.footer-nav a:hover{color:var(--primary);}
.footer-contact p{font-size:14px;color:var(--text-sub);margin-bottom:6px;}
.footer-contact i{
  color:var(--primary);
  margin-right:6px;
  width:16px;
  text-align:center;
}
.footer-bottom{
  border-top:1px solid var(--border-color);
  padding-top:22px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
  font-size:13px;
  color:var(--text-weak);
}
.footer-bottom a{color:var(--text-weak);}
.footer-bottom a:hover{color:var(--primary);}
.sep{opacity:0.5;}

/* Responsive */
@media (max-width:1024px){
  .main-nav,.header-actions{display:none;}
  .bottom-tabbar{display:flex;}
  .page-hero{padding:112px 0 56px;min-height:auto;}
  .game-grid{grid-template-columns:repeat(2,1fr);}
  .cat-grid{grid-template-columns:repeat(2,1fr);}
  .trust-grid{grid-template-columns:repeat(2,1fr);}
  .faq-layout{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .site-footer{padding-bottom:calc(30px + 58px + env(safe-area-inset-bottom));}
}
@media (max-width:768px){
  .hero-content{flex-direction:column;gap:32px;}
  .hero-side{width:100%;max-width:340px;}
  .section-head{flex-direction:column;align-items:flex-start;}
  .filter-bar{flex-direction:column;align-items:stretch;}
  .filter-sort{justify-content:flex-start;}
  .footer-grid{grid-template-columns:1fr;}
  .cta-content h2{font-size:28px;}
}
@media (max-width:576px){
  .game-grid{grid-template-columns:1fr;}
  .cat-grid{grid-template-columns:1fr;}
  .trust-grid{grid-template-columns:1fr;}
  .hero-left h1{font-size:32px;}
  .btn{width:100%;}
  .hero-actions{flex-direction:column;width:100%;}
  .hero-side{max-width:none;}
  .cta-content h2{font-size:26px;}
  .faq-question{font-size:15px;padding:14px 16px;}
  .faq-answer-inner{padding:0 16px 16px;}
  .container{padding:0 18px;}
  .footer-bottom{flex-direction:column;gap:6px;text-align:center;}
}

/* roulang page: category2 */
:root {
  --bg-body: #0A0F1E;
  --bg-card: #111A2E;
  --bg-hover: #151F36;
  --bg-input: #0E1626;
  --primary: #00E6B8;
  --primary-hover: #00B891;
  --cta: #FF5A36;
  --cta-hover: #FF6B4A;
  --text-main: #EAF0F8;
  --text-sub: #9FB0C3;
  --text-muted: #6B7A90;
  --border: rgba(255,255,255,0.10);
  --success: #34D399;
  --warning: #FBBF24;
  --error: #F87171;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow-card: 0 4px 20px rgba(0,0,0,0.35);
  --shadow-glow: 0 0 26px rgba(0,230,184,0.10);
  --transition: 0.25s ease;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

::selection { background: rgba(0,230,184,0.25); }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(10,15,30,0.85); border-bottom: 1px solid var(--border); }
.site-header.scrolled { background: rgba(10,15,30,1); box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--text-main); }
.brand-icon { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(0,230,184,0.15); color: var(--primary); font-size: 18px; border: 1px solid rgba(0,230,184,0.35); }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav .nav-link { position: relative; font-size: 15px; color: var(--text-sub); padding: 8px 2px; font-weight: 500; letter-spacing: 0.02em; }
.main-nav .nav-link:hover { color: var(--text-main); }
.main-nav .nav-link.active { color: var(--primary); }
.main-nav .nav-link.active::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--primary); border-radius: 2px; }
.header-actions .btn-login { display: inline-flex; align-items: center; gap: 8px; background: var(--cta); color: #fff; font-size: 15px; font-weight: 600; padding: 10px 24px; border-radius: var(--radius-sm); border: none; transition: all var(--transition); }
.header-actions .btn-login:hover { background: var(--cta-hover); box-shadow: 0 8px 28px rgba(255,90,54,0.35); transform: translateY(-1px); }
.header-actions .btn-login:active { transform: scale(0.97); }

/* Mobile bottom nav */
.mobile-tab { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 100; background: rgba(14,22,38,0.98); border-top: 1px solid var(--border); padding-bottom: env(safe-area-inset-bottom); height: calc(58px + env(safe-area-inset-bottom)); }
.tab-nav { display: flex; align-items: center; justify-content: space-around; height: 100%; }
.tab-link { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 12px; color: var(--text-muted); position: relative; padding: 4px 16px; min-height: 44px; justify-content: center; transition: color var(--transition); }
.tab-link i { font-size: 20px; }
.tab-link.active { color: var(--primary); }
.tab-link.active::before { content: ''; position: absolute; top: -1px; width: 28px; height: 3px; background: var(--primary); border-radius: 0 0 3px 3px; }
.tab-link:active { transform: scale(0.96); }

/* Hero */
.category-hero { position: relative; height: 320px; display: flex; align-items: center; overflow: hidden; background: url('/assets/images/backpic/back-2.png') center/cover no-repeat; }
.category-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,15,30,0.95) 0%, rgba(10,15,30,0.6) 50%, rgba(10,15,30,0.3) 100%); }
.category-hero::after { content: ''; position: absolute; top: 0; right: 0; width: 340px; height: 100%; background: radial-gradient(circle, rgba(0,230,184,0.12) 0%, transparent 70%); z-index: 1; }
.hero-shape { position: absolute; right: 10%; top: 0; width: 220px; height: 100%; background: rgba(255,90,54,0.18); transform: skewX(-12deg); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 640px; }
.hero-content h1 { font-size: 42px; font-weight: 800; line-height: 1.3; margin-bottom: 16px; color: var(--text-main); }
.hero-content h1 span { color: var(--primary); }
.hero-content p { font-size: 16px; color: var(--text-sub); max-width: 520px; }

/* Breadcrumb */
.breadcrumb { padding: 24px 0 0; font-size: 13px; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { margin: 0 8px; color: rgba(255,255,255,0.2); }
.breadcrumb .current { color: var(--text-sub); }

/* Main layout */
.guide-main { display: grid; grid-template-columns: 1fr 2.2fr; gap: 40px; padding: 48px 0 40px; align-items: start; }
.section-label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--primary); font-weight: 600; margin-bottom: 14px; }
.section-label::before { content: ''; width: 18px; height: 2px; background: var(--primary); }

/* TOC */
.toc-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 28px; position: sticky; top: 96px; }
.toc-card .toc-title { font-size: 16px; font-weight: 700; color: var(--text-main); margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.toc-card .toc-title i { color: var(--primary); }
.toc-list li { margin-bottom: 6px; }
.toc-list a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--text-sub); border-left: 2px solid transparent; transition: all var(--transition); }
.toc-list a:hover { color: var(--text-main); background: var(--bg-hover); border-left-color: var(--primary); }
.toc-list a.active { color: var(--primary); background: rgba(0,230,184,0.08); border-left-color: var(--primary); }
.toc-list a:active { transform: scale(0.98); }

/* Guide group */
.guide-groups { display: flex; flex-direction: column; gap: 36px; }
.guide-group { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; transition: border-color var(--transition), box-shadow var(--transition); }
.guide-group:hover { border-color: rgba(0,230,184,0.35); box-shadow: var(--shadow-glow); }
.guide-group h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.guide-group h3 .num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: rgba(0,230,184,0.12); color: var(--primary); border-radius: 8px; font-size: 15px; font-weight: 700; }
.guide-group .desc { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.guide-items li { padding: 16px 0; border-bottom: 1px solid var(--border); transition: all var(--transition); }
.guide-items li:last-child { border-bottom: none; padding-bottom: 0; }
.guide-items li:first-child { padding-top: 0; }
.guide-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.guide-item-info { flex: 1; min-width: 0; }
.guide-item-title { font-size: 16px; font-weight: 600; color: var(--text-main); margin-bottom: 4px; transition: color var(--transition); display: flex; align-items: center; gap: 8px; }
.guide-item-title .badge { flex-shrink: 0; font-size: 11px; padding: 2px 8px; border-radius: var(--radius-pill); background: rgba(255,90,54,0.15); color: var(--cta); font-weight: 600; }
.guide-item-title .badge-new { background: rgba(0,230,184,0.15); color: var(--primary); }
.guide-item-summary { font-size: 14px; color: var(--text-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.guide-item-meta { display: flex; align-items: center; gap: 12px; margin-top: 8px; font-size: 12px; color: var(--text-muted); }
.guide-item-link { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.05); border: 1px solid var(--border); color: var(--text-sub); font-size: 14px; transition: all var(--transition); flex-shrink: 0; }
.guide-item-link:hover { background: rgba(0,230,184,0.12); color: var(--primary); border-color: var(--primary); transform: translateX(3px); }
.guide-item-link:active { transform: scale(0.95); }
.guide-items li:hover { background: var(--bg-hover); margin: 0 -12px; padding-left: 12px; padding-right: 12px; border-radius: 8px; }
.guide-items li:hover .guide-item-title { color: var(--primary); }

/* CTA card */
.cta-card { background: var(--bg-card); border: 1px solid rgba(0,230,184,0.4); border-radius: var(--radius-lg); padding: 28px; text-align: center; margin-top: 16px; }
.cta-card .icon-circle { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(0,230,184,0.12); color: var(--primary); font-size: 24px; margin: 0 auto 16px; border: 1px solid rgba(0,230,184,0.3); }
.cta-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.cta-card p { font-size: 14px; color: var(--text-sub); margin-bottom: 18px; line-height: 1.6; }
.btn-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--cta); color: #fff; font-size: 15px; font-weight: 600; padding: 12px 28px; border-radius: var(--radius-sm); border: none; transition: all var(--transition); }
.btn-cta:hover { background: var(--cta-hover); box-shadow: 0 8px 28px rgba(255,90,54,0.35); transform: translateY(-2px); }
.btn-cta:active { transform: scale(0.96); }

/* Footer */
.site-footer { background: var(--bg-card); border-top: 1px solid var(--border); padding: 64px 0 24px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .brand { margin-bottom: 14px; font-size: 18px; }
.footer-brand p { font-size: 14px; color: var(--text-sub); line-height: 1.7; }
.footer-nav h4, .footer-contact h4 { font-size: 14px; color: var(--primary); font-weight: 700; margin-bottom: 16px; }
.footer-nav ul li { margin-bottom: 10px; }
.footer-nav ul li a { font-size: 14px; color: var(--text-sub); transition: color var(--transition); }
.footer-nav ul li a:hover { color: var(--primary); }
.footer-contact p { font-size: 14px; color: var(--text-sub); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.footer-contact p i { color: var(--primary); width: 16px; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--text-muted); }
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--primary); }
.footer-bottom .sep { opacity: 0.3; }
.page-main { padding-bottom: 0; }

/* Responsive */
@media (max-width: 1024px) {
  .main-nav { gap: 20px; }
  .guide-main { grid-template-columns: 1fr; gap: 32px; }
  .toc-card { position: static; }
}

@media (max-width: 768px) {
  .main-nav, .header-actions .btn-login { display: none; }
  .mobile-tab { display: block; }
  .header-inner { justify-content: center; }
  .category-hero { height: 240px; }
  .hero-content h1 { font-size: 28px; }
  .hero-content p { font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .site-footer { padding-bottom: 30px; }
  .page-main { padding-bottom: 80px; }
}

@media (max-width: 576px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .category-hero { height: 200px; }
  .category-hero .hero-shape { right: -30px; }
  .guide-group { padding: 20px; }
  .guide-item { flex-direction: row; }
  .guide-item-title { font-size: 14px; }
  .guide-item-summary { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .guide-item-meta { flex-wrap: wrap; gap: 6px; }
  .guide-item-link { width: 30px; height: 30px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
}
