/* roulang page: index */
:root {
            --primary: #7C3AED;
            --primary-dark: #5B21B6;
            --secondary: #FF2D78;
            --accent: #00E5C3;
            --amber: #FFB800;
            --bg-dark: #0F0A1A;
            --bg-card: #1A1128;
            --bg-card-translucent: rgba(255, 255, 255, 0.04);
            --text-main: #F5F1FA;
            --text-body: #E4DDF0;
            --text-muted: #B9A8D6;
            --border-glow: rgba(124, 58, 237, 0.4);
            --gradient-main: linear-gradient(135deg, #7C3AED 0%, #FF2D78 100%);
            --gradient-accent: linear-gradient(135deg, #FF2D78 0%, #FFB800 100%);
            --gradient-soft: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(255, 45, 120, 0.25));
            --radius-lg: 24px;
            --radius-md: 16px;
            --radius-sm: 12px;
            --radius-pill: 999px;
            --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.35);
            --shadow-hover: 0 12px 32px rgba(124, 58, 237, 0.28);
            --font-sans: 'Noto Sans SC', 'Source Han Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
            --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --transition-smooth: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        body {
            font-family: var(--font-sans);
            background-color: var(--bg-dark);
            color: var(--text-body);
            line-height: 1.75;
            font-size: 15.5px;
            overflow-x: hidden;
            min-height: 100vh;
        }

        a {
            color: var(--text-main);
            text-decoration: none;
            transition: var(--transition-base);
        }

        a:hover {
            color: var(--accent);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        button,
        input,
        select,
        textarea {
            font-family: inherit;
        }

        .container-custom {
            width: 100%;
            max-width: 1240px;
            margin: 0 auto;
            padding-left: 24px;
            padding-right: 24px;
        }

        @media (max-width: 576px) {
            .container-custom {
                padding-left: 16px;
                padding-right: 16px;
            }
        }

        /* ===== Top Promo Bar ===== */
        .top-promo-bar {
            background: linear-gradient(90deg, #FF2D78 0%, #FFB800 100%);
            color: #fff;
            font-size: 13px;
            font-weight: 600;
            padding: 8px 0;
            min-height: 36px;
            display: flex;
            align-items: center;
            letter-spacing: 0.3px;
            position: relative;
            z-index: 1050;
        }
        .top-promo-bar .promo-text {
            white-space: nowrap;
            animation: promo-marquee 18s linear infinite;
            display: inline-block;
        }
        .top-promo-bar .promo-highlight {
            background: rgba(255, 255, 255, 0.22);
            border-radius: var(--radius-pill);
            padding: 2px 12px;
            margin: 0 6px;
            font-weight: 700;
            display: inline-block;
        }
        @keyframes promo-marquee {
            0% {
                transform: translateX(100%);
            }
            100% {
                transform: translateX(-100%);
            }
        }
        @media (max-width: 768px) {
            .top-promo-bar {
                font-size: 12px;
                min-height: 32px;
                padding: 5px 0;
            }
        }

        /* ===== Header / Nav ===== */
        .game-header {
            position: sticky;
            top: 0;
            z-index: 1030;
            background: rgba(15, 10, 26, 0.85);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            border-bottom: 1px solid var(--border-glow);
            min-height: 68px;
            display: flex;
            align-items: center;
        }
        .game-header .navbar {
            padding: 0;
            background: transparent;
            border: none;
            min-height: 68px;
        }
        .game-header .navbar-brand {
            font-weight: 900;
            font-size: 22px;
            letter-spacing: 0.5px;
            color: var(--text-main);
            display: flex;
            align-items: center;
            gap: 10px;
            transition: var(--transition-base);
        }
        .game-header .navbar-brand:hover {
            color: var(--accent);
            transform: translateY(-1px);
        }
        .game-header .brand-icon {
            width: 38px;
            height: 38px;
            border-radius: 10px;
            background: var(--gradient-main);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            color: #fff;
            box-shadow: 0 4px 14px rgba(124, 58, 237, 0.45);
            flex-shrink: 0;
        }
        .game-header .nav-link {
            font-size: 14.5px;
            font-weight: 600;
            color: var(--text-muted);
            padding: 10px 16px !important;
            border-radius: 10px;
            transition: var(--transition-base);
            letter-spacing: 0.3px;
        }
        .game-header .nav-link:hover,
        .game-header .nav-link:focus {
            color: var(--text-main);
            background: rgba(124, 58, 237, 0.15);
        }
        .game-header .nav-link.active {
            color: #fff;
            background: var(--gradient-main);
            box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
        }
        .game-header .search-box {
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: var(--radius-pill);
            padding: 8px 18px;
            color: var(--text-main);
            font-size: 14px;
            min-width: 200px;
            transition: var(--transition-base);
        }
        .game-header .search-box:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.3), 0 0 18px rgba(124, 58, 237, 0.25);
            outline: none;
            background: rgba(124, 58, 237, 0.08);
        }
        .game-header .search-box::placeholder {
            color: var(--text-muted);
            font-size: 13.5px;
        }
        .game-header .icon-btn {
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-muted);
            transition: var(--transition-base);
            font-size: 15px;
        }
        .game-header .icon-btn:hover {
            background: rgba(124, 58, 237, 0.2);
            color: #fff;
            border-color: var(--primary);
            box-shadow: 0 0 14px rgba(124, 58, 237, 0.35);
        }
        .game-header .btn-primary-glow {
            background: var(--gradient-main);
            border: none;
            color: #fff;
            font-weight: 700;
            font-size: 14px;
            padding: 10px 22px;
            border-radius: var(--radius-pill);
            transition: var(--transition-base);
            letter-spacing: 0.3px;
            box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
            white-space: nowrap;
        }
        .game-header .btn-primary-glow:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(255, 45, 120, 0.45);
            color: #fff;
            filter: brightness(1.1);
        }
        .game-header .navbar-toggler {
            border: 1px solid rgba(255, 255, 255, 0.2);
            background: rgba(255, 255, 255, 0.05);
            color: var(--text-main);
            border-radius: 10px;
            padding: 8px 12px;
            font-size: 18px;
        }
        .game-header .navbar-toggler:focus {
            box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.4);
            outline: none;
        }
        .mobile-drawer {
            background: rgba(15, 10, 26, 0.98);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-left: 1px solid var(--border-glow);
            padding: 20px;
        }
        .mobile-drawer .nav-link {
            color: var(--text-muted);
            font-weight: 600;
            font-size: 15px;
            padding: 12px 16px;
            border-radius: 12px;
            transition: var(--transition-base);
        }
        .mobile-drawer .nav-link:hover {
            color: #fff;
            background: rgba(124, 58, 237, 0.15);
        }
        .mobile-drawer .nav-link.active {
            color: #fff;
            background: var(--gradient-main);
        }
        @media (max-width: 991.98px) {
            .game-header .search-box {
                min-width: 140px;
                font-size: 13px;
            }
            .game-header .navbar-brand {
                font-size: 19px;
            }
        }
        @media (max-width: 575.98px) {
            .game-header {
                min-height: 56px;
            }
            .game-header .navbar {
                min-height: 56px;
            }
            .game-header .navbar-brand {
                font-size: 17px;
            }
            .game-header .brand-icon {
                width: 32px;
                height: 32px;
                font-size: 15px;
                border-radius: 8px;
            }
            .game-header .btn-primary-glow {
                padding: 8px 16px;
                font-size: 12.5px;
            }
        }

        /* ===== Hero Section ===== */
        .hero-section {
            position: relative;
            min-height: 680px;
            display: flex;
            align-items: center;
            background: url('/assets/images/fd306aca7dad27d2.webp') center/cover no-repeat;
            background-color: var(--bg-dark);
            overflow: hidden;
            padding: 80px 0 100px;
        }
        .hero-section::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(15, 10, 26, 0.65) 0%, rgba(15, 10, 26, 0.82) 40%, rgba(15, 10, 26, 0.95) 100%);
            z-index: 1;
        }
        .hero-section::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(105deg, rgba(124, 58, 237, 0.35) 0%, rgba(255, 45, 120, 0.18) 45%, rgba(0, 0, 0, 0.4) 100%);
            z-index: 1;
            pointer-events: none;
        }
        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 840px;
        }
        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--gradient-accent);
            color: #fff;
            font-weight: 700;
            font-size: 13px;
            padding: 8px 18px;
            border-radius: var(--radius-pill);
            letter-spacing: 1px;
            margin-bottom: 20px;
            box-shadow: 0 8px 24px rgba(255, 45, 120, 0.45);
            animation: pulse-badge 2s ease-in-out infinite;
        }
        @keyframes pulse-badge {
            0%,
            100% {
                box-shadow: 0 8px 24px rgba(255, 45, 120, 0.45);
            }
            50% {
                box-shadow: 0 8px 36px rgba(255, 45, 120, 0.7);
            }
        }
        .hero-title {
            font-size: 40px;
            font-weight: 900;
            line-height: 1.25;
            color: var(--text-main);
            letter-spacing: 0.5px;
            margin-bottom: 22px;
            text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
        }
        .hero-title .highlight {
            background: var(--gradient-main);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            color: transparent;
        }
        .hero-desc {
            font-size: 16.5px;
            color: var(--text-body);
            line-height: 1.9;
            max-width: 680px;
            margin-bottom: 32px;
            text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
        }
        .hero-actions {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
            margin-bottom: 36px;
        }
        .btn-hero-primary {
            background: var(--gradient-main);
            border: none;
            color: #fff;
            font-weight: 700;
            font-size: 16px;
            padding: 14px 34px;
            border-radius: var(--radius-pill);
            transition: var(--transition-smooth);
            letter-spacing: 0.4px;
            box-shadow: 0 8px 28px rgba(124, 58, 237, 0.5);
        }
        .btn-hero-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 14px 42px rgba(255, 45, 120, 0.55);
            color: #fff;
            filter: brightness(1.08);
        }
        .btn-hero-secondary {
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.25);
            color: var(--text-main);
            font-weight: 600;
            font-size: 16px;
            padding: 14px 30px;
            border-radius: var(--radius-pill);
            transition: var(--transition-smooth);
            letter-spacing: 0.4px;
            backdrop-filter: blur(6px);
        }
        .btn-hero-secondary:hover {
            background: rgba(255, 255, 255, 0.16);
            border-color: rgba(255, 255, 255, 0.45);
            color: #fff;
            transform: translateY(-3px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
        }
        .hero-stats-row {
            display: flex;
            gap: 32px;
            flex-wrap: wrap;
        }
        .hero-stat-item {
            display: flex;
            flex-direction: column;
        }
        .hero-stat-number {
            font-size: 28px;
            font-weight: 800;
            color: #fff;
            letter-spacing: 0.5px;
        }
        .hero-stat-label {
            font-size: 13px;
            color: var(--text-muted);
            letter-spacing: 0.5px;
        }
        @media (max-width: 991.98px) {
            .hero-section {
                min-height: 590px;
                padding: 60px 0 80px;
            }
            .hero-title {
                font-size: 32px;
            }
            .hero-desc {
                font-size: 15px;
            }
        }
        @media (max-width: 575.98px) {
            .hero-section {
                min-height: 520px;
                padding: 50px 0 70px;
            }
            .hero-title {
                font-size: 26px;
            }
            .hero-desc {
                font-size: 14px;
                line-height: 1.8;
            }
            .hero-actions {
                flex-direction: column;
                gap: 12px;
            }
            .btn-hero-primary,
            .btn-hero-secondary {
                width: 100%;
                text-align: center;
                padding: 13px 24px;
                font-size: 15px;
            }
            .hero-stats-row {
                gap: 20px;
            }
            .hero-stat-number {
                font-size: 22px;
            }
        }

        /* ===== Sections General ===== */
        .section-block {
            padding: 70px 0;
            position: relative;
        }
        .section-block-alt {
            background: rgba(255, 255, 255, 0.02);
        }
        .section-block-glow {
            background: linear-gradient(180deg, rgba(124, 58, 237, 0.06) 0%, rgba(15, 10, 26, 0.2) 100%);
        }
        .section-label {
            display: inline-flex;
            align-items: center;
            font-size: 13px;
            font-weight: 700;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: var(--accent);
            margin-bottom: 12px;
            gap: 8px;
        }
        .section-label::before {
            content: "";
            width: 28px;
            height: 2px;
            background: var(--gradient-main);
            border-radius: 2px;
        }
        .section-title {
            font-size: 28px;
            font-weight: 800;
            color: var(--text-main);
            line-height: 1.3;
            margin-bottom: 16px;
            letter-spacing: 0.3px;
        }
        .section-desc {
            font-size: 15.5px;
            color: var(--text-body);
            line-height: 1.85;
            max-width: 700px;
            margin-bottom: 36px;
        }
        @media (max-width: 575.98px) {
            .section-block {
                padding: 50px 0;
            }
            .section-title {
                font-size: 22px;
            }
            .section-desc {
                font-size: 14.5px;
                margin-bottom: 28px;
            }
        }

        /* ===== Gradient Card ===== */
        .gradient-border-card {
            position: relative;
            background: var(--bg-card);
            border: 1px solid rgba(255, 255, 255, 0.06);
            border-radius: var(--radius-lg);
            padding: 28px;
            transition: var(--transition-smooth);
            box-shadow: var(--shadow-card);
            overflow: hidden;
        }
        .gradient-border-card::before {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: var(--radius-lg);
            padding: 1px;
            background: linear-gradient(135deg, rgba(124, 58, 237, 0.35), rgba(255, 45, 120, 0.15), transparent);
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            opacity: 0;
            transition: opacity 0.4s;
            pointer-events: none;
        }
        .gradient-border-card:hover::before {
            opacity: 1;
        }
        .gradient-border-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-hover);
            border-color: rgba(124, 58, 237, 0.35);
        }

        /* ===== Content Matrix Cards ===== */
        .matrix-card {
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            padding: 30px 26px;
            height: 100%;
            border: 1px solid rgba(255, 255, 255, 0.06);
            transition: var(--transition-smooth);
            box-shadow: var(--shadow-card);
            position: relative;
            overflow: hidden;
        }
        .matrix-card::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: var(--gradient-main);
            opacity: 0;
            transition: opacity 0.4s;
        }
        .matrix-card:hover::after {
            opacity: 1;
        }
        .matrix-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
            border-color: rgba(124, 58, 237, 0.3);
        }
        .matrix-icon {
            width: 52px;
            height: 52px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            margin-bottom: 18px;
            background: var(--gradient-soft);
            color: var(--accent);
        }
        .matrix-card h3 {
            font-size: 18px;
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: 10px;
        }
        .matrix-card p {
            font-size: 14.5px;
            color: var(--text-muted);
            line-height: 1.75;
            margin-bottom: 0;
        }

        /* ===== Data Badge Bar ===== */
        .badge-bar {
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            border: 1px solid rgba(124, 58, 237, 0.25);
            padding: 32px 28px;
            display: flex;
            flex-wrap: wrap;
            gap: 28px 48px;
            justify-content: space-between;
            align-items: center;
        }
        .badge-item {
            display: flex;
            flex-direction: column;
            gap: 4px;
            min-width: 130px;
        }
        .badge-number {
            font-size: 36px;
            font-weight: 900;
            background: var(--gradient-main);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            color: transparent;
            letter-spacing: 0.5px;
        }
        .badge-label {
            font-size: 13px;
            color: var(--text-muted);
            letter-spacing: 0.5px;
            font-weight: 500;
        }
        @media (max-width: 575.98px) {
            .badge-bar {
                padding: 24px 18px;
                gap: 18px 24px;
            }
            .badge-number {
                font-size: 26px;
            }
            .badge-item {
                min-width: 90px;
            }
        }

        /* ===== Step Flow ===== */
        .step-card {
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            padding: 30px 24px;
            text-align: center;
            height: 100%;
            border: 1px solid rgba(255, 255, 255, 0.06);
            transition: var(--transition-smooth);
            box-shadow: var(--shadow-card);
            position: relative;
        }
        .step-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
            border-color: rgba(124, 58, 237, 0.3);
        }
        .step-number {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: var(--gradient-main);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            font-weight: 800;
            color: #fff;
            margin: 0 auto 16px;
            box-shadow: 0 6px 18px rgba(124, 58, 237, 0.4);
        }
        .step-card h3 {
            font-size: 17px;
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: 8px;
        }
        .step-card p {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.7;
            margin-bottom: 0;
        }

        /* ===== Game Card ===== */
        .game-card {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.06);
            transition: var(--transition-smooth);
            box-shadow: var(--shadow-card);
            height: 100%;
        }
        .game-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
            border-color: rgba(124, 58, 237, 0.3);
        }
        .game-card .card-img-wrap {
            height: 180px;
            overflow: hidden;
            position: relative;
        }
        .game-card .card-img-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s;
        }
        .game-card:hover .card-img-wrap img {
            transform: scale(1.06);
        }
        .game-card .card-img-wrap::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, transparent 40%, rgba(26, 17, 40, 0.5) 100%);
            pointer-events: none;
        }
        .game-card .card-body-custom {
            padding: 20px 18px 22px;
        }
        .game-card h3 {
            font-size: 17px;
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: 6px;
        }
        .game-card .game-summary {
            font-size: 13.5px;
            color: var(--text-muted);
            line-height: 1.7;
            margin-bottom: 14px;
        }
        .game-card .tag-group {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-bottom: 12px;
        }
        .game-card .tag {
            font-size: 11px;
            padding: 4px 10px;
            border-radius: var(--radius-pill);
            background: rgba(124, 58, 237, 0.18);
            color: var(--text-body);
            font-weight: 600;
            letter-spacing: 0.3px;
        }
        .game-card .card-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 12.5px;
            color: var(--text-muted);
        }
        .game-card .meta-badge {
            background: rgba(255, 45, 120, 0.14);
            color: var(--secondary);
            font-weight: 700;
            padding: 3px 10px;
            border-radius: var(--radius-pill);
            font-size: 11.5px;
        }

        /* ===== Brand Intro Section ===== */
        .brand-intro-card {
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            padding: 48px 44px;
            border: 1px solid rgba(124, 58, 237, 0.2);
            box-shadow: var(--shadow-card);
            position: relative;
            overflow: hidden;
        }
        .brand-intro-card::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--gradient-main);
        }
        .brand-intro-card .intro-text {
            font-size: 16px;
            color: var(--text-body);
            line-height: 2;
            margin-bottom: 18px;
        }
        @media (max-width: 575.98px) {
            .brand-intro-card {
                padding: 30px 22px;
            }
            .brand-intro-card .intro-text {
                font-size: 15px;
                line-height: 1.85;
            }
        }

        /* ===== News List ===== */
        .news-list {
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            padding: 16px;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }
        .news-item {
            display: flex;
            gap: 18px;
            align-items: flex-start;
            padding: 16px 14px;
            border-radius: var(--radius-sm);
            transition: var(--transition-base);
            border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        }
        .news-item:last-child {
            border-bottom: none;
        }
        .news-item:hover {
            background: rgba(124, 58, 237, 0.07);
        }
        .news-date {
            font-size: 12.5px;
            color: var(--amber);
            font-weight: 700;
            white-space: nowrap;
            min-width: 60px;
            padding-top: 4px;
        }
        .news-content h3 {
            font-size: 15px;
            font-weight: 600;
            color: var(--text-main);
            margin-bottom: 4px;
            line-height: 1.55;
        }
        .news-content p {
            font-size: 13.5px;
            color: var(--text-muted);
            margin-bottom: 0;
            line-height: 1.65;
        }

        /* ===== Featured Cards ===== */
        .feature-card {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.06);
            transition: var(--transition-smooth);
            box-shadow: var(--shadow-card);
            height: 100%;
            cursor: pointer;
        }
        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
            border-color: rgba(124, 58, 237, 0.3);
        }
        .feature-card .feature-img {
            height: 140px;
            overflow: hidden;
        }
        .feature-card .feature-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }
        .feature-card:hover .feature-img img {
            transform: scale(1.06);
        }
        .feature-card .feature-body {
            padding: 18px;
        }
        .feature-card h3 {
            font-size: 15.5px;
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: 6px;
        }
        .feature-card p {
            font-size: 13px;
            color: var(--text-muted);
            margin-bottom: 0;
            line-height: 1.65;
        }

        /* ===== Community Posts ===== */
        .community-post {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 18px 20px;
            border-radius: var(--radius-sm);
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.05);
            margin-bottom: 12px;
            transition: var(--transition-base);
            flex-wrap: wrap;
            gap: 12px;
        }
        .community-post:hover {
            background: rgba(124, 58, 237, 0.08);
            border-color: rgba(124, 58, 237, 0.25);
        }
        .post-title {
            font-size: 15px;
            font-weight: 600;
            color: var(--text-main);
        }
        .post-meta {
            font-size: 12.5px;
            color: var(--text-muted);
            display: flex;
            gap: 16px;
            align-items: center;
            flex-wrap: wrap;
        }
        .post-author {
            color: var(--text-body);
            font-weight: 500;
        }
        .post-badge {
            background: rgba(255, 45, 120, 0.15);
            color: var(--secondary);
            font-weight: 700;
            padding: 4px 12px;
            border-radius: var(--radius-pill);
            font-size: 11.5px;
        }

        /* ===== Character Cards ===== */
        .character-card {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            padding: 22px;
            text-align: center;
            border: 1px solid rgba(255, 255, 255, 0.06);
            transition: var(--transition-smooth);
            box-shadow: var(--shadow-card);
            height: 100%;
        }
        .character-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
            border-color: rgba(124, 58, 237, 0.3);
        }
        .character-avatar {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background: var(--gradient-soft);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 14px;
            font-size: 26px;
            color: var(--accent);
            border: 2px solid rgba(124, 58, 237, 0.4);
        }
        .character-card h3 {
            font-size: 16px;
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: 4px;
        }
        .character-card .char-role {
            font-size: 13px;
            color: var(--text-muted);
            margin-bottom: 8px;
        }
        .character-card .rarity {
            font-size: 12px;
            color: var(--amber);
            font-weight: 700;
            letter-spacing: 1px;
        }

        /* ===== Timeline ===== */
        .timeline {
            position: relative;
            padding-left: 32px;
        }
        .timeline::before {
            content: "";
            position: absolute;
            left: 12px;
            top: 4px;
            bottom: 4px;
            width: 2px;
            background: linear-gradient(180deg, var(--primary), var(--secondary));
            border-radius: 2px;
        }
        .timeline-item {
            position: relative;
            margin-bottom: 28px;
            padding-left: 20px;
        }
        .timeline-item:last-child {
            margin-bottom: 0;
        }
        .timeline-item::before {
            content: "";
            position: absolute;
            left: -27px;
            top: 6px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--gradient-main);
            box-shadow: 0 0 12px rgba(124, 58, 237, 0.6);
        }
        .timeline-date {
            font-size: 13px;
            font-weight: 700;
            color: var(--amber);
            letter-spacing: 1px;
            margin-bottom: 4px;
        }
        .timeline-title {
            font-size: 16px;
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: 4px;
        }
        .timeline-desc {
            font-size: 13.5px;
            color: var(--text-muted);
            line-height: 1.7;
            margin-bottom: 0;
        }

        /* ===== Review Cards ===== */
        .review-card {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            padding: 26px 22px;
            height: 100%;
            border: 1px solid rgba(255, 255, 255, 0.06);
            transition: var(--transition-smooth);
            box-shadow: var(--shadow-card);
        }
        .review-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
            border-color: rgba(124, 58, 237, 0.3);
        }
        .review-stars {
            color: var(--amber);
            font-size: 13px;
            margin-bottom: 12px;
        }
        .review-text {
            font-size: 14px;
            color: var(--text-body);
            line-height: 1.75;
            margin-bottom: 16px;
        }
        .review-author {
            font-size: 13px;
            color: var(--text-muted);
            font-weight: 600;
        }
        .review-author span {
            color: var(--accent);
        }

        /* ===== Partner Wall ===== */
        .partner-wall {
            display: flex;
            flex-wrap: wrap;
            gap: 16px 24px;
            justify-content: center;
            align-items: center;
        }
        .partner-item {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: var(--radius-sm);
            padding: 16px 28px;
            font-size: 14px;
            font-weight: 600;
            color: var(--text-muted);
            transition: var(--transition-base);
            letter-spacing: 0.5px;
        }
        .partner-item:hover {
            background: rgba(124, 58, 237, 0.12);
            color: var(--text-main);
            border-color: rgba(124, 58, 237, 0.3);
            transform: translateY(-2px);
        }

        /* ===== Download CTA ===== */
        .download-card {
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            padding: 40px 36px;
            border: 1px solid rgba(124, 58, 237, 0.25);
            box-shadow: var(--shadow-card);
            position: relative;
            overflow: hidden;
        }
        .download-card::before {
            content: "";
            position: absolute;
            top: -60px;
            right: -60px;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(255, 45, 120, 0.2), transparent 70%);
            pointer-events: none;
        }
        .platform-icon {
            width: 52px;
            height: 52px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            color: #fff;
            background: var(--gradient-main);
            margin-bottom: 14px;
            box-shadow: 0 6px 18px rgba(124, 58, 237, 0.35);
        }
        .download-steps {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .download-steps li {
            padding: 10px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            font-size: 14px;
            color: var(--text-body);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .download-steps li:last-child {
            border-bottom: none;
        }
        .download-steps .step-check {
            color: var(--accent);
            font-size: 15px;
            flex-shrink: 0;
        }

        /* ===== Gift / Welfare CTA ===== */
        .gift-card {
            background: var(--gradient-main);
            border-radius: var(--radius-lg);
            padding: 44px 40px;
            color: #fff;
            position: relative;
            overflow: hidden;
            box-shadow: 0 16px 42px rgba(124, 58, 237, 0.45);
        }
        .gift-card::before {
            content: "";
            position: absolute;
            top: -60px;
            left: -60px;
            width: 240px;
            height: 240px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.12);
            pointer-events: none;
        }
        .gift-card::after {
            content: "";
            position: absolute;
            bottom: -70px;
            right: -40px;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: rgba(0, 229, 195, 0.18);
            pointer-events: none;
        }
        .gift-card h2 {
            font-size: 26px;
            font-weight: 900;
            color: #fff;
            margin-bottom: 12px;
            letter-spacing: 0.5px;
        }
        .gift-card p {
            font-size: 15px;
            color: rgba(255, 255, 255, 0.88);
            line-height: 1.8;
            margin-bottom: 24px;
            max-width: 500px;
        }
        .btn-gift {
            background: #fff;
            color: var(--primary-dark);
            font-weight: 800;
            font-size: 15px;
            padding: 13px 32px;
            border-radius: var(--radius-pill);
            border: none;
            transition: var(--transition-smooth);
            letter-spacing: 0.4px;
            box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
        }
        .btn-gift:hover {
            transform: translateY(-3px);
            box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
            color: var(--primary-dark);
            filter: brightness(1.05);
        }

        /* ===== FAQ ===== */
        .faq-card {
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            padding: 32px 28px;
            border: 1px solid rgba(255, 255, 255, 0.06);
            box-shadow: var(--shadow-card);
        }
        .accordion-custom .accordion-item {
            background: transparent;
            border: none;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            margin-bottom: 4px;
        }
        .accordion-custom .accordion-button {
            background: transparent;
            color: var(--text-main);
            font-weight: 700;
            font-size: 15.5px;
            padding: 18px 8px;
            border: none;
            box-shadow: none;
            transition: var(--transition-base);
        }
        .accordion-custom .accordion-button:focus {
            box-shadow: none;
            outline: 2px solid rgba(124, 58, 237, 0.4);
            outline-offset: 2px;
            border-radius: 8px;
            background: rgba(124, 58, 237, 0.06);
        }
        .accordion-custom .accordion-button:not(.collapsed) {
            background: rgba(124, 58, 237, 0.08);
            color: #fff;
            box-shadow: none;
        }
        .accordion-custom .accordion-button::after {
            filter: invert(0.8);
        }
        .accordion-custom .accordion-body {
            color: var(--text-muted);
            font-size: 14.5px;
            line-height: 1.85;
            padding: 0 8px 20px;
        }

        /* ===== Guarantee Strip ===== */
        .guarantee-strip {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            justify-content: space-between;
        }
        .guarantee-item {
            background: var(--bg-card);
            border-radius: var(--radius-sm);
            padding: 20px 24px;
            display: flex;
            align-items: center;
            gap: 14px;
            border: 1px solid rgba(124, 58, 237, 0.2);
            transition: var(--transition-base);
            flex: 1 1 200px;
        }
        .guarantee-item:hover {
            border-color: rgba(124, 58, 237, 0.5);
            background: rgba(124, 58, 237, 0.07);
        }
        .guarantee-icon {
            font-size: 22px;
            color: var(--accent);
            flex-shrink: 0;
        }
        .guarantee-item h3 {
            font-size: 15px;
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: 2px;
        }
        .guarantee-item p {
            font-size: 13px;
            color: var(--text-muted);
            margin-bottom: 0;
        }

        /* ===== Subscribe CTA ===== */
        .subscribe-section {
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            padding: 50px 40px;
            text-align: center;
            border: 1px solid rgba(124, 58, 237, 0.25);
            box-shadow: var(--shadow-card);
            position: relative;
            overflow: hidden;
        }
        .subscribe-section::before {
            content: "";
            position: absolute;
            top: -40px;
            left: 50%;
            transform: translateX(-50%);
            width: 400px;
            height: 200px;
            background: radial-gradient(ellipse, rgba(255, 45, 120, 0.2), transparent 70%);
            pointer-events: none;
        }
        .subscribe-section h2 {
            font-size: 24px;
            font-weight: 800;
            color: var(--text-main);
            margin-bottom: 12px;
        }
        .subscribe-section p {
            font-size: 14.5px;
            color: var(--text-muted);
            margin-bottom: 28px;
            line-height: 1.75;
        }
        .subscribe-form {
            display: flex;
            gap: 12px;
            max-width: 520px;
            margin: 0 auto;
            flex-wrap: wrap;
        }
        .subscribe-form input {
            flex: 1;
            min-width: 200px;
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: var(--radius-pill);
            padding: 14px 22px;
            color: var(--text-main);
            font-size: 15px;
            transition: var(--transition-base);
        }
        .subscribe-form input:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.3), 0 0 18px rgba(124, 58, 237, 0.25);
            outline: none;
            background: rgba(124, 58, 237, 0.08);
        }
        .subscribe-form input::placeholder {
            color: var(--text-muted);
            font-size: 14px;
        }
        .btn-subscribe {
            background: var(--gradient-main);
            border: none;
            color: #fff;
            font-weight: 700;
            font-size: 15px;
            padding: 14px 32px;
            border-radius: var(--radius-pill);
            transition: var(--transition-smooth);
            letter-spacing: 0.3px;
            box-shadow: 0 6px 20px rgba(124, 58, 237, 0.45);
            white-space: nowrap;
        }
        .btn-subscribe:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(255, 45, 120, 0.5);
            color: #fff;
            filter: brightness(1.08);
        }

        /* ===== Footer ===== */
        .game-footer {
            background: #0B0615;
            border-top: 1px solid rgba(124, 58, 237, 0.25);
            padding: 60px 0 30px;
            margin-top: 40px;
        }
        .footer-brand {
            font-size: 22px;
            font-weight: 900;
            color: var(--text-main);
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 16px;
        }
        .footer-brand .brand-icon-footer {
            width: 34px;
            height: 34px;
            border-radius: 8px;
            background: var(--gradient-main);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 15px;
            color: #fff;
        }
        .footer-desc {
            font-size: 13.5px;
            color: var(--text-muted);
            line-height: 1.8;
            max-width: 360px;
            margin-bottom: 20px;
        }
        .footer-title {
            font-size: 15px;
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: 16px;
            letter-spacing: 0.5px;
        }
        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .footer-links li {
            margin-bottom: 10px;
        }
        .footer-links a {
            font-size: 13.5px;
            color: var(--text-muted);
            transition: var(--transition-base);
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        .footer-links a:hover {
            color: var(--accent);
            transform: translateX(3px);
        }
        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            padding-top: 24px;
            margin-top: 40px;
            text-align: center;
            font-size: 12.5px;
            color: var(--text-muted);
            line-height: 2;
        }
        .footer-bottom a {
            color: var(--text-body);
            font-weight: 500;
        }
        .footer-bottom a:hover {
            color: var(--accent);
        }
        @media (max-width: 575.98px) {
            .game-footer {
                padding: 40px 0 20px;
            }
            .footer-brand {
                font-size: 19px;
            }
            .footer-title {
                font-size: 14px;
            }
        }

        /* ===== Utility ===== */
        .text-gradient {
            background: var(--gradient-main);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            color: transparent;
        }
        .text-accent {
            color: var(--accent) !important;
        }
        .text-amber {
            color: var(--amber) !important;
        }
        .mb-section {
            margin-bottom: 70px;
        }
        .focus-visible {
            outline: 2px solid var(--primary);
            outline-offset: 3px;
            border-radius: 6px;
        }
        .no-underline {
            text-decoration: none;
        }
        @media (max-width: 575.98px) {
            .mb-section {
                margin-bottom: 50px;
            }
        }

