/* roulang page: index */
:root {
  --primary: #1a3a5c;
  --primary-light: #2a5a8c;
  --primary-dark: #122a42;
  --secondary: #f0851f;
  --secondary-light: #f7b955;
  --secondary-dark: #d96f12;
  --bg: #f4f6f9;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --radius: 1rem;
  --shadow: 0 2px 8px rgba(15,36,57,0.06);
  --shadow-lg: 0 12px 32px rgba(15,36,57,0.1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'PingFang SC','Microsoft YaHei',system-ui,-apple-system,sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 { line-height: 1.3; margin: 0 0 0.6em; }
p { margin: 0 0 1rem; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

.header-wrap {
  background: rgba(18,42,66,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 0.6rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.925rem;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
  line-height: 1.2;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.1); }
.nav-link.active { color: #f7b955; background: rgba(255,255,255,0.1); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.65rem;
  background: var(--secondary);
  color: #fff;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  box-shadow: 0 4px 16px rgba(240,133,31,0.3);
  transition: all 0.25s;
}
.btn-primary:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240,133,31,0.4);
}
.btn-primary:focus-visible {
  outline: 3px solid rgba(240,133,31,0.5);
  outline-offset: 2px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.65rem;
  border: 1px solid rgba(255,255,255,0.55);
  color: #fff;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  background: rgba(255,255,255,0.08);
  transition: all 0.25s;
}
.btn-outline:hover {
  border-color: var(--secondary-light);
  color: var(--secondary-light);
  transform: translateY(-2px);
}
.btn-outline:focus-visible {
  outline: 3px solid rgba(247,185,85,0.5);
  outline-offset: 2px;
}

.badge {
  display: inline-block;
  background: rgba(240,133,31,0.92);
  color: #fff;
  border-radius: 9999px;
  padding: 0.25rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.section-tag {
  display: inline-block;
  background: rgba(240,133,31,0.12);
  color: var(--secondary-dark);
  border-radius: 9999px;
  padding: 0.3rem 0.95rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.section-tag-light {
  background: rgba(255,255,255,0.12);
  color: var(--secondary-light);
}

.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid #eef0f3;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.icon-box {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.8rem;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}

.content-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.25rem;
  background: #f8fafc;
  border-radius: 0.875rem;
  border-left: 3px solid var(--secondary);
  transition: background 0.2s, transform 0.2s;
}
.content-row:hover {
  background: #f1f5f9;
  transform: translateX(4px);
}
.row-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--secondary);
  background: rgba(240,133,31,0.12);
  border-radius: 9999px;
  width: 1.8rem;
  height: 1.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-card {
  text-align: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 2rem 1rem;
  backdrop-filter: blur(4px);
  transition: transform 0.2s, background 0.2s;
}
.stat-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.14);
}

.activity-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.25rem;
  border-radius: 0.875rem;
  background: #f8fafc;
  border: 1px solid #eef0f3;
  transition: all 0.2s;
}
.activity-item:hover {
  background: #fff;
  border-color: var(--secondary-light);
  box-shadow: 0 4px 12px rgba(15,36,57,0.06);
}
.activity-date {
  width: 3rem;
  height: 3rem;
  background: #fff;
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-weight: 700;
  border: 1px solid #ffe3c2;
  box-shadow: 0 2px 6px rgba(240,133,31,0.1);
  flex-shrink: 0;
}

.faq-item {
  border: 1px solid #eef0f3;
  border-radius: 1rem;
  background: #fafbfc;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--secondary); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  width: 100%;
  text-align: left;
  font-weight: 600;
  color: var(--primary);
  font-size: 1.02rem;
  cursor: pointer;
}
.faq-q:hover { color: var(--secondary-dark); }
.faq-icon { color: var(--secondary); transition: transform 0.3s; font-size: 0.85rem; }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p {
  padding: 0 1.5rem 1.25rem;
  color: #64748b;
  line-height: 1.75;
  font-size: 0.95rem;
  margin: 0;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  transition: all 0.2s;
}
.footer-social:hover {
  background: var(--secondary);
  color: #fff;
}

