/* roulang page: index */
:root {
  --primary: #E6341F;
  --primary-dark: #C92B18;
  --primary-soft: rgba(230, 52, 31, 0.08);
  --accent: #F0B90A;
  --accent-soft: rgba(240, 185, 10, 0.14);
  --ink: #101418;
  --text: #3D434A;
  --text-weak: #8A9099;
  --line: #E3E2DE;
  --bg: #F5F4F1;
  --card: #FFFFFF;
  --radius: 8px;
  --radius-sm: 6px;
  --radius-pill: 999px;
  --shadow: 0 2px 8px rgba(16, 20, 24, 0.04), 0 8px 24px rgba(16, 20, 24, 0.06);
  --shadow-lg: 0 4px 16px rgba(16, 20, 24, 0.08), 0 16px 40px rgba(16, 20, 24, 0.10);
  --ease: cubic-bezier(0.2, 0.6, 0.3, 1);
  --font-sans: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  --font-num: "Rajdhani", "Inter", "HarmonyOS Sans SC", sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }
ul, ol { list-style: none; }

h1, h2, h3, h4 { color: var(--ink); font-weight: 800; line-height: 1.2; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }
.section-index {
  font-family: var(--font-num);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.08em;
}
.section-title { font-size: 38px; letter-spacing: -0.02em; }
.section-desc { font-size: 14px; color: var(--text-weak); }

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s var(--ease); }
.js .reveal.visible { opacity: 1; transform: translateY(0); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 28px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  border: 1.5px solid transparent;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(230, 52, 31, 0.32); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }
.btn-line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-line:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-breathe { animation: breathe 2s ease-in-out infinite; }
@keyframes breathe {
  0%, 100% { box-shadow: 0 4px 20px rgba(230, 52, 31, 0.30); }
  50% { box-shadow: 0 6px 32px rgba(230, 52, 31, 0.60); }
}

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(245, 244, 241, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(227, 226, 222, 0.6);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(16, 20, 24, 0.08); }

.nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  width: 40px; height: 40px;
  background: var(--primary);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-family: var(--font-sans);
}
.brand-text { font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; line-height: 1.2; }
.brand-text small { display: block; font-size: 11px; font-weight: 600; color: var(--text-weak); letter-spacing: 0.16em; }
.nav-top-right { display: flex; align-items: center; gap: 16px; }
.search-form {
  display: flex;
  align-items: center;
  width: 260px;
  height: 42px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0 8px 0 16px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.search-form:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(230, 52, 31, 0.10); }
