/* roulang page: index */
:root {
    --primary: #f97316;
    --primary-dark: #ea580c;
    --primary-light: #fff7ed;
    --navy: #0f172a;
    --deep: #1e293b;
    --accent: #f59e0b;
    --bg: #f8fafc;
    --surface: #ffffff;
    --muted: #64748b;
    --line: #e2e8f0;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow-card: 0 4px 24px rgba(15, 23, 42, 0.06);
    --shadow-hover: 0 12px 40px rgba(15, 23, 42, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  *,
  *::before,
  *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background: #f8fafc;
    -webkit-font-smoothing: antialiased;
  }

  a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
  }

  img {
    max-width: 100%;
    display: block;
  }

  button,
  input {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    outline: none;
  }

  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
  }

  /* ── Header ─────────────────────────── */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
    box-shadow: 0 2px 16px rgba(15, 23, 42, 0.06);
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }

  .logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f97316, #f59e0b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
  }

  .logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0.5px;
    white-space: nowrap;
  }

  .logo-text span {
    color: var(--primary);
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .nav-link {
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    color: #475569;
    transition: var(--transition);
    position: relative;
  }

  .nav-link:hover {
    color: var(--primary);
    background: var(--primary-light);
  }

  .nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
    font-weight: 600;
  }

  .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 3px;
    border-radius: 999px;
    background: var(--primary);
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  /* ── Buttons ────────────────────────── */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
  }

  .btn-primary {
    background: linear-gradient(135deg, #f97316, #f59e0b);
    color: #fff;
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.3);
  }

  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.4);
  }

  .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
  }

  .btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
  }

  .btn-outline:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
  }

  .btn-white {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.15);
  }

  .btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
  }

  .btn-dark {
    background: #0f172a;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .btn-dark:hover {
    background: #1e293b;
    transform: translateY(-2px);
  }

  .btn-lg {
    padding: 14px 36px;
    font-size: 16px;
  }

  .btn-sm {
    padding: 7px 18px;
    font-size: 14px;
  }

  /* ── Hero ───────────────────────────── */
  .hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.6) 50%, rgba(15, 23, 42, 0.3) 100%);
  }

  .hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(249, 115, 22, 0.2);
    border: 1px solid rgba(249, 115, 22, 0.4);
    color: #fdba74;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(8px);
    margin-bottom: 24px;
  }

  .hero-badge i {
    font-size: 12px;
  }

  .hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  }

  .hero h1 .highlight {
    background: linear-gradient(120deg, #fdba74, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .hero-desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.88);
    max-width: 560px;
    line-height: 1.8;
    margin-bottom: 36px;
  }

  .hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
  }

  .hero-stats {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
  }

  .hero-stat {
    text-align: center;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
  }

  .hero-stat strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #fbbf24;
    line-height: 1.2;
  }

  .hero-stat span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
  }

  /* ── Section Common ─────────────────── */
  .section {
    padding: 80px 0;
  }

  .section-alt {
    background: #ffffff;
  }

  .section-label {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 12px;
  }

  .section-title {
    font-size: clamp(26px, 3.2vw, 36px);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
  }

  .section-subtitle {
    font-size: 15px;
    color: var(--muted);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 44px;
  }

  .section-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 40px;
  }

  .section-head-center {
    align-items: center;
    text-align: center;
  }

  .section-head-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  /* ── Feature Cards ──────────────────── */
  .feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .feature-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
  }

  .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(249, 115, 22, 0.2);
  }

  .feature-card:hover::before {
    transform: scaleX(1);
  }

  .feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 22px;
    margin-bottom: 18px;
    transition: var(--transition);
  }

  .feature-card:hover .feature-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.05);
  }

  .feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
  }

  .feature-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
  }

  /* ── Category Cards ─────────────────── */
  .category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--navy);
    min-height: 280px;
    display: flex;
    align-items: flex-end;
    transition: var(--transition);
    border: 1px solid var(--line);
  }

  .category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .category-card:hover img {
    transform: scale(1.06);
    opacity: 0.45;
  }

  .category-card-body {
    position: relative;
    z-index: 2;
    padding: 32px 28px;
    width: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85), transparent);
  }

  .category-card-body h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
  }

  .category-card-body p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
  }

  .category-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fdba74;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
  }

  .category-card:hover .category-card-link {
    gap: 10px;
    color: #fbbf24;
  }

  /* ── News / CMS List ────────────────── */
  .news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .news-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 22px 24px;
    transition: var(--transition);
    display: block;
    position: relative;
  }

  .news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(249, 115, 22, 0.25);
  }

  .news-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
  }

  .news-badge {
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
    white-space: nowrap;
  }

  .news-date {
    font-size: 13px;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }

  .news-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.4;
    margin-bottom: 8px;
    transition: var(--transition);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .news-card:hover h3 {
    color: var(--primary);
  }

  .news-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
  }

  .news-card-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
  }

  .news-card-more i {
    font-size: 12px;
    transition: transform 0.2s ease;
  }

  .news-card:hover .news-card-more i {
    transform: translateX(4px);
  }

  .news-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: var(--surface);
    border: 1px dashed var(--line);
    border-radius: var(--radius-lg);
    color: var(--muted);
    font-size: 15px;
  }

  /* ── Rankings Section ───────────────── */
  .rankings-section {
    background: var(--navy);
    position: relative;
    overflow: hidden;
  }

  .rankings-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/assets/images/backpic/back-2.png') center/cover no-repeat;
    opacity: 0.18;
  }

  .rankings-wrap {
    position: relative;
    z-index: 2;
  }

  .rankings-section .section-title {
    color: #fff;
  }

  .rankings-section .section-subtitle {
    color: rgba(255, 255, 255, 0.65);
  }

  .rankings-section .section-label {
    background: rgba(249, 115, 22, 0.2);
    color: #fdba74;
  }

  .ranking-board {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
  }

  .ranking-row {
    display: grid;
    grid-template-columns: 64px 1fr 120px 60px;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
  }

  .ranking-row:last-child {
    border-bottom: none;
  }

  .ranking-row:hover {
    background: rgba(249, 115, 22, 0.08);
    padding-left: 32px;
  }

  .rank-num {
    font-size: 24px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
    font-style: italic;
  }

  .rank-num.top {
    color: #fbbf24;
    position: relative;
  }

  .rank-game {
    display: flex;
    flex-direction: column;
  }

  .rank-game h4 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
  }

  .rank-game p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
  }

  .rank-score {
    text-align: right;
    font-size: 20px;
    font-weight: 800;
    color: #fbbf24;
  }

  .rank-trend {
    text-align: center;
    font-size: 16px;
    color: #34d399;
  }

  .rank-trend.down {
    color: #f87171;
  }

  /* ── Process ────────────────────────── */
  .process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
  }

  .process-grid::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, rgba(249, 115, 22, 0.2) 100%);
    z-index: 0;
  }

  .process-step {
    text-align: center;
    padding: 32px 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
    z-index: 1;
  }

  .process-step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
  }

  .step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f97316, #f59e0b);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.35);
  }

  .process-step h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
  }

  .process-step p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
  }

  /* ── FAQ ────────────────────────────── */
  .faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
  }

  .faq-item:hover {
    border-color: rgba(249, 115, 22, 0.3);
  }

  .faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    text-align: left;
    transition: var(--transition);
    gap: 16px;
  }

  .faq-question i {
    color: var(--primary);
    transition: transform 0.3s ease;
    font-size: 14px;
    flex-shrink: 0;
  }

  .faq-item.open .faq-question i {
    transform: rotate(45deg);
  }

  .faq-item.open .faq-question {
    color: var(--primary);
  }

  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .faq-answer p {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.8;
  }

  /* ── CTA ────────────────────────────── */
  .cta-section {
    position: relative;
    background: url('/assets/images/backpic/back-3.png') center/cover no-repeat;
    border-radius: 24px;
    overflow: hidden;
    padding: 64px 48px;
    text-align: center;
  }

  .cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(249, 115, 22, 0.75));
  }

  .cta-content {
    position: relative;
    z-index: 2;
  }

  .cta-content h2 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
  }

  .cta-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  /* ── Footer ─────────────────────────── */
  .site-footer {
    background: #0f172a;
    color: rgba(255, 255, 255, 0.6);
    padding-top: 64px;
    padding-bottom: 40px;
    margin-top: 80px;
  }

  .footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
  }

  .footer-brand .logo-text {
    color: #fff;
    font-size: 22px;
  }

  .footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    margin-top: 16px;
    max-width: 340px;
    color: rgba(255, 255, 255, 0.5);
  }

  .footer-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
  }

  .footer-links a:hover {
    color: #fdba74;
    padding-left: 4px;
  }

  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
  }

  .footer-bottom .domain {
    color: rgba(255, 255, 255, 0.3);
  }

  /* ── Mobile Bottom Nav ──────────────── */
  .mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
    padding-bottom: env(safe-area-inset-bottom);
  }

  .mobile-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 62px;
    max-width: 480px;
    margin: 0 auto;
  }

  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 16px;
    border-radius: 12px;
    font-size: 11px;
    color: #64748b;
    transition: var(--transition);
  }

  .mobile-nav-item i {
    font-size: 18px;
    transition: var(--transition);
  }

  .mobile-nav-item.active {
    color: var(--primary);
    font-weight: 600;
  }

  .mobile-nav-item.active i {
    transform: scale(1.1);
  }

  /* ── Responsive ─────────────────────── */
  @media (max-width: 1024px) {
    .feature-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .category-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 768px) {
    .desktop-nav,
    .header-actions .btn {
      display: none;
    }

    .mobile-nav {
      display: block;
    }

    .section {
      padding: 60px 0;
    }

    .hero {
      min-height: 480px;
    }

    .hero-stats {
      gap: 16px;
    }

    .hero-stat {
      padding: 12px 18px;
    }

    .hero-stat strong {
      font-size: 22px;
    }

    .news-grid {
      grid-template-columns: 1fr;
    }

    .process-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .process-grid::before {
      display: none;
    }

    .footer-top {
      grid-template-columns: 1fr;
      gap: 32px;
    }

    .ranking-row {
      grid-template-columns: 44px 1fr 60px 30px;
      padding: 14px 16px;
      gap: 10px;
    }

    .rank-num {
      font-size: 20px;
    }

    .rank-score {
      font-size: 16px;
    }

    .cta-section {
      padding: 48px 24px;
      border-radius: 16px;
    }

    .site-footer {
      margin-bottom: 60px;
    }
  }

  @media (max-width: 520px) {
    .feature-grid {
      grid-template-columns: 1fr;
    }

    .category-grid {
      grid-template-columns: 1fr;
    }

    .process-grid {
      grid-template-columns: 1fr;
    }

    .hero-buttons {
      flex-direction: column;
      width: 100%;
    }

    .hero-buttons .btn {
      width: 100%;
    }

    .hero-desc {
      font-size: 15px;
    }

    .hero-stat {
      flex: 1;
      min-width: 90px;
      padding: 10px 12px;
    }

    .hero-stat strong {
      font-size: 18px;
    }

    .hero-stat span {
      font-size: 11px;
    }

    .logo-text {
      font-size: 17px;
    }

    .logo-icon {
      width: 34px;
      height: 34px;
      font-size: 16px;
    }

    .ranking-row {
      grid-template-columns: 36px 1fr 46px 24px;
    }

    .rank-game h4 {
      font-size: 14px;
    }

    .rank-game p {
      font-size: 12px;
    }

    .footer-bottom {
      flex-direction: column;
      text-align: center;
    }
  }

