/* roulang page: index */
:root {
            --primary: #3b82f6;
            --primary-dark: #1d4ed8;
            --accent: #d946ef;
            --bg-body: #f8fafc;
            --bg-surface: #ffffff;
            --text-main: #0f172a;
            --text-muted: #64748b;
            --border-light: #e2e8f0;
            --radius-card: 1rem;
            --radius-btn: 0.75rem;
            --shadow-card: 0 4px 20px rgba(0,0,0,0.06);
            --shadow-hover: 0 12px 40px rgba(0,0,0,0.10);
            --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', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
            background: var(--bg-body);
            color: var(--text-main);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
        }
        a {
            color: inherit;
            text-decoration: none;
            transition: var(--transition);
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        button,
        input,
        textarea {
            font-family: inherit;
            font-size: inherit;
            outline: none;
            border: none;
        }
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }
        @media (max-width: 640px) {
            .container {
                padding: 0 1rem;
            }
        }

        /* 导航胶囊悬浮效果 */
        .nav-glass {
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(20px) saturate(1.4);
            -webkit-backdrop-filter: blur(20px) saturate(1.4);
            border: 1px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
        }
        .nav-link {
            position: relative;
            font-weight: 500;
            padding: 0.5rem 1rem;
            border-radius: 2rem;
            transition: var(--transition);
            color: var(--text-muted);
        }
        .nav-link:hover {
            color: var(--primary);
            background: rgba(59, 130, 246, 0.08);
        }
        .nav-link.active {
            color: #fff;
            background: var(--primary);
            box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
        }
        .nav-link.active:hover {
            background: var(--primary-dark);
        }

        /* 按钮 */
        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 2rem;
            background: linear-gradient(135deg, var(--primary), #1d4ed8);
            color: #fff;
            border-radius: var(--radius-btn);
            font-weight: 600;
            font-size: 1rem;
            transition: var(--transition);
            box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
            cursor: pointer;
            border: none;
        }
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 28px rgba(59, 130, 246, 0.4);
        }
        .btn-primary:active {
            transform: translateY(0);
        }
        .btn-outline {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.7rem 1.8rem;
            background: transparent;
            color: var(--primary);
            border: 2px solid var(--primary);
            border-radius: var(--radius-btn);
            font-weight: 600;
            font-size: 1rem;
            transition: var(--transition);
            cursor: pointer;
        }
        .btn-outline:hover {
            background: var(--primary);
            color: #fff;
            transform: translateY(-2px);
        }
        .btn-outline:active {
            transform: translateY(0);
        }
        .btn-accent {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 2rem;
            background: linear-gradient(135deg, var(--accent), #a21caf);
            color: #fff;
            border-radius: var(--radius-btn);
            font-weight: 600;
            font-size: 1rem;
            transition: var(--transition);
            box-shadow: 0 4px 16px rgba(217, 70, 239, 0.3);
            cursor: pointer;
            border: none;
        }
        .btn-accent:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 28px rgba(217, 70, 239, 0.4);
        }

        /* 卡片 */
        .card {
            background: #fff;
            border-radius: var(--radius-card);
            box-shadow: var(--shadow-card);
            transition: var(--transition);
            border: 1px solid var(--border-light);
            overflow: hidden;
        }
        .card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
            border-color: rgba(59, 130, 246, 0.15);
        }

        /* 标签 */
        .tag {
            display: inline-block;
            padding: 0.2rem 0.8rem;
            border-radius: 2rem;
            font-size: 0.75rem;
            font-weight: 500;
            background: rgba(59, 130, 246, 0.08);
            color: var(--primary);
            transition: var(--transition);
        }
        .tag:hover {
            background: var(--primary);
            color: #fff;
        }
        .tag-accent {
            background: rgba(217, 70, 239, 0.08);
            color: var(--accent);
        }
        .tag-accent:hover {
            background: var(--accent);
            color: #fff;
        }
        .tag-green {
            background: rgba(16, 185, 129, 0.08);
            color: #10b981;
        }
        .tag-green:hover {
            background: #10b981;
            color: #fff;
        }
        .tag-orange {
            background: rgba(245, 158, 11, 0.08);
            color: #f59e0b;
        }
        .tag-orange:hover {
            background: #f59e0b;
            color: #fff;
        }

        /* 统计数字块 */
        .stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            line-height: 1.1;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        @media (max-width: 640px) {
            .stat-number {
                font-size: 2rem;
            }
        }

        /* 深色区块 */
        .section-dark {
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
            color: #f1f5f9;
        }
        .section-dark .card {
            background: rgba(255, 255, 255, 0.06);
            border-color: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(8px);
        }
        .section-dark .card:hover {
            background: rgba(255, 255, 255, 0.10);
            border-color: rgba(255, 255, 255, 0.15);
        }

        /* 分割线 */
        .divider {
            width: 60px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            border-radius: 4px;
            margin: 0.75rem 0 1.5rem 0;
        }
        .divider-center {
            margin-left: auto;
            margin-right: auto;
        }

        /* FAQ */
        .faq-item {
            border-bottom: 1px solid var(--border-light);
            padding: 1.25rem 0;
            cursor: pointer;
            transition: var(--transition);
        }
        .faq-item:last-child {
            border-bottom: none;
        }
        .faq-question {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 600;
            font-size: 1.05rem;
            color: var(--text-main);
            user-select: none;
        }
        .faq-question i {
            transition: transform 0.3s ease;
            color: var(--primary);
            font-size: 0.9rem;
        }
        .faq-item.open .faq-question i {
            transform: rotate(180deg);
        }
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease, padding 0.3s ease;
            color: var(--text-muted);
            font-size: 0.95rem;
            line-height: 1.7;
        }
        .faq-item.open .faq-answer {
            max-height: 300px;
            padding-top: 0.75rem;
        }

        /* 移动端菜单 */
        .mobile-menu {
            position: fixed;
            inset: 0;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(20px);
            z-index: 100;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 1.5rem;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.35s ease;
        }
        .mobile-menu.open {
            opacity: 1;
            pointer-events: auto;
        }
        .mobile-menu .nav-link {
            font-size: 1.3rem;
            padding: 0.75rem 2rem;
        }

        /* 滚动动画 */
        .fade-up {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }
        .fade-up.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* 自定义滚动条 */
        ::-webkit-scrollbar {
            width: 8px;
        }
        ::-webkit-scrollbar-track {
            background: #f1f5f9;
        }
        ::-webkit-scrollbar-thumb {
            background: #cbd5e1;
            border-radius: 8px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #94a3b8;
        }

        /* 首屏动画背景 */
        .hero-glow {
            position: absolute;
            width: 600px;
            height: 600px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 70%);
            top: -200px;
            right: -200px;
            pointer-events: none;
            animation: floatGlow 8s ease-in-out infinite alternate;
        }
        .hero-glow-2 {
            position: absolute;
            width: 500px;
            height: 500px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(217, 70, 239, 0.10), transparent 70%);
            bottom: -200px;
            left: -150px;
            pointer-events: none;
            animation: floatGlow 10s ease-in-out infinite alternate-reverse;
        }
        @keyframes floatGlow {
            0% {
                transform: translate(0, 0) scale(1);
            }
            100% {
                transform: translate(40px, -30px) scale(1.1);
            }
        }

        /* 列表项 */
        .list-item {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            padding: 1rem 0;
            border-bottom: 1px solid var(--border-light);
            transition: var(--transition);
        }
        .list-item:last-child {
            border-bottom: none;
        }
        .list-item:hover {
            padding-left: 0.5rem;
        }
        .list-item .list-index {
            width: 2rem;
            height: 2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: rgba(59, 130, 246, 0.08);
            color: var(--primary);
            font-weight: 700;
            font-size: 0.85rem;
            flex-shrink: 0;
        }
        .list-item:nth-child(1) .list-index {
            background: var(--primary);
            color: #fff;
        }
        .list-item:nth-child(2) .list-index {
            background: var(--primary);
            color: #fff;
        }
        .list-item:nth-child(3) .list-index {
            background: var(--primary);
            color: #fff;
        }

        /* 表单输入 */
        .form-input {
            width: 100%;
            padding: 0.85rem 1.2rem;
            border: 2px solid var(--border-light);
            border-radius: var(--radius-btn);
            background: #fff;
            transition: var(--transition);
            font-size: 0.95rem;
        }
        .form-input:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
        }

        /* 图片占位 */
        .img-placeholder {
            background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
            border-radius: 0.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-muted);
            font-size: 0.85rem;
            min-height: 120px;
        }

        /* 底部版权 */
        .footer-link {
            color: var(--text-muted);
            transition: var(--transition);
        }
        .footer-link:hover {
            color: var(--primary);
        }

        /* 移动端导航切换按钮 */
        .menu-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--text-main);
            cursor: pointer;
            padding: 0.25rem;
            border-radius: 0.5rem;
            transition: var(--transition);
        }
        .menu-toggle:hover {
            background: rgba(0, 0, 0, 0.05);
        }
        @media (max-width: 768px) {
            .menu-toggle {
                display: flex;
                align-items: center;
                justify-content: center;
            }
            .nav-desktop {
                display: none !important;
            }
        }
        @media (min-width: 769px) {
            .mobile-menu {
                display: none !important;
            }
        }

        /* 空状态提示 */
        .empty-state {
            text-align: center;
            padding: 3rem 1.5rem;
            color: var(--text-muted);
        }
        .empty-state i {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            opacity: 0.5;
        }