.rank-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 0.5rem;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 700;
}
ol li:first-child .rank-num { background: var(--secondary); color: #fff; }
ol li:nth-child(2) .rank-num { background: var(--secondary-light); color: #fff; }
ol li:nth-child(3) .rank-num { background: #e2e8f0; color: var(--primary); }

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

a:focus-visible, button:focus-visible {
  outline: 3px solid rgba(240,133,31,0.5);
  outline-offset: 2px;
  border-radius: 0.5rem;
}

@media (max-width: 767px) {
  .feature-card { padding: 1.5rem; }
  .stat-card { padding: 1.5rem 0.75rem; }
}
@media (max-width: 520px) {
  .btn-primary, .btn-outline { width: 100%; }
  .activity-item { padding: 0.9rem; }
  .faq-q { padding: 1rem; font-size: 0.95rem; }
  .faq-a p { padding: 0 1rem 1rem; }
}

/* roulang page: category1 */
:root {
            --color-primary: #1a2a4a;
            --color-primary-dark: #0f1b33;
            --color-secondary: #f59e0b;
            --color-bg: #f8fafc;
            --color-text: #1e293b;
            --color-text-light: #64748b;
            --color-border: #e2e8f0;
            --radius: 14px;
            --shadow: 0 4px 24px rgba(15, 23, 42, 0.07);
            --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
        }
        * {
            box-sizing: border-box;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
            background: var(--color-bg);
            color: var(--color-text);
            line-height: 1.6;
            margin: 0;
            -webkit-font-smoothing: antialiased;
        }
        a {
            text-decoration: none;
            color: inherit;
        }
        img {
            max-width: 100%;
            display: block;
        }
        button {
            cursor: pointer;
            font-family: inherit;
        }

        /* Nav */
        .nav-link {
            position: relative;
            padding: 0.55rem 1rem;
            font-size: 0.9rem;
            font-weight: 500;
            color: #64748b;
            border-radius: 10px;
            transition: all 0.3s ease;
        }
        .nav-link:hover {
            color: var(--color-primary);
            background: rgba(26, 42, 74, 0.06);
        }
        .nav-link.active {
            color: var(--color-primary);
            font-weight: 600;
            background: rgba(26, 42, 74, 0.08);
        }
        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: 2px;
            left: 50%;
            transform: translateX(-50%);
            width: 20px;
            height: 3px;
            background: var(--color-secondary);
            border-radius: 3px;
        }

        /* Buttons */
        .btn-primary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.7rem 1.6rem;
            background: var(--color-primary);
            color: #fff;
            font-size: 0.9rem;
            font-weight: 600;
            border-radius: 12px;
            border: none;
            transition: all 0.3s ease;
            box-shadow: 0 4px 14px rgba(26, 42, 74, 0.25);
        }
        .btn-primary:hover {
            background: var(--color-primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(26, 42, 74, 0.3);
        }
        .btn-outline-light {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.7rem 1.6rem;
            background: transparent;
            color: #fff;
            font-size: 0.9rem;
            font-weight: 600;
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.5);
            transition: all 0.3s ease;
        }
        .btn-outline-light:hover {
            background: rgba(255, 255, 255, 0.12);
            border-color: #fff;
            transform: translateY(-2px);
        }
        .btn-secondary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.65rem 1.4rem;
            background: var(--color-secondary);
            color: #0f1b33;
            font-size: 0.9rem;
            font-weight: 600;
            border-radius: 12px;
            border: none;
            transition: all 0.3s ease;
            box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
        }
        .btn-secondary:hover {
            background: #fbbf24;
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
        }

        /* Cards */
        .game-card {
            background: #fff;
            border-radius: var(--radius);
            border: 1px solid var(--color-border);
            overflow: hidden;
            transition: all 0.35s ease;
            box-shadow: var(--shadow);
        }
        .game-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-lg);
            border-color: rgba(26, 42, 74, 0.2);
        }
        .feature-card {
            background: #fff;
            border-radius: var(--radius);
            border: 1px solid var(--color-border);
            padding: 1.5rem;
            transition: all 0.3s ease;
        }
        .feature-card:hover {
            border-color: var(--color-secondary);
            box-shadow: var(--shadow);
            transform: translateY(-3px);
        }
        .rank-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 0.85rem 1rem;
            border-radius: 10px;
            transition: background 0.3s ease;
        }
        .rank-item:hover {
            background: #f1f5f9;
        }
        .rank-num {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            font-weight: 700;
            color: var(--color-primary);
            background: rgba(26, 42, 74, 0.08);
            flex-shrink: 0;
        }
        .rank-item:nth-child(1) .rank-num {
            background: var(--color-secondary);
            color: #fff;
        }
        .rank-item:nth-child(2) .rank-num {
            background: #e2e8f0;
            color: var(--color-primary);
        }
        .rank-item:nth-child(3) .rank-num {
            background: #e2e8f0;
            color: var(--color-primary);
        }

        /* Tags */
        .tag {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            padding: 0.4rem 0.9rem;
            font-size: 0.78rem;
            font-weight: 500;
            border-radius: 999px;
            background: rgba(26, 42, 74, 0.06);
            color: var(--color-primary);
            transition: all 0.3s ease;
            border: 1px solid transparent;
            cursor: pointer;
        }
        .tag:hover {
            background: rgba(26, 42, 74, 0.12);
            border-color: rgba(26, 42, 74, 0.2);
        }
        .tag-active {
            background: var(--color-primary);
            color: #fff;
        }

        /* News ticker */
        .ticker {
            background: var(--color-primary-dark);
            color: rgba(255, 255, 255, 0.85);
            overflow: hidden;
            position: relative;
        }
        .ticker-track {
            display: flex;
            gap: 2.5rem;
            white-space: nowrap;
            padding: 0.5rem 0;
            animation: ticker-scroll 30s linear infinite;
        }
        .ticker-track span {
            font-size: 0.8rem;
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
        }
        .ticker-track span i {
            color: var(--color-secondary);
        }
        @keyframes ticker-scroll {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-50%);
            }
        }

        /* FAQ */
        .faq-item {
            background: #fff;
            border: 1px solid var(--color-border);
            border-radius: 12px;
            margin-bottom: 0.8rem;
            overflow: hidden;
            transition: box-shadow 0.3s ease;
        }
        .faq-item:hover {
            box-shadow: var(--shadow);
        }
        .faq-item summary {
            padding: 1.1rem 1.3rem;
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            list-style: none;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 1rem;
            position: relative;
        }
        .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: 0.8rem;
            color: var(--color-text-light);
            transition: transform 0.3s ease;
        }
        .faq-item[open] summary::after {
            transform: rotate(180deg);
        }
        .faq-item .faq-content {
            padding: 0 1.3rem 1.1rem;
            color: var(--color-text-light);
            font-size: 0.88rem;
            line-height: 1.7;
            border-top: 1px solid #f1f5f9;
            margin-top: 0.3rem;
        }

        /* Footer */
        .footer-social {
            width: 38px;
            height: 38px;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255, 255, 255, 0.7);
            transition: all 0.3s ease;
            font-size: 0.95rem;
        }
        .footer-social:hover {
            background: var(--color-secondary);
            color: #0f1b33;
            transform: translateY(-2px);
        }

        /* Utilities */
        .line-clamp-2 {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .section-label {
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--color-secondary);
            text-transform: uppercase;
            letter-spacing: 0.08em;
            margin-bottom: 0.5rem;
        }

        /* Mobile menu */
        #mobile-menu {
            display: none;
        }
        #mobile-menu.open {
            display: block;
        }

        @media (max-width: 768px) {
            .desktop-nav {
                display: none;
            }
            .mobile-menu-btn {
                display: flex;
            }
        }
        @media (min-width: 769px) {
            .mobile-menu-btn {
                display: none;
            }
        }