/* roulang page: category1 */
:root {
            --primary: #4F46E5;
            --primary-light: #818CF8;
            --primary-dark: #3730A3;
            --accent: #F59E0B;
            --accent-light: #FBBF24;
            --accent-dark: #D97706;
            --dark-bg: #0F172A;
            --light-bg: #F8FAFC;
            --text-main: #1E293B;
            --text-weak: #64748B;
            --border: #E2E8F0;
            --radius: 16px;
            --shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.12);
        }

        * {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
            background-color: #FFFFFF;
            color: var(--text-main);
            line-height: 1.6;
            margin: 0;
            padding: 0;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: all 0.25s ease;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
        }

        /* ===== Header ===== */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 50;
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border);
        }

        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 72px;
            gap: 24px;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 700;
            font-size: 20px;
            color: var(--text-main);
            flex-shrink: 0;
        }

        .logo-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: #fff;
            border-radius: 10px;
            font-size: 18px;
            font-weight: 800;
            box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
        }

        .logo-text span {
            color: var(--primary);
        }

        .desktop-nav {
            display: flex;
            align-items: center;
            gap: 32px;
        }

        .nav-link {
            font-size: 15px;
            font-weight: 500;
            color: var(--text-weak);
            padding: 6px 2px;
            position: relative;
            white-space: nowrap;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 0;
            height: 2px;
            background: var(--primary);
            border-radius: 2px;
            transition: width 0.3s ease;
        }

        .nav-link:hover {
            color: var(--primary);
        }

        .nav-link:hover::after {
            width: 100%;
        }

        .nav-link.active {
            color: var(--primary);
            font-weight: 600;
        }

        .nav-link.active::after {
            width: 100%;
            background: var(--primary);
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-left: auto;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-weight: 600;
            border-radius: 10px;
            padding: 10px 22px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            line-height: 1;
        }

        .btn-sm {
            padding: 8px 16px;
            font-size: 13px;
            border-radius: 8px;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: #fff;
            box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(79, 70, 229, 0.45);
        }

        .btn-primary:active {
            transform: translateY(0);
            box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
        }

        .btn-outline {
            background: transparent;
            border: 2px solid var(--border);
            color: var(--text-main);
        }

        .btn-outline:hover {
            border-color: var(--primary);
            color: var(--primary);
            background: rgba(79, 70, 229, 0.04);
        }

        /* ===== Mobile Bottom Tab ===== */
        .mobile-bottom-tab {
            display: none;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(255, 255, 255, 0.97);
            backdrop-filter: blur(12px);
            border-top: 1px solid var(--border);
            z-index: 100;
            padding: 6px 0;
            box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.06);
        }

        .mobile-tab-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            font-size: 11px;
            color: var(--text-weak);
            padding: 6px 8px;
            border-radius: 12px;
            transition: all 0.2s ease;
            flex: 1;
        }

        .mobile-tab-item i {
            font-size: 18px;
        }

        .mobile-tab-item:hover {
            color: var(--primary);
            background: rgba(79, 70, 229, 0.06);
        }

        .mobile-tab-item.active {
            color: var(--primary);
            font-weight: 600;
        }

        /* ===== Page Hero / Banner ===== */
        .page-hero {
            position: relative;
            padding: 100px 0 80px;
            background: linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(55, 48, 163, 0.85)), url('/assets/images/backpic/back-2.png') center/cover no-repeat;
            color: #fff;
        }

        .page-hero::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.4));
            pointer-events: none;
        }

        .page-hero .hero-content {
            position: relative;
            z-index: 2;
            max-width: 760px;
        }

        .page-hero .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(8px);
            padding: 6px 16px;
            border-radius: 100px;
            font-size: 13px;
            margin-bottom: 24px;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .page-hero h1 {
            font-size: 44px;
            line-height: 1.2;
            font-weight: 800;
            margin: 0 0 20px;
        }

        .page-hero h1 span {
            background: linear-gradient(135deg, var(--accent-light), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .page-hero p {
            font-size: 17px;
            line-height: 1.8;
            opacity: 0.9;
            margin: 0 0 32px;
            max-width: 640px;
        }

        .hero-stats {
            display: flex;
            gap: 40px;
            flex-wrap: wrap;
            margin-top: 40px;
        }

        .hero-stat {
            text-align: left;
        }

        .hero-stat .stat-num {
            font-size: 32px;
            font-weight: 800;
            color: var(--accent-light);
            display: block;
            line-height: 1.2;
        }

        .hero-stat .stat-label {
            font-size: 14px;
            opacity: 0.8;
            display: block;
            margin-top: 4px;
        }

        /* ===== Breadcrumb ===== */
        .breadcrumb-wrap {
            padding: 20px 0;
            border-bottom: 1px solid var(--border);
            background: var(--light-bg);
        }

        .breadcrumb {
            font-size: 14px;
            color: var(--text-weak);
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }

        .breadcrumb a {
            color: var(--text-weak);
        }

        .breadcrumb a:hover {
            color: var(--primary);
        }

        .breadcrumb i {
            font-size: 12px;
        }

        /* ===== Section Setup ===== */
        .section {
            padding: 88px 0;
        }

        .section-sm {
            padding: 60px 0;
        }

        .section-bg-light {
            background: var(--light-bg);
        }

        .section-bg-dark {
            background: var(--dark-bg);
            color: #fff;
        }

        .section-header {
            margin-bottom: 48px;
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 24px;
            flex-wrap: wrap;
        }

        .section-title {
            font-size: 32px;
            font-weight: 800;
            line-height: 1.3;
            margin: 0 0 8px;
            letter-spacing: -0.5px;
        }

        .section-title span {
            color: var(--primary);
        }

        .section-subtitle {
            font-size: 16px;
            color: var(--text-weak);
            margin: 0;
            line-height: 1.6;
        }

        .section-header-dark .section-subtitle {
            color: rgba(255, 255, 255, 0.7);
        }

        /* ===== Rank Card ===== */
        .rank-card {
            background: #fff;
            border-radius: var(--radius);
            border: 1px solid var(--border);
            box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
            padding: 24px;
            display: flex;
            align-items: center;
            gap: 20px;
            transition: all 0.35s ease;
            position: relative;
            overflow: hidden;
        }

        .rank-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow);
            border-color: var(--primary-light);
        }

        .rank-num {
            min-width: 48px;
            height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
            font-size: 20px;
            font-weight: 800;
            color: #fff;
            background: linear-gradient(135deg, #94A3B8, #64748B);
        }

        .rank-1 {
            background: linear-gradient(135deg, #FBBF24, #D97706);
        }

        .rank-2 {
            background: linear-gradient(135deg, #94A3B8, #64748B);
        }

        .rank-3 {
            background: linear-gradient(135deg, #D9A066, #A0522D);
        }

        .rank-info {
            flex: 0 1 auto;
            min-width: 130px;
        }

        .rank-name {
            font-size: 17px;
            font-weight: 700;
            margin: 0 0 4px;
            line-height: 1.3;
        }

        .rank-type {
            font-size: 13px;
            color: var(--text-weak);
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .rank-type i {
            color: var(--accent);
            font-size: 12px;
        }

        .rank-meta {
            flex: 0 1 auto;
            display: flex;
            align-items: center;
            gap: 12px;
            white-space: nowrap;
        }

        .rank-badge {
            background: rgba(79, 70, 229, 0.08);
            color: var(--primary);
            border-radius: 100px;
            padding: 4px 12px;
            font-size: 12px;
            font-weight: 600;
        }

        .rank-score {
            display: flex;
            align-items: center;
            gap: 16px;
            white-space: nowrap;
            margin-left: auto;
        }

        .rank-heat {
            text-align: right;
        }

        .rank-heat .heat-value {
            font-size: 18px;
            font-weight: 800;
            color: var(--text-main);
            display: block;
        }

        .rank-heat .heat-label {
            font-size: 12px;
            color: var(--text-weak);
        }

        .rank-trend {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: 13px;
            font-weight: 600;
        }

        .trend-up {
            color: #10B981;
        }

        .trend-down {
            color: #EF4444;
        }

        .trend-flat {
            color: var(--text-weak);
        }

        /* ===== Game Card ===== */
        .game-card {
            background: #fff;
            border-radius: var(--radius);
            border: 1px solid var(--border);
            overflow: hidden;
            box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
            transition: all 0.35s ease;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .game-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow);
        }

        .game-card-img {
            position: relative;
            aspect-ratio: 16 / 10;
            overflow: hidden;
        }

        .game-card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }

        .game-card:hover .game-card-img img {
            transform: scale(1.05);
        }

        .game-card-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            background: rgba(15, 23, 42, 0.75);
            backdrop-filter: blur(8px);
            color: #fff;
            padding: 4px 12px;
            border-radius: 100px;
            font-size: 12px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .game-card-badge.hot {
            background: linear-gradient(135deg, #F59E0B, #D97706);
        }

        .game-card-body {
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            flex: 1;
        }

        .game-card-title {
            font-size: 17px;
            font-weight: 700;
            margin: 0;
            line-height: 1.4;
        }

        .game-card-desc {
            font-size: 14px;
            color: var(--text-weak);
            line-height: 1.6;
            margin: 0;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            flex: 1;
        }

        .game-card-meta {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 13px;
            color: var(--text-weak);
            flex-wrap: wrap;
            padding-top: 12px;
            border-top: 1px solid #F1F5F9;
            margin-top: auto;
        }

        .game-card-meta i {
            font-size: 12px;
            color: var(--primary);
        }

        /* ===== Stats / Data Blocks ===== */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
        }

        .stat-card {
            background: #fff;
            border-radius: var(--radius);
            border: 1px solid var(--border);
            padding: 28px 24px;
            text-align: center;
            box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
            transition: all 0.3s ease;
        }

        .stat-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow);
        }

        .stat-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
            border-radius: 12px;
            font-size: 20px;
            color: var(--primary);
            background: rgba(79, 70, 229, 0.1);
            margin-bottom: 16px;
        }

        .stat-value {
            font-size: 28px;
            font-weight: 800;
            color: var(--primary);
            line-height: 1.2;
            display: block;
        }

        .stat-label {
            font-size: 14px;
            color: var(--text-weak);
            margin-top: 6px;
            display: block;
        }

        /* ===== Timeline / Style ===== */
        .timeline-wrap {
            position: relative;
            display: flex;
            flex-direction: column;
            gap: 0;
            margin: 40px 0 0;
        }

        .timeline-item {
            display: flex;
            gap: 24px;
            position: relative;
            padding-bottom: 36px;
        }

        .timeline-item:last-child {
            padding-bottom: 0;
        }

        .timeline-dot {
            display: flex;
            flex-direction: column;
            align-items: center;
            flex-shrink: 0;
            width: 56px;
        }

        .timeline-dot .dot-circle {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: #fff;
            font-weight: 700;
            font-size: 14px;
            box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
            z-index: 2;
        }

        .timeline-dot .dot-line {
            flex: 1;
            width: 2px;
            background: linear-gradient(to bottom, var(--primary-light), var(--border));
            margin-top: 4px;
        }

        .timeline-content {
            flex: 1;
            background: #fff;
            border-radius: var(--radius);
            border: 1px solid var(--border);
            padding: 24px;
            box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
            margin-bottom: 8px;
        }

        .timeline-content h3 {
            font-size: 18px;
            margin: 0 0 8px;
            font-weight: 700;
        }

        .timeline-content p {
            font-size: 14px;
            color: var(--text-weak);
            margin: 0;
            line-height: 1.6;
        }

        /* ===== FAQ ===== */
        .faq-list {
            display: flex;
            flex-direction: column;
            gap: 16px;
            max-width: 860px;
            margin: 0 auto;
        }

        .faq-item {
            background: #fff;
            border-radius: 14px;
            border: 1px solid var(--border);
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
            transition: all 0.3s ease;
        }

        .faq-item:hover {
            border-color: var(--primary-light);
            box-shadow: 0 8px 24px rgba(79, 70, 229, 0.08);
        }

        .faq-item summary {
            padding: 20px 24px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            list-style: none;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
        }

        .faq-item summary::-webkit-details-marker {
            display: none;
        }

        .faq-item summary::after {
            content: '\f078';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            font-size: 14px;
            color: var(--primary);
            transition: transform 0.3s ease;
            flex-shrink: 0;
        }

        .faq-item[open] summary::after {
            transform: rotate(180deg);
        }

        .faq-item .faq-answer {
            padding: 0 24px 20px;
            font-size: 15px;
            color: var(--text-weak);
            line-height: 1.7;
            border-top: 1px solid #F1F5F9;
            padding-top: 16px;
        }

        /* ===== CTA ===== */
        .cta-section {
            position: relative;
            background: linear-gradient(135deg, var(--primary-dark), var(--primary));
            border-radius: 20px;
            padding: 56px 48px;
            overflow: hidden;
            color: #fff;
            text-align: center;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            top: -60%;
            right: -20%;
            width: 400px;
            height: 400px;
            background: rgba(255, 255, 255, 0.06);
            border-radius: 50%;
        }

        .cta-section::after {
            content: '';
            position: absolute;
            bottom: -80%;
            left: -10%;
            width: 300px;
            height: 300px;
            background: rgba(255, 255, 255, 0.04);
            border-radius: 50%;
        }

        .cta-content {
            position: relative;
            z-index: 1;
        }

        .cta-content h2 {
            font-size: 32px;
            font-weight: 800;
            margin: 0 0 12px;
        }

        .cta-content p {
            font-size: 16px;
            opacity: 0.9;
            margin: 0 0 28px;
            max-width: 560px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-buttons {
            display: flex;
            gap: 16px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .btn-white {
            background: #fff;
            color: var(--primary);
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
        }

        .btn-white:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
        }

        .btn-ghost-white {
            background: transparent;
            border: 2px solid rgba(255, 255, 255, 0.5);
            color: #fff;
        }

        .btn-ghost-white:hover {
            border-color: #fff;
            background: rgba(255, 255, 255, 0.1);
        }

        /* ===== Footer ===== */
        .site-footer {
            background: var(--dark-bg);
            color: rgba(255, 255, 255, 0.8);
            padding: 60px 0 30px;
            margin-bottom: 56px;
        }

        .footer-top {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 48px;
            margin-bottom: 40px;
        }

        .footer-brand .logo {
            color: #fff;
            margin-bottom: 16px;
        }

        .footer-brand .logo-text span {
            color: var(--primary-light);
        }

        .footer-brand p {
            font-size: 14px;
            line-height: 1.7;
            opacity: 0.7;
            max-width: 320px;
            margin: 0;
        }

        .footer-title {
            font-size: 16px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 18px;
        }

        .footer-links {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .footer-links a {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.6);
            transition: all 0.2s ease;
        }

        .footer-links a:hover {
            color: var(--accent-light);
            padding-left: 4px;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            font-size: 13px;
            color: rgba(255, 255, 255, 0.4);
            flex-wrap: wrap;
        }

        .footer-bottom .domain {
            font-family: ui-monospace, monospace;
            background: rgba(255, 255, 255, 0.06);
            padding: 4px 10px;
            border-radius: 6px;
            font-size: 12px;
        }

        /* ===== Miscellaneous ===== */
        .tag-list {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .tag {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(79, 70, 229, 0.06);
            color: var(--primary);
            border: 1px solid rgba(79, 70, 229, 0.15);
            padding: 6px 14px;
            border-radius: 100px;
            font-size: 13px;
            font-weight: 500;
            transition: all 0.2s ease;
        }

        .tag:hover {
            background: rgba(79, 70, 229, 0.12);
            border-color: var(--primary);
            transform: translateY(-2px);
        }

        .view-all {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            font-weight: 600;
            color: var(--primary);
            padding: 10px 20px;
            border-radius: 10px;
            border: 1px solid rgba(79, 70, 229, 0.2);
            transition: all 0.3s ease;
        }

        .view-all:hover {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
            transform: translateX(4px);
        }

        /* ===== Responsive ===== */
        @media (max-width: 1024px) {
            .container {
                padding: 0 20px;
            }

            .desktop-nav {
                gap: 20px;
            }

            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .footer-top {
                grid-template-columns: 1fr 1fr;
            }

            .rank-card {
                flex-wrap: wrap;
            }
        }

        @media (max-width: 768px) {
            .section {
                padding: 60px 0;
            }

            .header-inner {
                height: 64px;
            }

            .desktop-nav {
                display: none;
            }

            .header-actions .btn {
                display: none;
            }

            .page-hero {
                padding: 72px 0 56px;
            }

            .page-hero h1 {
                font-size: 30px;
            }

            .page-hero p {
                font-size: 15px;
            }

            .hero-stats {
                gap: 24px;
            }

            .hero-stat .stat-num {
                font-size: 24px;
            }

            .section-title {
                font-size: 26px;
            }

            .section-header {
                margin-bottom: 32px;
                flex-direction: column;
                align-items: flex-start;
            }

            .mobile-bottom-tab {
                display: flex;
                position: fixed;
                bottom: 0;
                left: 0;
                right: 0;
            }

            .site-footer {
                margin-bottom: 0;
                padding-bottom: 80px;
            }

            .footer-top {
                grid-template-columns: 1fr;
                gap: 32px;
            }

            .stats-grid {
                grid-template-columns: 1fr 1fr;
                gap: 16px;
            }

            .stat-card {
                padding: 20px 16px;
            }

            .stat-value {
                font-size: 24px;
            }

            .rank-card {
                padding: 16px;
                gap: 16px;
            }

            .rank-meta {
                flex-wrap: wrap;
            }

            .rank-score {
                width: 100%;
                justify-content: flex-start;
                margin-left: 0;
                padding-top: 12px;
                border-top: 1px solid #F1F5F9;
            }

            .rank-heat {
                text-align: left;
            }

            .cta-section {
                padding: 40px 24px;
                border-radius: 16px;
            }

            .cta-content h2 {
                font-size: 24px;
            }

            .timeline-item {
                flex-direction: column;
                gap: 12px;
            }

            .timeline-dot {
                flex-direction: row;
                width: auto;
                align-items: center;
                gap: 12px;
            }

            .timeline-dot .dot-line {
                width: auto;
                height: 2px;
                flex: 1;
                margin-top: 0;
            }

            .timeline-content {
                padding: 20px;
            }
        }

        @media (max-width: 520px) {
            .container {
                padding: 0 16px;
            }

            .logo-text {
                font-size: 18px;
            }

            .page-hero h1 {
                font-size: 26px;
            }

            .page-hero .hero-badge {
                font-size: 12px;
                padding: 4px 12px;
            }

            .hero-stats {
                flex-direction: column;
                gap: 16px;
            }

            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }

            .stats-grid {
                grid-template-columns: 1fr;
            }

            .game-card-body {
                padding: 16px;
            }

            .rank-num {
                min-width: 40px;
                height: 40px;
                font-size: 16px;
            }

            .rank-name {
                font-size: 15px;
            }

            .cta-buttons {
                flex-direction: column;
            }

            .cta-buttons .btn {
                width: 100%;
            }

            .timeline-content {
                padding: 16px;
            }

            .timeline-content h3 {
                font-size: 16px;
            }
        }

/* roulang page: article */
:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --accent: #d4a843;
  --accent-light: #f0c96d;
  --accent-dark: #b8902e;
  --bg: #f8f9fb;
  --bg-dark: #0b1120;
  --card: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, .06);
  --shadow-md: 0 6px 24px rgba(15, 23, 42, .09);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, .14);
  --transition: .25s cubic-bezier(.4, 0, .2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif; line-height: 1.75; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; padding-bottom: 0; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.logo-icon { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, #d4a843, #f0c96d); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; color: #0f172a; box-shadow: 0 4px 14px rgba(212, 168, 67, .35); }
.logo-text { font-size: 21px; font-weight: 800; color: var(--text); letter-spacing: .5px; }
.logo-text span { color: var(--accent); }
.desktop-nav { display: flex; gap: 8px; }
.nav-link { padding: 10px 18px; font-size: 15px; font-weight: 500; color: var(--text-muted); border-radius: 8px; transition: all var(--transition); position: relative; }
.nav-link:hover { color: var(--text); background: rgba(212, 168, 67, .08); }
.nav-link.active { color: var(--accent-dark); background: rgba(212, 168, 67, .12); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; border-radius: 10px; transition: all var(--transition); text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 15px; }
.btn-primary { background: var(--primary); color: #fff; padding: 10px 20px; }
.btn-primary:hover { background: var(--accent); color: var(--primary); box-shadow: 0 6px 20px rgba(212, 168, 67, .4); transform: translateY(-2px); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-gold { background: var(--accent); color: var(--primary); padding: 12px 28px; font-size: 15px; }
.btn-gold:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212, 168, 67, .4); }

/* Article Hero */
.article-hero { position: relative; padding: 72px 0 68px; background: linear-gradient(135deg, #0b1120 0%, #1e293b 55%, rgba(30, 41, 59, .85) 100%), url('/assets/images/backpic/back-1.png') center / cover no-repeat; color: #fff; overflow: hidden; }
.article-hero::before { content: ''; position: absolute; inset: 0; background: rgba(11, 17, 32, .52); }
.article-hero::after { content: ''; position: absolute; top: -60px; right: -60px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 168, 67, .15), transparent 70%); }
.article-hero .container { position: relative; z-index: 2; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255, 255, 255, .65); margin-bottom: 20px; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255, 255, 255, .85); transition: color .2s; }
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb .separator { opacity: .5; font-size: 10px; }
.breadcrumb .current { color: rgba(255, 255, 255, .55); }
.hero-category { display: inline-flex; align-items: center; gap: 6px; background: rgba(212, 168, 67, .18); border: 1px solid rgba(212, 168, 67, .35); color: var(--accent-light); font-size: 13px; font-weight: 600; padding: 6px 16px; border-radius: 30px; margin-bottom: 16px; }
.article-hero h1 { font-size: 40px; font-weight: 800; line-height: 1.3; margin: 20px 0 18px; max-width: 820px; letter-spacing: .5px; }
.article-hero h1 .highlight { color: var(--accent-light); }
.article-meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.article-meta span { display: inline-flex; align-items: center; gap: 8px; }
.article-meta i { color: var(--accent); font-size: 13px; }