/* roulang page: category2 */
:root {
  --primary: #7C3AED;
  --primary-dark: #5B21B6;
  --secondary: #FF2D78;
  --accent: #00E5C3;
  --amber: #FFB800;
  --bg-dark: #0F0A1A;
  --bg-card: #1A1128;
  --bg-card-translucent: rgba(255, 255, 255, 0.04);
  --text-main: #F5F1FA;
  --text-body: #E4DDF0;
  --text-muted: #B9A8D6;
  --border-glow: rgba(124, 58, 237, 0.4);
  --gradient-main: linear-gradient(135deg, #7C3AED 0%, #FF2D78 100%);
  --gradient-accent: linear-gradient(135deg, #FF2D78 0%, #FFB800 100%);
  --gradient-soft: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(255, 45, 120, 0.25));
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 12px 32px rgba(124, 58, 237, 0.28);
  --font-sans: 'Noto Sans SC', 'Source Han Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-body);
  line-height: 1.75;
  font-size: 15.5px;
  overflow-x: hidden;
  min-height: 100vh;
}
a {
  color: var(--text-main);
  text-decoration: none;
  transition: var(--transition-base);
}
a:hover {
  color: var(--accent);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
}
.container-custom {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
/* ===== Header / Nav ===== */
.game-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(15, 10, 26, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-glow);
  min-height: 68px;
  display: flex;
  align-items: center;
}
.game-header .navbar {
  padding: 0;
  background: transparent;
  border: none;
  min-height: 68px;
}
.game-header .navbar-brand {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.5px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-base);
}
.game-header .navbar-brand:hover {
  color: var(--accent);
  transform: translateY(-1px);
}
.game-header .brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.45);
  flex-shrink: 0;
}
.game-header .nav-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 10px 16px !important;
  border-radius: 10px;
  transition: var(--transition-base);
  letter-spacing: 0.3px;
}
.game-header .nav-link:hover,
.game-header .nav-link:focus {
  color: var(--text-main);
  background: rgba(124, 58, 237, 0.15);
}
.game-header .nav-link.active {
  color: #fff;
  background: var(--gradient-main);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
}
.game-header .search-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  color: var(--text-main);
  font-size: 14px;
  min-width: 200px;
  transition: var(--transition-base);
}
.game-header .search-box:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.3), 0 0 18px rgba(124, 58, 237, 0.25);
  outline: none;
  background: rgba(124, 58, 237, 0.08);
}
.game-header .search-box::placeholder {
  color: var(--text-muted);
  font-size: 13.5px;
}
.game-header .icon-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-base);
  font-size: 15px;
}
.game-header .icon-btn:hover {
  background: rgba(124, 58, 237, 0.2);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 14px rgba(124, 58, 237, 0.25);
}
.btn-primary-glow {
  background: var(--gradient-main);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.3px;
  transition: var(--transition-base);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.5);
  color: #fff;
  filter: brightness(1.05);
}
.btn-primary-glow:active {
  transform: translateY(0);
}
/* Mobile Offcanvas */
.offcanvas {
  background-color: var(--bg-dark);
  border-left: 1px solid var(--border-glow);
}
.offcanvas-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.offcanvas-title {
  color: var(--text-main);
  font-weight: 700;
}
.offcanvas-body {
  padding: 20px;
}
.mobile-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-menu li {
  margin-bottom: 8px;
}
.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-body);
  font-weight: 600;
}
.mobile-menu a.active {
  background: var(--gradient-main);
  color: #fff;
}
/* ===== Breadcrumb / Page Header ===== */
.page-header-section {
  padding: 40px 0 28px;
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.12) 0%, rgba(15, 10, 26, 0) 100%);
}
.breadcrumb {
  margin-bottom: 16px;
}
.breadcrumb-item a {
  color: var(--text-muted);
}
.breadcrumb-item a:hover {
  color: var(--accent);
}
.breadcrumb-item.active {
  color: var(--text-main);
  font-weight: 600;
}
.breadcrumb-item + .breadcrumb-item::before {
  color: var(--text-muted);
  content: "/";
}
.page-title {
  font-size: 38px;
  font-weight: 900;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.page-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 800px;
  line-height: 1.8;
}
/* ===== Stats Strip ===== */
.stats-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0 40px;
}
.stat-badge {
  flex: 1 1 160px;
  background: var(--bg-card-translucent);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  text-align: center;
  transition: var(--transition-base);
}
.stat-badge:hover {
  border-color: var(--secondary);
  box-shadow: 0 6px 20px rgba(255, 45, 120, 0.15);
}
.stat-badge .stat-number {
  display: block;
  font-size: 28px;
  font-weight: 900;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}