/* roulang page: article */
:root {
  --primary: #0f1e3c;
  --primary-dark: #0a1529;
  --primary-light: #1e3a6e;
  --secondary: #f59e0b;
  --secondary-light: #fbbf24;
  --bg: #f8fafc;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(15, 30, 60, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 30, 60, 0.12);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }

.container-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 640px) {
  .container-main { padding: 0 1.5rem; }
}
@media (min-width: 1024px) {
  .container-main { padding: 0 2rem; }
}

/* 导航 */
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #475569;
  border-radius: 0.625rem;
  transition: color .2s, background .2s, box-shadow .2s;
}
.nav-link:hover {
  color: var(--primary);
  background: #f1f5f9;
}
.nav-link.active {
  color: var(--primary);
  background: #fff7ed;
  font-weight: 700;
  box-shadow: inset 0 -2px 0 var(--secondary);
}
@media (max-width: 767px) {
  .nav-link { width: 100%; padding: 0.75rem 1rem; }
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #475569;
  border-radius: 0.625rem;
  transition: background .2s;
  margin-bottom: 0.25rem;
}
.mobile-nav-link:hover {
  background: #f1f5f9;
  color: var(--primary);
}
.mobile-nav-link.active {
  background: #fff7ed;
  color: var(--primary);
  font-weight: 600;
}
.header-btn {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  transition: transform .2s, box-shadow .2s;
}
.header-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}

