/* roulang page: index */
:root {
            --primary: #6C4DF6;
            --primary-2: #8B5CF6;
            --primary-3: #A78BFA;
            --accent: #FF8A4C;
            --accent-2: #FFA270;
            --accent-dark: #F97316;
            --bg: #0B0D12;
            --surface: #151A21;
            --surface-2: #1C222B;
            --border: #2A323D;
            --text-high: #F2F4F8;
            --text-body: #B3BAC5;
            --text-weak: #6E7785;
            --success: #22C55E;
            --warning: #F59E0B;
            --danger: #EF4444;
            --radius-lg: 16px;
            --radius-md: 12px;
            --radius-sm: 8px;
            --radius-pill: 999px;
            --shadow-card: 0 4px 20px rgba(0,0,0,0.4);
            --shadow-hover: 0 8px 32px rgba(108,77,246,0.25);
            --shadow-btn: 0 4px 14px rgba(255,138,76,0.3);
            --container-max: 1280px;
            --spacing-section: 96px;
            --spacing-md: 48px;
            --spacing-sm: 24px;
        }
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; }
        body {
            font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
            background-color: var(--bg);
            color: var(--text-body);
            font-size: 16px;
            line-height: 1.8;
            overflow-x: hidden;
        }
        a { color: var(--text-high); text-decoration: none; transition: all 0.3s ease; }
        a:hover { color: var(--primary-3); }
        img { max-width: 100%; display: block; }
        button, input, select, textarea { font-family: inherit; }
        .container-custom {
            max-width: var(--container-max);
            margin: 0 auto;
            padding-left: 20px;
            padding-right: 20px;
        }
        .text-high { color: var(--text-high); }
        .text-body-color { color: var(--text-body); }
        .text-weak { color: var(--text-weak); }
        .accent-text { color: var(--accent); }
        section { position: relative; }
        .section-padding { padding: var(--spacing-section) 0; }
        .section-heading {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 48px;
            gap: 20px;
        }
        .section-heading h2 {
            font-size: 32px;
            font-weight: 700;
            color: var(--text-high);
            margin: 0;
            position: relative;
            padding-left: 18px;
        }
        .section-heading h2::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 28px;
            background: linear-gradient(180deg, var(--primary), var(--primary-3));
            border-radius: 4px;
        }
        .section-heading .heading-link {
            color: var(--text-body);
            font-size: 14px;
            transition: 0.3s;
        }
        .section-heading .heading-link:hover { color: var(--accent); }

        /* topbar */
        .topbar {
            background: rgba(11,13,18,0.85);
            padding: 8px 0;
            border-bottom: 1px solid rgba(42,50,61,0.5);
            font-size: 13px;
        }
        .topbar .container-custom { display: flex; align-items: center; justify-content: space-between; }
        .topbar-left { display: flex; align-items: center; gap: 12px; }
        .topbar-right { display: flex; align-items: center; gap: 16px; }
        .topbar-right a { color: var(--text-body); }
        .topbar-right a:hover { color: var(--accent); }
        .topbar-brand { color: var(--text-high); font-weight: 600; letter-spacing: 0.02em; }

        /* navbar */
        .main-nav {
            background: rgba(11,13,18,0.92);
            backdrop-filter: saturate(180%) blur(20px);
            -webkit-backdrop-filter: saturate(180%) blur(20px);
            border-bottom: 1px solid rgba(42,50,61,0.4);
            padding: 0;
            transition: all 0.3s ease;
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .main-nav.scrolled {
            box-shadow: 0 8px 30px rgba(0,0,0,0.5);
            background: rgba(11,13,18,0.96);
        }
        .main-nav .navbar-brand {
            display: flex;
            align-items: center;
            font-size: 24px;
            font-weight: 800;
            color: var(--text-high);
            letter-spacing: 0.02em;
            padding: 16px 0;
        }
        .main-nav .navbar-brand .brand-glow {
            background: linear-gradient(135deg, var(--primary-3), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .main-nav .navbar-nav { gap: 4px; }
        .main-nav .nav-link {
            color: var(--text-body);
            font-size: 15px;
            font-weight: 500;
            padding: 10px 16px;
            border-radius: 8px;
            position: relative;
            transition: all 0.3s;
        }
        .main-nav .nav-link:hover, .main-nav .nav-link.active {
            color: var(--text-high);
            background: rgba(108,77,246,0.1);
        }
        .main-nav .nav-link.active::after {
            content: '';
            position: absolute;
            left: 16px;
            right: 16px;
            bottom: 4px;
            height: 2px;
            background: linear-gradient(90deg, var(--primary), var(--primary-3));
            border-radius: 2px;
        }
        .main-nav .navbar-search {
            display: flex;
            align-items: center;
            margin-left: 12px;
        }
        .main-nav .search-wrap {
            position: relative;
            width: 200px;
            transition: width 0.3s ease;
        }
        .main-nav .search-wrap:focus-within { width: 280px; }
        .main-nav .search-wrap .form-control {
            background: var(--surface-2);
            border: 1px solid var(--border);
            border-radius: var(--radius-pill);
            color: var(--text-high);
            font-size: 13px;
            padding: 8px 38px 8px 14px;
            width: 100%;
            transition: all 0.3s;
        }
        .main-nav .search-wrap .form-control:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(108,77,246,0.15);
            outline: none;
        }
        .main-nav .search-wrap .search-icon {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-weak);
            font-size: 14px;
        }
        .hot-words {
            margin-left: 16px;
            font-size: 12px;
            white-space: nowrap;
        }
        .hot-words a {
            color: var(--text-weak);
            margin: 0 4px;
            transition: 0.3s;
        }
        .hot-words a:hover { color: var(--accent); }
        .navbar-toggler {
            border: 1px solid var(--border);
            padding: 6px 10px;
            color: var(--text-high);
        }
        .navbar-toggler:focus { box-shadow: none; }
        .navbar-toggler i { font-size: 20px; }

        /* Hero */
        .hero {
            min-height: 88vh;
            display: flex;
            align-items: center;
            background-image: url('/assets/images/backpic/back-1.png');
            background-size: cover;
            background-position: center;
            position: relative;
            padding: 80px 0 120px;
        }
        .hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, rgba(11,13,18,0.95) 0%, rgba(11,13,18,0.7) 50%, rgba(11,13,18,0.3) 100%);
        }
        .hero::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(0deg, rgba(11,13,18,1) 0%, transparent 20%, rgba(11,13,18,0.2) 100%);
        }
        .hero .container-custom { position: relative; z-index: 2; }
        .hero-badges {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-bottom: 24px;
        }
        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(255,255,255,0.08);
            border: 1px solid rgba(255,255,255,0.12);
            border-radius: var(--radius-pill);
            padding: 6px 16px;
            font-size: 13px;
            color: var(--text-high);
            backdrop-filter: blur(8px);
        }
        .hero-badge i { color: var(--accent); }
        .hero-badge strong { font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
        .hero-subtitle {
            font-size: 18px;
            color: var(--primary-3);
            margin-bottom: 12px;
            font-weight: 500;
        }
        .hero h1 {
            font-size: 48px;
            font-weight: 700;
            color: var(--text-high);
            line-height: 1.25;
            margin-bottom: 20px;
            word-break: break-word;
        }
        .hero h1 .gradient-text {
            background: linear-gradient(135deg, var(--primary-3), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .hero-desc {
            font-size: 16px;
            color: var(--text-body);
            max-width: 480px;
            margin-bottom: 32px;
        }
        .hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
        .btn-primary-custom {
            background: linear-gradient(135deg, var(--accent), var(--accent-dark));
            border: none;
            border-radius: var(--radius-md);
            padding: 12px 28px;
            font-size: 15px;
            font-weight: 700;
            color: #fff;
            box-shadow: var(--shadow-btn);
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        .btn-primary-custom:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(255,138,76,0.45);
            color: #fff;
        }
        .btn-primary-custom:active { filter: brightness(0.95); transform: translateY(0); }
        .btn-outline-custom {
            background: transparent;
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            padding: 12px 28px;
            font-size: 15px;
            font-weight: 600;
            color: var(--text-high);
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        .btn-outline-custom:hover {
            border-color: var(--primary-2);
            color: var(--primary-3);
            background: rgba(108,77,246,0.06);
        }
        .hero-card {
            position: absolute;
            right: 20px;
            bottom: 80px;
            width: 300px;
            background: rgba(21,26,33,0.85);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 24px;
            backdrop-filter: blur(16px);
            z-index: 3;
            box-shadow: var(--shadow-card);
        }
        .hero-card-title { display: flex; align-items: center; gap: 8px; color: var(--text-high); font-weight: 600; margin-bottom: 16px; }
        .hero-card-title i { color: var(--accent); }
        .hero-card-stats { display: flex; flex-direction: column; gap: 12px; }
        .hero-stat { display: flex; justify-content: space-between; align-items: center; }
        .hero-stat .label { font-size: 13px; color: var(--text-body); }
        .hero-stat .value { font-size: 16px; font-weight: 700; color: var(--text-high); font-variant-numeric: tabular-nums; }
        .hero-ticker {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(11,13,18,0.85);
            border-top: 1px solid rgba(42,50,61,0.5);
            padding: 14px 0;
            overflow: hidden;
            z-index: 4;
            backdrop-filter: blur(10px);
        }
        .ticker-track {
            display: flex;
            gap: 48px;
            white-space: nowrap;
            animation: tickerMove 30s linear infinite;
        }
        .ticker-track span { color: var(--text-body); font-size: 14px; }
        .ticker-track span strong { color: var(--accent); font-weight: 700; }
        @keyframes tickerMove {
            from { transform: translateX(0); }
            to { transform: translateX(-50%); }
        }

        /* horizontal scroll */
        .horizon-scroll {
            display: flex;
            gap: 20px;
            overflow-x: auto;
            padding-bottom: 16px;
            scrollbar-width: none;
        }
        .horizon-scroll::-webkit-scrollbar { display: none; }
        .game-type-card {
            flex: 0 0 200px;
            height: 260px;
            border-radius: var(--radius-lg);
            overflow: hidden;
            position: relative;
            background: var(--surface);
            border: 1px solid var(--border);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .game-type-card:hover {
            transform: scale(1.05);
            box-shadow: 0 0 0 1px rgba(139,92,246,0.5), var(--shadow-hover);
            border-color: var(--primary-2);
        }
        .game-type-card .card-cover {
            position: absolute;
            inset: 0;
            background-size: cover;
            background-position: center;
        }
        .game-type-card .card-mask {
            position: absolute;
            inset: 0;
            background: linear-gradient(0deg, rgba(11,13,18,0.95) 0%, rgba(11,13,18,0.2) 70%);
        }
        .game-type-card .card-body-overlay {
            position: absolute;
            left: 0; right: 0; bottom: 0;
            padding: 16px;
            z-index: 2;
        }
        .game-type-card .type-name { color: var(--text-high); font-weight: 700; font-size: 18px; margin-bottom: 6px; }
        .game-type-card .game-count {
            display: inline-block;
            background: rgba(255,138,76,0.2);
            color: var(--accent);
            border-radius: var(--radius-pill);
            padding: 2px 10px;
            font-size: 12px;
            font-weight: 700;
        }

        /* Tabs */
        .recommend-tabs {
            display: flex;
            gap: 8px;
            margin-bottom: 32px;
            flex-wrap: wrap;
        }
        .recommend-tab {
            background: transparent;
            border: 1px solid var(--border);
            border-radius: var(--radius-pill);
            padding: 6px 20px;
            font-size: 14px;
            color: var(--text-body);
            cursor: pointer;
            transition: all 0.3s;
        }
        .recommend-tab:hover { color: var(--text-high); border-color: var(--primary-2); }
        .recommend-tab.active {
            background: linear-gradient(135deg, var(--primary), var(--primary-2));
            border-color: transparent;
            color: #fff;
            font-weight: 600;
        }

        /* game card */
        .game-card {
            display: flex;
            background: var(--surface);
            border-radius: var(--radius-lg);
            overflow: hidden;
            border: 1px solid var(--border);
            height: 100%;
            transition: all 0.35s ease;
        }
        .game-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover), 0 0 0 1px rgba(139,92,246,0.3);
            border-color: rgba(139,92,246,0.4);
        }
        .game-card .game-cover {
            flex: 0 0 160px;
            position: relative;
            overflow: hidden;
        }
        .game-card .game-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }
        .game-card:hover .game-cover img { transform: scale(1.05); }
        .game-card .game-info { padding: 20px; display: flex; flex-direction: column; }
        .game-card .game-title { font-size: 20px; font-weight: 600; color: var(--text-high); margin-bottom: 8px; }
        .game-card .game-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
        .game-tag {
            display: inline-block;
            background: rgba(108,77,246,0.15);
            color: var(--primary-3);
            border-radius: var(--radius-pill);
            padding: 2px 12px;
            font-size: 12px;
            font-weight: 500;
        }
        .game-meta { display: flex; gap: 16px; margin-bottom: 10px; flex-wrap: wrap; }
        .meta-item { font-size: 13px; color: var(--text-weak); display: flex; align-items: center; gap: 4px; }
        .meta-item i { color: var(--accent); }
        .meta-item strong { color: var(--text-high); font-variant-numeric: tabular-nums; }
        .game-desc {
            font-size: 14px;
            color: var(--text-body);
            margin-bottom: 16px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            line-height: 1.6;
        }
        .game-card .btn-sm-custom {
            align-self: flex-start;
            background: transparent;
            border: 1px solid var(--border);
            border-radius: var(--radius-pill);
            padding: 4px 18px;
            font-size: 13px;
            color: var(--text-high);
            transition: all 0.3s;
        }
        .game-card .btn-sm-custom:hover {
            background: var(--primary);
            border-color: var(--primary);
            color: #fff;
        }

        /* category zone */
        .category-zone { margin-bottom: 64px; }
        .category-zone:last-child { margin-bottom: 0; }
        .zone-heading {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 28px;
        }
        .zone-heading h3 {
            font-size: 24px;
            font-weight: 700;
            color: var(--text-high);
            margin: 0;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .zone-heading h3 .arrow-icon {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: rgba(139,92,246,0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-3);
            font-size: 14px;
        }
        .zone-horizon {
            display: flex;
            gap: 20px;
            overflow-x: auto;
            padding-bottom: 16px;
            scrollbar-width: none;
        }
        .zone-horizon::-webkit-scrollbar { display: none; }
        .zone-card {
            flex: 0 0 280px;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            overflow: hidden;
            transition: all 0.3s;
            position: relative;
        }
        .zone-card:hover {
            box-shadow: var(--shadow-hover);
            border-color: rgba(139,92,246,0.4);
            transform: translateY(-4px);
        }
        .zone-card .rank-num {
            position: absolute;
            top: 12px;
            left: 12px;
            z-index: 3;
            background: rgba(11,13,18,0.8);
            border: 1px solid rgba(255,255,255,0.15);
            border-radius: var(--radius-pill);
            padding: 2px 12px;
            color: var(--accent);
            font-weight: 800;
            font-size: 14px;
            backdrop-filter: blur(8px);
        }
        .zone-card .zone-cover { position: relative; height: 180px; overflow: hidden; }
        .zone-card .zone-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
        .zone-card:hover .zone-cover img { transform: scale(1.05); }
        .zone-card .status-badge {
            position: absolute;
            top: 12px;
            right: 12px;
            z-index: 2;
            border-radius: var(--radius-pill);
            padding: 2px 10px;
            font-size: 12px;
            background: rgba(34,197,94,0.25);
            color: var(--success);
            border: 1px solid rgba(34,197,94,0.3);
        }
        .zone-card .zone-body { padding: 16px; }
        .zone-card .zone-name { font-size: 17px; font-weight: 600; color: var(--text-high); margin-bottom: 6px; }
        .zone-card .zone-meta { font-size: 13px; color: var(--text-weak); margin-bottom: 8px; }
        .zone-card .zone-meta span { margin-right: 12px; }
        .zone-card .zone-actions { display: flex; gap: 8px; }
        .zone-btn {
            background: rgba(108,77,246,0.12);
            color: var(--primary-3);
            border: 1px solid rgba(108,77,246,0.2);
            border-radius: 8px;
            padding: 4px 16px;
            font-size: 13px;
            cursor: pointer;
            transition: all 0.3s;
        }
        .zone-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

        /* CTA Section */
        .cta-section {
            background-image: url('/assets/images/backpic/back-2.png');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            padding: 120px 0;
            position: relative;
        }
        .cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(11,13,18,0.92) 0%, rgba(21,26,33,0.85) 100%);
        }
        .cta-content { position: relative; z-index: 2; text-align: center; max-width: 700px; margin: 0 auto; }
        .cta-subtitle { color: var(--primary-3); font-size: 16px; margin-bottom: 16px; letter-spacing: 0.02em; }
        .cta-title { font-size: 40px; font-weight: 700; color: var(--text-high); margin-bottom: 20px; line-height: 1.3; }
        .cta-title .gradient-accent { background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
        .cta-desc { font-size: 16px; color: var(--text-body); margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
        .cta-stats { display: flex; justify-content: center; gap: 48px; margin-bottom: 40px; flex-wrap: wrap; }
        .cta-stat { text-align: center; }
        .cta-stat .num { font-size: 28px; font-weight: 800; color: var(--text-high); font-variant-numeric: tabular-nums; }
        .cta-stat .label { font-size: 13px; color: var(--text-weak); }
        .cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

        /* CMS list */
        .cms-list { display: flex; flex-direction: column; gap: 16px; }
        .cms-item {
            display: flex;
            align-items: stretch;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            overflow: hidden;
            transition: all 0.3s;
            cursor: pointer;
        }
        .cms-item:hover {
            background: var(--surface-2);
            transform: translateX(4px);
            box-shadow: var(--shadow-card);
            border-color: rgba(139,92,246,0.3);
        }
        .cms-item .cms-thumb {
            flex: 0 0 180px;
            background: var(--surface-2);
            position: relative;
            overflow: hidden;
            min-height: 120px;
        }
        .cms-item .cms-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .cms-item .cms-thumb .cms-thumb-fallback {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--primary), var(--primary-2));
            color: #fff;
            font-size: 13px;
            font-weight: 600;
            opacity: 0.9;
        }
        .cms-item .cms-content { flex: 1; padding: 20px 24px; display: flex; flex-direction: column; justify-content: center; }
        .cms-item .cms-title { font-size: 18px; font-weight: 600; color: var(--text-high); margin-bottom: 8px; line-height: 1.4; }
        .cms-item .cms-excerpt {
            font-size: 14px;
            color: var(--text-body);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            margin-bottom: 12px;
            line-height: 1.6;
        }
        .cms-item .cms-meta { display: flex; gap: 16px; align-items: center; font-size: 13px; color: var(--text-weak); }
        .cms-item .cms-meta .cms-category {
            display: inline-block;
            background: rgba(108,77,246,0.15);
            color: var(--primary-3);
            border-radius: 999px;
            padding: 2px 12px;
            font-size: 12px;
            font-weight: 500;
        }
        .cms-item .cms-arrow {
            display: flex;
            align-items: center;
            padding: 0 24px;
            color: var(--text-weak);
            font-size: 20px;
        }
        .cms-empty {
            text-align: center;
            padding: 60px 20px;
            background: var(--surface);
            border: 1px dashed var(--border);
            border-radius: var(--radius-lg);
            color: var(--text-weak);
        }
        .cms-empty i { font-size: 48px; margin-bottom: 16px; color: var(--primary); }

        /* footer */
        .site-footer {
            background: #0B0D12;
            border-top: 1px solid #2A323D;
            padding: 64px 0 0;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1.5fr;
            gap: 40px;
            padding-bottom: 48px;
        }
        .footer-brand .footer-logo { font-size: 24px; font-weight: 800; color: var(--text-high); margin-bottom: 16px; }
        .footer-brand .footer-desc { font-size: 14px; color: var(--text-weak); line-height: 1.8; max-width: 280px; }
        .footer-col-title { font-size: 16px; font-weight: 600; color: var(--text-high); margin-bottom: 20px; }
        .footer-col ul { list-style: none; padding: 0; margin: 0; }
        .footer-col ul li { margin-bottom: 10px; }
        .footer-col ul li a { font-size: 14px; color: var(--text-body); }
        .footer-col ul li a:hover { color: var(--accent); }
        .footer-copyright {
            border-top: 1px solid #1C222B;
            padding: 20px 0;
            text-align: center;
            font-size: 13px;
            color: var(--text-weak);
        }

        /* scroll to top */
        .scroll-top {
            position: fixed;
            bottom: 24px;
            right: 24px;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: var(--primary);
            border: none;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            box-shadow: var(--shadow-hover);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
            z-index: 999;
            cursor: pointer;
        }
        .scroll-top.show { opacity: 1; visibility: visible; }
        .scroll-top:hover { background: var(--primary-2); }

        /* focus visible */
        a:focus-visible, button:focus-visible, .form-control:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        /* Responsive */
        @media (max-width: 991.98px) {
            .hero-card { display: none; }
            .footer-grid { grid-template-columns: 1fr 1fr; }
            .main-nav .navbar-collapse {
                padding: 16px 0;
            }
            .main-nav .navbar-nav { gap: 0; }
            .main-nav .nav-link { padding: 12px 8px; }
            .main-nav .search-wrap { width: 100%; margin-top: 12px; }
            .main-nav .hot-words { margin: 12px 0 0; }
        }
        @media (max-width: 767.98px) {
            :root {
                --spacing-section: 64px;
            }
            .section-heading h2 { font-size: 24px; }
            .hero { min-height: 70vh; padding-top: 60px; }
            .hero h1 { font-size: 32px; }
            .hero-subtitle { font-size: 14px; }
            .hero-desc { font-size: 14px; }
            .cta-title { font-size: 28px; }
            .cta-stats { gap: 24px; }
            .cta-stat .num { font-size: 22px; }
            .game-card { flex-direction: column; }
            .game-card .game-cover { flex: none; height: 180px; }
            .cms-item { flex-direction: column; }
            .cms-item .cms-thumb { flex: none; height: 140px; }
            .cms-item .cms-arrow { display: none; }
            .section-heading { flex-direction: column; align-items: flex-start; gap: 8px; }
            .footer-grid { grid-template-columns: 1fr; gap: 32px; }
            .hero-badge { font-size: 12px; padding: 4px 12px; }
        }
        @media (max-width: 520px) {
            .hero h1 { font-size: 28px; }
            .btn-primary-custom, .btn-outline-custom { padding: 10px 20px; font-size: 14px; }
            .zone-card { flex: 0 0 230px; }
        }

/* roulang page: category1 */
:root {
            --primary: #6C4DF6;
            --primary-2: #8B5CF6;
            --primary-3: #A78BFA;
            --accent: #FF8A4C;
            --accent-2: #F97316;
            --accent-hover: #FFA270;
            --bg: #0B0D12;
            --surface: #151A21;
            --surface-2: #1C222B;
            --border: #2A323D;
            --text: #F2F4F8;
            --text-2: #B3BAC5;
            --text-3: #6E7785;
            --success: #22C55E;
            --warning: #F59E0B;
            --error: #EF4444;
            --radius-lg: 16px;
            --radius-md: 12px;
            --radius-sm: 8px;
            --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
            --shadow-hover: 0 8px 32px rgba(108, 77, 246, 0.25);
            --shadow-accent: 0 4px 14px rgba(255, 138, 76, 0.3);
            --transition: 0.25s ease;
            --font-stack: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            -webkit-text-size-adjust: 100%;
        }

        body {
            font-family: var(--font-stack);
            background-color: var(--bg);
            color: var(--text);
            line-height: 1.8;
            font-size: 16px;
            overflow-x: hidden;
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: color var(--transition);
        }

        img {
            max-width: 100%;
            display: block;
        }

        button,
        input {
            font-family: inherit;
        }

        .container-custom {
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding-left: 20px;
            padding-right: 20px;
        }

        .text-weak {
            color: var(--text-3);
        }

        .section-pad {
            padding: 80px 0;
        }

        .section-title-wrap {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            margin-bottom: 32px;
            gap: 20px;
        }

        .section-title {
            font-size: 32px;
            font-weight: 700;
            color: var(--text);
            line-height: 1.3;
            letter-spacing: 0.5px;
        }

        .section-subtitle {
            color: var(--text-2);
            font-size: 14px;
            margin-top: 8px;
        }

        .section-more {
            color: var(--primary-3);
            font-size: 14px;
            white-space: nowrap;
        }

        .section-more:hover {
            color: var(--accent);
        }

        .topbar {
            background: rgba(11, 13, 18, 0.85);
            border-bottom: 1px solid rgba(42, 50, 61, 0.5);
            padding: 8px 0;
            font-size: 13px;
            color: var(--text-2);
        }

        .topbar-left,
        .topbar-right {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .topbar-chip {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(108, 77, 246, 0.15);
            border: 1px solid rgba(108, 77, 246, 0.3);
            border-radius: 999px;
            padding: 2px 14px;
            font-size: 12px;
            color: var(--primary-3);
        }

        .topbar-right a {
            color: var(--text-2);
            transition: color var(--transition);
        }

        .topbar-right a:hover {
            color: var(--accent);
        }

        .main-nav {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(11, 13, 18, 0.92);
            backdrop-filter: saturate(180%) blur(20px);
            -webkit-backdrop-filter: saturate(180%) blur(20px);
            border-bottom: 1px solid var(--border);
            transition: box-shadow 0.3s ease, background 0.3s ease;
        }

        .main-nav.scrolled {
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
        }

        .main-nav .navbar {
            min-height: 80px;
            transition: min-height 0.3s ease;
        }

        .main-nav.scrolled .navbar {
            min-height: 64px;
        }

        .navbar-brand {
            display: inline-flex;
            align-items: center;
            font-size: 22px;
            font-weight: 700;
            color: var(--text) !important;
            letter-spacing: 0.5px;
            white-space: nowrap;
        }

        .brand-glow {
            background: linear-gradient(135deg, var(--text), var(--primary-3));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .navbar-toggler {
            border: 1px solid var(--border);
            color: var(--text);
            font-size: 22px;
            padding: 4px 10px;
            border-radius: var(--radius-sm);
            transition: border-color var(--transition);
        }

        .navbar-toggler:hover {
            border-color: var(--primary-2);
        }

        .navbar-toggler:focus {
            box-shadow: 0 0 0 0.25rem rgba(255, 138, 76, 0.25);
        }

        .navbar-nav {
            gap: 4px;
        }

        .nav-link {
            font-size: 15px;
            font-weight: 500;
            color: var(--text-2) !important;
            padding: 10px 18px !important;
            border-radius: var(--radius-sm);
            position: relative;
            transition: color var(--transition), background var(--transition);
        }

        .nav-link::after {
            content: '';
            position: absolute;
            left: 18px;
            right: 18px;
            bottom: 4px;
            height: 2px;
            border-radius: 2px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.3s ease;
        }

        .nav-link:hover {
            color: var(--text) !important;
        }

        .nav-link:hover::after {
            transform: scaleX(1);
        }

        .nav-link.active {
            color: var(--text) !important;
        }

        .nav-link.active::after {
            transform: scaleX(1);
        }

        .main-nav-search {
            display: flex;
            align-items: center;
            margin-left: 24px;
        }

        .navbar-search {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .search-wrap {
            position: relative;
            width: 200px;
            transition: width 0.3s ease;
        }

        .search-wrap:focus-within {
            width: 280px;
        }

        .search-wrap .form-control {
            background: var(--surface-2);
            border: 1px solid var(--border);
            border-radius: 999px;
            color: var(--text);
            padding: 8px 38px 8px 16px;
            font-size: 14px;
            width: 100%;
            transition: border-color var(--transition), box-shadow var(--transition);
        }

        .search-wrap .form-control::placeholder {
            color: var(--text-3);
        }

        .search-wrap .form-control:focus {
            border-color: var(--primary-2);
            box-shadow: 0 0 0 0.2rem rgba(108, 77, 246, 0.15);
            outline: none;
        }

        .search-icon {
            position: absolute;
            right: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-3);
            pointer-events: none;
            font-size: 14px;
        }

        .hot-words {
            color: var(--text-3);
            font-size: 12px;
            white-space: nowrap;
        }

        .hot-words a {
            color: var(--text-2);
        }

        .hot-words a:hover {
            color: var(--accent);
        }

        .category-hero {
            position: relative;
            min-height: 62vh;
            display: flex;
            align-items: center;
            padding: 100px 0;
            overflow: hidden;
        }

        .category-hero-bg {
            position: absolute;
            inset: 0;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            z-index: 0;
        }

        .category-hero-bg::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, rgba(11, 13, 18, 0.95) 0%, rgba(11, 13, 18, 0.75) 50%, rgba(11, 13, 18, 0.4) 100%);
        }

        .category-hero-content {
            position: relative;
            z-index: 2;
            max-width: 760px;
        }

        .hero-badges {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 24px;
        }

        .data-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 999px;
            padding: 5px 16px;
            font-size: 13px;
            font-weight: 500;
            color: var(--text);
            backdrop-filter: blur(4px);
            line-height: 1.5;
            font-variant-numeric: tabular-nums;
        }

        .data-badge i {
            color: var(--accent);
            font-size: 14px;
        }

        .data-badge .badge-num {
            color: var(--accent);
            font-weight: 800;
        }

        .category-hero-subtitle {
            font-size: 15px;
            color: var(--primary-3);
            letter-spacing: 2px;
            text-transform: uppercase;
            margin-bottom: 12px;
            font-weight: 600;
        }

        .category-hero-content h1 {
            font-size: 52px;
            font-weight: 700;
            color: var(--text);
            line-height: 1.2;
            margin-bottom: 16px;
            letter-spacing: 1px;
        }

        .category-hero-desc {
            font-size: 16px;
            color: var(--text-2);
            max-width: 620px;
            margin-bottom: 32px;
            line-height: 1.8;
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
        }

        .btn {
            border-radius: var(--radius-md);
            font-weight: 600;
            font-size: 15px;
            padding: 12px 28px;
            transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
        }

        .btn:focus-visible,
        .nav-link:focus-visible,
        a:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        .btn-primary-custom {
            background: linear-gradient(135deg, var(--accent), var(--accent-2));
            color: #fff;
            border: none;
            box-shadow: var(--shadow-accent);
        }

        .btn-primary-custom:hover {
            background: linear-gradient(135deg, var(--accent-hover), var(--accent));
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(255, 138, 76, 0.4);
        }

        .btn-primary-custom:active {
            filter: brightness(0.95);
            transform: translateY(0);
        }

        .btn-outline-custom {
            background: transparent;
            border: 1px solid var(--border);
            color: var(--text);
        }

        .btn-outline-custom:hover {
            border-color: var(--primary-2);
            color: var(--primary-3);
            background: rgba(108, 77, 246, 0.1);
            transform: translateY(-2px);
        }

        .btn-lg {
            padding: 16px 40px;
            font-size: 17px;
            border-radius: 14px;
        }

        .btn-sm {
            padding: 8px 20px;
            font-size: 14px;
        }

        .stats-strip {
            padding: 48px 0;
            background: var(--surface);
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 32px;
            text-align: center;
        }

        .stat-item {
            padding: 12px 8px;
            border-radius: var(--radius-md);
            background: var(--surface-2);
            border: 1px solid var(--border);
            transition: transform var(--transition), border-color var(--transition);
        }

        .stat-item:hover {
            transform: translateY(-4px);
            border-color: var(--primary);
        }

        .stat-number {
            display: block;
            font-size: 28px;
            font-weight: 800;
            color: var(--text);
            font-variant-numeric: tabular-nums;
            line-height: 1.2;
            background: linear-gradient(135deg, var(--accent), var(--primary-3));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .stat-label {
            display: block;
            font-size: 14px;
            color: var(--text-2);
            margin-top: 4px;
        }

        .filter-section {
            padding: 64px 0 16px;
        }

        .filter-head {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 16px;
            margin-bottom: 28px;
        }

        .chip-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .chip {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 22px;
            border-radius: 999px;
            background: var(--surface);
            border: 1px solid var(--border);
            color: var(--text-2);
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all var(--transition);
        }

        .chip:hover {
            border-color: var(--primary-2);
            color: var(--text);
            transform: translateY(-2px);
        }

        .chip.active {
            background: linear-gradient(135deg, var(--primary), var(--primary-2));
            border-color: transparent;
            color: #fff;
            box-shadow: 0 4px 16px rgba(108, 77, 246, 0.3);
        }

        .chip .chip-count {
            font-size: 12px;
            opacity: 0.8;
            font-variant-numeric: tabular-nums;
        }

        .filter-result-note {
            font-size: 14px;
            color: var(--text-3);
        }

        .game-grid-section {
            padding: 32px 0 80px;
        }

        .game-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }

        .game-card {
            background: var(--surface);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border);
            overflow: hidden;
            transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .game-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-hover);
            border-color: rgba(139, 92, 246, 0.5);
        }

        .game-card-cover {
            position: relative;
            aspect-ratio: 16 / 10;
            overflow: hidden;
            background: linear-gradient(135deg, var(--primary), var(--primary-2));
        }

        .game-card-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .game-card:hover .game-card-cover img {
            transform: scale(1.05);
        }

        .game-card-cover::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, transparent 55%, rgba(21, 26, 33, 0.5) 100%);
        }

        .game-card-badge {
            position: absolute;
            top: 14px;
            right: 14px;
            z-index: 2;
            background: rgba(11, 13, 18, 0.75);
            border: 1px solid rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(6px);
            border-radius: 999px;
            padding: 4px 14px;
            font-size: 12px;
            font-weight: 700;
            color: var(--text);
            font-variant-numeric: tabular-nums;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .game-card-badge i {
            color: var(--accent);
        }

        .game-card-body {
            padding: 20px;
            display: flex;
            flex-direction: column;
            flex: 1;
        }

        .game-card-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 12px;
        }

        .tag {
            display: inline-flex;
            align-items: center;
            padding: 3px 14px;
            border-radius: 999px;
            font-size: 12px;
            font-weight: 600;
            background: rgba(108, 77, 246, 0.15);
            color: var(--primary-3);
            border: 1px solid rgba(108, 77, 246, 0.25);
            line-height: 1.6;
        }

        .tag-accent {
            background: rgba(255, 138, 76, 0.12);
            color: var(--accent);
            border-color: rgba(255, 138, 76, 0.25);
        }

        .game-card-body h3 {
            font-size: 20px;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 8px;
        }

        .game-card-body h3 a {
            color: inherit;
        }

        .game-card-body h3 a:hover {
            color: var(--primary-3);
        }

        .game-card-body p {
            font-size: 14px;
            color: var(--text-2);
            line-height: 1.7;
            margin-bottom: 16px;
            flex: 1;
        }

        .game-card-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 12px;
            border-top: 1px solid rgba(42, 50, 61, 0.6);
        }

        .game-card-meta {
            font-size: 13px;
            color: var(--text-3);
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .game-card-meta i {
            color: var(--accent);
        }

        .mid-cta {
            padding: 56px 0;
        }

        .mid-cta-inner {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 36px 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 24px;
            flex-wrap: wrap;
            position: relative;
            overflow: hidden;
        }

        .mid-cta-inner::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 320px;
            height: 100%;
            background: radial-gradient(circle at 80% 50%, rgba(108, 77, 246, 0.25), transparent 70%);
            pointer-events: none;
        }

        .mid-cta-text {
            position: relative;
            z-index: 1;
            flex: 1;
            min-width: 260px;
        }

        .mid-cta-text h3 {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 8px;
            color: var(--text);
        }

        .mid-cta-text p {
            color: var(--text-2);
            font-size: 14px;
            margin-bottom: 0;
        }

        .mid-cta-inner .btn {
            position: relative;
            z-index: 1;
            flex-shrink: 0;
        }

        .faq-section {
            padding: 64px 0;
            background: var(--surface);
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }

        .faq-container {
            max-width: 880px;
            margin: 0 auto;
        }

        .faq-section .section-title {
            text-align: center;
            margin-bottom: 8px;
        }

        .faq-section .section-subtitle {
            text-align: center;
            margin-bottom: 32px;
        }

        .accordion {
            --bs-accordion-bg: var(--surface-2);
            --bs-accordion-border-color: var(--border);
            --bs-accordion-border-radius: var(--radius-md);
            --bs-accordion-inner-border-radius: var(--radius-md);
            --bs-accordion-btn-color: var(--text);
            --bs-accordion-btn-bg: transparent;
            --bs-accordion-active-bg: var(--surface-2);
            --bs-accordion-active-color: var(--text);
            --bs-accordion-btn-focus-box-shadow: none;
            --bs-accordion-body-color: var(--text-2);
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .accordion-item {
            border: 1px solid var(--border);
            border-radius: var(--radius-md) !important;
            overflow: hidden;
            transition: border-color var(--transition), box-shadow var(--transition);
        }

        .accordion-item:focus-within,
        .accordion-item:hover {
            border-color: var(--primary);
            box-shadow: 0 4px 20px rgba(108, 77, 246, 0.15);
        }

        .accordion-header {
            margin-bottom: 0;
        }

        .accordion-button {
            font-size: 16px;
            font-weight: 600;
            padding: 20px 24px;
            color: var(--text);
            background: var(--surface-2);
            border-radius: 0 !important;
            position: relative;
            line-height: 1.5;
        }

        .accordion-button:not(.collapsed) {
            background: var(--surface-2);
            color: var(--primary-3);
            box-shadow: none;
        }

        .accordion-button::after {
            background-image: none;
            content: "+";
            font-size: 26px;
            font-weight: 300;
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--accent);
            transition: transform 0.3s ease;
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            line-height: 1;
            font-family: var(--font-stack);
        }

        .accordion-button:not(.collapsed)::after {
            transform: translateY(-50%) rotate(45deg);
            color: var(--primary-3);
        }

        .accordion-button:focus {
            box-shadow: none;
        }

        .accordion-button:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: -2px;
            border-radius: var(--radius-md);
        }

        .accordion-body {
            padding: 0 24px 20px;
            color: var(--text-2);
            font-size: 14px;
            line-height: 1.8;
            background: var(--surface-2);
            border-top: 1px solid rgba(42, 50, 61, 0.4);
        }

        .bottom-cta {
            padding: 80px 0;
            position: relative;
            overflow: hidden;
        }

        .bottom-cta-inner {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 64px 40px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .bottom-cta-inner::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 50% 0%, rgba(108, 77, 246, 0.2), transparent 60%);
            pointer-events: none;
        }

        .bottom-cta-inner h2 {
            font-size: 32px;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 12px;
            position: relative;
            z-index: 1;
        }

        .bottom-cta-inner p {
            color: var(--text-2);
            font-size: 16px;
            margin-bottom: 32px;
            position: relative;
            z-index: 1;
        }

        .cta-actions {
            display: flex;
            justify-content: center;
            gap: 16px;
            flex-wrap: wrap;
            position: relative;
            z-index: 1;
        }

        .site-footer {
            background: var(--bg);
            border-top: 1px solid var(--border);
            padding: 64px 0 24px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1.2fr;
            gap: 40px;
            margin-bottom: 48px;
        }

        .footer-logo {
            font-size: 20px;
            font-weight: 700;
            color: var(--text);
            display: flex;
            align-items: center;
            margin-bottom: 12px;
            white-space: nowrap;
        }

        .footer-desc {
            color: var(--text-3);
            font-size: 14px;
            line-height: 1.7;
            max-width: 300px;
        }

        .footer-col-title {
            font-size: 15px;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 16px;
        }

        .footer-col ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-col ul li {
            margin-bottom: 10px;
        }

        .footer-col ul li a {
            color: var(--text-2);
            font-size: 14px;
        }

        .footer-col ul li a:hover {
            color: var(--accent);
        }

        .footer-copyright {
            border-top: 1px solid rgba(42, 50, 61, 0.5);
            padding-top: 24px;
            text-align: center;
            color: var(--text-3);
            font-size: 13px;
        }

        .footer-copyright p {
            margin: 0;
        }

        .back-to-top {
            position: fixed;
            bottom: 32px;
            right: 32px;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: var(--surface-2);
            border: 1px solid var(--border);
            color: var(--text-2);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            z-index: 999;
            transition: all var(--transition);
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
        }

        .back-to-top.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .back-to-top:hover {
            border-color: var(--accent);
            color: var(--accent);
            background: var(--surface);
        }

        .back-to-top:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        @media (max-width: 1199.98px) {
            .game-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 20px;
            }

            .navbar-nav .nav-link {
                padding: 10px 12px !important;
            }

            .main-nav-search {
                margin-left: 12px;
            }

            .search-wrap {
                width: 160px;
            }

            .search-wrap:focus-within {
                width: 220px;
            }
        }

        @media (max-width: 991.98px) {
            .navbar-collapse {
                background: rgba(11, 13, 18, 0.98);
                padding: 16px;
                border-radius: 0 0 var(--radius-lg) var(--radius-lg);
                border: 1px solid var(--border);
                margin-top: 8px;
            }

            .navbar-nav {
                margin: 0 0 12px 0;
                gap: 0;
            }

            .navbar-nav .nav-link {
                padding: 14px 12px !important;
                border-bottom: 1px solid rgba(42, 50, 61, 0.4);
            }

            .navbar-nav .nav-link::after {
                display: none;
            }

            .navbar-nav .nav-link.active {
                color: var(--primary-3) !important;
                background: rgba(108, 77, 246, 0.1);
                border-radius: var(--radius-sm);
            }

            .main-nav-search {
                margin-left: 0;
                width: 100%;
            }

            .navbar-search {
                width: 100%;
                flex-direction: column;
                gap: 12px;
            }

            .search-wrap {
                width: 100% !important;
            }

            .hot-words {
                align-self: flex-start;
            }

            .game-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .category-hero-content h1 {
                font-size: 40px;
            }

            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 32px;
            }

            .mid-cta-inner {
                padding: 28px 24px;
            }
        }

        @media (max-width: 767.98px) {
            .container-custom {
                padding-left: 16px;
                padding-right: 16px;
            }

            .section-pad {
                padding: 48px 0;
            }

            .section-title {
                font-size: 24px;
            }

            .topbar {
                overflow: hidden;
            }

            .topbar-left .topbar-chip:last-child {
                display: none;
            }

            .category-hero {
                min-height: 70vh;
                padding: 64px 0;
            }

            .category-hero-content h1 {
                font-size: 32px;
            }

            .category-hero-desc {
                font-size: 15px;
            }

            .hero-badges {
                gap: 6px;
            }

            .data-badge {
                font-size: 12px;
                padding: 4px 12px;
            }

            .hero-actions .btn {
                width: 100%;
            }

            .game-grid {
                grid-template-columns: 1fr;
            }

            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 16px;
            }

            .stat-number {
                font-size: 22px;
            }

            .filter-head {
                flex-direction: column;
                align-items: flex-start;
            }

            .chip-tags {
                overflow-x: auto;
                flex-wrap: nowrap;
                padding-bottom: 8px;
                width: 100%;
                scrollbar-width: none;
            }

            .chip-tags::-webkit-scrollbar {
                display: none;
            }

            .chip {
                flex-shrink: 0;
                padding: 6px 16px;
                font-size: 13px;
            }

            .mid-cta-inner {
                flex-direction: column;
                align-items: flex-start;
                padding: 24px 20px;
            }

            .mid-cta-inner .btn {
                width: 100%;
            }

            .bottom-cta-inner {
                padding: 40px 20px;
            }

            .bottom-cta-inner h2 {
                font-size: 24px;
            }

            .cta-actions .btn {
                width: 100%;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 28px;
            }

            .footer-brand {
                padding-bottom: 12px;
                border-bottom: 1px solid rgba(42, 50, 61, 0.5);
            }

            .footer-col-title {
                margin-bottom: 10px;
            }

            .back-to-top {
                right: 16px;
                bottom: 16px;
                width: 40px;
                height: 40px;
            }
        }

