/* roulang page: index */
:root {
            --sidebar-width: 250px;
            --sidebar-bg: #0d0d1a;
            --sidebar-hover: #1a1a30;
            --sidebar-active: #1e1e38;
            --sidebar-text: #b0b8c8;
            --sidebar-text-active: #ffffff;
            --primary: #7c5cfc;
            --primary-light: #9d84ff;
            --primary-dark: #5a3fd6;
            --accent: #ff6b6b;
            --accent-light: #ff8e8e;
            --gold: #ffa502;
            --gold-light: #ffbe4d;
            --bg: #f5f6fa;
            --bg-alt: #eef0f5;
            --card-bg: #ffffff;
            --text: #1e1e2e;
            --text-secondary: #5a5d6e;
            --text-muted: #8b8fa3;
            --border: #e2e4ea;
            --border-light: #f0f1f5;
            --radius-sm: 8px;
            --radius: 12px;
            --radius-lg: 16px;
            --radius-xl: 20px;
            --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
            --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
            --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.10);
            --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
            --transition: 0.2s ease;
            --transition-slow: 0.35s ease;
            --font-stack: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            font-size: 16px;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        body {
            font-family: var(--font-stack);
            line-height: 1.7;
            color: var(--text);
            background: var(--bg);
            display: flex;
            min-height: 100vh;
            flex-direction: row;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: color var(--transition);
        }

        button {
            cursor: pointer;
            font-family: inherit;
            border: none;
            background: none;
        }

        input {
            font-family: inherit;
        }

        ul,
        ol {
            list-style: none;
        }

        /* ===== SIDEBAR NAVIGATION ===== */
        .sidebar {
            position: fixed;
            top: 0;
            left: 0;
            width: var(--sidebar-width);
            height: 100vh;
            background: var(--sidebar-bg);
            z-index: 1000;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            overflow-x: hidden;
            border-right: 1px solid rgba(255, 255, 255, 0.06);
            transition: transform var(--transition-slow);
        }

        .sidebar-logo {
            padding: 28px 24px 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            flex-shrink: 0;
        }

        .sidebar-logo a {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 1.25rem;
            font-weight: 700;
            color: #ffffff;
            letter-spacing: 0.5px;
            white-space: nowrap;
        }

        .sidebar-logo .logo-icon {
            width: 40px;
            height: 40px;
            border-radius: var(--radius-sm);
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            color: #fff;
            flex-shrink: 0;
            font-weight: 800;
            letter-spacing: 0;
        }

        .sidebar-nav {
            flex: 1;
            padding: 16px 14px;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .sidebar-nav .nav-section {
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: rgba(255, 255, 255, 0.3);
            padding: 16px 10px 6px;
            font-weight: 600;
        }

        .sidebar-nav a {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 11px 14px;
            border-radius: var(--radius-sm);
            color: var(--sidebar-text);
            font-size: 0.95rem;
            font-weight: 500;
            transition: all var(--transition);
            position: relative;
            white-space: nowrap;
        }

        .sidebar-nav a:hover {
            background: var(--sidebar-hover);
            color: #d0d6e4;
        }

        .sidebar-nav a.active {
            background: var(--sidebar-active);
            color: var(--sidebar-text-active);
            font-weight: 600;
            box-shadow: inset 3px 0 0 var(--primary);
        }

        .sidebar-nav a .nav-icon {
            width: 22px;
            text-align: center;
            font-size: 1rem;
            flex-shrink: 0;
            opacity: 0.7;
        }

        .sidebar-nav a.active .nav-icon {
            opacity: 1;
            color: var(--primary-light);
        }

        .sidebar-footer {
            padding: 16px 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            flex-shrink: 0;
        }

        .sidebar-footer .user-hint {
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.4);
            text-align: center;
        }

        /* ===== MAIN CONTENT AREA ===== */
        .main-wrapper {
            margin-left: var(--sidebar-width);
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        .main-content {
            flex: 1;
        }

        /* ===== MOBILE TOP BAR ===== */
        .mobile-topbar {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 56px;
            background: var(--sidebar-bg);
            z-index: 999;
            align-items: center;
            padding: 0 16px;
            justify-content: space-between;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

        .mobile-topbar .mobile-logo {
            font-size: 1.1rem;
            font-weight: 700;
            color: #fff;
            letter-spacing: 0.5px;
        }

        .mobile-topbar .menu-toggle {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: var(--radius-sm);
            color: #fff;
            font-size: 1.5rem;
            background: rgba(255, 255, 255, 0.08);
            transition: background var(--transition);
        }

        .mobile-topbar .menu-toggle:hover {
            background: rgba(255, 255, 255, 0.15);
        }

        /* ===== OVERLAY ===== */
        .sidebar-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.6);
            z-index: 998;
            transition: opacity var(--transition-slow);
        }
        .sidebar-overlay.show {
            display: block;
        }

        /* ===== CONTAINER ===== */
        .container {
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 28px;
        }
        .container-wide {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 28px;
        }

        /* ===== HERO ===== */
        .hero {
            background: linear-gradient(160deg, #0d0d1a 0%, #1a1a35 40%, #15152a 100%);
            background-image: url('/assets/images/backpic/back-1.png');
            background-size: cover;
            background-position: center;
            background-blend-mode: overlay;
            color: #ffffff;
            padding: 80px 0 70px;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse at 70% 30%, rgba(124, 92, 252, 0.25) 0%, transparent 60%);
            pointer-events: none;
        }

        .hero .container {
            position: relative;
            z-index: 1;
        }

        .hero-badge {
            display: inline-block;
            background: rgba(255, 255, 255, 0.12);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: var(--gold-light);
            padding: 6px 16px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            margin-bottom: 20px;
            backdrop-filter: blur(4px);
        }

        .hero h1 {
            font-size: 2.8rem;
            font-weight: 800;
            letter-spacing: -0.5px;
            line-height: 1.25;
            margin-bottom: 18px;
            max-width: 650px;
        }
        .hero h1 .highlight {
            color: var(--primary-light);
        }

        .hero .hero-desc {
            font-size: 1.15rem;
            color: rgba(255, 255, 255, 0.8);
            max-width: 560px;
            line-height: 1.7;
            margin-bottom: 32px;
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 14px;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 13px 26px;
            border-radius: 28px;
            font-weight: 600;
            font-size: 0.95rem;
            letter-spacing: 0.3px;
            transition: all var(--transition);
            white-space: nowrap;
            cursor: pointer;
            text-decoration: none;
        }

        .btn-primary {
            background: var(--primary);
            color: #fff;
            box-shadow: 0 4px 16px rgba(124, 92, 252, 0.35);
        }
        .btn-primary:hover {
            background: var(--primary-light);
            box-shadow: 0 6px 22px rgba(124, 92, 252, 0.45);
            transform: translateY(-2px);
        }

        .btn-outline {
            border: 2px solid rgba(255, 255, 255, 0.5);
            color: #fff;
            background: transparent;
        }
        .btn-outline:hover {
            border-color: #fff;
            background: rgba(255, 255, 255, 0.08);
            transform: translateY(-2px);
        }

        .btn-accent {
            background: var(--accent);
            color: #fff;
            box-shadow: 0 4px 16px rgba(255, 107, 107, 0.35);
        }
        .btn-accent:hover {
            background: var(--accent-light);
            box-shadow: 0 6px 22px rgba(255, 107, 107, 0.45);
            transform: translateY(-2px);
        }

        .btn-gold {
            background: var(--gold);
            color: #1e1e2e;
            box-shadow: 0 4px 16px rgba(255, 165, 2, 0.35);
        }
        .btn-gold:hover {
            background: var(--gold-light);
            box-shadow: 0 6px 22px rgba(255, 165, 2, 0.45);
            transform: translateY(-2px);
        }

        /* ===== SECTIONS ===== */
        .section {
            padding: 60px 0;
        }
        .section-alt {
            background: var(--bg-alt);
        }
        .section-dark {
            background: #111122;
            color: #ffffff;
        }

        .section-header {
            text-align: center;
            margin-bottom: 44px;
        }
        .section-header h2 {
            font-size: 2rem;
            font-weight: 700;
            letter-spacing: -0.3px;
            margin-bottom: 10px;
            color: var(--text);
        }
        .section-dark .section-header h2 {
            color: #ffffff;
        }
        .section-header .section-subtitle {
            font-size: 1rem;
            color: var(--text-muted);
            max-width: 520px;
            margin: 0 auto;
        }
        .section-dark .section-header .section-subtitle {
            color: rgba(255, 255, 255, 0.55);
        }

        /* ===== CARDS GRID ===== */
        .cards-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }
        .cards-grid-2 {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 24px;
        }
        .cards-grid-4 {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }

        .card {
            background: var(--card-bg);
            border-radius: var(--radius-lg);
            padding: 28px 24px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
            transition: all var(--transition);
            position: relative;
            overflow: hidden;
        }
        .card:hover {
            box-shadow: var(--shadow-md);
            transform: translateY(-3px);
            border-color: var(--border);
        }
        .card .card-icon {
            width: 50px;
            height: 50px;
            border-radius: var(--radius);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            margin-bottom: 16px;
            font-weight: 700;
        }
        .card .card-icon.purple {
            background: rgba(124, 92, 252, 0.12);
            color: var(--primary);
        }
        .card .card-icon.red {
            background: rgba(255, 107, 107, 0.12);
            color: var(--accent);
        }
        .card .card-icon.gold {
            background: rgba(255, 165, 2, 0.12);
            color: var(--gold);
        }
        .card .card-icon.green {
            background: rgba(46, 213, 115, 0.12);
            color: #2ed573;
        }
        .card h3 {
            font-size: 1.15rem;
            font-weight: 700;
            margin-bottom: 8px;
            color: var(--text);
        }
        .card p {
            font-size: 0.9rem;
            color: var(--text-secondary);
            line-height: 1.6;
        }

        /* ===== CATEGORY CARD ===== */
        .category-card {
            background: var(--card-bg);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
            transition: all var(--transition);
            display: flex;
            flex-direction: column;
        }
        .category-card:hover {
            box-shadow: var(--shadow-md);
            transform: translateY(-4px);
            border-color: var(--border);
        }
        .category-card .card-img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            display: block;
        }
        .category-card .card-body {
            padding: 22px 20px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .category-card .card-body h3 {
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 6px;
            color: var(--text);
        }
        .category-card .card-body p {
            font-size: 0.9rem;
            color: var(--text-secondary);
            margin-bottom: 14px;
            flex: 1;
        }
        .category-card .card-body .card-link {
            font-weight: 600;
            color: var(--primary);
            font-size: 0.9rem;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            transition: gap var(--transition);
        }
        .category-card .card-body .card-link:hover {
            gap: 8px;
            color: var(--primary-dark);
        }

        /* ===== NEWS LIST ===== */
        .news-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .news-item {
            display: flex;
            align-items: center;
            gap: 16px;
            background: var(--card-bg);
            border-radius: var(--radius);
            padding: 16px 20px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
            transition: all var(--transition);
        }
        .news-item:hover {
            box-shadow: var(--shadow);
            border-color: var(--border);
            transform: translateX(3px);
        }
        .news-item .news-thumb {
            width: 80px;
            height: 60px;
            border-radius: var(--radius-sm);
            object-fit: cover;
            flex-shrink: 0;
            background: var(--bg-alt);
        }
        .news-item .news-info {
            flex: 1;
            min-width: 0;
        }
        .news-item .news-info h4 {
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 4px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .news-item .news-info .news-meta {
            font-size: 0.8rem;
            color: var(--text-muted);
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }
        .news-item .news-tag {
            flex-shrink: 0;
            background: rgba(124, 92, 252, 0.1);
            color: var(--primary);
            padding: 4px 10px;
            border-radius: 14px;
            font-size: 0.75rem;
            font-weight: 600;
        }
        .news-empty {
            text-align: center;
            padding: 40px;
            color: var(--text-muted);
            font-size: 0.95rem;
        }

        /* ===== STATS ===== */
        .stats-row {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
            text-align: center;
        }
        .stat-item .stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            color: #ffffff;
            letter-spacing: -1px;
        }
        .stat-item .stat-number .stat-suffix {
            color: var(--gold);
        }
        .stat-item .stat-label {
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.6);
            margin-top: 4px;
        }

        /* ===== FAQ ===== */
        .faq-list {
            max-width: 760px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .faq-item {
            background: var(--card-bg);
            border-radius: var(--radius);
            padding: 20px 24px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
            transition: all var(--transition);
            cursor: pointer;
        }
        .faq-item:hover {
            box-shadow: var(--shadow);
            border-color: var(--border);
        }
        .faq-item .faq-q {
            font-weight: 700;
            font-size: 1rem;
            color: var(--text);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .faq-item .faq-q .faq-icon {
            color: var(--primary);
            font-weight: 800;
            font-size: 1.2rem;
            flex-shrink: 0;
        }
        .faq-item .faq-a {
            margin-top: 8px;
            font-size: 0.9rem;
            color: var(--text-secondary);
            line-height: 1.7;
            padding-left: 28px;
        }

        /* ===== CTA ===== */
        .cta-section {
            background: linear-gradient(135deg, var(--primary-dark), var(--primary));
            color: #ffffff;
            text-align: center;
            padding: 60px 0;
            position: relative;
            overflow: hidden;
        }
        .cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse at 30% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
            pointer-events: none;
        }
        .cta-section .container {
            position: relative;
            z-index: 1;
        }
        .cta-section h2 {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 12px;
        }
        .cta-section p {
            font-size: 1.05rem;
            opacity: 0.9;
            margin-bottom: 28px;
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
        }

        /* ===== FOOTER ===== */
        .site-footer {
            background: #0a0a14;
            color: rgba(255, 255, 255, 0.7);
            padding: 40px 0 28px;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 30px;
            margin-bottom: 28px;
        }
        .footer-grid h4 {
            color: #ffffff;
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 12px;
        }
        .footer-grid p,
        .footer-grid a {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.55);
            line-height: 2;
        }
        .footer-grid a:hover {
            color: #ffffff;
        }
        .footer-bottom {
            text-align: center;
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.35);
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
        }

        /* ===== TAG / BADGE ===== */
        .tag {
            display: inline-block;
            padding: 5px 12px;
            border-radius: 14px;
            font-size: 0.78rem;
            font-weight: 600;
            letter-spacing: 0.3px;
        }
        .tag-purple {
            background: rgba(124, 92, 252, 0.1);
            color: var(--primary);
        }
        .tag-red {
            background: rgba(255, 107, 107, 0.1);
            color: var(--accent);
        }
        .tag-gold {
            background: rgba(255, 165, 2, 0.1);
            color: var(--gold);
        }

        /* ===== HIGHLIGHT BOX ===== */
        .highlight-box {
            background: var(--card-bg);
            border-left: 4px solid var(--primary);
            border-radius: 0 var(--radius) var(--radius) 0;
            padding: 20px 24px;
            box-shadow: var(--shadow-sm);
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 1024px) {
            .cards-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .cards-grid-4 {
                grid-template-columns: repeat(2, 1fr);
            }
            .stats-row {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }
            .footer-grid {
                grid-template-columns: 1fr 1fr;
            }
            .hero h1 {
                font-size: 2.2rem;
            }
        }

        @media (max-width: 768px) {
            .sidebar {
                transform: translateX(-100%);
            }
            .sidebar.open {
                transform: translateX(0);
            }
            .sidebar-overlay.show {
                display: block;
            }
            .mobile-topbar {
                display: flex;
            }
            .main-wrapper {
                margin-left: 0;
                padding-top: 56px;
            }
            .cards-grid,
            .cards-grid-2 {
                grid-template-columns: 1fr;
            }
            .cards-grid-4 {
                grid-template-columns: 1fr 1fr;
            }
            .stats-row {
                grid-template-columns: 1fr 1fr;
            }
            .footer-grid {
                grid-template-columns: 1fr;
            }
            .hero {
                padding: 50px 0 40px;
            }
            .hero h1 {
                font-size: 1.7rem;
            }
            .hero .hero-desc {
                font-size: 0.95rem;
            }
            .section {
                padding: 40px 0;
            }
            .section-header h2 {
                font-size: 1.5rem;
            }
            .container,
            .container-wide {
                padding: 0 16px;
            }
            .news-item {
                flex-wrap: wrap;
                gap: 10px;
            }
            .news-item .news-thumb {
                width: 60px;
                height: 45px;
            }
            .btn {
                padding: 11px 20px;
                font-size: 0.9rem;
            }
        }

        @media (max-width: 520px) {
            .cards-grid-4 {
                grid-template-columns: 1fr;
            }
            .stats-row {
                grid-template-columns: 1fr;
            }
            .hero-actions {
                flex-direction: column;
            }
            .hero-actions .btn {
                width: 100%;
                justify-content: center;
            }
            .stat-item .stat-number {
                font-size: 1.8rem;
            }
        }