/* roulang page: category1 */
:root {
            --primary: #6C5CE7;
            --primary-dark: #5A4BD1;
            --primary-light: #A29BFE;
            --accent: #FD79A8;
            --accent-dark: #E84393;
            --secondary: #00CEC9;
            --bg-main: #0F0F1A;
            --bg-card: #1A1A2E;
            --bg-dark: #0A0A14;
            --bg-darker: #06060E;
            --text-main: #F0F0F5;
            --text-secondary: #B0B0C8;
            --text-muted: #6C6C8A;
            --border-color: rgba(108, 92, 231, 0.15);
            --radius: 16px;
            --radius-lg: 24px;
            --radius-sm: 10px;
            --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.35);
            --shadow-glow: 0 0 40px rgba(108, 92, 231, 0.15);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
            background: var(--bg-main);
            color: var(--text-main);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px;
        }

        /* 导航玻璃效果 */
        .nav-glass {
            background: rgba(15, 15, 26, 0.82);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border: 1px solid rgba(108, 92, 231, 0.12);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
        }

        .nav-link {
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 500;
            padding: 8px 18px;
            border-radius: 40px;
            transition: var(--transition);
            position: relative;
            letter-spacing: 0.3px;
        }

        .nav-link:hover {
            color: var(--text-main);
            background: rgba(108, 92, 231, 0.12);
        }

        .nav-link.active {
            color: #fff;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            box-shadow: 0 4px 16px rgba(108, 92, 231, 0.35);
        }

        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 28px;
            border-radius: 40px;
            font-weight: 600;
            font-size: 0.95rem;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: #fff;
            border: none;
            cursor: pointer;
            transition: var(--transition);
            text-decoration: none;
            box-shadow: 0 4px 20px rgba(108, 92, 231, 0.3);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(108, 92, 231, 0.45);
        }

        .btn-primary:active {
            transform: translateY(0);
        }

        .btn-primary:focus-visible {
            outline: 3px solid var(--primary-light);
            outline-offset: 3px;
        }

        .btn-secondary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 28px;
            border-radius: 40px;
            font-weight: 600;
            font-size: 0.95rem;
            background: transparent;
            color: var(--text-main);
            border: 1.5px solid rgba(108, 92, 231, 0.3);
            cursor: pointer;
            transition: var(--transition);
            text-decoration: none;
        }

        .btn-secondary:hover {
            border-color: var(--primary);
            background: rgba(108, 92, 231, 0.08);
            transform: translateY(-2px);
        }

        .btn-secondary:focus-visible {
            outline: 3px solid var(--primary-light);
            outline-offset: 3px;
        }

        /* 菜单切换按钮 */
        .menu-toggle {
            display: none;
            background: none;
            border: none;
            color: var(--text-main);
            font-size: 1.5rem;
            cursor: pointer;
            padding: 4px 8px;
            border-radius: 8px;
            transition: var(--transition);
        }

        .menu-toggle:hover {
            background: rgba(108, 92, 231, 0.1);
        }

        .menu-toggle:focus-visible {
            outline: 3px solid var(--primary-light);
            outline-offset: 2px;
        }

        /* 卡片样式 */
        .game-card {
            background: var(--bg-card);
            border-radius: var(--radius);
            border: 1px solid var(--border-color);
            overflow: hidden;
            transition: var(--transition);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        }

        .game-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-card), var(--shadow-glow);
            border-color: rgba(108, 92, 231, 0.25);
        }

        .game-card .card-img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            display: block;
            transition: var(--transition);
        }

        .game-card:hover .card-img {
            transform: scale(1.03);
        }

        .card-badge {
            display: inline-block;
            padding: 4px 14px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            background: rgba(108, 92, 231, 0.15);
            color: var(--primary-light);
            border: 1px solid rgba(108, 92, 231, 0.15);
        }

        .card-badge.hot {
            background: rgba(253, 121, 168, 0.15);
            color: var(--accent);
            border-color: rgba(253, 121, 168, 0.2);
        }

        .card-badge.new {
            background: rgba(0, 206, 201, 0.15);
            color: var(--secondary);
            border-color: rgba(0, 206, 201, 0.2);
        }

        /* 统计数字块 */
        .stat-item {
            text-align: center;
            padding: 24px 16px;
            border-radius: var(--radius-sm);
            background: rgba(108, 92, 231, 0.05);
            border: 1px solid var(--border-color);
            transition: var(--transition);
        }

        .stat-item:hover {
            background: rgba(108, 92, 231, 0.1);
            border-color: rgba(108, 92, 231, 0.2);
        }

        .stat-number {
            font-size: 2.2rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1.2;
        }

        .stat-label {
            font-size: 0.85rem;
            color: var(--text-secondary);
            margin-top: 4px;
        }

        /* 分类标签 */
        .tag-filter {
            display: inline-block;
            padding: 8px 24px;
            border-radius: 40px;
            font-size: 0.85rem;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
            border: 1.5px solid var(--border-color);
            background: transparent;
            color: var(--text-secondary);
            text-decoration: none;
        }

        .tag-filter:hover {
            border-color: var(--primary);
            color: var(--text-main);
            background: rgba(108, 92, 231, 0.08);
        }

        .tag-filter.active {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            border-color: transparent;
            color: #fff;
            box-shadow: 0 4px 16px rgba(108, 92, 231, 0.3);
        }

        .tag-filter:focus-visible {
            outline: 3px solid var(--primary-light);
            outline-offset: 2px;
        }

        /* FAQ */
        .faq-item {
            background: var(--bg-card);
            border-radius: var(--radius-sm);
            border: 1px solid var(--border-color);
            padding: 20px 24px;
            transition: var(--transition);
            cursor: pointer;
        }

        .faq-item:hover {
            border-color: rgba(108, 92, 231, 0.2);
        }

        .faq-question {
            font-weight: 600;
            font-size: 1rem;
            color: var(--text-main);
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
        }

        .faq-question i {
            color: var(--primary-light);
            transition: var(--transition);
            font-size: 1.1rem;
        }

        .faq-item.open .faq-question i {
            transform: rotate(180deg);
        }

        .faq-answer {
            margin-top: 12px;
            color: var(--text-secondary);
            font-size: 0.9rem;
            line-height: 1.7;
            display: none;
        }

        .faq-item.open .faq-answer {
            display: block;
        }

        /* 页脚链接 */
        .footer-link {
            color: rgba(255, 255, 255, 0.55);
            text-decoration: none;
            transition: var(--transition);
            position: relative;
        }

        .footer-link::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -2px;
            width: 0;
            height: 1.5px;
            background: var(--primary-light);
            transition: var(--transition);
        }

        .footer-link:hover {
            color: rgba(255, 255, 255, 0.85);
        }

        .footer-link:hover::after {
            width: 100%;
        }

        .footer-link:focus-visible {
            outline: 2px solid var(--primary-light);
            outline-offset: 4px;
            border-radius: 2px;
        }

        /* 分割线 */
        .divider {
            width: 80px;
            height: 4px;
            border-radius: 4px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            margin: 16px 0 24px 0;
        }

        /* 图片占位渐变 */
        .img-placeholder {
            background: linear-gradient(135deg, #1a1a3e, #2d1b4e);
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255, 255, 255, 0.15);
            font-size: 2.5rem;
        }

        /* 移动端导航面板 */
        .mobile-nav {
            display: none;
            position: fixed;
            top: 76px;
            left: 16px;
            right: 16px;
            background: rgba(15, 15, 26, 0.96);
            backdrop-filter: blur(24px) saturate(180%);
            -webkit-backdrop-filter: blur(24px) saturate(180%);
            border-radius: var(--radius);
            border: 1px solid rgba(108, 92, 231, 0.12);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
            padding: 20px 16px;
            z-index: 100;
            flex-direction: column;
            gap: 8px;
        }

        .mobile-nav.open {
            display: flex;
        }

        .mobile-nav .nav-link {
            display: block;
            padding: 12px 20px;
            font-size: 1rem;
            border-radius: var(--radius-sm);
        }

        /* 响应式 */
        @media (max-width: 1024px) {
            .nav-desktop {
                display: none;
            }
            .menu-toggle {
                display: block;
            }
            .container {
                padding: 0 20px;
            }
            .stat-number {
                font-size: 1.8rem;
            }
        }

        @media (max-width: 768px) {
            header .container {
                padding: 0 12px;
            }
            .container {
                padding: 0 16px;
            }
            .game-card .card-img {
                height: 160px;
            }
            .stat-number {
                font-size: 1.6rem;
            }
            .stat-item {
                padding: 16px 12px;
            }
            .btn-primary,
            .btn-secondary {
                padding: 10px 20px;
                font-size: 0.85rem;
            }
            .faq-item {
                padding: 16px 18px;
            }
            .divider {
                width: 60px;
            }
        }

        @media (max-width: 520px) {
            .container {
                padding: 0 12px;
            }
            .game-card .card-img {
                height: 140px;
            }
            .stat-number {
                font-size: 1.3rem;
            }
            .stat-label {
                font-size: 0.75rem;
            }
            .tag-filter {
                padding: 6px 16px;
                font-size: 0.78rem;
            }
            .nav-link {
                font-size: 0.82rem;
                padding: 6px 14px;
            }
            header .container {
                padding: 0 8px;
            }
            .mobile-nav {
                left: 12px;
                right: 12px;
                top: 72px;
            }
            .faq-question {
                font-size: 0.9rem;
            }
            .faq-answer {
                font-size: 0.82rem;
            }
        }

        /* 自定义滚动条 */
        ::-webkit-scrollbar {
            width: 8px;
        }
        ::-webkit-scrollbar-track {
            background: var(--bg-dark);
        }
        ::-webkit-scrollbar-thumb {
            background: var(--primary);
            border-radius: 10px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: var(--primary-dark);
        }

        /* 选中文本 */
        ::selection {
            background: rgba(108, 92, 231, 0.35);
            color: #fff;
        }

        /* 焦点可访问性 */
        a:focus-visible,
        button:focus-visible,
        input:focus-visible {
            outline: 3px solid var(--primary-light);
            outline-offset: 3px;
            border-radius: 4px;
        }

        /* 深色区块强调 */
        .section-dark {
            background: var(--bg-darker);
            border-top: 1px solid rgba(108, 92, 231, 0.06);
            border-bottom: 1px solid rgba(108, 92, 231, 0.06);
        }

        .section-gradient {
            background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-dark) 100%);
        }