.stat-badge .stat-label {
  font-size: 13px;
  color: var(--text-muted);
}
/* ===== Filter Toolbar ===== */
.filter-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.filter-toolbar .btn-filter {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 600;
  transition: var(--transition-base);
}
.filter-toolbar .btn-filter:hover,
.filter-toolbar .btn-filter:focus {
  color: var(--text-main);
  border-color: var(--primary);
  background: rgba(124, 58, 237, 0.15);
}
.filter-toolbar .btn-filter.active {
  background: var(--gradient-main);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}
.filter-toolbar .btn-filter:active {
  transform: scale(0.96);
}
/* ===== List Cards ===== */
.list-card {
  display: flex;
  flex-direction: row;
  background: var(--bg-card);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 18px;
  transition: var(--transition-base);
  box-shadow: var(--shadow-card);
}
.list-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.list-card-img {
  width: 220px;
  flex-shrink: 0;
  min-height: 150px;
  background-image: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(255, 45, 120, 0.15));
}
.list-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.list-card-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.list-card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.4;
}
.list-card-title a:hover {
  color: var(--accent);
}
.list-card-summary {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.65;
}
.list-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}
.list-card-date {
  font-size: 13px;
  color: var(--text-muted);
}
.list-card-tags .tag-item {
  display: inline-block;
  background: rgba(0, 229, 195, 0.1);
  color: var(--accent);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(0, 229, 195, 0.25);
}
.list-card-badge {
  display: inline-block;
  background: rgba(255, 184, 0, 0.12);
  color: var(--amber);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(255, 184, 0, 0.3);
}
.list-more-link {
  display: flex;
  justify-content: center;
  margin: 28px 0 52px;
}
.list-more-link a {
  background: rgba(124, 58, 237, 0.12);
  color: var(--text-main);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-pill);
  padding: 12px 28px;
  font-weight: 700;
  transition: var(--transition-base);
}
.list-more-link a:hover {
  background: var(--gradient-main);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
  transform: translateY(-2px);
}
/* ===== Topic Entries ===== */
.topic-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(124, 58, 237, 0.25);
  transition: var(--transition-base);
  box-shadow: var(--shadow-card);
}
.topic-card:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.topic-card-img {
  height: 160px;
  overflow: hidden;
}
.topic-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}
.topic-card:hover .topic-card-img img {
  transform: scale(1.05);
}
.topic-card-body {
  padding: 16px 18px;
}
.topic-card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}
.topic-card-text {
  font-size: 13.5px;
  color: var(--text-muted);
}
/* ===== Tag Cloud ===== */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag-cloud .tag-item {
  display: inline-block;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-body);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition-base);
}
.tag-cloud .tag-item:hover {
  background: rgba(124, 58, 237, 0.2);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}