/* roulang page: article */
:root {
            --color-primary: #1e40af;
            --color-primary-light: #3b82f6;
            --color-primary-dark: #1e3a8a;
            --color-accent: #f59e0b;
            --color-accent-light: #fbbf24;
            --color-bg: #f1f5f9;
            --color-surface: #ffffff;
            --color-sidebar: #0f172a;
            --color-sidebar-hover: #1e293b;
            --color-sidebar-active: #1e40af;
            --color-text: #1e293b;
            --color-text-weak: #64748b;
            --color-text-muted: #94a3b8;
            --color-border: #e2e8f0;
            --color-border-light: #f1f5f9;
            --color-tag-bg: #eff6ff;
            --color-tag-text: #1e40af;
            --color-success: #10b981;
            --color-danger: #ef4444;
            --radius-sm: 6px;
            --radius-md: 10px;
            --radius-lg: 16px;
            --radius-xl: 20px;
            --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
            --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
            --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
            --shadow-xl: 0 16px 48px rgba(0,0,0,0.16);
            --sidebar-width: 250px;
            --transition-fast: 0.15s ease;
            --transition-normal: 0.25s ease;
            --transition-slow: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
            --font-sans: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', system-ui, sans-serif;
            --font-mono: 'SF Mono', 'Cascadia Code', 'Consolas', 'Monaco', monospace;
        }

        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        body {
            font-family: var(--font-sans);
            font-size: 16px;
            line-height: 1.7;
            color: var(--color-text);
            background: var(--color-bg);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: color var(--transition-fast);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        button, input, select, textarea {
            font-family: inherit;
            font-size: inherit;
        }

        button {
            cursor: pointer;
            border: none;
            background: none;
        }

        ul, ol {
            list-style: none;
        }

        h1, h2, h3, h4, h5, h6 {
            line-height: 1.3;
            font-weight: 700;
            color: var(--color-text);
        }

        /* ============ SIDEBAR ============ */
        .sidebar {
            position: fixed;
            top: 0;
            left: 0;
            width: var(--sidebar-width);
            height: 100vh;
            background: var(--color-sidebar);
            z-index: 1000;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            overflow-x: hidden;
            transition: transform var(--transition-slow);
            box-shadow: 2px 0 24px rgba(0,0,0,0.2);
        }

        .sidebar-logo {
            padding: 24px 20px 20px;
            border-bottom: 1px solid rgba(255,255,255,0.08);
            flex-shrink: 0;
        }

        .sidebar-logo a {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1.15rem;
            font-weight: 700;
            color: #ffffff;
            letter-spacing: 0.02em;
            white-space: nowrap;
        }

        .sidebar-logo .logo-icon {
            width: 36px;
            height: 36px;
            border-radius: var(--radius-sm);
            background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            flex-shrink: 0;
        }

        .sidebar-nav {
            flex: 1;
            padding: 16px 12px;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .nav-section {
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: rgba(255,255,255,0.35);
            padding: 14px 12px 6px;
            font-weight: 600;
        }

        .sidebar-nav a {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 11px 14px;
            border-radius: var(--radius-md);
            color: rgba(255,255,255,0.7);
            font-size: 0.925rem;
            font-weight: 500;
            transition: all var(--transition-fast);
            position: relative;
        }

        .sidebar-nav a:hover {
            background: var(--color-sidebar-hover);
            color: #ffffff;
        }

        .sidebar-nav a.active {
            background: var(--color-sidebar-active);
            color: #ffffff;
            font-weight: 600;
            box-shadow: 0 4px 12px rgba(30,64,175,0.4);
        }

        .sidebar-nav a.active::before {
            content: '';
            position: absolute;
            left: -12px;
            top: 50%;
            transform: translateY(-50%);
            width: 3px;
            height: 22px;
            background: var(--color-accent);
            border-radius: 0 3px 3px 0;
        }

        .nav-icon {
            font-size: 1.1rem;
            width: 22px;
            text-align: center;
            flex-shrink: 0;
        }

        .sidebar-footer {
            padding: 16px 20px;
            border-top: 1px solid rgba(255,255,255,0.08);
            flex-shrink: 0;
        }

        .sidebar-footer .sidebar-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 14px;
            border-radius: 20px;
            background: rgba(255,255,255,0.06);
            color: rgba(255,255,255,0.6);
            font-size: 0.8rem;
            font-weight: 500;
        }

        .sidebar-footer .sidebar-badge .dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--color-success);
            animation: pulse-dot 2s infinite;
        }

        @keyframes pulse-dot {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.4; }
        }

        /* ============ MAIN CONTENT AREA ============ */
        .main-wrapper {
            margin-left: var(--sidebar-width);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* ============ MOBILE TOP BAR ============ */
        .mobile-topbar {
            display: none;
            position: sticky;
            top: 0;
            z-index: 900;
            background: var(--color-surface);
            border-bottom: 1px solid var(--color-border);
            padding: 12px 16px;
            align-items: center;
            gap: 12px;
            box-shadow: var(--shadow-sm);
        }

        .mobile-topbar .hamburger {
            width: 38px;
            height: 38px;
            border-radius: var(--radius-sm);
            background: var(--color-bg);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 5px;
            flex-shrink: 0;
            border: 1px solid var(--color-border);
        }

        .hamburger span {
            display: block;
            width: 18px;
            height: 2px;
            background: var(--color-text);
            border-radius: 2px;
            transition: all var(--transition-fast);
        }

        .mobile-topbar .mobile-logo {
            font-weight: 700;
            font-size: 1rem;
            color: var(--color-text);
            white-space: nowrap;
        }

        /* ============ SIDEBAR OVERLAY ============ */
        .sidebar-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.5);
            z-index: 999;
            opacity: 0;
            transition: opacity var(--transition-normal);
        }

        .sidebar-overlay.active {
            display: block;
            opacity: 1;
        }

        /* ============ ARTICLE CONTAINER ============ */
        .article-container {
            max-width: 880px;
            margin: 0 auto;
            padding: 32px 24px 48px;
            width: 100%;
        }

        /* ============ BREADCRUMB ============ */
        .breadcrumb {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
            font-size: 0.85rem;
            color: var(--color-text-weak);
            margin-bottom: 20px;
        }

        .breadcrumb a {
            color: var(--color-primary-light);
            font-weight: 500;
        }

        .breadcrumb a:hover {
            color: var(--color-primary);
            text-decoration: underline;
        }

        .breadcrumb .separator {
            color: var(--color-text-muted);
            font-size: 0.7rem;
        }

        .breadcrumb .current {
            color: var(--color-text-weak);
            font-weight: 400;
        }

        /* ============ ARTICLE CARD ============ */
        .article-detail-card {
            background: var(--color-surface);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-md);
            overflow: hidden;
        }

        .article-cover {
            position: relative;
            width: 100%;
            max-height: 420px;
            overflow: hidden;
            background: #e2e8f0;
        }

        .article-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .article-cover .cover-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 60%;
            background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
            pointer-events: none;
        }

        .article-meta-top {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
            padding: 24px 32px 0;
        }

        .article-category-tag {
            display: inline-flex;
            align-items: center;
            padding: 5px 14px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            background: var(--color-tag-bg);
            color: var(--color-tag-text);
            letter-spacing: 0.02em;
        }

        .article-date {
            font-size: 0.85rem;
            color: var(--color-text-weak);
        }

        .article-read-time {
            font-size: 0.8rem;
            color: var(--color-text-muted);
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .article-header {
            padding: 16px 32px 8px;
        }

        .article-header h1 {
            font-size: 1.85rem;
            font-weight: 800;
            color: var(--color-text);
            line-height: 1.35;
            letter-spacing: -0.01em;
        }

        .article-divider {
            margin: 16px 32px;
            height: 1px;
            background: var(--color-border);
        }

        .article-content {
            padding: 8px 32px 36px;
            font-size: 1.025rem;
            line-height: 1.85;
            color: #334155;
        }

        .article-content p {
            margin-bottom: 1.25em;
        }

        .article-content h2 {
            font-size: 1.45rem;
            margin: 2em 0 0.8em;
            color: var(--color-text);
            padding-bottom: 8px;
            border-bottom: 2px solid var(--color-border-light);
        }

        .article-content h3 {
            font-size: 1.2rem;
            margin: 1.6em 0 0.6em;
            color: var(--color-text);
        }

        .article-content h4 {
            font-size: 1.05rem;
            margin: 1.4em 0 0.5em;
            color: var(--color-text);
        }

        .article-content img {
            max-width: 100%;
            border-radius: var(--radius-md);
            margin: 1.5em 0;
            box-shadow: var(--shadow-sm);
        }

        .article-content blockquote {
            margin: 1.5em 0;
            padding: 16px 20px;
            border-left: 4px solid var(--color-primary-light);
            background: #f8fafc;
            border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
            color: #475569;
            font-style: italic;
        }

        .article-content ul,
        .article-content ol {
            margin: 1em 0;
            padding-left: 1.5em;
        }

        .article-content ul {
            list-style: disc;
        }

        .article-content ol {
            list-style: decimal;
        }

        .article-content li {
            margin-bottom: 0.5em;
        }

        .article-content a {
            color: var(--color-primary-light);
            text-decoration: underline;
            text-underline-offset: 3px;
        }

        .article-content a:hover {
            color: var(--color-primary);
        }

        .article-content code {
            font-family: var(--font-mono);
            background: #f1f5f9;
            padding: 2px 6px;
            border-radius: 4px;
            font-size: 0.9em;
            color: #1e293b;
        }

        .article-content pre {
            background: #1e293b;
            color: #e2e8f0;
            padding: 16px 20px;
            border-radius: var(--radius-md);
            overflow-x: auto;
            margin: 1.5em 0;
            font-size: 0.9rem;
            line-height: 1.6;
        }

        .article-content pre code {
            background: none;
            padding: 0;
            color: inherit;
            font-size: inherit;
        }

        .article-content table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5em 0;
            font-size: 0.95rem;
        }

        .article-content th,
        .article-content td {
            border: 1px solid var(--color-border);
            padding: 10px 14px;
            text-align: left;
        }

        .article-content th {
            background: #f8fafc;
            font-weight: 600;
            color: var(--color-text);
        }

        /* ============ ARTICLE FOOTER META ============ */
        .article-tags-row {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
            padding: 0 32px 20px;
        }

        .article-tags-row .tag-label {
            font-size: 0.8rem;
            color: var(--color-text-weak);
            font-weight: 500;
            flex-shrink: 0;
        }

        .article-tags-row .tag-item {
            display: inline-block;
            padding: 4px 12px;
            border-radius: 14px;
            font-size: 0.78rem;
            background: var(--color-bg);
            color: var(--color-text-weak);
            border: 1px solid var(--color-border);
            transition: all var(--transition-fast);
        }

        .article-tags-row .tag-item:hover {
            border-color: var(--color-primary-light);
            color: var(--color-primary);
            background: var(--color-tag-bg);
        }

        /* ============ NOT FOUND STATE ============ */
        .not-found-card {
            background: var(--color-surface);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-md);
            padding: 60px 32px;
            text-align: center;
        }

        .not-found-icon {
            font-size: 4rem;
            margin-bottom: 16px;
            display: block;
        }

        .not-found-card h2 {
            font-size: 1.5rem;
            margin-bottom: 8px;
        }

        .not-found-card p {
            color: var(--color-text-weak);
            margin-bottom: 24px;
        }

        .not-found-card .btn-back {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 10px 24px;
            border-radius: 24px;
            background: var(--color-primary);
            color: #fff;
            font-weight: 600;
            font-size: 0.95rem;
            transition: all var(--transition-fast);
        }

        .not-found-card .btn-back:hover {
            background: var(--color-primary-dark);
            box-shadow: var(--shadow-md);
            transform: translateY(-1px);
        }

        /* ============ RELATED POSTS ============ */
        .related-section {
            margin-top: 40px;
        }

        .related-section .section-title {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 20px;
            padding-left: 4px;
            border-left: 3px solid var(--color-primary);
            padding: 6px 0 6px 14px;
        }

        .related-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
            gap: 18px;
        }

        .related-card {
            background: var(--color-surface);
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-sm);
            overflow: hidden;
            transition: all var(--transition-normal);
            display: flex;
            flex-direction: column;
        }

        .related-card:hover {
            box-shadow: var(--shadow-lg);
            transform: translateY(-3px);
        }

        .related-card .card-img {
            width: 100%;
            height: 150px;
            background: #e2e8f0;
            overflow: hidden;
        }

        .related-card .card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform var(--transition-slow);
        }

        .related-card:hover .card-img img {
            transform: scale(1.05);
        }

        .related-card .card-body {
            padding: 14px 16px 18px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .related-card .card-cat {
            font-size: 0.72rem;
            font-weight: 600;
            color: var(--color-primary-light);
            text-transform: uppercase;
            letter-spacing: 0.03em;
            margin-bottom: 6px;
        }

        .related-card .card-title {
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--color-text);
            line-height: 1.4;
            margin-bottom: 8px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .related-card .card-date {
            font-size: 0.75rem;
            color: var(--color-text-muted);
            margin-top: auto;
        }

        /* ============ CTA SECTION ============ */
        .cta-section {
            margin-top: 44px;
            background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
            border-radius: var(--radius-lg);
            padding: 36px 32px;
            text-align: center;
            color: #ffffff;
            box-shadow: var(--shadow-lg);
        }

        .cta-section h3 {
            font-size: 1.3rem;
            color: #ffffff;
            margin-bottom: 8px;
        }

        .cta-section p {
            color: rgba(255,255,255,0.8);
            margin-bottom: 20px;
            font-size: 0.95rem;
        }

        .cta-section .btn-cta {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 28px;
            border-radius: 24px;
            background: var(--color-accent);
            color: #1e293b;
            font-weight: 700;
            font-size: 0.95rem;
            transition: all var(--transition-fast);
            box-shadow: 0 4px 16px rgba(245,158,11,0.35);
        }

        .cta-section .btn-cta:hover {
            background: var(--color-accent-light);
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(245,158,11,0.45);
        }

        /* ============ FOOTER ============ */
        .site-footer {
            background: #0f172a;
            color: rgba(255,255,255,0.7);
            padding: 48px 24px 28px;
            margin-top: auto;
        }

        .site-footer .container {
            max-width: 880px;
            margin: 0 auto;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 28px;
            margin-bottom: 28px;
        }

        .footer-grid h4 {
            font-size: 1rem;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 12px;
        }

        .footer-grid p {
            font-size: 0.875rem;
            line-height: 1.6;
            margin-bottom: 6px;
            color: rgba(255,255,255,0.6);
        }

        .footer-grid a {
            color: rgba(255,255,255,0.6);
            transition: color var(--transition-fast);
        }

        .footer-grid a:hover {
            color: #ffffff;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 20px;
            text-align: center;
            font-size: 0.8rem;
            color: rgba(255,255,255,0.4);
        }

        /* ============ RESPONSIVE ============ */
        @media (max-width: 1024px) {
            .article-container {
                padding: 24px 18px 36px;
            }

            .article-header h1 {
                font-size: 1.55rem;
            }

            .article-content {
                padding: 8px 20px 28px;
                font-size: 0.975rem;
            }

            .article-meta-top {
                padding: 20px 20px 0;
            }

            .article-header {
                padding: 14px 20px 6px;
            }

            .article-divider {
                margin: 12px 20px;
            }

            .article-tags-row {
                padding: 0 20px 16px;
            }

            .related-grid {
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
                gap: 14px;
            }

            .cta-section {
                padding: 28px 20px;
            }
        }

        @media (max-width: 768px) {
            .sidebar {
                transform: translateX(-100%);
                box-shadow: none;
            }

            .sidebar.open {
                transform: translateX(0);
                box-shadow: 4px 0 30px rgba(0,0,0,0.3);
            }

            .sidebar-overlay.active {
                display: block;
                opacity: 1;
            }

            .main-wrapper {
                margin-left: 0;
            }

            .mobile-topbar {
                display: flex;
            }

            .article-container {
                padding: 16px 12px 28px;
            }

            .article-header h1 {
                font-size: 1.35rem;
            }

            .article-content {
                padding: 6px 14px 22px;
                font-size: 0.95rem;
            }

            .article-meta-top {
                padding: 16px 14px 0;
                gap: 8px;
            }

            .article-header {
                padding: 10px 14px 4px;
            }

            .article-divider {
                margin: 10px 14px;
            }

            .article-tags-row {
                padding: 0 14px 14px;
            }

            .related-grid {
                grid-template-columns: 1fr 1fr;
                gap: 10px;
            }

            .related-card .card-img {
                height: 120px;
            }

            .related-card .card-title {
                font-size: 0.85rem;
            }

            .cta-section {
                padding: 24px 16px;
                border-radius: var(--radius-md);
            }

            .cta-section h3 {
                font-size: 1.1rem;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
        }

        @media (max-width: 520px) {
            .article-header h1 {
                font-size: 1.2rem;
            }

            .article-content {
                font-size: 0.9rem;
                padding: 4px 10px 18px;
            }

            .article-meta-top {
                padding: 12px 10px 0;
            }

            .article-header {
                padding: 8px 10px 2px;
            }

            .article-divider {
                margin: 8px 10px;
            }

            .article-tags-row {
                padding: 0 10px 10px;
            }

            .article-cover {
                max-height: 220px;
            }

            .related-grid {
                grid-template-columns: 1fr;
            }

            .cta-section {
                margin-top: 28px;
            }
        }

/* roulang page: category1 */
/* ===== 设计变量 ===== */
        :root {
            --primary: #1a3550;
            --primary-light: #264a6e;
            --primary-dark: #0f1f30;
            --accent: #e8943a;
            --accent-hover: #d17a2a;
            --accent-light: #fdf0e2;
            --bg: #f4f5f7;
            --white: #ffffff;
            --text: #1e293b;
            --text-secondary: #475569;
            --text-light: #94a3b8;
            --border: #e2e8f0;
            --border-light: #f1f5f9;
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
            --shadow: 0 2px 12px rgba(0,0,0,0.07);
            --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
            --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
            --radius-sm: 6px;
            --radius: 10px;
            --radius-lg: 14px;
            --sidebar-width: 250px;
            --header-height: 0px;
            --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
        }

        /* ===== 基础 Reset ===== */
        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        body {
            font-family: var(--font-sans);
            font-size: 15px;
            line-height: 1.7;
            color: var(--text);
            background: var(--bg);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: color var(--transition);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        button, input, select, textarea {
            font-family: inherit;
            font-size: inherit;
        }

        button {
            cursor: pointer;
            border: none;
            background: none;
            outline: none;
        }

        ul, ol {
            list-style: none;
        }

        h1, h2, h3, h4, h5, h6 {
            line-height: 1.35;
            font-weight: 700;
            color: var(--text);
        }

        /* ===== 容器 ===== */
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
        }

        /* ===== 侧边栏导航 ===== */
        .sidebar {
            position: fixed;
            top: 0;
            left: 0;
            width: var(--sidebar-width);
            height: 100vh;
            background: var(--primary-dark);
            color: #e8ecf1;
            z-index: 1000;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            transition: transform var(--transition);
            box-shadow: 2px 0 24px rgba(0,0,0,0.18);
        }

        .sidebar-logo {
            padding: 24px 20px;
            border-bottom: 1px solid rgba(255,255,255,0.08);
            flex-shrink: 0;
        }

        .sidebar-logo a {
            font-size: 20px;
            font-weight: 800;
            color: #ffffff;
            letter-spacing: 0.5px;
            display: flex;
            align-items: center;
            gap: 10px;
            line-height: 1.2;
        }

        .sidebar-logo .logo-icon {
            width: 38px;
            height: 38px;
            background: var(--accent);
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            flex-shrink: 0;
            color: #fff;
            font-weight: 900;
        }

        .sidebar-nav {
            flex: 1;
            padding: 16px 12px;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .nav-section {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: rgba(255,255,255,0.35);
            padding: 12px 12px 6px;
            font-weight: 600;
        }

        .sidebar-nav a {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 11px 14px;
            border-radius: var(--radius-sm);
            color: rgba(255,255,255,0.72);
            font-size: 14px;
            font-weight: 500;
            transition: all var(--transition);
            position: relative;
        }

        .sidebar-nav a:hover {
            background: rgba(255,255,255,0.06);
            color: #ffffff;
        }

        .sidebar-nav a.active {
            background: var(--accent);
            color: #ffffff;
            font-weight: 600;
            box-shadow: 0 2px 8px rgba(232,148,58,0.3);
        }

        .nav-icon {
            font-size: 17px;
            width: 22px;
            text-align: center;
            flex-shrink: 0;
        }

        .sidebar-footer {
            padding: 16px 20px;
            border-top: 1px solid rgba(255,255,255,0.08);
            font-size: 11px;
            color: rgba(255,255,255,0.35);
            flex-shrink: 0;
            text-align: center;
            line-height: 1.6;
        }

        /* ===== 主内容区 ===== */
        .main-content {
            margin-left: var(--sidebar-width);
            flex: 1;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            transition: margin-left var(--transition);
        }

        /* ===== 移动端菜单按钮 ===== */
        .mobile-menu-btn {
            display: none;
            position: fixed;
            top: 14px;
            left: 14px;
            z-index: 1100;
            width: 42px;
            height: 42px;
            background: var(--primary-dark);
            color: #fff;
            border-radius: var(--radius-sm);
            align-items: center;
            justify-content: center;
            font-size: 20px;
            box-shadow: var(--shadow-md);
            transition: all var(--transition);
        }

        .mobile-menu-btn:hover {
            background: var(--primary-light);
        }

        /* ===== 遮罩层 ===== */
        .sidebar-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.55);
            z-index: 999;
            transition: opacity var(--transition);
        }

        .sidebar-overlay.active {
            display: block;
        }

        /* ===== Banner 区域 ===== */
        .page-banner {
            position: relative;
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--primary-light) 100%);
            padding: 56px 0;
            overflow: hidden;
        }

        .page-banner::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-1.png') center/cover no-repeat;
            opacity: 0.12;
            mix-blend-mode: overlay;
        }

        .page-banner .container {
            position: relative;
            z-index: 1;
        }

        .banner-breadcrumb {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            color: rgba(255,255,255,0.7);
            margin-bottom: 16px;
            flex-wrap: wrap;
        }

        .banner-breadcrumb a {
            color: rgba(255,255,255,0.8);
            transition: color var(--transition);
        }

        .banner-breadcrumb a:hover {
            color: #ffffff;
        }

        .banner-breadcrumb .separator {
            color: rgba(255,255,255,0.4);
        }

        .banner-breadcrumb .current {
            color: var(--accent);
            font-weight: 500;
        }

        .page-banner h1 {
            font-size: 2.2rem;
            font-weight: 800;
            color: #ffffff;
            margin-bottom: 10px;
            letter-spacing: 0.3px;
        }

        .page-banner .banner-desc {
            font-size: 1rem;
            color: rgba(255,255,255,0.75);
            max-width: 600px;
            line-height: 1.6;
        }

        .banner-stats {
            display: flex;
            gap: 28px;
            margin-top: 20px;
            flex-wrap: wrap;
        }

        .banner-stat {
            display: flex;
            align-items: center;
            gap: 8px;
            color: rgba(255,255,255,0.85);
            font-size: 13px;
        }

        .banner-stat .stat-num {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--accent);
        }

        /* ===== 筛选标签区 ===== */
        .filter-section {
            background: var(--white);
            border-bottom: 1px solid var(--border);
            padding: 16px 0;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: var(--shadow-sm);
        }

        .filter-wrapper {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
        }

        .filter-label {
            font-size: 13px;
            font-weight: 600;
            color: var(--text-secondary);
            white-space: nowrap;
            letter-spacing: 0.3px;
        }

        .filter-tags {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }

        .filter-tag {
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 500;
            border: 1.5px solid var(--border);
            color: var(--text-secondary);
            background: var(--white);
            transition: all var(--transition);
            cursor: pointer;
            white-space: nowrap;
        }

        .filter-tag:hover {
            border-color: var(--accent);
            color: var(--accent);
            background: var(--accent-light);
        }

        .filter-tag.active {
            background: var(--accent);
            color: #fff;
            border-color: var(--accent);
            font-weight: 600;
        }

        .filter-sort {
            margin-left: auto;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .filter-sort select {
            padding: 7px 32px 7px 12px;
            border: 1.5px solid var(--border);
            border-radius: var(--radius-sm);
            font-size: 13px;
            color: var(--text);
            background: var(--white);
            cursor: pointer;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'%3E%3C/path%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 10px center;
            transition: border-color var(--transition);
        }

        .filter-sort select:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(232,148,58,0.1);
        }

        /* ===== 内容区两栏布局 ===== */
        .content-area {
            padding: 32px 0 48px;
        }

        .content-grid {
            display: grid;
            grid-template-columns: 1fr 340px;
            gap: 32px;
            align-items: start;
        }

        /* ===== 文章列表 ===== */
        .article-list {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .article-card {
            background: var(--white);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            display: flex;
            transition: all var(--transition);
            border: 1px solid transparent;
            cursor: pointer;
        }

        .article-card:hover {
            box-shadow: var(--shadow-md);
            transform: translateY(-2px);
            border-color: var(--border);
        }

        .article-card-image {
            width: 240px;
            min-height: 170px;
            flex-shrink: 0;
            position: relative;
            overflow: hidden;
            background: #e8ecf1;
        }

        .article-card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .article-card:hover .article-card-image img {
            transform: scale(1.05);
        }

        .article-card-image .card-level {
            position: absolute;
            top: 10px;
            left: 10px;
            padding: 3px 10px;
            border-radius: 12px;
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 0.4px;
            z-index: 2;
        }

        .card-level.beginner {
            background: #dbeafe;
            color: #1d4ed8;
        }

        .card-level.advanced {
            background: #fef3c7;
            color: #b45309;
        }

        .card-level.deep {
            background: #fce7f3;
            color: #9d174d;
        }

        .article-card-body {
            padding: 18px 20px;
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-width: 0;
        }

        .article-card-meta {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 12px;
            color: var(--text-light);
            margin-bottom: 8px;
            flex-wrap: wrap;
        }

        .article-card-meta .meta-tag {
            display: inline-block;
            padding: 2px 8px;
            background: var(--accent-light);
            color: var(--accent);
            border-radius: 10px;
            font-weight: 500;
            font-size: 11px;
            white-space: nowrap;
        }

        .article-card-meta .meta-game {
            color: var(--text-secondary);
            font-weight: 500;
        }

        .article-card-title {
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--text);
            line-height: 1.45;
            margin-bottom: 8px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            transition: color var(--transition);
        }

        .article-card:hover .article-card-title {
            color: var(--primary-light);
        }

        .article-card-excerpt {
            font-size: 13px;
            color: var(--text-secondary);
            line-height: 1.55;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            margin-bottom: 10px;
        }

        .article-card-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 12px;
            color: var(--text-light);
        }

        .article-card-footer .views {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        /* ===== 侧边栏 ===== */
        .sidebar-widget {
            background: var(--white);
            border-radius: var(--radius);
            padding: 22px 20px;
            margin-bottom: 20px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
        }

        .sidebar-widget:last-child {
            margin-bottom: 0;
        }

        .widget-title {
            font-size: 16px;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 16px;
            padding-bottom: 12px;
            border-bottom: 2px solid var(--accent);
            display: flex;
            align-items: center;
            gap: 8px;
            letter-spacing: 0.3px;
        }

        .widget-title .title-icon {
            color: var(--accent);
            font-size: 18px;
        }

        /* 热门排行 */
        .rank-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .rank-item {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            padding: 8px 10px;
            border-radius: var(--radius-sm);
            transition: all var(--transition);
            cursor: pointer;
        }

        .rank-item:hover {
            background: var(--bg);
        }

        .rank-number {
            width: 26px;
            height: 26px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            font-weight: 700;
            flex-shrink: 0;
            background: #e8ecf1;
            color: var(--text-secondary);
        }

        .rank-item:nth-child(1) .rank-number {
            background: #f59e0b;
            color: #fff;
        }

        .rank-item:nth-child(2) .rank-number {
            background: #94a3b8;
            color: #fff;
        }

        .rank-item:nth-child(3) .rank-number {
            background: #c9a96e;
            color: #fff;
        }

        .rank-info {
            flex: 1;
            min-width: 0;
        }

        .rank-title {
            font-size: 13px;
            font-weight: 600;
            color: var(--text);
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            transition: color var(--transition);
        }

        .rank-item:hover .rank-title {
            color: var(--primary-light);
        }

        .rank-views {
            font-size: 11px;
            color: var(--text-light);
            margin-top: 3px;
        }

        /* 标签云 */
        .tag-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .tag-cloud-item {
            padding: 5px 12px;
            border-radius: 16px;
            font-size: 12px;
            font-weight: 500;
            background: var(--bg);
            color: var(--text-secondary);
            transition: all var(--transition);
            cursor: pointer;
            border: 1px solid transparent;
        }

        .tag-cloud-item:hover {
            background: var(--accent-light);
            color: var(--accent);
            border-color: var(--accent);
        }

        /* 快讯条 */
        .quick-news {
            background: linear-gradient(135deg, #fef9f0 0%, #fdf3e4 100%);
            border: 1px solid #fce4c5;
            border-radius: var(--radius-sm);
            padding: 12px 14px;
            font-size: 12px;
            color: #8b5e2b;
            line-height: 1.5;
            display: flex;
            align-items: flex-start;
            gap: 8px;
        }

        .quick-news .news-dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--accent);
            flex-shrink: 0;
            margin-top: 5px;
            animation: pulse-dot 2s infinite;
        }

        @keyframes pulse-dot {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.5; transform: scale(1.5); }
        }

        /* ===== 分页 ===== */
        .pagination {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            margin-top: 32px;
            flex-wrap: wrap;
        }

        .pagination a,
        .pagination span {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 38px;
            height: 38px;
            padding: 0 8px;
            border-radius: var(--radius-sm);
            font-size: 14px;
            font-weight: 500;
            transition: all var(--transition);
            border: 1.5px solid var(--border);
            background: var(--white);
            color: var(--text-secondary);
        }

        .pagination a:hover {
            border-color: var(--accent);
            color: var(--accent);
            background: var(--accent-light);
        }

        .pagination .current {
            background: var(--accent);
            color: #fff;
            border-color: var(--accent);
            font-weight: 700;
        }

        .pagination .dots {
            border: none;
            background: transparent;
            color: var(--text-light);
        }

        /* ===== CTA 区块 ===== */
        .cta-section {
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
            padding: 44px 0;
            text-align: center;
            color: #ffffff;
            position: relative;
            overflow: hidden;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-2.png') center/cover no-repeat;
            opacity: 0.08;
        }

        .cta-section .container {
            position: relative;
            z-index: 1;
        }

        .cta-section h3 {
            font-size: 1.5rem;
            color: #ffffff;
            margin-bottom: 8px;
            font-weight: 700;
        }

        .cta-section p {
            color: rgba(255,255,255,0.75);
            font-size: 14px;
            margin-bottom: 20px;
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
        }

        .btn-cta {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 13px 28px;
            background: var(--accent);
            color: #fff;
            border-radius: 25px;
            font-weight: 600;
            font-size: 15px;
            transition: all var(--transition);
            box-shadow: 0 4px 14px rgba(232,148,58,0.35);
            letter-spacing: 0.3px;
        }

        .btn-cta:hover {
            background: var(--accent-hover);
            box-shadow: 0 6px 20px rgba(232,148,58,0.5);
            transform: translateY(-2px);
        }

        /* ===== 页脚 ===== */
        .site-footer {
            background: #0f1a26;
            color: rgba(255,255,255,0.7);
            padding: 48px 0 28px;
            flex-shrink: 0;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 32px;
        }

        .footer-grid h4 {
            color: #ffffff;
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 14px;
            letter-spacing: 0.4px;
        }

        .footer-grid p {
            font-size: 13px;
            line-height: 1.6;
            margin-bottom: 6px;
        }

        .footer-grid a {
            color: rgba(255,255,255,0.6);
            transition: color var(--transition);
            font-size: 13px;
        }

        .footer-grid a:hover {
            color: var(--accent);
        }

        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 20px;
            text-align: center;
            font-size: 12px;
            color: rgba(255,255,255,0.4);
        }

        /* ===== 响应式 ===== */
        @media (max-width: 1024px) {
            .content-grid {
                grid-template-columns: 1fr 280px;
                gap: 24px;
            }

            .article-card {
                flex-direction: column;
            }

            .article-card-image {
                width: 100%;
                min-height: auto;
                height: 180px;
            }

            .article-card-body {
                padding: 14px 16px;
            }

            .page-banner h1 {
                font-size: 1.7rem;
            }

            .filter-sort {
                margin-left: 0;
                margin-top: 6px;
            }
        }

        @media (max-width: 768px) {
            .sidebar {
                transform: translateX(-100%);
            }

            .sidebar.open {
                transform: translateX(0);
            }

            .mobile-menu-btn {
                display: flex;
            }

            .main-content {
                margin-left: 0;
            }

            .content-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .page-banner {
                padding: 36px 0;
            }

            .page-banner h1 {
                font-size: 1.4rem;
            }

            .page-banner .banner-desc {
                font-size: 13px;
            }

            .banner-stats {
                gap: 16px;
            }

            .banner-stat .stat-num {
                font-size: 1.2rem;
            }

            .filter-wrapper {
                flex-direction: column;
                align-items: flex-start;
                gap: 8px;
            }

            .filter-sort {
                margin-left: 0;
                width: 100%;
            }

            .filter-sort select {
                width: 100%;
            }

            .article-card-image {
                height: 160px;
            }

            .article-card-title {
                font-size: 0.95rem;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }

            .sidebar-widget {
                padding: 16px 14px;
            }

            .cta-section {
                padding: 32px 0;
            }

            .cta-section h3 {
                font-size: 1.2rem;
            }
        }

        @media (max-width: 520px) {
            .container {
                padding: 0 14px;
            }

            .page-banner {
                padding: 28px 0;
            }

            .page-banner h1 {
                font-size: 1.2rem;
            }

            .banner-stats {
                flex-direction: column;
                gap: 8px;
            }

            .article-card-image {
                height: 140px;
            }

            .article-card-body {
                padding: 12px 14px;
            }

            .article-card-title {
                font-size: 0.9rem;
            }

            .article-card-excerpt {
                font-size: 12px;
            }

            .pagination a,
            .pagination span {
                min-width: 32px;
                height: 32px;
                font-size: 12px;
            }

            .btn-cta {
                padding: 10px 22px;
                font-size: 13px;
            }

            .filter-tag {
                padding: 4px 10px;
                font-size: 11px;
            }

            .tag-cloud-item {
                padding: 4px 10px;
                font-size: 11px;
            }
        }

        /* 辅助类 */
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0,0,0,0);
            white-space: nowrap;
            border: 0;
        }
