/* roulang page: index */
:root {
            --primary: #7c3aed;
            --primary-hover: #6d28d9;
            --primary-light: #ede9fe;
            --primary-soft: #f5f3ff;
            --accent: #f43f5e;
            --accent-hover: #e11d48;
            --accent-light: #ffe4e6;
            --sidebar-bg: #0f0f1a;
            --sidebar-bg-light: #1a1a2e;
            --sidebar-text: #cbd5e1;
            --sidebar-text-muted: #94a3b8;
            --sidebar-active-bg: rgba(124, 58, 237, 0.2);
            --sidebar-active-text: #a78bfa;
            --sidebar-hover-bg: rgba(255, 255, 255, 0.04);
            --bg: #f8fafc;
            --surface: #ffffff;
            --surface-alt: #f1f5f9;
            --text: #1e293b;
            --text-heading: #0f172a;
            --text-muted: #64748b;
            --text-light: #94a3b8;
            --border: #e2e8f0;
            --border-light: #f1f5f9;
            --radius-xs: 6px;
            --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 2px 8px rgba(0, 0, 0, 0.07), 0 1px 4px rgba(0, 0, 0, 0.05);
            --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.09), 0 4px 10px rgba(0, 0, 0, 0.05);
            --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.06);
            --sidebar-width: 250px;
            --sidebar-width-tablet: 210px;
            --mobile-topbar-height: 56px;
            --transition-fast: 0.15s ease;
            --transition: 0.25s ease;
            --transition-slow: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
            --font-sans: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', system-ui, -apple-system, sans-serif;
            --section-gap: 64px;
            --section-gap-mobile: 40px;
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            -webkit-text-size-adjust: 100%;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        body {
            font-family: var(--font-sans);
            font-size: 16px;
            line-height: 1.65;
            color: var(--text);
            background: var(--bg);
            min-height: 100vh;
            overflow-x: hidden;
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: color var(--transition-fast);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        button {
            font-family: inherit;
            cursor: pointer;
            border: none;
            background: none;
            font-size: inherit;
        }

        input {
            font-family: inherit;
            font-size: inherit;
        }

        ul,
        ol {
            list-style: none;
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            color: var(--text-heading);
            line-height: 1.3;
            font-weight: 700;
        }

        h1 {
            font-size: 2.6rem;
            letter-spacing: -0.02em;
        }
        h2 {
            font-size: 1.85rem;
            letter-spacing: -0.01em;
        }
        h3 {
            font-size: 1.35rem;
        }
        h4 {
            font-size: 1.1rem;
        }

        .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;
        }

        /* ========== SIDEBAR NAVIGATION ========== */
        .sidebar {
            position: fixed;
            top: 0;
            left: 0;
            width: var(--sidebar-width);
            height: 100vh;
            height: 100dvh;
            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);
            scrollbar-width: thin;
            scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
        }

        .sidebar::-webkit-scrollbar {
            width: 4px;
        }
        .sidebar::-webkit-scrollbar-track {
            background: transparent;
        }
        .sidebar::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 4px;
        }

        .sidebar-brand {
            padding: 28px 24px 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            flex-shrink: 0;
        }

        .sidebar-brand a {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1.25rem;
            font-weight: 700;
            color: #ffffff;
            letter-spacing: -0.01em;
            line-height: 1.3;
        }

        .sidebar-brand .brand-icon {
            width: 38px;
            height: 38px;
            border-radius: var(--radius-sm);
            background: linear-gradient(135deg, var(--primary), #a78bfa);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            flex-shrink: 0;
            box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
        }

        .sidebar-nav {
            flex: 1;
            padding: 16px 14px;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .sidebar-nav a {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 11px 16px;
            border-radius: var(--radius);
            color: var(--sidebar-text);
            font-size: 0.95rem;
            font-weight: 500;
            transition: all var(--transition-fast);
            position: relative;
            white-space: nowrap;
        }

        .sidebar-nav a:hover {
            background: var(--sidebar-hover-bg);
            color: #e2e8f0;
        }

        .sidebar-nav a.active {
            background: var(--sidebar-active-bg);
            color: var(--sidebar-active-text);
            font-weight: 600;
        }

        .sidebar-nav a.active::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 3px;
            height: 22px;
            border-radius: 3px;
            background: var(--primary);
        }

        .sidebar-nav .nav-icon {
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.05rem;
            flex-shrink: 0;
            opacity: 0.8;
        }

        .sidebar-nav a.active .nav-icon {
            opacity: 1;
        }

        .sidebar-search {
            padding: 14px 18px 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            flex-shrink: 0;
        }

        .sidebar-search form {
            display: flex;
            align-items: center;
            background: var(--sidebar-bg-light);
            border-radius: var(--radius);
            border: 1px solid rgba(255, 255, 255, 0.08);
            overflow: hidden;
            transition: border-color var(--transition-fast);
        }

        .sidebar-search form:focus-within {
            border-color: rgba(124, 58, 237, 0.5);
        }

        .sidebar-search input {
            flex: 1;
            background: transparent;
            border: none;
            color: #e2e8f0;
            padding: 10px 14px;
            font-size: 0.9rem;
            outline: none;
            min-width: 0;
        }

        .sidebar-search input::placeholder {
            color: var(--sidebar-text-muted);
        }

        .sidebar-search button {
            padding: 10px 14px;
            color: var(--sidebar-text-muted);
            transition: color var(--transition-fast);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .sidebar-search button:hover {
            color: #e2e8f0;
        }

        .sidebar-footer {
            padding: 12px 18px 16px;
            border-top: 1px solid rgba(255, 255, 255, 0.04);
            flex-shrink: 0;
            font-size: 0.78rem;
            color: var(--sidebar-text-muted);
            text-align: center;
        }

        /* ========== MAIN CONTENT AREA ========== */
        .main-wrapper {
            margin-left: var(--sidebar-width);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            transition: margin-left var(--transition-slow);
        }

        /* ========== MOBILE TOP BAR ========== */
        .mobile-topbar {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: var(--mobile-topbar-height);
            background: var(--sidebar-bg);
            z-index: 999;
            align-items: center;
            padding: 0 16px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            gap: 12px;
        }

        .mobile-topbar .hamburger {
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #e2e8f0;
            font-size: 1.4rem;
            flex-shrink: 0;
            border-radius: var(--radius-xs);
            transition: background var(--transition-fast);
        }

        .mobile-topbar .hamburger:hover {
            background: rgba(255, 255, 255, 0.06);
        }

        .mobile-topbar .topbar-logo {
            font-weight: 700;
            font-size: 1.05rem;
            color: #ffffff;
            letter-spacing: -0.01em;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .sidebar-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.55);
            z-index: 998;
            opacity: 0;
            transition: opacity var(--transition-slow);
            pointer-events: none;
        }

        .sidebar-overlay.active {
            opacity: 1;
            pointer-events: auto;
        }

        /* ========== CONTAINER ========== */
        .container {
            width: 100%;
            max-width: 1100px;
            margin-left: auto;
            margin-right: auto;
            padding-left: 28px;
            padding-right: 28px;
        }

        .container-wide {
            max-width: 1200px;
        }
        .container-narrow {
            max-width: 820px;
        }

        /* ========== SECTIONS ========== */
        .section {
            padding-top: var(--section-gap);
            padding-bottom: var(--section-gap);
        }

        .section-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .section-header h2 {
            margin-bottom: 10px;
        }
        .section-header .section-subtitle {
            color: var(--text-muted);
            font-size: 1rem;
            max-width: 520px;
            margin: 0 auto;
            line-height: 1.6;
        }

        .section-label {
            display: inline-block;
            font-size: 0.82rem;
            font-weight: 600;
            color: var(--primary);
            background: var(--primary-light);
            padding: 5px 14px;
            border-radius: 20px;
            margin-bottom: 12px;
            letter-spacing: 0.02em;
            text-transform: uppercase;
        }

        /* ========== HERO ========== */
        .hero {
            position: relative;
            min-height: 520px;
            display: flex;
            align-items: center;
            background: linear-gradient(160deg, #0f0f1a 0%, #1a1030 40%, #1e1a30 100%);
            overflow: hidden;
            padding: 60px 0;
        }

        .hero-bg {
            position: absolute;
            inset: 0;
            background-image: url('/assets/images/backpic/back-1.png');
            background-size: cover;
            background-position: center;
            opacity: 0.25;
            mix-blend-mode: overlay;
            pointer-events: none;
        }

        .hero-glow {
            position: absolute;
            width: 500px;
            height: 500px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(124, 58, 237, 0.25) 0%, transparent 70%);
            top: -150px;
            right: -100px;
            pointer-events: none;
        }

        .hero-glow-2 {
            position: absolute;
            width: 350px;
            height: 350px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(244, 63, 94, 0.18) 0%, transparent 70%);
            bottom: -100px;
            left: -80px;
            pointer-events: none;
        }

        .hero .container {
            position: relative;
            z-index: 2;
            display: flex;
            align-items: center;
            gap: 48px;
        }

        .hero-content {
            flex: 1;
            max-width: 580px;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.14);
            padding: 7px 16px;
            border-radius: 20px;
            font-size: 0.85rem;
            color: #cbd5e1;
            margin-bottom: 20px;
            backdrop-filter: blur(4px);
        }

        .hero-badge .dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: #22c55e;
            animation: pulse-dot 2s ease-in-out infinite;
        }

        @keyframes pulse-dot {
            0%,
            100% {
                box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
            }
            50% {
                box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
            }
        }

        .hero-content h1 {
            font-size: 2.8rem;
            color: #ffffff;
            margin-bottom: 16px;
            letter-spacing: -0.03em;
            line-height: 1.2;
        }

        .hero-content h1 span {
            background: linear-gradient(135deg, #a78bfa, #c4b5fd);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-content .hero-desc {
            color: #a5b4cc;
            font-size: 1.08rem;
            line-height: 1.7;
            margin-bottom: 28px;
            max-width: 460px;
        }

        .hero-buttons {
            display: flex;
            gap: 14px;
            flex-wrap: wrap;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 13px 26px;
            border-radius: var(--radius);
            font-weight: 600;
            font-size: 0.95rem;
            transition: all var(--transition-fast);
            white-space: nowrap;
            letter-spacing: 0.01em;
        }

        .btn-primary {
            background: var(--primary);
            color: #ffffff;
            box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
        }
        .btn-primary:hover {
            background: var(--primary-hover);
            box-shadow: 0 6px 22px rgba(124, 58, 237, 0.45);
            transform: translateY(-1px);
        }
        .btn-primary:active {
            transform: translateY(0);
            box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
        }

        .btn-outline {
            background: transparent;
            color: #e2e8f0;
            border: 1.5px solid rgba(255, 255, 255, 0.25);
        }
        .btn-outline:hover {
            background: rgba(255, 255, 255, 0.06);
            border-color: rgba(255, 255, 255, 0.45);
            color: #ffffff;
            transform: translateY(-1px);
        }
        .btn-outline:active {
            transform: translateY(0);
        }

        .btn-sm {
            padding: 9px 18px;
            font-size: 0.85rem;
            border-radius: var(--radius-sm);
        }

        .btn-lg {
            padding: 16px 32px;
            font-size: 1.05rem;
            border-radius: var(--radius-lg);
        }

        .btn-accent {
            background: var(--accent);
            color: #ffffff;
            box-shadow: 0 4px 16px rgba(244, 63, 94, 0.3);
        }
        .btn-accent:hover {
            background: var(--accent-hover);
            box-shadow: 0 6px 22px rgba(244, 63, 94, 0.4);
            transform: translateY(-1px);
        }
        .btn-accent:active {
            transform: translateY(0);
        }

        .btn-white {
            background: #ffffff;
            color: var(--text-heading);
            box-shadow: var(--shadow);
        }
        .btn-white:hover {
            box-shadow: var(--shadow-lg);
            transform: translateY(-1px);
        }
        .btn-white:active {
            transform: translateY(0);
        }

        .hero-visual {
            flex-shrink: 0;
            width: 320px;
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .hero-stat-card {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: var(--radius-lg);
            padding: 20px 22px;
            backdrop-filter: blur(8px);
            display: flex;
            align-items: center;
            gap: 14px;
            transition: all var(--transition);
        }

        .hero-stat-card:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.18);
            transform: translateX(4px);
        }

        .hero-stat-icon {
            width: 44px;
            height: 44px;
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            flex-shrink: 0;
        }

        .hero-stat-icon.purple {
            background: rgba(124, 58, 237, 0.25);
            color: #c4b5fd;
        }
        .hero-stat-icon.rose {
            background: rgba(244, 63, 94, 0.2);
            color: #fda4af;
        }
        .hero-stat-icon.amber {
            background: rgba(245, 158, 11, 0.2);
            color: #fcd34d;
        }

        .hero-stat-info .stat-num {
            font-size: 1.5rem;
            font-weight: 700;
            color: #ffffff;
            line-height: 1;
        }
        .hero-stat-info .stat-label {
            font-size: 0.8rem;
            color: #94a3b8;
            margin-top: 3px;
        }

        /* ========== FEATURES ========== */
        .features {
            background: var(--surface);
            border-bottom: 1px solid var(--border-light);
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }

        .feature-card {
            background: var(--surface-alt);
            border-radius: var(--radius-lg);
            padding: 28px 24px;
            text-align: center;
            transition: all var(--transition);
            border: 1px solid transparent;
            position: relative;
            overflow: hidden;
        }

        .feature-card:hover {
            border-color: var(--border);
            box-shadow: var(--shadow-lg);
            transform: translateY(-3px);
            background: var(--surface);
        }

        .feature-card .feature-icon-wrap {
            width: 56px;
            height: 56px;
            border-radius: var(--radius);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            margin: 0 auto 16px;
            transition: transform var(--transition);
        }

        .feature-card:hover .feature-icon-wrap {
            transform: scale(1.08);
        }

        .feature-icon-wrap.f1 {
            background: #ede9fe;
            color: #7c3aed;
        }
        .feature-icon-wrap.f2 {
            background: #dbeafe;
            color: #3b82f6;
        }
        .feature-icon-wrap.f3 {
            background: #fce7f3;
            color: #ec4899;
        }
        .feature-icon-wrap.f4 {
            background: #d1fae5;
            color: #10b981;
        }

        .feature-card h3 {
            font-size: 1.05rem;
            margin-bottom: 6px;
        }
        .feature-card p {
            color: var(--text-muted);
            font-size: 0.9rem;
            line-height: 1.55;
        }

        /* ========== CHANNEL TABS ========== */
        .channels {
            background: var(--bg);
        }

        .channel-tabs {
            display: flex;
            justify-content: center;
            gap: 6px;
            margin-bottom: 32px;
            flex-wrap: wrap;
            background: var(--surface);
            border-radius: var(--radius);
            padding: 6px;
            box-shadow: var(--shadow-xs);
            border: 1px solid var(--border-light);
            display: inline-flex;
            position: relative;
            left: 50%;
            transform: translateX(-50%);
        }

        .channel-tab {
            padding: 10px 22px;
            border-radius: var(--radius-sm);
            font-weight: 500;
            font-size: 0.9rem;
            color: var(--text-muted);
            transition: all var(--transition-fast);
            cursor: pointer;
            white-space: nowrap;
        }

        .channel-tab:hover {
            color: var(--text);
            background: var(--surface-alt);
        }
        .channel-tab.active {
            background: var(--primary);
            color: #ffffff;
            box-shadow: var(--shadow-sm);
        }

        .channel-panels {
            position: relative;
        }

        .channel-panel {
            display: none;
            animation: fadeInUp 0.4s ease;
        }
        .channel-panel.active {
            display: block;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(16px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .channel-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 18px;
        }

        .channel-card {
            background: var(--surface);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: all var(--transition);
            border: 1px solid var(--border-light);
        }

        .channel-card:hover {
            box-shadow: var(--shadow-lg);
            transform: translateY(-3px);
        }

        .channel-card-img {
            aspect-ratio: 16 / 10;
            overflow: hidden;
            background: var(--surface-alt);
            position: relative;
        }

        .channel-card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform var(--transition-slow);
        }

        .channel-card:hover .channel-card-img img {
            transform: scale(1.06);
        }

        .channel-card-body {
            padding: 16px 18px;
        }

        .channel-card-body h4 {
            font-size: 0.98rem;
            margin-bottom: 4px;
            line-height: 1.4;
        }
        .channel-card-body .channel-meta {
            font-size: 0.8rem;
            color: var(--text-muted);
        }

        .channel-card-badge {
            position: absolute;
            top: 10px;
            left: 10px;
            background: var(--accent);
            color: #fff;
            font-size: 0.72rem;
            font-weight: 600;
            padding: 4px 10px;
            border-radius: 14px;
            z-index: 2;
            letter-spacing: 0.02em;
        }

        /* ========== CATEGORY ENTRY ========== */
        .category-entry {
            background: var(--surface);
            border-top: 1px solid var(--border-light);
            border-bottom: 1px solid var(--border-light);
        }

        .category-entry-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 32px;
            align-items: center;
        }

        .category-entry-visual {
            border-radius: var(--radius-xl);
            overflow: hidden;
            aspect-ratio: 4 / 3;
            box-shadow: var(--shadow-xl);
        }

        .category-entry-visual img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform var(--transition-slow);
        }

        .category-entry-visual:hover img {
            transform: scale(1.04);
        }

        .category-entry-info h2 {
            font-size: 1.7rem;
            margin-bottom: 10px;
        }
        .category-entry-info p {
            color: var(--text-muted);
            line-height: 1.7;
            margin-bottom: 20px;
        }

        .category-entry-stats {
            display: flex;
            gap: 24px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .category-stat-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.9rem;
            color: var(--text-muted);
        }

        .category-stat-item .cs-num {
            font-weight: 700;
            color: var(--text-heading);
            font-size: 1.2rem;
        }

        /* ========== CMS NEWS LIST ========== */
        .news-list {
            background: var(--bg);
        }

        .news-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }

        .news-card {
            background: var(--surface);
            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;
        }

        .news-card:hover {
            box-shadow: var(--shadow-lg);
            transform: translateY(-2px);
            border-color: var(--border);
        }

        .news-card-img {
            aspect-ratio: 16 / 9;
            overflow: hidden;
            background: var(--surface-alt);
        }

        .news-card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform var(--transition-slow);
        }

        .news-card:hover .news-card-img img {
            transform: scale(1.05);
        }

        .news-card-body {
            padding: 18px 20px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .news-card-body .news-tag {
            display: inline-block;
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--primary);
            background: var(--primary-soft);
            padding: 3px 10px;
            border-radius: 12px;
            margin-bottom: 8px;
            align-self: flex-start;
        }

        .news-card-body h3 {
            font-size: 1.05rem;
            margin-bottom: 6px;
            line-height: 1.4;
        }
        .news-card-body h3 a {
            color: var(--text-heading);
        }
        .news-card-body h3 a:hover {
            color: var(--primary);
        }
        .news-card-body .news-excerpt {
            color: var(--text-muted);
            font-size: 0.88rem;
            line-height: 1.55;
            flex: 1;
            margin-bottom: 10px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .news-card-body .news-date {
            font-size: 0.78rem;
            color: var(--text-light);
        }

        .news-empty {
            text-align: center;
            padding: 60px 20px;
            color: var(--text-muted);
            font-size: 1rem;
            background: var(--surface);
            border-radius: var(--radius-lg);
            border: 1px dashed var(--border);
            grid-column: 1 / -1;
        }

        /* ========== STATS SECTION ========== */
        .stats-section {
            background: var(--surface);
            border-top: 1px solid var(--border-light);
            border-bottom: 1px solid var(--border-light);
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            text-align: center;
        }

        .stat-item {
            padding: 20px 16px;
        }

        .stat-item .stat-value {
            font-size: 2.4rem;
            font-weight: 800;
            color: var(--text-heading);
            letter-spacing: -0.02em;
            line-height: 1;
            margin-bottom: 6px;
        }

        .stat-item .stat-value.accent-color {
            color: var(--primary);
        }
        .stat-item .stat-desc {
            font-size: 0.9rem;
            color: var(--text-muted);
        }

        /* ========== RECOMMEND ========== */
        .recommend {
            background: var(--bg);
        }

        .recommend-scroll {
            display: flex;
            gap: 18px;
            overflow-x: auto;
            padding-bottom: 12px;
            scroll-snap-type: x proximity;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: thin;
            scrollbar-color: var(--border) transparent;
            margin-left: -28px;
            margin-right: -28px;
            padding-left: 28px;
            padding-right: 28px;
        }

        .recommend-scroll::-webkit-scrollbar {
            height: 5px;
        }
        .recommend-scroll::-webkit-scrollbar-track {
            background: transparent;
        }
        .recommend-scroll::-webkit-scrollbar-thumb {
            background: var(--border);
            border-radius: 5px;
        }

        @media (min-width: 1025px) {
            .recommend-scroll {
                display: grid;
                grid-template-columns: repeat(4, 1fr);
                overflow-x: visible;
                margin-left: 0;
                margin-right: 0;
                padding-left: 0;
                padding-right: 0;
            }
        }

        .recommend-card {
            min-width: 240px;
            max-width: 280px;
            flex-shrink: 0;
            scroll-snap-align: start;
            background: var(--surface);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
            transition: all var(--transition);
        }

        @media (min-width: 1025px) {
            .recommend-card {
                min-width: unset;
                max-width: unset;
                flex-shrink: unset;
            }
        }

        .recommend-card:hover {
            box-shadow: var(--shadow-lg);
            transform: translateY(-3px);
            border-color: var(--border);
        }

        .recommend-card-img {
            aspect-ratio: 3 / 2;
            overflow: hidden;
            position: relative;
        }

        .recommend-card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform var(--transition-slow);
        }
        .recommend-card:hover .recommend-card-img img {
            transform: scale(1.05);
        }

        .recommend-card-badge {
            position: absolute;
            bottom: 10px;
            right: 10px;
            background: rgba(0, 0, 0, 0.7);
            color: #fff;
            font-size: 0.72rem;
            padding: 4px 10px;
            border-radius: 12px;
            backdrop-filter: blur(4px);
        }

        .recommend-card-body {
            padding: 14px 16px;
        }
        .recommend-card-body h4 {
            font-size: 0.95rem;
            margin-bottom: 3px;
        }
        .recommend-card-body .rec-meta {
            font-size: 0.78rem;
            color: var(--text-muted);
        }

        /* ========== FAQ ========== */
        .faq-section {
            background: var(--surface);
            border-top: 1px solid var(--border-light);
            border-bottom: 1px solid var(--border-light);
        }

        .faq-list {
            max-width: 720px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .faq-item {
            border: 1px solid var(--border-light);
            border-radius: var(--radius);
            background: var(--surface-alt);
            transition: all var(--transition-fast);
            overflow: hidden;
        }

        .faq-item:hover {
            border-color: var(--border);
            box-shadow: var(--shadow-xs);
        }

        .faq-item summary {
            padding: 18px 22px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            color: var(--text-heading);
            user-select: none;
            list-style: none;
        }

        .faq-item summary::-webkit-details-marker {
            display: none;
        }

        .faq-item summary::after {
            content: '+';
            font-size: 1.3rem;
            font-weight: 400;
            color: var(--text-muted);
            transition: transform var(--transition-fast);
            flex-shrink: 0;
            width: 24px;
            text-align: center;
        }

        .faq-item[open] summary::after {
            content: '−';
            color: var(--primary);
        }

        .faq-item .faq-answer {
            padding: 0 22px 18px;
            color: var(--text-muted);
            font-size: 0.92rem;
            line-height: 1.65;
        }

        .faq-item[open] {
            border-color: var(--primary-light);
            background: var(--surface);
            box-shadow: var(--shadow-sm);
        }

        /* ========== CTA ========== */
        .cta-section {
            background: linear-gradient(150deg, #0f0f1a 0%, #1a1035 50%, #1e1528 100%);
            position: relative;
            overflow: hidden;
            text-align: center;
            padding: 70px 0;
        }

        .cta-bg {
            position: absolute;
            inset: 0;
            background-image: url('/assets/images/backpic/back-2.png');
            background-size: cover;
            background-position: center;
            opacity: 0.18;
            mix-blend-mode: overlay;
            pointer-events: none;
        }

        .cta-section .container {
            position: relative;
            z-index: 2;
        }

        .cta-section h2 {
            color: #ffffff;
            font-size: 2rem;
            margin-bottom: 12px;
        }
        .cta-section p {
            color: #a5b4cc;
            font-size: 1.05rem;
            margin-bottom: 28px;
            max-width: 480px;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.7;
        }

        .cta-buttons {
            display: flex;
            gap: 14px;
            justify-content: center;
            flex-wrap: wrap;
        }

        /* ========== FOOTER ========== */
        .site-footer {
            background: #0a0a14;
            padding: 40px 0 28px;
            color: #94a3b8;
            font-size: 0.88rem;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 32px;
            margin-bottom: 28px;
        }

        .footer-brand h3 {
            color: #e2e8f0;
            font-size: 1.15rem;
            margin-bottom: 8px;
        }
        .footer-brand p {
            color: #64748b;
            line-height: 1.6;
            font-size: 0.85rem;
            max-width: 280px;
        }

        .footer-links h4 {
            color: #cbd5e1;
            font-size: 0.9rem;
            margin-bottom: 10px;
            font-weight: 600;
        }
        .footer-links ul {
            display: flex;
            flex-direction: column;
            gap: 5px;
        }
        .footer-links a {
            color: #64748b;
            font-size: 0.85rem;
            transition: color var(--transition-fast);
        }
        .footer-links a:hover {
            color: #cbd5e1;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            padding-top: 20px;
            text-align: center;
            font-size: 0.8rem;
            color: #475569;
        }

        /* ========== RESPONSIVE ========== */
        @media (max-width: 1024px) {
            .sidebar {
                width: var(--sidebar-width-tablet);
            }
            .main-wrapper {
                margin-left: var(--sidebar-width-tablet);
            }
            .hero-content h1 {
                font-size: 2.2rem;
            }
            .hero-visual {
                width: 260px;
            }
            .hero .container {
                gap: 32px;
            }
            .features-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 16px;
            }
            .channel-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 14px;
            }
            .news-grid {
                grid-template-columns: 1fr 1fr;
                gap: 16px;
            }
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 16px;
            }
            .category-entry-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }
            .category-entry-visual {
                aspect-ratio: 16 / 9;
            }
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 24px;
            }
            .container {
                padding-left: 20px;
                padding-right: 20px;
            }
            .section {
                padding-top: 48px;
                padding-bottom: 48px;
            }
            h1 {
                font-size: 2.2rem;
            }
            h2 {
                font-size: 1.6rem;
            }
            .hero {
                min-height: 420px;
                padding: 48px 0;
            }
        }

        @media (max-width: 768px) {
            .sidebar {
                transform: translateX(-100%);
                width: 280px;
                box-shadow: var(--shadow-xl);
                z-index: 1001;
            }
            .sidebar.open {
                transform: translateX(0);
            }
            .sidebar-overlay {
                display: block;
            }
            .mobile-topbar {
                display: flex;
            }
            .main-wrapper {
                margin-left: 0;
                padding-top: var(--mobile-topbar-height);
            }
            .hero {
                min-height: auto;
                padding: 36px 0 44px;
            }
            .hero .container {
                flex-direction: column;
                gap: 24px;
                text-align: center;
            }
            .hero-content {
                max-width: 100%;
            }
            .hero-content .hero-desc {
                max-width: 100%;
                margin-left: auto;
                margin-right: auto;
            }
            .hero-buttons {
                justify-content: center;
            }
            .hero-visual {
                width: 100%;
                flex-direction: row;
                flex-wrap: wrap;
                justify-content: center;
                gap: 12px;
            }
            .hero-stat-card {
                flex: 1;
                min-width: 140px;
                justify-content: center;
            }
            .hero-content h1 {
                font-size: 1.85rem;
            }
            .features-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
            }
            .channel-grid {
                grid-template-columns: 1fr 1fr;
                gap: 12px;
            }
            .news-grid {
                grid-template-columns: 1fr;
                gap: 14px;
            }
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 8px;
            }
            .stat-item .stat-value {
                font-size: 1.8rem;
            }
            .category-entry-grid {
                grid-template-columns: 1fr;
            }
            .channel-tabs {
                flex-wrap: wrap;
                left: 0;
                transform: none;
                display: flex;
                justify-content: center;
            }
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 20px;
                text-align: center;
            }
            .footer-brand p {
                max-width: 100%;
            }
            .footer-links ul {
                align-items: center;
            }
            .container {
                padding-left: 16px;
                padding-right: 16px;
            }
            .section {
                padding-top: 36px;
                padding-bottom: 36px;
            }
            h1 {
                font-size: 1.85rem;
            }
            h2 {
                font-size: 1.4rem;
            }
            .cta-section h2 {
                font-size: 1.5rem;
            }
            .section-header {
                margin-bottom: 28px;
            }
        }

        @media (max-width: 520px) {
            .features-grid {
                grid-template-columns: 1fr 1fr;
                gap: 10px;
            }
            .feature-card {
                padding: 20px 14px;
            }
            .feature-card h3 {
                font-size: 0.9rem;
            }
            .feature-card p {
                font-size: 0.78rem;
            }
            .channel-grid {
                grid-template-columns: 1fr;
                gap: 10px;
            }
            .hero-stat-card {
                min-width: 100px;
                padding: 14px;
            }
            .hero-stat-info .stat-num {
                font-size: 1.2rem;
            }
            .hero-stat-info .stat-label {
                font-size: 0.7rem;
            }
            .hero-stat-icon {
                width: 34px;
                height: 34px;
                font-size: 1rem;
            }
            .btn {
                padding: 10px 18px;
                font-size: 0.85rem;
            }
            .btn-lg {
                padding: 13px 24px;
                font-size: 0.95rem;
            }
            .channel-tab {
                padding: 8px 14px;
                font-size: 0.8rem;
            }
            .stats-grid {
                grid-template-columns: 1fr 1fr;
            }
            .sidebar {
                width: 260px;
            }
        }

        @media (min-width: 769px) {
            .sidebar-overlay {
                display: none !important;
            }
            .sidebar {
                transform: translateX(0) !important;
            }
        }