/* 文章 Hero */
.article-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.article-hero .bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10, 21, 41, 0.94), rgba(15, 30, 60, 0.85), rgba(30, 58, 110, 0.65));
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  transition: color .2s;
}
.breadcrumb a:hover { color: var(--secondary-light); }
.badge-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fbbf24;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* 内容卡片 */
.content-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
@media (min-width: 768px) {
  .content-card { padding: 2.5rem; }
}

/* 文章内容排版 */
.article-content {
  font-size: 1.02rem;
  line-height: 1.9;
  color: #334155;
  word-break: break-word;
}
.article-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  margin: 2.25rem 0 1rem;
  padding-left: 0.85rem;
  border-left: 4px solid var(--secondary);
  line-height: 1.4;
}
.article-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 1.75rem 0 0.75rem;
}
.article-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.25rem 0 0.5rem;
}
.article-content p {
  margin-bottom: 1.25rem;
}
.article-content ul,
.article-content ol {
  margin: 1rem 0 1.5rem;
  padding-left: 1.6rem;
}
.article-content ul li {
  list-style: disc;
  margin-bottom: 0.5rem;
}
.article-content ol li {
  list-style: decimal;
  margin-bottom: 0.5rem;
}
.article-content img {
  border-radius: 14px;
  margin: 1.75rem 0;
  box-shadow: var(--shadow);
}
.article-content blockquote {
  border-left: 4px solid var(--secondary);
  background: #fffbeb;
  padding: 1.25rem 1.5rem;
  border-radius: 0 14px 14px 0;
  margin: 1.5rem 0;
  color: #78350f;
  font-style: italic;
}
.article-content a {
  color: #2563eb;
  text-decoration: underline;
  word-break: break-all;
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.925rem;
}
.article-content th,
.article-content td {
  border: 1px solid #e2e8f0;
  padding: 0.65rem 0.9rem;
  text-align: left;
}
.article-content th {
  background: #f8fafc;
  font-weight: 700;
  color: var(--text);
}

/* 标签 */
.tag-pill {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  transition: all .2s;
  margin-right: 0.4rem;
  margin-bottom: 0.4rem;
  border: 1px solid transparent;
}
.tag-pill:hover {
  background: #fff7ed;
  color: var(--secondary);
  border-color: rgba(245, 158, 11, 0.3);
}

/* 侧边栏 */
.sidebar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.sidebar-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f1f5f9;
  display: flex;
  align-items: center;
}
.rank-list {
  list-style: none;
}
.rank-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid #f8fafc;
  transition: background .2s;
}
.rank-list li:last-child { border-bottom: none; }
.rank-list li:hover { background: #f8fafc; }
.rank-num {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all .2s;
}
.rank-list li:hover .rank-num {
  background: var(--secondary);
  color: #fff;
}
.rank-list a {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #334155;
  transition: color .2s;
}
.rank-list a:hover { color: var(--secondary); }

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* 按钮 */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  transition: all .2s;
  border: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: #fff;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.7rem 1.4rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all .2s;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* 板块标题 */
.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--secondary);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
}
@media (min-width: 768px) {
  .section-title { font-size: 2rem; }
}
.section-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap .2s;
}
.section-more:hover { gap: 0.75rem; }