.search-form input { flex: 1; border: none; outline: none; background: transparent; font-size: 14px; color: var(--text); }
.search-form button {
  width: 34px; height: 34px;
  border: none; background: transparent;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-weak);
  border-radius: 50%;
  transition: color 0.25s;
}
.search-form button:hover { color: var(--primary); }
.search-form svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.nav-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  border-top: 1px solid rgba(227, 226, 222, 0.4);
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.nav-tabs::-webkit-scrollbar { display: none; }
.nav-tab {
  display: block;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.nav-tab:hover { color: var(--primary); }
.nav-tab.active { color: var(--primary); border-bottom-color: var(--primary); }

/* Hero */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  background:
    linear-gradient(100deg, rgba(16, 20, 24, 0.88) 0%, rgba(16, 20, 24, 0.60) 45%, rgba(16, 20, 24, 0.18) 82%),
    url('/assets/images/backpic/back-1.webp') center center / cover no-repeat;
  position: relative;
}
.hero-inner { max-width: 680px; }
.hero-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  border: 1px solid rgba(240, 185, 10, 0.30);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}
.hero-flag::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}
.hero h1 {
  font-size: 60px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  letter-spacing: 0.2em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-scroll::after {
  content: '';
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease infinite;
  display: block;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50% { opacity: 0.9; transform: scaleY(1); }
}

/* Timeline */
.timeline-wrap { margin-top: 8px; }
.timeline { display: flex; flex-direction: column; }
.timeline-item { display: flex; gap: 24px; transition: transform 0.25s var(--ease); }
.timeline-item:hover { transform: translateX(4px); }
.timeline-marker { display: flex; flex-direction: column; align-items: center; padding-top: 28px; }
.timeline-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(230, 52, 31, 0.15);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
  flex-shrink: 0;
}
.timeline-item:hover .timeline-dot { box-shadow: 0 0 0 8px rgba(230, 52, 31, 0.18), 0 0 20px rgba(230, 52, 31, 0.45); transform: scale(1.15); }
.timeline-line { width: 2px; flex: 1; background: var(--line); min-height: 40px; }
.timeline-item:last-child .timeline-line { display: none; }
.timeline-card {
  flex: 1;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 32px;
  margin-bottom: 32px;
  border-left: 3px solid var(--primary);
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}
.timeline-item:hover .timeline-card { box-shadow: var(--shadow-lg); border-color: var(--accent); }
.timeline-date { font-family: var(--font-num); font-size: 18px; font-weight: 700; color: var(--accent); background: var(--accent-soft); border-radius: var(--radius-sm); padding: 2px 12px; }
.timeline-stage { font-size: 22px; font-weight: 700; color: var(--ink); }
.timeline-note { width: 100%; color: var(--text-weak); font-size: 14px; }
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}
.badge-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-live { background: var(--primary-soft); color: var(--primary); }
.badge-wait { background: #F0EFED; color: var(--text-weak); }
.badge-done { background: rgba(45, 145, 90, 0.10); color: #2D915A; }

/* Guests */
.guests-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 64px; }
.guest-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.guest-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.guest-media { aspect-ratio: 4 / 5; overflow: hidden; }
.guest-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s var(--ease); }
.guest-card:hover .guest-media img { transform: scale(1.03); }
.guest-info { padding: 24px 26px; }
.guest-name { font-size: 20px; font-weight: 800; color: var(--ink); }
.guest-role {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  margin: 8px 0 12px;
}
.guest-desc { font-size: 14px; color: var(--text-weak); line-height: 1.7; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.stats-item { text-align: center; padding: 16px 0; }
.stats-num { font-family: var(--font-num); font-size: 56px; font-weight: 800; color: var(--primary); line-height: 1; letter-spacing: -0.02em; }
.stats-label { font-size: 14px; color: var(--text-weak); margin-top: 8px; }

/* Tickets */
.tickets-section { background: var(--card); }
.tickets-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; margin-top: 16px; }
.ticket-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 32px 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.ticket-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ticket-card.featured {
  border: 1.5px solid var(--primary);
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
}
.ticket-card.featured:hover { transform: translateY(-14px); }
.ticket-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 18px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.ticket-name { font-size: 20px; font-weight: 700; color: var(--ink); }
.ticket-price { font-family: var(--font-num); font-size: 56px; font-weight: 800; color: var(--ink); line-height: 1.1; margin: 16px 0 4px; }
.ticket-price small { font-size: 16px; color: var(--text-weak); font-weight: 600; margin-left: 4px; }
.ticket-note { font-size: 13px; color: var(--text-weak); margin-bottom: 24px; }
.ticket-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; flex: 1; }
.ticket-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text); }
.ticket-list li::before { content: ''; width: 6px; height: 6px; background: var(--primary); border-radius: 50%; margin-top: 8px; flex-shrink: 0; }
.tickets-policy { text-align: center; font-size: 13px; color: var(--text-weak); margin-top: 32px; }