/* roulang page: article */
:root {
            --primary: #6C5CE7;
            --primary-hover: #5A4BD1;
            --primary-light: #EFEDFD;
            --secondary: #00B894;
            --text: #2D3436;
            --text-light: #636E72;
            --text-muted: #B2BEC5;
            --bg: #F8F9FA;
            --card-bg: #FFFFFF;
            --border: #E9ECEF;
            --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
            --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
            --radius: 12px;
            --radius-sm: 8px;
            --radius-lg: 16px;
            --spacing-xs: 4px;
            --spacing-sm: 8px;
            --spacing-md: 16px;
            --spacing-lg: 24px;
            --spacing-xl: 32px;
            --spacing-2xl: 48px;
            --sidebar-width: 260px;
            --transition: 0.25s ease;
        }

        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            font-size: 16px;
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
            color: var(--text);
            background: var(--bg);
            line-height: 1.6;
            display: flex;
            min-height: 100vh;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
            border-radius: var(--radius);
        }

        button, input, textarea {
            font-family: inherit;
            font-size: inherit;
        }

        /* ---------- 左侧导航 ---------- */
        .sidebar {
            width: var(--sidebar-width);
            background: #FFFFFF;
            border-right: 1px solid var(--border);
            display: flex;
            flex-direction: column;
            position: fixed;
            top: 0;
            left: 0;
            height: 100vh;
            z-index: 100;
            transition: transform var(--transition);
            box-shadow: var(--shadow-sm);
        }

        .sidebar-brand {
            padding: var(--spacing-lg);
            border-bottom: 1px solid var(--border);
            display: flex;
            align-items: center;
            gap: var(--spacing-sm);
        }

        .sidebar-brand h1 {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--primary);
            white-space: nowrap;
        }

        .sidebar-nav {
            flex: 1;
            padding: var(--spacing-md);
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .sidebar-nav a {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            border-radius: var(--radius-sm);
            font-weight: 500;
            color: var(--text-light);
            transition: var(--transition);
            position: relative;
        }

        .sidebar-nav a:hover {
            background: var(--primary-light);
            color: var(--primary);
        }

        .sidebar-nav a.active {
            background: var(--primary);
            color: #FFFFFF;
            box-shadow: var(--shadow);
        }

        .sidebar-nav a.active .nav-icon {
            filter: brightness(0) invert(1);
        }

        .nav-icon {
            font-size: 1.2rem;
            width: 24px;
            text-align: center;
        }

        .sidebar-footer {
            padding: var(--spacing-md);
            border-top: 1px solid var(--border);
            font-size: 0.75rem;
            color: var(--text-muted);
            text-align: center;
        }

        /* ---------- 移动端汉堡菜单 ---------- */
        .mobile-header {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 60px;
            background: #FFFFFF;
            border-bottom: 1px solid var(--border);
            z-index: 200;
            align-items: center;
            padding: 0 var(--spacing-md);
            gap: var(--spacing-md);
            box-shadow: var(--shadow-sm);
        }

        .mobile-header .logo-text {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--primary);
        }

        .menu-toggle {
            display: flex;
            flex-direction: column;
            gap: 5px;
            border: none;
            background: transparent;
            cursor: pointer;
            padding: 8px;
            width: 36px;
            height: 36px;
            justify-content: center;
        }

        .menu-toggle span {
            display: block;
            height: 2px;
            background: var(--text);
            border-radius: 2px;
            transition: var(--transition);
        }

        .overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.4);
            z-index: 90;
        }

        /* ---------- 主内容区 ---------- */
        .main-content {
            margin-left: var(--sidebar-width);
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        .container {
            max-width: 800px;
            margin: 0 auto;
            padding: var(--spacing-xl) var(--spacing-md);
            width: 100%;
        }

        /* ---------- 文章头部 ---------- */
        .article-header {
            background: var(--card-bg);
            border-radius: var(--radius);
            padding: var(--spacing-xl);
            margin-bottom: var(--spacing-lg);
            box-shadow: var(--shadow-sm);
        }

        .article-category {
            display: inline-block;
            background: var(--primary-light);
            color: var(--primary);
            font-weight: 600;
            font-size: 0.8rem;
            padding: 4px 12px;
            border-radius: 20px;
            margin-bottom: var(--spacing-md);
        }

        .article-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            color: var(--text-muted);
            font-size: 0.9rem;
            margin-bottom: var(--spacing-md);
        }

        .cover-image {
            width: 100%;
            max-height: 400px;
            object-fit: cover;
            border-radius: var(--radius);
            margin-top: var(--spacing-md);
        }

        /* ---------- 文章内容 ---------- */
        .article-body {
            background: var(--card-bg);
            border-radius: var(--radius);
            padding: var(--spacing-xl);
            box-shadow: var(--shadow-sm);
            line-height: 1.8;
            font-size: 1.05rem;
            color: var(--text);
        }

        .article-body h2 {
            font-size: 1.5rem;
            margin: 1.5em 0 0.6em;
            color: var(--primary);
        }

        .article-body p {
            margin-bottom: 1.2em;
        }

        .article-body img {
            border-radius: var(--radius-sm);
            margin: 1.5em 0;
        }

        /* ---------- 文章底部 ---------- */
        .article-footer {
            margin-top: var(--spacing-lg);
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            background: var(--card-bg);
            border-radius: var(--radius);
            padding: var(--spacing-lg);
            box-shadow: var(--shadow-sm);
        }

        .tags {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }

        .tag {
            background: #F1F2F6;
            color: var(--text-light);
            padding: 4px 14px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
            transition: var(--transition);
        }

        .tag:hover {
            background: var(--primary-light);
            color: var(--primary);
        }

        .share-buttons {
            display: flex;
            gap: 8px;
        }

        .btn-icon {
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: #F1F2F6;
            color: var(--text);
            font-size: 1.1rem;
            transition: var(--transition);
            border: none;
            cursor: pointer;
        }

        .btn-icon:hover {
            background: var(--primary);
            color: #fff;
        }

        /* ---------- 相关文章 ---------- */
        .related-articles {
            margin-top: var(--spacing-2xl);
        }

        .section-title {
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: var(--spacing-lg);
            border-left: 4px solid var(--primary);
            padding-left: 16px;
        }

        .related-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: var(--spacing-lg);
        }

        .related-card {
            background: var(--card-bg);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
            cursor: pointer;
        }

        .related-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
        }

        .related-card img {
            width: 100%;
            height: 140px;
            object-fit: cover;
        }

        .related-card-body {
            padding: var(--spacing-md);
        }

        .related-card-title {
            font-weight: 600;
            font-size: 0.95rem;
            margin-bottom: 4px;
            line-height: 1.4;
        }

        .related-card-meta {
            font-size: 0.75rem;
            color: var(--text-muted);
        }

        /* ---------- 未找到内容 ---------- */
        .not-found {
            text-align: center;
            padding: var(--spacing-2xl) 0;
            background: var(--card-bg);
            border-radius: var(--radius);
            box-shadow: var(--shadow-sm);
        }

        .not-found h2 {
            font-size: 1.5rem;
            margin-bottom: var(--spacing-md);
            color: var(--text);
        }

        .btn {
            display: inline-block;
            padding: 10px 24px;
            background: var(--primary);
            color: #fff;
            border-radius: var(--radius-sm);
            font-weight: 600;
            transition: var(--transition);
            border: none;
            cursor: pointer;
        }

        .btn:hover {
            background: var(--primary-hover);
            transform: translateY(-1px);
        }

        /* ---------- 页脚 ---------- */
        .site-footer {
            background: var(--card-bg);
            border-top: 1px solid var(--border);
            padding: var(--spacing-2xl) 0 var(--spacing-lg);
            color: var(--text-light);
            margin-top: auto;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: var(--spacing-xl);
            max-width: 1000px;
            margin: 0 auto;
            padding: 0 var(--spacing-md);
        }

        .footer-brand h3 {
            font-size: 1.2rem;
            color: var(--primary);
            margin-bottom: var(--spacing-sm);
        }

        .footer-links h4 {
            font-size: 0.95rem;
            margin-bottom: var(--spacing-sm);
        }

        .footer-links ul {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 6px;
        }

        .footer-links a {
            color: var(--text-light);
            font-size: 0.9rem;
        }

        .footer-links a:hover {
            color: var(--primary);
        }

        .footer-bottom {
            text-align: center;
            margin-top: var(--spacing-xl);
            padding-top: var(--spacing-lg);
            border-top: 1px solid var(--border);
            font-size: 0.8rem;
            color: var(--text-muted);
        }

        /* ---------- 响应式 ---------- */
        @media (max-width: 1024px) {
            .main-content {
                margin-left: 0;
            }
            .sidebar {
                transform: translateX(-100%);
                box-shadow: var(--shadow-lg);
            }
            .sidebar.open {
                transform: translateX(0);
            }
            .mobile-header {
                display: flex;
            }
            .overlay.show {
                display: block;
            }
            .container {
                padding-top: 80px;
            }
        }

        @media (max-width: 640px) {
            .article-header, .article-body, .article-footer {
                padding: var(--spacing-md);
                border-radius: var(--radius-sm);
            }
            .related-grid {
                grid-template-columns: 1fr;
            }
            .footer-grid {
                grid-template-columns: 1fr;
                text-align: center;
            }
        }