/* 游戏卡片 */
.game-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.game-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.game-card-img {
  position: relative;
  height: 190px;
  overflow: hidden;
}
.game-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.game-card:hover .game-card-img img {
  transform: scale(1.05);
}
.game-card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 30, 60, 0.85);
  color: #fbbf24;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.game-card-body {
  padding: 1.25rem;
}
.game-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 0.5rem;
  transition: color .2s;
}
.game-card:hover .game-card-title { color: var(--secondary); }
.game-card-desc {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.game-card-meta {
  font-size: 0.8rem;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* 排行卡片 */
.hot-list-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  transition: transform .2s, box-shadow .2s;
}
.hot-list-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
}
.hot-list-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: #e2e8f0;
  min-width: 2.5rem;
  text-align: center;
  transition: color .2s;
}
.hot-list-card:hover .hot-list-num {
  color: var(--secondary);
}
.hot-list-content {
  flex: 1;
  min-width: 0;
}
.hot-list-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  transition: color .2s;
}
.hot-list-card:hover .hot-list-title { color: #2563eb; }
.hot-list-desc {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* FAQ */
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow .2s;
}
.faq-item:hover {
  box-shadow: var(--shadow);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.1rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background .2s;
}
.faq-question:hover {
  background: #f8fafc;
}
.faq-icon {
  color: var(--secondary);
  transition: transform .3s;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.75;
}
.faq-item.open .faq-answer {
  display: block;
}

/* CTA */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, #0a1529, #1e3a6e);
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.08);
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -5%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

/* 页脚 */
.footer-social {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: all .2s;
}
.footer-social:hover {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-3px);
}

/* 空状态 */
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
}
.empty-state-icon {
  font-size: 3rem;
  color: #cbd5e1;
  margin-bottom: 1rem;
}

/* 移动端适配 */
@media (max-width: 767px) {
  .article-hero { min-height: 260px; }
  .article-hero .breadcrumb { font-size: 0.78rem; }
  .hot-list-card { padding: 0.85rem 1rem; }
  .hot-list-num { font-size: 1.2rem; min-width: 2rem; }
}
@media (max-width: 520px) {
  .section-title { font-size: 1.35rem; }
  .article-content { font-size: 0.95rem; }
  .content-card { padding: 1.25rem; }
  .faq-question { padding: 1rem 1.1rem; font-size: 0.88rem; }
  .faq-answer { padding: 0 1.1rem 1rem; font-size: 0.85rem; }
  .game-card-img { height: 160px; }
}