/* ===== FAQ Accordion ===== */
.accordion-section .accordion-item {
  background: var(--bg-card);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: var(--radius-md) !important;
  margin-bottom: 12px;
  overflow: hidden;
}
.accordion-section .accordion-button {
  background: var(--bg-card);
  color: var(--text-main);
  font-weight: 700;
  padding: 18px 20px;
  border-radius: 0 !important;
  box-shadow: none;
  transition: var(--transition-base);
}
.accordion-section .accordion-button:not(.collapsed) {
  background: rgba(124, 58, 237, 0.12);
  color: #fff;
  box-shadow: none;
}
.accordion-section .accordion-button::after {
  filter: invert(1);
}
.accordion-section .accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.3);
  outline: none;
}
.accordion-section .accordion-body {
  background: rgba(15, 10, 26, 0.7);
  color: var(--text-body);
  padding: 16px 20px;
  border-top: 1px solid rgba(124, 58, 237, 0.2);
}
/* ===== CTA ===== */
.cta-rounded {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-card);
}
.cta-rounded h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}
.cta-rounded p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}
.cta-rounded .input-group {
  max-width: 360px;
  flex: 1;
  min-width: 240px;
}
.cta-rounded .form-control {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill) 0 0 var(--radius-pill);
  color: var(--text-main);
  padding: 12px 18px;
}
.cta-rounded .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.25);
  background: rgba(124, 58, 237, 0.08);
}
.cta-rounded .btn-subscribe {
  background: var(--gradient-main);
  color: #fff;
  border: none;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  padding: 12px 22px;
  font-weight: 700;
  transition: var(--transition-base);
}
.cta-rounded .btn-subscribe:hover {
  filter: brightness(1.08);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
}
/* ===== Footer ===== */
.game-footer {
  background: #0B0712;
  border-top: 1px solid rgba(124, 58, 237, 0.3);
  padding: 48px 0 24px;
  color: var(--text-body);
}
.footer-brand {
  font-size: 22px;
  font-weight: 900;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.brand-icon-footer {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gradient-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
}
.footer-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}
.footer-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 14px;
  transition: var(--transition-base);
}
.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 36px;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-bottom a {
  color: var(--text-muted);
}
.footer-bottom a:hover {
  color: var(--accent);
}
/* ===== Responsive ===== */
@media (max-width: 991.98px) {
  .game-header .navbar-collapse {
    display: none !important;
  }
  .game-header .d-flex.align-items-center.gap-2 {
    display: none !important;
  }
  .page-title {
    font-size: 32px;
  }
  .list-card {
    flex-direction: column;
  }
  .list-card-img {
    width: 100%;
    height: 180px;
  }
  .stats-strip {
    gap: 10px;
  }
  .stat-badge {
    flex: 1 1 calc(50% - 10px);
  }
}
@media (max-width: 575.98px) {
  .container-custom {
    padding-left: 12px;
    padding-right: 12px;
  }
  .page-header-section {
    padding: 28px 0 16px;
  }
  .page-title {
    font-size: 26px;
  }
  .stat-badge {
    flex: 1 1 100%;
  }
  .filter-toolbar {
    gap: 6px;
  }
  .filter-toolbar .btn-filter {
    padding: 6px 12px;
    font-size: 12.5px;
  }
  .cta-rounded {
    flex-direction: column;
    align-items: stretch;
  }
  .game-footer {
    padding: 32px 0 16px;
  }
}