/* roulang page: article */
:root {
            --primary: #6C4DF6;
            --primary-2: #8B5CF6;
            --primary-3: #A78BFA;
            --accent: #FF8A4C;
            --accent-2: #F97316;
            --accent-hover: #FFA270;
            --bg-main: #0B0D12;
            --bg-surface: #151A21;
            --bg-surface-2: #1C222B;
            --border-color: #2A323D;
            --text-main: #F2F4F8;
            --text-body: #B3BAC5;
            --text-weak: #6E7785;
            --success: #22C55E;
            --warning: #F59E0B;
            --danger: #EF4444;
            --radius-lg: 16px;
            --radius-md: 12px;
            --radius-sm: 8px;
            --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
            --shadow-hover: 0 8px 32px rgba(108, 77, 246, 0.25);
            --shadow-accent: 0 4px 14px rgba(255, 138, 76, 0.3);
            --container-max: 1280px;
            --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
        }
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            background: var(--bg-main);
            color: var(--text-body);
            font-family: var(--font-sans);
            font-size: 16px;
            line-height: 1.8;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
        }
        a {
            color: inherit;
            text-decoration: none;
            transition: color .2s, border-color .2s, background .2s;
        }
        a:hover {
            color: var(--primary-3);
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        button,
        input,
        select,
        textarea {
            font-family: inherit;
        }
        .container-custom {
            max-width: var(--container-max);
            margin: 0 auto;
            padding-left: 20px;
            padding-right: 20px;
            width: 100%;
        }
        @media (max-width: 767px) {
            .container-custom {
                padding-left: 16px;
                padding-right: 16px;
            }
        }
        .btn-primary-custom {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 12px 32px;
            border-radius: var(--radius-md);
            background: linear-gradient(135deg, #FF8A4C, #F97316);
            color: #fff;
            font-weight: 600;
            font-size: 15px;
            border: none;
            transition: all .25s ease;
            box-shadow: var(--shadow-accent);
            cursor: pointer;
            line-height: 1.5;
        }
        .btn-primary-custom:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(255, 138, 76, 0.4);
            color: #fff;
        }
        .btn-primary-custom:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }
        .btn-secondary-custom {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 12px 32px;
            border-radius: var(--radius-md);
            background: transparent;
            border: 1px solid var(--border-color);
            color: var(--text-main);
            font-weight: 500;
            font-size: 15px;
            transition: all .25s ease;
            cursor: pointer;
        }
        .btn-secondary-custom:hover {
            border-color: var(--primary-2);
            color: var(--primary-3);
        }
        .btn-secondary-custom:focus-visible {
            outline: 2px solid var(--primary-2);
            outline-offset: 2px;
        }

        /* ===== Topbar ===== */
        .topbar {
            height: 40px;
            background: rgba(11, 13, 18, 0.7);
            border-bottom: 1px solid rgba(42, 50, 61, 0.5);
            display: flex;
            align-items: center;
            font-size: 13px;
            position: relative;
            z-index: 1001;
        }
        .topbar-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
        }
        .topbar-left {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .topbar-right {
            display: flex;
            align-items: center;
            gap: 16px;
        }
        .topbar-status {
            display: flex;
            align-items: center;
            gap: 6px;
            color: var(--text-weak);
            font-size: 13px;
        }
        .status-dot {
            font-size: 8px;
            color: var(--success);
        }
        .topbar-divider {
            width: 1px;
            height: 14px;
            background: var(--border-color);
        }
        .topbar-link {
            color: var(--text-weak);
            font-size: 13px;
            transition: color .2s;
        }
        .topbar-link:hover {
            color: var(--accent);
        }
        @media (max-width: 767px) {
            .topbar-left .topbar-link,
            .topbar-divider {
                display: none;
            }
            .topbar {
                font-size: 12px;
            }
        }

        /* ===== Main Nav ===== */
        .main-nav {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(11, 13, 18, 0.92);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(42, 50, 61, 0.6);
            transition: height .3s ease, box-shadow .3s ease, background .3s ease;
            height: 80px;
            display: flex;
            align-items: center;
        }
        .main-nav.scrolled {
            height: 64px;
            background: rgba(11, 13, 18, 0.97);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
        }
        .main-nav .navbar {
            width: 100%;
            padding-top: 0;
            padding-bottom: 0;
        }
        .navbar-brand {
            display: flex;
            align-items: center;
            font-size: 22px;
            font-weight: 700;
            color: var(--text-main) !important;
            letter-spacing: 0.5px;
            transition: transform .2s ease;
            padding: 0;
            margin-right: 0;
        }
        .navbar-brand:hover {
            transform: translateY(-1px);
        }
        .brand-glow {
            background: linear-gradient(135deg, #F2F4F8 0%, var(--primary-3) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-size: 22px;
            font-weight: 700;
            letter-spacing: 1px;
            white-space: nowrap;
        }
        .navbar-nav .nav-item {
            margin: 0 4px;
        }
        .navbar-nav .nav-link {
            color: var(--text-body) !important;
            font-size: 15px;
            font-weight: 500;
            padding: 10px 14px !important;
            border-radius: var(--radius-sm);
            position: relative;
            transition: color .2s ease;
        }
        .navbar-nav .nav-link:hover {
            color: var(--text-main) !important;
        }
        .navbar-nav .nav-link::after {
            content: '';
            position: absolute;
            bottom: 4px;
            left: 50%;
            transform: translateX(-50%) scaleX(0);
            width: 24px;
            height: 2px;
            border-radius: 2px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            transition: transform .25s ease;
            transform-origin: center;
        }
        .navbar-nav .nav-link.active {
            color: var(--text-main) !important;
        }
        .navbar-nav .nav-link.active::after {
            transform: translateX(-50%) scaleX(1);
        }
        .navbar-toggler {
            border: 1px solid var(--border-color);
            color: var(--text-main);
            padding: 6px 10px;
            border-radius: var(--radius-sm);
            background: transparent;
        }
        .navbar-toggler:hover {
            border-color: var(--primary-2);
        }
        .navbar-toggler:focus {
            box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.3);
        }
        .main-nav-search {
            display: flex;
            align-items: center;
            margin-left: 16px;
        }
        .navbar-search {
            display: flex;
            align-items: center;
            gap: 16px;
        }
        .search-wrap {
            position: relative;
            width: 200px;
            transition: width .3s ease;
        }
        .search-wrap:focus-within {
            width: 280px;
        }
        .search-wrap .form-control {
            background: var(--bg-surface-2);
            border: 1px solid var(--border-color);
            color: var(--text-main);
            border-radius: 10px;
            padding: 8px 38px 8px 14px;
            font-size: 14px;
            height: 38px;
            transition: border-color .2s, box-shadow .2s, background .2s;
            box-shadow: none;
        }
        .search-wrap .form-control::placeholder {
            color: var(--text-weak);
        }
        .search-wrap .form-control:focus {
            border-color: var(--primary-2);
            box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
            outline: none;
            background: #222a35;
        }
        .search-icon {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-weak);
            pointer-events: none;
            font-size: 14px;
        }
        .hot-words {
            font-size: 12px;
            color: var(--text-weak);
            white-space: nowrap;
            line-height: 1;
        }
        .hot-words a {
            color: var(--text-weak);
            margin: 0 2px;
            transition: color .2s;
            font-size: 12px;
        }
        .hot-words a:hover {
            color: var(--accent);
        }
        @media (max-width: 1199px) {
            .search-wrap {
                width: 160px;
            }
            .search-wrap:focus-within {
                width: 200px;
            }
        }
        @media (max-width: 991px) {
            .main-nav {
                height: auto;
                min-height: 64px;
                padding: 12px 0;
            }
            .main-nav.scrolled {
                height: auto;
            }
            .navbar-collapse {
                padding: 16px 0 8px;
            }
            .main-nav-search {
                margin-left: 0;
                margin-top: 12px;
                width: 100%;
            }
            .navbar-search {
                flex-direction: column;
                align-items: stretch;
                width: 100%;
            }
            .search-wrap,
            .search-wrap:focus-within {
                width: 100%;
            }
            .navbar-nav .nav-link {
                padding: 12px 14px !important;
            }
            .hot-words {
                margin-top: 8px;
            }
        }

        /* ===== Breadcrumb ===== */
        .breadcrumb-wrap {
            padding: 28px 0 8px;
            background: var(--bg-main);
        }
        .breadcrumb {
            margin-bottom: 0;
            font-size: 14px;
            --bs-breadcrumb-divider-color: var(--text-weak);
        }
        .breadcrumb-item a {
            color: var(--text-weak);
            transition: color .2s;
        }
        .breadcrumb-item a:hover {
            color: var(--primary-3);
        }
        .breadcrumb-item.active {
            color: var(--text-body);
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            max-width: 420px;
        }
        @media (max-width: 767px) {
            .breadcrumb-item.active {
                max-width: 220px;
            }
        }

        /* ===== Article Header ===== */
        .article-header {
            padding: 64px 0 48px;
            background:
                linear-gradient(180deg, rgba(139, 92, 246, 0.16) 0%, rgba(11, 13, 18, 0) 100%),
                url('/assets/images/backpic/back-2.png') center 20% / cover no-repeat;
            border-bottom: 1px solid rgba(42, 50, 61, 0.5);
        }
        .article-header-inner {
            max-width: 880px;
            margin: 0 auto;
            text-align: center;
        }
        .article-category-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 20px;
            background: rgba(139, 92, 246, 0.15);
            color: var(--primary-3);
            border-radius: 999px;
            font-size: 14px;
            font-weight: 600;
            border: 1px solid rgba(139, 92, 246, 0.3);
            margin-bottom: 20px;
            backdrop-filter: blur(4px);
        }
        .article-title {
            font-size: 42px;
            font-weight: 700;
            color: var(--text-main);
            line-height: 1.35;
            margin-bottom: 24px;
            letter-spacing: 1px;
        }
        .article-meta {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 24px;
            font-size: 14px;
            color: var(--text-weak);
        }
        .meta-item {
            display: flex;
            align-items: center;
            gap: 6px;
            background: rgba(11, 13, 18, 0.5);
            border: 1px solid rgba(42, 50, 61, 0.6);
            padding: 4px 12px;
            border-radius: 999px;
            backdrop-filter: blur(4px);
        }
        .meta-item i {
            font-size: 14px;
            color: var(--primary-3);
        }
        .article-share {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 12px;
            margin-top: 28px;
        }
        .share-label {
            font-size: 14px;
            color: var(--text-weak);
            margin-right: 4px;
        }
        .article-share a {
            width: 38px;
            height: 38px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: rgba(21, 26, 33, 0.8);
            border: 1px solid var(--border-color);
            color: var(--text-body);
            font-size: 16px;
            transition: all .25s ease;
        }
        .article-share a:hover {
            background: var(--primary);
            border-color: var(--primary);
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(108, 77, 246, 0.3);
        }
        .article-share a:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }
        @media (max-width: 767px) {
            .article-header {
                padding: 40px 0 36px;
                background:
                    linear-gradient(180deg, rgba(139, 92, 246, 0.16) 0%, rgba(11, 13, 18, 0) 100%),
                    url('/assets/images/backpic/back-2.png') center / cover no-repeat;
            }
            .article-title {
                font-size: 28px;
            }
            .article-meta {
                gap: 12px;
            }
        }

        /* ===== Article Content ===== */
        .article-content-wrap {
            padding: 32px 0 64px;
        }
        .article-content-card {
            max-width: 860px;
            margin: 0 auto;
            background: var(--bg-surface);
            border-radius: 20px;
            border: 1px solid var(--border-color);
            padding: 48px 56px;
            box-shadow: var(--shadow-card);
        }
        .article-content {
            font-size: 16px;
            line-height: 1.9;
            color: var(--text-body);
            max-width: 780px;
            margin: 0 auto;
        }
        .article-content p {
            margin-bottom: 24px;
            font-size: 16px;
            line-height: 1.9;
            color: var(--text-body);
        }
        .article-content h1,
        .article-content h2,
        .article-content h3,
        .article-content h4 {
            font-weight: 700;
            color: var(--text-main);
            margin: 36px 0 16px;
            line-height: 1.4;
        }
        .article-content h2 {
            font-size: 26px;
            padding-left: 16px;
            border-left: 4px solid var(--primary);
        }
        .article-content h3 {
            font-size: 22px;
        }
        .article-content h4 {
            font-size: 18px;
        }
        .article-content ul,
        .article-content ol {
            margin: 0 0 24px;
            padding-left: 28px;
        }
        .article-content li {
            margin-bottom: 8px;
            color: var(--text-body);
            line-height: 1.8;
        }
        .article-content li::marker {
            color: var(--primary-3);
        }
        .article-content blockquote {
            border-left: 4px solid var(--accent);
            background: rgba(255, 138, 76, 0.08);
            padding: 20px 24px;
            margin: 32px 0;
            border-radius: 0 12px 12px 0;
            color: var(--text-body);
            font-size: 16px;
        }
        .article-content blockquote p {
            margin-bottom: 0;
        }
        .article-content a {
            color: var(--primary-3);
            text-decoration: underline;
            text-underline-offset: 3px;
            text-decoration-color: rgba(139, 92, 246, 0.4);
        }
        .article-content a:hover {
            color: var(--accent);
            text-decoration-color: var(--accent);
        }
        .article-content img {
            border-radius: var(--radius-md);
            margin: 32px 0;
            width: 100%;
            height: auto;
            box-shadow: var(--shadow-card);
        }
        .article-content pre {
            background: #0D1117;
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            padding: 20px;
            overflow-x: auto;
            font-size: 14px;
            line-height: 1.7;
            margin: 24px 0;
            color: #e6edf3;
        }
        .article-content code {
            background: rgba(108, 77, 246, 0.15);
            color: var(--primary-3);
            padding: 2px 8px;
            border-radius: 4px;
            font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
            font-size: 14px;
        }
        .article-content pre code {
            background: transparent;
            color: #e6edf3;
            padding: 0;
            font-size: 14px;
        }
        .article-content table {
            width: 100%;
            border-collapse: collapse;
            margin: 24px 0;
            font-size: 14px;
            background: var(--bg-surface-2);
            border-radius: var(--radius-md);
            overflow: hidden;
            border: 1px solid var(--border-color);
        }
        .article-content table th {
            background: rgba(139, 92, 246, 0.2);
            color: var(--text-main);
            font-weight: 600;
            padding: 12px 16px;
            text-align: left;
            border-bottom: 1px solid var(--border-color);
        }
        .article-content table td {
            padding: 10px 16px;
            border-bottom: 1px solid rgba(42, 50, 61, 0.7);
            color: var(--text-body);
        }
        .article-content table tr:last-child td {
            border-bottom: none;
        }
        .article-content hr {
            border: none;
            border-top: 1px solid var(--border-color);
            margin: 32px 0;
        }
        .article-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 40px;
            padding-top: 24px;
            border-top: 1px solid var(--border-color);
            justify-content: center;
        }
        .tag-item {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 18px;
            border-radius: 999px;
            background: var(--bg-surface-2);
            color: var(--text-body);
            font-size: 13px;
            border: 1px solid var(--border-color);
            transition: all .2s ease;
            cursor: default;
        }
        .tag-item:hover {
            color: var(--primary-3);
            border-color: var(--primary-2);
            box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.08);
        }
        @media (max-width: 767px) {
            .article-content-card {
                padding: 28px 20px;
                border-radius: 16px;
            }
            .article-content {
                font-size: 15px;
            }
            .article-content p {
                font-size: 15px;
            }
            .article-content h2 {
                font-size: 22px;
            }
            .article-tags {
                justify-content: flex-start;
            }
        }

        /* ===== Related ===== */
        .related-section {
            padding: 48px 0 64px;
            background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.04) 100%);
        }
        .section-heading {
            margin-bottom: 32px;
        }
        .section-heading h2 {
            font-size: 28px;
            font-weight: 700;
            color: var(--text-main);
            display: flex;
            align-items: center;
            margin: 0;
        }
        .related-card {
            background: var(--bg-surface);
            border-radius: var(--radius-lg);
            overflow: hidden;
            border: 1px solid var(--border-color);
            transition: all .3s ease;
            height: 100%;
        }
        .related-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
            border-color: rgba(139, 92, 246, 0.5);
        }
        .related-cover {
            width: 100%;
            aspect-ratio: 16 / 9;
            overflow: hidden;
            background: linear-gradient(135deg, var(--bg-surface-2), var(--primary));
            position: relative;
        }
        .related-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform .4s ease;
        }
        .related-card:hover .related-cover img {
            transform: scale(1.05);
        }
        .related-info {
            padding: 20px 24px 24px;
        }
        .related-info h3 {
            font-size: 17px;
            font-weight: 600;
            color: var(--text-main);
            margin-bottom: 10px;
            line-height: 1.5;
            transition: color .2s;
        }
        .related-card:hover .related-info h3 {
            color: var(--primary-3);
        }
        .related-date {
            font-size: 13px;
            color: var(--text-weak);
            display: flex;
            align-items: center;
            gap: 6px;
        }
        @media (max-width: 767px) {
            .section-heading h2 {
                font-size: 24px;
            }
            .related-section {
                padding: 32px 0 48px;
            }
        }

        /* ===== Back ===== */
        .article-back {
            padding: 24px 0 72px;
        }
        .article-back .container-custom {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }
        .back-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 28px;
            border-radius: var(--radius-md);
            background: var(--bg-surface);
            border: 1px solid var(--border-color);
            color: var(--text-body);
            font-size: 15px;
            transition: all .25s ease;
        }
        .back-link:hover {
            color: var(--primary-3);
            border-color: var(--primary-2);
            transform: translateX(-2px);
            box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
        }
        .back-link:focus-visible {
            outline: 2px solid var(--primary-2);
            outline-offset: 2px;
        }

        /* ===== Empty ===== */
        .article-empty-section {
            min-height: 60vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 80px 0;
        }
        .empty-box {
            text-align: center;
            background: var(--bg-surface);
            border-radius: 20px;
            border: 1px solid var(--border-color);
            padding: 64px 48px;
            max-width: 480px;
            margin: 0 auto;
            width: 100%;
            box-shadow: var(--shadow-card);
        }
        .empty-icon {
            width: 88px;
            height: 88px;
            border-radius: 50%;
            background: rgba(108, 77, 246, 0.12);
            color: var(--primary-3);
            font-size: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 24px;
        }
        .empty-box h2 {
            font-size: 24px;
            color: var(--text-main);
            margin-bottom: 12px;
            font-weight: 700;
        }
        .empty-box p {
            color: var(--text-weak);
            font-size: 15px;
            margin-bottom: 32px;
        }
        @media (max-width: 767px) {
            .empty-box {
                padding: 48px 24px;
            }
        }

        /* ===== Footer ===== */
        .site-footer {
            background: var(--bg-main);
            border-top: 1px solid var(--border-color);
            padding: 64px 0 24px;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 2.2fr 1fr 1fr 1fr;
            gap: 48px;
            margin-bottom: 48px;
        }
        .footer-logo {
            font-size: 20px;
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            letter-spacing: 0.5px;
        }
        .footer-desc {
            font-size: 14px;
            color: var(--text-weak);
            line-height: 1.8;
            max-width: 340px;
            margin-bottom: 0;
        }
        .footer-col-title {
            font-size: 15px;
            font-weight: 600;
            color: var(--text-main);
            margin-bottom: 16px;
        }
        .footer-col ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .footer-col ul li {
            margin-bottom: 10px;
        }
        .footer-col ul li a {
            color: var(--text-body);
            font-size: 14px;
            transition: color .2s;
        }
        .footer-col ul li a:hover {
            color: var(--primary-3);
        }
        .text-weak {
            color: var(--text-weak);
            font-size: 14px;
        }
        .footer-copyright {
            border-top: 1px solid var(--border-color);
            padding-top: 24px;
            text-align: center;
            color: var(--text-weak);
            font-size: 13px;
        }
        .footer-copyright p {
            margin: 0;
        }
        @media (max-width: 991px) {
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 36px;
            }
        }
        @media (max-width: 767px) {
            .site-footer {
                padding: 48px 0 24px;
            }
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 28px;
            }
            .footer-brand {
                grid-column: 1;
            }
            .footer-desc {
                max-width: 100%;
            }
        }

        /* ===== Focus visible global ===== */
        a:focus-visible,
        button:focus-visible,
        .form-control:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        /* ===== Scrollbar ===== */
        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }
        ::-webkit-scrollbar-track {
            background: var(--bg-main);
        }
        ::-webkit-scrollbar-thumb {
            background: var(--border-color);
            border-radius: 4px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: var(--primary-2);
        }

