/* roulang page: index */
:root {
    --night: #0b1120;
    --surface: #121a2b;
    --card: #172034;
    --gold: #f0b90b;
    --goldlight: #fbbf24;
    --ink: #eef2f7;
    --dim: #8b9bb4;
    --line: rgba(255,255,255,0.07);
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-sm: 8px;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
    background: var(--night);
    color: var(--ink);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
  }
  a { text-decoration: none; color: inherit; transition: color .2s; }
  img { max-width: 100%; display: block; }
  button { cursor: pointer; }

  /* ===== 左侧导航 ===== */
  .sidebar {
    position: fixed; top: 0; left: 0; width: 280px; height: 100vh;
    background: linear-gradient(180deg, #0d1428 0%, #0a0f1e 100%);
    border-right: 1px solid var(--line);
    z-index: 60; display: flex; flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  }
  .sidebar-brand {
    padding: 2rem 1.75rem 1.5rem;
    border-bottom: 1px solid var(--line);
  }
  .brand-logo {
    display: flex; align-items: center; gap: 12px;
  }
  .brand-icon {
    width: 46px; height: 46px; border-radius: 14px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(240,185,11,0.3);
    flex-shrink: 0;
  }
  .brand-icon i { font-size: 20px; color: #0b1120; }
  .brand-name { font-size: 20px; font-weight: 800; letter-spacing: .5px; color: #fff; line-height: 1.3; }
  .brand-sub { font-size: 11px; color: var(--dim); letter-spacing: 2px; margin-top: 2px; }

  .sidebar-nav { flex: 1; padding: 1.5rem 1rem; overflow-y: auto; }
  .nav-section-label {
    font-size: 11px; color: var(--dim); text-transform: uppercase;
    letter-spacing: 2px; padding: 0 0.75rem 0.5rem; font-weight: 600;
  }
  .nav-item {
    display: flex; align-items: center; gap: 12px;
    padding: 0.8rem 1rem; margin-bottom: 4px;
    border-radius: var(--radius-md);
    color: var(--dim); font-size: 15px; font-weight: 500;
    transition: all .25s;
  }
  .nav-item i { width: 20px; text-align: center; font-size: 16px; }
  .nav-item:hover {
    background: rgba(255,255,255,0.05); color: var(--ink);
  }
  .nav-item.active {
    background: linear-gradient(135deg, rgba(240,185,11,0.18), rgba(240,185,11,0.08));
    color: var(--goldlight);
    border-left: 3px solid var(--gold);
  }
  .nav-item.active i { color: var(--gold); }
  .nav-badge {
    margin-left: auto; background: rgba(240,185,11,0.15);
    color: var(--gold); font-size: 11px; font-weight: 700;
    padding: 2px 8px; border-radius: 20px;
  }

  .sidebar-footer {
    padding: 1.5rem 1.75rem; border-top: 1px solid var(--line);
  }
  .sidebar-footer p { font-size: 12px; color: var(--dim); line-height: 1.8; }

  /* ===== 主内容区 ===== */
  .main-content { margin-left: 280px; min-height: 100vh; }

  /* ===== 移动端顶部 ===== */
  .mobile-header {
    display: none; position: fixed; top: 0; left: 0; right: 0;
    height: 64px; background: rgba(11,17,32,0.95);
    backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
    z-index: 55; align-items: center; padding: 0 1.25rem; gap: 1rem;
  }
  .mobile-menu-btn {
    background: none; border: none; color: var(--ink); font-size: 22px;
    padding: 8px; border-radius: 8px;
  }
  .mobile-menu-btn:hover { background: rgba(255,255,255,0.06); }
  .mobile-logo { font-weight: 800; font-size: 17px; color: #fff; flex: 1; }
  .mobile-overlay {
    display: none; position: fixed; inset: 0; z-index: 58;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(2px);
  }
  .mobile-overlay.show { display: block; }

  /* ===== 按钮 ===== */
  .btn-gold {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #0b1120; font-weight: 700; font-size: 15px;
    padding: 0.85rem 2rem; border-radius: 50px;
    box-shadow: 0 4px 24px rgba(240,185,11,0.35);
    transition: all .3s;
  }
  .btn-gold:hover {
    transform: translateY(-2px); box-shadow: 0 8px 32px rgba(240,185,11,0.45);
  }
  .btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--ink); font-weight: 600; font-size: 15px;
    padding: 0.85rem 2rem; border-radius: 50px;
    transition: all .3s;
  }
  .btn-outline:hover {
    border-color: var(--gold); color: var(--goldlight);
    background: rgba(240,185,11,0.06);
  }

  /* ===== Hero ===== */
  .hero-section {
    position: relative; min-height: 620px;
    display: flex; align-items: center;
    overflow: hidden;
  }
  .hero-bg {
    position: absolute; inset: 0; background-size: cover; background-position: center;
  }
  .hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(11,17,32,0.97) 15%, rgba(11,17,32,0.78) 50%, rgba(11,17,32,0.35) 100%);
  }
  .hero-content { position: relative; z-index: 2; width: 100%; }

  /* ===== 卡片 ===== */
  .card {
    background: var(--card); border-radius: var(--radius-lg);
    border: 1px solid var(--line); box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    transition: all .3s;
  }
  .card:hover {
    border-color: rgba(240,185,11,0.3);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  }

  /* ===== 板块标题 ===== */
  .section-title { font-size: 2rem; font-weight: 800; letter-spacing: 1px; }
  .section-sub { color: var(--dim); font-size: 15px; }
  .title-line { width: 48px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--gold), transparent); }

  /* ===== 统计 ===== */
  .stat-number {
    font-size: 2.6rem; font-weight: 800; color: var(--gold);
    line-height: 1.2;
  }

  /* ===== 新闻卡片 ===== */
  .news-card {
    background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 1.5rem;
    transition: all .3s; display: block;
  }
  .news-card:hover {
    border-color: rgba(240,185,11,0.25);
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.25);
  }
  .news-tag {
    display: inline-block; background: rgba(240,185,11,0.12);
    color: var(--gold); font-size: 12px; font-weight: 700;
    padding: 3px 12px; border-radius: 20px;
  }
  .news-title { font-size: 16px; font-weight: 700; line-height: 1.5; margin-top: 12px; color: #fff; }
  .news-title:hover { color: var(--goldlight); }
  .news-excerpt { font-size: 14px; color: var(--dim); margin-top: 8px; line-height: 1.6; }
  .news-bottom { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--dim); }

  /* ===== FAQ ===== */
  .faq-item { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--card); margin-bottom: 12px; overflow: hidden; transition: all .3s; }
  .faq-item:hover { border-color: rgba(240,185,11,0.2); }
  .faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; background: none; border: none; color: var(--ink); font-size: 16px; font-weight: 600; text-align: left; }
  .faq-question i { font-size: 14px; transition: transform .3s; color: var(--gold); }
  .faq-item.open .faq-question i { transform: rotate(180deg); }
  .faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
  .faq-answer-inner { padding: 0 1.5rem 1.25rem; color: var(--dim); font-size: 14px; line-height: 1.8; }

  /* ===== CTA ===== */
  .cta-section {
    background: linear-gradient(135deg, rgba(240,185,11,0.12), rgba(240,185,11,0.03));
    border: 1px solid rgba(240,185,11,0.2);
    border-radius: 24px;
    padding: 3rem 3rem;
  }

  /* ===== 页脚 ===== */
  .footer {
    background: #0a0f1e; border-top: 1px solid var(--line);
    padding: 2.5rem 0 1.5rem;
  }

  /* ===== 响应式 ===== */
  @media (max-width: 1023px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); box-shadow: 0 0 50px rgba(0,0,0,0.5); }
    .main-content { margin-left: 0; }
    .mobile-header { display: flex; }
    main.main-content { padding-top: 64px; }
  }
  @media (max-width: 640px) {
    .hero-section { min-height: 520px; }
    .section-title { font-size: 1.5rem; }
    .stat-number { font-size: 1.8rem; }
    .cta-section { padding: 2rem 1.5rem; }
    .btn-gold, .btn-outline { padding: 0.7rem 1.5rem; font-size: 14px; }
  }

  /* 滚动条美化 */
  .sidebar-nav::-webkit-scrollbar { width: 4px; }
  .sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

  /* 焦点态 */
  a:focus-visible, button:focus-visible {
    outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px;
  }