/* Article Main */
.article-main { padding: 48px 0 68px; }
.article-card { background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; padding: 44px; border: 1px solid rgba(255, 255, 255, .5); }
.article-featured-image { border-radius: var(--radius-md); overflow: hidden; margin-bottom: 32px; box-shadow: var(--shadow-sm); }
.article-featured-image img { width: 100%; height: auto; object-fit: cover; transition: transform .5s; }
.article-body { font-size: 16px; line-height: 2; color: var(--text); }
.article-body p { margin-bottom: 20px; }
.article-body h2 { font-size: 26px; font-weight: 700; margin: 40px 0 16px; color: var(--text); position: relative; padding-left: 16px; }
.article-body h2::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--accent), var(--accent-light)); }
.article-body h3 { font-size: 20px; font-weight: 600; margin: 32px 0 14px; color: var(--text); }
.article-body ul, .article-body ol { margin: 16px 0 24px; padding-left: 24px; }
.article-body ul li, .article-body ol li { margin-bottom: 10px; }
.article-body ul li::marker { color: var(--accent); }
.article-body blockquote { border-left: 4px solid var(--accent); padding: 16px 20px; margin: 24px 0; background: #fffbeb; border-radius: 0 8px 8px 0; color: #92400e; }
.article-body img { border-radius: 12px; margin: 24px 0; }
.article-body a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 4px; }
.article-body a:hover { color: var(--accent); }
.article-tags { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 24px; border-top: 1px solid var(--border); margin-top: 36px; }
.article-tags .tag { background: #f1f5f9; border-radius: 20px; padding: 6px 16px; font-size: 13px; color: var(--text-muted); font-weight: 500; transition: all .2s; }
.article-tags .tag:hover { background: rgba(212, 168, 67, .15); color: var(--accent-dark); }

/* Share */
.article-share { display: flex; align-items: center; gap: 12px; padding-top: 24px; margin-top: 32px; border-top: 1px solid var(--border); }
.article-share .share-label { font-size: 14px; color: var(--text-muted); font-weight: 500; margin-right: 4px; }
.article-share .share-btn { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); background: var(--bg); color: var(--text-muted); font-size: 14px; transition: all var(--transition); }
.article-share .share-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 4px 12px rgba(212, 168, 67, .3); }