/* roulang page: category1 */
/* ============ 设计变量 ============ */
        :root {
            --color-primary: #6366F1;
            --color-primary-hover: #4F46E5;
            --color-primary-light: #EEF2FF;
            --color-accent: #F59E0B;
            --color-accent-hover: #D97706;
            --color-accent-light: #FFFBEB;
            --color-bg: #F1F5F9;
            --color-surface: #FFFFFF;
            --color-dark: #1E293B;
            --color-text: #1E293B;
            --color-text-weak: #64748B;
            --color-text-muted: #94A3B8;
            --color-border: #E2E8F0;
            --color-border-light: #F1F5F9;
            --color-success: #10B981;
            --color-danger: #EF4444;
            --radius-sm: 8px;
            --radius: 12px;
            --radius-lg: 16px;
            --radius-xl: 20px;
            --radius-full: 50%;
            --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-md: 0 8px 24px rgba(0, 0, 0, 0.09), 0 4px 8px rgba(0, 0, 0, 0.05);
            --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.11), 0 6px 12px rgba(0, 0, 0, 0.06);
            --shadow-xl: 0 24px 56px rgba(0, 0, 0, 0.14), 0 8px 16px rgba(0, 0, 0, 0.07);
            --transition-fast: 0.15s ease;
            --transition: 0.25s ease;
            --transition-slow: 0.35s ease;
            --sidebar-width: 250px;
            --sidebar-width-tablet: 200px;
            --mobile-topbar-height: 56px;
            --font-sans: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
            --font-mono: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
            --container-max: 1100px;
            --content-padding: 40px;
            --section-gap: 48px;
        }

        /* ============ Reset & Base ============ */
        *,
        *::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-color: var(--color-bg);
            min-height: 100vh;
            display: flex;
            flex-direction: row;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: color var(--transition-fast);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        button {
            cursor: pointer;
            font-family: inherit;
            border: none;
            background: none;
            font-size: inherit;
        }

        input,
        select,
        textarea {
            font-family: inherit;
            font-size: inherit;
        }

        ul,
        ol {
            list-style: none;
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            line-height: 1.3;
            font-weight: 700;
            color: var(--color-dark);
        }

        /* ============ 侧边栏导航 ============ */
        .sidebar {
            position: fixed;
            top: 0;
            left: 0;
            width: var(--sidebar-width);
            height: 100vh;
            background: var(--color-dark);
            color: #E2E8F0;
            z-index: 1000;
            display: flex;
            flex-direction: column;
            transition: transform var(--transition-slow), box-shadow var(--transition-slow);
            overflow-y: auto;
            overflow-x: hidden;
            box-shadow: 2px 0 24px rgba(0, 0, 0, 0.15);
        }

        .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.15rem;
            font-weight: 700;
            color: #FFFFFF;
            letter-spacing: 0.02em;
            transition: opacity var(--transition-fast);
        }

        .sidebar-logo a:hover {
            opacity: 0.85;
        }

        .sidebar-logo .logo-icon {
            width: 40px;
            height: 40px;
            border-radius: var(--radius);
            background: linear-gradient(135deg, var(--color-primary), #818CF8);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            flex-shrink: 0;
        }

        .sidebar-nav {
            flex: 1;
            padding: 16px 12px;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .sidebar-nav a {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            border-radius: var(--radius);
            color: #CBD5E1;
            font-weight: 500;
            font-size: 0.95rem;
            transition: all var(--transition-fast);
            position: relative;
        }

        .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 4px 14px rgba(99, 102, 241, 0.4);
        }

        .sidebar-nav a.active:hover {
            background: var(--color-primary-hover);
        }

        .sidebar-nav .nav-icon {
            font-size: 1.2rem;
            width: 24px;
            text-align: center;
            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: #64748B;
            text-align: center;
        }

        .sidebar-footer span {
            display: block;
        }

        /* ============ 移动端顶部栏 ============ */
        .mobile-topbar {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: var(--mobile-topbar-height);
            background: var(--color-dark);
            z-index: 999;
            align-items: center;
            justify-content: space-between;
            padding: 0 16px;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
        }

        .mobile-topbar .topbar-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 700;
            color: #FFFFFF;
            font-size: 1rem;
        }

        .mobile-topbar .topbar-logo .logo-icon-small {
            width: 32px;
            height: 32px;
            border-radius: 7px;
            background: linear-gradient(135deg, var(--color-primary), #818CF8);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
        }

        .hamburger-btn {
            display: flex;
            flex-direction: column;
            gap: 5px;
            padding: 8px 6px;
            cursor: pointer;
            z-index: 1001;
            background: none;
            border: none;
            width: 40px;
            height: 36px;
            align-items: center;
            justify-content: center;
        }

        .hamburger-btn span {
            display: block;
            width: 24px;
            height: 2.5px;
            background: #FFFFFF;
            border-radius: 2px;
            transition: all var(--transition);
            transform-origin: center;
        }

        .hamburger-btn.open span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }
        .hamburger-btn.open span:nth-child(2) {
            opacity: 0;
            transform: scaleX(0);
        }
        .hamburger-btn.open span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }

        /* 遮罩层 */
        .sidebar-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 998;
            opacity: 0;
            transition: opacity var(--transition-slow);
            pointer-events: none;
        }
        .sidebar-overlay.visible {
            opacity: 1;
            pointer-events: auto;
        }

        /* ============ 主内容区 ============ */
        .main-content {
            margin-left: var(--sidebar-width);
            flex: 1;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        .content-inner {
            flex: 1;
            padding: 0;
        }

        /* ============ 容器 ============ */
        .container {
            max-width: var(--container-max);
            margin: 0 auto;
            padding-left: 32px;
            padding-right: 32px;
        }

        .container-wide {
            max-width: 1200px;
            margin: 0 auto;
            padding-left: 32px;
            padding-right: 32px;
        }

        /* ============ 分类 Hero Banner ============ */
        .category-hero {
            background-image: url('/assets/images/backpic/back-1.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            position: relative;
            padding: 72px 0 64px;
            color: #FFFFFF;
            overflow: hidden;
        }

        .category-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(30, 41, 59, 0.88) 0%, rgba(30, 41, 59, 0.65) 50%, rgba(99, 102, 241, 0.45) 100%);
            z-index: 1;
        }

        .category-hero .container {
            position: relative;
            z-index: 2;
        }

        .category-hero .breadcrumb {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.88rem;
            color: rgba(255, 255, 255, 0.75);
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .category-hero .breadcrumb a {
            color: rgba(255, 255, 255, 0.8);
            transition: color var(--transition-fast);
        }
        .category-hero .breadcrumb a:hover {
            color: #FFFFFF;
        }
        .category-hero .breadcrumb .sep {
            color: rgba(255, 255, 255, 0.4);
        }
        .category-hero .breadcrumb .current {
            color: #FFFFFF;
            font-weight: 500;
        }

        .category-hero h1 {
            font-size: 2.5rem;
            font-weight: 800;
            color: #FFFFFF;
            margin-bottom: 12px;
            letter-spacing: -0.01em;
        }

        .category-hero .hero-subtitle {
            font-size: 1.1rem;
            color: rgba(255, 255, 255, 0.85);
            max-width: 600px;
            line-height: 1.6;
        }

        .category-hero .hero-stats {
            display: flex;
            gap: 32px;
            margin-top: 28px;
            flex-wrap: wrap;
        }

        .category-hero .hero-stat {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.95rem;
            color: rgba(255, 255, 255, 0.9);
        }

        .category-hero .hero-stat .stat-num {
            font-weight: 700;
            font-size: 1.3rem;
            color: #FFFFFF;
        }

        .category-hero .hero-stat .stat-icon {
            font-size: 1.3rem;
        }

        /* ============ 筛选标签栏 ============ */
        .filter-bar {
            background: var(--color-surface);
            border-bottom: 1px solid var(--color-border);
            padding: 16px 0;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: var(--shadow-xs);
        }

        .filter-bar .container {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
        }

        .filter-bar .filter-label {
            font-weight: 600;
            font-size: 0.9rem;
            color: var(--color-text-weak);
            white-space: nowrap;
            margin-right: 4px;
        }

        .filter-tag {
            display: inline-block;
            padding: 7px 16px;
            border-radius: 20px;
            font-size: 0.88rem;
            font-weight: 500;
            color: var(--color-text-weak);
            background: var(--color-bg);
            border: 1.5px solid transparent;
            cursor: pointer;
            transition: all var(--transition-fast);
            white-space: nowrap;
            user-select: none;
        }

        .filter-tag:hover {
            color: var(--color-primary);
            background: var(--color-primary-light);
            border-color: rgba(99, 102, 241, 0.2);
        }

        .filter-tag.active {
            background: var(--color-primary);
            color: #FFFFFF;
            border-color: var(--color-primary);
            font-weight: 600;
            box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
        }

        /* ============ 文章卡片网格 ============ */
        .articles-section {
            padding: var(--section-gap) 0;
        }

        .section-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 28px;
            flex-wrap: wrap;
            gap: 12px;
        }

        .section-header h2 {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--color-dark);
            position: relative;
        }

        .section-header .section-actions {
            display: flex;
            gap: 8px;
            align-items: center;
        }

        .sort-btn {
            padding: 8px 14px;
            border-radius: var(--radius-sm);
            font-size: 0.85rem;
            font-weight: 500;
            color: var(--color-text-weak);
            background: var(--color-surface);
            border: 1px solid var(--color-border);
            cursor: pointer;
            transition: all var(--transition-fast);
        }

        .sort-btn:hover {
            border-color: var(--color-primary);
            color: var(--color-primary);
        }
        .sort-btn.active-sort {
            background: var(--color-primary-light);
            color: var(--color-primary);
            border-color: var(--color-primary);
            font-weight: 600;
        }

        .articles-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }

        .article-card {
            background: var(--color-surface);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: all var(--transition);
            cursor: pointer;
            display: flex;
            flex-direction: column;
            border: 1px solid var(--color-border-light);
        }

        .article-card:hover {
            box-shadow: var(--shadow-md);
            transform: translateY(-3px);
            border-color: rgba(99, 102, 241, 0.15);
        }

        .article-card .card-img-wrap {
            position: relative;
            aspect-ratio: 16 / 10;
            overflow: hidden;
            background: #E2E8F0;
        }

        .article-card .card-img-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform var(--transition-slow);
        }

        .article-card:hover .card-img-wrap img {
            transform: scale(1.06);
        }

        .article-card .card-tag {
            position: absolute;
            top: 12px;
            left: 12px;
            padding: 5px 12px;
            border-radius: 14px;
            font-size: 0.75rem;
            font-weight: 600;
            background: var(--color-primary);
            color: #FFFFFF;
            z-index: 2;
            letter-spacing: 0.02em;
        }

        .article-card .card-tag.hot {
            background: var(--color-danger);
        }
        .article-card .card-tag.new {
            background: var(--color-success);
        }

        .article-card .card-body {
            padding: 18px 20px 20px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .article-card .card-title {
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--color-dark);
            margin-bottom: 8px;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .article-card:hover .card-title {
            color: var(--color-primary);
        }

        .article-card .card-excerpt {
            font-size: 0.88rem;
            color: var(--color-text-weak);
            line-height: 1.55;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            flex: 1;
            margin-bottom: 12px;
        }

        .article-card .card-meta {
            display: flex;
            align-items: center;
            gap: 14px;
            font-size: 0.8rem;
            color: var(--color-text-muted);
            padding-top: 12px;
            border-top: 1px solid var(--color-border-light);
        }

        .article-card .card-meta span {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        /* ============ 精选推荐横向滚动 ============ */
        .featured-section {
            padding: 0 0 var(--section-gap) 0;
        }

        .featured-scroll {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }

        .featured-card {
            background: var(--color-surface);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: all var(--transition);
            cursor: pointer;
            border: 1px solid var(--color-border-light);
            display: flex;
            flex-direction: column;
        }

        .featured-card:hover {
            box-shadow: var(--shadow-md);
            transform: translateY(-2px);
        }

        .featured-card .feat-img {
            aspect-ratio: 4 / 3;
            overflow: hidden;
            background: #E2E8F0;
        }

        .featured-card .feat-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform var(--transition-slow);
        }

        .featured-card:hover .feat-img img {
            transform: scale(1.05);
        }

        .featured-card .feat-body {
            padding: 14px 16px 16px;
        }

        .featured-card .feat-title {
            font-weight: 600;
            font-size: 0.95rem;
            color: var(--color-dark);
            line-height: 1.4;
            margin-bottom: 6px;
        }

        .featured-card .feat-meta {
            font-size: 0.78rem;
            color: var(--color-text-muted);
        }

        /* ============ 数据亮点 ============ */
        .stats-highlight {
            background: var(--color-dark);
            padding: 48px 0;
            color: #FFFFFF;
        }

        .stats-highlight .container {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 32px;
            text-align: center;
        }

        .stat-block {
            padding: 8px;
        }

        .stat-block .stat-value {
            font-size: 2.4rem;
            font-weight: 800;
            color: #FFFFFF;
            letter-spacing: -0.02em;
            margin-bottom: 4px;
        }

        .stat-block .stat-value .accent {
            color: var(--color-accent);
        }

        .stat-block .stat-label {
            font-size: 0.9rem;
            color: #94A3B8;
            font-weight: 500;
        }

        /* ============ FAQ ============ */
        .faq-section {
            padding: var(--section-gap) 0;
            background: var(--color-surface);
        }

        .faq-section .section-header h2 {
            text-align: center;
        }

        .faq-list {
            max-width: 750px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .faq-item {
            border: 1px solid var(--color-border);
            border-radius: var(--radius);
            overflow: hidden;
            transition: all var(--transition-fast);
            background: #FAFBFC;
        }

        .faq-item:hover {
            border-color: rgba(99, 102, 241, 0.25);
        }

        .faq-question {
            padding: 18px 22px;
            font-weight: 600;
            font-size: 0.98rem;
            color: var(--color-dark);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            user-select: none;
            transition: background var(--transition-fast);
        }

        .faq-question:hover {
            background: rgba(99, 102, 241, 0.03);
        }

        .faq-question .faq-arrow {
            width: 22px;
            height: 22px;
            flex-shrink: 0;
            transition: transform var(--transition);
            color: var(--color-text-muted);
            font-size: 0.8rem;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: var(--radius-full);
            background: var(--color-bg);
        }

        .faq-item.open .faq-arrow {
            transform: rotate(180deg);
            background: var(--color-primary-light);
            color: var(--color-primary);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height var(--transition-slow), padding var(--transition-slow);
        }

        .faq-item.open .faq-answer {
            max-height: 300px;
        }

        .faq-answer-inner {
            padding: 0 22px 18px;
            font-size: 0.9rem;
            color: var(--color-text-weak);
            line-height: 1.7;
        }

        /* ============ CTA ============ */
        .cta-section {
            padding: var(--section-gap) 0;
            background: linear-gradient(135deg, var(--color-primary) 0%, #7C3AED 100%);
            color: #FFFFFF;
            text-align: center;
        }

        .cta-section h2 {
            color: #FFFFFF;
            font-size: 1.6rem;
            margin-bottom: 10px;
        }

        .cta-section p {
            color: rgba(255, 255, 255, 0.85);
            font-size: 1rem;
            margin-bottom: 24px;
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-form {
            display: flex;
            gap: 10px;
            max-width: 460px;
            margin: 0 auto;
            flex-wrap: wrap;
            justify-content: center;
        }

        .cta-form input {
            flex: 1;
            min-width: 220px;
            padding: 13px 18px;
            border-radius: var(--radius);
            border: 2px solid transparent;
            font-size: 0.95rem;
            outline: none;
            transition: all var(--transition-fast);
            background: #FFFFFF;
            color: var(--color-dark);
        }

        .cta-form input:focus {
            border-color: var(--color-accent);
            box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2);
        }

        .btn-cta {
            padding: 13px 28px;
            border-radius: var(--radius);
            font-weight: 700;
            font-size: 0.95rem;
            background: var(--color-accent);
            color: #1E293B;
            border: none;
            cursor: pointer;
            transition: all var(--transition);
            white-space: nowrap;
            letter-spacing: 0.01em;
        }

        .btn-cta:hover {
            background: var(--color-accent-hover);
            transform: translateY(-1px);
            box-shadow: var(--shadow-md);
        }

        .btn-cta:active {
            transform: translateY(0);
            box-shadow: var(--shadow-sm);
        }

        /* ============ 页脚 ============ */
        .site-footer {
            background: #0F172A;
            color: #CBD5E1;
            padding: 48px 0 24px;
            margin-top: auto;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 32px;
        }

        .footer-brand h3 {
            color: #FFFFFF;
            font-size: 1.2rem;
            margin-bottom: 10px;
            font-weight: 700;
        }

        .footer-brand p {
            font-size: 0.9rem;
            color: #94A3B8;
            line-height: 1.6;
        }

        .footer-links h4 {
            color: #FFFFFF;
            font-size: 0.95rem;
            margin-bottom: 12px;
            font-weight: 600;
        }

        .footer-links ul {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .footer-links a {
            color: #94A3B8;
            font-size: 0.88rem;
            transition: color var(--transition-fast);
        }

        .footer-links a:hover {
            color: #FFFFFF;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            padding-top: 20px;
            text-align: center;
            font-size: 0.82rem;
            color: #64748B;
        }

        /* ============ 按钮系统 ============ */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 10px 20px;
            border-radius: var(--radius);
            font-weight: 600;
            font-size: 0.9rem;
            transition: all var(--transition);
            cursor: pointer;
            border: 2px solid transparent;
            white-space: nowrap;
            letter-spacing: 0.01em;
        }

        .btn-primary {
            background: var(--color-primary);
            color: #FFFFFF;
            border-color: var(--color-primary);
        }
        .btn-primary:hover {
            background: var(--color-primary-hover);
            border-color: var(--color-primary-hover);
            box-shadow: var(--shadow-md);
            transform: translateY(-1px);
        }
        .btn-primary:active {
            transform: translateY(0);
            box-shadow: var(--shadow-sm);
        }

        .btn-outline {
            background: transparent;
            color: var(--color-primary);
            border-color: var(--color-primary);
        }
        .btn-outline:hover {
            background: var(--color-primary-light);
            border-color: var(--color-primary-hover);
        }

        .btn-ghost {
            background: transparent;
            color: var(--color-text-weak);
            border-color: transparent;
        }
        .btn-ghost:hover {
            background: var(--color-bg);
            color: var(--color-text);
        }

        .btn:focus-visible {
            outline: 3px solid rgba(99, 102, 241, 0.35);
            outline-offset: 2px;
        }

        /* ============ 标签徽章系统 ============ */
        .badge {
            display: inline-flex;
            align-items: center;
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.02em;
            white-space: nowrap;
        }

        .badge-primary {
            background: var(--color-primary-light);
            color: var(--color-primary);
        }
        .badge-accent {
            background: var(--color-accent-light);
            color: #B45309;
        }
        .badge-success {
            background: #ECFDF5;
            color: #059669;
        }
        .badge-danger {
            background: #FEF2F2;
            color: #DC2626;
        }

        /* ============ 响应式 ============ */
        @media (max-width: 1200px) {
            .articles-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }
            .featured-scroll {
                grid-template-columns: repeat(2, 1fr);
                gap: 16px;
            }
            .stats-highlight .container {
                grid-template-columns: repeat(2, 1fr);
                gap: 24px;
            }
        }

        @media (max-width: 1024px) {
            :root {
                --sidebar-width: 200px;
            }
            .sidebar {
                width: var(--sidebar-width);
            }
            .sidebar-logo {
                padding: 22px 16px 16px;
            }
            .sidebar-logo a {
                font-size: 1rem;
            }
            .sidebar-nav a {
                padding: 10px 12px;
                font-size: 0.88rem;
                gap: 8px;
            }
            .sidebar-nav .nav-icon {
                font-size: 1rem;
                width: 20px;
            }
            .main-content {
                margin-left: var(--sidebar-width);
            }
            .container,
            .container-wide {
                padding-left: 24px;
                padding-right: 24px;
            }
            .category-hero h1 {
                font-size: 2rem;
            }
            .articles-grid {
                gap: 16px;
            }
            .footer-grid {
                gap: 24px;
            }
        }

        @media (max-width: 768px) {
            :root {
                --sidebar-width: 0px;
            }
            body {
                flex-direction: column;
            }

            /* 隐藏桌面侧边栏，改用移动端顶部栏 */
            .sidebar {
                position: fixed;
                left: -280px;
                width: 280px;
                height: 100vh;
                top: 0;
                z-index: 1000;
                transition: left var(--transition-slow);
                box-shadow: none;
            }
            .sidebar.mobile-open {
                left: 0;
                box-shadow: 4px 0 32px rgba(0, 0, 0, 0.3);
            }
            .sidebar-overlay {
                display: block;
            }
            .mobile-topbar {
                display: flex;
            }
            .main-content {
                margin-left: 0;
                margin-top: var(--mobile-topbar-height);
            }
            .container,
            .container-wide {
                padding-left: 16px;
                padding-right: 16px;
            }
            .category-hero {
                padding: 48px 0 40px;
            }
            .category-hero h1 {
                font-size: 1.65rem;
            }
            .category-hero .hero-subtitle {
                font-size: 0.95rem;
            }
            .category-hero .hero-stats {
                gap: 16px;
                margin-top: 18px;
            }
            .articles-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }
            .featured-scroll {
                grid-template-columns: 1fr 1fr;
                gap: 12px;
            }
            .stats-highlight .container {
                grid-template-columns: 1fr 1fr;
                gap: 20px;
            }
            .stat-block .stat-value {
                font-size: 1.8rem;
            }
            .section-header h2 {
                font-size: 1.25rem;
            }
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }
            .filter-bar .container {
                gap: 6px;
            }
            .filter-tag {
                padding: 5px 12px;
                font-size: 0.8rem;
            }
            .cta-section h2 {
                font-size: 1.3rem;
            }
            .cta-form {
                flex-direction: column;
                align-items: stretch;
            }
            .cta-form input {
                min-width: auto;
            }
            .faq-question {
                padding: 14px 16px;
                font-size: 0.9rem;
            }
            .faq-answer-inner {
                padding: 0 16px 14px;
                font-size: 0.85rem;
            }
        }

        @media (max-width: 520px) {
            .category-hero h1 {
                font-size: 1.4rem;
            }
            .category-hero .hero-stats {
                flex-direction: column;
                gap: 8px;
            }
            .featured-scroll {
                grid-template-columns: 1fr;
            }
            .stats-highlight .container {
                grid-template-columns: 1fr 1fr;
                gap: 16px;
            }
            .stat-block .stat-value {
                font-size: 1.5rem;
            }
            .articles-grid {
                grid-template-columns: 1fr;
            }
            .filter-bar .filter-label {
                font-size: 0.8rem;
            }
            .filter-tag {
                padding: 4px 10px;
                font-size: 0.75rem;
                border-radius: 16px;
            }
            .btn-cta {
                width: 100%;
                text-align: center;
            }
        }
