/* roulang page: index */
:root {
            --color-primary: #1a56db;
            --color-primary-dark: #1347b8;
            --color-primary-light: #e8f0fe;
            --color-accent: #0ea5e9;
            --color-accent-dark: #0284c7;
            --color-bg: #f1f5f9;
            --color-surface: #ffffff;
            --color-surface-alt: #f8fafc;
            --color-text: #1e293b;
            --color-text-secondary: #64748b;
            --color-text-muted: #94a3b8;
            --color-border: #e2e8f0;
            --color-border-light: #f1f5f9;
            --color-success: #10b981;
            --color-warning: #f59e0b;
            --color-danger: #ef4444;
            --radius-sm: 8px;
            --radius: 12px;
            --radius-lg: 16px;
            --radius-xl: 20px;
            --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
            --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.04);
            --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.10), 0 4px 8px rgba(0, 0, 0, 0.05);
            --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.06);
            --sidebar-width: 260px;
            --header-height: 0px;
            --transition-fast: 0.15s ease;
            --transition: 0.25s ease;
            --transition-slow: 0.35s ease;
            --font-sans: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
        }
        *,
        *::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: var(--color-bg);
            color: var(--color-text);
            line-height: 1.6;
            margin: 0;
            padding: 0;
            min-height: 100vh;
            display: flex;
        }
        a {
            color: var(--color-primary);
            text-decoration: none;
            transition: color var(--transition-fast);
        }
        a:hover {
            color: var(--color-primary-dark);
            text-decoration: none;
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        button,
        input,
        select,
        textarea {
            font-family: inherit;
        }
        :focus-visible {
            outline: 2px solid var(--color-primary);
            outline-offset: 2px;
            border-radius: 4px;
        }
        .sidebar {
            position: fixed;
            top: 0;
            left: 0;
            width: var(--sidebar-width);
            height: 100vh;
            background: #0f172a;
            color: #e2e8f0;
            z-index: 1040;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            overflow-x: hidden;
            transition: transform var(--transition);
            box-shadow: 4px 0 24px rgba(0, 0, 0, 0.18);
            scrollbar-width: thin;
            scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
        }
        .sidebar::-webkit-scrollbar {
            width: 5px;
        }
        .sidebar::-webkit-scrollbar-track {
            background: transparent;
        }
        .sidebar::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.15);
            border-radius: 10px;
        }
        .sidebar-brand {
            padding: 22px 24px 18px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            flex-shrink: 0;
        }
        .sidebar-brand a {
            color: #ffffff;
            font-size: 1.35rem;
            font-weight: 700;
            letter-spacing: 0.02em;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .sidebar-brand a:hover {
            color: #ffffff;
        }
        .sidebar-brand .brand-icon {
            width: 38px;
            height: 38px;
            background: var(--color-primary);
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            flex-shrink: 0;
        }
        .sidebar-nav {
            flex: 1;
            padding: 16px 0;
            display: flex;
            flex-direction: column;
        }
        .sidebar-nav .nav-section {
            padding: 0 16px;
            margin-bottom: 4px;
        }
        .sidebar-nav .nav-section-label {
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: rgba(255, 255, 255, 0.35);
            padding: 8px 12px 6px;
            font-weight: 600;
        }
        .sidebar-nav a {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 16px;
            margin: 2px 8px;
            border-radius: var(--radius-sm);
            color: #cbd5e1;
            font-weight: 500;
            font-size: 0.92rem;
            transition: all var(--transition-fast);
            white-space: nowrap;
        }
        .sidebar-nav a:hover {
            background: rgba(255, 255, 255, 0.06);
            color: #ffffff;
        }
        .sidebar-nav a.active {
            background: var(--color-primary);
            color: #ffffff;
            font-weight: 600;
            box-shadow: 0 2px 8px rgba(26, 86, 219, 0.4);
        }
        .sidebar-nav a .nav-icon {
            width: 20px;
            text-align: center;
            font-size: 0.95rem;
            flex-shrink: 0;
        }
        .sidebar-footer {
            padding: 16px 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            flex-shrink: 0;
            font-size: 0.78rem;
            color: rgba(255, 255, 255, 0.4);
        }
        .main-content {
            margin-left: var(--sidebar-width);
            flex: 1;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        .topbar-mobile {
            display: none;
            background: #0f172a;
            color: #fff;
            padding: 12px 16px;
            align-items: center;
            justify-content: space-between;
            position: sticky;
            top: 0;
            z-index: 1030;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        }
        .topbar-mobile .mobile-brand {
            font-weight: 700;
            font-size: 1.1rem;
            color: #fff;
        }
        .topbar-mobile .mobile-toggle {
            background: none;
            border: none;
            color: #fff;
            font-size: 1.5rem;
            cursor: pointer;
            padding: 4px 8px;
            border-radius: 6px;
        }
        .topbar-mobile .mobile-toggle:hover {
            background: rgba(255, 255, 255, 0.1);
        }
        .sidebar-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.55);
            z-index: 1035;
        }
        .sidebar-overlay.show {
            display: block;
        }
        .hero-section {
            background: linear-gradient(160deg, #0f172a 0%, #1e3a5f 40%, #1a4b8c 70%, #0f172a 100%);
            position: relative;
            overflow: hidden;
            padding: 60px 40px;
            color: #ffffff;
            min-height: 420px;
            display: flex;
            align-items: center;
        }
        .hero-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image: url('/assets/images/backpic/back-1.png');
            background-size: cover;
            background-position: center;
            opacity: 0.25;
            z-index: 0;
        }
        .hero-section::after {
            content: '';
            position: absolute;
            top: -60px;
            right: -80px;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, transparent 70%);
            border-radius: 50%;
            z-index: 0;
        }
        .hero-content {
            position: relative;
            z-index: 1;
            max-width: 680px;
        }
        .hero-content .hero-badge {
            display: inline-block;
            background: rgba(255, 255, 255, 0.12);
            border: 1px solid rgba(255, 255, 255, 0.2);
            padding: 6px 16px;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 500;
            margin-bottom: 20px;
            letter-spacing: 0.03em;
            backdrop-filter: blur(4px);
        }
        .hero-content h1 {
            font-size: 2.8rem;
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 16px;
            letter-spacing: -0.01em;
        }
        .hero-content h1 span {
            color: #60a5fa;
        }
        .hero-content .hero-desc {
            font-size: 1.1rem;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 28px;
            line-height: 1.7;
            max-width: 520px;
        }
        .hero-content .hero-btns {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }
        .btn-brand {
            background: var(--color-primary);
            color: #fff;
            border: none;
            padding: 12px 28px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.95rem;
            transition: all var(--transition);
            box-shadow: 0 4px 16px rgba(26, 86, 219, 0.4);
            display: inline-flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
        }
        .btn-brand:hover {
            background: var(--color-primary-dark);
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(26, 86, 219, 0.5);
        }
        .btn-outline-light-brand {
            background: transparent;
            color: #fff;
            border: 2px solid rgba(255, 255, 255, 0.5);
            padding: 10px 26px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.95rem;
            transition: all var(--transition);
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        .btn-outline-light-brand:hover {
            border-color: #fff;
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
        }
        .section-block {
            padding: 50px 40px;
        }
        .section-block-alt {
            background: var(--color-surface);
        }
        .section-label {
            font-size: 0.78rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--color-primary);
            font-weight: 700;
            margin-bottom: 8px;
        }
        .section-title {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--color-text);
            margin-bottom: 10px;
            letter-spacing: -0.01em;
        }
        .section-subtitle {
            font-size: 0.95rem;
            color: var(--color-text-secondary);
            margin-bottom: 32px;
            max-width: 560px;
        }
        .stats-row {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }
        .stat-card {
            background: var(--color-surface);
            border-radius: var(--radius);
            padding: 24px 20px;
            text-align: center;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--color-border-light);
            transition: all var(--transition);
        }
        .stat-card:hover {
            box-shadow: var(--shadow);
            transform: translateY(-3px);
        }
        .stat-card .stat-number {
            font-size: 2.4rem;
            font-weight: 800;
            color: var(--color-primary);
            line-height: 1;
            margin-bottom: 6px;
        }
        .stat-card .stat-label {
            font-size: 0.85rem;
            color: var(--color-text-secondary);
            font-weight: 500;
        }
        .category-cards {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
        }
        .category-card {
            background: var(--color-surface);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--color-border-light);
            transition: all var(--transition);
            cursor: pointer;
            display: block;
            color: inherit;
            text-decoration: none;
        }
        .category-card:hover {
            box-shadow: var(--shadow-lg);
            transform: translateY(-4px);
            color: inherit;
            text-decoration: none;
        }
        .category-card .card-img-wrap {
            height: 180px;
            overflow: hidden;
            position: relative;
        }
        .category-card .card-img-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform var(--transition-slow);
        }
        .category-card:hover .card-img-wrap img {
            transform: scale(1.06);
        }
        .category-card .card-img-wrap .card-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(15, 23, 42, 0.7) 0%, transparent 50%);
            display: flex;
            align-items: flex-end;
            padding: 16px;
        }
        .category-card .card-img-wrap .card-overlay .overlay-tag {
            background: var(--color-accent);
            color: #fff;
            padding: 4px 12px;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 600;
        }
        .category-card .card-body-custom {
            padding: 18px 20px;
        }
        .category-card .card-body-custom h3 {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 6px;
            color: var(--color-text);
        }
        .category-card .card-body-custom p {
            font-size: 0.85rem;
            color: var(--color-text-secondary);
            margin: 0;
            line-height: 1.5;
        }
        .feature-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }
        .feature-item {
            background: var(--color-surface);
            border-radius: var(--radius);
            padding: 24px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--color-border-light);
            display: flex;
            gap: 16px;
            align-items: flex-start;
            transition: all var(--transition);
        }
        .feature-item:hover {
            box-shadow: var(--shadow);
            transform: translateY(-2px);
        }
        .feature-item .feature-icon {
            width: 48px;
            height: 48px;
            border-radius: var(--radius-sm);
            background: var(--color-primary-light);
            color: var(--color-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            flex-shrink: 0;
        }
        .feature-item .feature-info h4 {
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 4px;
            color: var(--color-text);
        }
        .feature-item .feature-info p {
            font-size: 0.85rem;
            color: var(--color-text-secondary);
            margin: 0;
            line-height: 1.5;
        }
        .news-list {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .news-list li {
            background: var(--color-surface);
            border-radius: var(--radius);
            padding: 14px 20px;
            box-shadow: var(--shadow-xs);
            border: 1px solid var(--color-border-light);
            display: flex;
            align-items: center;
            gap: 14px;
            transition: all var(--transition-fast);
            cursor: pointer;
        }
        .news-list li:hover {
            box-shadow: var(--shadow-sm);
            border-color: var(--color-border);
            transform: translateX(3px);
        }
        .news-list li .news-tag {
            background: var(--color-primary-light);
            color: var(--color-primary);
            padding: 4px 12px;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 600;
            white-space: nowrap;
            flex-shrink: 0;
        }
        .news-list li .news-title {
            flex: 1;
            font-weight: 600;
            font-size: 0.92rem;
            color: var(--color-text);
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .news-list li .news-date {
            font-size: 0.78rem;
            color: var(--color-text-muted);
            flex-shrink: 0;
        }
        .news-list li a {
            color: inherit;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 14px;
            width: 100%;
        }
        .news-list li a:hover {
            color: inherit;
        }
        .news-empty {
            text-align: center;
            padding: 30px;
            color: var(--color-text-muted);
            font-size: 0.95rem;
        }
        .faq-list .accordion-button {
            font-weight: 600;
            font-size: 0.95rem;
            color: var(--color-text);
            background: var(--color-surface);
            border: 1px solid var(--color-border-light);
            border-radius: var(--radius) !important;
            padding: 16px 20px;
            box-shadow: var(--shadow-xs);
            transition: all var(--transition-fast);
        }
        .faq-list .accordion-button:not(.collapsed) {
            color: var(--color-primary);
            background: var(--color-primary-light);
            border-color: transparent;
            box-shadow: var(--shadow-sm);
        }
        .faq-list .accordion-button:focus {
            box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.15);
            border-color: var(--color-primary);
        }
        .faq-list .accordion-item {
            border: none;
            margin-bottom: 10px;
            background: transparent;
        }
        .faq-list .accordion-body {
            font-size: 0.9rem;
            color: var(--color-text-secondary);
            padding: 16px 20px;
            line-height: 1.7;
            background: var(--color-surface);
            border-radius: 0 0 var(--radius) var(--radius);
            border: 1px solid var(--color-border-light);
            border-top: none;
        }
        .cta-section {
            background: linear-gradient(135deg, #1a56db 0%, #0ea5e9 100%);
            border-radius: var(--radius-xl);
            padding: 44px 36px;
            color: #fff;
            text-align: center;
            box-shadow: var(--shadow-lg);
        }
        .cta-section h3 {
            font-size: 1.6rem;
            font-weight: 700;
            margin-bottom: 10px;
        }
        .cta-section p {
            font-size: 0.95rem;
            opacity: 0.9;
            margin-bottom: 24px;
            max-width: 460px;
            margin-left: auto;
            margin-right: auto;
        }
        .cta-section .btn-cta {
            background: #fff;
            color: var(--color-primary);
            border: none;
            padding: 13px 32px;
            border-radius: 50px;
            font-weight: 700;
            font-size: 0.95rem;
            transition: all var(--transition);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        .cta-section .btn-cta:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
            color: var(--color-primary-dark);
        }
        .site-footer {
            background: #0f172a;
            color: #cbd5e1;
            padding: 36px 40px;
            margin-top: auto;
            font-size: 0.85rem;
        }
        .site-footer .footer-brand {
            font-weight: 700;
            font-size: 1rem;
            color: #fff;
            margin-bottom: 8px;
        }
        .site-footer a {
            color: #94a3b8;
            transition: color var(--transition-fast);
        }
        .site-footer a:hover {
            color: #fff;
        }
        .site-footer .footer-divider {
            border-color: rgba(255, 255, 255, 0.1);
            margin: 16px 0;
        }
        @media (max-width: 1024px) {
            :root {
                --sidebar-width: 220px;
            }
            .section-block {
                padding: 36px 24px;
            }
            .hero-section {
                padding: 44px 28px;
                min-height: 340px;
            }
            .hero-content h1 {
                font-size: 2.2rem;
            }
            .stats-row {
                grid-template-columns: repeat(2, 1fr);
            }
            .category-cards {
                grid-template-columns: repeat(2, 1fr);
            }
            .category-cards .category-card:last-child {
                grid-column: span 2;
                max-width: 400px;
                justify-self: center;
            }
            .feature-grid {
                grid-template-columns: 1fr 1fr;
            }
        }
        @media (max-width: 768px) {
            .sidebar {
                transform: translateX(-100%);
                width: 280px;
            }
            .sidebar.open {
                transform: translateX(0);
            }
            .sidebar-overlay.show {
                display: block;
            }
            .main-content {
                margin-left: 0;
            }
            .topbar-mobile {
                display: flex;
            }
            .hero-section {
                padding: 36px 20px;
                min-height: 300px;
            }
            .hero-content h1 {
                font-size: 1.7rem;
            }
            .hero-content .hero-desc {
                font-size: 0.9rem;
            }
            .section-block {
                padding: 28px 16px;
            }
            .stats-row {
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
            }
            .stat-card {
                padding: 16px 12px;
            }
            .stat-card .stat-number {
                font-size: 1.8rem;
            }
            .category-cards {
                grid-template-columns: 1fr;
                gap: 14px;
            }
            .category-cards .category-card:last-child {
                grid-column: span 1;
                max-width: none;
                justify-self: auto;
            }
            .feature-grid {
                grid-template-columns: 1fr;
                gap: 12px;
            }
            .cta-section {
                padding: 28px 20px;
            }
            .cta-section h3 {
                font-size: 1.3rem;
            }
            .site-footer {
                padding: 24px 16px;
            }
            .news-list li {
                flex-wrap: wrap;
                gap: 8px;
                padding: 12px 14px;
            }
            .news-list li .news-title {
                white-space: normal;
                flex: 1 1 100%;
            }
        }
        @media (max-width: 520px) {
            .hero-content h1 {
                font-size: 1.4rem;
            }
            .hero-content .hero-btns {
                flex-direction: column;
                gap: 8px;
            }
            .hero-content .hero-btns .btn-brand,
            .hero-content .hero-btns .btn-outline-light-brand {
                width: 100%;
                justify-content: center;
            }
            .stats-row {
                grid-template-columns: 1fr 1fr;
                gap: 8px;
            }
            .stat-card .stat-number {
                font-size: 1.5rem;
            }
            .section-title {
                font-size: 1.3rem;
            }
        }

/* roulang page: article */
:root {
            --color-primary: #0f1a2e;
            --color-primary-light: #1a2d4a;
            --color-accent: #f97316;
            --color-accent-hover: #ea580c;
            --color-accent-soft: #fff7ed;
            --color-surface: #ffffff;
            --color-bg: #f1f5f9;
            --color-bg-alt: #e2e8f0;
            --color-text: #1e293b;
            --color-text-soft: #64748b;
            --color-text-muted: #94a3b8;
            --color-border: #e2e8f0;
            --color-border-light: #f1f5f9;
            --color-success: #10b981;
            --color-warning: #f59e0b;
            --sidebar-width: 260px;
            --sidebar-bg: #0f1a2e;
            --sidebar-text: #cbd5e1;
            --sidebar-text-hover: #ffffff;
            --sidebar-active-bg: rgba(255,255,255,0.08);
            --sidebar-active-text: #ffffff;
            --sidebar-active-border: #f97316;
            --radius-sm: 6px;
            --radius-md: 10px;
            --radius-lg: 16px;
            --radius-xl: 20px;
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
            --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
            --shadow-lg: 0 12px 32px rgba(0,0,0,0.10), 0 4px 8px rgba(0,0,0,0.05);
            --shadow-xl: 0 20px 48px rgba(0,0,0,0.15), 0 8px 16px rgba(0,0,0,0.06);
            --transition-fast: 0.18s ease;
            --transition-base: 0.25s ease;
            --transition-slow: 0.35s ease;
            --font-sans: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', system-ui, -apple-system, sans-serif;
        }
        *,
        *::before,
        *::after {
            box-sizing: border-box;
        }
        html {
            scroll-behavior: smooth;
            -webkit-text-size-adjust: 100%;
        }
        body {
            margin: 0;
            padding: 0;
            font-family: var(--font-sans);
            font-size: 16px;
            line-height: 1.65;
            color: var(--color-text);
            background-color: var(--color-bg);
            display: flex;
            min-height: 100vh;
            overflow-x: hidden;
        }
        a {
            color: inherit;
            text-decoration: none;
            transition: color var(--transition-fast);
        }
        a:hover {
            text-decoration: none;
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        button {
            font-family: inherit;
            cursor: pointer;
        }
        h1, h2, h3, h4, h5, h6 {
            margin-top: 0;
            line-height: 1.3;
            color: var(--color-text);
        }
        .app-wrapper {
            display: flex;
            width: 100%;
            min-height: 100vh;
        }
        /* 侧边栏 */
        .sidebar {
            position: fixed;
            top: 0;
            left: 0;
            bottom: 0;
            width: var(--sidebar-width);
            background: var(--sidebar-bg);
            color: var(--sidebar-text);
            z-index: 1000;
            display: flex;
            flex-direction: column;
            transition: transform var(--transition-slow);
            overflow-y: auto;
            overflow-x: hidden;
            box-shadow: 2px 0 24px rgba(0,0,0,0.18);
        }
        .sidebar-brand {
            padding: 28px 24px 20px;
            flex-shrink: 0;
        }
        .sidebar-brand .brand-name {
            font-size: 1.35rem;
            font-weight: 700;
            color: #ffffff;
            letter-spacing: 0.4px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .sidebar-brand .brand-icon {
            width: 38px;
            height: 38px;
            border-radius: var(--radius-sm);
            background: linear-gradient(135deg, var(--color-accent), #fb923c);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 1.2rem;
            flex-shrink: 0;
        }
        .sidebar-nav {
            flex: 1;
            padding: 8px 16px 24px;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
        .nav-section {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }
        .nav-section-label {
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 1.6px;
            color: #64748b;
            padding: 16px 12px 8px;
            font-weight: 600;
        }
        .sidebar-nav a {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 14px;
            border-radius: var(--radius-sm);
            color: var(--sidebar-text);
            font-size: 0.95rem;
            font-weight: 500;
            transition: all var(--transition-fast);
            position: relative;
            white-space: nowrap;
        }
        .sidebar-nav a .nav-icon {
            width: 20px;
            text-align: center;
            font-size: 0.95rem;
            flex-shrink: 0;
            opacity: 0.7;
            transition: opacity var(--transition-fast);
        }
        .sidebar-nav a:hover {
            background: var(--sidebar-active-bg);
            color: var(--sidebar-text-hover);
        }
        .sidebar-nav a:hover .nav-icon {
            opacity: 1;
        }
        .sidebar-nav a.active {
            background: var(--sidebar-active-bg);
            color: var(--sidebar-active-text);
            font-weight: 600;
            border-left: 3px solid var(--sidebar-active-border);
            padding-left: 11px;
        }
        .sidebar-nav a.active .nav-icon {
            opacity: 1;
            color: var(--color-accent);
        }
        /* 主内容区 */
        .main-content {
            margin-left: var(--sidebar-width);
            flex: 1;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            transition: margin-left var(--transition-slow);
        }
        .content-body {
            flex: 1;
            padding: 0;
        }
        /* 移动端顶部栏 */
        .mobile-topbar {
            display: none;
            position: sticky;
            top: 0;
            z-index: 999;
            background: #0f1a2e;
            color: #fff;
            padding: 14px 18px;
            align-items: center;
            justify-content: space-between;
            box-shadow: 0 2px 12px rgba(0,0,0,0.15);
        }
        .mobile-topbar .mobile-brand {
            font-weight: 700;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .mobile-topbar .mobile-brand .brand-icon-sm {
            width: 30px;
            height: 30px;
            border-radius: 5px;
            background: linear-gradient(135deg, var(--color-accent), #fb923c);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
        }
        .hamburger-btn {
            background: none;
            border: none;
            color: #fff;
            font-size: 1.4rem;
            padding: 6px 10px;
            border-radius: var(--radius-sm);
            cursor: pointer;
            transition: background var(--transition-fast);
            line-height: 1;
        }
        .hamburger-btn:hover {
            background: rgba(255,255,255,0.1);
        }
        /* 侧边栏遮罩 */
        .sidebar-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.55);
            z-index: 999;
            transition: opacity var(--transition-slow);
        }
        .sidebar-overlay.show {
            display: block;
        }
        /* 面包屑 */
        .breadcrumb-bar {
            background: var(--color-surface);
            border-bottom: 1px solid var(--color-border);
            padding: 14px 0;
            margin: 0;
        }
        .breadcrumb-bar .breadcrumb-inner {
            padding: 0 32px;
        }
        .custom-breadcrumb {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.88rem;
            color: var(--color-text-soft);
            flex-wrap: wrap;
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .custom-breadcrumb li {
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        .custom-breadcrumb li+li::before {
            content: '/';
            color: #cbd5e1;
            font-size: 0.8rem;
        }
        .custom-breadcrumb a {
            color: var(--color-text-soft);
            transition: color var(--transition-fast);
        }
        .custom-breadcrumb a:hover {
            color: var(--color-accent);
        }
        .custom-breadcrumb .current {
            color: var(--color-text);
            font-weight: 600;
        }
        /* 文章容器 */
        .article-container {
            max-width: 860px;
            margin: 0 auto;
            padding: 32px 32px 48px;
        }
        .article-hero-image {
            border-radius: var(--radius-lg);
            overflow: hidden;
            margin-bottom: 28px;
            box-shadow: var(--shadow-md);
            background: var(--color-bg-alt);
        }
        .article-hero-image img {
            width: 100%;
            height: auto;
            display: block;
            object-fit: cover;
            max-height: 440px;
        }
        .article-meta-row {
            display: flex;
            flex-wrap: wrap;
            gap: 14px;
            align-items: center;
            margin-bottom: 16px;
            font-size: 0.9rem;
            color: var(--color-text-soft);
        }
        .article-category-badge {
            display: inline-block;
            background: var(--color-accent-soft);
            color: var(--color-accent);
            font-weight: 600;
            font-size: 0.8rem;
            padding: 5px 13px;
            border-radius: 20px;
            letter-spacing: 0.3px;
            transition: all var(--transition-fast);
            text-decoration: none;
        }
        .article-category-badge:hover {
            background: #fed7aa;
            color: #c2410c;
        }
        .article-date {
            display: flex;
            align-items: center;
            gap: 5px;
            color: var(--color-text-muted);
        }
        .article-date i {
            font-size: 0.85rem;
        }
        .article-title-h1 {
            font-size: 2.1rem;
            font-weight: 800;
            color: var(--color-primary);
            margin: 0 0 24px;
            line-height: 1.35;
            letter-spacing: -0.2px;
        }
        /* 文章正文排版 */
        .article-content {
            font-size: 1.05rem;
            line-height: 1.85;
            color: #334155;
            word-break: break-word;
        }
        .article-content h2 {
            font-size: 1.55rem;
            font-weight: 700;
            margin: 36px 0 16px;
            color: var(--color-primary);
            padding-bottom: 10px;
            border-bottom: 2px solid var(--color-border);
        }
        .article-content h3 {
            font-size: 1.28rem;
            font-weight: 700;
            margin: 28px 0 12px;
            color: #1e293b;
        }
        .article-content h4 {
            font-size: 1.1rem;
            font-weight: 700;
            margin: 22px 0 10px;
            color: #334155;
        }
        .article-content p {
            margin: 0 0 16px;
        }
        .article-content ul,
        .article-content ol {
            margin: 0 0 18px;
            padding-left: 22px;
        }
        .article-content li {
            margin-bottom: 7px;
        }
        .article-content img {
            border-radius: var(--radius-md);
            margin: 22px 0;
            max-width: 100%;
            height: auto;
            box-shadow: var(--shadow-sm);
        }
        .article-content blockquote {
            border-left: 4px solid var(--color-accent);
            background: #fff7ed;
            padding: 16px 22px;
            margin: 22px 0;
            border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
            color: #7c2d12;
            font-style: italic;
        }
        .article-content blockquote p {
            margin: 0;
        }
        .article-content a {
            color: var(--color-accent);
            text-decoration: underline;
            text-underline-offset: 3px;
            font-weight: 500;
        }
        .article-content a:hover {
            color: var(--color-accent-hover);
        }
        .article-content code {
            background: #f1f5f9;
            padding: 2px 7px;
            border-radius: 4px;
            font-size: 0.9em;
            color: #e11d48;
            font-family: 'SF Mono', 'Consolas', 'Monaco', monospace;
        }
        .article-content pre {
            background: #1e293b;
            color: #e2e8f0;
            padding: 20px 24px;
            border-radius: var(--radius-md);
            overflow-x: auto;
            margin: 20px 0;
            font-size: 0.9rem;
            line-height: 1.6;
        }
        .article-content pre code {
            background: none;
            color: inherit;
            padding: 0;
            font-size: inherit;
        }
        .article-content table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
            font-size: 0.95rem;
        }
        .article-content table th,
        .article-content table td {
            border: 1px solid var(--color-border);
            padding: 10px 14px;
            text-align: left;
        }
        .article-content table th {
            background: #f8fafc;
            font-weight: 700;
            color: var(--color-primary);
        }
        /* 文章底部 */
        .article-footer-cta {
            margin-top: 44px;
            padding-top: 28px;
            border-top: 1px solid var(--color-border);
            display: flex;
            flex-wrap: wrap;
            gap: 14px;
            align-items: center;
            justify-content: space-between;
        }
        .btn-back {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            padding: 11px 22px;
            border-radius: 25px;
            font-weight: 600;
            font-size: 0.95rem;
            transition: all var(--transition-base);
            border: 2px solid var(--color-border);
            background: var(--color-surface);
            color: var(--color-text);
        }
        .btn-back:hover {
            border-color: var(--color-accent);
            color: var(--color-accent);
            background: #fff7ed;
            transform: translateX(-3px);
        }
        .btn-cta-primary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 26px;
            border-radius: 25px;
            font-weight: 700;
            font-size: 0.95rem;
            background: var(--color-accent);
            color: #fff;
            border: none;
            transition: all var(--transition-base);
            box-shadow: 0 4px 14px rgba(249,115,22,0.3);
        }
        .btn-cta-primary:hover {
            background: var(--color-accent-hover);
            box-shadow: 0 6px 20px rgba(249,115,22,0.4);
            transform: translateY(-2px);
            color: #fff;
        }
        /* 未找到文章 */
        .not-found-state {
            text-align: center;
            padding: 80px 24px;
        }
        .not-found-state .nf-icon {
            font-size: 4rem;
            color: #cbd5e1;
            margin-bottom: 20px;
        }
        .not-found-state h2 {
            font-size: 1.6rem;
            font-weight: 700;
            margin-bottom: 10px;
        }
        .not-found-state p {
            color: var(--color-text-soft);
            margin-bottom: 24px;
            font-size: 1rem;
        }
        /* 页脚 */
        .site-footer {
            background: var(--color-primary);
            color: #cbd5e1;
            padding: 32px 32px 24px;
            font-size: 0.9rem;
            margin-top: auto;
        }
        .site-footer .footer-brand {
            font-size: 1.15rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 6px;
        }
        .footer-divider {
            border-color: rgba(255,255,255,0.12);
            margin: 18px 0;
            opacity: 1;
        }
        .site-footer a {
            color: #94a3b8;
            transition: color var(--transition-fast);
        }
        .site-footer a:hover {
            color: #fff;
        }
        /* 响应式 */
        @media (max-width: 1024px) {
            .article-container {
                padding: 24px 20px 36px;
            }
            .article-title-h1 {
                font-size: 1.7rem;
            }
            .breadcrumb-bar .breadcrumb-inner {
                padding: 0 20px;
            }
        }
        @media (max-width: 768px) {
            body {
                flex-direction: column;
            }
            .sidebar {
                transform: translateX(-100%);
                box-shadow: 4px 0 30px rgba(0,0,0,0.3);
            }
            .sidebar.show {
                transform: translateX(0);
            }
            .main-content {
                margin-left: 0;
            }
            .mobile-topbar {
                display: flex;
            }
            .sidebar-overlay {
                display: none;
            }
            .sidebar-overlay.show {
                display: block;
            }
            .article-container {
                padding: 20px 16px 32px;
            }
            .article-title-h1 {
                font-size: 1.45rem;
            }
            .article-content {
                font-size: 0.98rem;
            }
            .article-hero-image {
                margin-bottom: 18px;
                border-radius: var(--radius-md);
            }
            .breadcrumb-bar {
                padding: 10px 0;
            }
            .breadcrumb-bar .breadcrumb-inner {
                padding: 0 16px;
            }
            .site-footer {
                padding: 24px 16px 20px;
            }
        }
        @media (max-width: 520px) {
            .article-title-h1 {
                font-size: 1.3rem;
            }
            .article-content h2 {
                font-size: 1.3rem;
            }
            .article-content h3 {
                font-size: 1.15rem;
            }
            .article-footer-cta {
                flex-direction: column;
                align-items: stretch;
                gap: 10px;
            }
            .btn-back,
            .btn-cta-primary {
                justify-content: center;
            }
            .article-meta-row {
                gap: 8px;
                font-size: 0.82rem;
            }
        }

/* roulang page: category1 */
/* ========== 设计变量 ========== */
        :root {
            --color-primary: #1e293b;
            --color-primary-light: #334155;
            --color-accent: #f59e0b;
            --color-accent-hover: #d97706;
            --color-highlight: #3b82f6;
            --color-highlight-light: #eff6ff;
            --color-bg: #f1f5f9;
            --color-surface: #ffffff;
            --color-surface-alt: #f8fafc;
            --color-text: #1e293b;
            --color-text-secondary: #64748b;
            --color-text-muted: #94a3b8;
            --color-border: #e2e8f0;
            --color-border-light: #f1f5f9;
            --color-sidebar-bg: #0f172a;
            --color-sidebar-text: #cbd5e1;
            --color-sidebar-hover: #1e293b;
            --color-sidebar-active: #f59e0b;
            --color-success: #10b981;
            --color-danger: #ef4444;
            --color-info: #3b82f6;
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 16px;
            --radius-xl: 24px;
            --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
            --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
            --shadow-lg: 0 10px 32px rgba(0, 0, 0, 0.10), 0 4px 12px rgba(0, 0, 0, 0.05);
            --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.12), 0 6px 16px rgba(0, 0, 0, 0.06);
            --sidebar-width: 260px;
            --header-mobile-height: 60px;
            --transition-fast: 150ms ease;
            --transition-normal: 250ms ease;
            --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
            --font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', system-ui, -apple-system, sans-serif;
        }

        /* ========== 基础 Reset ========== */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
        }
        html {
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        body {
            font-family: var(--font-family);
            font-size: 16px;
            line-height: 1.7;
            color: var(--color-text);
            background-color: var(--color-bg);
            margin: 0;
            padding: 0;
            overflow-x: hidden;
            min-height: 100vh;
        }
        a {
            color: var(--color-highlight);
            text-decoration: none;
            transition: color var(--transition-fast);
        }
        a:hover {
            color: #2563eb;
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        button,
        input {
            font-family: inherit;
        }
        ul,
        ol {
            padding-left: 1.25rem;
        }
        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            line-height: 1.35;
            font-weight: 700;
            color: var(--color-text);
        }

        /* ========== 布局容器 ========== */
        .app-wrapper {
            display: flex;
            min-height: 100vh;
            position: relative;
        }
        .main-content {
            flex: 1;
            margin-left: var(--sidebar-width);
            min-width: 0;
            display: flex;
            flex-direction: column;
            transition: margin-left var(--transition-normal);
            position: relative;
            z-index: 1;
        }

        /* ========== 左侧侧边栏 ========== */
        .sidebar {
            position: fixed;
            top: 0;
            left: 0;
            width: var(--sidebar-width);
            height: 100vh;
            background: var(--color-sidebar-bg);
            z-index: 1040;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            overflow-x: hidden;
            box-shadow: 2px 0 24px rgba(0, 0, 0, 0.18);
            transition: transform var(--transition-slow);
            scrollbar-width: thin;
            scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
        }
        .sidebar::-webkit-scrollbar {
            width: 5px;
        }
        .sidebar::-webkit-scrollbar-track {
            background: transparent;
        }
        .sidebar::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.15);
            border-radius: 10px;
        }
        .sidebar-brand {
            padding: 24px 20px 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            flex-shrink: 0;
        }
        .sidebar-brand a {
            display: flex;
            align-items: center;
            gap: 12px;
            color: #ffffff;
            font-size: 1.2rem;
            font-weight: 700;
            letter-spacing: 0.5px;
            text-decoration: none;
            transition: opacity var(--transition-fast);
        }
        .sidebar-brand a:hover {
            opacity: 0.85;
            color: #ffffff;
        }
        .sidebar-brand .brand-icon {
            width: 40px;
            height: 40px;
            border-radius: var(--radius-sm);
            background: linear-gradient(135deg, var(--color-accent), #fbbf24);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            color: #1e293b;
            flex-shrink: 0;
        }
        .sidebar-nav {
            padding: 12px 0;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .nav-section {
            padding: 0 12px;
        }
        .nav-section-label {
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: rgba(255, 255, 255, 0.35);
            padding: 16px 12px 6px;
            font-weight: 600;
        }
        .sidebar-nav a {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 11px 14px;
            border-radius: var(--radius-sm);
            color: var(--color-sidebar-text);
            font-size: 0.92rem;
            font-weight: 500;
            text-decoration: none;
            transition: all var(--transition-fast);
            margin-bottom: 2px;
            position: relative;
            white-space: nowrap;
        }
        .sidebar-nav a .nav-icon {
            width: 32px;
            height: 32px;
            border-radius: 7px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
            background: rgba(255, 255, 255, 0.06);
            transition: all var(--transition-fast);
            flex-shrink: 0;
        }
        .sidebar-nav a:hover {
            background: var(--color-sidebar-hover);
            color: #ffffff;
        }
        .sidebar-nav a:hover .nav-icon {
            background: rgba(255, 255, 255, 0.12);
        }
        .sidebar-nav a.active {
            background: rgba(245, 158, 11, 0.15);
            color: var(--color-sidebar-active);
            font-weight: 600;
        }
        .sidebar-nav a.active .nav-icon {
            background: rgba(245, 158, 11, 0.25);
            color: var(--color-sidebar-active);
        }
        .sidebar-nav a.active::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 3px;
            height: 24px;
            background: var(--color-sidebar-active);
            border-radius: 0 4px 4px 0;
        }
        .sidebar-footer-info {
            padding: 16px 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            flex-shrink: 0;
            font-size: 0.75rem;
            color: rgba(255, 255, 255, 0.3);
            text-align: center;
            letter-spacing: 0.3px;
        }

        /* ========== 移动端顶部导航 ========== */
        .mobile-header {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: var(--header-mobile-height);
            background: var(--color-sidebar-bg);
            z-index: 1035;
            align-items: center;
            padding: 0 16px;
            box-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
        }
        .mobile-header .mobile-brand {
            font-weight: 700;
            font-size: 1.05rem;
            color: #ffffff;
            display: flex;
            align-items: center;
            gap: 8px;
            text-decoration: none;
        }
        .mobile-header .mobile-brand .brand-icon-sm {
            width: 32px;
            height: 32px;
            border-radius: 7px;
            background: linear-gradient(135deg, var(--color-accent), #fbbf24);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
            color: #1e293b;
        }
        .mobile-header .btn-menu {
            background: rgba(255, 255, 255, 0.08);
            border: none;
            color: #ffffff;
            width: 40px;
            height: 40px;
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            cursor: pointer;
            transition: background var(--transition-fast);
            margin-left: auto;
        }
        .mobile-header .btn-menu:hover {
            background: rgba(255, 255, 255, 0.16);
        }
        .sidebar-backdrop {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.55);
            z-index: 1038;
            opacity: 0;
            transition: opacity var(--transition-normal);
            pointer-events: none;
        }
        .sidebar-backdrop.show {
            opacity: 1;
            pointer-events: auto;
        }

        /* ========== 通用板块样式 ========== */
        .section {
            padding: 56px 0;
            position: relative;
        }
        .section-sm {
            padding: 36px 0;
        }
        .section-title {
            font-size: 1.75rem;
            font-weight: 700;
            margin-bottom: 8px;
            color: var(--color-text);
            letter-spacing: -0.3px;
        }
        .section-subtitle {
            font-size: 0.95rem;
            color: var(--color-text-secondary);
            margin-bottom: 32px;
            max-width: 600px;
        }
        .section-header {
            margin-bottom: 32px;
        }
        .section-header .badge-category {
            display: inline-block;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            letter-spacing: 0.4px;
            background: rgba(245, 158, 11, 0.12);
            color: var(--color-accent);
            margin-bottom: 10px;
        }

        /* ========== Banner/Hero 板块 ========== */
        .category-hero {
            background: linear-gradient(180deg, #0f172a 0%, #1e293b 60%, #334155 100%);
            padding: 64px 0;
            position: relative;
            overflow: hidden;
            color: #ffffff;
        }
        .category-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image: url('/assets/images/backpic/back-1.png');
            background-size: cover;
            background-position: center;
            opacity: 0.22;
            z-index: 0;
        }
        .category-hero::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 80px;
            background: linear-gradient(to top, var(--color-bg), transparent);
            z-index: 0;
        }
        .category-hero .hero-content {
            position: relative;
            z-index: 2;
        }
        .category-hero .hero-breadcrumb {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.6);
            margin-bottom: 12px;
        }
        .category-hero .hero-breadcrumb a {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
        }
        .category-hero .hero-breadcrumb a:hover {
            color: #ffffff;
        }
        .category-hero .hero-title {
            font-size: 2.5rem;
            font-weight: 800;
            color: #ffffff;
            margin-bottom: 12px;
            letter-spacing: -0.5px;
        }
        .category-hero .hero-desc {
            font-size: 1.05rem;
            color: rgba(255, 255, 255, 0.7);
            max-width: 560px;
            line-height: 1.6;
        }
        .category-hero .hero-stats {
            display: flex;
            gap: 32px;
            margin-top: 28px;
            flex-wrap: wrap;
        }
        .category-hero .hero-stat {
            text-align: center;
            background: rgba(255, 255, 255, 0.08);
            border-radius: var(--radius-md);
            padding: 16px 24px;
            min-width: 100px;
            backdrop-filter: blur(4px);
        }
        .category-hero .hero-stat .stat-number {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--color-accent);
            line-height: 1;
        }
        .category-hero .hero-stat .stat-label {
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.6);
            margin-top: 4px;
        }

        /* ========== 卡片样式 ========== */
        .card-custom {
            background: var(--color-surface);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--color-border-light);
            overflow: hidden;
            transition: all var(--transition-normal);
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        .card-custom:hover {
            box-shadow: var(--shadow-lg);
            transform: translateY(-3px);
            border-color: var(--color-border);
        }
        .card-custom .card-img-wrap {
            position: relative;
            overflow: hidden;
            aspect-ratio: 16 / 10;
            background: #e2e8f0;
        }
        .card-custom .card-img-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform var(--transition-slow);
        }
        .card-custom:hover .card-img-wrap img {
            transform: scale(1.05);
        }
        .card-custom .card-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            background: var(--color-accent);
            color: #1e293b;
            letter-spacing: 0.3px;
            z-index: 2;
        }
        .card-custom .card-body-custom {
            padding: 18px 20px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .card-custom .card-title-custom {
            font-size: 1.05rem;
            font-weight: 700;
            margin-bottom: 6px;
            color: var(--color-text);
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .card-custom .card-meta {
            font-size: 0.82rem;
            color: var(--color-text-muted);
            margin-top: auto;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .card-custom .card-meta .meta-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            display: inline-block;
        }
        .meta-dot.live {
            background: #ef4444;
            animation: pulse-dot 1.6s infinite;
        }
        .meta-dot.upcoming {
            background: #f59e0b;
        }
        @keyframes pulse-dot {
            0%,
            100% {
                box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6);
            }
            50% {
                box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
            }
        }

        /* ========== 按钮样式 ========== */
        .btn-custom {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 22px;
            border-radius: 25px;
            font-weight: 600;
            font-size: 0.9rem;
            letter-spacing: 0.3px;
            transition: all var(--transition-fast);
            border: none;
            cursor: pointer;
            text-decoration: none;
            white-space: nowrap;
        }
        .btn-custom-primary {
            background: var(--color-accent);
            color: #1e293b;
            box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
        }
        .btn-custom-primary:hover {
            background: var(--color-accent-hover);
            color: #1e293b;
            box-shadow: 0 4px 18px rgba(245, 158, 11, 0.4);
            transform: translateY(-1px);
        }
        .btn-custom-outline {
            background: transparent;
            color: var(--color-highlight);
            border: 2px solid var(--color-highlight);
        }
        .btn-custom-outline:hover {
            background: var(--color-highlight);
            color: #ffffff;
            transform: translateY(-1px);
        }
        .btn-custom-lg {
            padding: 14px 32px;
            font-size: 1rem;
            border-radius: 28px;
        }

        /* ========== 标签/徽章 ========== */
        .tag {
            display: inline-block;
            padding: 4px 12px;
            border-radius: 16px;
            font-size: 0.78rem;
            font-weight: 500;
            letter-spacing: 0.3px;
            white-space: nowrap;
        }
        .tag-football {
            background: #ecfdf5;
            color: #059669;
        }
        .tag-basketball {
            background: #eff6ff;
            color: #2563eb;
        }
        .tag-tennis {
            background: #fefce8;
            color: #ca8a04;
        }
        .tag-esports {
            background: #fdf2f8;
            color: #be185d;
        }

        /* ========== 赛事时间表 ========== */
        .schedule-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .schedule-item {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 16px 20px;
            background: var(--color-surface);
            border-radius: var(--radius-md);
            margin-bottom: 10px;
            border: 1px solid var(--color-border-light);
            transition: all var(--transition-fast);
            flex-wrap: wrap;
        }
        .schedule-item:hover {
            box-shadow: var(--shadow-md);
            border-color: var(--color-border);
        }
        .schedule-time {
            font-weight: 700;
            font-size: 0.95rem;
            color: var(--color-text);
            min-width: 80px;
            text-align: center;
            flex-shrink: 0;
        }
        .schedule-teams {
            flex: 1;
            font-weight: 600;
            font-size: 0.95rem;
            min-width: 140px;
        }
        .schedule-channel {
            font-size: 0.82rem;
            color: var(--color-text-secondary);
            flex-shrink: 0;
        }
        .schedule-status {
            padding: 5px 14px;
            border-radius: 16px;
            font-size: 0.78rem;
            font-weight: 600;
            flex-shrink: 0;
            letter-spacing: 0.3px;
        }
        .status-live {
            background: #fef2f2;
            color: #dc2626;
        }
        .status-upcoming {
            background: #fffbeb;
            color: #d97706;
        }

        /* ========== 步骤/流程 ========== */
        .steps-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 20px;
        }
        .step-card {
            background: var(--color-surface);
            border-radius: var(--radius-lg);
            padding: 28px 22px;
            text-align: center;
            border: 1px solid var(--color-border-light);
            position: relative;
            transition: all var(--transition-normal);
        }
        .step-card:hover {
            box-shadow: var(--shadow-lg);
            transform: translateY(-3px);
        }
        .step-number {
            width: 52px;
            height: 52px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--color-accent), #fbbf24);
            color: #1e293b;
            font-weight: 800;
            font-size: 1.3rem;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 16px;
        }
        .step-card h4 {
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 6px;
        }
        .step-card p {
            font-size: 0.85rem;
            color: var(--color-text-secondary);
            margin: 0;
        }

        /* ========== FAQ ========== */
        .faq-list {
            max-width: 720px;
            margin: 0 auto;
        }
        .faq-item {
            background: var(--color-surface);
            border-radius: var(--radius-md);
            margin-bottom: 10px;
            border: 1px solid var(--color-border-light);
            overflow: hidden;
            transition: all var(--transition-fast);
        }
        .faq-item:hover {
            box-shadow: var(--shadow-sm);
        }
        .faq-question {
            padding: 16px 20px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            color: var(--color-text);
            font-size: 0.95rem;
            user-select: none;
            transition: color var(--transition-fast);
        }
        .faq-question:hover {
            color: var(--color-accent);
        }
        .faq-answer {
            padding: 0 20px 16px;
            font-size: 0.88rem;
            color: var(--color-text-secondary);
            line-height: 1.65;
            display: none;
        }
        .faq-item.open .faq-answer {
            display: block;
        }
        .faq-item.open .faq-question {
            color: var(--color-accent);
        }
        .faq-icon {
            transition: transform var(--transition-fast);
            font-size: 0.8rem;
            flex-shrink: 0;
            color: var(--color-text-muted);
        }
        .faq-item.open .faq-icon {
            transform: rotate(180deg);
            color: var(--color-accent);
        }

        /* ========== CTA 板块 ========== */
        .cta-section {
            background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
            border-radius: var(--radius-xl);
            padding: 48px 40px;
            text-align: center;
            color: #ffffff;
            position: relative;
            overflow: hidden;
        }
        .cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image: url('/assets/images/backpic/back-2.png');
            background-size: cover;
            background-position: center;
            opacity: 0.15;
            z-index: 0;
        }
        .cta-section .cta-content {
            position: relative;
            z-index: 1;
        }
        .cta-section h2 {
            color: #ffffff;
            font-size: 1.8rem;
            font-weight: 800;
            margin-bottom: 10px;
        }
        .cta-section p {
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 24px;
            font-size: 1rem;
        }

        /* ========== 页脚 ========== */
        .site-footer {
            background: var(--color-sidebar-bg);
            color: #cbd5e1;
            padding: 36px 0 28px;
            margin-top: 0;
            text-align: center;
            flex-shrink: 0;
        }
        .site-footer .footer-brand {
            font-size: 1.2rem;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 6px;
            letter-spacing: 0.5px;
        }
        .site-footer a {
            color: #94a3b8;
            text-decoration: none;
            transition: color var(--transition-fast);
        }
        .site-footer a:hover {
            color: #ffffff;
        }
        .footer-divider {
            border: none;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            margin: 20px 0;
        }

        /* ========== 数据面板卡片 ========== */
        .stat-card-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 16px;
        }
        .stat-card {
            background: var(--color-surface);
            border-radius: var(--radius-md);
            padding: 22px 18px;
            text-align: center;
            border: 1px solid var(--color-border-light);
            transition: all var(--transition-fast);
        }
        .stat-card:hover {
            box-shadow: var(--shadow-md);
            transform: translateY(-2px);
        }
        .stat-card .stat-icon {
            font-size: 1.8rem;
            margin-bottom: 8px;
        }
        .stat-card .stat-value {
            font-size: 2rem;
            font-weight: 800;
            color: var(--color-text);
            line-height: 1;
        }
        .stat-card .stat-desc {
            font-size: 0.8rem;
            color: var(--color-text-muted);
            margin-top: 4px;
        }

        /* ========== 响应式断点 ========== */
        @media (max-width: 1024px) {
            :root {
                --sidebar-width: 240px;
            }
            .category-hero .hero-title {
                font-size: 2rem;
            }
            .section {
                padding: 40px 0;
            }
            .section-title {
                font-size: 1.5rem;
            }
        }
        @media (max-width: 768px) {
            .app-wrapper {
                flex-direction: column;
            }
            .sidebar {
                transform: translateX(-100%);
                width: 280px;
                z-index: 1039;
            }
            .sidebar.open {
                transform: translateX(0);
            }
            .sidebar-backdrop {
                display: block;
            }
            .mobile-header {
                display: flex;
            }
            .main-content {
                margin-left: 0;
                padding-top: var(--header-mobile-height);
            }
            .category-hero {
                padding: 40px 0;
            }
            .category-hero .hero-title {
                font-size: 1.6rem;
            }
            .category-hero .hero-desc {
                font-size: 0.9rem;
            }
            .category-hero .hero-stats {
                gap: 12px;
            }
            .category-hero .hero-stat {
                padding: 12px 16px;
                min-width: 70px;
            }
            .category-hero .hero-stat .stat-number {
                font-size: 1.3rem;
            }
            .section {
                padding: 32px 0;
            }
            .section-title {
                font-size: 1.35rem;
            }
            .schedule-item {
                flex-direction: column;
                align-items: flex-start;
                gap: 8px;
            }
            .schedule-time {
                text-align: left;
                min-width: auto;
            }
            .steps-grid {
                grid-template-columns: 1fr 1fr;
                gap: 12px;
            }
            .cta-section {
                padding: 32px 20px;
                border-radius: var(--radius-lg);
            }
            .cta-section h2 {
                font-size: 1.4rem;
            }
            .stat-card-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }
            .card-custom .card-title-custom {
                font-size: 0.92rem;
            }
        }
        @media (max-width: 520px) {
            .category-hero .hero-title {
                font-size: 1.35rem;
            }
            .category-hero .hero-stats {
                flex-direction: column;
                gap: 8px;
            }
            .category-hero .hero-stat {
                display: flex;
                align-items: center;
                gap: 10px;
                padding: 10px 14px;
                text-align: left;
            }
            .category-hero .hero-stat .stat-number {
                font-size: 1.2rem;
            }
            .steps-grid {
                grid-template-columns: 1fr;
            }
            .stat-card-grid {
                grid-template-columns: 1fr 1fr;
            }
            .section-title {
                font-size: 1.2rem;
            }
            .schedule-item {
                padding: 12px 14px;
            }
        }