/* roulang page: category1 */
:root {
    --gold: #f5b942;
    --gold-dark: #d99a2b;
    --gold-light: #f8cd6d;
    --bg-dark: #070b14;
    --bg-sidebar: #0b101c;
    --bg-surface: #0f1523;
    --bg-card: #131b2e;
    --border-color: rgba(255, 255, 255, 0.08);
    --text-primary: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 8px;
    --shadow-card: 0 6px 30px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 14px 40px rgba(0, 0, 0, 0.45);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  img {
    max-width: 100%;
    display: block;
  }

  a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
  }

  button {
    font-family: inherit;
    cursor: pointer;
  }

  .container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
  }

  /* ===== 侧边导航 ===== */
  .site-sidebar {
    width: 270px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .site-sidebar.open {
    transform: translateX(0);
  }

  @media (min-width: 1024px) {
    .site-sidebar {
      transform: none;
    }

    .site-body {
      margin-left: 270px;
    }
  }

  .sidebar-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 28px 24px 20px;
    border-bottom: 1px solid var(--border-color);
  }

  .logo-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(245, 185, 66, 0.25), rgba(245, 185, 66, 0.08));
    border: 1px solid rgba(245, 185, 66, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 0 24px rgba(245, 185, 66, 0.1);
  }

  .logo-text {
    font-weight: 800;
    font-size: 17px;
    color: #fff;
    letter-spacing: 0.5px;
    line-height: 1.3;
  }

  .logo-sub {
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 2px;
  }

  .sidebar-close {
    margin-left: auto;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-muted);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
  }

  .sidebar-close:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--gold);
  }

  @media (min-width: 1024px) {
    .sidebar-close {
      display: none;
    }
  }

  .sidebar-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 24px 16px;
  }

  .sidebar-scroll::-webkit-scrollbar {
    width: 4px;
  }

  .sidebar-scroll::-webkit-scrollbar-track {
    background: transparent;
  }

  .sidebar-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
  }

  .nav-section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-dim);
    padding: 0 10px;
    margin-bottom: 10px;
  }

  .nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 3px;
    position: relative;
    transition: var(--transition);
  }

  .nav-item i {
    width: 20px;
    text-align: center;
    font-size: 15px;
    color: var(--text-dim);
    transition: var(--transition);
  }

  .nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
  }

  .nav-item:hover i {
    color: var(--gold);
  }

  .nav-item.active {
    background: linear-gradient(135deg, rgba(245, 185, 66, 0.15), rgba(245, 185, 66, 0.05));
    color: #fff;
    box-shadow: inset 3px 0 0 var(--gold);
  }

  .nav-item.active i {
    color: var(--gold);
  }

  .nav-badge {
    margin-left: auto;
    font-size: 10px;
    font-weight: 800;
    background: linear-gradient(135deg, #f5b942, #ef6a3a);
    color: #0b101c;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    line-height: 1.4;
  }

  .sidebar-foot {
    padding: 20px 24px;
    border-top: 1px solid var(--border-color);
  }

  .sidebar-foot-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 16px;
  }

  /* ===== 移动端顶栏 ===== */
  .mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 90;
    background: rgba(7, 11, 20, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .mobile-header .logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 14px;
  }

  .mobile-header .logo-text {
    font-size: 15px;
  }

  .menu-btn {
    margin-left: auto;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
  }

  .menu-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--gold);
  }

  .sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .sidebar-overlay.show {
    opacity: 1;
    visibility: visible;
  }

  /* ===== Hero 首屏 ===== */
  .hero-section {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/assets/images/backpic/back-1.png');
    background-size: cover;
    background-position: center;
  }

  .hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(7, 11, 20, 0.92) 30%, rgba(7, 11, 20, 0.65) 70%, rgba(7, 11, 20, 0.3));
  }

  .hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(245, 185, 66, 0.1);
    border: 1px solid rgba(245, 185, 66, 0.25);
    padding: 8px 16px;
    border-radius: 30px;
    margin-bottom: 24px;
  }

  .hero-title {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.25;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 18px;
  }

  .hero-title .highlight {
    color: var(--gold);
  }

  .hero-sub {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 620px;
    margin-bottom: 32px;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition);
    border: none;
  }

  .btn-primary {
    background: linear-gradient(135deg, var(--gold), #e0902a);
    color: #0b101c;
    box-shadow: 0 6px 24px rgba(245, 185, 66, 0.25);
  }

  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(245, 185, 66, 0.35);
  }

  .btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
  }

  .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(245, 185, 66, 0.4);
    transform: translateY(-2px);
  }

  /* ===== 板块标题 ===== */
  .section-wrap {
    padding: 70px 0;
  }

  .section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 36px;
    flex-wrap: wrap;
  }

  .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 8px;
  }

  .section-title {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    letter-spacing: 0.5px;
  }

  .section-desc {
    font-size: 15px;
    color: var(--text-muted);
    margin-top: 10px;
    max-width: 560px;
  }

  .section-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gold);
    padding: 10px 20px;
    border-radius: 10px;
    background: rgba(245, 185, 66, 0.08);
    border: 1px solid rgba(245, 185, 66, 0.2);
    transition: var(--transition);
  }

  .section-link:hover {
    background: rgba(245, 185, 66, 0.15);
    transform: translateX(4px);
  }

  /* ===== 新闻卡片 ===== */
  .news-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .news-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 185, 66, 0.2);
    box-shadow: var(--shadow-hover);
  }

  .news-card-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: var(--bg-surface);
  }

  .news-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

  .news-card:hover .news-card-img-wrap img {
    transform: scale(1.05);
  }

  .news-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .news-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--text-dim);
    flex-wrap: wrap;
  }

  .news-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    line-height: 1.5;
    transition: var(--transition);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .news-card-title:hover {
    color: var(--gold);
  }

  .news-card-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .news-card-foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
    font-size: 12px;
    color: var(--text-dim);
  }

  .news-card-foot a {
    color: var(--gold);
    font-weight: 600;
  }

  .news-card-foot a:hover {
    text-decoration: underline;
  }

  /* ===== 标签 ===== */
  .tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    transition: var(--transition);
  }

  .tag-gold {
    background: rgba(245, 185, 66, 0.12);
    color: var(--gold);
    border-color: rgba(245, 185, 66, 0.25);
  }

  .tag-green {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.25);
  }

  .tag-blue {
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
    border-color: rgba(59, 130, 246, 0.25);
  }

  .tag-purple {
    background: rgba(139, 92, 246, 0.12);
    color: #a78bfa;
    border-color: rgba(139, 92, 246, 0.25);
  }

  /* ===== 数据排行 ===== */
  .stats-section {
    position: relative;
    overflow: hidden;
  }

  .stats-bg {
    position: absolute;
    inset: 0;
    background-image: url('/assets/images/backpic/back-2.png');
    background-size: cover;
    background-position: center;
  }

  .stats-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 11, 20, 0.95) 0%, rgba(7, 11, 20, 0.88) 100%);
  }

  .stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(6px);
  }

  .stat-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(245, 185, 66, 0.25);
    transform: translateY(-4px);
  }

  .stat-num {
    font-size: 36px;
    font-weight: 900;
    color: var(--gold);
    line-height: 1.2;
  }

  .stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
  }

  /* 排行榜 */
  .rank-list {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 12px 0;
  }

  .rank-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--transition);
  }

  .rank-item:last-child {
    border-bottom: none;
  }

  .rank-item:hover {
    background: rgba(245, 185, 66, 0.04);
  }

  .rank-num {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: var(--text-muted);
    flex-shrink: 0;
  }

  .rank-item:nth-child(1) .rank-num {
    background: rgba(245, 185, 66, 0.15);
    color: var(--gold);
    border-color: rgba(245, 185, 66, 0.3);
  }

  .rank-item:nth-child(2) .rank-num {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.25);
  }

  .rank-item:nth-child(3) .rank-num {
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
    border-color: rgba(59, 130, 246, 0.25);
  }

  .rank-info {
    flex: 1;
    min-width: 0;
  }

  .rank-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .rank-count {
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 2px;
  }

  .rank-bar-wrap {
    width: 120px;
    flex-shrink: 0;
  }

  .rank-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    overflow: hidden;
  }

  .rank-bar-fill {
    height: 100%;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
  }

  @media (max-width: 640px) {
    .rank-bar-wrap {
      display: none;
    }
  }

  /* ===== 分类入口 ===== */
  .cat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
  }

  .cat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: 0;
    transition: var(--transition);
  }

  .cat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 185, 66, 0.25);
    box-shadow: var(--shadow-hover);
  }

  .cat-card:hover::before {
    opacity: 1;
  }

  .cat-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
    background: rgba(245, 185, 66, 0.12);
    color: var(--gold);
    border: 1px solid rgba(245, 185, 66, 0.2);
  }

  .cat-card:nth-child(2) .cat-icon {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.2);
  }

  .cat-card:nth-child(3) .cat-icon {
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
    border-color: rgba(59, 130, 246, 0.2);
  }

  .cat-card:nth-child(4) .cat-icon {
    background: rgba(139, 92, 246, 0.12);
    color: #a78bfa;
    border-color: rgba(139, 92, 246, 0.2);
  }

  .cat-name {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
  }

  .cat-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
  }

  .cat-count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
    width: 100%;
  }

  /* ===== 深度专题 ===== */
  .feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
  }

  .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(245, 185, 66, 0.2);
  }

  .feature-img-wrap {
    position: relative;
    aspect-ratio: 16/8;
    overflow: hidden;
    background: var(--bg-surface);
  }

  .feature-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

  .feature-card:hover .feature-img-wrap img {
    transform: scale(1.04);
  }

  .feature-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(7, 11, 20, 0.8));
  }

  .feature-body {
    padding: 24px;
  }

  .feature-title {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    line-height: 1.5;
    margin-top: 8px;
    transition: var(--transition);
  }

  .feature-title:hover {
    color: var(--gold);
  }

  .feature-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-top: 12px;
  }

  /* ===== 观赛指南 ===== */
  .guide-section {
    position: relative;
    overflow: hidden;
  }

  .guide-bg {
    position: absolute;
    inset: 0;
    background-image: url('/assets/images/backpic/back-3.png');
    background-size: cover;
    background-position: center;
  }

  .guide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7, 11, 20, 0.94), rgba(7, 11, 20, 0.82));
  }

  .guide-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    backdrop-filter: blur(6px);
    transition: var(--transition);
    height: 100%;
  }

  .guide-card:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-4px);
  }

  .guide-num {
    font-size: 38px;
    font-weight: 900;
    color: var(--gold);
    opacity: 0.6;
    line-height: 1;
    margin-bottom: 16px;
  }

  .guide-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
  }

  .guide-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.8;
  }

  /* ===== FAQ ===== */
  .faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
  }

  .faq-item:hover {
    border-color: rgba(245, 185, 66, 0.2);
  }

  .faq-item summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    cursor: pointer;
    list-style: none;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    transition: var(--transition);
  }

  .faq-item summary::-webkit-details-marker {
    display: none;
  }

  .faq-item summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: auto;
    color: var(--gold);
    font-size: 13px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
  }

  .faq-item details[open] summary::after {
    transform: rotate(180deg);
  }

  .faq-item details[open] summary {
    color: var(--gold);
  }

  .faq-item .faq-answer {
    padding: 0 24px 20px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    margin: 0 24px 0;
    padding: 16px 0 20px;
  }

  /* ===== CTA ===== */
  .cta-section {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(245, 185, 66, 0.12), rgba(245, 185, 66, 0.03));
    border: 1px solid rgba(245, 185, 66, 0.2);
    padding: 56px 48px;
    text-align: center;
  }

  .cta-title {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
  }

  .cta-desc {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 520px;
    margin: 14px auto 28px;
    line-height: 1.8;
  }

  /* ===== 页脚 ===== */
  .footer {
    background: var(--bg-sidebar);
    border-top: 1px solid var(--border-color);
    padding: 40px 0 28px;
    margin-top: 40px;
  }

  /* ===== 通用工具 ===== */
  .mt-8 { margin-top: 32px; }

  @media (max-width: 768px) {
    .hero-title {
      font-size: 28px;
    }

    .section-title {
      font-size: 22px;
    }

    .section-wrap {
      padding: 50px 0;
    }

    .cta-section {
      padding: 40px 24px;
    }

    .cta-title {
      font-size: 22px;
    }
  }

  @media (max-width: 520px) {
    .hero-title {
      font-size: 24px;
    }

    .hero-section {
      min-height: 460px;
    }

    .section-header {
      flex-direction: column;
      align-items: flex-start;
    }
  }