/* roulang page: article */
:root {
            --primary: #6C5CE7;
            --accent: #00CEC9;
            --bg-dark: #0F0E17;
            --bg-card: #1E1D3A;
            --bg-lighter: #1A1932;
            --text-main: #1A1A2E;
            --text-soft: #4A4A6A;
            --text-light: #8A8AA8;
            --border-light: rgba(108, 92, 231, 0.15);
            --radius-card: 16px;
            --radius-btn: 12px;
            --shadow-card: 0 8px 32px rgba(108, 92, 231, 0.10);
            --shadow-hover: 0 16px 48px rgba(108, 92, 231, 0.18);
        }
        *,
        *::before,
        *::after {
            box-sizing: border-box;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            margin: 0;
            font-family: 'Inter', 'Noto Sans SC', system-ui, sans-serif;
            background: #F8F9FE;
            color: var(--text-main);
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        a {
            color: inherit;
            text-decoration: none;
            transition: color 0.2s;
        }
        button,
        input,
        textarea {
            font-family: inherit;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Nav Glass */
        .nav-glass {
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border: 1px solid rgba(108, 92, 231, 0.10);
            box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
            transition: background 0.3s, box-shadow 0.3s;
        }
        .nav-glass:hover {
            background: rgba(255, 255, 255, 0.96);
            box-shadow: 0 8px 32px rgba(108, 92, 231, 0.12);
        }
        .nav-link {
            padding: 6px 18px;
            border-radius: 40px;
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text-soft);
            transition: all 0.25s ease;
            position: relative;
        }
        .nav-link:hover {
            color: var(--primary);
            background: rgba(108, 92, 231, 0.06);
        }
        .nav-link.active {
            color: #fff;
            background: linear-gradient(135deg, var(--primary), #8B7CF0);
            box-shadow: 0 4px 14px rgba(108, 92, 231, 0.30);
        }

        /* Buttons */
        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 24px;
            border-radius: var(--radius-btn);
            font-weight: 600;
            font-size: 0.95rem;
            color: #fff;
            background: linear-gradient(135deg, var(--primary), #8B7CF0);
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 16px rgba(108, 92, 231, 0.25);
        }
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 28px rgba(108, 92, 231, 0.35);
        }
        .btn-primary:active {
            transform: translateY(0);
            box-shadow: 0 2px 10px rgba(108, 92, 231, 0.20);
        }
        .btn-outline {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 24px;
            border-radius: var(--radius-btn);
            font-weight: 600;
            font-size: 0.95rem;
            color: var(--primary);
            background: transparent;
            border: 2px solid var(--primary);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .btn-outline:hover {
            background: var(--primary);
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(108, 92, 231, 0.20);
        }

        .menu-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 1.4rem;
            color: var(--text-main);
            cursor: pointer;
            padding: 6px 10px;
            border-radius: 8px;
            transition: background 0.2s;
        }
        .menu-toggle:hover {
            background: rgba(108, 92, 231, 0.08);
        }

        /* Article Content */
        .article-content h2 {
            font-size: 1.6rem;
            font-weight: 700;
            margin: 2rem 0 1rem;
            color: var(--text-main);
            line-height: 1.4;
        }
        .article-content h3 {
            font-size: 1.25rem;
            font-weight: 600;
            margin: 1.6rem 0 0.8rem;
            color: var(--text-main);
        }
        .article-content p {
            margin: 0 0 1.2rem;
            color: var(--text-soft);
            font-size: 1.05rem;
            line-height: 1.8;
        }
        .article-content ul,
        .article-content ol {
            margin: 0 0 1.2rem 1.6rem;
            color: var(--text-soft);
        }
        .article-content li {
            margin-bottom: 0.4rem;
            line-height: 1.7;
        }
        .article-content img {
            border-radius: 12px;
            margin: 1.6rem 0;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
        }
        .article-content blockquote {
            border-left: 4px solid var(--primary);
            padding: 0.8rem 1.2rem;
            margin: 1.2rem 0;
            background: rgba(108, 92, 231, 0.04);
            border-radius: 0 8px 8px 0;
            color: var(--text-soft);
            font-style: italic;
        }
        .article-content a {
            color: var(--primary);
            text-decoration: underline;
            text-underline-offset: 2px;
        }
        .article-content a:hover {
            color: #5A4BC9;
        }
        .article-content pre {
            background: var(--bg-dark);
            color: #E4E4F0;
            padding: 1.2rem 1.6rem;
            border-radius: 12px;
            overflow-x: auto;
            margin: 1.2rem 0;
            font-size: 0.9rem;
        }
        .article-content code {
            background: rgba(108, 92, 231, 0.08);
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.9em;
            color: var(--primary);
        }
        .article-content pre code {
            background: none;
            padding: 0;
            color: inherit;
        }
        .article-content table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.2rem 0;
            border-radius: 12px;
            overflow: hidden;
        }
        .article-content th,
        .article-content td {
            padding: 0.8rem 1rem;
            border: 1px solid var(--border-light);
            text-align: left;
        }
        .article-content th {
            background: rgba(108, 92, 231, 0.06);
            font-weight: 600;
        }

        /* Tags */
        .tag {
            display: inline-flex;
            align-items: center;
            padding: 4px 14px;
            border-radius: 40px;
            font-size: 0.8rem;
            font-weight: 500;
            background: rgba(108, 92, 231, 0.08);
            color: var(--primary);
            transition: all 0.25s ease;
        }
        .tag:hover {
            background: var(--primary);
            color: #fff;
            transform: translateY(-1px);
        }

        /* Card */
        .card-glass {
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(108, 92, 231, 0.08);
            border-radius: var(--radius-card);
            box-shadow: var(--shadow-card);
            transition: all 0.35s ease;
        }
        .card-glass:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
            border-color: rgba(108, 92, 231, 0.18);
        }

        /* FAQ */
        .faq-item {
            border-bottom: 1px solid var(--border-light);
            padding: 1.2rem 0;
        }
        .faq-item:last-child {
            border-bottom: none;
        }
        .faq-question {
            font-weight: 600;
            font-size: 1.05rem;
            color: var(--text-main);
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
            transition: color 0.2s;
        }
        .faq-question:hover {
            color: var(--primary);
        }
        .faq-question .icon {
            flex-shrink: 0;
            transition: transform 0.3s;
        }
        .faq-question.open .icon {
            transform: rotate(180deg);
        }
        .faq-answer {
            padding-top: 0.8rem;
            color: var(--text-soft);
            font-size: 0.95rem;
            line-height: 1.7;
            display: none;
        }
        .faq-answer.open {
            display: block;
        }

        /* Footer */
        .footer-link {
            color: rgba(255, 255, 255, 0.55);
            transition: color 0.25s;
        }
        .footer-link:hover {
            color: #fff;
        }

        /* Mobile Nav Drawer */
        .mobile-drawer {
            position: fixed;
            top: 0;
            right: -100%;
            width: 280px;
            height: 100vh;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            box-shadow: -8px 0 40px rgba(0, 0, 0, 0.08);
            z-index: 60;
            padding: 2rem 1.5rem;
            transition: right 0.35s cubic-bezier(0.22, 1, 0.36, 1);
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
        }
        .mobile-drawer.open {
            right: 0;
        }
        .mobile-drawer-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.30);
            z-index: 55;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s;
        }
        .mobile-drawer-overlay.open {
            opacity: 1;
            pointer-events: auto;
        }
        .mobile-drawer .nav-link {
            padding: 12px 16px;
            font-size: 1rem;
            border-radius: 12px;
            width: 100%;
        }
        .mobile-drawer .nav-link.active {
            background: linear-gradient(135deg, var(--primary), #8B7CF0);
            color: #fff;
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .container {
                padding: 0 16px;
            }
        }
        @media (max-width: 768px) {
            .nav-desktop {
                display: none !important;
            }
            .menu-toggle {
                display: block !important;
            }
            .article-content h2 {
                font-size: 1.35rem;
            }
            .article-content p {
                font-size: 1rem;
            }
            .container {
                padding: 0 14px;
            }
        }
        @media (max-width: 520px) {
            .article-content h2 {
                font-size: 1.2rem;
            }
            .article-content p {
                font-size: 0.95rem;
            }
            .btn-primary,
            .btn-outline {
                padding: 8px 18px;
                font-size: 0.85rem;
            }
            .container {
                padding: 0 12px;
            }
        }

        /* Scrollbar */
        ::-webkit-scrollbar {
            width: 6px;
            height: 6px;
        }
        ::-webkit-scrollbar-track {
            background: #F0F0F5;
        }
        ::-webkit-scrollbar-thumb {
            background: var(--primary);
            border-radius: 10px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #5A4BC9;
        }

        /* Skeleton animation for loading (static decorative) */
        @keyframes shimmer {
            0% {
                background-position: -200% 0;
            }
            100% {
                background-position: 200% 0;
            }
        }
        .skeleton {
            background: linear-gradient(90deg, #E8E8F0 25%, #F5F5FE 50%, #E8E8F0 75%);
            background-size: 200% 100%;
            animation: shimmer 1.8s infinite;
            border-radius: 8px;
        }

/* roulang page: category2 */
:root {
            --primary: #6C5CE7;
            --accent: #00CEC9;
            --bg-dark: #0F0A1E;
            --bg-darker: #0A0615;
            --text-main: #F0EDFF;
            --text-muted: #8B85A6;
            --border-dark: #2A2445;
            --radius: 1rem;
            --radius-sm: 0.5rem;
            --shadow: 0 8px 32px rgba(108, 92, 231, 0.12);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Inter', 'Noto Sans SC', system-ui, sans-serif;
            background: var(--bg-dark);
            color: var(--text-main);
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }

        @media (max-width: 640px) {
            .container {
                padding: 0 1rem;
            }
        }

        /* 导航玻璃效果 */
        .nav-glass {
            background: rgba(15, 10, 30, 0.75);
            backdrop-filter: blur(20px) saturate(1.4);
            -webkit-backdrop-filter: blur(20px) saturate(1.4);
            border: 1px solid rgba(108, 92, 231, 0.15);
            box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
        }

        .nav-link {
            position: relative;
            padding: 0.5rem 1.2rem;
            border-radius: 2rem;
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text-muted);
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .nav-link:hover {
            color: var(--text-main);
            background: rgba(108, 92, 231, 0.12);
        }

        .nav-link.active {
            color: #fff;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            box-shadow: 0 4px 20px rgba(108, 92, 231, 0.3);
        }

        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.7rem 1.8rem;
            border-radius: 2rem;
            font-weight: 600;
            font-size: 0.95rem;
            color: #fff;
            background: linear-gradient(135deg, var(--primary), #5A4BD1);
            border: none;
            cursor: pointer;
            transition: all 0.35s ease;
            text-decoration: none;
            box-shadow: 0 4px 20px rgba(108, 92, 231, 0.2);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 35px rgba(108, 92, 231, 0.35);
        }

        .btn-primary:active {
            transform: translateY(0);
        }

        .btn-secondary {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.7rem 1.8rem;
            border-radius: 2rem;
            font-weight: 600;
            font-size: 0.95rem;
            color: var(--text-main);
            background: transparent;
            border: 1px solid rgba(108, 92, 231, 0.3);
            cursor: pointer;
            transition: all 0.35s ease;
            text-decoration: none;
        }

        .btn-secondary:hover {
            background: rgba(108, 92, 231, 0.1);
            border-color: var(--primary);
            transform: translateY(-2px);
        }

        .menu-toggle {
            display: none;
            background: none;
            border: none;
            color: var(--text-main);
            font-size: 1.4rem;
            cursor: pointer;
            padding: 0.25rem;
            transition: color 0.3s;
        }

        .menu-toggle:hover {
            color: var(--primary);
        }

        @media (max-width: 768px) {
            .nav-desktop {
                display: none;
                position: absolute;
                top: calc(100% + 0.75rem);
                left: 1rem;
                right: 1rem;
                background: rgba(15, 10, 30, 0.95);
                backdrop-filter: blur(24px);
                -webkit-backdrop-filter: blur(24px);
                border: 1px solid rgba(108, 92, 231, 0.15);
                border-radius: 1.25rem;
                padding: 1rem;
                flex-direction: column;
                gap: 0.35rem;
                box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
            }

            .nav-desktop.open {
                display: flex;
            }

            .nav-desktop .nav-link {
                padding: 0.7rem 1.2rem;
                font-size: 1rem;
                width: 100%;
                text-align: left;
            }

            .menu-toggle {
                display: block;
            }
        }

        @media (min-width: 769px) {
            .nav-desktop {
                display: flex !important;
            }
        }

        /* 卡片通用 */
        .card {
            background: var(--surface);
            border: 1px solid var(--border-dark);
            border-radius: var(--radius);
            padding: 1.5rem;
            transition: all 0.35s ease;
        }

        .card:hover {
            transform: translateY(-4px);
            border-color: rgba(108, 92, 231, 0.2);
            box-shadow: 0 12px 40px rgba(108, 92, 231, 0.08);
        }

        .badge {
            display: inline-flex;
            align-items: center;
            padding: 0.25rem 0.8rem;
            border-radius: 2rem;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.02em;
        }

        .badge-primary {
            background: rgba(108, 92, 231, 0.15);
            color: var(--primary);
        }

        .badge-accent {
            background: rgba(0, 206, 201, 0.15);
            color: var(--accent);
        }

        .badge-warm {
            background: rgba(255, 159, 67, 0.15);
            color: #FF9F43;
        }

        .section-title {
            font-size: 2rem;
            font-weight: 700;
            line-height: 1.25;
            letter-spacing: -0.01em;
        }

        .section-sub {
            color: var(--text-muted);
            font-size: 1.05rem;
            max-width: 640px;
        }

        @media (max-width: 640px) {
            .section-title {
                font-size: 1.6rem;
            }
            .section-sub {
                font-size: 0.95rem;
            }
        }

        .divider {
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--border-dark), transparent);
            margin: 2.5rem 0;
        }

        .footer-link {
            color: rgba(255, 255, 255, 0.55);
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-link:hover {
            color: rgba(255, 255, 255, 0.9);
        }

        /* 文章卡片标签布局 */
        .article-meta {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            font-size: 0.85rem;
            color: var(--text-muted);
        }

        .article-meta i {
            width: 1rem;
            text-align: center;
            color: var(--primary);
        }

        /* 精选区块大图 */
        .featured-card {
            position: relative;
            border-radius: var(--radius);
            overflow: hidden;
            background: var(--surface-light);
            border: 1px solid var(--border-dark);
            transition: all 0.4s ease;
        }

        .featured-card:hover {
            border-color: rgba(108, 92, 231, 0.25);
            box-shadow: 0 16px 48px rgba(108, 92, 231, 0.10);
            transform: translateY(-3px);
        }

        /* 搜索框 */
        .search-box {
            display: flex;
            align-items: center;
            background: var(--surface);
            border: 1px solid var(--border-dark);
            border-radius: 2rem;
            padding: 0.4rem 0.4rem 0.4rem 1.2rem;
            transition: all 0.3s;
        }

        .search-box:focus-within {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
        }

        .search-box input {
            background: none;
            border: none;
            outline: none;
            color: var(--text-main);
            font-size: 0.9rem;
            width: 100%;
            padding: 0.3rem 0;
        }

        .search-box input::placeholder {
            color: var(--text-muted);
        }

        .search-box button {
            background: linear-gradient(135deg, var(--primary), #5A4BD1);
            border: none;
            color: #fff;
            padding: 0.5rem 1.2rem;
            border-radius: 2rem;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 500;
        }

        .search-box button:hover {
            box-shadow: 0 4px 20px rgba(108, 92, 231, 0.3);
        }

        /* 分页 */
        .pagination {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            flex-wrap: wrap;
        }

        .pagination a,
        .pagination span {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 2.5rem;
            height: 2.5rem;
            border-radius: 0.75rem;
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text-muted);
            background: var(--surface);
            border: 1px solid var(--border-dark);
            text-decoration: none;
            transition: all 0.3s;
        }

        .pagination a:hover {
            border-color: var(--primary);
            color: var(--text-main);
        }

        .pagination .active {
            background: linear-gradient(135deg, var(--primary), #5A4BD1);
            color: #fff;
            border-color: transparent;
            box-shadow: 0 4px 16px rgba(108, 92, 231, 0.25);
        }

        /* 响应式网格辅助 */
        .grid-guides {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
        }

        @media (max-width: 1024px) {
            .grid-guides {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 640px) {
            .grid-guides {
                grid-template-columns: 1fr;
            }
        }

        /* 热门标签云 */
        .tag-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .tag-cloud a {
            display: inline-block;
            padding: 0.3rem 1rem;
            border-radius: 2rem;
            font-size: 0.8rem;
            color: var(--text-muted);
            background: var(--surface);
            border: 1px solid var(--border-dark);
            text-decoration: none;
            transition: all 0.3s;
        }

        .tag-cloud a:hover {
            color: var(--text-main);
            border-color: var(--primary);
            background: rgba(108, 92, 231, 0.08);
        }

        /* 侧栏模块 */
        .sidebar-card {
            background: var(--surface);
            border: 1px solid var(--border-dark);
            border-radius: var(--radius);
            padding: 1.5rem;
        }

        .sidebar-card h3 {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 1rem;
            padding-bottom: 0.75rem;
            border-bottom: 1px solid var(--border-dark);
        }

        /* FAQ 简约风格 */
        .faq-item {
            border-bottom: 1px solid var(--border-dark);
            padding: 1.25rem 0;
        }

        .faq-item:last-child {
            border-bottom: none;
        }

        .faq-question {
            font-weight: 600;
            font-size: 1.05rem;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: var(--text-main);
            transition: color 0.3s;
        }

        .faq-question:hover {
            color: var(--primary);
        }

        .faq-answer {
            color: var(--text-muted);
            font-size: 0.95rem;
            margin-top: 0.5rem;
            line-height: 1.7;
        }

        /* CTA 区块 */
        .cta-section {
            background: linear-gradient(135deg, rgba(108, 92, 231, 0.08), rgba(0, 206, 201, 0.05));
            border: 1px solid rgba(108, 92, 231, 0.12);
            border-radius: 1.5rem;
            padding: 3rem 2.5rem;
            text-align: center;
        }

        @media (max-width: 640px) {
            .cta-section {
                padding: 2rem 1.5rem;
            }
        }

        /* 滚动条 */
        ::-webkit-scrollbar {
            width: 6px;
        }
        ::-webkit-scrollbar-track {
            background: var(--bg-dark);
        }
        ::-webkit-scrollbar-thumb {
            background: var(--border-dark);
            border-radius: 3px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: var(--primary);
        }

        /* 加载动画 */
        @keyframes fadeUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .animate-fade-up {
            animation: fadeUp 0.6s ease forwards;
        }

        .delay-100 {
            animation-delay: 0.1s;
        }
        .delay-200 {
            animation-delay: 0.2s;
        }
        .delay-300 {
            animation-delay: 0.3s;
        }
        .delay-400 {
            animation-delay: 0.4s;
        }

        /* 条状统计装饰 */
        .stat-bar {
            height: 4px;
            border-radius: 2px;
            background: var(--border-dark);
            overflow: hidden;
            margin-top: 0.5rem;
        }

        .stat-bar-fill {
            height: 100%;
            border-radius: 2px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            transition: width 0.8s ease;
        }