/* roulang page: category2 */
:root {
            --primary: #1e40af;
            --primary-light: #3b82f6;
            --primary-dark: #1e3a8a;
            --accent: #f59e0b;
            --accent-hover: #d97706;
            --bg: #f8fafc;
            --surface: #ffffff;
            --text: #0f172a;
            --text-secondary: #64748b;
            --border: #e2e8f0;
            --radius: 12px;
            --radius-sm: 8px;
            --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
            --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.06);
            --sidebar-width: 260px;
            --transition: all 0.25s ease;
        }

        * { box-sizing: border-box; }
        body {
            font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            background: var(--bg);
            color: var(--text);
            line-height: 1.6;
            margin: 0;
        }
        a { color: var(--primary); text-decoration: none; transition: var(--transition); }
        a:hover { color: var(--primary-light); }
        img { max-width: 100%; height: auto; display: block; }

        /* 左侧侧边栏 - 桌面端 */
        .sidebar {
            position: fixed;
            top: 0; left: 0; bottom: 0;
            width: var(--sidebar-width);
            background: var(--surface);
            border-right: 1px solid var(--border);
            display: flex;
            flex-direction: column;
            z-index: 1030;
            overflow-y: auto;
            transition: transform 0.3s ease;
        }
        .sidebar-brand {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--primary);
            padding: 24px 20px 16px;
            border-bottom: 1px solid var(--border);
            letter-spacing: -0.5px;
        }
        .sidebar-nav {
            flex: 1;
            padding: 16px 0;
        }
        .nav-section { padding: 0 16px; }
        .nav-section-label {
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--text-secondary);
            padding: 0 4px 8px;
            font-weight: 600;
        }
        .sidebar-nav a {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 16px;
            border-radius: var(--radius-sm);
            color: var(--text-secondary);
            font-weight: 500;
            font-size: 0.95rem;
            margin-bottom: 2px;
            transition: var(--transition);
            text-decoration: none;
        }
        .sidebar-nav a:hover {
            background: rgba(30, 64, 175, 0.08);
            color: var(--primary);
        }
        .sidebar-nav a.active {
            background: rgba(30, 64, 175, 0.1);
            color: var(--primary);
            font-weight: 600;
        }
        .sidebar-nav a .nav-icon {
            width: 20px;
            text-align: center;
            font-size: 0.9rem;
        }

        /* 移动端导航 */
        .mobile-header { display: none; }
        .mobile-navbar { background: var(--surface); border-bottom: 1px solid var(--border); }
        .mobile-navbar .navbar-brand {
            font-weight: 700;
            color: var(--primary);
            font-size: 1.3rem;
        }
        .mobile-navbar .nav-link {
            color: var(--text-secondary);
            font-weight: 500;
            transition: var(--transition);
        }
        .mobile-navbar .nav-link:hover,
        .mobile-navbar .nav-link.active { color: var(--primary); }

        /* 主内容区 */
        .wrapper {
            margin-left: var(--sidebar-width);
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }
        .main-content { flex: 1; }

        /* 板块通用 */
        .section {
            padding: 60px 0;
        }
        .section-title {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 0.5rem;
        }
        .section-subtitle {
            color: var(--text-secondary);
            font-size: 1.05rem;
            margin-bottom: 2rem;
        }
        .bg-primary-soft { background: rgba(30, 64, 175, 0.04); }

        /* Hero Banner */
        .hero-banner {
            background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%), url('/assets/images/backpic/back-1.png') center/cover no-repeat;
            background-blend-mode: overlay;
            color: #fff;
            padding: 80px 0;
            position: relative;
        }
        .hero-banner .display-5 { font-weight: 800; letter-spacing: -0.5px; }
        .hero-banner .lead { opacity: 0.9; }

        /* 按钮定制 */
        .btn-primary-custom {
            background: var(--accent);
            border: none;
            color: #fff;
            font-weight: 600;
            padding: 10px 24px;
            border-radius: 50px;
            transition: var(--transition);
            box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
        }
        .btn-primary-custom:hover {
            background: var(--accent-hover);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(245, 158, 11, 0.45);
            color: #fff;
        }
        .btn-outline-custom {
            border: 2px solid var(--primary);
            color: var(--primary);
            border-radius: 50px;
            padding: 10px 24px;
            font-weight: 600;
            transition: var(--transition);
        }
        .btn-outline-custom:hover {
            background: var(--primary);
            color: #fff;
        }

        /* 卡片 */
        .feature-card {
            background: var(--surface);
            border-radius: var(--radius);
            padding: 28px 24px;
            box-shadow: var(--shadow);
            border: 1px solid var(--border);
            transition: var(--transition);
            height: 100%;
        }
        .feature-card:hover {
            box-shadow: var(--shadow-lg);
            transform: translateY(-4px);
        }
        .icon-circle {
            width: 48px; height: 48px;
            background: rgba(30, 64, 175, 0.08);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            color: var(--primary);
            margin-bottom: 1rem;
        }
        .step-item {
            display: flex;
            gap: 16px;
            margin-bottom: 24px;
        }
        .step-number {
            width: 36px; height: 36px;
            background: var(--primary);
            color: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            flex-shrink: 0;
        }
        .device-badge {
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: 50px;
            padding: 6px 20px;
            font-weight: 500;
            font-size: 0.9rem;
            color: var(--text-secondary);
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        .faq-accordion .accordion-button:not(.collapsed) {
            background: rgba(30, 64, 175, 0.04);
            color: var(--primary);
            box-shadow: none;
        }
        .accordion-button:focus {
            border-color: var(--primary-light);
            box-shadow: 0 0 0 0.2rem rgba(30, 64, 175, 0.15);
        }

        /* Footer */
        .site-footer {
            background: var(--surface);
            border-top: 1px solid var(--border);
            padding: 32px 40px;
            margin-top: auto;
        }
        .footer-brand { font-size: 1.2rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
        .footer-divider { opacity: 0.5; margin: 16px 0; }
        .site-footer a { color: var(--text-secondary); font-size: 0.9rem; }
        .site-footer a:hover { color: var(--primary); }

        /* 响应式 */
        @media (max-width: 991.98px) {
            .sidebar { display: none !important; }
            .mobile-header { display: block; }
            .wrapper { margin-left: 0; }
            .hero-banner { padding: 50px 0; }
            .section { padding: 40px 0; }
        }
        @media (max-width: 575.98px) {
            .hero-banner .display-5 { font-size: 1.8rem; }
            .site-footer { padding: 24px 20px; text-align: center; }
            .site-footer > div { flex-direction: column; align-items: center; }
        }

/* roulang page: category3 */
:root {
            --bs-primary: #0d6efd;
            --bs-primary-dark: #0a58ca;
            --color-accent: #10b981;
            --color-dark: #0f172a;
            --color-darker: #020617;
            --color-light: #f8fafc;
            --color-gray-100: #f1f5f9;
            --color-gray-200: #e2e8f0;
            --color-gray-400: #94a3b8;
            --color-gray-500: #64748b;
            --color-gray-600: #475569;
            --color-gray-700: #334155;
            --border-radius: 0.75rem;
            --border-radius-lg: 1rem;
            --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
            --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
            --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
            --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
            --transition-base: 0.2s ease-in-out;
            --sidebar-width: 260px;
        }
        * {
            box-sizing: border-box;
        }
        body {
            font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
            background-color: var(--color-light);
            color: var(--color-gray-700);
            line-height: 1.6;
            overflow-x: hidden;
        }
        a {
            text-decoration: none;
            color: inherit;
        }
        img {
            max-width: 100%;
            height: auto;
        }

        /* Offcanvas sidebar styling */
        #sidebarNav {
            background-color: var(--color-darker);
            color: #fff;
            transition: transform var(--transition-base);
        }
        .offcanvas-header {
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        .offcanvas-title {
            font-weight: 700;
            font-size: 1.25rem;
        }
        .sidebar-nav {
            padding: 1.5rem 1rem;
        }
        .nav-section-label {
            text-transform: uppercase;
            font-size: 0.7rem;
            letter-spacing: 0.05em;
            color: var(--color-gray-400);
            margin-bottom: 0.75rem;
            font-weight: 600;
        }
        .sidebar-nav a {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.7rem 1rem;
            border-radius: 0.5rem;
            color: var(--color-gray-400);
            font-weight: 500;
            transition: all var(--transition-base);
            margin-bottom: 0.2rem;
        }
        .sidebar-nav a:hover {
            background-color: rgba(255,255,255,0.05);
            color: #fff;
        }
        .sidebar-nav a.active {
            background-color: var(--bs-primary);
            color: #fff;
            box-shadow: 0 4px 10px rgba(13,110,253,0.3);
        }
        .nav-icon {
            width: 20px;
            text-align: center;
            font-size: 0.9rem;
        }

        /* Mobile header */
        .mobile-header {
            z-index: 1030;
            border-bottom: 1px solid var(--color-gray-200);
        }
        .mobile-header .btn-outline-secondary {
            border-color: var(--color-gray-200);
            color: var(--color-gray-700);
        }

        /* Main content */
        .main-content {
            min-height: 100vh;
        }
        @media (min-width: 992px) {
            .main-content {
                margin-left: var(--sidebar-width);
            }
            /* Make offcanvas behave as sidebar */
            #sidebarNav {
                visibility: visible !important;
                transform: none !important;
                position: fixed;
                top: 0;
                left: 0;
                bottom: 0;
                width: var(--sidebar-width);
                z-index: 1020;
                background-color: var(--color-darker);
            }
            #sidebarNav .offcanvas-header {
                display: flex;
            }
            #sidebarNav .btn-close {
                display: none;
            }
            .offcanvas-backdrop {
                display: none !important;
            }
            body {
                padding-left: 0;
            }
        }
        @media (max-width: 991.98px) {
            .main-content {
                padding-top: 70px; /* height of mobile header */
            }
            body {
                padding-left: 0;
            }
        }

        /* Hero section */
        .page-hero {
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
            color: #fff;
            padding: 4rem 2rem;
            border-radius: 0;
            position: relative;
            overflow: hidden;
        }
        .page-hero h1 {
            font-weight: 800;
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }
        .page-hero p {
            font-size: 1.15rem;
            opacity: 0.9;
            max-width: 600px;
        }
        .page-hero .stat-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(255,255,255,0.1);
            backdrop-filter: blur(4px);
            padding: 0.4rem 1rem;
            border-radius: 50px;
            font-size: 0.9rem;
            margin: 0.5rem 0.5rem 0 0;
        }

        /* Card list */
        .article-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.5rem;
        }
        .article-card {
            background: #fff;
            border-radius: var(--border-radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: all var(--transition-base);
            border: 1px solid var(--color-gray-200);
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        .article-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
        }
        .article-card img {
            height: 180px;
            object-fit: cover;
            width: 100%;
        }
        .article-card .card-body {
            padding: 1.25rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .article-card .card-title a {
            color: var(--color-dark);
            font-weight: 700;
            font-size: 1.1rem;
            line-height: 1.4;
            transition: color var(--transition-base);
        }
        .article-card .card-title a:hover {
            color: var(--bs-primary);
        }
        .article-meta {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-top: auto;
            font-size: 0.8rem;
            color: var(--color-gray-500);
        }
        .badge-custom {
            background-color: var(--bs-primary);
            color: #fff;
            font-weight: 500;
            padding: 0.25em 0.65em;
            border-radius: 50px;
            font-size: 0.75rem;
        }

        /* Tags cloud */
        .tag-cloud a {
            display: inline-block;
            background: var(--color-gray-100);
            color: var(--color-gray-600);
            padding: 0.3rem 0.75rem;
            border-radius: 50px;
            font-size: 0.8rem;
            margin: 0.25rem;
            border: 1px solid var(--color-gray-200);
            transition: all var(--transition-base);
        }
        .tag-cloud a:hover {
            background: var(--bs-primary);
            color: #fff;
            border-color: var(--bs-primary);
        }

        /* Statistics section */
        .stats-row {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 2rem;
        }
        .stat-item {
            text-align: center;
        }
        .stat-number {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--bs-primary);
        }
        .stat-label {
            color: var(--color-gray-500);
            font-size: 0.9rem;
        }

        /* FAQ accordion */
        .accordion-button:not(.collapsed) {
            background-color: var(--color-gray-100);
            color: var(--color-dark);
            font-weight: 600;
        }
        .accordion-button:focus {
            box-shadow: none;
            border-color: var(--bs-primary);
        }

        /* CTA */
        .cta-section {
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
            color: #fff;
            border-radius: var(--border-radius-lg);
            padding: 3rem 2rem;
            text-align: center;
        }
        .cta-section h3 {
            font-weight: 700;
        }
        .btn-primary-custom {
            background-color: var(--bs-primary);
            border: none;
            padding: 0.75rem 2rem;
            border-radius: 50px;
            font-weight: 600;
            transition: background var(--transition-base);
        }
        .btn-primary-custom:hover {
            background-color: var(--bs-primary-dark);
        }
        .btn-outline-custom {
            border: 2px solid rgba(255,255,255,0.5);
            color: #fff;
            padding: 0.75rem 2rem;
            border-radius: 50px;
            font-weight: 600;
            transition: all var(--transition-base);
        }
        .btn-outline-custom:hover {
            background: rgba(255,255,255,0.1);
            border-color: #fff;
            color: #fff;
        }

        /* Footer */
        .site-footer {
            background: var(--color-darker);
            color: var(--color-gray-400);
            padding: 2rem;
            margin-top: 4rem;
        }
        .footer-brand {
            font-weight: 700;
            font-size: 1.2rem;
            color: #fff;
        }
        .footer-divider {
            border-color: rgba(255,255,255,0.1);
            margin: 1.5rem 0;
        }
        .site-footer a {
            color: var(--color-gray-400);
            text-decoration: none;
        }
        .site-footer a:hover {
            color: #fff;
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .page-hero h1 {
                font-size: 2rem;
            }
            .article-grid {
                grid-template-columns: 1fr;
            }
        }