/* Not Found */
.not-found-box { text-align: center; padding: 80px 40px; }
.not-found-icon { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-light)); color: #0f172a; font-size: 32px; font-weight: 800; margin-bottom: 28px; box-shadow: 0 8px 24px rgba(212, 168, 67, .35); }
.not-found-box h2 { font-size: 30px; font-weight: 800; color: var(--text); margin-bottom: 14px; }
.not-found-box p { color: var(--text-muted); margin-bottom: 28px; font-size: 15px; }

/* Related */
.related-section { padding: 64px 0; background: var(--card); border-top: 1px solid var(--border); }
.section-header { text-align: center; margin-bottom: 44px; }
.section-header .section-kicker { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent-dark); background: rgba(212, 168, 67, .12); padding: 4px 14px; border-radius: 20px; margin-bottom: 14px; letter-spacing: 1px; }
.section-header h2 { font-size: 32px; font-weight: 800; color: var(--text); letter-spacing: .5px; }
.section-header p { color: var(--text-muted); margin-top: 10px; font-size: 15px; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.related-card { background: var(--bg); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); text-decoration: none; transition: all var(--transition); display: flex; flex-direction: column; }
.related-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(212, 168, 67, .4); }
.related-card-img { height: 180px; overflow: hidden; }
.related-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.related-card:hover .related-card-img img { transform: scale(1.08); }
.related-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.related-category { font-size: 12px; font-weight: 600; color: var(--accent-dark); background: rgba(212, 168, 67, .12); padding: 4px 10px; border-radius: 20px; display: inline-block; margin-bottom: 12px; align-self: flex-start; }
.related-card-body h3 { font-size: 16px; color: var(--text); line-height: 1.5; margin-bottom: 8px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-card-body p { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.6; }
.related-date { font-size: 12px; color: var(--text-light); margin-top: auto; display: flex; align-items: center; gap: 6px; }

/* FAQ */
.faq-section { padding: 64px 0; }
.faq-grid { max-width: 860px; margin: 0 auto; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px 28px; margin-bottom: 16px; box-shadow: var(--shadow-sm); transition: all var(--transition); }
.faq-item:hover { box-shadow: var(--shadow-md); border-color: rgba(212, 168, 67, .3); }
.faq-item h3 { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.faq-item h3 i { color: var(--accent); font-size: 14px; background: rgba(212, 168, 67, .1); width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.faq-item p { color: var(--text-muted); font-size: 14px; line-height: 1.85; padding-left: 36px; }

/* CTA */
.cta-section { padding: 72px 0; background: var(--bg-dark); color: #fff; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: url('/assets/images/backpic/back-2.png') center / cover no-repeat; opacity: .12; }
.cta-section::after { content: ''; position: absolute; bottom: -80px; left: 20%; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 168, 67, .12), transparent 70%); }
.cta-inner { position: relative; z-index: 2; text-align: center; max-width: 720px; margin: 0 auto; }
.cta-inner .cta-badge { display: inline-block; font-size: 12px; font-weight: 600; color: var(--accent-light); background: rgba(212, 168, 67, .15); border: 1px solid rgba(212, 168, 67, .3); padding: 4px 16px; border-radius: 20px; margin-bottom: 20px; letter-spacing: 1px; }
.cta-inner h2 { font-size: 36px; font-weight: 800; margin-bottom: 16px; line-height: 1.4; }
.cta-inner p { color: rgba(255, 255, 255, .7); margin-bottom: 32px; font-size: 16px; }
.cta-inner p span { color: var(--accent-light); font-weight: 600; }
.cta-points { display: flex; justify-content: center; gap: 28px; margin-bottom: 32px; flex-wrap: wrap; }
.cta-points .point { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.cta-points .point i { color: var(--accent); }

/* Footer */
.site-footer { background: var(--bg-dark); color: rgba(255, 255, 255, .65); padding: 64px 0 32px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand .logo { margin-bottom: 0; }
.footer-brand .logo-icon { width: 36px; height: 36px; font-size: 17px; }
.footer-brand .logo-text { font-size: 18px; color: #fff; }
.footer-brand .logo-text span { color: var(--accent); }
.footer-brand p { font-size: 14px; line-height: 1.85; margin-top: 16px; max-width: 320px; color: rgba(255, 255, 255, .55); }
.footer-title { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255, 255, 255, .55); transition: all .2s; display: inline-flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; font-size: 13px; color: rgba(255, 255, 255, .4); }
.footer-bottom .domain { color: rgba(212, 168, 67, .6); font-weight: 500; }

/* Mobile Tabbar */
.mobile-tabbar { display: none; }

/* Responsive */
@media (max-width: 1024px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .article-hero h1 { font-size: 34px; }
  .article-card { padding: 36px; }
}
@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .header-actions { display: none; }
  .header-inner { height: 62px; justify-content: center; }
  .logo-text { font-size: 18px; }
  .article-hero { padding: 48px 0 44px; }
  .article-hero h1 { font-size: 28px; margin: 16px 0 14px; }
  .article-meta { gap: 12px; font-size: 13px; flex-wrap: wrap; }
  .article-main { padding: 36px 0 48px; }
  .article-card { padding: 24px; border-radius: 16px; }
  .article-body { font-size: 15px; line-height: 1.9; }
  .article-body h2 { font-size: 22px; }
  .article-body h3 { font-size: 18px; }
  .related-grid { grid-template-columns: 1fr; gap: 20px; }
  .related-card-img { height: 200px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .cta-section { padding: 56px 0; }
  .cta-inner h2 { font-size: 28px; }
  .cta-points { gap: 14px; }
  .faq-section { padding: 48px 0; }
  .faq-item { padding: 20px; }
  .section-header h2 { font-size: 26px; }
  .article-hero { padding: 40px 0 36px; }
  .breadcrumb { font-size: 12px; margin-bottom: 14px; }
  .hero-category { font-size: 12px; padding: 4px 12px; }

  .mobile-tabbar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border-top: 1px solid var(--border); z-index: 100; height: 60px; box-shadow: 0 -4px 20px rgba(15, 23, 42, .06); }
  .tabbar-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 500; color: var(--text-muted); text-decoration: none; transition: all .2s; position: relative; }
  .tabbar-item i { font-size: 19px; transition: transform .2s; }
  .tabbar-item.active { color: var(--accent-dark); font-weight: 600; }
  .tabbar-item.active i { transform: scale(1.1); color: var(--accent); }
  .tabbar-item.active::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 24px; height: 3px; border-radius: 0 0 4px 4px; background: var(--accent); }
  body { padding-bottom: 60px; }
}
@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .logo-icon { width: 36px; height: 36px; font-size: 17px; border-radius: 10px; }
  .logo-text { font-size: 17px; }
  .article-card { padding: 20px; }
  .article-body { font-size: 14px; }
  .related-card-img { height: 180px; }
  .cta-inner h2 { font-size: 24px; }
  .cta-points { flex-direction: column; gap: 8px; }
  .footer-links a { font-size: 13px; }
  .faq-item h3 { font-size: 15px; }
  .faq-item p { padding-left: 0; }
  .article-body h2 { font-size: 20px; padding-left: 12px; }
  .article-body h3 { font-size: 17px; }
}