/* CTA */
.cta-section {
  background: var(--ink);
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
}
.cta-section::after {
  content: '';
  position: absolute;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(230, 52, 31, 0.22) 0%, transparent 70%);
  top: -160px; right: -120px;
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 2; text-align: center; max-width: 720px; margin: 0 auto; }
.cta-inner h2 { font-size: 40px; color: #fff; letter-spacing: -0.02em; margin-bottom: 16px; }
.cta-inner .cta-sub { color: rgba(255, 255, 255, 0.65); font-size: 16px; margin-bottom: 36px; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.cta-countdown {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding-top: 32px;
  margin-top: 8px;
}
.cta-countdown-label { font-size: 13px; color: rgba(255, 255, 255, 0.45); letter-spacing: 0.12em; margin-bottom: 16px; }
.countdown-items { display: flex; justify-content: center; gap: 16px; }
.countdown-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 16px 20px;
  min-width: 88px;
}
.countdown-num { font-family: var(--font-num); font-size: 40px; font-weight: 800; color: var(--accent); line-height: 1; }
.countdown-label { font-size: 12px; color: rgba(255, 255, 255, 0.45); margin-top: 6px; }
.cta-contact { margin-top: 28px; font-size: 14px; color: rgba(255, 255, 255, 0.50); }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.news-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-media { overflow: hidden; position: relative; }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s var(--ease); }
.news-card:hover .news-media img { transform: scale(1.03); }
.news-body { padding: 24px 26px; display: flex; flex-direction: column; }
.news-tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}
.news-body h3 { font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.4; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-body p { font-size: 14px; color: var(--text-weak); line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 14px; }
.news-meta { font-size: 13px; color: var(--text-weak); margin-top: auto; }
.news-empty {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 64px 24px;
  text-align: center;
  color: var(--text-weak);
  font-size: 14px;
}
.news-empty-icon {
  display: block;
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--primary-soft);
  position: relative;
}
.news-empty-icon::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1.4s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* FAQ */
.faq-section { background: var(--card); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.faq-item.open { border-color: rgba(230, 52, 31, 0.30); box-shadow: var(--shadow); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: transparent;
  border: none;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
  transition: color 0.25s var(--ease);
}
.faq-question:hover { color: var(--primary); }
.faq-icon {
  position: relative;
  width: 20px; height: 20px;
  flex-shrink: 0;
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--text-weak);
  border-radius: 2px;
  transition: background 0.25s var(--ease), transform 0.3s var(--ease);
}
.faq-icon::before { width: 14px; height: 2px; top: 9px; left: 3px; }
.faq-icon::after { width: 2px; height: 14px; top: 3px; left: 9px; }
.faq-item.open .faq-icon::before, .faq-item.open .faq-icon::after { background: var(--primary); }
.faq-item.open .faq-icon::before { transform: rotate(180deg); }
.faq-item.open .faq-icon::after { transform: rotate(90deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner { padding: 0 24px 24px; font-size: 15px; color: var(--text); line-height: 1.75; border-top: 1px solid var(--line); padding-top: 16px; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.60); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.footer-logo span { color: var(--accent); }
.footer-brand p { font-size: 14px; line-height: 1.8; max-width: 280px; }
.footer-col h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 18px; }
.footer-col a { display: block; font-size: 14px; padding: 6px 0; color: rgba(255, 255, 255, 0.55); transition: color 0.25s var(--ease), transform 0.25s var(--ease); }
.footer-col a:hover { color: var(--accent); transform: translateX(3px); }
.footer-col p { font-size: 14px; padding: 6px 0; color: rgba(255, 255, 255, 0.55); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

/* Responsive */
@media (max-width: 1279px) {
  .hero h1 { font-size: 48px; }
  .section-title { font-size: 34px; }
  .stats-num { font-size: 44px; }
}

@media (max-width: 1023px) {
  .section { padding: 72px 0; }
  .tickets-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .ticket-card.featured { transform: translateY(-4px); }
  .ticket-card.featured:hover { transform: translateY(-6px); }
  .news-grid { grid-template-columns: 1fr; }
  .guests-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .section { padding: 56px 0; }
  .section-title { font-size: 28px; }
  .hero { min-height: 86vh; padding: 120px 0 64px; }
  .hero h1 { font-size: 36px; }
  .hero-sub { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .search-form { display: none; }
  .nav-top { padding: 12px 0; }
  .brand-text { font-size: 18px; }
  .brand-mark { width: 36px; height: 36px; font-size: 18px; }
  .timeline-item { gap: 16px; }
  .timeline-card { padding: 20px; }
  .timeline-stage { font-size: 18px; }
  .guests-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stats-num { font-size: 40px; }
  .news-card { grid-template-columns: 1fr; }
  .news-media { aspect-ratio: 16 / 9; }
  .cta-inner h2 { font-size: 30px; }
  .countdown-items { gap: 8px; }
  .countdown-item { padding: 12px 14px; min-width: 68px; }
  .countdown-num { font-size: 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: 32px; }
  .section-index { font-size: 16px; }
  .brand-text small { display: none; }
}

/* roulang page: article */
:root {
            --primary: #E6341F;
            --primary-dark: #C92512;
            --primary-light: #FFF0EE;
            --accent: #F0B90A;
            --accent-soft: #FFF9E5;
            --dark: #101418;
            --text-body: #3D434A;
            --text-muted: #8A9099;
            --border: #E3E2DE;
            --bg-page: #F5F4F1;
            --bg-card: #FFFFFF;
            --radius-sm: 6px;
            --radius-md: 8px;
            --radius-pill: 999px;
            --shadow: 0 2px 8px rgba(16, 20, 24, 0.04), 0 8px 24px rgba(16, 20, 24, 0.06);
            --shadow-hover: 0 8px 16px rgba(16, 20, 24, 0.10), 0 16px 40px rgba(16, 20, 24, 0.08);
            --container: 1200px;
            --space-section: 96px;
            --transition: 0.25s cubic-bezier(0.2, 0.6, 0.3, 1);
            --font-sans: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
            --font-number: "Rajdhani", "Inter", "HarmonyOS Sans SC", sans-serif;
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-sans);
            font-size: 16px;
            line-height: 1.75;
            color: var(--text-body);
            background: var(--bg-page);
            -webkit-font-smoothing: antialiased;
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: color var(--transition);
        }

        img {
            max-width: 100%;
            display: block;
        }

        button,
        input {
            font-family: inherit;
            border: none;
            outline: none;
            background: none;
        }

        ul,
        ol {
            padding-left: 1.4em;
        }

        .container {
            max-width: var(--container);
            margin: 0 auto;
            padding: 0 24px;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px 28px;
            border-radius: var(--radius-sm);
            font-size: 15px;
            font-weight: 600;
            line-height: 1;
            cursor: pointer;
            transition: all var(--transition);
            border: 1.5px solid transparent;
            white-space: nowrap;
        }

        .btn-sm {
            padding: 9px 20px;
            font-size: 14px;
        }

        .btn-lg {
            padding: 16px 40px;
            font-size: 17px;
        }

        .btn-primary {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
        }

        .btn-primary:hover {
            background: var(--primary-dark);
            border-color: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(230, 52, 31, 0.35);
        }

        .btn-primary:focus-visible {
            outline: 3px solid rgba(230, 52, 31, 0.35);
            outline-offset: 2px;
        }

        .btn-outline {
            background: transparent;
            color: var(--text-body);
            border-color: var(--border);
        }

        .btn-outline:hover {
            border-color: var(--primary);
            color: var(--primary);
            transform: translateY(-2px);
        }

        .btn-subtle {
            background: #EFEEEA;
            color: var(--text-body);
            border-color: #EFEEEA;
        }

        .btn-subtle:hover {
            background: #E6E3DD;
            transform: translateY(-2px);
        }

        .pill {
            display: inline-block;
            padding: 4px 14px;
            border-radius: var(--radius-pill);
            font-size: 12px;
            font-weight: 600;
            background: var(--primary-light);
            color: var(--primary);
            line-height: 1.4;
        }

        .pill-accent {
            background: var(--accent-soft);
            color: #8A6D00;
        }

        /* ── Header & Nav ── */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(245, 244, 241, 0.85);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            transition: box-shadow var(--transition);
            border-bottom: 1px solid rgba(227, 226, 222, 0.7);
        }

        .site-header.scrolled {
            box-shadow: 0 8px 30px rgba(16, 20, 24, 0.07);
        }

        .nav-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 0;
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .brand-mark {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            background: var(--primary);
            color: #fff;
            font-size: 20px;
            font-weight: 800;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            box-shadow: 0 4px 12px rgba(230, 52, 31, 0.3);
        }

        .brand-text {
            font-size: 22px;
            font-weight: 800;
            color: var(--dark);
            letter-spacing: -0.01em;
            line-height: 1.1;
        }

        .brand-text small {
            display: block;
            font-size: 12px;
            font-weight: 500;
            color: var(--text-muted);
            letter-spacing: 0.08em;
            margin-top: 1px;
        }

        .nav-top-right {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .search-form {
            display: flex;
            align-items: center;
            gap: 6px;
            background: #fff;
            border: 1px solid var(--border);
            border-radius: var(--radius-pill);
            padding: 6px 8px 6px 16px;
            transition: border-color var(--transition), box-shadow var(--transition);
            width: 260px;
        }

        .search-form:focus-within {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(230, 52, 31, 0.12);
        }

        .search-form input {
            flex: 1;
            font-size: 14px;
            color: var(--text-body);
            background: transparent;
        }

        .search-form input::placeholder {
            color: var(--text-muted);
        }

        .search-form button {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: var(--dark);
            color: #fff;
            cursor: pointer;
            transition: background var(--transition);
        }

        .search-form button:hover {
            background: var(--primary);
        }

        .nav-tabs {
            display: flex;
            gap: 4px;
            border-top: 1px solid rgba(227, 226, 222, 0.5);
            padding: 8px 0;
            overflow-x: auto;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        .nav-tabs::-webkit-scrollbar {
            display: none;
        }

        .nav-tab {
            padding: 8px 18px;
            font-size: 15px;
            font-weight: 600;
            color: var(--text-body);
            border-radius: var(--radius-pill);
            white-space: nowrap;
            transition: all var(--transition);
        }

        .nav-tab:hover {
            color: var(--primary);
            background: var(--primary-light);
        }

        .nav-tab.active {
            color: var(--primary);
            background: var(--primary-light);
        }

        .nav-tab.active::after {
            content: "";
            display: block;
            height: 2px;
            background: var(--primary);
            border-radius: 2px;
            margin-top: 4px;
        }

        /* ── Main ── */
        .site-main {
            padding-bottom: var(--space-section);
        }

        /* Breadcrumb */
        .breadcrumb-wrap {
            padding: 24px 0 0;
        }

        .breadcrumb {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 8px;
            font-size: 14px;
            color: var(--text-muted);
        }

        .breadcrumb a {
            color: var(--text-muted);
            transition: color var(--transition);
        }

        .breadcrumb a:hover {
            color: var(--primary);
        }

        .breadcrumb .sep {
            color: #C8C6C0;
            font-size: 12px;
        }

        .breadcrumb .current {
            color: var(--text-body);
            font-weight: 500;
            max-width: 260px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        /* Article */
        .article-wrap {
            max-width: 800px;
            margin: 0 auto;
            padding: 40px 24px 0;
        }

        .article-main {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            padding: 56px 64px 64px;
            box-shadow: var(--shadow);
            border: 1px solid rgba(227, 226, 222, 0.5);
        }

        .article-title {
            font-size: 38px;
            line-height: 1.3;
            font-weight: 800;
            color: var(--dark);
            letter-spacing: -0.02em;
            margin-bottom: 20px;
        }

        .article-meta {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 16px;
            padding-bottom: 28px;
            margin-bottom: 36px;
            border-bottom: 1px solid var(--border);
            font-size: 13px;
            color: var(--text-muted);
        }

        .meta-item {
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .meta-dot {
            width: 3px;
            height: 3px;
            border-radius: 50%;
            background: #C8C6C0;
        }

        .meta-item .meta-icon {
            width: 16px;
            height: 16px;
            color: var(--text-muted);
            opacity: 0.8;
        }

        .meta-cat {
            color: var(--primary);
            font-weight: 600;
        }

        .article-content {
            font-size: 16px;
            line-height: 1.75;
            color: var(--text-body);
        }

        .article-content h2 {
            font-size: 25px;
            font-weight: 800;
            color: var(--dark);
            margin: 40px 0 16px;
            padding-left: 14px;
            border-left: 4px solid var(--primary);
            line-height: 1.4;
        }

        .article-content h3 {
            font-size: 20px;
            font-weight: 700;
            color: var(--dark);
            margin: 32px 0 12px;
            line-height: 1.4;
        }

        .article-content p {
            margin-bottom: 18px;
        }

        .article-content ul,
        .article-content ol {
            margin-bottom: 20px;
            padding-left: 1.6em;
        }

        .article-content li {
            margin-bottom: 8px;
        }

        .article-content blockquote {
            border-left: 4px solid var(--accent);
            background: var(--accent-soft);
            padding: 16px 24px;
            margin: 28px 0;
            border-radius: 0 var(--radius-md) var(--radius-md) 0;
            color: #5A4630;
            font-style: normal;
        }

        .article-content blockquote p:last-child {
            margin-bottom: 0;
        }

        .article-content img {
            border-radius: var(--radius-md);
            margin: 28px auto;
        }

        .article-content table {
            width: 100%;
            border-collapse: collapse;
            margin: 28px 0;
            font-size: 14px;
        }

        .article-content th {
            background: var(--dark);
            color: #fff;
            text-align: left;
            padding: 12px 16px;
            font-weight: 600;
            border: 1px solid var(--dark);
        }

        .article-content td {
            padding: 10px 16px;
            border: 1px solid var(--border);
        }

        .article-content tr:nth-child(even) {
            background: #FAF9F6;
        }

        .article-content code {
            background: #F0EFEC;
            border-radius: 4px;
            padding: 2px 8px;
            font-size: 0.9em;
            font-family: "SF Mono", "Consolas", monospace;
        }

        .article-content pre {
            background: var(--dark);
            color: #E8E6E3;
            padding: 24px;
            border-radius: var(--radius-md);
            overflow-x: auto;
            margin: 28px 0;
            line-height: 1.6;
        }

        .article-content pre code {
            background: none;
            padding: 0;
            color: inherit;
        }

        /* Article footer nav */
        .article-footer-nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 36px;
            padding-top: 28px;
            border-top: 1px solid var(--border);
            flex-wrap: wrap;
            gap: 16px;
        }

        .article-back {
            font-size: 14px;
            color: var(--text-muted);
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: color var(--transition);
        }

        .article-back:hover {
            color: var(--primary);
        }

        .article-share {
            font-size: 13px;
            color: var(--text-muted);
        }

        /* Not found */
        .not-found {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            padding: 80px 40px;
            text-align: center;
            box-shadow: var(--shadow);
            border: 1px solid rgba(227, 226, 222, 0.5);
        }

        .not-found h1 {
            font-size: 28px;
            font-weight: 800;
            color: var(--dark);
            margin-bottom: 12px;
        }

        .not-found p {
            color: var(--text-muted);
            margin-bottom: 28px;
        }

        /* Related */
        .related-section {
            max-width: 1200px;
            margin: 0 auto;
            padding: 72px 24px 0;
        }

        .section-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 32px;
        }

        .section-head .section-num {
            font-family: var(--font-number);
            font-size: 15px;
            font-weight: 700;
            color: var(--primary);
            letter-spacing: 0.05em;
        }

        .section-head h2 {
            font-size: 32px;
            font-weight: 800;
            color: var(--dark);
            letter-spacing: -0.01em;
        }

        .section-head .section-link {
            font-size: 14px;
            color: var(--text-muted);
            transition: color var(--transition);
        }

        .section-head .section-link:hover {
            color: var(--primary);
        }

        .related-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }

        .related-card {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            overflow: hidden;
            border: 1px solid rgba(227, 226, 222, 0.5);
            box-shadow: var(--shadow);
            transition: all var(--transition);
            display: block;
        }

        .related-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
        }

        .related-card-img {
            aspect-ratio: 16 / 9;
            overflow: hidden;
            position: relative;
        }

        .related-card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .related-card:hover .related-card-img img {
            transform: scale(1.03);
        }

        .related-card-body {
            padding: 20px 20px 22px;
        }

        .related-card-body h3 {
            font-size: 17px;
            font-weight: 700;
            color: var(--dark);
            line-height: 1.45;
            margin: 12px 0 8px;
            display: -webkit-box;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            overflow: hidden;
            transition: color var(--transition);
        }

        .related-card:hover .related-card-body h3 {
            color: var(--primary);
        }

        .card-date {
            font-size: 13px;
            color: var(--text-muted);
        }

        /* CTA */
        .cta-section {
            background: var(--dark);
            margin-top: 80px;
            padding: 72px 0;
            position: relative;
            overflow: hidden;
        }

        .cta-section::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 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: 48px 48px;
            pointer-events: none;
        }

        .cta-inner {
            position: relative;
            text-align: center;
            max-width: 700px;
            margin: 0 auto;
            padding: 0 24px;
        }

        .cta-inner h2 {
            font-size: 34px;
            font-weight: 800;
            color: #fff;
            letter-spacing: -0.02em;
            margin-bottom: 12px;
        }

        .cta-inner p {
            color: rgba(255, 255, 255, 0.65);
            font-size: 16px;
            margin-bottom: 32px;
        }

        .cta-btn {
            animation: ctaPulse 2s ease-in-out infinite;
        }

        @keyframes ctaPulse {
            0%,
            100% {
                box-shadow: 0 0 0 0 rgba(230, 52, 31, 0.30), 0 8px 24px rgba(230, 52, 31, 0.3);
            }
            50% {
                box-shadow: 0 0 0 12px rgba(230, 52, 31, 0), 0 8px 32px rgba(230, 52, 31, 0.5);
            }
        }

        /* ── Footer ── */
        .site-footer {
            background: var(--dark);
            color: rgba(255, 255, 255, 0.65);
            padding: 64px 0 0;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
            padding-bottom: 48px;
        }

        .footer-brand p.footer-logo {
            font-size: 24px;
            font-weight: 800;
            color: #fff;
            letter-spacing: -0.01em;
            margin-bottom: 12px;
        }

        .footer-brand p.footer-logo span {
            color: var(--primary);
        }

        .footer-brand p {
            font-size: 14px;
            line-height: 1.7;
            max-width: 320px;
        }

        .footer-col h4 {
            font-size: 15px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 16px;
        }

        .footer-col a {
            display: block;
            font-size: 14px;
            color: rgba(255, 255, 255, 0.55);
            padding: 5px 0;
            transition: color var(--transition);
        }

        .footer-col a:hover {
            color: var(--accent);
        }

        .footer-col p {
            font-size: 14px;
            padding: 4px 0;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            padding: 20px 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 8px;
            font-size: 13px;
            color: rgba(255, 255, 255, 0.35);
        }

        /* ── Reveal Animation ── */
        .reveal {
            opacity: 0;
            transform: translateY(16px);
            transition: opacity 0.7s cubic-bezier(0.2, 0.6, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.6, 0.3, 1);
        }

        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* ── Responsive ── */
        @media (max-width: 1279px) {
            :root {
                --space-section: 80px;
            }
        }

        @media (max-width: 1023px) {
            .related-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .footer-grid {
                grid-template-columns: 1fr 1fr;
            }

            .article-main {
                padding: 40px 36px 48px;
            }

            .search-form {
                width: 200px;
            }
        }

        @media (max-width: 767px) {
            :root {
                --space-section: 56px;
            }

            .container {
                padding: 0 16px;
            }

            .nav-top {
                flex-wrap: wrap;
                gap: 12px;
            }

            .nav-top-right {
                width: 100%;
                justify-content: space-between;
            }

            .search-form {
                flex: 1;
                width: auto;
            }

            .nav-tabs {
                gap: 2px;
            }

            .nav-tab {
                padding: 7px 12px;
                font-size: 14px;
            }

            .brand-text {
                font-size: 19px;
            }

            .article-wrap {
                padding: 24px 16px 0;
            }

            .article-main {
                padding: 28px 20px 36px;
                border-radius: var(--radius-sm);
            }

            .article-title {
                font-size: 30px;
            }

            .article-meta {
                gap: 10px;
                font-size: 12px;
            }

            .related-grid {
                grid-template-columns: 1fr;
            }

            .section-head {
                flex-wrap: wrap;
                gap: 8px;
            }

            .section-head h2 {
                font-size: 26px;
            }

            .cta-section {
                padding: 56px 0;
            }

            .cta-inner h2 {
                font-size: 28px;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 32px;
            }

            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }

            .article-content {
                font-size: 15px;
            }

            .article-content h2 {
                font-size: 21px;
            }

            .article-content h3 {
                font-size: 18px;
            }

            .article-content table {
                font-size: 12px;
            }
        }

        @media (max-width: 520px) {
            .nav-top-right .btn-sm {
                display: none;
            }

            .search-form {
                width: 100%;
            }

            .article-title {
                font-size: 26px;
            }

            .related-card-body h3 {
                font-size: 16px;
            }
        }

