/* roulang page: index */
/* ===== Design Variables ===== */
:root {
  --primary: #7c3aed;
  --primary-dark: #5b21b6;
  --primary-light: #a78bfa;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --accent-light: #fcd34d;
  --bg-dark: #0f0a1a;
  --bg-darker: #08040f;
  --bg-card: #1a0f2e;
  --bg-section: #0f0a1a;
  --bg-light: #f5f0ff;
  --text-white: #f8fafc;
  --text-light: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dark: #0f0a1a;
  --border-color: #2d1b4e;
  --border-light: #e2d5f5;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px 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 30px rgba(124,58,237,0.3);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container-max: 1200px;
  --header-h: 72px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  background: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: var(--primary-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button, input, textarea { font-family: inherit; font-size: inherit; outline: none; border: none; }
button { cursor: pointer; background: none; }
::selection { background: var(--primary); color: #fff; }

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 768px) {
  .container { padding: 0 16px; }
}

/* ===== Header / Nav ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: rgba(15, 10, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(45, 27, 78, 0.6);
  z-index: 1000;
  transition: var(--transition);
}
.header.scrolled { background: rgba(8, 4, 15, 0.98); box-shadow: 0 4px 30px rgba(0,0,0,0.5); }
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.logo i { color: var(--accent); font-size: 1.6rem; }
.logo span { background: linear-gradient(135deg, var(--primary-light), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-main { display: flex; align-items: center; gap: 8px; }
.nav-main a {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}
.nav-main a:hover { color: var(--text-white); background: rgba(124,58,237,0.15); }
.nav-main a.active { color: var(--text-white); background: rgba(124,58,237,0.25); }
.nav-main a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-search {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  height: 38px;
  transition: var(--transition);
}
.header-search:focus-within { border-color: var(--primary); background: rgba(124,58,237,0.1); }
.header-search input {
  background: none;
  border: none;
  color: var(--text-white);
  padding: 0 8px;
  width: 140px;
  font-size: 0.85rem;
}
.header-search input::placeholder { color: var(--text-muted); }
.header-search i { color: var(--text-muted); font-size: 0.9rem; }
.btn-header {
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-header-outline {
  border: 1px solid var(--border-color);
  color: var(--text-light);
  background: transparent;
}
.btn-header-outline:hover { border-color: var(--primary); color: var(--text-white); background: rgba(124,58,237,0.15); }
.btn-header-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 15px rgba(124,58,237,0.3);
}
.btn-header-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(124,58,237,0.4); }
.mobile-toggle { display: none; font-size: 1.4rem; color: var(--text-white); padding: 4px; }
@media (max-width: 768px) {
  .nav-main { display: none; }
  .header-search { display: none; }
  .btn-header { display: none; }
  .mobile-toggle { display: block; }
  .mobile-open .nav-main {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(15, 10, 26, 0.98);
    backdrop-filter: blur(20px);
    padding: 16px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border-color);
  }
  .mobile-open .nav-main a { padding: 12px 16px; width: 100%; }
  .mobile-open .header-actions .header-search,
  .mobile-open .header-actions .btn-header { display: flex; }
}

/* ===== Hero ===== */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
  margin-top: var(--header-h);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,10,26,0.92) 0%, rgba(15,10,26,0.7) 50%, rgba(124,58,237,0.25) 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 680px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: var(--radius-xl);
  padding: 6px 18px;
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}
.hero-badge i { font-size: 0.75rem; }
.hero h1 {
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero h1 .highlight { background: linear-gradient(135deg, var(--primary-light), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-hero {
  padding: 14px 36px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-hero-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 8px 30px rgba(124,58,237,0.35);
}
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(124,58,237,0.45); color: #fff; }
.btn-hero-secondary {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-color);
  color: var(--text-light);
}
.btn-hero-secondary:hover { border-color: var(--primary); color: var(--text-white); background: rgba(124,58,237,0.15); transform: translateY(-3px); }
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(45,27,78,0.5);
}
.hero-stat h3 { font-size: 2rem; font-weight: 800; color: var(--text-white); }
.hero-stat h3 i { color: var(--accent); font-size: 1.2rem; margin-right: 4px; }
.hero-stat p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
@media (max-width: 768px) {
  .hero { min-height: 70vh; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-stat h3 { font-size: 1.5rem; }
}
@media (max-width: 520px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; }
  .btn-hero { justify-content: center; }
}

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-darker); }
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.section-header h2 i { color: var(--accent); margin-right: 8px; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; }
.section-tag {
  display: inline-block;
  background: rgba(124,58,237,0.12);
  color: var(--primary-light);
  padding: 4px 14px;
  border-radius: var(--radius-xl);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-header h2 { font-size: 1.8rem; }
}

/* ===== Cards Grid ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition);
}
.card:hover { transform: translateY(-6px); border-color: rgba(124,58,237,0.4); box-shadow: var(--shadow-lg); }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(124,58,237,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 18px;
}
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; color: var(--text-white); }
.card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: 0.85rem; color: var(--primary-light); }
.card-link:hover { color: var(--accent); gap: 10px; }

/* ===== Feature / Cover Cards ===== */
.cover-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.cover-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(124,58,237,0.3); }
.cover-card .cover-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}
.cover-card .cover-body { padding: 20px 22px 24px; }
.cover-card .cover-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.cover-card .cover-body p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 12px; }
.cover-card .cover-tag {
  display: inline-block;
  background: rgba(245,158,11,0.1);
  color: var(--accent);
  padding: 2px 12px;
  border-radius: var(--radius-xl);
  font-size: 0.7rem;
  font-weight: 600;
}