/* roulang page: category2 */
:root {
    --primary: #1e3a8a;
    --primary-dark: #0f2557;
    --secondary: #f59e0b;
    --secondary-dark: #d97706;
    --accent: #fbbf24;
    --body-bg: #f5f6fa;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --border-light: #e5e7eb;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
    background: var(--body-bg);
    color: var(--text-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  img {
    display: block;
    max-width: 100%;
  }

  button {
    cursor: pointer;
    font-family: inherit;
  }

  input {
    font-family: inherit;
  }

  .container-page {
    max-width: 80rem;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* ===== 导航 ===== */
  .nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4b5563;
    border-radius: 9999px;
    transition: var(--transition);
  }

  .nav-link:hover {
    color: var(--primary);
    background: rgba(30, 58, 138, 0.06);
  }

  .nav-link.active {
    color: var(--primary);
    background: rgba(30, 58, 138, 0.08);
    font-weight: 600;
  }

  .nav-link.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 2px;
    transform: translateX(-50%);
    width: 16px;
    height: 3px;
    border-radius: 9999px;
    background: var(--secondary);
  }

  /* ===== 按钮 ===== */
  .btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--secondary);
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
  }

  .btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(245, 158, 11, 0.4);
    background: var(--accent);
  }

  .btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.05);
  }

  .btn-hero-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
  }

  .btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-dark);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.9rem 2.2rem;
    border-radius: 9999px;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(15, 37, 87, 0.3);
  }

  .btn-cta:hover {
    transform: translateY(-2px);
    background: #1e3a8a;
    box-shadow: 0 10px 30px rgba(15, 37, 87, 0.4);
  }

  /* ===== Hero ===== */
  .hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/assets/images/backpic/back-2.png');
    background-size: cover;
    background-position: center;
  }

  .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 37, 87, 0.94) 0%, rgba(15, 37, 87, 0.82) 55%, rgba(30, 58, 138, 0.55) 100%);
  }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.3rem 0.9rem;
    border-radius: 9999px;
    backdrop-filter: blur(6px);
  }

  .hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    letter-spacing: -0.02em;
  }

  .hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    line-height: 1.8;
    max-width: 40rem;
  }

  @media (max-width: 768px) {
    .hero-title {
      font-size: 2rem;
    }

    .hero-subtitle {
      font-size: 1rem;
    }
  }

  /* ===== 快讯条 ===== */
  .news-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    background: #f9fafb;
    border: 1px solid var(--border-light);
    padding: 0.2rem 0.75rem;
    border-radius: 9999px;
    white-space: nowrap;
  }

  .news-ticker-item i {
    color: var(--secondary);
    font-size: 0.7rem;
  }

  /* ===== 板块 ===== */
  .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(30, 58, 138, 0.06);
    padding: 0.25rem 0.9rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .section-title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    color: #111827;
    margin-top: 0.5rem;
  }

  .section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 38rem;
    line-height: 1.8;
  }

  @media (max-width: 768px) {
    .section-title {
      font-size: 1.4rem;
    }
  }

  /* ===== 数据卡 ===== */
  .stats-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    text-align: center;
  }

  .stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    opacity: 0;
    transition: var(--transition);
  }

  .stats-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
  }

  .stats-card:hover::before {
    opacity: 1;
  }

  .stats-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
  }

  .stats-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
  }

  /* ===== 卡片 ===== */
  .card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: var(--transition);
  }

  .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
  }

  .card-img {
    height: 180px;
    width: 100%;
    object-fit: cover;
  }

  .card-icon {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: rgba(30, 58, 138, 0.08);
    color: var(--primary);
    font-size: 1.1rem;
    transition: var(--transition);
  }

  .card:hover .card-icon {
    background: var(--secondary);
    color: var(--primary-dark);
  }

  .badge-tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--primary);
    background: rgba(30, 58, 138, 0.06);
    border: 1px solid rgba(30, 58, 138, 0.12);
    padding: 0.1rem 0.6rem;
    border-radius: 9999px;
  }

  /* ===== 活动卡片 ===== */
  .activity-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
  }

  .activity-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
  }

  .activity-media {
    height: 190px;
    overflow: hidden;
    position: relative;
  }

  .activity-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

  .activity-card:hover .activity-media img {
    transform: scale(1.04);
  }

  .activity-cat {
    position: absolute;
    left: 0.85rem;
    top: 0.85rem;
    background: rgba(15, 37, 87, 0.85);
    backdrop-filter: blur(4px);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.2rem 0.75rem;
    border-radius: 9999px;
  }

  .activity-body {
    padding: 1.25rem 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  /* ===== 流程 ===== */
  .process-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1e3a8a 100%);
    position: relative;
  }

  .process-step {
    position: relative;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(4px);
    transition: var(--transition);
  }

  .process-step:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
  }

  .process-num {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    background: var(--secondary);
    border-radius: 9999px;
    margin-bottom: 0.85rem;
  }

  .process-title {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .process-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.7;
  }

  /* ===== FAQ ===== */
  .faq-item {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
  }

  .faq-item summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.4rem;
    font-weight: 500;
    color: #111827;
    transition: var(--transition);
  }

  .faq-item summary::-webkit-details-marker {
    display: none;
  }

  .faq-item summary:hover {
    color: var(--primary);
  }

  .faq-item summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: var(--transition);
    flex-shrink: 0;
  }

  .faq-item[open] summary {
    color: var(--primary);
    border-bottom: 1px solid var(--border-light);
  }

  .faq-item[open] summary::after {
    transform: rotate(180deg);
    color: var(--secondary);
  }

  .faq-item .faq-answer {
    padding: 0 1.4rem 1.2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
  }

  /* ===== CTA ===== */
  .cta-section {
    position: relative;
    background: linear-gradient(120deg, #fbbf24 0%, #f59e0b 55%, #d97706 100%);
    overflow: hidden;
  }

  .cta-section::before {
    content: '';
    position: absolute;
    right: -12rem;
    top: -10rem;
    width: 28rem;
    height: 28rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.14);
  }

  .cta-title {
    color: var(--primary-dark);
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.3;
  }

  @media (max-width: 768px) {
    .cta-title {
      font-size: 1.4rem;
    }
  }

  /* ===== Footer ===== */
  .footer-social {
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
  }

  .footer-social:hover {
    background: var(--secondary);
    color: var(--primary-dark);
    transform: translateY(-2px);
  }

  /* ===== 焦点可访问性 ===== */
  a:focus-visible,
  button:focus-visible,
  summary:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 3px;
    border-radius: 4px;
  }
