/* roulang page: index */
:root {
            --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
        }
        * {
            box-sizing: border-box;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: var(--font-sans);
            background-color: #f8fafc;
            color: #1e293b;
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        .container-x {
            max-width: 1280px;
            margin-left: auto;
            margin-right: auto;
            padding-left: 1.5rem;
            padding-right: 1.5rem;
        }
        @media (max-width: 640px) {
            .container-x {
                padding-left: 1rem;
                padding-right: 1rem;
            }
        }
        /* ===== Navigation ===== */
        .site-header {
            background: rgba(10, 15, 26, 0.85);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(148, 163, 184, 0.1);
            position: sticky;
            top: 0;
            z-index: 100;
        }
        .nav-link {
            color: #cbd5e1;
            font-size: 0.9rem;
            font-weight: 500;
            padding: 0.5rem 0.9rem;
            border-radius: 0.5rem;
            transition: all 0.2s ease;
            position: relative;
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
        }
        .nav-link:hover {
            color: #ffffff;
            background: rgba(148, 163, 184, 0.08);
        }
        .nav-link.active {
            color: #a5b4fc;
            background: rgba(99, 102, 241, 0.12);
        }
        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 50%;
            transform: translateX(-50%);
            width: 20px;
            height: 2px;
            background: #6b7bff;
            border-radius: 2px;
        }
        .mega-panel {
            position: absolute;
            top: calc(100% + 0.5rem);
            right: 0;
            background: rgba(18, 25, 41, 0.95);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-radius: 1rem;
            border: 1px solid rgba(148, 163, 184, 0.12);
            padding: 1.25rem;
            min-width: 420px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(8px) scale(0.98);
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
            z-index: 200;
        }
        .mega-trigger:hover .mega-panel,
        .mega-trigger:focus-within .mega-panel {
            opacity: 1;
            visibility: visible;
            transform: translateY(0) scale(1);
        }
        @media (max-width: 767px) {
            .mega-panel {
                position: static;
                min-width: 100%;
                opacity: 1;
                visibility: visible;
                transform: none;
                background: transparent;
                box-shadow: none;
                border: none;
                padding: 0.75rem 0 0;
            }
            .mega-trigger .mega-panel {
                display: none;
            }
            .mega-trigger.mobile-open .mega-panel {
                display: block;
            }
        }
        /* ===== Hero ===== */
        .hero-section {
            background-image: linear-gradient(135deg, rgba(10, 15, 26, 0.92) 0%, rgba(18, 25, 41, 0.85) 50%, rgba(23, 37, 84, 0.75) 100%), url('/assets/images/backpic/back-1.png');
            background-size: cover;
            background-position: center;
            position: relative;
            overflow: hidden;
            min-height: 640px;
            display: flex;
            align-items: center;
        }
        .hero-section::before {
            content: '';
            position: absolute;
            top: -200px;
            right: -200px;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, transparent 70%);
            border-radius: 50%;
            animation: float 8s ease-in-out infinite;
        }
        .hero-section::after {
            content: '';
            position: absolute;
            bottom: -100px;
            left: 10%;
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
            border-radius: 50%;
            animation: float 10s ease-in-out infinite reverse;
        }
        @keyframes float {
            0%, 100% { transform: translate(0, 0); }
            50% { transform: translate(30px, -20px); }
        }
        /* ===== Buttons ===== */
        .btn-primary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            background: linear-gradient(135deg, #5a5cfa, #4f46e5);
            color: #fff;
            font-weight: 600;
            font-size: 0.95rem;
            padding: 0.75rem 1.75rem;
            border-radius: 0.75rem;
            transition: all 0.25s ease;
            box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
            border: none;
            cursor: pointer;
        }
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
            background: linear-gradient(135deg, #4f46e5, #4338ca);
        }
        .btn-primary:active {
            transform: translateY(0);
            box-shadow: 0 2px 10px rgba(79, 70, 229, 0.3);
        }
        .btn-primary:focus-visible,
        .btn-secondary:focus-visible,
        .btn-outline:focus-visible {
            outline: 2px solid #6b7bff;
            outline-offset: 2px;
        }
        .btn-secondary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            background: rgba(148, 163, 184, 0.15);
            border: 1px solid rgba(148, 163, 184, 0.25);
            color: #e2e8f0;
            font-weight: 500;
            font-size: 0.95rem;
            padding: 0.75rem 1.75rem;
            border-radius: 0.75rem;
            transition: all 0.25s ease;
            cursor: pointer;
            backdrop-filter: blur(4px);
        }
        .btn-secondary:hover {
            background: rgba(148, 163, 184, 0.25);
            border-color: rgba(148, 163, 184, 0.4);
            transform: translateY(-2px);
        }
        .btn-outline {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            background: transparent;
            border: 1px solid #e2e8f0;
            color: #334155;
            font-weight: 500;
            font-size: 0.9rem;
            padding: 0.6rem 1.4rem;
            border-radius: 0.75rem;
            transition: all 0.25s ease;
            cursor: pointer;
        }
        .btn-outline:hover {
            background: #f1f5f9;
            border-color: #94a3b8;
            transform: translateY(-1px);
        }
        /* ===== Cards ===== */
        .hover-card {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .hover-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 30px rgba(2, 12, 27, 0.1);
        }
        /* ===== FAQ ===== */
        .faq-item {
            border: 1px solid #e2e8f0;
            border-radius: 0.75rem;
            padding: 1.25rem 1.5rem;
            background: #ffffff;
            margin-bottom: 0.75rem;
            transition: border-color 0.2s ease, box-shadow 0.2s ease;
        }
        .faq-item:hover {
            border-color: #c7d2fe;
            box-shadow: 0 4px 12px rgba(99, 102, 241, 0.06);
        }
        .faq-item details {
            display: block;
        }
        .faq-item details summary {
            cursor: pointer;
            font-weight: 600;
            color: #1e293b;
            font-size: 1rem;
            list-style: none;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 1rem;
        }
        .faq-item details summary::-webkit-details-marker {
            display: none;
        }
        .faq-item details summary::after {
            content: '\f078';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            font-size: 0.75rem;
            color: #6b7bff;
            transition: transform 0.3s ease;
            flex-shrink: 0;
        }
        .faq-item details[open] summary::after {
            transform: rotate(180deg);
        }
        .faq-item details p {
            margin-top: 0.75rem;
            color: #475569;
            font-size: 0.95rem;
            line-height: 1.7;
        }
        /* ===== Badge ===== */
        .badge-primary {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            background: rgba(99, 102, 241, 0.1);
            color: #4f46e5;
            font-size: 0.75rem;
            font-weight: 600;
            padding: 0.25rem 0.75rem;
            border-radius: 999px;
            border: 1px solid rgba(99, 102, 241, 0.15);
        }
        .badge-dark {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            background: rgba(148, 163, 184, 0.15);
            color: #94a3b8;
            font-size: 0.75rem;
            font-weight: 500;
            padding: 0.25rem 0.75rem;
            border-radius: 999px;
            border: 1px solid rgba(148, 163, 184, 0.2);
        }
        /* ===== Section title ===== */
        .section-tag {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: #4f46e5;
            margin-bottom: 0.75rem;
        }
        .section-tag-dark {
            color: #a5b4fc;
        }
        /* ===== List styles ===== */
        .content-list li {
            padding: 0.75rem 1rem;
            border-radius: 0.75rem;
            transition: background 0.2s ease;
        }
        .content-list li:hover {
            background: #f8fafc;
        }
        .content-list li a {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 1rem;
        }
        .content-list li a:hover .title {
            color: #4f46e5;
        }
        /* ===== CTA banner ===== */
        .cta-banner {
            background-image: linear-gradient(135deg, rgba(37, 35, 100, 0.9), rgba(76, 29, 149, 0.85)), url('/assets/images/backpic/back-2.png');
            background-size: cover;
            background-position: center;
            border-radius: 1.5rem;
            padding: 3rem 2rem;
            position: relative;
            overflow: hidden;
        }
        @media (max-width: 640px) {
            .cta-banner {
                padding: 2rem 1.25rem;
                border-radius: 1rem;
            }
        }
        /* ===== Footer ===== */
        .site-footer {
            background: #0a0f1a;
            color: #94a3b8;
        }
        .site-footer a {
            color: #94a3b8;
            transition: color 0.2s ease;
        }
        .site-footer a:hover {
            color: #a5b4fc;
        }
        /* ===== Timeline ===== */
        .timeline-line {
            position: relative;
            padding-left: 1.5rem;
        }
        .timeline-line::before {
            content: '';
            position: absolute;
            left: 6px;
            top: 4px;
            bottom: 4px;
            width: 2px;
            background: linear-gradient(to bottom, #6b7bff, #8aa0ff, transparent);
            border-radius: 2px;
        }
        .timeline-line .timeline-item {
            position: relative;
        }
        .timeline-line .timeline-item::before {
            content: '';
            position: absolute;
            left: -1.5rem;
            top: 0.55rem;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #5a5cfa;
            border: 2px solid #e0e6ff;
        }
        /* ===== Responsive nav ===== */
        .mobile-nav-toggle {
            display: none;
            background: none;
            border: none;
            color: #cbd5e1;
            font-size: 1.4rem;
            cursor: pointer;
            padding: 0.4rem;
            border-radius: 0.5rem;
            transition: all 0.2s ease;
        }
        .mobile-nav-toggle:hover {
            background: rgba(148, 163, 184, 0.1);
            color: #fff;
        }
        @media (max-width: 767px) {
            .mobile-nav-toggle {
                display: block;
            }
            .desktop-nav {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: rgba(10, 15, 26, 0.98);
                padding: 1rem 1.25rem 1.5rem;
                border-bottom: 1px solid rgba(148, 163, 184, 0.1);
                flex-direction: column;
                gap: 0.5rem;
            }
            .desktop-nav.nav-open {
                display: flex;
            }
            .nav-link {
                width: 100%;
                padding: 0.75rem 1rem;
            }
            .nav-link::after {
                display: none;
            }
        }
        /* ===== Stat number ===== */
        .stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            line-height: 1.1;
            background: linear-gradient(135deg, #5a5cfa, #8aa0ff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        @media (max-width: 640px) {
            .stat-number {
                font-size: 2rem;
            }
        }
        /* ===== Misc ===== */
        img {
            max-width: 100%;
            height: auto;
        }
        input:focus-visible,
        textarea:focus-visible,
        button:focus-visible {
            outline: 2px solid #6b7bff;
            outline-offset: 2px;
        }
        .line-clamp-2 {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .line-clamp-3 {
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .cover-card-img {
            transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .cover-card:hover .cover-card-img {
            transform: scale(1.05);
        }
        .breadcrumb-item + .breadcrumb-item::before {
            content: "/";
            margin: 0 0.5rem;
            color: #94a3b8;
        }

/* roulang page: category1 */
:root {
            --bg-primary: #0b0e1a;
            --bg-secondary: #111528;
            --bg-card: rgba(255, 255, 255, 0.03);
            --border-color: rgba(255, 255, 255, 0.08);
            --text-primary: #f1f5f9;
            --text-secondary: #94a3b8;
            --text-muted: #64748b;
            --brand-1: #6366f1;
            --brand-2: #8b5cf6;
            --radius: 1rem;
            --radius-lg: 1.5rem;
            --shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
            --transition: 0.25s ease;
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
            background-color: var(--bg-primary);
            color: var(--text-secondary);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        img {
            display: block;
            max-width: 100%;
        }

        button,
        input {
            font-family: inherit;
        }

        /* 滚动条 */
        ::-webkit-scrollbar {
            width: 8px;
        }
        ::-webkit-scrollbar-track {
            background: #0b0e1a;
        }
        ::-webkit-scrollbar-thumb {
            background: #1e293b;
            border-radius: 4px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #334155;
        }

        /* 容器 */
        .container-x {
            max-width: 1280px;
            margin-left: auto;
            margin-right: auto;
            padding-left: 1.25rem;
            padding-right: 1.25rem;
        }

        /* 头部 */
        .site-header {
            background: rgba(11, 14, 26, 0.85);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--border-color);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .nav-link {
            display: inline-flex;
            align-items: center;
            gap: 0.375rem;
            font-size: 0.875rem;
            font-weight: 500;
            color: #94a3b8;
            padding: 0.5rem 0.75rem;
            border-radius: 0.75rem;
            transition: all var(--transition);
            background: transparent;
            border: none;
            cursor: pointer;
            white-space: nowrap;
        }

        .nav-link:hover {
            color: #fff;
            background: rgba(255, 255, 255, 0.05);
        }

        .nav-link.active {
            color: #fff;
            background: rgba(99, 102, 241, 0.15);
            box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.3);
        }

        /* Mega 菜单 */
        .mega-panel {
            position: absolute;
            top: calc(100% + 8px);
            left: 50%;
            transform: translateX(-50%) translateY(-10px);
            width: 340px;
            padding: 1rem;
            background: rgba(17, 21, 40, 0.98);
            border: 1px solid var(--border-color);
            border-radius: 1rem;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
            opacity: 0;
            visibility: hidden;
            transition: all var(--transition);
            z-index: 50;
        }

        .mega-trigger:hover .mega-panel,
        .mega-trigger:focus-within .mega-panel,
        .mega-panel.open {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(0);
        }

        /* 移动端菜单 */
        .mobile-menu {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.35s ease;
        }

        .mobile-menu.open {
            max-height: 420px;
        }

        /* 徽章 */
        .badge-dark {
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 999px;
            color: #94a3b8;
            padding: 0.15rem 0.6rem;
            font-size: 0.7rem;
        }

        .badge-brand {
            background: rgba(99, 102, 241, 0.15);
            border: 1px solid rgba(99, 102, 241, 0.3);
            border-radius: 999px;
            color: #a5b4fc;
            padding: 0.15rem 0.6rem;
            font-size: 0.7rem;
        }

        /* Hero */
        .hero-banner {
            background-image: linear-gradient(135deg, rgba(11, 14, 26, 0.92), rgba(17, 21, 40, 0.78)), url('/assets/images/backpic/back-1.png');
            background-size: cover;
            background-position: center;
            position: relative;
        }

        /* 封面卡片 */
        .cover-card {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius);
            overflow: hidden;
            transition: all var(--transition);
        }

        .cover-card:hover {
            border-color: rgba(99, 102, 241, 0.4);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
            transform: translateY(-4px);
        }

        .cover-card img {
            transition: transform 0.4s ease;
        }

        .cover-card:hover img {
            transform: scale(1.05);
        }

        /* 步骤 */
        .step-item {
            position: relative;
        }

        .step-line::before {
            content: '';
            position: absolute;
            left: 2.5rem;
            top: 4.5rem;
            bottom: -2.5rem;
            width: 2px;
            background: linear-gradient(to bottom, rgba(99,102,241,0.6), rgba(99,102,241,0.05));
        }

        /* FAQ 折叠 */
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

        .faq-item.open .faq-answer {
            max-height: 300px;
        }

        .faq-item.open .faq-icon {
            transform: rotate(180deg);
        }

        .faq-icon {
            transition: transform 0.3s ease;
        }

        /* 按钮 */
        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: linear-gradient(135deg, #6366f1, #8b5cf6);
            color: #fff;
            font-size: 0.9rem;
            font-weight: 600;
            padding: 0.75rem 1.5rem;
            border-radius: 999px;
            border: none;
            cursor: pointer;
            transition: all var(--transition);
            box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
        }

        .btn-primary:focus-visible {
            outline: 3px solid rgba(99, 102, 241, 0.5);
            outline-offset: 3px;
        }

        .btn-ghost {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(255, 255, 255, 0.06);
            color: #e2e8f0;
            font-size: 0.9rem;
            font-weight: 500;
            padding: 0.75rem 1.5rem;
            border-radius: 999px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            cursor: pointer;
            transition: all var(--transition);
        }

        .btn-ghost:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.2);
        }

        .btn-ghost:focus-visible {
            outline: 3px solid rgba(255, 255, 255, 0.2);
            outline-offset: 3px;
        }

        /* 页脚 */
        .site-footer {
            border-top: 1px solid var(--border-color);
            background: #080b15;
        }

        .footer-link {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            color: #64748b;
            font-size: 0.875rem;
            transition: color var(--transition);
        }

        .footer-link:hover {
            color: #a5b4fc;
        }

        /* 焦点可见性 */
        a:focus-visible {
            outline: 2px solid #818cf8;
            outline-offset: 2px;
            border-radius: 0.25rem;
        }

        /* 响应式补充 */
        @media (max-width: 1024px) {
            .desktop-nav {
                display: none;
            }
            .site-header .mobile-toggle {
                display: flex;
            }
        }

        @media (min-width: 1025px) {
            .mobile-toggle,
            .mobile-menu {
                display: none;
            }
        }

        @media (max-width: 640px) {
            .container-x {
                padding-left: 1rem;
                padding-right: 1rem;
            }
            .hero-banner h1 {
                font-size: 2rem;
            }
        }

/* roulang page: article */
:root {
            --bg-base: #0b0f1a;
            --bg-surface: #111827;
            --bg-card: #151e2c;
            --bg-elevated: #1a2332;
            --border-primary: rgba(255,255,255,0.08);
            --text-primary: #f1f5f9;
            --text-secondary: #94a3b8;
            --text-muted: #64748b;
            --color-primary: #6366f1;
            --color-primary-light: #818cf8;
            --color-primary-dark: #4f46e5;
            --color-accent: #8b5cf6;
            --radius-md: 0.75rem;
            --radius-lg: 1rem;
            --radius-xl: 1.25rem;
            --shadow-card: 0 8px 30px rgba(0,0,0,0.35);
            --shadow-btn: 0 4px 15px rgba(99,102,241,0.35);
            --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei',
                sans-serif;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            background-color: var(--bg-base);
            color: var(--text-primary);
            font-family: var(--font-sans);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: color .2s ease;
        }

        img {
            max-width: 100%;
            display: block;
        }

        button {
            font-family: inherit;
            cursor: pointer;
        }

        ul,
        ol {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .container-x {
            width: 100%;
            max-width: 80rem;
            margin-left: auto;
            margin-right: auto;
            padding-left: 1.25rem;
            padding-right: 1.25rem;
        }

        @media (min-width: 768px) {
            .container-x {
                padding-left: 2rem;
                padding-right: 2rem;
            }
        }

        .section-padding {
            padding-top: 4rem;
            padding-bottom: 4rem;
        }

        @media (min-width: 768px) {
            .section-padding {
                padding-top: 5.5rem;
                padding-bottom: 5.5rem;
            }
        }

        /* ===== Header ===== */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 50;
            background: rgba(11, 15, 26, 0.82);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            transition: background .3s ease, box-shadow .3s ease;
        }

        .site-header.scrolled {
            background: rgba(11, 15, 26, 0.94);
            box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
        }

        .nav-link {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 0.95rem;
            border-radius: 0.65rem;
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.875rem;
            font-weight: 500;
            background: none;
            border: none;
            transition: all .22s ease;
            white-space: nowrap;
        }

        .nav-link:hover {
            color: #fff;
            background: rgba(255, 255, 255, 0.06);
        }

        .nav-link.active {
            color: #fff;
            background: rgba(99, 102, 241, 0.16);
        }

        .nav-link:focus-visible {
            outline: 2px solid var(--color-primary);
            outline-offset: 2px;
        }

        .mega-panel {
            position: absolute;
            top: calc(100% + 0.7rem);
            left: 50%;
            transform: translateX(-50%) translateY(10px);
            min-width: 440px;
            padding: 1.25rem;
            border-radius: 1rem;
            background: rgba(21, 30, 44, 0.98);
            border: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
            opacity: 0;
            visibility: hidden;
            transition: all .25s ease;
            z-index: 60;
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
        }

        .mega-trigger:hover .mega-panel,
        .mega-trigger.open .mega-panel {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(0);
        }

        .md\:hidden {
            display: none;
        }

        .mobile-menu {
            background: rgba(11, 15, 26, 0.98);
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            padding-bottom: 1rem;
        }

        .mobile-nav-link {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 0.9rem;
            border-radius: 0.65rem;
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.925rem;
            transition: all .2s ease;
        }

        .mobile-nav-link:hover,
        .mobile-nav-link.active {
            color: #fff;
            background: rgba(99, 102, 241, 0.15);
        }

        /* ===== Buttons ===== */
        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.625rem 1.375rem;
            border-radius: 0.75rem;
            background: linear-gradient(135deg, #6366f1, #8b5cf6);
            color: #fff;
            font-size: 0.875rem;
            font-weight: 600;
            box-shadow: var(--shadow-btn);
            border: none;
            transition: all .3s ease;
            cursor: pointer;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 22px rgba(99, 102, 241, 0.5);
            color: #fff;
        }

        .btn-primary:active {
            transform: translateY(0);
            box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
        }

        .btn-primary:focus-visible {
            outline: 2px solid #a5b4fc;
            outline-offset: 2px;
        }

        .btn-ghost {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1.125rem;
            border-radius: 0.75rem;
            border: 1px solid rgba(255, 255, 255, 0.12);
            color: rgba(255, 255, 255, 0.75);
            font-size: 0.875rem;
            font-weight: 500;
            background: transparent;
            transition: all .2s ease;
            cursor: pointer;
        }

        .btn-ghost:hover {
            color: #fff;
            border-color: rgba(255, 255, 255, 0.3);
            background: rgba(255, 255, 255, 0.04);
        }

        .btn-ghost:focus-visible {
            outline: 2px solid var(--color-primary);
            outline-offset: 2px;
        }

        /* ===== Badge ===== */
        .badge-pill {
            display: inline-flex;
            align-items: center;
            gap: 0.375rem;
            padding: 0.35rem 0.8rem;
            border-radius: 999px;
            font-size: 0.75rem;
            font-weight: 600;
            background: rgba(99, 102, 241, 0.15);
            color: #a5b4fc;
            border: 1px solid rgba(99, 102, 241, 0.25);
        }

        .badge-dark {
            display: inline-flex;
            align-items: center;
            gap: 0.375rem;
            padding: 0.35rem 0.8rem;
            border-radius: 999px;
            font-size: 0.75rem;
            font-weight: 500;
            background: rgba(255, 255, 255, 0.06);
            color: rgba(255, 255, 255, 0.6);
            border: 1px solid rgba(255, 255, 255, 0.06);
        }

        /* ===== Page Hero ===== */
        .page-hero {
            position: relative;
            padding-top: 4.5rem;
            padding-bottom: 4.5rem;
            overflow: hidden;
            background-size: cover;
            background-position: center;
        }

        .page-hero .overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(8, 12, 20, 0.94), rgba(13, 18, 32, 0.82), rgba(15, 23, 42, 0.92));
        }

        @media (min-width: 768px) {
            .page-hero {
                padding-top: 6rem;
                padding-bottom: 6rem;
            }
        }

        /* ===== Article Content ===== */
        .article-content {
            font-size: 1.0625rem;
            line-height: 1.85;
            color: rgba(255, 255, 255, 0.85);
            word-break: break-word;
        }

        .article-content h2 {
            font-size: 1.5rem;
            font-weight: 700;
            color: #fff;
            margin-top: 2.5rem;
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

        .article-content h3 {
            font-size: 1.25rem;
            font-weight: 600;
            color: #fff;
            margin-top: 2rem;
            margin-bottom: 0.75rem;
        }

        .article-content h4 {
            font-size: 1.05rem;
            font-weight: 600;
            color: #fff;
            margin-top: 1.5rem;
            margin-bottom: 0.5rem;
        }

        .article-content p {
            margin-bottom: 1.25rem;
        }

        .article-content ul {
            margin-bottom: 1.25rem;
            padding: 0;
        }

        .article-content ul li {
            position: relative;
            padding-left: 1.5rem;
            margin-bottom: 0.5rem;
        }

        .article-content ul li::before {
            content: '';
            position: absolute;
            left: 0.25rem;
            top: 0.65rem;
            width: 0.5rem;
            height: 0.5rem;
            border-radius: 50%;
            background: linear-gradient(135deg, #6366f1, #8b5cf6);
        }

        .article-content ol {
            counter-reset: star-counter;
            margin-bottom: 1.25rem;
            padding: 0;
        }

        .article-content ol li {
            counter-increment: star-counter;
            position: relative;
            padding-left: 2.5rem;
            margin-bottom: 0.75rem;
        }

        .article-content ol li::before {
            content: counter(star-counter);
            position: absolute;
            left: 0;
            top: 0.2rem;
            width: 1.5rem;
            height: 1.5rem;
            border-radius: 50%;
            background: rgba(99, 102, 241, 0.15);
            color: #a5b4fc;
            font-size: 0.75rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .article-content blockquote {
            margin: 1.5rem 0;
            padding: 1rem 1.5rem;
            border-left: 3px solid #6366f1;
            background: rgba(99, 102, 241, 0.08);
            border-radius: 0 0.75rem 0.75rem 0;
            color: rgba(255, 255, 255, 0.8);
        }

        .article-content a {
            color: #a5b4fc;
            text-decoration: underline;
            text-underline-offset: 3px;
            transition: color .2s;
        }

        .article-content a:hover {
            color: #fff;
        }

        .article-content img {
            border-radius: 1rem;
            margin: 1.75rem 0;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
        }

        .article-content code {
            background: rgba(255, 255, 255, 0.08);
            padding: 0.15rem 0.4rem;
            border-radius: 0.25rem;
            font-size: 0.9em;
        }

        .article-content pre {
            background: rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(255, 255, 255, 0.06);
            border-radius: 0.75rem;
            padding: 1.25rem;
            overflow-x: auto;
            margin-bottom: 1.25rem;
        }

        .article-content table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 1.5rem;
            font-size: 0.925rem;
        }

        .article-content table th,
        .article-content table td {
            padding: 0.75rem 1rem;
            border: 1px solid rgba(255, 255, 255, 0.08);
            text-align: left;
        }

        .article-content table th {
            background: rgba(255, 255, 255, 0.05);
            font-weight: 600;
            color: #fff;
        }

        /* ===== Cards ===== */
        .media-card {
            display: block;
            background: var(--bg-card);
            border-radius: 1rem;
            border: 1px solid rgba(255, 255, 255, 0.06);
            overflow: hidden;
            transition: all .3s ease;
        }

        .media-card:hover {
            transform: translateY(-4px);
            border-color: rgba(99, 102, 241, 0.25);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
        }

        .media-card img {
            transition: transform .5s ease;
        }

        .media-card:hover img {
            transform: scale(1.04);
        }

        .side-card {
            background: var(--bg-card);
            border-radius: 1rem;
            border: 1px solid rgba(255, 255, 255, 0.06);
            padding: 1.5rem;
        }

        .side-card h3 {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 1rem;
            font-weight: 600;
            color: #fff;
            margin-bottom: 1.25rem;
        }

        /* ===== Footer ===== */
        .site-footer {
            background: linear-gradient(180deg, rgba(11, 15, 26, 0.5), rgba(8, 12, 20, 0.95));
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            position: relative;
        }

        .site-footer a:hover {
            color: #a5b4fc !important;
        }

        /* ===== Focus ===== */
        a:focus-visible,
        button:focus-visible {
            outline: 2px solid #6366f1;
            outline-offset: 2px;
            border-radius: 0.25rem;
        }

        /* ===== Line clamp ===== */
        .line-clamp-1 {
            display: -webkit-box;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .line-clamp-2 {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .line-clamp-3 {
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* ===== Responsive ===== */
        @media (max-width: 1024px) {
            .desktop-nav {
                display: none !important;
            }
            .mobile-menu-btn {
                display: flex !important;
            }
        }

        @media (min-width: 1025px) {
            .mobile-menu-btn {
                display: none !important;
            }
            .mobile-menu {
                display: none !important;
            }
        }

        @media (max-width: 640px) {
            .container-x {
                padding-left: 1rem;
                padding-right: 1rem;
            }
            .page-hero {
                padding-top: 3rem;
                padding-bottom: 3rem;
            }
            .article-content {
                font-size: 1rem;
                line-height: 1.75;
            }
            .media-card h3 {
                font-size: 0.95rem;
            }
        }

        /* 自定义滚动条 */
        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }

        ::-webkit-scrollbar-track {
            background: #0b0f1a;
        }

        ::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.12);
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: rgba(255, 255, 255, 0.2);
        }