/* ===== Info List ===== */
.info-list { display: flex; flex-direction: column; gap: 16px; }
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.info-item:hover { border-color: rgba(124,58,237,0.3); }
.info-item i { color: var(--accent); font-size: 1.2rem; margin-top: 3px; flex-shrink: 0; }
.info-item h4 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.info-item p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ===== News / CMS List ===== */
.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.news-item:hover { border-color: rgba(124,58,237,0.3); transform: translateX(4px); }
.news-item .news-meta { flex-shrink: 0; text-align: center; min-width: 60px; }
.news-item .news-meta .day { font-size: 1.5rem; font-weight: 800; color: var(--accent); line-height: 1; }
.news-item .news-meta .mon { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; }
.news-item .news-info { flex: 1; min-width: 0; }
.news-item .news-info h4 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-item .news-info p { font-size: 0.85rem; color: var(--text-muted); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-item .news-cat {
  flex-shrink: 0;
  padding: 4px 14px;
  background: rgba(124,58,237,0.12);
  color: var(--primary-light);
  border-radius: var(--radius-xl);
  font-size: 0.7rem;
  font-weight: 600;
}
@media (max-width: 768px) {
  .news-item { flex-wrap: wrap; gap: 12px; }
  .news-item .news-meta { min-width: 50px; }
  .news-item .news-meta .day { font-size: 1.2rem; }
  .news-item .news-info h4 { white-space: normal; }
  .news-item .news-info p { white-space: normal; }
}

/* ===== Data / Stats ===== */
.data-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.data-card {
  text-align: center;
  padding: 32px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.data-card:hover { border-color: rgba(124,58,237,0.4); transform: translateY(-4px); }
.data-card .num { font-size: 2.8rem; font-weight: 900; background: linear-gradient(135deg, var(--primary-light), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.data-card .label { font-size: 0.85rem; color: var(--text-muted); margin-top: 6px; }
@media (max-width: 768px) {
  .data-grid { grid-template-columns: repeat(2, 1fr); }
  .data-card .num { font-size: 2rem; }
}

/* ===== 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: var(--transition);
}
.faq-item:hover { border-color: rgba(124,58,237,0.3); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-white);
  cursor: pointer;
  transition: var(--transition);
}
.faq-question i { color: var(--accent); transition: var(--transition); font-size: 0.9rem; }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer {
  padding: 0 22px 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  display: none;
}
.faq-item.active .faq-answer { display: block; }

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(245,158,11,0.05)), url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
  padding: 80px 0;
  text-align: center;
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15,10,26,0.7);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { font-size: 2.4rem; font-weight: 800; margin-bottom: 12px; }
.cta-section p { color: var(--text-light); max-width: 500px; margin: 0 auto 28px; font-size: 1.05rem; }
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #0f0a1a;
  font-weight: 700;
  font-size: 1.05rem;
  transition: var(--transition);
  box-shadow: 0 8px 30px rgba(245,158,11,0.35);
}
.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(245,158,11,0.45); color: #0f0a1a; }
@media (max-width: 768px) {
  .cta-section h2 { font-size: 1.8rem; }
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); max-width: 300px; line-height: 1.8; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  transition: var(--transition);
}
.footer-social a:hover { border-color: var(--primary); color: var(--primary-light); background: rgba(124,58,237,0.1); }
.footer-col h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 16px; color: var(--text-white); }
.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-col a:hover { color: var(--primary-light); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(45,27,78,0.4);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }
.footer-bottom a { color: var(--text-muted); font-size: 0.8rem; }
.footer-bottom a:hover { color: var(--primary-light); }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary-light); }
.breadcrumb i { font-size: 0.7rem; color: var(--text-muted); }

/* ===== Page Banner ===== */
.page-banner {
  margin-top: var(--header-h);
  padding: 60px 0;
  background: url('/assets/images/backpic/back-3.png') center center / cover no-repeat;
  position: relative;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,10,26,0.88), rgba(124,58,237,0.3));
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { font-size: 2.4rem; font-weight: 800; margin-bottom: 8px; }
.page-banner p { color: var(--text-light); font-size: 1.05rem; max-width: 600px; }

/* ===== Article Content ===== */
.article-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0 80px;
}
.article-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 16px 0 24px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 28px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.article-meta i { margin-right: 4px; }
.article-body { font-size: 1.05rem; line-height: 2; color: var(--text-light); }
.article-body p { margin-bottom: 1.2em; }
.article-body img { border-radius: var(--radius-md); margin: 24px 0; }
.article-body h2, .article-body h3 { color: var(--text-white); margin: 1.5em 0 0.5em; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 1.2em; }
.article-body li { margin-bottom: 6px; list-style: disc; }
.article-body a { color: var(--primary-light); text-decoration: underline; }
.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}
.article-nav a { font-size: 0.9rem; color: var(--text-muted); }
.article-nav a:hover { color: var(--primary-light); }
@media (max-width: 768px) {
  .article-wrap { padding: 24px 0 56px; }
  .article-body { font-size: 0.95rem; }
}

/* ===== Not Found ===== */
.not-found {
  text-align: center;
  padding: 80px 20px;
}
.not-found i { font-size: 4rem; color: var(--text-muted); margin-bottom: 20px; }
.not-found h2 { font-size: 2rem; margin-bottom: 12px; }
.not-found p { color: var(--text-muted); margin-bottom: 24px; }

/* ===== Empty State ===== */
.empty-state {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== Utility ===== */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }

/* roulang page: category1 */
/* ===== Design Variables ===== */
        :root {
            --primary: #e53935;
            --primary-dark: #c62828;
            --primary-light: #ff6f60;
            --secondary: #1a1a2e;
            --accent: #ffd54f;
            --accent-dark: #f9a825;
            --bg-dark: #0d0d1a;
            --bg-mid: #16162a;
            --bg-card: #1e1e3a;
            --bg-card-hover: #282850;
            --text-light: #f5f5f5;
            --text-muted: #b0b0c8;
            --text-dim: #7a7a9a;
            --border-color: #2a2a50;
            --border-light: #3a3a60;
            --radius-sm: 6px;
            --radius-md: 12px;
            --radius-lg: 20px;
            --radius-xl: 28px;
            --shadow-sm: 0 2px 8px 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 30px rgba(229, 57, 53, 0.25);
            --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            --space-xs: 8px;
            --space-sm: 16px;
            --space-md: 32px;
            --space-lg: 56px;
            --space-xl: 80px;
            --max-width: 1200px;
        }

        /* ===== Reset & Base ===== */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
        }

        body {
            font-family: var(--font-sans);
            font-size: 16px;
            line-height: 1.7;
            color: var(--text-light);
            background: var(--bg-dark);
            min-height: 100vh;
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: color var(--transition);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        button,
        input,
        select,
        textarea {
            font-family: inherit;
            font-size: inherit;
            border: none;
            outline: none;
            background: none;
            color: inherit;
        }

        button {
            cursor: pointer;
        }

        ul,
        ol {
            list-style: none;
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            line-height: 1.25;
            font-weight: 700;
            color: #fff;
        }

        /* ===== Container ===== */
        .container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 var(--space-sm);
        }

        /* ===== Header & Navigation ===== */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(13, 13, 26, 0.92);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--border-color);
            transition: background var(--transition), box-shadow var(--transition);
        }

        .header.scrolled {
            background: rgba(13, 13, 26, 0.98);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
        }

        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 68px;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 var(--space-sm);
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 22px;
            font-weight: 800;
            color: #fff;
            letter-spacing: -0.5px;
            flex-shrink: 0;
        }

        .logo i {
            color: var(--primary);
            font-size: 26px;
        }

        .logo span {
            background: linear-gradient(135deg, #fff 60%, var(--primary-light));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .nav-main {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .nav-main a {
            padding: 8px 18px;
            border-radius: var(--radius-sm);
            font-size: 15px;
            font-weight: 500;
            color: var(--text-muted);
            transition: all var(--transition);
            position: relative;
        }

        .nav-main a:hover {
            color: #fff;
            background: rgba(255, 255, 255, 0.06);
        }

        .nav-main a.active {
            color: #fff;
            background: rgba(229, 57, 53, 0.2);
        }

        .nav-main a.active::after {
            content: '';
            position: absolute;
            bottom: 2px;
            left: 50%;
            transform: translateX(-50%);
            width: 20px;
            height: 3px;
            border-radius: 2px;
            background: var(--primary);
        }

        .nav-actions {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-shrink: 0;
        }

        .search-box {
            display: flex;
            align-items: center;
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid var(--border-color);
            border-radius: 100px;
            padding: 0 16px;
            height: 40px;
            transition: all var(--transition);
            width: 200px;
        }

        .search-box:focus-within {
            border-color: var(--primary);
            background: rgba(255, 255, 255, 0.1);
            box-shadow: 0 0 20px rgba(229, 57, 53, 0.1);
        }

        .search-box i {
            color: var(--text-dim);
            font-size: 14px;
            margin-right: 10px;
        }

        .search-box input {
            flex: 1;
            background: none;
            border: none;
            color: #fff;
            font-size: 14px;
            height: 100%;
        }

        .search-box input::placeholder {
            color: var(--text-dim);
        }

        .btn-login {
            padding: 8px 20px;
            border-radius: 100px;
            font-size: 14px;
            font-weight: 600;
            color: var(--text-light);
            background: transparent;
            border: 1px solid var(--border-light);
            transition: all var(--transition);
        }

        .btn-login:hover {
            border-color: var(--text-muted);
            background: rgba(255, 255, 255, 0.05);
        }

        .btn-primary {
            padding: 10px 28px;
            border-radius: 100px;
            font-size: 14px;
            font-weight: 700;
            color: #fff;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            box-shadow: 0 4px 20px rgba(229, 57, 53, 0.35);
            transition: all var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 8px;
            border: none;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(229, 57, 53, 0.45);
        }

        .btn-primary:active {
            transform: translateY(0);
        }

        .btn-secondary {
            padding: 10px 28px;
            border-radius: 100px;
            font-size: 14px;
            font-weight: 700;
            color: #fff;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid var(--border-light);
            transition: all var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.15);
            border-color: var(--text-muted);
            transform: translateY(-2px);
        }

        .btn-outline {
            padding: 10px 28px;
            border-radius: 100px;
            font-size: 14px;
            font-weight: 700;
            color: var(--primary);
            border: 2px solid var(--primary);
            background: transparent;
            transition: all var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .btn-outline:hover {
            background: var(--primary);
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(229, 57, 53, 0.3);
        }

        /* Mobile menu toggle */
        .menu-toggle {
            display: none;
            flex-direction: column;
            gap: 5px;
            padding: 4px;
            background: none;
            border: none;
            cursor: pointer;
        }

        .menu-toggle span {
            display: block;
            width: 24px;
            height: 2px;
            background: #fff;
            border-radius: 2px;
            transition: all var(--transition);
        }

        /* ===== Hero / Banner ===== */
        .page-banner {
            position: relative;
            padding: 140px 0 80px;
            background: var(--bg-mid);
            overflow: hidden;
            min-height: 360px;
            display: flex;
            align-items: center;
        }

        .page-banner::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
            opacity: 0.25;
            z-index: 0;
        }

        .page-banner .container {
            position: relative;
            z-index: 1;
            text-align: center;
        }

        .page-banner h1 {
            font-size: 52px;
            font-weight: 900;
            letter-spacing: -1px;
            margin-bottom: 16px;
            background: linear-gradient(135deg, #fff 50%, var(--primary-light));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .page-banner p {
            font-size: 19px;
            color: var(--text-muted);
            max-width: 680px;
            margin: 0 auto 28px;
            line-height: 1.6;
        }

        .page-banner .banner-tags {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 12px;
        }

        .page-banner .tag {
            padding: 6px 18px;
            border-radius: 100px;
            font-size: 13px;
            font-weight: 500;
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid var(--border-light);
            color: var(--text-muted);
            transition: all var(--transition);
        }

        .page-banner .tag:hover {
            border-color: var(--primary);
            color: #fff;
            background: rgba(229, 57, 53, 0.15);
        }

        .page-banner .tag i {
            margin-right: 6px;
            color: var(--primary);
        }

        /* ===== Section通用 ===== */
        .section {
            padding: var(--space-xl) 0;
        }

        .section-alt {
            background: var(--bg-mid);
        }

        .section-dark {
            background: var(--bg-dark);
        }

        .section-title {
            text-align: center;
            margin-bottom: var(--space-lg);
        }

        .section-title h2 {
            font-size: 36px;
            font-weight: 800;
            letter-spacing: -0.5px;
            margin-bottom: 12px;
        }

        .section-title h2 i {
            color: var(--primary);
            margin-right: 10px;
        }

        .section-title p {
            font-size: 17px;
            color: var(--text-muted);
            max-width: 560px;
            margin: 0 auto;
        }

        .section-title .overline {
            display: inline-block;
            font-size: 13px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: var(--primary);
            margin-bottom: 8px;
        }

        /* ===== Mode Cards ===== */
        .mode-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }

        .mode-card {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            padding: 36px 28px 32px;
            transition: all var(--transition);
            position: relative;
            overflow: hidden;
        }

        .mode-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            opacity: 0;
            transition: opacity var(--transition);
        }

        .mode-card:hover::before {
            opacity: 1;
        }

        .mode-card:hover {
            border-color: var(--border-light);
            transform: translateY(-6px);
            box-shadow: var(--shadow-lg), var(--shadow-glow);
            background: var(--bg-card-hover);
        }

        .mode-card .icon-wrap {
            width: 56px;
            height: 56px;
            border-radius: var(--radius-md);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            margin-bottom: 20px;
            background: rgba(229, 57, 53, 0.15);
            color: var(--primary);
        }

        .mode-card h3 {
            font-size: 22px;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .mode-card p {
            color: var(--text-muted);
            font-size: 15px;
            line-height: 1.6;
            margin-bottom: 16px;
        }

        .mode-card .meta {
            display: flex;
            align-items: center;
            gap: 16px;
            font-size: 13px;
            color: var(--text-dim);
        }

        .mode-card .meta i {
            margin-right: 4px;
        }

        .mode-card .meta .badge {
            padding: 2px 12px;
            border-radius: 100px;
            font-size: 12px;
            font-weight: 600;
            background: rgba(255, 213, 79, 0.15);
            color: var(--accent);
        }

        .mode-card .btn-link {
            margin-top: 16px;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: var(--primary);
            font-weight: 600;
            font-size: 14px;
            transition: gap var(--transition);
        }

        .mode-card .btn-link:hover {
            gap: 12px;
        }

        /* ===== Featured Content ===== */
        .featured-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 28px;
        }

        .featured-card {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            overflow: hidden;
            transition: all var(--transition);
        }

        .featured-card:hover {
            border-color: var(--border-light);
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
        }

        .featured-card .card-img {
            height: 200px;
            background: var(--bg-mid);
            position: relative;
            overflow: hidden;
        }

        .featured-card .card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .featured-card:hover .card-img img {
            transform: scale(1.05);
        }

        .featured-card .card-img .overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 16px 20px;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
        }

        .featured-card .card-img .overlay .badge {
            padding: 4px 14px;
            border-radius: 100px;
            font-size: 12px;
            font-weight: 600;
            background: var(--primary);
            color: #fff;
        }

        .featured-card .card-body {
            padding: 24px 24px 28px;
        }

        .featured-card .card-body h3 {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .featured-card .card-body p {
            color: var(--text-muted);
            font-size: 15px;
            line-height: 1.6;
            margin-bottom: 16px;
        }

        .featured-card .card-body .card-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 13px;
            color: var(--text-dim);
        }

        .featured-card .card-body .card-meta .author {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .featured-card .card-body .card-meta .author i {
            font-size: 18px;
            color: var(--text-muted);
        }

        /* ===== Rankings / Stats ===== */
        .rank-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }

        .rank-item {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            padding: 24px 20px;
            text-align: center;
            transition: all var(--transition);
        }

        .rank-item:hover {
            border-color: var(--border-light);
            transform: translateY(-3px);
            box-shadow: var(--shadow-sm);
        }

        .rank-item .num {
            font-size: 32px;
            font-weight: 900;
            color: var(--primary);
            line-height: 1;
            margin-bottom: 4px;
        }

        .rank-item .num .medal {
            font-size: 20px;
        }

        .rank-item h4 {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 4px;
        }

        .rank-item .stat {
            font-size: 13px;
            color: var(--text-dim);
        }

        .rank-item .stat i {
            color: var(--accent);
            margin-right: 4px;
        }

        /* ===== Rules / Steps ===== */
        .rules-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
        }

        .rule-step {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            padding: 32px 28px;
            position: relative;
            transition: all var(--transition);
        }

        .rule-step:hover {
            border-color: var(--border-light);
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
        }

        .rule-step .step-num {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            font-weight: 800;
            color: #fff;
            margin-bottom: 16px;
        }

        .rule-step h3 {
            font-size: 19px;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .rule-step p {
            color: var(--text-muted);
            font-size: 15px;
            line-height: 1.6;
        }

        /* ===== FAQ ===== */
        .faq-list {
            max-width: 780px;
            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-md);
            overflow: hidden;
            transition: border-color var(--transition);
        }

        .faq-item:hover {
            border-color: var(--border-light);
        }

        .faq-item .faq-q {
            padding: 20px 24px;
            font-size: 16px;
            font-weight: 600;
            color: #fff;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background var(--transition);
            user-select: none;
        }

        .faq-item .faq-q:hover {
            background: rgba(255, 255, 255, 0.03);
        }

        .faq-item .faq-q i {
            color: var(--primary);
            transition: transform var(--transition);
            font-size: 14px;
        }

        .faq-item.open .faq-q i {
            transform: rotate(180deg);
        }

        .faq-item .faq-a {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.35s ease, padding 0.35s ease;
            padding: 0 24px;
            color: var(--text-muted);
            font-size: 15px;
            line-height: 1.7;
        }

        .faq-item.open .faq-a {
            max-height: 300px;
            padding: 0 24px 20px;
        }

        /* ===== CTA ===== */
        .cta-section {
            background: var(--bg-mid);
            border-top: 1px solid var(--border-color);
            border-bottom: 1px solid var(--border-color);
            padding: var(--space-lg) 0;
            text-align: center;
        }

        .cta-section h2 {
            font-size: 34px;
            font-weight: 800;
            margin-bottom: 12px;
        }

        .cta-section p {
            font-size: 17px;
            color: var(--text-muted);
            max-width: 520px;
            margin: 0 auto 28px;
        }

        .cta-section .cta-btns {
            display: flex;
            justify-content: center;
            gap: 16px;
            flex-wrap: wrap;
        }

        /* ===== Footer ===== */
        .footer {
            background: var(--bg-dark);
            border-top: 1px solid var(--border-color);
            padding: var(--space-lg) 0 0;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.8fr 1fr 1fr 1fr;
            gap: 40px;
            padding-bottom: var(--space-md);
        }

        .footer-brand .logo {
            font-size: 20px;
            margin-bottom: 12px;
        }

        .footer-brand p {
            font-size: 14px;
            color: var(--text-dim);
            line-height: 1.7;
            margin-bottom: 16px;
        }

        .footer-social {
            display: flex;
            gap: 12px;
        }

        .footer-social a {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--border-color);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            color: var(--text-muted);
            transition: all var(--transition);
        }

        .footer-social a:hover {
            background: var(--primary);
            border-color: var(--primary);
            color: #fff;
            transform: translateY(-2px);
        }

        .footer-col h4 {
            font-size: 15px;
            font-weight: 700;
            margin-bottom: 16px;
            color: #fff;
        }

        .footer-col a {
            display: block;
            font-size: 14px;
            color: var(--text-dim);
            padding: 5px 0;
            transition: color var(--transition);
        }

        .footer-col a:hover {
            color: var(--primary-light);
        }

        .footer-bottom {
            border-top: 1px solid var(--border-color);
            padding: 20px 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 12px;
            font-size: 13px;
            color: var(--text-dim);
        }

        .footer-bottom a {
            color: var(--text-muted);
        }

        .footer-bottom a:hover {
            color: var(--primary-light);
        }

        /* ===== Responsive ===== */
        @media (max-width: 1024px) {
            .mode-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .rank-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .rules-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 32px;
            }
            .featured-grid {
                grid-template-columns: 1fr;
            }
            .search-box {
                width: 140px;
            }
            .page-banner h1 {
                font-size: 40px;
            }
        }

        @media (max-width: 768px) {
            .nav-main {
                display: none;
                position: absolute;
                top: 68px;
                left: 0;
                right: 0;
                background: rgba(13, 13, 26, 0.98);
                border-bottom: 1px solid var(--border-color);
                flex-direction: column;
                padding: 16px 20px;
                gap: 4px;
            }
            .nav-main.open {
                display: flex;
            }
            .nav-main a {
                padding: 12px 16px;
                width: 100%;
                border-radius: var(--radius-sm);
            }
            .nav-main a.active::after {
                display: none;
            }
            .nav-main a.active {
                background: rgba(229, 57, 53, 0.2);
            }
            .menu-toggle {
                display: flex;
            }
            .nav-actions .search-box {
                display: none;
            }
            .nav-actions .btn-login {
                display: none;
            }
            .header-inner {
                height: 60px;
            }
            .page-banner {
                padding: 110px 0 56px;
                min-height: 280px;
            }
            .page-banner h1 {
                font-size: 30px;
            }
            .page-banner p {
                font-size: 16px;
            }
            .section {
                padding: var(--space-lg) 0;
            }
            .section-title h2 {
                font-size: 28px;
            }
            .mode-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }
            .rank-grid {
                grid-template-columns: 1fr 1fr;
                gap: 12px;
            }
            .rules-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }
            .featured-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }
            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
            .cta-section h2 {
                font-size: 26px;
            }
            .featured-card .card-img {
                height: 160px;
            }
            .rank-item .num {
                font-size: 26px;
            }
        }

        @media (max-width: 520px) {
            .page-banner h1 {
                font-size: 24px;
            }
            .page-banner p {
                font-size: 14px;
            }
            .section-title h2 {
                font-size: 22px;
            }
            .mode-card {
                padding: 24px 20px;
            }
            .rank-grid {
                grid-template-columns: 1fr 1fr;
                gap: 10px;
            }
            .rank-item {
                padding: 16px 12px;
            }
            .rank-item .num {
                font-size: 22px;
            }
            .btn-primary,
            .btn-secondary,
            .btn-outline {
                padding: 8px 20px;
                font-size: 13px;
            }
            .footer-grid {
                gap: 20px;
            }
            .featured-card .card-body {
                padding: 16px 18px 20px;
            }
        }

