/* roulang page: index */
/* ===== 设计变量 ===== */
:root {
  --primary: #D32F2F;
  --primary-dark: #B71C1C;
  --primary-light: #FFCDD2;
  --primary-gradient: linear-gradient(135deg, #D32F2F 0%, #FF6F00 100%);
  --secondary: #0D1B2A;
  --secondary-light: #1B2838;
  --accent: #FF6F00;
  --accent-light: #FFF3E0;
  --bg: #FFFFFF;
  --bg-light: #F5F7FA;
  --bg-dark: #0D1B2A;
  --bg-card: #FFFFFF;
  --text: #1A1A2E;
  --text-light: #6B7280;
  --text-white: #FFFFFF;
  --border: #E5E7EB;
  --border-light: #F3F4F6;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-hover: 0 16px 48px rgba(0,0,0,0.16);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --max-width: 1200px;
  --header-height: 72px;
  --topbar-height: 40px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; border: none; outline: none; }
button { cursor: pointer; background: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.3; font-weight: 700; }
h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p { margin-bottom: 0.8rem; }
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 16px; font-size: 2.2rem; color: var(--text); }
.section-subtitle { text-align: center; color: var(--text-light); font-size: 1.1rem; max-width: 640px; margin: 0 auto 48px; line-height: 1.6; }
.text-gradient { background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ===== Top Bar ===== */
.topbar {
  background: var(--secondary);
  color: rgba(255,255,255,0.85);
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar-left { display: flex; align-items: center; gap: 8px; }
.topbar-left i { color: var(--accent); font-size: 0.75rem; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-right a { color: rgba(255,255,255,0.75); font-size: 0.82rem; transition: var(--transition); }
.topbar-right a:hover { color: #fff; }
.topbar-right a i { margin-right: 4px; }

/* ===== Header / Nav ===== */
.header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 40px; height: 40px;
  background: var(--primary-gradient);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.2rem; font-weight: 700;
  flex-shrink: 0;
}
.logo-text { font-size: 1.35rem; font-weight: 800; color: var(--text); letter-spacing: -0.3px; }
.logo-text span { color: var(--primary); }
.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
  position: relative;
}
.nav a:hover { background: var(--bg-light); color: var(--primary); }
.nav a.active { background: var(--primary-light); color: var(--primary-dark); font-weight: 600; }
.nav a.active::after { display: none; }
.nav-cta {
  background: var(--primary-gradient) !important;
  color: #fff !important;
  padding: 10px 24px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 14px rgba(211,47,47,0.3);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(211,47,47,0.4) !important; background: var(--primary-gradient) !important; color: #fff !important; }
.mobile-toggle { display: none; font-size: 1.5rem; color: var(--text); padding: 8px; cursor: pointer; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  background: var(--bg-dark);
  background-image: url('/assets/images/backpic/back-1.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,27,42,0.88) 0%, rgba(13,27,42,0.65) 50%, rgba(211,47,47,0.25) 100%);
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
  z-index: 2;
}
.hero .container { position: relative; z-index: 3; padding: 60px 24px; }
.hero-content { max-width: 720px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 18px 6px 12px;
  border-radius: 50px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
}
.hero-badge i { color: var(--accent); font-size: 0.75rem; }
.hero h1 { font-size: 3.4rem; color: #fff; line-height: 1.2; margin-bottom: 16px; font-weight: 900; letter-spacing: -0.5px; }
.hero h1 span { background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p.hero-desc { font-size: 1.2rem; color: rgba(255,255,255,0.75); max-width: 580px; margin-bottom: 32px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 4px 16px rgba(211,47,47,0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(211,47,47,0.45); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); transform: translateY(-3px); }
.btn-sm { padding: 10px 22px; font-size: 0.9rem; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat h3 { font-size: 1.8rem; color: #fff; font-weight: 800; }
.hero-stat h3 span { color: var(--accent); }
.hero-stat p { font-size: 0.9rem; color: rgba(255,255,255,0.6); margin: 0; }

/* ===== Features ===== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: var(--transition);
  text-align: center;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }
.feature-icon {
  width: 64px; height: 64px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
  color: var(--primary);
  transition: var(--transition);
}
.feature-card:hover .feature-icon { background: var(--primary); color: #fff; }
.feature-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.feature-card p { color: var(--text-light); font-size: 0.95rem; line-height: 1.6; margin: 0; }

/* ===== Categories / 赛事分类 ===== */
.categories { background: var(--bg-light); }
.categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cat-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  aspect-ratio: 4 / 3;
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.cat-card:hover img { transform: scale(1.08); }
.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 20px;
}
.cat-card-overlay h3 { color: #fff; font-size: 1.15rem; margin-bottom: 4px; }
.cat-card-overlay p { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin: 0; }
.cat-card .cat-badge {
  position: absolute; top: 14px; right: 14px;
  background: var(--primary-gradient);
  color: #fff;
  font-size: 0.72rem;
  padding: 4px 12px;
  border-radius: 50px;
  font-weight: 600;
  z-index: 2;
}

/* ===== Latest News / CMS 列表 ===== */
.news { background: var(--bg); }
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.news-card {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: transparent; }
.news-card-img {
  width: 200px; min-height: 160px;
  flex-shrink: 0;
  background: var(--bg-light);
  overflow: hidden;
}
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.news-card:hover .news-card-img img { transform: scale(1.06); }
.news-card-body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.news-card-body .news-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 12px;
  border-radius: 50px;
  margin-bottom: 8px;
  width: fit-content;
}
.news-card-body h3 { font-size: 1.05rem; margin-bottom: 6px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card-body h3 a { color: var(--text); }
.news-card-body h3 a:hover { color: var(--primary); }
.news-card-body p.news-excerpt { font-size: 0.88rem; color: var(--text-light); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0 0 10px; }
.news-card-body .news-meta { display: flex; align-items: center; gap: 16px; font-size: 0.78rem; color: var(--text-light); }
.news-card-body .news-meta i { margin-right: 3px; }
.news-empty { grid-column: 1 / -1; text-align: center; padding: 48px 24px; color: var(--text-light); background: var(--bg-light); border-radius: var(--radius-md); font-size: 1rem; }

/* ===== Stats / 数据统计 ===== */
.stats-section { background: var(--bg-dark); position: relative; background-image: url('/assets/images/backpic/back-2.png'); background-size: cover; background-position: center; background-attachment: fixed; }
.stats-section::before { content: ''; position: absolute; inset: 0; background: rgba(13,27,42,0.88); z-index: 1; }
.stats-section .container { position: relative; z-index: 2; }
.stats-section .section-title { color: #fff; }
.stats-section .section-subtitle { color: rgba(255,255,255,0.65); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { text-align: center; padding: 32px 16px; background: rgba(255,255,255,0.05); border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,0.06); backdrop-filter: blur(4px); }
.stat-item .stat-number { font-size: 2.6rem; font-weight: 900; color: #fff; margin-bottom: 4px; }
.stat-item .stat-number span { color: var(--accent); }
.stat-item .stat-label { font-size: 0.95rem; color: rgba(255,255,255,0.6); }

/* ===== Process / 使用流程 ===== */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.process-grid::before {
  content: '';
  position: absolute;
  top: 48px; left: 15%; right: 15%;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--accent), var(--primary));
  z-index: 0;
  opacity: 0.3;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.process-step .step-num {
  width: 56px; height: 56px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 4px 16px rgba(211,47,47,0.3);
}
.process-step h3 { margin-bottom: 8px; font-size: 1.15rem; }
.process-step p { color: var(--text-light); font-size: 0.92rem; margin: 0; line-height: 1.6; }

/* ===== FAQ ===== */
.faq { background: var(--bg-light); }
.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);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: var(--primary-light); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
  transition: var(--transition);
  user-select: none;
}
.faq-question i { color: var(--primary); font-size: 0.9rem; transition: var(--transition); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* ===== CTA ===== */
.cta-section {
  background: var(--bg-dark);
  background-image: url('/assets/images/backpic/back-3.png');
  background-size: cover;
  background-position: center;
  position: relative;
}
.cta-section::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(13,27,42,0.9) 0%, rgba(211,47,47,0.3) 100%); z-index: 1; }
.cta-section .container { position: relative; z-index: 2; text-align: center; }
.cta-section h2 { color: #fff; font-size: 2.2rem; margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 600px; margin: 0 auto 28px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ===== Footer ===== */
.footer {
  background: var(--secondary);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-brand .logo-text { color: #fff; }
.footer-brand p { font-size: 0.92rem; margin-top: 14px; line-height: 1.7; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; font-weight: 600; }
.footer-col a { display: block; color: rgba(255,255,255,0.6); font-size: 0.9rem; padding: 5px 0; transition: var(--transition); }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-bottom { padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; color: rgba(255,255,255,0.45); }
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.6rem; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-height: 64px; --topbar-height: 36px; }
  .section { padding: 56px 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .section-title { font-size: 1.6rem; }
  .section-subtitle { font-size: 0.95rem; margin-bottom: 32px; }
  .topbar { font-size: 0.75rem; }
  .topbar-right a span { display: none; }
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: var(--header-height); left: 0; right: 0; background: var(--bg); border-bottom: 2px solid var(--border); padding: 16px 24px; box-shadow: var(--shadow-lg); gap: 4px; }
  .nav a { padding: 12px 16px; width: 100%; border-radius: var(--radius-sm); }
  .mobile-toggle { display: block; }
  .hero { min-height: 60vh; }
  .hero h1 { font-size: 2rem; }
  .hero p.hero-desc { font-size: 1rem; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-stat h3 { font-size: 1.4rem; }
  .features-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card { flex-direction: column; }
  .news-card-img { width: 100%; height: 180px; }
  .process-grid { grid-template-columns: 1fr; gap: 24px; }
  .process-grid::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-item .stat-number { font-size: 2rem; }
  .cta-section h2 { font-size: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.6rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .categories-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-item { padding: 20px 12px; }
  .news-card-img { height: 150px; }
  .faq-question { font-size: 0.92rem; padding: 14px 18px; }
}

/* ===== Mobile nav toggle helper ===== */
@media (min-width: 769px) {
  .nav { display: flex !important; }
}

/* roulang page: category1 */
/* ===== 设计变量 ===== */
        :root {
            --primary: #e83e3e;
            --primary-dark: #c72a2a;
            --primary-light: #ff6b6b;
            --secondary: #1a1a2e;
            --accent: #f5c518;
            --bg-body: #f8f9fc;
            --bg-dark: #0f0f1a;
            --bg-card: #ffffff;
            --text-main: #1e1e2f;
            --text-light: #6b7280;
            --text-white: #f1f1f1;
            --border: #e5e7eb;
            --radius: 16px;
            --radius-sm: 10px;
            --shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
            --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.12);
            --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            --container: 1200px;
            --gap: 32px;
        }

        /* ===== 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-sans);
            font-size: 16px;
            line-height: 1.6;
            color: var(--text-main);
            background: var(--bg-body);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        a {
            color: inherit;
            text-decoration: none;
            transition: color var(--transition);
        }
        a:hover {
            color: var(--primary);
        }
        button,
        input,
        textarea {
            font-family: inherit;
            font-size: inherit;
            border: none;
            outline: none;
        }
        ul,
        ol {
            list-style: none;
        }
        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            line-height: 1.3;
            font-weight: 700;
            color: var(--text-main);
        }
        h1 {
            font-size: 3rem;
        }
        h2 {
            font-size: 2.25rem;
        }
        h3 {
            font-size: 1.5rem;
        }
        h4 {
            font-size: 1.125rem;
        }
        p {
            color: var(--text-light);
            margin-bottom: 1rem;
        }
        .container {
            max-width: var(--container);
            margin: 0 auto;
            padding: 0 24px;
        }
        .section {
            padding: 80px 0;
        }
        .section-title {
            text-align: center;
            margin-bottom: 48px;
        }
        .section-title h2 {
            font-size: 2.25rem;
            margin-bottom: 12px;
        }
        .section-title p {
            font-size: 1.125rem;
            max-width: 640px;
            margin: 0 auto;
            color: var(--text-light);
        }
        .text-center {
            text-align: center;
        }
        .grid-2 {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: var(--gap);
        }
        .grid-3 {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: var(--gap);
        }
        .grid-4 {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr 1fr;
            gap: var(--gap);
        }
        .badge {
            display: inline-block;
            background: var(--primary);
            color: #fff;
            font-size: 0.75rem;
            font-weight: 600;
            padding: 4px 14px;
            border-radius: 50px;
            letter-spacing: 0.3px;
            text-transform: uppercase;
        }
        .badge-accent {
            background: var(--accent);
            color: #1e1e2f;
        }
        .badge-outline {
            background: transparent;
            border: 1px solid var(--border);
            color: var(--text-light);
        }
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 32px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1rem;
            transition: all var(--transition);
            cursor: pointer;
            border: none;
            background: var(--primary);
            color: #fff;
        }
        .btn:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(232, 62, 62, 0.35);
            color: #fff;
        }
        .btn-outline {
            background: transparent;
            border: 2px solid var(--primary);
            color: var(--primary);
        }
        .btn-outline:hover {
            background: var(--primary);
            color: #fff;
        }
        .btn-secondary {
            background: var(--secondary);
            color: #fff;
        }
        .btn-secondary:hover {
            background: #2a2a4a;
            box-shadow: 0 8px 24px rgba(26, 26, 46, 0.35);
            color: #fff;
        }
        .btn-sm {
            padding: 8px 20px;
            font-size: 0.875rem;
        }
        .btn-lg {
            padding: 16px 44px;
            font-size: 1.125rem;
        }
        .btn i {
            font-size: 1.1em;
        }

        /* ===== Header & Navigation ===== */
        .topbar {
            background: var(--secondary);
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.8125rem;
            padding: 8px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }
        .topbar .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 8px;
        }
        .topbar a {
            color: rgba(255, 255, 255, 0.7);
        }
        .topbar a:hover {
            color: #fff;
        }
        .topbar-left {
            display: flex;
            align-items: center;
            gap: 18px;
        }
        .topbar-left i {
            margin-right: 4px;
        }
        .topbar-right {
            display: flex;
            align-items: center;
            gap: 16px;
        }
        .topbar-right .btn {
            padding: 4px 16px;
            font-size: 0.75rem;
            border-radius: 50px;
        }
        .header-main {
            background: #fff;
            border-bottom: 1px solid var(--border);
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
        }
        .header-main .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 72px;
        }
        .logo-text {
            font-size: 1.6rem;
            font-weight: 800;
            letter-spacing: -0.5px;
            color: var(--text-main);
            line-height: 1;
        }
        .logo-text span {
            color: var(--primary);
        }
        .nav-links {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .nav-links a {
            padding: 8px 18px;
            border-radius: 50px;
            font-weight: 500;
            font-size: 0.95rem;
            color: var(--text-light);
            transition: all var(--transition);
            position: relative;
        }
        .nav-links a:hover {
            color: var(--primary);
            background: rgba(232, 62, 62, 0.06);
        }
        .nav-links a.active {
            color: #fff;
            background: var(--primary);
            box-shadow: 0 4px 14px rgba(232, 62, 62, 0.25);
        }
        .nav-links a.active:hover {
            background: var(--primary-dark);
        }
        .nav-links .nav-cta {
            background: var(--primary);
            color: #fff;
            padding: 8px 22px;
            border-radius: 50px;
            font-weight: 600;
        }
        .nav-links .nav-cta:hover {
            background: var(--primary-dark);
            color: #fff;
            transform: translateY(-1px);
            box-shadow: 0 6px 20px rgba(232, 62, 62, 0.3);
        }
        .nav-toggle {
            display: none;
            background: none;
            font-size: 1.6rem;
            color: var(--text-main);
            cursor: pointer;
            padding: 4px 8px;
            border-radius: 8px;
            transition: background var(--transition);
        }
        .nav-toggle:hover {
            background: rgba(0, 0, 0, 0.04);
        }

        /* ===== Mobile Nav ===== */
        @media (max-width: 768px) {
            .nav-toggle {
                display: block;
            }
            .nav-links {
                position: fixed;
                top: 72px;
                left: 0;
                right: 0;
                background: #fff;
                flex-direction: column;
                padding: 16px 24px 24px;
                gap: 6px;
                border-bottom: 1px solid var(--border);
                box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
                transform: translateY(-120%);
                opacity: 0;
                pointer-events: none;
                transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
                border-radius: 0 0 var(--radius) var(--radius);
            }
            .nav-links.open {
                transform: translateY(0);
                opacity: 1;
                pointer-events: auto;
            }
            .nav-links a {
                width: 100%;
                padding: 12px 18px;
                font-size: 1rem;
                border-radius: var(--radius-sm);
            }
            .nav-links a.active {
                background: var(--primary);
                color: #fff;
            }
            .nav-links .nav-cta {
                text-align: center;
                margin-top: 6px;
            }
        }

        /* ===== Page Banner ===== */
        .page-banner {
            position: relative;
            padding: 100px 0 80px;
            background: var(--bg-dark);
            background-image: url('/assets/images/backpic/back-1.png');
            background-size: cover;
            background-position: center;
            background-blend-mode: overlay;
            color: #fff;
            overflow: hidden;
        }
        .page-banner::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(15, 15, 26, 0.88) 40%, rgba(232, 62, 62, 0.3) 100%);
            z-index: 1;
        }
        .page-banner .container {
            position: relative;
            z-index: 2;
        }
        .page-banner h1 {
            color: #fff;
            font-size: 3.2rem;
            font-weight: 800;
            letter-spacing: -0.5px;
            max-width: 700px;
            margin-bottom: 16px;
        }
        .page-banner p {
            color: rgba(255, 255, 255, 0.8);
            font-size: 1.2rem;
            max-width: 600px;
            margin-bottom: 28px;
            line-height: 1.7;
        }
        .page-banner .breadcrumb {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.875rem;
            color: rgba(255, 255, 255, 0.6);
            margin-bottom: 20px;
        }
        .page-banner .breadcrumb a {
            color: rgba(255, 255, 255, 0.7);
        }
        .page-banner .breadcrumb a:hover {
            color: #fff;
        }
        .page-banner .breadcrumb span {
            color: rgba(255, 255, 255, 0.4);
        }
        .page-banner .badge {
            background: var(--accent);
            color: #1e1e2f;
            margin-bottom: 16px;
        }

        /* ===== Category Intro ===== */
        .category-intro {
            background: #fff;
            border-bottom: 1px solid var(--border);
        }
        .category-intro .grid-2 {
            align-items: center;
            gap: 48px;
        }
        .category-intro .intro-img {
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: transform var(--transition);
        }
        .category-intro .intro-img:hover {
            transform: scale(1.01);
        }
        .category-intro .intro-img img {
            width: 100%;
            height: 380px;
            object-fit: cover;
        }
        .category-intro .intro-text h2 {
            font-size: 2rem;
            margin-bottom: 16px;
        }
        .category-intro .intro-text p {
            font-size: 1.05rem;
            line-height: 1.8;
            margin-bottom: 20px;
        }
        .category-intro .tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 8px;
        }
        .category-intro .tags .tag {
            background: var(--bg-body);
            padding: 6px 18px;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 500;
            color: var(--text-light);
            border: 1px solid var(--border);
            transition: all var(--transition);
        }
        .category-intro .tags .tag:hover {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
        }

        /* ===== Sport Cards ===== */
        .sport-cards {
            background: var(--bg-body);
        }
        .sport-card {
            background: #fff;
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: all var(--transition);
            border: 1px solid var(--border);
            display: flex;
            flex-direction: column;
        }
        .sport-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-hover);
            border-color: transparent;
        }
        .sport-card .card-img {
            height: 200px;
            overflow: hidden;
            position: relative;
        }
        .sport-card .card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        .sport-card:hover .card-img img {
            transform: scale(1.05);
        }
        .sport-card .card-img .card-badge {
            position: absolute;
            top: 14px;
            left: 14px;
            background: var(--primary);
            color: #fff;
            font-size: 0.7rem;
            font-weight: 600;
            padding: 4px 14px;
            border-radius: 50px;
            letter-spacing: 0.3px;
        }
        .sport-card .card-img .card-badge.live {
            background: #22c55e;
            animation: pulse-badge 2s infinite;
        }
        @keyframes pulse-badge {
            0%,
            100% {
                box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
            }
            50% {
                box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
            }
        }
        .sport-card .card-body {
            padding: 24px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .sport-card .card-body h3 {
            font-size: 1.25rem;
            margin-bottom: 8px;
        }
        .sport-card .card-body p {
            font-size: 0.95rem;
            color: var(--text-light);
            margin-bottom: 16px;
            flex: 1;
        }
        .sport-card .card-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 12px;
            border-top: 1px solid var(--border);
        }
        .sport-card .card-footer .meta {
            font-size: 0.8rem;
            color: var(--text-light);
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .sport-card .card-footer .btn {
            padding: 6px 18px;
            font-size: 0.8rem;
        }

        /* ===== Stats / Data ===== */
        .stats-section {
            background: var(--bg-dark);
            color: #fff;
            background-image: url('/assets/images/backpic/back-2.png');
            background-size: cover;
            background-position: center;
            background-blend-mode: overlay;
            position: relative;
        }
        .stats-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: rgba(15, 15, 26, 0.85);
            z-index: 1;
        }
        .stats-section .container {
            position: relative;
            z-index: 2;
        }
        .stats-section .section-title h2 {
            color: #fff;
        }
        .stats-section .section-title p {
            color: rgba(255, 255, 255, 0.7);
        }
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
            text-align: center;
        }
        .stat-item {
            background: rgba(255, 255, 255, 0.06);
            backdrop-filter: blur(8px);
            border-radius: var(--radius);
            padding: 32px 16px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            transition: all var(--transition);
        }
        .stat-item:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateY(-4px);
        }
        .stat-item .stat-number {
            font-size: 2.6rem;
            font-weight: 800;
            color: var(--accent);
            line-height: 1.2;
            margin-bottom: 6px;
        }
        .stat-item .stat-label {
            font-size: 0.95rem;
            color: rgba(255, 255, 255, 0.7);
            font-weight: 500;
        }
        .stat-item .stat-icon {
            font-size: 2rem;
            color: var(--primary-light);
            margin-bottom: 12px;
        }

        /* ===== Ranking / Hot List ===== */
        .ranking-section {
            background: #fff;
        }
        .ranking-list {
            display: grid;
            gap: 16px;
            max-width: 800px;
            margin: 0 auto;
        }
        .ranking-item {
            display: flex;
            align-items: center;
            gap: 20px;
            background: var(--bg-body);
            border-radius: var(--radius-sm);
            padding: 16px 24px;
            border: 1px solid var(--border);
            transition: all var(--transition);
        }
        .ranking-item:hover {
            border-color: var(--primary);
            box-shadow: 0 4px 16px rgba(232, 62, 62, 0.08);
        }
        .ranking-item .rank-num {
            font-size: 1.4rem;
            font-weight: 800;
            color: var(--primary);
            min-width: 40px;
            text-align: center;
        }
        .ranking-item .rank-num.top {
            color: var(--accent);
            font-size: 1.6rem;
        }
        .ranking-item .rank-info {
            flex: 1;
        }
        .ranking-item .rank-info h4 {
            font-size: 1.05rem;
            font-weight: 600;
            margin-bottom: 2px;
        }
        .ranking-item .rank-info p {
            font-size: 0.85rem;
            color: var(--text-light);
            margin: 0;
        }
        .ranking-item .rank-tag {
            font-size: 0.75rem;
            font-weight: 600;
            padding: 4px 14px;
            border-radius: 50px;
            background: rgba(232, 62, 62, 0.1);
            color: var(--primary);
        }
        .ranking-item .rank-tag.hot {
            background: rgba(245, 197, 24, 0.15);
            color: #b8860b;
        }
        .ranking-item .rank-tag.live {
            background: rgba(34, 197, 94, 0.12);
            color: #16a34a;
        }

        /* ===== FAQ ===== */
        .faq-section {
            background: var(--bg-body);
        }
        .faq-grid {
            max-width: 800px;
            margin: 0 auto;
            display: grid;
            gap: 12px;
        }
        .faq-item {
            background: #fff;
            border-radius: var(--radius-sm);
            border: 1px solid var(--border);
            overflow: hidden;
            transition: all var(--transition);
        }
        .faq-item:hover {
            border-color: var(--primary);
        }
        .faq-item .faq-question {
            padding: 20px 24px;
            font-weight: 600;
            font-size: 1.05rem;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
            background: none;
            width: 100%;
            text-align: left;
            color: var(--text-main);
            transition: background var(--transition);
        }
        .faq-item .faq-question:hover {
            background: rgba(232, 62, 62, 0.03);
        }
        .faq-item .faq-question i {
            color: var(--primary);
            font-size: 1.1rem;
            transition: transform 0.3s ease;
        }
        .faq-item.open .faq-question i {
            transform: rotate(180deg);
        }
        .faq-item .faq-answer {
            padding: 0 24px 20px;
            font-size: 0.95rem;
            color: var(--text-light);
            line-height: 1.7;
            display: none;
        }
        .faq-item.open .faq-answer {
            display: block;
        }

        /* ===== CTA ===== */
        .cta-section {
            background: var(--bg-dark);
            background-image: url('/assets/images/backpic/back-3.png');
            background-size: cover;
            background-position: center;
            background-blend-mode: overlay;
            position: relative;
            padding: 80px 0;
        }
        .cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(15, 15, 26, 0.9) 30%, rgba(232, 62, 62, 0.4) 100%);
            z-index: 1;
        }
        .cta-section .container {
            position: relative;
            z-index: 2;
            text-align: center;
        }
        .cta-section h2 {
            color: #fff;
            font-size: 2.5rem;
            margin-bottom: 16px;
        }
        .cta-section p {
            color: rgba(255, 255, 255, 0.75);
            font-size: 1.15rem;
            max-width: 560px;
            margin: 0 auto 32px;
        }
        .cta-section .btn-group {
            display: flex;
            justify-content: center;
            gap: 16px;
            flex-wrap: wrap;
        }
        .cta-section .btn {
            padding: 16px 40px;
            font-size: 1.1rem;
        }
        .cta-section .btn-outline {
            border-color: rgba(255, 255, 255, 0.5);
            color: #fff;
        }
        .cta-section .btn-outline:hover {
            background: #fff;
            color: var(--secondary);
            border-color: #fff;
        }

        /* ===== Footer (沿用首页样式) ===== */
        .footer {
            background: var(--bg-dark);
            color: rgba(255, 255, 255, 0.7);
            padding: 60px 0 0;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }
        .footer .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
            padding-bottom: 40px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }
        .footer .footer-brand .logo-text {
            color: #fff;
            font-size: 1.5rem;
            margin-bottom: 12px;
        }
        .footer .footer-brand p {
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.55);
            line-height: 1.7;
            max-width: 360px;
        }
        .footer .footer-col h4 {
            color: #fff;
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 16px;
        }
        .footer .footer-col a {
            display: block;
            color: rgba(255, 255, 255, 0.55);
            font-size: 0.9rem;
            padding: 4px 0;
            transition: all var(--transition);
        }
        .footer .footer-col a:hover {
            color: var(--primary-light);
            padding-left: 4px;
        }
        .footer .footer-col a i {
            width: 20px;
            margin-right: 6px;
        }
        .footer .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 12px;
            padding: 24px 0 32px;
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.4);
        }
        .footer .footer-bottom a {
            color: rgba(255, 255, 255, 0.45);
        }
        .footer .footer-bottom a:hover {
            color: #fff;
        }

        /* ===== Responsive ===== */
        @media (max-width: 1024px) {
            .grid-4 {
                grid-template-columns: 1fr 1fr;
            }
            .stats-grid {
                grid-template-columns: 1fr 1fr;
            }
            .footer .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 32px;
            }
        }
        @media (max-width: 768px) {
            h1 {
                font-size: 2rem;
            }
            h2 {
                font-size: 1.6rem;
            }
            h3 {
                font-size: 1.25rem;
            }
            .section {
                padding: 48px 0;
            }
            .section-title h2 {
                font-size: 1.6rem;
            }
            .page-banner {
                padding: 60px 0 48px;
            }
            .page-banner h1 {
                font-size: 2rem;
            }
            .page-banner p {
                font-size: 1rem;
            }
            .grid-2,
            .grid-3,
            .grid-4 {
                grid-template-columns: 1fr;
            }
            .category-intro .grid-2 {
                gap: 24px;
            }
            .category-intro .intro-img img {
                height: 240px;
            }
            .stats-grid {
                grid-template-columns: 1fr 1fr;
                gap: 16px;
            }
            .stat-item {
                padding: 20px 12px;
            }
            .stat-item .stat-number {
                font-size: 2rem;
            }
            .footer .footer-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }
            .footer .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
            .cta-section h2 {
                font-size: 1.8rem;
            }
            .cta-section .btn-group {
                flex-direction: column;
                align-items: center;
            }
            .ranking-item {
                padding: 12px 16px;
                gap: 12px;
                flex-wrap: wrap;
            }
            .ranking-item .rank-num {
                min-width: 28px;
                font-size: 1.1rem;
            }
            .topbar .container {
                flex-direction: column;
                align-items: flex-start;
            }
            .topbar-right {
                width: 100%;
                justify-content: flex-start;
            }
        }
        @media (max-width: 520px) {
            .container {
                padding: 0 16px;
            }
            .page-banner h1 {
                font-size: 1.6rem;
            }
            .stats-grid {
                grid-template-columns: 1fr 1fr;
                gap: 12px;
            }
            .stat-item .stat-number {
                font-size: 1.5rem;
            }
            .stat-item .stat-label {
                font-size: 0.8rem;
            }
            .sport-card .card-body {
                padding: 16px;
            }
            .sport-card .card-img {
                height: 160px;
            }
            .cta-section h2 {
                font-size: 1.4rem;
            }
        }

        /* ===== Utility ===== */
        .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-center {
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .flex-wrap {
            flex-wrap: wrap;
        }

/* roulang page: article */
:root {
    --primary: #e63946;
    --primary-dark: #c1121f;
    --primary-light: #ff6b6b;
    --secondary: #1d3557;
    --secondary-light: #2b4d7a;
    --accent: #f4a261;
    --bg: #f8f9fa;
    --bg-alt: #ffffff;
    --bg-dark: #0d1b2a;
    --text: #1a1a2e;
    --text-light: #4a4a5a;
    --text-muted: #8a8a9a;
    --border: #e0e0e8;
    --radius: 14px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0,0,0,0.06);
    --shadow-hover: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.10);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --max-width: 1200px;
    --header-height: 72px;
    --topbar-height: 40px;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
  a:hover { color: var(--primary-dark); }
  a:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

  img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }

  .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
  }

  .container-narrow {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
  }

  /* ===== Top Bar ===== */
  .topbar {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.75);
    font-size: 13px;
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .topbar-left span { margin-right: 20px; }
  .topbar-left i { margin-right: 6px; color: var(--primary-light); }
  .topbar-right a { color: rgba(255,255,255,0.7); margin-left: 18px; font-size: 14px; transition: color var(--transition); }
  .topbar-right a:hover { color: #fff; }

  /* ===== Header / Nav ===== */
  .header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    box-shadow: 0 1px 12px rgba(0,0,0,0.04);
  }

  .header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
  }

  .logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -0.5px;
    white-space: nowrap;
  }

  .logo-text span { color: var(--primary); }

  .nav {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .nav a {
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    color: var(--text-light);
    font-weight: 500;
    font-size: 15px;
    transition: all var(--transition);
    position: relative;
  }

  .nav a:hover {
    color: var(--primary);
    background: rgba(230, 57, 70, 0.06);
  }

  .nav a.active {
    color: var(--primary);
    background: rgba(230, 57, 70, 0.10);
    font-weight: 600;
  }

  .nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: var(--primary);
    border-radius: 4px;
  }

  .nav-cta {
    background: var(--primary) !important;
    color: #fff !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 14px rgba(230, 57, 70, 0.30);
    transition: all var(--transition) !important;
    margin-left: 8px;
  }

  .nav-cta:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(230, 57, 70, 0.40) !important;
  }

  .nav-cta i { margin-right: 6px; }

  .menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
  }

  .menu-toggle:hover { background: rgba(0,0,0,0.04); }

  /* ===== Mobile Nav ===== */
  .mobile-nav {
    display: none;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 16px 24px;
    box-shadow: var(--shadow-lg);
  }

  .mobile-nav.open { display: block; }

  .mobile-nav a {
    display: block;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-light);
    font-weight: 500;
    font-size: 16px;
    transition: all var(--transition);
    border-bottom: 1px solid var(--border);
  }

  .mobile-nav a:last-child { border-bottom: none; }
  .mobile-nav a:hover { background: rgba(230,57,70,0.06); color: var(--primary); }
  .mobile-nav a.active { color: var(--primary); font-weight: 600; }
  .mobile-nav .nav-cta { background: var(--primary); color: #fff !important; text-align: center; margin-top: 12px; border-radius: var(--radius-sm); border: none; }

  /* ===== Article Hero ===== */
  .article-hero {
    position: relative;
    padding: 60px 0 40px;
    background: var(--bg-dark);
    overflow: hidden;
  }

  .article-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/assets/images/backpic/back-2.png') center/cover no-repeat;
    opacity: 0.15;
    z-index: 0;
  }

  .article-hero .container { position: relative; z-index: 1; }

  .article-hero .breadcrumb {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    margin-bottom: 20px;
  }

  .article-hero .breadcrumb a { color: rgba(255,255,255,0.7); }
  .article-hero .breadcrumb a:hover { color: #fff; }
  .article-hero .breadcrumb span { color: rgba(255,255,255,0.4); margin: 0 8px; }

  .article-hero h1 {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    max-width: 860px;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
  }

  .article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    margin-bottom: 0;
  }

  .article-meta i { margin-right: 6px; color: var(--primary-light); }
  .article-meta .badge {
    background: var(--primary);
    color: #fff;
    padding: 3px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
  }

  /* ===== Article Content ===== */
  .article-section {
    padding: 50px 0 60px;
    background: #fff;
  }

  .article-body {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text);
  }

  .article-body p {
    margin-bottom: 20px;
  }

  .article-body h2 {
    font-size: 26px;
    font-weight: 700;
    margin: 40px 0 16px;
    color: var(--secondary);
    border-left: 4px solid var(--primary);
    padding-left: 16px;
  }

  .article-body h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 32px 0 12px;
    color: var(--secondary);
  }

  .article-body ul, .article-body ol {
    margin: 16px 0 24px 24px;
  }

  .article-body li {
    margin-bottom: 8px;
  }

  .article-body img {
    border-radius: var(--radius);
    margin: 28px 0;
    box-shadow: var(--shadow);
  }

  .article-body blockquote {
    border-left: 4px solid var(--primary);
    background: rgba(230,57,70,0.04);
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-light);
    font-style: italic;
  }

  .article-body a { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

  .article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
  }

  .article-tags .tag {
    background: var(--bg);
    color: var(--text-light);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: all var(--transition);
    border: 1px solid var(--border);
  }

  .article-tags .tag:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
  }

  .article-share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
  }

  .article-share span { font-weight: 600; color: var(--text-light); font-size: 15px; }

  .article-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg);
    color: var(--text-light);
    font-size: 18px;
    transition: all var(--transition);
    border: 1px solid var(--border);
  }

  .article-share a:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-3px); }

  /* ===== Related Posts ===== */
  .related-section {
    padding: 50px 0 60px;
    background: var(--bg);
  }

  .related-section .section-title {
    text-align: center;
    margin-bottom: 36px;
  }

  .related-section .section-title h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary);
  }

  .related-section .section-title p {
    color: var(--text-muted);
    margin-top: 8px;
  }

  .related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .related-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    border: 1px solid var(--border);
  }

  .related-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
  }

  .related-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0;
  }

  .related-card .card-body {
    padding: 20px;
  }

  .related-card .card-body .badge {
    background: var(--primary);
    color: #fff;
    padding: 2px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
  }

  .related-card .card-body h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
  }

  .related-card .card-body h3 a { color: var(--secondary); }
  .related-card .card-body h3 a:hover { color: var(--primary); }

  .related-card .card-body p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .related-card .card-footer {
    padding: 12px 20px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
  }

  /* ===== CTA Section ===== */
  .cta-section {
    padding: 60px 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
  }

  .cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/assets/images/backpic/back-1.png') center/cover no-repeat;
    opacity: 0.08;
    z-index: 0;
  }

  .cta-section .container { position: relative; z-index: 1; text-align: center; }

  .cta-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
  }

  .cta-section p {
    color: rgba(255,255,255,0.65);
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto 28px;
  }

  .cta-section .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

  .btn-primary, .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 16px;
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
  }

  .btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(230,57,70,0.35);
  }

  .btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-3px); box-shadow: 0 8px 32px rgba(230,57,70,0.45); }

  .btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.3);
  }

  .btn-outline:hover { background: rgba(255,255,255,0.10); border-color: #fff; color: #fff; transform: translateY(-3px); }

  /* ===== Footer ===== */
  .footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.7);
    padding: 50px 0 0;
    border-top: 1px solid rgba(255,255,255,0.06);
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .footer-brand .logo-text { font-size: 22px; margin-bottom: 14px; display: block; }
  .footer-brand p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.55); max-width: 340px; }

  .footer-col h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
  }

  .footer-col a {
    display: block;
    color: rgba(255,255,255,0.55);
    font-size: 14px;
    padding: 5px 0;
    transition: all var(--transition);
  }

  .footer-col a:hover { color: var(--primary-light); padding-left: 4px; }

  .footer-col a i { width: 20px; margin-right: 6px; }

  .footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
  }

  .footer-bottom a { color: rgba(255,255,255,0.5); }
  .footer-bottom a:hover { color: #fff; }

  /* ===== Not Found ===== */
  .not-found-box {
    text-align: center;
    padding: 80px 24px;
  }

  .not-found-box .icon {
    font-size: 60px;
    color: var(--text-muted);
    margin-bottom: 20px;
  }

  .not-found-box h2 { font-size: 28px; color: var(--secondary); margin-bottom: 12px; }
  .not-found-box p { color: var(--text-muted); margin-bottom: 24px; }
  .not-found-box a { font-weight: 600; }

  /* ===== Responsive ===== */
  @media (max-width: 1024px) {
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  }

  @media (max-width: 768px) {
    :root { --header-height: 64px; --topbar-height: 36px; }

    .topbar-left span { display: none; }
    .topbar-right a { margin-left: 12px; font-size: 13px; }

    .nav a:not(.nav-cta) { display: none; }
    .menu-toggle { display: block; }
    .nav .nav-cta { margin-left: auto; padding: 8px 18px !important; font-size: 14px; }

    .article-hero h1 { font-size: 26px; }
    .article-hero { padding: 40px 0 30px; }
    .article-body { font-size: 16px; }

    .related-grid { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .cta-section h2 { font-size: 26px; }
    .btn-primary, .btn-outline { padding: 12px 28px; font-size: 15px; }

    .container { padding: 0 16px; }
    .container-narrow { padding: 0 16px; }
  }

  @media (max-width: 520px) {
    .article-hero h1 { font-size: 22px; }
    .article-meta { flex-direction: column; gap: 8px; }
    .article-body h2 { font-size: 22px; }
    .article-body h3 { font-size: 19px; }
    .related-card .card-body h3 { font-size: 16px; }
    .cta-section h2 { font-size: 22px; }
    .logo-text { font-size: 20px; }
    .nav .nav-cta { padding: 6px 14px !important; font-size: 13px; }
  }