/* roulang page: category1 */
:root {
            --primary: #7C3AED;
            --primary-dark: #5B21B6;
            --secondary: #FF2D78;
            --accent: #00E5C3;
            --amber: #FFB800;
            --bg-dark: #0F0A1A;
            --bg-card: #1A1128;
            --bg-card-translucent: rgba(255, 255, 255, 0.04);
            --text-main: #F5F1FA;
            --text-body: #E4DDF0;
            --text-muted: #B9A8D6;
            --border-glow: rgba(124, 58, 237, 0.4);
            --gradient-main: linear-gradient(135deg, #7C3AED 0%, #FF2D78 100%);
            --gradient-accent: linear-gradient(135deg, #FF2D78 0%, #FFB800 100%);
            --gradient-soft: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(255, 45, 120, 0.25));
            --radius-lg: 24px;
            --radius-md: 16px;
            --radius-sm: 12px;
            --radius-pill: 999px;
            --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.35);
            --shadow-hover: 0 12px 32px rgba(124, 58, 237, 0.28);
            --font-sans: 'Noto Sans SC', 'Source Han Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
            --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --transition-smooth: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        html {
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        body {
            font-family: var(--font-sans);
            background-color: var(--bg-dark);
            color: var(--text-body);
            line-height: 1.75;
            font-size: 15.5px;
            overflow-x: hidden;
            min-height: 100vh;
        }

        a {
            color: var(--text-main);
            text-decoration: none;
            transition: var(--transition-base);
        }
        a:hover {
            color: var(--accent);
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        button,
        input,
        select,
        textarea {
            font-family: inherit;
        }

        .container-custom {
            width: 100%;
            max-width: 1240px;
            margin: 0 auto;
            padding-left: 24px;
            padding-right: 24px;
        }

        /* ===== Promo Bar ===== */
        .promo-bar {
            background: var(--gradient-accent);
            color: #1a0a14;
            font-size: 13.5px;
            font-weight: 700;
            text-align: center;
            padding: 8px 16px;
            letter-spacing: 0.4px;
            position: relative;
            z-index: 1031;
            min-height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .promo-bar i {
            margin-right: 8px;
            color: #1a0a14;
        }

        /* ===== Header / Nav ===== */
        .game-header {
            position: sticky;
            top: 0;
            z-index: 1030;
            background: rgba(15, 10, 26, 0.88);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            border-bottom: 1px solid var(--border-glow);
            min-height: 68px;
            display: flex;
            align-items: center;
        }
        .game-header .navbar {
            padding: 0;
            background: transparent;
            border: none;
            min-height: 68px;
        }
        .game-header .navbar-brand {
            font-weight: 900;
            font-size: 22px;
            letter-spacing: 0.5px;
            color: var(--text-main);
            display: flex;
            align-items: center;
            gap: 10px;
            transition: var(--transition-base);
        }
        .game-header .navbar-brand:hover {
            color: var(--accent);
            transform: translateY(-1px);
        }
        .game-header .brand-icon {
            width: 38px;
            height: 38px;
            border-radius: 10px;
            background: var(--gradient-main);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            color: #fff;
            box-shadow: 0 4px 14px rgba(124, 58, 237, 0.45);
            flex-shrink: 0;
        }
        .game-header .nav-link {
            font-size: 14.5px;
            font-weight: 600;
            color: var(--text-muted);
            padding: 10px 16px !important;
            border-radius: 10px;
            transition: var(--transition-base);
            letter-spacing: 0.3px;
        }
        .game-header .nav-link:hover,
        .game-header .nav-link:focus {
            color: var(--text-main);
            background: rgba(124, 58, 237, 0.15);
        }
        .game-header .nav-link.active {
            color: #fff;
            background: var(--gradient-main);
            box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
        }
        .game-header .search-box {
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: var(--radius-pill);
            padding: 8px 18px;
            color: var(--text-main);
            font-size: 14px;
            min-width: 200px;
            transition: var(--transition-base);
        }
        .game-header .search-box:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.3), 0 0 18px rgba(124, 58, 237, 0.25);
            outline: none;
            background: rgba(124, 58, 237, 0.08);
        }
        .game-header .search-box::placeholder {
            color: var(--text-muted);
            font-size: 13.5px;
        }
        .game-header .icon-btn {
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-muted);
            transition: var(--transition-base);
            font-size: 15px;
            flex-shrink: 0;
        }
        .game-header .icon-btn:hover {
            background: rgba(124, 58, 237, 0.2);
            color: #fff;
            border-color: var(--primary);
            box-shadow: 0 0 14px rgba(124, 58, 237, 0.35);
        }
        .btn-primary-glow {
            background: var(--gradient-main);
            border: none;
            border-radius: var(--radius-pill);
            padding: 10px 24px;
            font-weight: 700;
            font-size: 14.5px;
            color: #fff;
            letter-spacing: 0.4px;
            box-shadow: 0 4px 16px rgba(124, 58, 237, 0.45);
            transition: var(--transition-base);
            white-space: nowrap;
        }
        .btn-primary-glow:hover,
        .btn-primary-glow:focus {
            background: var(--gradient-main);
            filter: brightness(1.15);
            box-shadow: 0 8px 28px rgba(124, 58, 237, 0.55);
            transform: translateY(-2px);
            color: #fff;
        }
        .btn-primary-glow:active {
            transform: translateY(0);
        }
        .navbar-toggler {
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 10px;
            padding: 8px 12px;
            color: var(--text-main);
            background: rgba(255, 255, 255, 0.05);
        }
        .navbar-toggler:focus {
            box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.3);
        }

        /* ===== Offcanvas ===== */
        .offcanvas.game-drawer {
            background: var(--bg-dark);
            border-left: 1px solid var(--border-glow);
            max-width: 320px;
        }
        .offcanvas.game-drawer .offcanvas-header {
            border-bottom: 1px solid rgba(124, 58, 237, 0.3);
            padding: 20px 24px;
        }
        .offcanvas.game-drawer .offcanvas-title {
            font-weight: 900;
            font-size: 20px;
            color: var(--text-main);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .offcanvas.game-drawer .btn-close {
            filter: invert(1);
            opacity: 0.7;
        }
        .offcanvas.game-drawer .offcanvas-body {
            padding: 20px 24px;
        }
        .drawer-nav-list {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 6px;
        }
        .drawer-nav-list a {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            border-radius: var(--radius-sm);
            font-weight: 600;
            font-size: 15px;
            color: var(--text-muted);
            transition: var(--transition-base);
        }
        .drawer-nav-list a:hover {
            background: rgba(124, 58, 237, 0.15);
            color: var(--text-main);
        }
        .drawer-nav-list a.active {
            background: var(--gradient-main);
            color: #fff;
            box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
        }
        .drawer-nav-list a i {
            width: 20px;
            text-align: center;
            font-size: 15px;
        }
        .drawer-search {
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: var(--radius-pill);
            padding: 10px 18px;
            color: var(--text-main);
            font-size: 14px;
            width: 100%;
            margin-bottom: 16px;
            transition: var(--transition-base);
        }
        .drawer-search:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.3);
            outline: none;
        }
        .drawer-cta {
            margin-top: 16px;
            width: 100%;
        }

        /* ===== Breadcrumb / Page Header ===== */
        .page-header-section {
            background: linear-gradient(135deg, rgba(15, 10, 26, 0.92) 0%, rgba(26, 17, 40, 0.88) 50%, rgba(15, 10, 26, 0.94) 100%),
                url('/assets/images/fd306aca7dad27d2.webp') center / cover no-repeat;
            padding: 50px 0 40px;
            border-bottom: 1px solid rgba(124, 58, 237, 0.25);
            position: relative;
        }
        .breadcrumb-custom {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 13.5px;
            color: var(--text-muted);
            margin-bottom: 18px;
            flex-wrap: wrap;
        }
        .breadcrumb-custom a {
            color: var(--text-muted);
            transition: var(--transition-base);
            font-weight: 500;
        }
        .breadcrumb-custom a:hover {
            color: var(--accent);
        }
        .breadcrumb-custom .separator {
            color: var(--border-glow);
            font-size: 12px;
        }
        .breadcrumb-custom .current {
            color: var(--text-main);
            font-weight: 600;
        }
        .page-header-section h1 {
            font-size: 36px;
            font-weight: 900;
            color: var(--text-main);
            letter-spacing: 0.5px;
            line-height: 1.25;
            margin-bottom: 8px;
        }
        .page-header-section .page-subtitle {
            font-size: 16px;
            color: var(--text-muted);
            margin-bottom: 0;
            max-width: 640px;
        }

        /* ===== Stats Bar ===== */
        .stats-bar-section {
            padding: 24px 0 20px;
            background: var(--bg-dark);
        }
        .stats-card {
            background: var(--bg-card);
            border: 1px solid rgba(124, 58, 237, 0.25);
            border-radius: var(--radius-md);
            padding: 18px 20px;
            text-align: center;
            transition: var(--transition-base);
            height: 100%;
        }
        .stats-card:hover {
            border-color: var(--primary);
            box-shadow: var(--shadow-hover);
        }
        .stats-card .stat-number {
            font-size: 28px;
            font-weight: 900;
            color: var(--text-main);
            line-height: 1.2;
            letter-spacing: 0.5px;
        }
        .stats-card .stat-label {
            font-size: 13px;
            color: var(--text-muted);
            font-weight: 500;
            margin-top: 4px;
        }
        .stats-card .stat-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 10px;
            font-size: 17px;
            color: #fff;
        }
        .stat-icon.purple {
            background: var(--gradient-main);
            box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
        }
        .stat-icon.pink {
            background: var(--gradient-accent);
            box-shadow: 0 4px 14px rgba(255, 45, 120, 0.4);
        }
        .stat-icon.teal {
            background: linear-gradient(135deg, #00E5C3 0%, #00B8A5 100%);
            box-shadow: 0 4px 14px rgba(0, 229, 195, 0.35);
        }
        .stat-icon.amber {
            background: linear-gradient(135deg, #FFB800 0%, #FF8A00 100%);
            box-shadow: 0 4px 14px rgba(255, 184, 0, 0.35);
        }

        /* ===== Filter Toolbar ===== */
        .filter-toolbar-section {
            padding: 8px 0 28px;
            background: var(--bg-dark);
        }
        .filter-toolbar {
            background: var(--bg-card);
            border: 1px solid rgba(124, 58, 237, 0.25);
            border-radius: var(--radius-md);
            padding: 16px 20px;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 16px;
        }
        .filter-group-label {
            font-size: 13.5px;
            font-weight: 700;
            color: var(--text-muted);
            letter-spacing: 0.3px;
            white-space: nowrap;
        }
        .filter-btn-group {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        .filter-btn {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: var(--radius-pill);
            padding: 7px 18px;
            font-size: 13.5px;
            font-weight: 600;
            color: var(--text-muted);
            transition: var(--transition-base);
            cursor: pointer;
            white-space: nowrap;
        }
        .filter-btn:hover {
            background: rgba(124, 58, 237, 0.18);
            color: var(--text-main);
            border-color: var(--primary);
        }
        .filter-btn.active {
            background: var(--gradient-main);
            color: #fff;
            border-color: transparent;
            box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
        }
        .filter-select {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: var(--radius-pill);
            padding: 7px 16px;
            font-size: 13.5px;
            font-weight: 500;
            color: var(--text-muted);
            cursor: pointer;
            transition: var(--transition-base);
            min-width: 130px;
        }
        .filter-select:focus {
            border-color: var(--primary);
            outline: none;
            box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.25);
            color: var(--text-main);
        }
        .filter-select option {
            background: var(--bg-card);
            color: var(--text-main);
        }

        /* ===== Guide Cards Grid ===== */
        .guides-list-section {
            padding: 12px 0 40px;
            background: var(--bg-dark);
        }
        .guides-list-section .section-header {
            display: flex;
            align-items: baseline;
            justify-content: space-between;
            margin-bottom: 22px;
            flex-wrap: wrap;
            gap: 12px;
        }
        .guides-list-section .section-header h2 {
            font-size: 24px;
            font-weight: 800;
            color: var(--text-main);
            letter-spacing: 0.4px;
            margin-bottom: 0;
        }
        .guides-list-section .section-header .section-note {
            font-size: 13.5px;
            color: var(--text-muted);
        }
        .guide-card {
            background: var(--bg-card);
            border: 1px solid rgba(124, 58, 237, 0.25);
            border-radius: var(--radius-md);
            overflow: hidden;
            transition: var(--transition-smooth);
            height: 100%;
            display: flex;
            flex-direction: column;
            position: relative;
        }
        .guide-card:hover {
            transform: translateY(-4px);
            border-color: var(--primary);
            box-shadow: var(--shadow-hover);
        }
        .guide-card .card-img-wrap {
            position: relative;
            aspect-ratio: 16 / 9;
            overflow: hidden;
            background: #0a0614;
        }
        .guide-card .card-img-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }
        .guide-card:hover .card-img-wrap img {
            transform: scale(1.05);
        }
        .guide-card .card-body {
            padding: 18px 20px 20px;
            display: flex;
            flex-direction: column;
            flex: 1;
        }
        .guide-card .card-tag {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            background: rgba(124, 58, 237, 0.2);
            border: 1px solid rgba(124, 58, 237, 0.35);
            border-radius: var(--radius-pill);
            padding: 3px 12px;
            font-size: 12px;
            font-weight: 600;
            color: var(--text-muted);
            margin-bottom: 10px;
            width: fit-content;
        }
        .guide-card .card-tag.hot {
            background: rgba(255, 45, 120, 0.18);
            border-color: rgba(255, 45, 120, 0.4);
            color: #FF6B9A;
        }
        .guide-card .card-tag.new {
            background: rgba(0, 229, 195, 0.15);
            border-color: rgba(0, 229, 195, 0.35);
            color: var(--accent);
        }
        .guide-card h3 {
            font-size: 17px;
            font-weight: 700;
            color: var(--text-main);
            line-height: 1.45;
            margin-bottom: 8px;
        }
        .guide-card h3 a {
            color: var(--text-main);
            transition: var(--transition-base);
        }
        .guide-card h3 a:hover {
            color: var(--accent);
        }
        .guide-card .card-summary {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.7;
            margin-bottom: 14px;
            flex: 1;
        }
        .guide-card .card-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-top: 12px;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            font-size: 12.5px;
            color: var(--text-muted);
        }
        .guide-card .card-meta .meta-date {
            display: flex;
            align-items: center;
            gap: 5px;
        }
        .guide-card .card-meta .meta-read {
            display: flex;
            align-items: center;
            gap: 5px;
        }
        .guide-card .card-meta i {
            font-size: 12px;
            color: var(--border-glow);
        }

        /* ===== Featured Topics ===== */
        .topics-section {
            padding: 40px 0;
            background: var(--bg-card);
            border-top: 1px solid rgba(124, 58, 237, 0.2);
            border-bottom: 1px solid rgba(124, 58, 237, 0.2);
        }
        .topics-section .section-header {
            margin-bottom: 22px;
        }
        .topics-section .section-header h2 {
            font-size: 24px;
            font-weight: 800;
            color: var(--text-main);
            letter-spacing: 0.4px;
            margin-bottom: 4px;
        }
        .topics-section .section-header p {
            font-size: 14px;
            color: var(--text-muted);
            margin-bottom: 0;
        }
        .topic-card {
            background: var(--bg-dark);
            border: 1px solid rgba(124, 58, 237, 0.25);
            border-radius: var(--radius-md);
            padding: 22px;
            transition: var(--transition-base);
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }
        .topic-card:hover {
            border-color: var(--primary);
            box-shadow: var(--shadow-hover);
            transform: translateY(-2px);
        }
        .topic-card .topic-icon {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 19px;
            color: #fff;
            margin-bottom: 14px;
            flex-shrink: 0;
        }
        .topic-icon.gradient-main {
            background: var(--gradient-main);
            box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
        }
        .topic-icon.gradient-accent {
            background: var(--gradient-accent);
            box-shadow: 0 4px 14px rgba(255, 45, 120, 0.4);
        }
        .topic-icon.gradient-teal {
            background: linear-gradient(135deg, #00E5C3 0%, #00B8A5 100%);
            box-shadow: 0 4px 14px rgba(0, 229, 195, 0.35);
        }
        .topic-card h3 {
            font-size: 16.5px;
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: 8px;
        }
        .topic-card p {
            font-size: 13.5px;
            color: var(--text-muted);
            margin-bottom: 14px;
            line-height: 1.7;
            flex: 1;
        }
        .topic-card .topic-link {
            font-size: 13.5px;
            font-weight: 600;
            color: var(--accent);
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: var(--transition-base);
        }
        .topic-card .topic-link:hover {
            color: #00D4B5;
            gap: 10px;
        }

        /* ===== Tags Cloud ===== */
        .tags-section {
            padding: 40px 0;
            background: var(--bg-dark);
        }
        .tags-section .section-header {
            margin-bottom: 20px;
        }
        .tags-section .section-header h2 {
            font-size: 24px;
            font-weight: 800;
            color: var(--text-main);
            letter-spacing: 0.4px;
            margin-bottom: 0;
        }
        .tags-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        .tag-pill {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: var(--radius-pill);
            padding: 8px 20px;
            font-size: 13.5px;
            font-weight: 600;
            color: var(--text-muted);
            cursor: pointer;
            transition: var(--transition-base);
        }
        .tag-pill:hover {
            background: rgba(124, 58, 237, 0.2);
            border-color: var(--primary);
            color: var(--text-main);
            box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
        }
        .tag-pill.large {
            font-size: 15px;
            padding: 10px 24px;
            font-weight: 700;
        }
        .tag-pill.highlight {
            background: var(--gradient-main);
            border-color: transparent;
            color: #fff;
            box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
        }
        .tag-pill.highlight:hover {
            background: var(--gradient-main);
            filter: brightness(1.15);
            color: #fff;
        }

        /* ===== FAQ Section ===== */
        .faq-section {
            padding: 40px 0;
            background: var(--bg-card);
            border-top: 1px solid rgba(124, 58, 237, 0.2);
            border-bottom: 1px solid rgba(124, 58, 237, 0.2);
        }
        .faq-section .section-header {
            margin-bottom: 22px;
        }
        .faq-section .section-header h2 {
            font-size: 24px;
            font-weight: 800;
            color: var(--text-main);
            letter-spacing: 0.4px;
            margin-bottom: 4px;
        }
        .faq-section .section-header p {
            font-size: 14px;
            color: var(--text-muted);
            margin-bottom: 0;
        }
        .accordion.game-accordion .accordion-item {
            background: var(--bg-dark);
            border: 1px solid rgba(124, 58, 237, 0.25);
            border-radius: var(--radius-sm) !important;
            margin-bottom: 12px;
            overflow: hidden;
            transition: var(--transition-base);
        }
        .accordion.game-accordion .accordion-item:last-child {
            margin-bottom: 0;
        }
        .accordion.game-accordion .accordion-item:hover {
            border-color: var(--primary);
        }
        .accordion.game-accordion .accordion-header .accordion-button {
            background: transparent;
            color: var(--text-main);
            font-weight: 700;
            font-size: 15px;
            padding: 16px 20px;
            border: none;
            box-shadow: none;
            transition: var(--transition-base);
            border-radius: var(--radius-sm) !important;
        }
        .accordion.game-accordion .accordion-button:not(.collapsed) {
            background: rgba(124, 58, 237, 0.12);
            color: var(--text-main);
            border-bottom: 1px solid rgba(124, 58, 237, 0.2);
        }
        .accordion.game-accordion .accordion-button:focus {
            box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.3);
            outline: none;
        }
        .accordion.game-accordion .accordion-button::after {
            filter: invert(0.7);
        }
        .accordion.game-accordion .accordion-body {
            background: transparent;
            color: var(--text-muted);
            font-size: 14px;
            line-height: 1.8;
            padding: 16px 20px 18px;
        }

        /* ===== CTA Section ===== */
        .cta-section {
            padding: 40px 0 50px;
            background: var(--bg-dark);
        }
        .cta-card {
            background: var(--bg-card);
            border: 1px solid rgba(124, 58, 237, 0.3);
            border-radius: var(--radius-lg);
            padding: 32px 28px;
            position: relative;
            overflow: hidden;
            transition: var(--transition-smooth);
        }
        .cta-card::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(124, 58, 237, 0.3) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
        }
        .cta-card:hover {
            border-color: var(--primary);
            box-shadow: var(--shadow-hover);
        }
        .cta-card h2 {
            font-size: 22px;
            font-weight: 800;
            color: var(--text-main);
            margin-bottom: 8px;
            position: relative;
            z-index: 1;
        }
        .cta-card p {
            font-size: 14.5px;
            color: var(--text-muted);
            margin-bottom: 18px;
            position: relative;
            z-index: 1;
        }
        .cta-form {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            position: relative;
            z-index: 1;
        }
        .cta-input {
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: var(--radius-pill);
            padding: 12px 22px;
            color: var(--text-main);
            font-size: 14px;
            flex: 1;
            min-width: 220px;
            transition: var(--transition-base);
        }
        .cta-input:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.3), 0 0 18px rgba(124, 58, 237, 0.25);
            outline: none;
            background: rgba(124, 58, 237, 0.08);
        }
        .cta-input::placeholder {
            color: var(--text-muted);
            font-size: 13.5px;
        }
        .cta-btn {
            background: var(--gradient-main);
            border: none;
            border-radius: var(--radius-pill);
            padding: 12px 28px;
            font-weight: 700;
            font-size: 14.5px;
            color: #fff;
            letter-spacing: 0.4px;
            box-shadow: 0 4px 16px rgba(124, 58, 237, 0.45);
            transition: var(--transition-base);
            cursor: pointer;
            white-space: nowrap;
        }
        .cta-btn:hover {
            filter: brightness(1.15);
            transform: translateY(-2px);
            box-shadow: 0 8px 28px rgba(124, 58, 237, 0.55);
        }

        /* ===== Footer ===== */
        .game-footer {
            background: #0A0614;
            border-top: 1px solid rgba(124, 58, 237, 0.3);
            padding: 48px 0 24px;
        }
        .game-footer .footer-brand {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 20px;
            font-weight: 900;
            color: var(--text-main);
            margin-bottom: 14px;
        }
        .game-footer .brand-icon-footer {
            width: 38px;
            height: 38px;
            border-radius: 10px;
            background: var(--gradient-main);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 17px;
            color: #fff;
            box-shadow: 0 4px 14px rgba(124, 58, 237, 0.45);
        }
        .game-footer .footer-desc {
            font-size: 13.5px;
            color: var(--text-muted);
            line-height: 1.8;
            margin-bottom: 16px;
        }
        .game-footer .footer-title {
            font-size: 15px;
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: 14px;
            letter-spacing: 0.3px;
        }
        .game-footer .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .game-footer .footer-links a {
            font-size: 13.5px;
            color: var(--text-muted);
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: var(--transition-base);
        }
        .game-footer .footer-links a:hover {
            color: var(--accent);
            transform: translateX(3px);
        }
        .game-footer .footer-links a i {
            font-size: 11px;
            color: var(--border-glow);
        }
        .game-footer .footer-bottom {
            margin-top: 32px;
            padding-top: 18px;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            font-size: 12.5px;
            color: var(--text-muted);
        }
        .game-footer .footer-bottom a {
            color: var(--text-muted);
            transition: var(--transition-base);
        }
        .game-footer .footer-bottom a:hover {
            color: var(--accent);
        }
        .game-footer .footer-bottom .beian-info {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            align-items: center;
        }

        /* ===== Responsive ===== */
        @media (max-width: 1199.98px) {
            .container-custom {
                max-width: 960px;
            }
        }
        @media (max-width: 991.98px) {
            .container-custom {
                max-width: 720px;
            }
            .page-header-section h1 {
                font-size: 30px;
            }
            .game-header .search-box {
                display: none;
            }
            .stats-card .stat-number {
                font-size: 22px;
            }
            .filter-toolbar {
                flex-direction: column;
                align-items: stretch;
            }
            .filter-btn-group {
                flex-wrap: wrap;
            }
        }
        @media (max-width: 767.98px) {
            .container-custom {
                max-width: 540px;
                padding-left: 16px;
                padding-right: 16px;
            }
            .page-header-section {
                padding: 32px 0 28px;
            }
            .page-header-section h1 {
                font-size: 26px;
            }
            .page-header-section .page-subtitle {
                font-size: 14px;
            }
            .stats-bar-section .row {
                row-gap: 12px;
            }
            .guides-list-section .section-header h2,
            .topics-section .section-header h2,
            .tags-section .section-header h2,
            .faq-section .section-header h2 {
                font-size: 20px;
            }
            .guide-card h3 {
                font-size: 15.5px;
            }
            .cta-card {
                padding: 24px 20px;
            }
            .cta-card h2 {
                font-size: 19px;
            }
            .game-footer {
                padding: 32px 0 18px;
            }
            .game-footer .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
            .game-footer .footer-bottom .beian-info {
                flex-direction: column;
                gap: 6px;
            }
        }
        @media (max-width: 519.98px) {
            .page-header-section h1 {
                font-size: 22px;
            }
            .guide-card .card-body {
                padding: 14px 16px 16px;
            }
            .cta-form {
                flex-direction: column;
            }
            .cta-btn {
                width: 100%;
            }
            .filter-btn {
                padding: 6px 14px;
                font-size: 12.5px;
            }
            .tag-pill {
                padding: 6px 14px;
                font-size: 12.5px;
            }
            .tag-pill.large {
                font-size: 13.5px;
                padding: 8px 18px;
            }
        }