/* roulang page: article */
/* ===== Design Variables ===== */
    :root {
      --primary: #d4a030;
      --primary-light: #f0c040;
      --primary-dark: #b8860b;
      --secondary: #e63946;
      --secondary-light: #ff6b6b;
      --bg-dark: #0a0a16;
      --bg-surface: #12122a;
      --bg-card: #1a1a34;
      --bg-elevated: #222240;
      --text-primary: #f0f0f5;
      --text-secondary: #a0a0b8;
      --text-muted: #6a6a82;
      --border-color: #2a2a4a;
      --border-light: #3a3a5a;
      --radius-sm: 8px;
      --radius-md: 14px;
      --radius-lg: 20px;
      --radius-xl: 28px;
      --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
      --shadow-md: 0 6px 24px rgba(0,0,0,0.4);
      --shadow-lg: 0 12px 48px rgba(0,0,0,0.5);
      --shadow-glow: 0 0 30px rgba(212,160,48,0.15);
      --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
      --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
      --max-width: 1200px;
      --header-height: 72px;
    }

    /* ===== Reset & Base ===== */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
    body {
      font-family: var(--font-main);
      background: var(--bg-dark);
      color: var(--text-primary);
      line-height: 1.7;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }
    a { color: var(--primary-light); text-decoration: none; transition: color var(--transition); }
    a:hover { color: #fff; }
    img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-md); }
    button, input, textarea { font-family: inherit; font-size: inherit; }
    ul, ol { list-style: none; }
    h1, h2, h3, h4, h5, h6 { line-height: 1.3; font-weight: 700; color: #fff; }
    h1 { font-size: 2.4rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }
    h4 { font-size: 1.15rem; }
    p { margin-bottom: 1em; color: var(--text-secondary); }
    p:last-child { margin-bottom: 0; }
    ::selection { background: rgba(212,160,48,0.3); color: #fff; }
    :focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

    /* ===== Container ===== */
    .container {
      width: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* ===== Header / Nav ===== */
    .header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(10,10,22,0.92);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--border-color);
      height: var(--header-height);
      display: flex;
      align-items: center;
    }
    .header .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }
    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 1.35rem;
      font-weight: 800;
      color: #fff;
      letter-spacing: -0.5px;
      flex-shrink: 0;
    }
    .logo i { color: var(--primary); font-size: 1.5rem; }
    .logo span { background: linear-gradient(135deg, var(--primary-light), var(--primary-dark)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
    .logo:hover { color: #fff; }
    .logo:hover span { background: linear-gradient(135deg, #fff, var(--primary-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
    .nav-main {
      display: flex;
      align-items: center;
      gap: 8px;
      flex: 1;
      justify-content: center;
    }
    .nav-main a {
      padding: 8px 20px;
      border-radius: 40px;
      font-size: 0.9rem;
      font-weight: 500;
      color: var(--text-secondary);
      transition: all var(--transition);
      position: relative;
      white-space: nowrap;
    }
    .nav-main a:hover {
      color: #fff;
      background: rgba(255,255,255,0.06);
    }
    .nav-main a.active {
      color: #fff;
      background: rgba(212,160,48,0.15);
      box-shadow: inset 0 0 0 1px rgba(212,160,48,0.25);
    }
    .nav-main a.active::after {
      content: '';
      position: absolute;
      bottom: 2px;
      left: 50%;
      transform: translateX(-50%);
      width: 20px;
      height: 3px;
      background: var(--primary);
      border-radius: 4px;
    }
    .nav-actions {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-shrink: 0;
    }
    .nav-search {
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: 40px;
      padding: 6px 16px 6px 20px;
      display: flex;
      align-items: center;
      gap: 8px;
      transition: all var(--transition);
    }
    .nav-search:focus-within {
      border-color: var(--primary);
      box-shadow: 0 0 20px rgba(212,160,48,0.08);
    }
    .nav-search input {
      background: transparent;
      border: none;
      color: var(--text-primary);
      font-size: 0.85rem;
      width: 120px;
      outline: none;
      padding: 4px 0;
    }
    .nav-search input::placeholder { color: var(--text-muted); }
    .nav-search i { color: var(--text-muted); font-size: 0.85rem; }
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 24px;
      border-radius: 40px;
      font-weight: 600;
      font-size: 0.88rem;
      border: none;
      cursor: pointer;
      transition: all var(--transition);
      white-space: nowrap;
      text-decoration: none;
    }
    .btn-primary {
      background: linear-gradient(135deg, var(--primary), var(--primary-dark));
      color: #0a0a16;
    }
    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 28px rgba(212,160,48,0.3);
      color: #0a0a16;
    }
    .btn-outline {
      background: transparent;
      border: 1px solid var(--border-light);
      color: var(--text-primary);
    }
    .btn-outline:hover {
      border-color: var(--primary);
      color: #fff;
      transform: translateY(-1px);
    }
    .btn-sm { padding: 6px 16px; font-size: 0.8rem; }
    .btn-lg { padding: 14px 36px; font-size: 1rem; }
    .menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; padding: 4px; }

    /* ===== Breadcrumb ===== */
    .breadcrumb {
      padding: 20px 0 0;
      font-size: 0.85rem;
      color: var(--text-muted);
    }
    .breadcrumb a { color: var(--text-muted); }
    .breadcrumb a:hover { color: var(--primary-light); }
    .breadcrumb span { color: var(--text-secondary); }
    .breadcrumb i { margin: 0 8px; font-size: 0.65rem; opacity: 0.5; }

    /* ===== Article Hero / Header ===== */
    .article-header {
      padding: 40px 0 32px;
      border-bottom: 1px solid var(--border-color);
    }
    .article-header .cat-tag {
      display: inline-block;
      background: rgba(212,160,48,0.12);
      color: var(--primary-light);
      padding: 4px 16px;
      border-radius: 40px;
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.3px;
      margin-bottom: 16px;
      border: 1px solid rgba(212,160,48,0.2);
    }
    .article-header h1 {
      font-size: 2.6rem;
      margin-bottom: 16px;
      letter-spacing: -0.5px;
      line-height: 1.25;
    }
    .article-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      align-items: center;
      color: var(--text-muted);
      font-size: 0.88rem;
    }
    .article-meta i { margin-right: 6px; color: var(--primary); opacity: 0.7; }
    .article-meta span { display: inline-flex; align-items: center; }

    /* ===== Article Cover ===== */
    .article-cover {
      margin: 32px 0;
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-lg);
      max-height: 480px;
      object-fit: cover;
      width: 100%;
      background: var(--bg-surface);
    }

    /* ===== Article Body ===== */
    .article-body-wrapper {
      display: grid;
      grid-template-columns: 1fr 300px;
      gap: 48px;
      padding: 40px 0 60px;
    }
    .article-body {
      font-size: 1.05rem;
      line-height: 1.85;
      color: var(--text-secondary);
    }
    .article-body h2 { margin-top: 40px; margin-bottom: 16px; color: #fff; font-size: 1.6rem; }
    .article-body h3 { margin-top: 32px; margin-bottom: 12px; color: #fff; font-size: 1.25rem; }
    .article-body p { margin-bottom: 1.4em; }
    .article-body ul, .article-body ol { margin-bottom: 1.4em; padding-left: 24px; }
    .article-body li { margin-bottom: 8px; list-style: disc; color: var(--text-secondary); }
    .article-body blockquote {
      border-left: 4px solid var(--primary);
      background: var(--bg-surface);
      padding: 20px 24px;
      margin: 28px 0;
      border-radius: 0 var(--radius-md) var(--radius-md) 0;
      color: var(--text-primary);
      font-style: italic;
    }
    .article-body a { color: var(--primary-light); text-decoration: underline; }
    .article-body a:hover { color: #fff; }
    .article-body img { margin: 28px 0; border-radius: var(--radius-md); box-shadow: var(--shadow-md); }

    /* ===== Article Tags ===== */
    .article-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 32px;
      padding-top: 24px;
      border-top: 1px solid var(--border-color);
    }
    .article-tags .tag {
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      color: var(--text-secondary);
      padding: 6px 18px;
      border-radius: 40px;
      font-size: 0.8rem;
      font-weight: 500;
      transition: all var(--transition);
    }
    .article-tags .tag:hover {
      border-color: var(--primary);
      color: var(--primary-light);
      background: rgba(212,160,48,0.08);
    }

    /* ===== Article Sidebar ===== */
    .article-sidebar {
      position: sticky;
      top: calc(var(--header-height) + 24px);
      align-self: start;
    }
    .sidebar-card {
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 24px;
      margin-bottom: 24px;
    }
    .sidebar-card h4 {
      font-size: 1rem;
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 8px;
      color: #fff;
    }
    .sidebar-card h4 i { color: var(--primary); }
    .sidebar-list li {
      padding: 10px 0;
      border-bottom: 1px solid rgba(255,255,255,0.04);
    }
    .sidebar-list li:last-child { border-bottom: none; }
    .sidebar-list a {
      color: var(--text-secondary);
      font-size: 0.88rem;
      display: flex;
      gap: 10px;
      align-items: flex-start;
      transition: color var(--transition);
    }
    .sidebar-list a:hover { color: var(--primary-light); }
    .sidebar-list .num {
      color: var(--text-muted);
      font-size: 0.75rem;
      font-weight: 700;
      min-width: 22px;
      text-align: right;
    }

    /* ===== Prev / Next ===== */
    .article-pn {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      padding: 32px 0;
      border-top: 1px solid var(--border-color);
      margin-top: 32px;
    }
    .article-pn a {
      background: var(--bg-surface);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 20px 24px;
      display: flex;
      flex-direction: column;
      gap: 6px;
      transition: all var(--transition);
    }
    .article-pn a:hover {
      border-color: var(--primary);
      background: rgba(212,160,48,0.04);
      transform: translateY(-2px);
      box-shadow: var(--shadow-md);
    }
    .article-pn .label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
    .article-pn .title { font-size: 0.95rem; color: var(--text-primary); font-weight: 600; }
    .article-pn .next { text-align: right; }

    /* ===== Related Section ===== */
    .section-related {
      padding: 60px 0;
      background: var(--bg-surface);
      border-top: 1px solid var(--border-color);
      border-bottom: 1px solid var(--border-color);
    }
    .section-related .section-title {
      font-size: 1.6rem;
      margin-bottom: 32px;
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .section-related .section-title i { color: var(--primary); }
    .related-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .related-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      overflow: hidden;
      transition: all var(--transition);
    }
    .related-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-lg);
      border-color: var(--border-light);
    }
    .related-card img {
      width: 100%;
      height: 180px;
      object-fit: cover;
      border-radius: 0;
    }
    .related-card .body {
      padding: 18px 20px 20px;
    }
    .related-card .body h4 {
      font-size: 1rem;
      margin-bottom: 8px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .related-card .body p {
      font-size: 0.85rem;
      color: var(--text-muted);
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .related-card .meta {
      font-size: 0.75rem;
      color: var(--text-muted);
      margin-top: 12px;
      display: flex;
      gap: 12px;
    }

    /* ===== CTA Section ===== */
    .section-cta {
      padding: 80px 0;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .section-cta::before {
      content: '';
      position: absolute;
      inset: 0;
      background: url('/assets/images/backpic/back-1.png') center/cover no-repeat;
      opacity: 0.06;
      z-index: 0;
    }
    .section-cta .container { position: relative; z-index: 1; }
    .section-cta h2 { font-size: 2.2rem; margin-bottom: 16px; }
    .section-cta p { color: var(--text-secondary); max-width: 560px; margin: 0 auto 32px; font-size: 1.05rem; }
    .section-cta .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

    /* ===== Footer ===== */
    .footer {
      background: var(--bg-surface);
      border-top: 1px solid var(--border-color);
      padding: 60px 0 0;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
      padding-bottom: 40px;
      border-bottom: 1px solid var(--border-color);
    }
    .footer-brand .logo { font-size: 1.2rem; margin-bottom: 16px; }
    .footer-brand p { font-size: 0.88rem; color: var(--text-muted); max-width: 340px; line-height: 1.7; }
    .footer-social { display: flex; gap: 14px; margin-top: 20px; }
    .footer-social a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(255,255,255,0.04);
      border: 1px solid var(--border-color);
      color: var(--text-muted);
      font-size: 1rem;
      transition: all var(--transition);
    }
    .footer-social a:hover {
      background: var(--primary);
      border-color: var(--primary);
      color: #0a0a16;
      transform: translateY(-3px);
    }
    .footer-col h4 {
      font-size: 0.95rem;
      color: #fff;
      margin-bottom: 16px;
      font-weight: 600;
    }
    .footer-col a {
      display: block;
      color: var(--text-muted);
      font-size: 0.88rem;
      padding: 5px 0;
      transition: color var(--transition);
    }
    .footer-col a:hover { color: var(--primary-light); }
    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
      padding: 24px 0;
      font-size: 0.82rem;
      color: var(--text-muted);
    }
    .footer-bottom a { color: var(--text-muted); }
    .footer-bottom a:hover { color: var(--primary-light); }

    /* ===== Not Found ===== */
    .not-found-box {
      text-align: center;
      padding: 80px 20px;
      min-height: 400px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
    .not-found-box i { font-size: 3.5rem; color: var(--text-muted); margin-bottom: 20px; opacity: 0.5; }
    .not-found-box h2 { font-size: 1.8rem; margin-bottom: 12px; }
    .not-found-box p { color: var(--text-muted); margin-bottom: 24px; }

    /* ===== Responsive ===== */
    @media (max-width: 1024px) {
      .article-body-wrapper { grid-template-columns: 1fr; }
      .article-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; position: static; }
      .related-grid { grid-template-columns: repeat(2, 1fr); }
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .article-header h1 { font-size: 2rem; }
    }
    @media (max-width: 768px) {
      :root { --header-height: 64px; }
      .container { padding: 0 16px; }
      .menu-toggle { display: block; }
      .nav-main {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: rgba(10,10,22,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px 24px;
        gap: 6px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
      }
      .nav-main.open { display: flex; }
      .nav-main a { padding: 12px 20px; width: 100%; border-radius: var(--radius-sm); }
      .nav-main a.active::after { display: none; }
      .nav-actions .btn-outline { display: none; }
      .nav-search { width: 100%; }
      .nav-search input { width: 100%; }
      .header .container { gap: 12px; }
      .article-header h1 { font-size: 1.6rem; }
      .article-meta { gap: 12px; font-size: 0.8rem; }
      .article-body-wrapper { gap: 24px; padding: 24px 0 40px; }
      .article-body { font-size: 0.95rem; }
      .article-pn { grid-template-columns: 1fr; }
      .article-pn .next { text-align: left; }
      .related-grid { grid-template-columns: 1fr; }
      .section-cta h2 { font-size: 1.5rem; }
      .footer-grid { grid-template-columns: 1fr; gap: 32px; }
      .footer-bottom { flex-direction: column; text-align: center; }
      .article-sidebar { grid-template-columns: 1fr; }
      .breadcrumb { font-size: 0.75rem; }
    }
    @media (max-width: 520px) {
      .article-header h1 { font-size: 1.35rem; }
      .section-related .section-title { font-size: 1.2rem; }
      .btn-lg { padding: 12px 24px; font-size: 0.9rem; }
      .related-card img { height: 140px; }
      .logo span { font-size: 1rem; }
    }

    /* ===== Utility ===== */
    .text-glow { color: var(--primary-light); }
    .mt-0 { margin-top: 0; }
    .mb-0 { margin-bottom: 0; }