/* roulang page: article */
:root {
  --gold: #c9a05f;
  --gold-light: #e2c48a;
  --dark-950: #060a12;
  --dark-900: #0a0f1a;
  --dark-800: #121927;
  --dark-700: #1a2333;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  background-color: var(--dark-950);
  color: #cbd5e1;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
  border-radius: 6px;
}
img { display: block; max-width: 100%; }

/* 侧边导航 */
.sidebar-nav .nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}
.sidebar-nav .nav-item i { width: 1.25rem; text-align: center; }
.sidebar-nav .nav-item:hover {
  background: rgba(201,160,95,0.08);
  color: var(--gold-light);
  border-color: rgba(201,160,95,0.16);
}
.sidebar-nav .nav-item.active {
  background: linear-gradient(135deg, rgba(201,160,95,0.18), rgba(201,160,95,0.05));
  color: var(--gold-light);
  border-color: rgba(201,160,95,0.25);
  box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}
.nav-section-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #475569;
  font-weight: 700;
  padding: 0 1rem;
  margin-bottom: 0.5rem;
}
.nav-badge {
  margin-left: auto;
  background: linear-gradient(135deg, #c9a05f, #e2c48a);
  color: #060a12;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

/* 文章正文 */
.prose-content { font-size: 1.0625rem; line-height: 1.9; word-break: break-word; }
.prose-content p { margin-bottom: 1.4rem; color: #cbd5e1; }
.prose-content h2 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2.25rem 0 1.1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--gold);
  line-height: 1.4;
}
.prose-content h3 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.9rem 0 0.9rem;
  line-height: 1.5;
}
.prose-content h4 { color: #fff; font-size: 1.1rem; font-weight: 600; margin: 1.5rem 0 0.7rem; }
.prose-content ul, .prose-content ol { margin: 0 0 1.4rem 1.6rem; color: #cbd5e1; }
.prose-content ul { list-style: disc; }
.prose-content ol { list-style: decimal; }
.prose-content li { margin-bottom: 0.45rem; }
.prose-content a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.prose-content a:hover { color: #fff; }
.prose-content blockquote {
  border-left: 4px solid var(--gold);
  background: rgba(201,160,95,0.08);
  padding: 1.1rem 1.5rem;
  border-radius: 0 0.75rem 0.75rem 0;
  margin: 1.5rem 0;
  color: #f1f5f9;
}
.prose-content img {
  border-radius: 0.75rem;
  margin: 1.5rem 0;
  max-width: 100%;
  height: auto;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}
.prose-content strong { color: #fff; font-weight: 600; }
.prose-content hr { border: 0; border-top: 1px solid rgba(255,255,255,0.08); margin: 2rem 0; }

/* 按钮 */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #c9a05f, #e2c48a);
  color: #060a12 !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.875rem 2rem;
  border-radius: 0.875rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 24px rgba(201,160,95,0.22);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(201,160,95,0.35);
  filter: brightness(1.05);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid rgba(201,160,95,0.4);
  color: var(--gold-light) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.875rem 2rem;
  border-radius: 0.875rem;
  transition: all 0.3s ease;
  background: transparent;
  cursor: pointer;
}
.btn-outline:hover {
  background: rgba(201,160,95,0.1);
  border-color: #c9a05f;
  transform: translateY(-2px);
}

/* FAQ */
.faq-item details summary::-webkit-details-marker { display: none; }
.faq-item details summary { transition: color 0.2s ease; list-style: none; }
.faq-item details summary::-moz-list-bullet { list-style: none; }
.faq-item details[open] summary { color: var(--gold-light); }
.faq-item details[open] .fa-chevron-down { transform: rotate(180deg); }
.faq-item .fa-chevron-down { transition: transform 0.3s ease; }

/* 文本行数截断 */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 进场动画 */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.6s ease both; }