/* roulang page: category1 */
:root {
  --primary: #E6341F;
  --primary-dark: #C92B18;
  --accent: #F0B90A;
  --accent-soft: rgba(240, 185, 10, 0.16);
  --dark: #101418;
  --text: #3D434A;
  --text-light: #8A9099;
  --border: #E3E2DE;
  --bg: #F5F4F1;
  --card: #FFFFFF;
  --radius: 8px;
  --radius-btn: 6px;
  --shadow: 0 2px 8px rgba(16, 20, 24, 0.04), 0 8px 24px rgba(16, 20, 24, 0.06);
  --shadow-hover: 0 4px 16px rgba(16, 20, 24, 0.10), 0 16px 40px rgba(16, 20, 24, 0.08);
  --font: 'HarmonyOS Sans SC','MiSans','PingFang SC','Noto Sans SC','Microsoft YaHei',sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
button,
input {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.section {
  padding: 96px 0;
}
.section-header {
  margin-bottom: 48px;
}
.section-title {
  font-size: 38px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 16px;
  color: var(--text-light);
  max-width: 640px;
}
@media (max-width: 767px) {
  .section {
    padding: 56px 0;
  }
  .section-title {
    font-size: 30px;
  }
}
/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.2, 0.6, 0.3, 1);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 14px 28px;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230, 52, 31, 0.25);
}
.btn-outline {
  background: #fff;
  border: 1px solid #D6D4CE;
  color: var(--dark);
  padding: 14px 28px;
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 14px 28px;
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(240, 185, 10, 0.08);
  transform: translateY(-2px);
}
.btn-sm {
  padding: 9px 18px;
  font-size: 14px;
}
.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}
/* Header */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(245, 244, 241, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(227, 226, 222, 0.7);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(16, 20, 24, 0.06);
}
.nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  border-radius: 6px;
  letter-spacing: -0.02em;
}
.brand-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.01em;
}
.brand-text small {
  display: inline;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-left: 6px;
}
.nav-top-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.search-form {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  height: 40px;
  padding-left: 16px;
  transition: border-color 0.25s;
}
.search-form:focus-within {
  border-color: var(--primary);
}
.search-form input {
  border: none;
  background: transparent;
  font-size: 14px;
  width: 180px;
  color: var(--dark);
}
.search-form input::placeholder {
  color: var(--text-light);
}
.search-form button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  color: var(--text);
  transition: color 0.25s;
}
.search-form button:hover {
  color: var(--primary);
}
.nav-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 0;
}
.nav-tabs::-webkit-scrollbar {
  display: none;
}
.nav-tab {
  flex-shrink: 0;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 2px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
.nav-tab:hover {
  color: var(--primary);
}
.nav-tab.active {
  color: var(--primary);
  font-weight: 700;
  border-bottom-color: var(--primary);
}
@media (max-width: 767px) {
  .nav-top {
    height: 62px;
  }
  .search-form {
    display: none;
  }
  .brand-text {
    font-size: 18px;
  }
  .brand-text small {
    display: none;
  }
  .nav-tab {
    padding: 12px 14px;
    font-size: 14px;
  }
  .btn-sm {
    padding: 7px 14px;
    font-size: 13px;
  }
}
/* Category Hero */
.cat-hero {
  position: relative;
  background-image: url('/assets/images/backpic/back-1.webp');
  background-size: cover;
  background-position: center;
  padding: 120px 0 104px;
}
.cat-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 20, 24, 0.9) 0%, rgba(16, 20, 24, 0.62) 55%, rgba(16, 20, 24, 0.28) 100%);
}
.cat-hero .container {
  position: relative;
  z-index: 2;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 32px;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.25s;
}
.breadcrumb a:hover {
  color: #fff;
}
.breadcrumb .sep {
  color: var(--accent);
}
.cat-hero .hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-soft);
  border: 1px solid rgba(240, 185, 10, 0.3);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.cat-hero h1 {
  font-size: 60px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.cat-hero .hero-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.cat-hero .hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-update-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 8px 16px;
}
.hero-update-note .dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}
@media (max-width: 767px) {
  .cat-hero {
    padding: 72px 0 64px;
  }
  .cat-hero h1 {
    font-size: 36px;
  }
  .cat-hero .hero-desc {
    font-size: 16px;
  }
}
/* Feature Cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px 28px;
  border-top: 3px solid var(--primary);
  box-shadow: var(--shadow);
  transition: all 0.25s cubic-bezier(0.2, 0.6, 0.3, 1);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(230, 52, 31, 0.1);
  color: var(--primary);
  font-size: 22px;
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
}
@media (max-width: 1023px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}
/* News Cards */
.news-wrap {
  background: var(--bg);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.news-card {
  display: flex;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.25s cubic-bezier(0.2, 0.6, 0.3, 1);
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.news-thumb {
  width: 42%;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}
.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s cubic-bezier(0.2, 0.6, 0.3, 1);
}
.news-card:hover .news-thumb img {
  transform: scale(1.03);
}
.news-body {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.news-pill {
  display: inline-flex;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(230, 52, 31, 0.08);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.news-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.45;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.25s;
}
.news-card:hover .news-title {
  color: var(--primary);
}
.news-summary {
  font-size: 14px;
  color: var(--text);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}
.news-time {
  font-size: 13px;
  color: var(--text-light);
}
@media (max-width: 1023px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .news-card {
    flex-direction: column;
  }
  .news-thumb {
    width: 100%;
    height: 190px;
  }
  .news-body {
    padding: 18px;
  }
}
/* Stats + Tags */
.stats-tags-section {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.stat-item {
  text-align: center;
  padding: 32px 16px;
  background: var(--bg);
  border-radius: var(--radius);
  transition: all 0.25s;
}
.stat-item:hover {
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.stat-number {
  font-size: 56px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 14px;
  color: var(--text-light);
}
.tag-heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  transition: all 0.25s;
}
.tag:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(230, 52, 31, 0.04);
}
.tag .tag-icon {
  font-size: 12px;
}
@media (max-width: 1023px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .stat-number {
    font-size: 40px;
  }
  .stat-item {
    padding: 24px 12px;
  }
}
/* CTA */
.cta-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
  padding: 104px 0;
}
.cta-section::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: 32px 32px;
}
.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.cta-inner h2 {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.cta-inner p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 36px;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-btn-glow {
  background: var(--primary);
  box-shadow: 0 0 0 rgba(230, 52, 31, 0.3);
  animation: breathe 2s infinite;
}
@keyframes breathe {
  0% { box-shadow: 0 0 0 0 rgba(230, 52, 31, 0.3); }
  50% { box-shadow: 0 0 0 12px rgba(230, 52, 31, 0.12); }
  100% { box-shadow: 0 0 0 0 rgba(230, 52, 31, 0.3); }
}
.cta-note {
  margin-top: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
}
@media (max-width: 767px) {
  .cta-section {
    padding: 72px 0;
  }
  .cta-inner h2 {
    font-size: 30px;
  }
}
/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s;
}
.faq-item.open {
  border-bottom-color: rgba(230, 52, 31, 0.25);
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  cursor: pointer;
  user-select: none;
}
.faq-q h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--dark);
  transition: color 0.25s;
}
.faq-q:hover h3 {
  color: var(--primary);
}
.faq-icon {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.2, 0.6, 0.3, 1), opacity 0.3s;
}
.faq-icon::before {
  width: 16px;
  height: 2px;
  top: 10px;
  left: 3px;
}
.faq-icon::after {
  width: 2px;
  height: 16px;
  top: 3px;
  left: 10px;
}
.faq-item.open .faq-icon::after {
  transform: scaleY(0);
  opacity: 0;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 40px 0 0;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding-bottom: 24px;
}
.faq-a p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.75;
}
@media (max-width: 767px) {
  .faq-q h3 {
    font-size: 16px;
  }
  .faq-a p {
    font-size: 14px;
  }
}
/* Footer */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.72);
  padding: 72px 0 32px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-logo {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.footer-logo span {
  color: var(--primary);
  font-size: 16px;
  font-weight: 600;
  margin-left: 6px;
}
.footer-brand p {
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.56);
  max-width: 320px;
}
.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.56);
  padding: 5px 0;
  transition: color 0.25s, padding-left 0.25s;
}
.footer-col a:hover {
  color: var(--accent);
  padding-left: 4px;
}
.footer-col p {
  color: rgba(255, 255, 255, 0.56);
  line-height: 1.7;
  padding: 3px 0;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
}
@media (max-width: 1023px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
  }
}
/* Fade Up */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.6, 0.3, 1), transform 0.6s cubic-bezier(0.2, 0.6, 0.3, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