/* roulang page: category3 */
:root {
            --primary: #7C3AED;
            --primary-dark: #5B21B6;
            --secondary: #FF2D78;
            --accent: #00E5C3;
            --amber: #FFB800;
            --bg-dark: #0F0A1A;
            --bg-card: #1A1128;
            --bg-card-translucent: rgba(255, 255, 255, 0.04);
            --text-main: #F5F1FA;
            --text-body: #E4DDF0;
            --text-muted: #B9A8D6;
            --border-glow: rgba(124, 58, 237, 0.4);
            --gradient-main: linear-gradient(135deg, #7C3AED 0%, #FF2D78 100%);
            --gradient-accent: linear-gradient(135deg, #FF2D78 0%, #FFB800 100%);
            --gradient-soft: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(255, 45, 120, 0.25));
            --radius-lg: 24px;
            --radius-md: 16px;
            --radius-sm: 12px;
            --radius-pill: 999px;
            --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.35);
            --shadow-hover: 0 12px 32px rgba(124, 58, 237, 0.28);
            --font-sans: 'Noto Sans SC', 'Source Han Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
            --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --transition-smooth: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        body {
            font-family: var(--font-sans);
            background-color: var(--bg-dark);
            color: var(--text-body);
            line-height: 1.75;
            font-size: 15.5px;
            overflow-x: hidden;
            min-height: 100vh;
            margin: 0;
        }

        a {
            color: var(--text-main);
            text-decoration: none;
            transition: var(--transition-base);
        }

        a:hover {
            color: var(--accent);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        button,
        input,
        select,
        textarea {
            font-family: inherit;
            font-size: 100%;
        }

        .container-custom {
            width: 100%;
            max-width: 1240px;
            margin: 0 auto;
            padding-left: 24px;
            padding-right: 24px;
        }

        @media (max-width: 575.98px) {
            .container-custom {
                padding-left: 16px;
                padding-right: 16px;
            }
        }

        /* ===== Top Promo Bar ===== */
        .top-promo-bar {
            background: var(--gradient-accent);
            color: #1a0b1f;
            font-size: 13.5px;
            font-weight: 700;
            min-height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 4px 16px;
            letter-spacing: 0.5px;
            position: relative;
            z-index: 1040;
        }

        .top-promo-bar i {
            margin-right: 8px;
            color: #1a0b1f;
        }

        /* ===== Header / Nav ===== */
        .game-header {
            position: sticky;
            top: 0;
            z-index: 1030;
            background: rgba(15, 10, 26, 0.88);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            border-bottom: 1px solid var(--border-glow);
            min-height: 68px;
            display: flex;
            align-items: center;
        }

        .game-header .navbar {
            padding: 0;
            background: transparent;
            border: none;
            min-height: 68px;
        }

        .game-header .navbar-brand {
            font-weight: 900;
            font-size: 22px;
            letter-spacing: 0.5px;
            color: var(--text-main);
            display: flex;
            align-items: center;
            gap: 10px;
            transition: var(--transition-base);
        }

        .game-header .navbar-brand:hover {
            color: var(--accent);
            transform: translateY(-1px);
        }

        .game-header .brand-icon {
            width: 38px;
            height: 38px;
            border-radius: 10px;
            background: var(--gradient-main);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            color: #fff;
            box-shadow: 0 4px 14px rgba(124, 58, 237, 0.45);
            flex-shrink: 0;
        }

        .game-header .nav-link {
            font-size: 14.5px;
            font-weight: 600;
            color: var(--text-muted);
            padding: 10px 16px !important;
            border-radius: 10px;
            transition: var(--transition-base);
            letter-spacing: 0.3px;
        }

        .game-header .nav-link:hover,
        .game-header .nav-link:focus {
            color: var(--text-main);
            background: rgba(124, 58, 237, 0.15);
        }

        .game-header .nav-link.active {
            color: #fff;
            background: var(--gradient-main);
            box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
        }

        .game-header .search-box {
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: var(--radius-pill);
            padding: 8px 18px;
            color: var(--text-main);
            font-size: 14px;
            min-width: 200px;
            transition: var(--transition-base);
        }

        .game-header .search-box:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.3), 0 0 18px rgba(124, 58, 237, 0.25);
            outline: none;
            background: rgba(124, 58, 237, 0.08);
        }

        .game-header .search-box::placeholder {
            color: var(--text-muted);
            font-size: 13.5px;
        }

        .game-header .icon-btn {
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-muted);
            transition: var(--transition-base);
            font-size: 15px;
        }

        .game-header .icon-btn:hover {
            background: rgba(124, 58, 237, 0.2);
            color: #fff;
            border-color: var(--primary);
            box-shadow: 0 0 14px rgba(124, 58, 237, 0.3);
        }

        .btn-primary-glow {
            background: var(--gradient-main);
            border: none;
            border-radius: var(--radius-pill);
            padding: 10px 24px;
            font-weight: 700;
            font-size: 14.5px;
            color: #fff;
            letter-spacing: 0.5px;
            transition: var(--transition-base);
            box-shadow: 0 6px 18px rgba(124, 58, 237, 0.35);
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .btn-primary-glow:hover,
        .btn-primary-glow:focus {
            background: linear-gradient(135deg, #8b5cf6 0%, #ff4d94 100%);
            box-shadow: 0 10px 26px rgba(124, 58, 237, 0.5);
            color: #fff;
            transform: translateY(-2px);
        }

        .navbar-toggler {
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: var(--text-main);
            background: rgba(255, 255, 255, 0.05);
            width: 44px;
            height: 44px;
            border-radius: 10px;
            display: none;
        }

        .navbar-toggler i {
            font-size: 20px;
        }

        @media (min-width: 992px) {
            .navbar-toggler {
                display: none !important;
            }
        }

        @media (max-width: 991.98px) {
            .navbar-toggler {
                display: flex;
                align-items: center;
                justify-content: center;
            }
            .game-header .collapse {
                display: none !important;
            }
            .game-header .desktop-search {
                display: none;
            }
        }

        /* Offcanvas custom */
        .offcanvas-game {
            background: #150f22;
            color: var(--text-body);
            border-left: 1px solid var(--border-glow);
            width: 300px;
            max-width: 82vw;
        }
        .offcanvas-game .offcanvas-header {
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        .offcanvas-game .offcanvas-title {
            color: var(--text-main);
            font-weight: 800;
        }
        .offcanvas-game .nav-link {
            color: var(--text-body);
            padding: 10px 0;
            border-bottom: 1px solid rgba(255,255,255,0.06);
        }
        .offcanvas-game .nav-link.active {
            color: var(--accent);
        }

        /* ===== Category Main ===== */
        .category-main {
            padding: 32px 0 60px;
        }

        .section-block {
            margin-bottom: 48px;
        }

        .section-title {
            font-size: 26px;
            font-weight: 800;
            color: var(--text-main);
            letter-spacing: 0.5px;
            line-height: 1.3;
            margin-bottom: 12px;
        }
        .section-subtitle {
            color: var(--text-muted);
            font-size: 15.5px;
            max-width: 800px;
            margin-bottom: 24px;
        }

        /* Breadcrumb + H1 */
        .category-breadcrumb {
            background: linear-gradient(135deg, rgba(124,58,237,0.12) 0%, rgba(255,45,120,0.08) 100%);
            border: 1px solid var(--border-glow);
            border-radius: var(--radius-lg);
            padding: 24px 28px;
            margin-bottom: 48px;
            position: relative;
            overflow: hidden;
        }
        .category-breadcrumb .breadcrumb {
            margin-bottom: 8px;
        }
        .breadcrumb-item a {
            color: var(--text-muted);
            font-weight: 500;
        }
        .breadcrumb-item a:hover {
            color: var(--accent);
        }
        .breadcrumb-item.active {
            color: var(--text-main);
        }
        .breadcrumb-item + .breadcrumb-item::before {
            color: var(--text-muted);
        }
        .category-breadcrumb h1 {
            font-size: 36px;
            font-weight: 900;
            color: var(--text-main);
            line-height: 1.25;
            margin: 0;
            letter-spacing: 1px;
        }
        .category-breadcrumb .h1-glow {
            position: absolute;
            width: 200px;
            height: 200px;
            background: var(--gradient-soft);
            filter: blur(80px);
            border-radius: 50%;
            top: -60px;
            right: -40px;
            pointer-events: none;
        }

        /* Intro Stats */
        .intro-stats-card {
            background: var(--bg-card);
            border: 1px solid rgba(255,255,255,0.06);
            border-radius: var(--radius-lg);
            padding: 24px 28px;
            box-shadow: var(--shadow-card);
            transition: var(--transition-base);
        }
        .intro-stats-card:hover {
            border-color: var(--border-glow);
            box-shadow: var(--shadow-hover);
        }
        .intro-text {
            color: var(--text-body);
            font-size: 16.5px;
            line-height: 1.8;
            margin-bottom: 20px;
        }
        .stat-badge-list {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
        }
        .stat-badge-item {
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: var(--radius-pill);
            padding: 8px 20px;
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 600;
            color: var(--text-main);
        }
        .stat-badge-item .stat-number {
            font-weight: 900;
            font-size: 20px;
            color: var(--accent);
        }
        .stat-badge-item .stat-label {
            font-size: 13.5px;
            color: var(--text-muted);
        }

        /* Filter Toolbar */
        .filter-toolbar {
            background: var(--bg-card-translucent);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: var(--radius-md);
            padding: 12px 18px;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 12px;
        }
        .filter-group {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            align-items: center;
        }
        .filter-group .btn-filter {
            background: transparent;
            border: 1px solid rgba(255,255,255,0.15);
            border-radius: var(--radius-pill);
            padding: 6px 16px;
            font-size: 13.5px;
            font-weight: 600;
            color: var(--text-muted);
            transition: var(--transition-base);
        }
        .filter-group .btn-filter:hover,
        .filter-group .btn-filter:focus,
        .filter-group .btn-filter.active {
            background: var(--gradient-main);
            color: #fff;
            border-color: transparent;
            box-shadow: 0 4px 12px rgba(124,58,237,0.3);
        }
        .filter-select {
            background: rgba(255,255,255,0.06);
            border: 1px solid rgba(255,255,255,0.12);
            border-radius: var(--radius-pill);
            padding: 6px 16px;
            color: var(--text-main);
            font-size: 13.5px;
            outline: none;
        }
        .filter-select option {
            background: #1a1128;
        }

        /* Hot Game List */
        .hot-game-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }
        @media (max-width: 991.98px) {
            .hot-game-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 575.98px) {
            .hot-game-grid {
                grid-template-columns: 1fr;
            }
        }
        .game-card {
            background: var(--bg-card);
            border: 1px solid rgba(255,255,255,0.06);
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-card);
            transition: var(--transition-smooth);
            display: flex;
            flex-direction: column;
        }
        .game-card:hover {
            transform: translateY(-6px);
            border-color: var(--border-glow);
            box-shadow: var(--shadow-hover);
        }
        .game-card .card-img-wrap {
            aspect-ratio: 16/9;
            overflow: hidden;
            background: #0d0814;
            position: relative;
        }
        .game-card .card-img-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }
        .game-card:hover .card-img-wrap img {
            transform: scale(1.05);
        }
        .game-card .card-body {
            padding: 18px 20px 20px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .game-card .game-title {
            font-size: 18px;
            font-weight: 800;
            color: var(--text-main);
            margin-bottom: 6px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .game-card .game-title .rank-badge {
            background: var(--gradient-main);
            border-radius: 8px;
            color: #fff;
            font-size: 11px;
            font-weight: 800;
            padding: 2px 8px;
        }
        .game-card .game-desc {
            color: var(--text-muted);
            font-size: 14px;
            margin-bottom: 12px;
            flex: 1;
        }
        .game-card .game-meta {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
            margin-bottom: 0;
        }
        .game-card .game-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }
        .game-card .game-tag {
            background: rgba(255,255,255,0.06);
            color: var(--text-muted);
            border-radius: 20px;
            padding: 2px 10px;
            font-size: 12px;
            font-weight: 600;
        }
        .game-card .game-tag.hot {
            background: rgba(255,45,120,0.2);
            color: #ff7aa8;
        }
        .game-card .game-stats {
            color: var(--accent);
            font-size: 13px;
            font-weight: 700;
        }

        .load-more-wrap {
            text-align: center;
            margin-top: 32px;
        }
        .btn-outline-glow {
            background: transparent;
            border: 1px solid var(--border-glow);
            color: var(--text-main);
            border-radius: var(--radius-pill);
            padding: 10px 28px;
            font-weight: 700;
            font-size: 14.5px;
            transition: var(--transition-base);
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        .btn-outline-glow:hover {
            background: rgba(124,58,237,0.15);
            border-color: var(--primary);
            box-shadow: 0 8px 20px rgba(124,58,237,0.25);
            color: #fff;
            transform: translateY(-2px);
        }

        /* Featured Topics */
        .featured-topic-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
        }
        @media (max-width: 991.98px) {
            .featured-topic-grid {
                grid-template-columns: 1fr;
            }
        }
        .topic-card {
            background: var(--bg-card);
            border: 1px solid rgba(255,255,255,0.06);
            border-radius: var(--radius-md);
            padding: 18px 20px;
            transition: var(--transition-base);
        }
        .topic-card:hover {
            border-color: var(--border-glow);
            box-shadow: var(--shadow-hover);
        }
        .topic-card .topic-icon {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            background: var(--gradient-soft);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--accent);
            font-size: 20px;
            margin-bottom: 12px;
        }
        .topic-card h5 {
            font-size: 17px;
            font-weight: 800;
            color: var(--text-main);
            margin-bottom: 6px;
        }
        .topic-card p {
            color: var(--text-muted);
            font-size: 14px;
            margin-bottom: 10px;
        }
        .topic-card a {
            color: var(--accent);
            font-weight: 700;
            font-size: 14px;
        }

        /* Tag Cloud */
        .tag-cloud-wrap {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        .tag-cloud-wrap .tag-cloud-item {
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: var(--radius-pill);
            padding: 6px 18px;
            font-size: 14px;
            font-weight: 600;
            color: var(--text-muted);
            transition: var(--transition-base);
            cursor: default;
        }
        .tag-cloud-item:hover {
            background: rgba(124,58,237,0.2);
            color: #fff;
            border-color: var(--border-glow);
            transform: translateY(-2px);
            box-shadow: 0 6px 14px rgba(124,58,237,0.2);
        }

        /* FAQ */
        .faq-accordion .accordion-item {
            background: var(--bg-card);
            border: 1px solid rgba(255,255,255,0.06);
            border-radius: var(--radius-md) !important;
            margin-bottom: 12px;
            overflow: hidden;
        }
        .faq-accordion .accordion-button {
            background: transparent;
            color: var(--text-main);
            font-weight: 700;
            font-size: 16px;
            padding: 18px 22px;
            border: none;
            box-shadow: none;
        }
        .faq-accordion .accordion-button:not(.collapsed) {
            background: rgba(124,58,237,0.08);
            color: var(--text-main);
            border-bottom: 1px solid rgba(255,255,255,0.06);
        }
        .faq-accordion .accordion-button:focus {
            box-shadow: 0 0 0 3px rgba(124,58,237,0.3);
        }
        .faq-accordion .accordion-button::after {
            filter: invert(1);
        }
        .faq-accordion .accordion-body {
            color: var(--text-body);
            padding: 16px 22px 20px;
            background: rgba(0,0,0,0.12);
        }

        /* CTA */
        .cta-card {
            background: var(--gradient-main);
            border-radius: var(--radius-lg);
            padding: 36px 28px;
            text-align: center;
            color: #fff;
            box-shadow: 0 16px 40px rgba(124,58,237,0.35);
            position: relative;
            overflow: hidden;
        }
        .cta-card h3 {
            font-size: 26px;
            font-weight: 900;
            margin-bottom: 10px;
            color: #fff;
        }
        .cta-card p {
            font-size: 16px;
            margin-bottom: 24px;
            opacity: 0.92;
        }
        .cta-card .btn-cta-light {
            background: #fff;
            border: none;
            border-radius: var(--radius-pill);
            padding: 12px 32px;
            font-weight: 800;
            font-size: 15.5px;
            color: var(--primary-dark);
            transition: var(--transition-base);
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        .cta-card .btn-cta-light:hover {
            background: #f5f1fa;
            color: #5B21B6;
            transform: translateY(-2px);
            box-shadow: 0 10px 24px rgba(0,0,0,0.2);
        }
        .cta-card .cta-glow {
            position: absolute;
            width: 240px;
            height: 240px;
            background: rgba(255,255,255,0.15);
            filter: blur(80px);
            border-radius: 50%;
            top: -80px;
            left: -40px;
            pointer-events: none;
        }

        /* ===== Footer ===== */
        .game-footer {
            background: #0b0713;
            border-top: 1px solid var(--border-glow);
            padding: 48px 0 32px;
            margin-top: 40px;
        }
        .footer-brand {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 20px;
            font-weight: 900;
            color: var(--text-main);
            margin-bottom: 16px;
        }
        .brand-icon-footer {
            width: 38px;
            height: 38px;
            border-radius: 10px;
            background: var(--gradient-main);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            color: #fff;
            flex-shrink: 0;
        }
        .footer-desc {
            color: var(--text-muted);
            font-size: 14px;
            line-height: 1.8;
        }
        .footer-title {
            font-size: 16px;
            font-weight: 800;
            color: var(--text-main);
            margin-bottom: 16px;
            letter-spacing: 0.5px;
        }
        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .footer-links li {
            margin-bottom: 8px;
        }
        .footer-links a {
            color: var(--text-muted);
            font-size: 14px;
            transition: var(--transition-base);
        }
        .footer-links a i {
            width: 16px;
            margin-right: 6px;
            color: var(--primary);
        }
        .footer-links a:hover {
            color: var(--accent);
            padding-left: 4px;
        }
        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.08);
            margin-top: 32px;
            padding-top: 20px;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }
        .footer-bottom .copyright {
            color: var(--text-muted);
            font-size: 13.5px;
        }
        .footer-bottom .footer-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            align-items: center;
            font-size: 13.5px;
            color: var(--text-muted);
        }
        .footer-bottom a {
            color: var(--text-muted);
            transition: var(--transition-base);
        }
        .footer-bottom a:hover {
            color: var(--accent);
        }

        /* Responsive tweaks */
        @media (max-width: 767.98px) {
            .category-breadcrumb h1 {
                font-size: 28px;
            }
            .section-title {
                font-size: 22px;
            }
            .intro-stats-card {
                padding: 18px;
            }
            .stat-badge-list {
                gap: 8px;
            }
            .stat-badge-item {
                padding: 6px 14px;
            }
            .stat-badge-item .stat-number {
                font-size: 18px;
            }
            .filter-toolbar {
                padding: 10px 14px;
            }
            .game-card .game-title {
                font-size: 16px;
            }
            .cta-card {
                padding: 28px 18px;
            }
        }
        @media (min-width: 992px) and (max-width: 1199.98px) {
            .hot-game-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

/* roulang page: category4 */
:root {
            --primary: #7C3AED;
            --primary-dark: #5B21B6;
            --secondary: #FF2D78;
            --accent: #00E5C3;
            --amber: #FFB800;
            --bg-dark: #0F0A1A;
            --bg-card: #1A1128;
            --bg-card-translucent: rgba(255, 255, 255, 0.04);
            --text-main: #F5F1FA;
            --text-body: #E4DDF0;
            --text-muted: #B9A8D6;
            --border-glow: rgba(124, 58, 237, 0.4);
            --gradient-main: linear-gradient(135deg, #7C3AED 0%, #FF2D78 100%);
            --gradient-accent: linear-gradient(135deg, #FF2D78 0%, #FFB800 100%);
            --gradient-soft: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(255, 45, 120, 0.25));
            --radius-lg: 24px;
            --radius-md: 16px;
            --radius-sm: 12px;
            --radius-pill: 999px;
            --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.35);
            --shadow-hover: 0 12px 32px rgba(124, 58, 237, 0.28);
            --font-sans: 'Noto Sans SC', 'Source Han Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
            --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --transition-smooth: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        * {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        body {
            font-family: var(--font-sans);
            background-color: var(--bg-dark);
            color: var(--text-body);
            line-height: 1.75;
            font-size: 15.5px;
            overflow-x: hidden;
            min-height: 100vh;
            margin: 0;
        }

        a {
            color: var(--text-main);
            text-decoration: none;
            transition: var(--transition-base);
        }

        a:hover {
            color: var(--accent);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        button,
        input,
        select,
        textarea {
            font-family: inherit;
        }

        .container-custom {
            width: 100%;
            max-width: 1240px;
            margin: 0 auto;
            padding-left: 24px;
            padding-right: 24px;
        }

        /* ===== Header / Nav ===== */
        .game-header {
            position: sticky;
            top: 0;
            z-index: 1030;
            background: rgba(15, 10, 26, 0.85);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            border-bottom: 1px solid var(--border-glow);
            min-height: 68px;
            display: flex;
            align-items: center;
        }

        .game-header .navbar {
            padding: 0;
            background: transparent;
            border: none;
            min-height: 68px;
        }

        .game-header .navbar-brand {
            font-weight: 900;
            font-size: 22px;
            letter-spacing: 0.5px;
            color: var(--text-main);
            display: flex;
            align-items: center;
            gap: 10px;
            transition: var(--transition-base);
        }

        .game-header .navbar-brand:hover {
            color: var(--accent);
            transform: translateY(-1px);
        }

        .game-header .brand-icon {
            width: 38px;
            height: 38px;
            border-radius: 10px;
            background: var(--gradient-main);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            color: #fff;
            box-shadow: 0 4px 14px rgba(124, 58, 237, 0.45);
            flex-shrink: 0;
        }

        .game-header .nav-link {
            font-size: 14.5px;
            font-weight: 600;
            color: var(--text-muted);
            padding: 10px 16px !important;
            border-radius: 10px;
            transition: var(--transition-base);
            letter-spacing: 0.3px;
        }

        .game-header .nav-link:hover,
        .game-header .nav-link:focus {
            color: var(--text-main);
            background: rgba(124, 58, 237, 0.15);
        }

        .game-header .nav-link.active {
            color: #fff;
            background: var(--gradient-main);
            box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
        }

        .game-header .search-box {
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: var(--radius-pill);
            padding: 8px 18px;
            color: var(--text-main);
            font-size: 14px;
            min-width: 200px;
            transition: var(--transition-base);
        }

        .game-header .search-box:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.3), 0 0 18px rgba(124, 58, 237, 0.25);
            outline: none;
            background: rgba(124, 58, 237, 0.08);
        }

        .game-header .search-box::placeholder {
            color: var(--text-muted);
            font-size: 13.5px;
        }

        .game-header .icon-btn {
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-muted);
            transition: var(--transition-base);
            font-size: 15px;
        }

        .game-header .icon-btn:hover {
            background: rgba(124, 58, 237, 0.2);
            color: #fff;
            border-color: var(--primary);
            box-shadow: 0 0 14px rgba(124, 58, 237, 0.35);
        }

        .btn-primary-glow {
            background: var(--gradient-main);
            border: none;
            color: #fff;
            font-weight: 700;
            font-size: 14px;
            padding: 10px 22px;
            border-radius: var(--radius-pill);
            transition: var(--transition-base);
            box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
            white-space: nowrap;
            letter-spacing: 0.3px;
        }

        .btn-primary-glow:hover,
        .btn-primary-glow:focus {
            background: var(--gradient-accent);
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(255, 45, 120, 0.45);
        }

        .navbar-toggler {
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: var(--text-main);
            width: 42px;
            height: 42px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.06);
        }

        .navbar-toggler:focus {
            box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.3);
        }

        /* Offcanvas mobile drawer */
        .offcanvas.custom-drawer {
            background: var(--bg-dark);
            border-left: 1px solid var(--border-glow);
            width: 300px;
        }

        .offcanvas.custom-drawer .offcanvas-header {
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            padding: 16px 20px;
        }

        .offcanvas.custom-drawer .offcanvas-title {
            color: var(--text-main);
            font-weight: 800;
            font-size: 20px;
        }

        .offcanvas.custom-drawer .btn-close {
            filter: invert(1);
            opacity: 0.7;
        }

        .offcanvas.custom-drawer .offcanvas-body {
            padding: 20px;
        }

        .offcanvas.custom-drawer .drawer-nav {
            list-style: none;
            padding: 0;
            margin: 0 0 20px;
        }

        .offcanvas.custom-drawer .drawer-nav li {
            margin-bottom: 6px;
        }

        .offcanvas.custom-drawer .drawer-nav a {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 16px;
            border-radius: 12px;
            font-weight: 600;
            font-size: 15px;
            color: var(--text-body);
            transition: var(--transition-base);
        }

        .offcanvas.custom-drawer .drawer-nav a:hover,
        .offcanvas.custom-drawer .drawer-nav a.active {
            background: var(--gradient-soft);
            color: #fff;
        }

        .offcanvas.custom-drawer .drawer-nav a.active {
            border: 1px solid var(--border-glow);
        }

        /* ===== Page Header (Breadcrumb + H1) ===== */
        .page-header {
            background: linear-gradient(180deg, rgba(124, 58, 237, 0.08) 0%, var(--bg-dark) 100%);
            padding: 56px 0 40px;
            border-bottom: 1px solid rgba(124, 58, 237, 0.15);
            position: relative;
            overflow: hidden;
        }

        .page-header::before {
            content: '';
            position: absolute;
            top: -80px;
            right: -80px;
            width: 300px;
            height: 300px;
            background: var(--gradient-main);
            opacity: 0.12;
            border-radius: 50%;
            filter: blur(60px);
            pointer-events: none;
        }

        .breadcrumb-custom {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13.5px;
            color: var(--text-muted);
            margin-bottom: 16px;
            flex-wrap: wrap;
        }

        .breadcrumb-custom a {
            color: var(--text-muted);
            transition: var(--transition-base);
        }

        .breadcrumb-custom a:hover {
            color: var(--accent);
        }

        .breadcrumb-custom .sep {
            opacity: 0.5;
            font-size: 11px;
        }

        .breadcrumb-custom .current {
            color: var(--text-main);
            font-weight: 600;
        }

        .page-header h1 {
            font-size: clamp(28px, 4vw, 40px);
            font-weight: 900;
            color: var(--text-main);
            line-height: 1.25;
            margin-bottom: 12px;
            letter-spacing: -0.5px;
            position: relative;
            z-index: 1;
        }

        .page-header .lead-text {
            font-size: 16px;
            color: var(--text-muted);
            max-width: 700px;
            line-height: 1.8;
            position: relative;
            z-index: 1;
        }

        /* ===== Section Common ===== */
        .section-block {
            padding: 56px 0;
        }

        .section-block.alt-bg {
            background: rgba(255, 255, 255, 0.02);
            border-top: 1px solid rgba(124, 58, 237, 0.12);
            border-bottom: 1px solid rgba(124, 58, 237, 0.12);
        }

        .section-title {
            font-size: clamp(22px, 3vw, 28px);
            font-weight: 800;
            color: var(--text-main);
            margin-bottom: 8px;
            letter-spacing: -0.3px;
        }

        .section-subtitle {
            font-size: 15px;
            color: var(--text-muted);
            margin-bottom: 32px;
            line-height: 1.7;
        }

        .section-head {
            margin-bottom: 32px;
        }

        .section-head .section-title {
            margin-bottom: 8px;
        }

        .section-head .section-subtitle {
            margin-bottom: 0;
        }

        /* ===== Stats Strip ===== */
        .stats-strip {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            margin-top: 28px;
        }

        .stat-badge {
            display: flex;
            align-items: center;
            gap: 12px;
            background: var(--bg-card);
            border: 1px solid rgba(124, 58, 237, 0.25);
            border-radius: var(--radius-sm);
            padding: 14px 20px;
            transition: var(--transition-base);
            flex: 1 1 auto;
            min-width: 140px;
        }

        .stat-badge:hover {
            border-color: var(--primary);
            box-shadow: 0 6px 20px rgba(124, 58, 237, 0.2);
            transform: translateY(-2px);
        }

        .stat-badge .stat-num {
            font-size: 24px;
            font-weight: 900;
            color: var(--text-main);
            line-height: 1;
            letter-spacing: -0.5px;
        }

        .stat-badge .stat-label {
            font-size: 13px;
            color: var(--text-muted);
            font-weight: 500;
            line-height: 1.4;
        }

        /* ===== Filter Toolbar ===== */
        .filter-toolbar {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 12px;
            background: var(--bg-card);
            border: 1px solid rgba(124, 58, 237, 0.2);
            border-radius: var(--radius-md);
            padding: 14px 18px;
        }

        .filter-toolbar .filter-label {
            font-size: 13.5px;
            font-weight: 700;
            color: var(--text-main);
            display: flex;
            align-items: center;
            gap: 6px;
            margin-right: 4px;
        }

        .filter-group {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .filter-btn {
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.12);
            color: var(--text-muted);
            border-radius: var(--radius-pill);
            padding: 7px 16px;
            font-size: 13px;
            font-weight: 600;
            transition: var(--transition-base);
            white-space: nowrap;
        }

        .filter-btn:hover {
            background: rgba(124, 58, 237, 0.2);
            color: var(--text-main);
            border-color: var(--primary);
        }

        .filter-btn.active {
            background: var(--gradient-main);
            color: #fff;
            border-color: transparent;
            box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
        }

        .filter-btn:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.3);
        }

        /* ===== Community List Cards ===== */
        .community-list {
            display: flex;
            flex-direction: column;
            gap: 18px;
        }

        .community-card {
            background: var(--bg-card);
            border: 1px solid rgba(124, 58, 237, 0.2);
            border-radius: var(--radius-md);
            padding: 20px 24px;
            display: flex;
            flex-wrap: wrap;
            gap: 18px;
            align-items: flex-start;
            transition: var(--transition-smooth);
            position: relative;
            overflow: hidden;
        }

        .community-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: var(--gradient-main);
            opacity: 0;
            transition: var(--transition-base);
        }

        .community-card:hover {
            border-color: var(--primary);
            box-shadow: var(--shadow-hover);
            transform: translateY(-3px);
        }

        .community-card:hover::before {
            opacity: 1;
        }

        .community-card .card-avatar {
            width: 52px;
            height: 52px;
            border-radius: 50%;
            flex-shrink: 0;
            object-fit: cover;
            border: 2px solid rgba(124, 58, 237, 0.4);
            background: var(--bg-dark);
        }

        .community-card .card-content {
            flex: 1;
            min-width: 0;
        }

        .community-card .card-title {
            font-size: 17px;
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: 6px;
            line-height: 1.5;
            transition: var(--transition-base);
        }

        .community-card .card-title a {
            color: inherit;
        }

        .community-card .card-title a:hover {
            color: var(--accent);
        }

        .community-card .card-excerpt {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.7;
            margin-bottom: 10px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .community-card .card-meta {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 14px;
            font-size: 12.5px;
            color: var(--text-muted);
        }

        .community-card .card-meta .meta-item {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .community-card .card-meta i {
            color: var(--primary);
            opacity: 0.7;
            font-size: 12px;
        }

        .community-card .card-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-top: 8px;
        }

        .community-card .tag-pill {
            background: rgba(124, 58, 237, 0.15);
            color: var(--text-muted);
            border-radius: var(--radius-pill);
            padding: 3px 12px;
            font-size: 12px;
            font-weight: 600;
            transition: var(--transition-base);
            border: 1px solid rgba(124, 58, 237, 0.2);
        }

        .community-card .tag-pill:hover {
            background: rgba(124, 58, 237, 0.3);
            color: var(--text-main);
        }

        .community-card .heat-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(255, 45, 120, 0.15);
            color: #FF6B9D;
            border-radius: var(--radius-pill);
            padding: 4px 12px;
            font-size: 12px;
            font-weight: 700;
            border: 1px solid rgba(255, 45, 120, 0.3);
            flex-shrink: 0;
        }

        .community-card .heat-badge i {
            font-size: 11px;
        }

        /* ===== Featured Topics ===== */
        .featured-topics {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
        }

        .topic-card {
            background: var(--bg-card);
            border: 1px solid rgba(124, 58, 237, 0.2);
            border-radius: var(--radius-md);
            overflow: hidden;
            transition: var(--transition-smooth);
            cursor: pointer;
        }

        .topic-card:hover {
            border-color: var(--primary);
            box-shadow: var(--shadow-hover);
            transform: translateY(-4px);
        }

        .topic-card .topic-cover {
            width: 100%;
            height: 160px;
            object-fit: cover;
            background: var(--bg-dark);
        }

        .topic-card .topic-body {
            padding: 18px 20px 20px;
        }

        .topic-card .topic-title {
            font-size: 17px;
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: 8px;
            line-height: 1.5;
        }

        .topic-card .topic-desc {
            font-size: 13.5px;
            color: var(--text-muted);
            line-height: 1.7;
            margin-bottom: 12px;
        }

        .topic-card .topic-link {
            font-size: 13.5px;
            font-weight: 700;
            color: var(--accent);
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: var(--transition-base);
        }

        .topic-card .topic-link:hover {
            gap: 10px;
            color: var(--text-main);
        }

        /* ===== Tag Cloud ===== */
        .tag-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .tag-cloud .cloud-tag {
            background: var(--bg-card);
            border: 1px solid rgba(124, 58, 237, 0.3);
            color: var(--text-body);
            border-radius: var(--radius-pill);
            padding: 8px 18px;
            font-size: 13.5px;
            font-weight: 600;
            transition: var(--transition-base);
        }

        .tag-cloud .cloud-tag:hover {
            background: var(--gradient-main);
            color: #fff;
            border-color: transparent;
            box-shadow: 0 6px 18px rgba(124, 58, 237, 0.35);
            transform: translateY(-2px);
        }

        /* ===== FAQ ===== */
        .faq-section .accordion-item {
            background: var(--bg-card);
            border: 1px solid rgba(124, 58, 237, 0.2);
            border-radius: var(--radius-sm) !important;
            margin-bottom: 12px;
            overflow: hidden;
        }

        .faq-section .accordion-button {
            background: transparent;
            color: var(--text-main);
            font-weight: 700;
            font-size: 15.5px;
            padding: 18px 20px;
            border: none;
            box-shadow: none;
            border-radius: var(--radius-sm) !important;
            transition: var(--transition-base);
        }

        .faq-section .accordion-button:not(.collapsed) {
            background: var(--gradient-soft);
            color: #fff;
            box-shadow: none;
        }

        .faq-section .accordion-button:focus {
            box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.3);
            border-color: var(--primary);
        }

        .faq-section .accordion-button::after {
            filter: invert(0.7);
            transition: var(--transition-base);
        }

        .faq-section .accordion-button:not(.collapsed)::after {
            filter: invert(0);
        }

        .faq-section .accordion-body {
            background: rgba(255, 255, 255, 0.02);
            color: var(--text-muted);
            font-size: 14.5px;
            line-height: 1.8;
            padding: 16px 20px 20px;
        }

        /* ===== CTA Section ===== */
        .cta-card {
            background: var(--gradient-main);
            border-radius: var(--radius-lg);
            padding: 36px 40px;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            box-shadow: 0 12px 40px rgba(124, 58, 237, 0.35);
            position: relative;
            overflow: hidden;
        }

        .cta-card::after {
            content: '';
            position: absolute;
            top: -40px;
            right: -40px;
            width: 180px;
            height: 180px;
            background: rgba(255, 255, 255, 0.15);
            border-radius: 50%;
            pointer-events: none;
        }

        .cta-card .cta-text {
            flex: 1;
            min-width: 240px;
        }

        .cta-card .cta-title {
            font-size: 22px;
            font-weight: 800;
            color: #fff;
            margin-bottom: 8px;
            letter-spacing: -0.3px;
        }

        .cta-card .cta-desc {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.85);
            line-height: 1.7;
            max-width: 500px;
        }

        .cta-card .cta-action {
            flex-shrink: 0;
            position: relative;
            z-index: 1;
        }

        .btn-cta-light {
            background: #fff;
            color: var(--primary-dark);
            font-weight: 800;
            font-size: 15px;
            padding: 14px 28px;
            border-radius: var(--radius-pill);
            border: none;
            transition: var(--transition-base);
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
            letter-spacing: 0.3px;
        }

        .btn-cta-light:hover {
            background: var(--bg-dark);
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
        }

        /* ===== Footer ===== */
        .game-footer {
            background: rgba(15, 10, 26, 0.95);
            border-top: 1px solid var(--border-glow);
            padding: 56px 0 28px;
            margin-top: 0;
            position: relative;
        }

        .game-footer .footer-brand {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 20px;
            font-weight: 900;
            color: var(--text-main);
            margin-bottom: 12px;
        }

        .game-footer .brand-icon-footer {
            width: 36px;
            height: 36px;
            border-radius: 10px;
            background: var(--gradient-main);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            color: #fff;
        }

        .game-footer .footer-desc {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.7;
            margin-bottom: 16px;
        }

        .game-footer .footer-title {
            font-size: 15px;
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: 16px;
            letter-spacing: 0.3px;
        }

        .game-footer .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .game-footer .footer-links li {
            margin-bottom: 10px;
        }

        .game-footer .footer-links a {
            font-size: 14px;
            color: var(--text-muted);
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: var(--transition-base);
        }

        .game-footer .footer-links a i {
            font-size: 11px;
            opacity: 0.6;
        }

        .game-footer .footer-links a:hover {
            color: var(--accent);
            padding-left: 4px;
        }

        .game-footer .icon-btn {
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 50%;
            width: 38px;
            height: 38px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-muted);
            transition: var(--transition-base);
            font-size: 14px;
        }

        .game-footer .icon-btn:hover {
            background: rgba(124, 58, 237, 0.25);
            color: #fff;
            border-color: var(--primary);
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            margin-top: 32px;
            padding-top: 20px;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            font-size: 13px;
            color: var(--text-muted);
        }

        .footer-bottom a {
            color: var(--text-muted);
            transition: var(--transition-base);
            font-size: 13px;
        }

        .footer-bottom a:hover {
            color: var(--accent);
        }

        .footer-bottom .footer-meta {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 12px;
        }

        /* ===== Responsive ===== */
        @media (max-width: 991.98px) {
            .game-header .search-box {
                min-width: 140px;
            }

            .section-block {
                padding: 40px 0;
            }

            .community-card {
                padding: 16px 18px;
            }

            .cta-card {
                padding: 28px 24px;
            }
        }

        @media (max-width: 767.98px) {
            .container-custom {
                padding-left: 16px;
                padding-right: 16px;
            }

            .page-header {
                padding: 32px 0 28px;
            }

            .stats-strip {
                gap: 10px;
            }

            .stat-badge {
                padding: 10px 14px;
                min-width: 110px;
            }

            .stat-badge .stat-num {
                font-size: 20px;
            }

            .community-card {
                flex-direction: column;
                gap: 12px;
            }

            .community-card .card-avatar {
                width: 44px;
                height: 44px;
            }

            .community-card .card-title {
                font-size: 15.5px;
            }

            .filter-toolbar {
                padding: 10px 14px;
                gap: 8px;
            }

            .filter-btn {
                padding: 6px 12px;
                font-size: 12px;
            }

            .cta-card {
                flex-direction: column;
                text-align: center;
            }

            .cta-card .cta-action {
                width: 100%;
            }

            .btn-cta-light {
                width: 100%;
            }

            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }

            .footer-bottom .footer-meta {
                justify-content: center;
            }
        }

        @media (max-width: 519.98px) {
            .game-header .navbar-brand {
                font-size: 18px;
            }

            .game-header .brand-icon {
                width: 32px;
                height: 32px;
                font-size: 15px;
            }

            .page-header h1 {
                font-size: 26px;
            }

            .section-title {
                font-size: 20px;
            }

            .stats-strip {
                flex-direction: column;
            }

            .stat-badge {
                width: 100%;
            }

            .featured-topics {
                grid-template-columns: 1fr;
            }

            .tag-cloud {
                gap: 8px;
            }

            .tag-cloud .cloud-tag {
                padding: 6px 14px;
                font-size: 12.5px;
            }
        }

/* roulang: framework shim */
/* 覆盖 Bootstrap 等对 a/btn 的全局默认，避免导航出现下划线/蓝链 */
.site-header a,.site-header a:hover,.navbar a,.navbar a:hover,.nav-links a,.nav-links a:hover,header nav a,header nav a:hover{text-decoration:none}
.site-header .btn,.navbar .btn,.nav-cta{text-decoration:none}