/* roulang page: category2 */
:root {
            --primary: #6C4DF6;
            --primary-2: #8B5CF6;
            --primary-3: #A78BFA;
            --accent: #FF8A4C;
            --accent-2: #F97316;
            --accent-hover: #FFA270;
            --bg: #0B0D12;
            --surface: #151A21;
            --surface-2: #1C222B;
            --border: #2A323D;
            --text: #F2F4F8;
            --text-gray: #B3BAC5;
            --text-weak: #6E7785;
            --success: #22C55E;
            --warning: #F59E0B;
            --danger: #EF4444;
            --radius-lg: 16px;
            --radius: 12px;
            --radius-pill: 999px;
            --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
            --shadow-hover: 0 8px 32px rgba(108, 77, 246, 0.25);
            --shadow-accent: 0 4px 14px rgba(255, 138, 76, 0.3);
            --transition: 0.3s ease;
            --container: 1280px;
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
            background-color: var(--bg);
            color: var(--text);
            font-size: 16px;
            line-height: 1.8;
            -webkit-font-smoothing: antialiased;
        }

        img {
            max-width: 100%;
            display: block;
        }

        a {
            color: var(--primary-3);
            text-decoration: none;
            transition: color var(--transition);
        }

        a:hover {
            color: var(--accent);
        }

        button,
        input {
            font-family: inherit;
        }

        .container-custom {
            max-width: var(--container);
            margin: 0 auto;
            padding-left: 20px;
            padding-right: 20px;
        }

        .section {
            padding: 96px 0;
            position: relative;
        }

        .section-head {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            margin-bottom: 48px;
            gap: 24px;
            flex-wrap: wrap;
        }

        .section-title {
            font-size: 32px;
            font-weight: 700;
            line-height: 1.3;
            color: var(--text);
            margin: 0;
            position: relative;
        }

        .section-title::before {
            content: '';
            display: inline-block;
            width: 6px;
            height: 28px;
            border-radius: var(--radius-pill);
            background: linear-gradient(135deg, var(--primary), var(--primary-2));
            margin-right: 14px;
            vertical-align: -4px;
        }

        .section-sub {
            font-size: 14px;
            color: var(--text-weak);
            margin-top: 8px;
            letter-spacing: 0.5px;
        }

        .section-link {
            font-size: 14px;
            color: var(--text-gray);
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 16px;
            border: 1px solid var(--border);
            border-radius: var(--radius-pill);
            transition: all var(--transition);
            white-space: nowrap;
        }

        .section-link:hover {
            color: var(--primary-3);
            border-color: var(--primary-2);
            box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.4);
        }

        /* ===== 导航 ===== */
        .main-nav {
            position: sticky;
            top: 0;
            z-index: 1050;
            background: rgba(11, 13, 18, 0.85);
            backdrop-filter: saturate(180%) blur(20px);
            -webkit-backdrop-filter: saturate(180%) blur(20px);
            border-bottom: 1px solid var(--border);
            transition: all var(--transition);
        }

        .main-nav .navbar {
            min-height: 80px;
            transition: min-height var(--transition);
        }

        .main-nav.scrolled .navbar {
            min-height: 64px;
        }

        .main-nav.scrolled .navbar-brand {
            font-size: 18px;
        }

        .navbar-brand {
            font-size: 20px;
            font-weight: 700;
            color: var(--text) !important;
            display: flex;
            align-items: center;
            letter-spacing: 0.3px;
            transition: font-size var(--transition);
        }

        .brand-glow {
            background: linear-gradient(90deg, var(--text) 0%, var(--primary-3) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .navbar-toggler {
            border: 1px solid var(--border);
            color: var(--text);
            padding: 6px 10px;
            font-size: 20px;
            line-height: 1;
            border-radius: var(--radius);
            background: var(--surface);
        }

        .navbar-toggler:focus {
            box-shadow: none;
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        .nav-item {
            margin: 0 4px;
        }

        .nav-link {
            font-size: 15px;
            font-weight: 500;
            color: var(--text-gray) !important;
            padding: 10px 16px !important;
            border-radius: var(--radius);
            transition: all var(--transition);
            position: relative;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            left: 16px;
            right: 16px;
            bottom: 4px;
            height: 2px;
            border-radius: var(--radius-pill);
            background: linear-gradient(90deg, var(--primary), var(--primary-2));
            opacity: 0;
            transform: scaleX(0.4);
            transition: all var(--transition);
        }

        .nav-link:hover {
            color: var(--text) !important;
        }

        .nav-link:hover::after,
        .nav-link.active::after {
            opacity: 1;
            transform: scaleX(1);
        }

        .nav-link.active {
            color: var(--text) !important;
            font-weight: 600;
        }

        .main-nav-search {
            margin-left: 24px;
            display: flex;
            align-items: center;
        }

        .navbar-search {
            display: flex;
            align-items: center;
            gap: 14px;
        }

        .search-wrap {
            position: relative;
            width: 200px;
            transition: width var(--transition);
        }

        .search-wrap:focus-within {
            width: 280px;
        }

        .search-wrap .form-control {
            background: var(--surface-2);
            border: 1px solid var(--border);
            border-radius: var(--radius-pill);
            color: var(--text);
            font-size: 14px;
            padding: 8px 38px 8px 16px;
            height: 40px;
            transition: all var(--transition);
        }

        .search-wrap .form-control:focus {
            background: var(--surface-2);
            border-color: var(--primary-2);
            box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
            color: var(--text);
        }

        .search-wrap .search-icon {
            position: absolute;
            right: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-weak);
            font-size: 14px;
            pointer-events: none;
        }

        .hot-words {
            font-size: 13px;
            color: var(--text-weak);
            white-space: nowrap;
        }

        .hot-words a {
            color: var(--text-gray);
            margin: 0 2px;
        }

        .hot-words a:hover {
            color: var(--accent);
        }

        /* ===== Hero ===== */
        .cat-hero {
            min-height: 88vh;
            position: relative;
            display: flex;
            align-items: center;
            background-image: linear-gradient(100deg, rgba(11, 13, 18, 0.96) 0%, rgba(11, 13, 18, 0.7) 48%, rgba(11, 13, 18, 0.2) 100%), url('/assets/images/backpic/back-1.png');
            background-size: cover;
            background-position: center center;
            padding: 80px 0;
            overflow: hidden;
        }

        .cat-hero::after {
            content: '';
            position: absolute;
            right: -80px;
            top: 50%;
            transform: translateY(-50%);
            width: 480px;
            height: 480px;
            background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
            pointer-events: none;
        }

        .cat-hero .hero-content {
            max-width: 680px;
            position: relative;
            z-index: 2;
        }

        .hero-badges {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 28px;
        }

        .data-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: var(--radius-pill);
            padding: 6px 16px;
            font-size: 13px;
            color: var(--text-gray);
            font-variant-numeric: tabular-nums;
        }

        .data-badge i {
            color: var(--accent);
        }

        .data-badge strong {
            color: var(--text);
            font-weight: 700;
            font-size: 15px;
        }

        .hero-sub {
            font-size: 16px;
            color: var(--primary-3);
            font-weight: 500;
            letter-spacing: 1px;
            margin-bottom: 12px;
        }

        .hero-title {
            font-size: 48px;
            font-weight: 700;
            line-height: 1.25;
            color: var(--text);
            margin-bottom: 20px;
        }

        .hero-title span {
            background: linear-gradient(135deg, var(--accent), var(--accent-hover));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-desc {
            font-size: 16px;
            color: var(--text-gray);
            line-height: 1.8;
            margin-bottom: 32px;
            max-width: 560px;
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
        }

        .btn-main {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            background: linear-gradient(135deg, var(--accent), var(--accent-2));
            color: #fff;
            border: none;
            border-radius: var(--radius);
            padding: 14px 32px;
            font-size: 16px;
            font-weight: 600;
            box-shadow: var(--shadow-accent);
            transition: all var(--transition);
            cursor: pointer;
            text-decoration: none;
        }

        .btn-main:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(255, 138, 76, 0.4);
            color: #fff;
        }

        .btn-main:active {
            filter: brightness(0.95);
            transform: translateY(0);
        }

        .btn-main:focus-visible,
        .btn-ghost:focus-visible,
        .btn-light-main:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        .btn-ghost {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            background: transparent;
            border: 1px solid var(--border);
            color: var(--text);
            border-radius: var(--radius);
            padding: 14px 32px;
            font-size: 16px;
            font-weight: 500;
            transition: all var(--transition);
            cursor: pointer;
            text-decoration: none;
        }

        .btn-ghost:hover {
            border-color: var(--primary-2);
            color: var(--primary-3);
            background: rgba(139, 92, 246, 0.08);
        }

        .hero-scroll-tip {
            position: absolute;
            bottom: 28px;
            left: 50%;
            transform: translateX(-50%);
            color: var(--text-weak);
            font-size: 22px;
            animation: floatY 2s ease-in-out infinite;
            z-index: 2;
        }

        @keyframes floatY {
            0%,
            100% {
                transform: translate(-50%, 0);
            }
            50% {
                transform: translate(-50%, 8px);
            }
        }

        /* ===== 卖点区 ===== */
        .point-section {
            background: var(--bg);
        }

        .point-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
        }

        .point-card {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 32px 24px;
            transition: all var(--transition);
            position: relative;
            overflow: hidden;
        }

        .point-card::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, var(--primary), var(--primary-2));
            opacity: 0;
            transition: opacity var(--transition);
        }

        .point-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
            border-color: rgba(139, 92, 246, 0.4);
        }

        .point-card:hover::before {
            opacity: 1;
        }

        .point-icon {
            width: 56px;
            height: 56px;
            border-radius: var(--radius);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            background: linear-gradient(135deg, rgba(108, 77, 246, 0.2), rgba(139, 92, 246, 0.1));
            color: var(--primary-3);
            margin-bottom: 20px;
        }

        .point-card h3 {
            font-size: 20px;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 10px;
        }

        .point-card p {
            font-size: 14px;
            color: var(--text-gray);
            line-height: 1.7;
            margin: 0;
        }

        /* ===== 场景区 ===== */
        .scene-section {
            background: linear-gradient(180deg, var(--bg) 0%, rgba(21, 26, 33, 0.5) 100%);
        }

        .scene-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }

        .scene-card {
            background: var(--surface);
            border-radius: var(--radius-lg);
            overflow: hidden;
            border: 1px solid var(--border);
            transition: all var(--transition);
        }

        .scene-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
            border-color: rgba(139, 92, 246, 0.5);
        }

        .scene-cover {
            height: 180px;
            overflow: hidden;
            position: relative;
        }

        .scene-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .scene-card:hover .scene-cover img {
            transform: scale(1.06);
        }

        .scene-cover::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, transparent 40%, rgba(21, 26, 33, 0.9) 100%);
        }

        .scene-body {
            padding: 24px;
        }

        .scene-body h3 {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 10px;
            color: var(--text);
        }

        .scene-body p {
            font-size: 14px;
            color: var(--text-gray);
            line-height: 1.7;
            margin: 0;
        }

        /* ===== 流程步骤 ===== */
        .steps-section {
            background: var(--bg);
        }

        .steps-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
            position: relative;
        }

        .steps-grid::before {
            content: '';
            position: absolute;
            top: 44px;
            left: 60px;
            right: 60px;
            height: 2px;
            background: linear-gradient(90deg, rgba(108, 77, 246, 0.1) 0%, var(--primary-2) 50%, rgba(108, 77, 246, 0.1) 100%);
            z-index: 0;
        }

        .step-item {
            text-align: center;
            position: relative;
            z-index: 1;
            padding: 0 12px;
        }

        .step-num {
            width: 88px;
            height: 88px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            background: var(--surface);
            border: 2px solid var(--primary-2);
            font-size: 30px;
            font-weight: 700;
            color: var(--primary-3);
            font-variant-numeric: tabular-nums;
            box-shadow: 0 0 0 6px rgba(108, 77, 246, 0.12);
        }

        .step-item h3 {
            font-size: 18px;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 8px;
        }

        .step-item p {
            font-size: 14px;
            color: var(--text-gray);
            line-height: 1.6;
            margin: 0;
        }

        /* ===== 功能卡片网格 ===== */
        .feature-section {
            background: linear-gradient(180deg, var(--bg) 0%, rgba(21, 26, 33, 0.4) 100%);
        }

        .feature-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }

        .feature-card {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            overflow: hidden;
            transition: all var(--transition);
            display: flex;
            flex-direction: column;
        }

        .feature-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-hover);
            border-color: rgba(139, 92, 246, 0.5);
        }

        .feature-cover {
            height: 200px;
            position: relative;
            overflow: hidden;
        }

        .feature-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .feature-card:hover .feature-cover img {
            transform: scale(1.05);
        }

        .feature-cover::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, transparent 50%, rgba(11, 13, 18, 0.85) 100%);
        }

        .feature-tag {
            position: absolute;
            top: 14px;
            left: 14px;
            z-index: 2;
            background: rgba(108, 77, 246, 0.9);
            color: #fff;
            font-size: 12px;
            font-weight: 500;
            padding: 4px 14px;
            border-radius: var(--radius-pill);
            letter-spacing: 0.5px;
        }

        .feature-data {
            position: absolute;
            right: 14px;
            bottom: 14px;
            z-index: 2;
            background: rgba(255, 138, 76, 0.95);
            color: #fff;
            font-size: 12px;
            font-weight: 600;
            padding: 4px 12px;
            border-radius: var(--radius-pill);
            font-variant-numeric: tabular-nums;
        }

        .feature-body {
            padding: 24px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .feature-body h3 {
            font-size: 20px;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 10px;
        }

        .feature-body p {
            font-size: 14px;
            color: var(--text-gray);
            line-height: 1.7;
            margin-bottom: 20px;
            flex-grow: 1;
        }

        .feature-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-top: 1px solid var(--border);
            padding-top: 14px;
            margin-top: auto;
        }

        .feature-meta span {
            font-size: 13px;
            color: var(--text-weak);
        }

        .feature-meta a {
            font-size: 14px;
            color: var(--primary-3);
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-weight: 500;
            transition: all var(--transition);
        }

        .feature-meta a:hover {
            color: var(--accent);
            gap: 8px;
        }

        /* ===== 窄横幅 CTA ===== */
        .inline-cta {
            background-image: linear-gradient(120deg, rgba(108, 77, 246, 0.85) 0%, rgba(139, 92, 246, 0.7) 100%), url('/assets/images/backpic/back-3.webp');
            background-size: cover;
            background-position: center;
            padding: 64px 0;
            position: relative;
            overflow: hidden;
        }

        .inline-cta .cta-box {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 32px;
            flex-wrap: wrap;
        }

        .inline-cta .cta-text {
            flex: 1;
            min-width: 280px;
        }

        .inline-cta .cta-text h2 {
            font-size: 28px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 10px;
        }

        .inline-cta .cta-text p {
            font-size: 15px;
            color: rgba(255, 255, 255, 0.85);
            margin: 0;
        }

        .btn-light-main {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #fff;
            color: var(--primary) !important;
            border: none;
            border-radius: var(--radius);
            padding: 14px 36px;
            font-size: 16px;
            font-weight: 600;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
            transition: all var(--transition);
            cursor: pointer;
            white-space: nowrap;
        }

        .btn-light-main:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
            color: var(--accent-2) !important;
        }

        /* ===== FAQ ===== */
        .faq-section {
            background: var(--bg);
        }

        .faq-wrap {
            max-width: 860px;
            margin: 0 auto;
        }

        .accordion-item {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg) !important;
            margin-bottom: 16px;
            overflow: hidden;
        }

        .accordion-item:last-child {
            margin-bottom: 0;
        }

        .accordion-button {
            background: var(--surface);
            color: var(--text);
            font-size: 16px;
            font-weight: 600;
            padding: 20px 24px;
            border: none;
            box-shadow: none !important;
            transition: all var(--transition);
        }

        .accordion-button::after {
            filter: invert(1) hue-rotate(180deg) brightness(0.8);
            background-size: 1.1rem;
        }

        .accordion-button:not(.collapsed) {
            background: var(--surface-2);
            color: var(--primary-3);
        }

        .accordion-button:not(.collapsed)::after {
            transform: rotate(45deg);
        }

        .accordion-body {
            padding: 0 24px 20px;
            font-size: 14px;
            color: var(--text-gray);
            line-height: 1.8;
            border-top: 1px solid var(--border);
            background: var(--surface-2);
        }

        .accordion-button:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: -2px;
            z-index: 1;
        }

        .accordion-item:has(.accordion-button:not(.collapsed)) {
            border-color: var(--primary-2);
        }

        /* ===== 底部 CTA ===== */
        .bottom-cta {
            background-image: linear-gradient(90deg, rgba(11, 13, 18, 0.95) 0%, rgba(11, 13, 18, 0.75) 60%, rgba(11, 13, 18, 0.5) 100%), url('/assets/images/backpic/back-2.png');
            background-size: cover;
            background-position: center;
            padding: 120px 0;
            text-align: center;
            position: relative;
        }

        .bottom-cta .cta-inner {
            max-width: 720px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }

        .bottom-cta .cta-sub {
            font-size: 14px;
            color: var(--primary-3);
            font-weight: 500;
            letter-spacing: 1px;
            margin-bottom: 12px;
        }

        .bottom-cta h2 {
            font-size: 42px;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 18px;
            line-height: 1.3;
        }

        .bottom-cta p {
            font-size: 16px;
            color: var(--text-gray);
            margin-bottom: 36px;
        }

        .bottom-cta .data-badge {
            font-size: 14px;
            padding: 8px 20px;
            margin: 0 4px 10px;
        }

        /* ===== 页脚 ===== */
        .site-footer {
            background: var(--bg);
            border-top: 1px solid var(--border);
            padding: 64px 0 0;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1.4fr;
            gap: 40px;
            padding-bottom: 48px;
        }

        .footer-logo {
            font-size: 22px;
            font-weight: 700;
            color: var(--text);
            display: flex;
            align-items: center;
            margin-bottom: 16px;
        }

        .footer-desc {
            font-size: 14px;
            color: var(--text-gray);
            line-height: 1.7;
            max-width: 300px;
            margin: 0;
        }

        .footer-col-title {
            font-size: 16px;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 18px;
        }

        .footer-col ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-col li {
            margin-bottom: 10px;
            font-size: 14px;
        }

        .footer-col a {
            color: var(--text-gray);
            transition: all var(--transition);
        }

        .footer-col a:hover {
            color: var(--accent);
            padding-left: 4px;
        }

        .text-weak {
            color: var(--text-weak);
        }

        .footer-copyright {
            border-top: 1px solid var(--border);
            padding: 20px 0;
            text-align: center;
        }

        .footer-copyright p {
            margin: 0;
            font-size: 13px;
            color: var(--text-weak);
        }

        /* ===== 响应式 ===== */
        @media (max-width: 1199.98px) {
            .main-nav-search {
                margin-left: 12px;
            }

            .search-wrap {
                width: 160px;
            }

            .search-wrap:focus-within {
                width: 220px;
            }

            .hot-words {
                display: none !important;
            }
        }

        @media (max-width: 991.98px) {
            .section {
                padding: 72px 0;
            }

            .navbar-collapse {
                padding: 16px 0;
                border-top: 1px solid var(--border);
                margin-top: 8px;
            }

            .nav-link {
                padding: 12px 8px !important;
            }

            .nav-link::after {
                left: 8px;
                right: 8px;
                bottom: 6px;
            }

            .main-nav-search {
                margin-left: 0;
                margin-top: 12px;
            }

            .navbar-search {
                flex-direction: column;
                align-items: stretch;
                gap: 8px;
            }

            .search-wrap {
                width: 100% !important;
            }

            .point-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .scene-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .steps-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 32px 16px;
            }

            .steps-grid::before {
                display: none;
            }

            .feature-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 32px;
            }
        }

        @media (max-width: 767.98px) {
            .container-custom {
                padding-left: 16px;
                padding-right: 16px;
            }

            .section {
                padding: 56px 0;
            }

            .cat-hero {
                min-height: 70vh;
                padding: 60px 0;
            }

            .hero-title {
                font-size: 32px;
            }

            .hero-sub {
                font-size: 14px;
            }

            .hero-desc {
                font-size: 15px;
            }

            .hero-badges {
                gap: 8px;
            }

            .data-badge {
                font-size: 12px;
                padding: 4px 12px;
            }

            .btn-main,
            .btn-ghost {
                padding: 12px 24px;
                font-size: 15px;
                width: 100%;
            }

            .hero-actions {
                flex-direction: column;
                gap: 12px;
            }

            .section-title {
                font-size: 24px;
            }

            .section-title::before {
                height: 22px;
                width: 5px;
            }

            .point-grid {
                grid-template-columns: 1fr;
            }

            .scene-grid {
                grid-template-columns: 1fr;
            }

            .steps-grid {
                grid-template-columns: 1fr;
                gap: 28px;
            }

            .step-item {
                max-width: 320px;
                margin: 0 auto;
            }

            .feature-grid {
                grid-template-columns: 1fr;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }

            .inline-cta {
                padding: 48px 0;
            }

            .inline-cta .cta-box {
                flex-direction: column;
                text-align: center;
            }

            .inline-cta .cta-text h2 {
                font-size: 24px;
            }

            .btn-light-main {
                width: 100%;
                justify-content: center;
            }

            .bottom-cta {
                padding: 80px 0;
            }

            .bottom-cta h2 {
                font-size: 28px;
            }

            .bottom-cta p {
                font-size: 15px;
            }
        }

        @media (max-width: 520px) {
            .hero-scroll-tip {
                display: none;
            }

            .hero-title {
                font-size: 28px;
            }

            .hero-badges {
                flex-direction: column;
                align-items: flex-start;
            }

            .points-grid {
                grid-template-columns: 1fr;
            }

            .feature-cover {
                height: 180px;
            }

            .accordion-button {
                font-size: 14px;
                padding: 16px 18px;
            }

            .accordion-body {
                padding: 0 18px 16px;
                font-size: 13px;
            }

            .footer-copyright p {
                font-size: 12px;
                word-break: break-all;
            }
        }

        /* ===== 焦点可见 ===== */
        a:focus-visible,
        .btn-main:focus-visible,
        .btn-ghost:focus-visible,
        .form-control:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        .form-control:focus-visible {
            outline: none;
        }

        /* ===== 滚动条 ===== */
        ::-webkit-scrollbar {
            width: 10px;
            height: 10px;
        }

        ::-webkit-scrollbar-track {
            background: var(--bg);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--surface-2);
            border-radius: var(--radius-pill);
            border: 2px solid var(--bg);
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--primary-2);
        }
