/* roulang page: index */
:root {
            --brand: #1e3a5f;
            --brand-light: #2a4f7a;
            --brand-dark: #15243d;
            --accent: #f59e0b;
            --accent-light: #fbbf24;
            --bg-light: #f8fafc;
            --bg-white: #ffffff;
            --text-primary: #1e293b;
            --text-secondary: #64748b;
            --text-muted: #94a3b8;
            --border-light: #e2e8f0;
            --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
            --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
            --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
            --radius-sm: 0.5rem;
            --radius-md: 0.75rem;
            --radius-lg: 1rem;
            --radius-xl: 1.25rem;
        }
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html {
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
        }
        body {
            font-family: 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
            background-color: var(--bg-light);
            color: var(--text-primary);
            line-height: 1.7;
            font-size: 16px;
        }
        a {
            color: inherit;
            text-decoration: none;
            transition: color 0.25s ease;
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
            border-radius: var(--radius-sm);
        }
        button,
        input,
        select,
        textarea {
            font-family: inherit;
            font-size: 100%;
            line-height: 1.15;
            margin: 0;
            border: none;
            outline: none;
        }
        button {
            cursor: pointer;
            background: none;
            padding: 0;
        }
        .container {
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
            padding-left: 1.25rem;
            padding-right: 1.25rem;
        }
        @media (max-width: 768px) {
            .container {
                padding-left: 1rem;
                padding-right: 1rem;
            }
        }
        .section-padding {
            padding-top: 5rem;
            padding-bottom: 5rem;
        }
        @media (max-width: 768px) {
            .section-padding {
                padding-top: 3rem;
                padding-bottom: 3rem;
            }
        }
        .section-title {
            font-size: 2rem;
            font-weight: 700;
            color: var(--brand);
            margin-bottom: 0.75rem;
            letter-spacing: -0.01em;
            line-height: 1.3;
        }
        @media (max-width: 768px) {
            .section-title {
                font-size: 1.6rem;
            }
        }
        .section-subtitle {
            font-size: 1.05rem;
            color: var(--text-secondary);
            max-width: 640px;
            line-height: 1.7;
        }
        .card {
            background: var(--bg-white);
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-sm);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: 1px solid var(--border-light);
            overflow: hidden;
        }
        .card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
        }
        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: var(--brand);
            color: #fff;
            padding: 0.75rem 1.75rem;
            border-radius: var(--radius-sm);
            font-weight: 600;
            font-size: 1rem;
            transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
            border: none;
        }
        .btn-primary:hover {
            background: var(--brand-light);
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(30, 58, 95, 0.25);
        }
        .btn-primary:active {
            transform: translateY(0);
        }
        .btn-primary:focus-visible {
            outline: 2px solid var(--brand);
            outline-offset: 2px;
        }
        .btn-accent {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: var(--accent);
            color: #1e293b;
            padding: 0.75rem 1.75rem;
            border-radius: var(--radius-sm);
            font-weight: 600;
            font-size: 1rem;
            transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
            border: none;
        }
        .btn-accent:hover {
            background: var(--accent-light);
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
        }
        .btn-accent:active {
            transform: translateY(0);
        }
        .btn-accent:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }
        .btn-outline {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: transparent;
            color: var(--brand);
            padding: 0.7rem 1.7rem;
            border-radius: var(--radius-sm);
            font-weight: 600;
            font-size: 1rem;
            border: 2px solid var(--brand);
            transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
        }
        .btn-outline:hover {
            background: var(--brand);
            color: #fff;
            transform: translateY(-2px);
        }
        .btn-outline:focus-visible {
            outline: 2px solid var(--brand);
            outline-offset: 2px;
        }
        .badge {
            display: inline-block;
            padding: 0.2rem 0.75rem;
            border-radius: 9999px;
            font-size: 0.8rem;
            font-weight: 500;
            background: var(--accent);
            color: #1e293b;
            line-height: 1.5;
        }
        .badge-brand {
            background: var(--brand);
            color: #fff;
        }
        .badge-light {
            background: #eef2f7;
            color: var(--text-secondary);
        }
        .tag {
            display: inline-block;
            padding: 0.15rem 0.6rem;
            border-radius: 0.25rem;
            font-size: 0.75rem;
            font-weight: 500;
            background: #eef2f7;
            color: var(--text-secondary);
            border: 1px solid var(--border-light);
            transition: background 0.2s ease, color 0.2s ease;
        }
        .tag:hover {
            background: var(--brand);
            color: #fff;
            border-color: var(--brand);
        }
        .stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--brand);
            line-height: 1.2;
            letter-spacing: -0.02em;
        }
        @media (max-width: 768px) {
            .stat-number {
                font-size: 2rem;
            }
        }
        .stat-label {
            font-size: 0.95rem;
            color: var(--text-secondary);
            font-weight: 400;
        }
        .divider {
            width: 60px;
            height: 4px;
            background: var(--accent);
            border-radius: 2px;
            margin-top: 0.5rem;
            margin-bottom: 1.5rem;
        }
        .divider-center {
            margin-left: auto;
            margin-right: auto;
        }
        .wave-divider {
            position: relative;
            height: 60px;
            overflow: hidden;
            width: 100%;
        }
        .wave-divider svg {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 60px;
        }
        .hero-overlay {
            position: relative;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }
        .hero-overlay::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(30, 58, 95, 0.85) 0%, rgba(21, 36, 61, 0.75) 100%);
            z-index: 1;
        }
        .hero-overlay>* {
            position: relative;
            z-index: 2;
        }
        .grid-gap {
            gap: 1.5rem;
        }
        @media (max-width: 640px) {
            .grid-gap {
                gap: 1rem;
            }
        }
        .faq-item {
            border-bottom: 1px solid var(--border-light);
            padding: 1.25rem 0;
        }
        .faq-item:first-child {
            padding-top: 0;
        }
        .faq-question {
            font-weight: 600;
            font-size: 1.05rem;
            color: var(--text-primary);
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 1rem;
            user-select: none;
        }
        .faq-question::after {
            content: '+';
            font-size: 1.4rem;
            font-weight: 300;
            color: var(--text-muted);
            transition: transform 0.3s ease;
            flex-shrink: 0;
        }
        .faq-item.open .faq-question::after {
            transform: rotate(45deg);
        }
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.35s ease, padding 0.3s ease;
            color: var(--text-secondary);
            font-size: 0.95rem;
            line-height: 1.7;
        }
        .faq-item.open .faq-answer {
            max-height: 300px;
            padding-top: 0.75rem;
        }
        .nav-link {
            position: relative;
            font-weight: 500;
            padding: 0.5rem 0;
            color: var(--text-secondary);
            transition: color 0.25s ease;
        }
        .nav-link:hover {
            color: var(--brand);
        }
        .nav-link.active {
            color: var(--brand);
        }
        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 100%;
            height: 2px;
            background: var(--accent);
            border-radius: 1px;
        }
        .mobile-nav {
            position: fixed;
            top: 0;
            right: -100%;
            width: 280px;
            height: 100%;
            background: var(--bg-white);
            box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
            z-index: 1000;
            transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
            padding: 2rem 1.5rem;
            overflow-y: auto;
        }
        .mobile-nav.open {
            right: 0;
        }
        .mobile-nav-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.4);
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.35s ease, visibility 0.35s ease;
        }
        .mobile-nav-overlay.open {
            opacity: 1;
            visibility: visible;
        }
        .img-cover {
            object-fit: cover;
            width: 100%;
            height: 100%;
        }
        .img-overlay {
            position: relative;
        }
        .img-overlay::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 60%);
            border-radius: inherit;
        }
        .focus-ring:focus-visible {
            outline: 2px solid var(--brand);
            outline-offset: 2px;
            border-radius: 0.25rem;
        }
        @media (max-width: 1024px) {
            .nav-desktop {
                display: none !important;
            }
            .mobile-toggle {
                display: flex !important;
            }
        }
        @media (min-width: 1025px) {
            .mobile-toggle {
                display: none !important;
            }
            .mobile-nav,
            .mobile-nav-overlay {
                display: none !important;
            }
        }
        @media (max-width: 640px) {
            .section-title {
                font-size: 1.4rem;
            }
            .btn-primary,
            .btn-accent,
            .btn-outline {
                padding: 0.6rem 1.25rem;
                font-size: 0.9rem;
            }
            .stat-number {
                font-size: 1.8rem;
            }
        }
        .footer-link {
            color: #94a3b8;
            transition: color 0.25s ease;
        }
        .footer-link:hover {
            color: var(--accent);
        }
        .footer-heading {
            font-weight: 600;
            color: #e2e8f0;
            margin-bottom: 1rem;
            font-size: 1rem;
        }
        .cms-list-empty {
            text-align: center;
            padding: 2.5rem 1rem;
            color: var(--text-muted);
            font-size: 1rem;
            background: var(--bg-white);
            border-radius: var(--radius-md);
            border: 1px dashed var(--border-light);
        }
        .hero-title {
            font-size: 3.2rem;
            font-weight: 800;
            line-height: 1.2;
            letter-spacing: -0.02em;
        }
        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.2rem;
            }
        }
        @media (max-width: 640px) {
            .hero-title {
                font-size: 1.8rem;
            }
        }
        .hero-desc {
            font-size: 1.15rem;
            line-height: 1.7;
            max-width: 560px;
        }
        @media (max-width: 768px) {
            .hero-desc {
                font-size: 1rem;
            }
        }
        .category-card .cat-img {
            height: 200px;
            overflow: hidden;
        }
        .category-card .cat-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        .category-card:hover .cat-img img {
            transform: scale(1.06);
        }
        .news-card .news-img {
            height: 180px;
            overflow: hidden;
            flex-shrink: 0;
        }
        .news-card .news-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        .news-card:hover .news-img img {
            transform: scale(1.05);
        }
        @media (max-width: 640px) {
            .news-card {
                flex-direction: column !important;
            }
            .news-card .news-img {
                height: 200px;
                width: 100% !important;
            }
        }
        .cta-section {
            background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
        }
        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.08);
        }
        .scroll-top {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: var(--brand);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            box-shadow: var(--shadow-md);
            z-index: 50;
            transition: opacity 0.3s ease, transform 0.3s ease;
            opacity: 0;
            visibility: hidden;
            transform: translateY(12px);
            border: none;
        }
        .scroll-top.visible {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        .scroll-top:hover {
            background: var(--brand-light);
            transform: translateY(-3px);
        }
        .scroll-top:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

/* roulang page: category1 */
:root {
            --brand-50: #f0f7ff;
            --brand-100: #e0effe;
            --brand-200: #b9dffb;
            --brand-300: #7cc5f8;
            --brand-400: #36a8f2;
            --brand-500: #0c8ee2;
            --brand-600: #0070c0;
            --brand-700: #015a9b;
            --brand-800: #064c80;
            --brand-900: #0b416b;
            --brand-950: #07294d;
            --accent: #f59e0b;
            --accent-hover: #d97706;
            --gray-50: #f9fafb;
            --gray-100: #f3f4f6;
            --gray-200: #e5e7eb;
            --gray-300: #d1d5db;
            --gray-400: #9ca3af;
            --gray-500: #6b7280;
            --gray-600: #4b5563;
            --gray-700: #374151;
            --gray-800: #1f2937;
            --gray-900: #111827;
            --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
            --radius: 12px;
            --radius-sm: 8px;
            --radius-lg: 16px;
            --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: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
            line-height: 1.7;
            color: var(--gray-800);
            background-color: var(--gray-50);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: var(--transition);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        button,
        input,
        select,
        textarea {
            font-family: inherit;
            font-size: inherit;
            line-height: inherit;
        }

        button {
            cursor: pointer;
            border: none;
            background: none;
        }

        .focus-ring:focus-visible {
            outline: 2px solid var(--brand-500);
            outline-offset: 2px;
            border-radius: 4px;
        }

        .container {
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
            padding-left: 1.25rem;
            padding-right: 1.25rem;
        }

        @media (min-width: 768px) {
            .container {
                padding-left: 2rem;
                padding-right: 2rem;
            }
        }

        /* 导航 */
        .nav-link {
            font-size: 0.938rem;
            font-weight: 500;
            color: var(--gray-600);
            padding: 0.5rem 0.25rem;
            position: relative;
            transition: var(--transition);
        }
        .nav-link::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -2px;
            width: 0;
            height: 2.5px;
            background: var(--brand-500);
            border-radius: 4px;
            transition: var(--transition);
        }
        .nav-link:hover {
            color: var(--brand-600);
        }
        .nav-link:hover::after {
            width: 100%;
        }
        .nav-link.active {
            color: var(--brand-600);
            font-weight: 600;
        }
        .nav-link.active::after {
            width: 100%;
            background: var(--brand-500);
        }

        .btn-accent {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            background: linear-gradient(135deg, #f59e0b, #d97706);
            color: #fff;
            font-weight: 600;
            border-radius: 9999px;
            padding: 0.5rem 1.25rem;
            font-size: 0.875rem;
            transition: var(--transition);
            box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
            border: none;
        }
        .btn-accent:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45);
            background: linear-gradient(135deg, #fbbf24, #d97706);
        }
        .btn-accent:active {
            transform: translateY(0);
            box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
        }

        .btn-outline {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            border: 2px solid var(--brand-500);
            color: var(--brand-600);
            font-weight: 600;
            border-radius: 9999px;
            padding: 0.5rem 1.25rem;
            font-size: 0.875rem;
            transition: var(--transition);
            background: transparent;
        }
        .btn-outline:hover {
            background: var(--brand-50);
            border-color: var(--brand-600);
            color: var(--brand-700);
            transform: translateY(-1px);
        }

        .btn-white {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            background: #fff;
            color: var(--brand-700);
            font-weight: 600;
            border-radius: 9999px;
            padding: 0.625rem 1.5rem;
            font-size: 0.938rem;
            transition: var(--transition);
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
        }
        .btn-white:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
            color: var(--brand-500);
        }

        /* 移动菜单 */
        .mobile-menu {
            position: fixed;
            top: 0;
            right: -100%;
            width: 280px;
            height: 100vh;
            background: #fff;
            box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
            z-index: 1000;
            padding: 2rem 1.5rem;
            transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
            overflow-y: auto;
        }
        .mobile-menu.open {
            right: 0;
        }
        .mobile-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.4);
            z-index: 999;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.35s ease;
        }
        .mobile-overlay.open {
            opacity: 1;
            pointer-events: auto;
        }

        /* 分类页 Hero */
        .category-hero {
            position: relative;
            background: linear-gradient(135deg, #0b416b 0%, #0070c0 50%, #0c8ee2 100%);
            padding: 4rem 0 3.5rem;
            overflow: hidden;
            min-height: 320px;
            display: flex;
            align-items: center;
        }
        .category-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
            opacity: 0.15;
            mix-blend-mode: overlay;
        }
        .category-hero::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 80px;
            background: linear-gradient(to top, var(--gray-50), transparent);
        }
        .category-hero .container {
            position: relative;
            z-index: 2;
        }

        /* 卡片 */
        .game-card {
            background: #fff;
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow-md);
            transition: var(--transition);
            border: 1px solid rgba(0, 0, 0, 0.04);
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        .game-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-xl);
            border-color: var(--brand-100);
        }
        .game-card .card-img {
            aspect-ratio: 16 / 10;
            object-fit: cover;
            width: 100%;
            transition: transform 0.5s ease;
        }
        .game-card:hover .card-img {
            transform: scale(1.05);
        }
        .game-card .card-body {
            padding: 1.25rem 1.25rem 1.5rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .game-card .card-tag {
            display: inline-block;
            font-size: 0.75rem;
            font-weight: 600;
            padding: 0.2rem 0.75rem;
            border-radius: 9999px;
            background: var(--brand-50);
            color: var(--brand-600);
            margin-bottom: 0.5rem;
            letter-spacing: 0.3px;
        }
        .game-card .card-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--gray-900);
            line-height: 1.4;
            margin-bottom: 0.4rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .game-card .card-desc {
            font-size: 0.875rem;
            color: var(--gray-500);
            line-height: 1.6;
            flex: 1;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            margin-bottom: 0.75rem;
        }
        .game-card .card-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 0.8rem;
            color: var(--gray-400);
            border-top: 1px solid var(--gray-100);
            padding-top: 0.75rem;
            margin-top: auto;
        }

        /* 标签云 */
        .tag-pill {
            display: inline-block;
            padding: 0.35rem 1rem;
            font-size: 0.813rem;
            font-weight: 500;
            color: var(--gray-600);
            background: #fff;
            border: 1.5px solid var(--gray-200);
            border-radius: 9999px;
            transition: var(--transition);
            margin: 0.25rem;
        }
        .tag-pill:hover {
            border-color: var(--brand-300);
            color: var(--brand-600);
            background: var(--brand-50);
            transform: translateY(-1px);
            box-shadow: var(--shadow-sm);
        }
        .tag-pill.active {
            background: var(--brand-500);
            color: #fff;
            border-color: var(--brand-500);
        }

        /* 板块标题 */
        .section-title {
            font-size: 1.75rem;
            font-weight: 800;
            color: var(--gray-900);
            line-height: 1.3;
            letter-spacing: -0.3px;
        }
        .section-sub {
            font-size: 0.95rem;
            color: var(--gray-500);
            max-width: 560px;
        }
        @media (min-width: 768px) {
            .section-title {
                font-size: 2rem;
            }
        }

        /* FAQ */
        .faq-item {
            background: #fff;
            border-radius: var(--radius-sm);
            border: 1px solid var(--gray-100);
            overflow: hidden;
            transition: var(--transition);
        }
        .faq-item:hover {
            border-color: var(--brand-100);
            box-shadow: var(--shadow-sm);
        }
        .faq-question {
            padding: 1.1rem 1.25rem;
            font-weight: 600;
            color: var(--gray-800);
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            transition: var(--transition);
            font-size: 0.95rem;
        }
        .faq-question:hover {
            color: var(--brand-600);
        }
        .faq-question .icon {
            font-size: 1.2rem;
            transition: transform 0.3s ease;
            color: var(--gray-400);
        }
        .faq-item.open .faq-question .icon {
            transform: rotate(45deg);
            color: var(--brand-500);
        }
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.35s ease, padding 0.35s ease;
            padding: 0 1.25rem;
            color: var(--gray-600);
            font-size: 0.9rem;
            line-height: 1.7;
        }
        .faq-item.open .faq-answer {
            max-height: 300px;
            padding: 0 1.25rem 1.25rem;
        }

        /* 页码 */
        .pagination a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 10px;
            font-weight: 600;
            font-size: 0.9rem;
            color: var(--gray-600);
            background: #fff;
            border: 1px solid var(--gray-200);
            transition: var(--transition);
            margin: 0 2px;
        }
        .pagination a:hover {
            border-color: var(--brand-300);
            color: var(--brand-600);
            background: var(--brand-50);
            transform: translateY(-1px);
        }
        .pagination a.active {
            background: var(--brand-500);
            color: #fff;
            border-color: var(--brand-500);
            box-shadow: 0 4px 12px rgba(12, 142, 226, 0.3);
        }

        /* 底部 */
        .footer-heading {
            font-size: 1rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 1rem;
            letter-spacing: 0.3px;
        }
        .footer-link {
            color: var(--gray-400);
            transition: var(--transition);
            font-size: 0.9rem;
        }
        .footer-link:hover {
            color: #fff;
            padding-left: 4px;
        }
        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            background: rgba(0, 0, 0, 0.2);
        }

        /* 响应式 */
        @media (max-width: 1023px) {
            .nav-desktop {
                display: none !important;
            }
            .mobile-toggle {
                display: block !important;
            }
        }
        @media (min-width: 1024px) {
            .mobile-toggle {
                display: none !important;
            }
            .mobile-menu,
            .mobile-overlay {
                display: none !important;
            }
            .category-hero {
                min-height: 360px;
                padding: 5rem 0 4rem;
            }
        }
        @media (max-width: 639px) {
            .category-hero {
                padding: 3rem 0 2.5rem;
                min-height: 240px;
            }
            .section-title {
                font-size: 1.4rem;
            }
            .game-card .card-body {
                padding: 1rem 1rem 1.25rem;
            }
            .game-card .card-title {
                font-size: 1rem;
            }
            .pagination a {
                width: 36px;
                height: 36px;
                font-size: 0.8rem;
            }
        }

        /* 骨架动画 */
        @keyframes shimmer {
            0% {
                background-position: -200% 0;
            }
            100% {
                background-position: 200% 0;
            }
        }
        .skeleton {
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: shimmer 1.5s infinite;
            border-radius: 6px;
        }

        /* 统计数字 */
        .stat-number {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--brand-500);
            line-height: 1.2;
        }
        @media (min-width: 768px) {
            .stat-number {
                font-size: 2.6rem;
            }
        }

/* roulang page: article */
:root {
            --brand-50: #eff6ff;
            --brand-100: #dbeafe;
            --brand-200: #bfdbfe;
            --brand-300: #93c5fd;
            --brand-400: #60a5fa;
            --brand-500: #3b82f6;
            --brand-600: #2563eb;
            --brand-700: #1d4ed8;
            --brand-800: #1e40af;
            --brand-900: #1e3a5f;
            --accent: #f59e0b;
            --accent-hover: #d97706;
            --gray-50: #f9fafb;
            --gray-100: #f3f4f6;
            --gray-200: #e5e7eb;
            --gray-300: #d1d5db;
            --gray-400: #9ca3af;
            --gray-500: #6b7280;
            --gray-600: #4b5563;
            --gray-700: #374151;
            --gray-800: #1f2937;
            --gray-900: #111827;
            --radius: 12px;
            --radius-sm: 8px;
            --radius-lg: 16px;
            --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
            --shadow: 0 4px 12px rgba(0,0,0,0.08);
            --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
            --transition: all 0.25s ease;
        }
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; }
        body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans SC', sans-serif; line-height: 1.6; color: var(--gray-800); background: #fff; -webkit-font-smoothing: antialiased; }
        a { color: inherit; text-decoration: none; transition: var(--transition); }
        img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }
        button, input, textarea { font-family: inherit; font-size: inherit; outline: none; transition: var(--transition); }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        .focus-ring:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 2px; border-radius: 4px; }
        .nav-link { position: relative; font-size: 0.95rem; font-weight: 500; color: var(--gray-600); padding: 0.375rem 0.75rem; border-radius: var(--radius-sm); transition: var(--transition); }
        .nav-link:hover { color: var(--brand-600); background: var(--brand-50); }
        .nav-link.active { color: var(--brand-600); font-weight: 600; }
        .nav-link.active::after { content: ''; position: absolute; bottom: -2px; left: 0.75rem; right: 0.75rem; height: 2px; background: var(--brand-500); border-radius: 2px; }
        .btn-accent { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--accent); color: #fff !important; font-weight: 600; border-radius: 999px; padding: 0.625rem 1.5rem; border: none; cursor: pointer; transition: var(--transition); box-shadow: 0 4px 10px rgba(245,158,11,0.25); }
        .btn-accent:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(245,158,11,0.35); }
        .btn-accent:active { transform: translateY(0); box-shadow: 0 2px 6px rgba(245,158,11,0.2); }
        .btn-outline { display: inline-flex; align-items: center; gap: 0.4rem; border: 1.5px solid var(--brand-300); color: var(--brand-600); font-weight: 500; border-radius: 999px; padding: 0.5rem 1.25rem; background: transparent; transition: var(--transition); }
        .btn-outline:hover { background: var(--brand-50); border-color: var(--brand-400); transform: translateY(-1px); }
        .btn-white { display: inline-flex; align-items: center; gap: 0.4rem; background: #fff; color: var(--brand-700) !important; font-weight: 600; border-radius: 999px; padding: 0.625rem 1.5rem; border: none; cursor: pointer; transition: var(--transition); box-shadow: var(--shadow); }
        .btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
        .badge { display: inline-block; font-size: 0.75rem; font-weight: 600; padding: 0.2rem 0.75rem; border-radius: 999px; background: var(--brand-100); color: var(--brand-700); letter-spacing: 0.02em; }
        .badge-accent { background: #fef3c7; color: #b45309; }
        .badge-green { background: #d1fae5; color: #065f46; }
        .section { padding: 4rem 0; }
        .section-title { font-size: 1.75rem; font-weight: 700; color: var(--gray-900); margin-bottom: 0.5rem; letter-spacing: -0.01em; }
        .section-subtitle { font-size: 1rem; color: var(--gray-500); max-width: 600px; }
        .card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: var(--transition); border: 1px solid var(--gray-100); }
        .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
        .card-img { width: 100%; height: 200px; object-fit: cover; }
        .card-body { padding: 1.25rem; }
        .card-title { font-size: 1.1rem; font-weight: 600; color: var(--gray-900); margin-bottom: 0.5rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .card-text { font-size: 0.9rem; color: var(--gray-500); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
        .footer-link { color: var(--gray-400); transition: var(--transition); }
        .footer-link:hover { color: #fff; }
        .footer-heading { font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: 1rem; }
        .footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); }
        .mobile-menu { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); backdrop-filter: blur(4px); z-index: 999; display: none; opacity: 0; transition: opacity 0.3s ease; }
        .mobile-menu.open { display: block; opacity: 1; }
        .mobile-menu-inner { position: absolute; top: 0; right: 0; width: 280px; height: 100%; background: #fff; padding: 2rem 1.5rem; box-shadow: -8px 0 24px rgba(0,0,0,0.1); transform: translateX(100%); transition: transform 0.3s ease; }
        .mobile-menu.open .mobile-menu-inner { transform: translateX(0); }
        .mobile-menu a { display: block; padding: 0.75rem 0; font-size: 1.05rem; font-weight: 500; color: var(--gray-700); border-bottom: 1px solid var(--gray-100); }
        .mobile-menu a:hover { color: var(--brand-500); }
        .mobile-menu .close-btn { position: absolute; top: 1rem; right: 1.25rem; font-size: 1.5rem; color: var(--gray-500); background: none; border: none; cursor: pointer; }
        .article-content h2 { font-size: 1.5rem; font-weight: 700; margin-top: 2rem; margin-bottom: 1rem; color: var(--gray-900); }
        .article-content h3 { font-size: 1.25rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.75rem; color: var(--gray-800); }
        .article-content p { margin-bottom: 1.25rem; color: var(--gray-600); line-height: 1.8; }
        .article-content ul, .article-content ol { margin-bottom: 1.25rem; padding-left: 1.5rem; color: var(--gray-600); }
        .article-content li { margin-bottom: 0.5rem; }
        .article-content img { margin: 1.5rem auto; border-radius: var(--radius); box-shadow: var(--shadow); }
        .article-content blockquote { border-left: 4px solid var(--brand-400); background: var(--brand-50); padding: 1rem 1.5rem; margin: 1.5rem 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--gray-700); }
        .article-content a { color: var(--brand-600); text-decoration: underline; text-underline-offset: 2px; }
        .article-content a:hover { color: var(--brand-800); }
        @media (max-width: 1024px) {
            .nav-desktop { display: none !important; }
            .mobile-toggle { display: flex !important; }
            .section { padding: 3rem 0; }
        }
        @media (min-width: 1025px) {
            .mobile-toggle { display: none !important; }
            .nav-desktop { display: flex !important; }
        }
        @media (max-width: 768px) {
            .section-title { font-size: 1.5rem; }
            .container { padding: 0 16px; }
            .article-content h2 { font-size: 1.3rem; }
            .article-content h3 { font-size: 1.1rem; }
        }
        @media (max-width: 520px) {
            .section { padding: 2rem 0; }
            .section-title { font-size: 1.25rem; }
            .card-body { padding: 1rem; }
            .btn-accent, .btn-white { padding: 0.5rem 1.125rem; font-size: 0.85rem; }
        }
