/* roulang page: index */
/* ========== 设计变量 ========== */
    :root {
        --color-primary: #0a1628;
        --color-primary-light: #13223d;
        --color-secondary: #d4a843;
        --color-secondary-hover: #c1972e;
        --color-accent: #1e88e5;
        --color-accent-hover: #1565c0;
        --color-bg: #f5f7fa;
        --color-bg-alt: #eef1f5;
        --color-card: #ffffff;
        --color-text: #1a1a2e;
        --color-text-secondary: #555577;
        --color-text-light: #8888aa;
        --color-border: #e0e3e8;
        --color-border-light: #eef0f4;
        --color-success: #2ecc71;
        --color-warning: #f39c12;
        --color-danger: #e74c3c;
        --color-sidebar: #0d1b2a;
        --color-sidebar-text: #b8c6d4;
        --color-sidebar-active: #d4a843;
        --color-footer: #0d1b2a;
        --color-footer-text: #8899aa;
        --font-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
        --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        --radius-sm: 6px;
        --radius-md: 12px;
        --radius-lg: 20px;
        --radius-xl: 28px;
        --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
        --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
        --shadow-lg: 0 12px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
        --shadow-xl: 0 24px 60px rgba(0,0,0,0.14);
        --sidebar-width: 240px;
        --header-height: 0px;
        --max-width: 1200px;
        --space-xs: 4px;
        --space-sm: 8px;
        --space-md: 16px;
        --space-lg: 24px;
        --space-xl: 40px;
        --space-2xl: 64px;
        --space-3xl: 96px;
        --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* ========== 基础重置 ========== */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
    body {
        font-family: var(--font-base);
        font-size: 16px;
        line-height: 1.65;
        color: var(--color-text);
        background: var(--color-bg);
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
    a:hover { color: var(--color-accent-hover); }
    a:focus-visible { outline: 2px solid var(--color-secondary); outline-offset: 2px; }
    img { max-width: 100%; height: auto; display: block; }
    button, input, select, textarea { font-family: inherit; font-size: inherit; line-height: inherit; }
    button { cursor: pointer; border: none; background: none; }
    ul, ol { list-style: none; }
    h1, h2, h3, h4, h5, h6 {
        font-family: var(--font-heading);
        font-weight: 700;
        line-height: 1.25;
        color: var(--color-text);
    }
    h1 { font-size: 2.75rem; letter-spacing: -0.02em; }
    h2 { font-size: 2rem; letter-spacing: -0.01em; }
    h3 { font-size: 1.375rem; }
    h4 { font-size: 1.125rem; }
    p { margin-bottom: 1em; }
    p:last-child { margin-bottom: 0; }
    ::selection { background: var(--color-secondary); color: #fff; }
    :focus-visible { outline: 2px solid var(--color-secondary); outline-offset: 2px; }

    /* ========== 布局容器 ========== */
    .app-layout {
        display: flex;
        min-height: 100vh;
    }
    .main-content {
        flex: 1;
        margin-left: var(--sidebar-width);
        min-width: 0;
        display: flex;
        flex-direction: column;
    }
    .container {
        width: 100%;
        max-width: var(--max-width);
        margin: 0 auto;
        padding: 0 var(--space-lg);
    }
    .section {
        padding: var(--space-2xl) 0;
    }
    .section-alt {
        background: var(--color-bg-alt);
    }
    .section-dark {
        background: var(--color-primary);
        color: #fff;
    }
    .section-dark h2,
    .section-dark h3,
    .section-dark .section-subtitle {
        color: #fff;
    }
    .section-title {
        text-align: center;
        margin-bottom: var(--space-sm);
    }
    .section-subtitle {
        text-align: center;
        color: var(--color-text-secondary);
        max-width: 620px;
        margin: 0 auto var(--space-xl);
        font-size: 1.1rem;
    }
    .section-dark .section-subtitle {
        color: #aabbcc;
    }

    /* ========== 左侧导航 ========== */
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: var(--sidebar-width);
        height: 100vh;
        background: var(--color-sidebar);
        z-index: 1000;
        display: flex;
        flex-direction: column;
        padding: 0;
        overflow-y: auto;
        transition: transform var(--transition);
    }
    .sidebar-brand {
        padding: var(--space-xl) var(--space-lg) var(--space-lg);
        border-bottom: 1px solid rgba(255,255,255,0.06);
        display: flex;
        align-items: center;
        gap: var(--space-md);
    }
    .sidebar-brand .brand-icon {
        width: 40px;
        height: 40px;
        background: linear-gradient(135deg, var(--color-secondary), #b8942e);
        border-radius: var(--radius-sm);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        color: #0a1628;
        flex-shrink: 0;
    }
    .sidebar-brand .brand-text {
        font-size: 1.15rem;
        font-weight: 700;
        color: #fff;
        letter-spacing: 0.02em;
        line-height: 1.2;
    }
    .sidebar-nav {
        padding: var(--space-md) 0;
        flex: 1;
    }
    .sidebar-nav a {
        display: flex;
        align-items: center;
        gap: var(--space-md);
        padding: var(--space-md) var(--space-lg);
        color: var(--color-sidebar-text);
        font-size: 0.95rem;
        font-weight: 500;
        transition: all var(--transition);
        border-left: 3px solid transparent;
        position: relative;
    }
    .sidebar-nav a i {
        width: 20px;
        text-align: center;
        font-size: 1rem;
        opacity: 0.7;
    }
    .sidebar-nav a:hover {
        color: #fff;
        background: rgba(255,255,255,0.05);
        border-left-color: rgba(212,168,67,0.3);
    }
    .sidebar-nav a.active {
        color: var(--color-sidebar-active);
        background: rgba(212,168,67,0.08);
        border-left-color: var(--color-sidebar-active);
        font-weight: 600;
    }
    .sidebar-nav a.active i {
        opacity: 1;
        color: var(--color-sidebar-active);
    }
    .sidebar-footer {
        padding: var(--space-md) var(--space-lg);
        border-top: 1px solid rgba(255,255,255,0.06);
        font-size: 0.8rem;
        color: rgba(255,255,255,0.3);
        text-align: center;
    }

    /* ========== 移动端汉堡按钮 ========== */
    .mobile-toggle {
        display: none;
        position: fixed;
        top: var(--space-md);
        right: var(--space-md);
        z-index: 1100;
        width: 44px;
        height: 44px;
        background: var(--color-primary);
        color: #fff;
        border-radius: var(--radius-sm);
        align-items: center;
        justify-content: center;
        font-size: 1.3rem;
        box-shadow: var(--shadow-md);
        border: none;
        cursor: pointer;
        transition: background var(--transition);
    }
    .mobile-toggle:hover { background: var(--color-primary-light); }
    .mobile-toggle i { pointer-events: none; }

    /* ========== Hero 首屏 ========== */
    .hero {
        position: relative;
        min-height: 85vh;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: var(--space-2xl) var(--space-lg);
        background: var(--color-primary) url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
        overflow: hidden;
    }
    .hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(10,22,40,0.82) 0%, rgba(10,22,40,0.55) 100%);
        z-index: 1;
    }
    .hero .hero-content {
        position: relative;
        z-index: 2;
        max-width: 800px;
        width: 100%;
    }
    .hero .hero-badge {
        display: inline-flex;
        align-items: center;
        gap: var(--space-sm);
        background: rgba(212,168,67,0.18);
        border: 1px solid rgba(212,168,67,0.25);
        border-radius: 100px;
        padding: var(--space-xs) var(--space-md);
        font-size: 0.85rem;
        color: var(--color-secondary);
        font-weight: 600;
        letter-spacing: 0.04em;
        margin-bottom: var(--space-lg);
        backdrop-filter: blur(4px);
    }
    .hero .hero-badge i { font-size: 0.75rem; }
    .hero h1 {
        font-size: 3.2rem;
        color: #fff;
        margin-bottom: var(--space-md);
        text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    }
    .hero h1 span { color: var(--color-secondary); }
    .hero .hero-desc {
        font-size: 1.2rem;
        color: rgba(255,255,255,0.8);
        max-width: 600px;
        margin: 0 auto var(--space-xl);
        line-height: 1.7;
    }
    .hero .hero-actions {
        display: flex;
        flex-wrap: wrap;
        gap: var(--space-md);
        justify-content: center;
    }

    /* ========== 按钮 ========== */
    .btn {
        display: inline-flex;
        align-items: center;
        gap: var(--space-sm);
        font-weight: 600;
        font-size: 1rem;
        padding: 0.75rem 2rem;
        border-radius: 100px;
        transition: all var(--transition);
        border: 2px solid transparent;
        text-decoration: none;
        cursor: pointer;
        line-height: 1.4;
        white-space: nowrap;
    }
    .btn:focus-visible { outline: 2px solid var(--color-secondary); outline-offset: 3px; }
    .btn-primary {
        background: var(--color-secondary);
        color: #0a1628;
        border-color: var(--color-secondary);
    }
    .btn-primary:hover {
        background: var(--color-secondary-hover);
        border-color: var(--color-secondary-hover);
        color: #0a1628;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(212,168,67,0.35);
    }
    .btn-primary:active { transform: translateY(0); box-shadow: none; }
    .btn-outline {
        background: transparent;
        color: #fff;
        border-color: rgba(255,255,255,0.3);
    }
    .btn-outline:hover {
        background: rgba(255,255,255,0.1);
        border-color: rgba(255,255,255,0.6);
        color: #fff;
        transform: translateY(-2px);
    }
    .btn-outline:active { transform: translateY(0); }
    .btn-accent {
        background: var(--color-accent);
        color: #fff;
        border-color: var(--color-accent);
    }
    .btn-accent:hover {
        background: var(--color-accent-hover);
        border-color: var(--color-accent-hover);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(30,136,229,0.35);
    }
    .btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
    .btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; }

    /* ========== 卡片 ========== */
    .card {
        background: var(--color-card);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
        transition: all var(--transition);
        overflow: hidden;
        border: 1px solid var(--color-border-light);
    }
    .card:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(-4px);
    }
    .card-img {
        width: 100%;
        aspect-ratio: 16 / 10;
        object-fit: cover;
        display: block;
    }
    .card-body {
        padding: var(--space-lg);
    }
    .card-body .card-title {
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: var(--space-sm);
        color: var(--color-text);
    }
    .card-body .card-text {
        font-size: 0.95rem;
        color: var(--color-text-secondary);
        line-height: 1.6;
    }
    .card .card-tag {
        display: inline-block;
        padding: 2px 10px;
        border-radius: 100px;
        font-size: 0.75rem;
        font-weight: 600;
        background: rgba(212,168,67,0.12);
        color: var(--color-secondary);
        margin-bottom: var(--space-sm);
    }
    .card-footer {
        padding: var(--space-md) var(--space-lg);
        border-top: 1px solid var(--color-border-light);
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 0.85rem;
        color: var(--color-text-light);
    }

    /* ========== 徽章 / 标签 ========== */
    .badge {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 2px 12px;
        border-radius: 100px;
        font-size: 0.75rem;
        font-weight: 600;
        line-height: 1.6;
    }
    .badge-gold { background: rgba(212,168,67,0.15); color: var(--color-secondary); }
    .badge-blue { background: rgba(30,136,229,0.12); color: var(--color-accent); }
    .badge-green { background: rgba(46,204,113,0.12); color: var(--color-success); }
    .badge-red { background: rgba(231,76,60,0.12); color: var(--color-danger); }

    /* ========== 网格系统 ========== */
    .grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
    .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
    .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }
    .grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--space-lg); }

    /* ========== 数据 / 统计 ========== */
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-lg);
    }
    .stat-item {
        text-align: center;
        padding: var(--space-xl) var(--space-md);
        background: rgba(255,255,255,0.04);
        border-radius: var(--radius-md);
        border: 1px solid rgba(255,255,255,0.06);
        transition: background var(--transition);
    }
    .stat-item:hover { background: rgba(255,255,255,0.07); }
    .stat-item .stat-number {
        font-size: 2.6rem;
        font-weight: 800;
        color: var(--color-secondary);
        line-height: 1.1;
        margin-bottom: var(--space-xs);
    }
    .stat-item .stat-label {
        font-size: 0.95rem;
        color: rgba(255,255,255,0.6);
        font-weight: 500;
    }

    /* ========== 流程步骤 ========== */
    .steps-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-lg);
        counter-reset: step;
    }
    .step-card {
        text-align: center;
        padding: var(--space-xl) var(--space-md);
        position: relative;
        background: var(--color-card);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
        border: 1px solid var(--color-border-light);
        transition: all var(--transition);
    }
    .step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
    .step-card .step-num {
        width: 48px;
        height: 48px;
        margin: 0 auto var(--space-md);
        background: linear-gradient(135deg, var(--color-secondary), #b8942e);
        color: #0a1628;
        font-size: 1.3rem;
        font-weight: 800;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .step-card h4 { margin-bottom: var(--space-sm); }
    .step-card p { font-size: 0.9rem; color: var(--color-text-secondary); margin: 0; }

    /* ========== FAQ ========== */
    .faq-list {
        max-width: 780px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: var(--space-md);
    }
    .faq-item {
        background: var(--color-card);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
        border: 1px solid var(--color-border-light);
        overflow: hidden;
        transition: box-shadow var(--transition);
    }
    .faq-item:hover { box-shadow: var(--shadow-md); }
    .faq-item summary {
        padding: var(--space-lg) var(--space-xl);
        font-weight: 600;
        font-size: 1.05rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: var(--space-md);
        list-style: none;
        color: var(--color-text);
        transition: color var(--transition);
    }
    .faq-item summary::-webkit-details-marker { display: none; }
    .faq-item summary::before {
        content: '\f059';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        color: var(--color-secondary);
        font-size: 1.1rem;
        flex-shrink: 0;
    }
    .faq-item summary::after {
        content: '\f107';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        margin-left: auto;
        transition: transform var(--transition);
        color: var(--color-text-light);
    }
    .faq-item[open] summary::after { transform: rotate(180deg); }
    .faq-item .faq-answer {
        padding: 0 var(--space-xl) var(--space-lg);
        color: var(--color-text-secondary);
        line-height: 1.7;
        font-size: 0.95rem;
    }

    /* ========== CTA ========== */
    .cta-section {
        text-align: center;
        padding: var(--space-3xl) 0;
        background: linear-gradient(135deg, var(--color-primary) 0%, #13223d 100%);
        position: relative;
        overflow: hidden;
    }
    .cta-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
        opacity: 0.08;
    }
    .cta-section .container { position: relative; z-index: 1; }
    .cta-section h2 { color: #fff; margin-bottom: var(--space-md); }
    .cta-section p { color: rgba(255,255,255,0.7); max-width: 560px; margin: 0 auto var(--space-xl); font-size: 1.1rem; }

    /* ========== 文章 / 资讯列表 ========== */
    .post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: var(--space-lg); }
    .post-card {
        background: var(--color-card);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
        border: 1px solid var(--color-border-light);
        overflow: hidden;
        transition: all var(--transition);
    }
    .post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
    .post-card .post-img {
        width: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        display: block;
    }
    .post-card .post-body { padding: var(--space-lg); }
    .post-card .post-meta {
        display: flex;
        align-items: center;
        gap: var(--space-md);
        font-size: 0.8rem;
        color: var(--color-text-light);
        margin-bottom: var(--space-sm);
    }
    .post-card .post-meta .post-cat {
        background: rgba(212,168,67,0.12);
        color: var(--color-secondary);
        padding: 1px 10px;
        border-radius: 100px;
        font-weight: 600;
    }
    .post-card .post-title {
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: var(--space-sm);
        line-height: 1.35;
    }
    .post-card .post-title a { color: var(--color-text); }
    .post-card .post-title a:hover { color: var(--color-secondary); }
    .post-card .post-excerpt {
        font-size: 0.9rem;
        color: var(--color-text-secondary);
        line-height: 1.6;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* ========== 页脚 ========== */
    .site-footer {
        background: var(--color-footer);
        color: var(--color-footer-text);
        padding: var(--space-2xl) 0 var(--space-lg);
        margin-top: auto;
    }
    .site-footer .footer-grid {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: var(--space-xl);
        margin-bottom: var(--space-xl);
    }
    .site-footer .footer-brand .brand-text {
        font-size: 1.2rem;
        font-weight: 700;
        color: #fff;
        margin-bottom: var(--space-sm);
    }
    .site-footer .footer-brand p {
        font-size: 0.9rem;
        line-height: 1.7;
        max-width: 360px;
    }
    .site-footer h4 {
        color: #fff;
        font-size: 1rem;
        margin-bottom: var(--space-md);
        font-weight: 600;
    }
    .site-footer ul li { margin-bottom: var(--space-sm); }
    .site-footer ul li a {
        color: var(--color-footer-text);
        font-size: 0.9rem;
        transition: color var(--transition);
    }
    .site-footer ul li a:hover { color: var(--color-secondary); }
    .site-footer .footer-bottom {
        border-top: 1px solid rgba(255,255,255,0.06);
        padding-top: var(--space-lg);
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: var(--space-md);
        font-size: 0.85rem;
    }

    /* ========== 响应式 ========== */
    @media (max-width: 1024px) {
        :root { --sidebar-width: 200px; }
        .hero h1 { font-size: 2.6rem; }
        .steps-grid { grid-template-columns: repeat(2, 1fr); }
        .stats-grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 768px) {
        .mobile-toggle { display: flex; }
        .sidebar {
            transform: translateX(-100%);
            width: 280px;
        }
        .sidebar.open { transform: translateX(0); }
        .main-content { margin-left: 0; }
        .hero { min-height: 70vh; padding: var(--space-xl) var(--space-md); }
        .hero h1 { font-size: 2rem; }
        .hero .hero-desc { font-size: 1rem; }
        .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
        .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
        .steps-grid { grid-template-columns: 1fr; }
        .post-list { grid-template-columns: 1fr; }
        .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
        .section { padding: var(--space-xl) 0; }
        .section-title { font-size: 1.6rem; }
        .cta-section { padding: var(--space-2xl) 0; }
        .faq-item summary { padding: var(--space-md); font-size: 0.95rem; }
        .faq-item .faq-answer { padding: 0 var(--space-md) var(--space-md); }
        .stat-item .stat-number { font-size: 2rem; }
        .btn-lg { padding: 0.75rem 1.5rem; font-size: 1rem; }
        .sidebar-brand { padding: var(--space-lg) var(--space-md); }
        .sidebar-nav a { padding: var(--space-md); font-size: 0.9rem; }
    }

    @media (max-width: 520px) {
        .hero h1 { font-size: 1.6rem; }
        .hero .hero-actions { flex-direction: column; align-items: center; }
        .hero .hero-actions .btn { width: 100%; justify-content: center; }
        .stats-grid { grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
        .stat-item { padding: var(--space-md) var(--space-sm); }
        .stat-item .stat-number { font-size: 1.6rem; }
        .site-footer .footer-grid { grid-template-columns: 1fr; }
        .site-footer .footer-bottom { flex-direction: column; text-align: center; }
        .container { padding: 0 var(--space-md); }
        .section { padding: var(--space-lg) 0; }
        .post-card .post-body { padding: var(--space-md); }
    }

    /* ========== 小工具 ========== */
    .text-center { text-align: center; }
    .mt-lg { margin-top: var(--space-lg); }
    .mb-lg { margin-bottom: var(--space-lg); }
    .gap-md { gap: var(--space-md); }
    .flex-center { display: flex; align-items: center; justify-content: center; }
    .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
    .overlay-dark {
        position: relative;
    }
    .overlay-dark::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(10,22,40,0.75) 0%, rgba(10,22,40,0.40) 100%);
        z-index: 1;
        border-radius: inherit;
    }
    .overlay-dark > * { position: relative; z-index: 2; }

    /* ========== 分隔线 ========== */
    .divider {
        width: 60px;
        height: 3px;
        background: var(--color-secondary);
        border-radius: 2px;
        margin: var(--space-md) auto var(--space-lg);
    }

    /* ========== 空状态 ========== */
    .empty-state {
        text-align: center;
        padding: var(--space-2xl) var(--space-lg);
        color: var(--color-text-light);
        font-size: 1rem;
        background: var(--color-card);
        border-radius: var(--radius-md);
        border: 1px dashed var(--color-border);
    }
    .empty-state i { font-size: 2rem; margin-bottom: var(--space-md); opacity: 0.4; }

/* roulang page: category1 */
/* ===== Design Variables ===== */
        :root {
            --primary: #e8b830;
            --primary-dark: #c9a020;
            --primary-light: #f5d860;
            --secondary: #1a1a2e;
            --secondary-light: #2a2a4a;
            --accent: #ff6b35;
            --accent-hover: #e55a2b;
            --bg-dark: #0f0f1a;
            --bg-card: #1a1a30;
            --bg-card-hover: #222240;
            --bg-section: #14142a;
            --text-primary: #f0f0f8;
            --text-secondary: #b8b8d0;
            --text-muted: #8888aa;
            --border-color: #2a2a50;
            --border-light: #3a3a60;
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
            --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
            --shadow-lg: 0 16px 60px rgba(0, 0, 0, 0.5);
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 20px;
            --radius-xl: 28px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
            --sidebar-width: 240px;
            --header-height: 0px;
            --container-max: 1200px;
            --spacing-section: 80px;
            --spacing-block: 40px;
        }

        /* ===== 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(--text-primary);
            background: var(--bg-dark);
            min-height: 100vh;
            display: flex;
        }

        a {
            color: var(--primary);
            text-decoration: none;
            transition: var(--transition);
        }
        a:hover {
            color: var(--primary-light);
        }
        a:focus-visible {
            outline: 2px solid var(--primary);
            outline-offset: 4px;
            border-radius: 4px;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
            border-radius: var(--radius-sm);
        }

        button,
        input,
        textarea,
        select {
            font-family: inherit;
            font-size: inherit;
        }

        button {
            cursor: pointer;
            border: none;
            background: none;
        }

        ul,
        ol {
            list-style: none;
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            line-height: 1.3;
            font-weight: 700;
            color: var(--text-primary);
        }

        /* ===== Container ===== */
        .container {
            width: 100%;
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 24px;
        }

        /* ===== Sidebar Layout ===== */
        .sidebar {
            position: fixed;
            top: 0;
            left: 0;
            width: var(--sidebar-width);
            height: 100vh;
            background: var(--secondary);
            border-right: 1px solid var(--border-color);
            display: flex;
            flex-direction: column;
            z-index: 1000;
            transition: var(--transition);
            overflow-y: auto;
        }

        .sidebar-brand {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 24px 20px 20px;
            border-bottom: 1px solid var(--border-color);
        }

        .sidebar-brand .brand-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            border-radius: var(--radius-md);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: var(--bg-dark);
            flex-shrink: 0;
        }

        .sidebar-brand .brand-text {
            font-size: 18px;
            font-weight: 800;
            color: var(--text-primary);
            letter-spacing: 0.5px;
        }

        .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-sm);
            color: var(--text-secondary);
            font-size: 15px;
            font-weight: 500;
            transition: var(--transition);
        }

        .sidebar-nav a i {
            width: 20px;
            text-align: center;
            font-size: 16px;
            color: var(--text-muted);
            transition: var(--transition);
        }

        .sidebar-nav a:hover {
            background: rgba(232, 184, 48, 0.08);
            color: var(--primary-light);
        }
        .sidebar-nav a:hover i {
            color: var(--primary);
        }

        .sidebar-nav a.active {
            background: rgba(232, 184, 48, 0.12);
            color: var(--primary);
            font-weight: 600;
        }
        .sidebar-nav a.active i {
            color: var(--primary);
        }
        .sidebar-nav a:focus-visible {
            outline: 2px solid var(--primary);
            outline-offset: 2px;
        }

        .sidebar-footer {
            padding: 16px 20px;
            border-top: 1px solid var(--border-color);
            font-size: 12px;
            color: var(--text-muted);
            text-align: center;
        }

        /* ===== Main Content ===== */
        .main-content {
            margin-left: var(--sidebar-width);
            flex: 1;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* ===== Page Header / Banner ===== */
        .page-banner {
            position: relative;
            padding: 80px 0 60px;
            background: linear-gradient(135deg, var(--secondary) 0%, var(--bg-dark) 100%);
            border-bottom: 1px solid var(--border-color);
            overflow: hidden;
        }

        .page-banner::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-2.png') center/cover no-repeat;
            opacity: 0.08;
            pointer-events: none;
        }

        .page-banner .container {
            position: relative;
            z-index: 1;
        }

        .page-banner h1 {
            font-size: 42px;
            font-weight: 800;
            margin-bottom: 16px;
            background: linear-gradient(135deg, var(--primary), #f5d860);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .page-banner p {
            font-size: 18px;
            color: var(--text-secondary);
            max-width: 700px;
            line-height: 1.8;
        }

        .breadcrumb {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            color: var(--text-muted);
            margin-bottom: 20px;
        }
        .breadcrumb a {
            color: var(--text-muted);
        }
        .breadcrumb a:hover {
            color: var(--primary);
        }
        .breadcrumb span {
            color: var(--text-secondary);
        }
        .breadcrumb i {
            font-size: 12px;
            color: var(--text-muted);
        }

        /* ===== Sections ===== */
        .section {
            padding: var(--spacing-section) 0;
        }

        .section-alt {
            background: var(--bg-section);
        }

        .section-header {
            text-align: center;
            margin-bottom: 48px;
        }
        .section-header h2 {
            font-size: 32px;
            font-weight: 700;
            margin-bottom: 12px;
        }
        .section-header p {
            font-size: 16px;
            color: var(--text-secondary);
            max-width: 640px;
            margin: 0 auto;
        }

        .section-header .badge-group {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-bottom: 16px;
            flex-wrap: wrap;
        }

        /* ===== Badge ===== */
        .badge {
            display: inline-block;
            padding: 4px 14px;
            border-radius: 50px;
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            background: rgba(232, 184, 48, 0.15);
            color: var(--primary);
            border: 1px solid rgba(232, 184, 48, 0.25);
        }
        .badge-secondary {
            background: rgba(255, 107, 53, 0.15);
            color: var(--accent);
            border-color: rgba(255, 107, 53, 0.25);
        }
        .badge-ghost {
            background: rgba(255, 255, 255, 0.04);
            color: var(--text-secondary);
            border-color: var(--border-color);
        }

        /* ===== Cards Grid ===== */
        .card-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
        }

        .card {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            border: 1px solid var(--border-color);
            overflow: hidden;
            transition: var(--transition);
        }
        .card:hover {
            border-color: var(--border-light);
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
        }

        .card-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 0;
            display: block;
            background: var(--secondary-light);
        }

        .card-body {
            padding: 24px;
        }
        .card-body h3 {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 8px;
        }
        .card-body h3 a {
            color: var(--text-primary);
        }
        .card-body h3 a:hover {
            color: var(--primary);
        }
        .card-body p {
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.7;
            margin-bottom: 16px;
        }
        .card-meta {
            display: flex;
            align-items: center;
            gap: 16px;
            font-size: 13px;
            color: var(--text-muted);
        }
        .card-meta i {
            margin-right: 4px;
        }
        .card-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 14px;
        }
        .card-tags .badge {
            font-size: 11px;
            padding: 2px 10px;
        }

        /* ===== Featured / List ===== */
        .featured-list {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .featured-item {
            display: flex;
            align-items: flex-start;
            gap: 20px;
            padding: 20px 24px;
            background: var(--bg-card);
            border-radius: var(--radius-md);
            border: 1px solid var(--border-color);
            transition: var(--transition);
        }
        .featured-item:hover {
            border-color: var(--border-light);
            background: var(--bg-card-hover);
            transform: translateX(4px);
        }

        .featured-item .item-index {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(232, 184, 48, 0.12);
            color: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            font-weight: 800;
            flex-shrink: 0;
        }

        .featured-item .item-content {
            flex: 1;
        }
        .featured-item .item-content h4 {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 4px;
        }
        .featured-item .item-content h4 a {
            color: var(--text-primary);
        }
        .featured-item .item-content h4 a:hover {
            color: var(--primary);
        }
        .featured-item .item-content p {
            font-size: 14px;
            color: var(--text-secondary);
            margin-bottom: 0;
        }
        .featured-item .item-tag {
            font-size: 12px;
            color: var(--text-muted);
            white-space: nowrap;
            flex-shrink: 0;
            padding: 4px 12px;
            border-radius: 50px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid var(--border-color);
        }

        /* ===== Guides / Steps ===== */
        .steps-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
        }

        .step-card {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            padding: 32px 24px;
            text-align: center;
            border: 1px solid var(--border-color);
            transition: var(--transition);
            position: relative;
        }
        .step-card:hover {
            border-color: var(--primary);
            transform: translateY(-4px);
            box-shadow: var(--shadow-sm);
        }

        .step-card .step-number {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: var(--bg-dark);
            font-size: 24px;
            font-weight: 800;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 16px;
        }

        .step-card h4 {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 8px;
        }
        .step-card p {
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.7;
        }

        /* ===== FAQ ===== */
        .faq-list {
            max-width: 800px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .faq-item {
            background: var(--bg-card);
            border-radius: var(--radius-sm);
            border: 1px solid var(--border-color);
            overflow: hidden;
            transition: var(--transition);
        }
        .faq-item:hover {
            border-color: var(--border-light);
        }

        .faq-question {
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 18px 24px;
            font-size: 16px;
            font-weight: 600;
            color: var(--text-primary);
            text-align: left;
            background: none;
            transition: var(--transition);
        }
        .faq-question i {
            color: var(--primary);
            transition: var(--transition);
            font-size: 14px;
        }
        .faq-question:hover {
            background: rgba(232, 184, 48, 0.04);
        }
        .faq-question[aria-expanded="true"] i {
            transform: rotate(180deg);
        }

        .faq-answer {
            padding: 0 24px 18px;
            font-size: 15px;
            color: var(--text-secondary);
            line-height: 1.8;
            display: none;
        }
        .faq-answer.open {
            display: block;
        }

        /* ===== CTA ===== */
        .cta-section {
            background: linear-gradient(135deg, var(--secondary) 0%, var(--bg-dark) 100%);
            border-top: 1px solid var(--border-color);
            border-bottom: 1px solid var(--border-color);
            text-align: center;
            padding: 60px 0;
        }

        .cta-section h2 {
            font-size: 30px;
            font-weight: 700;
            margin-bottom: 12px;
        }
        .cta-section p {
            font-size: 16px;
            color: var(--text-secondary);
            max-width: 560px;
            margin: 0 auto 28px;
        }
        .cta-section .btn-group {
            display: flex;
            justify-content: center;
            gap: 16px;
            flex-wrap: wrap;
        }

        /* ===== Buttons ===== */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px 32px;
            border-radius: 50px;
            font-size: 15px;
            font-weight: 600;
            transition: var(--transition);
            border: none;
            cursor: pointer;
            text-decoration: none;
            line-height: 1.4;
        }
        .btn:focus-visible {
            outline: 2px solid var(--primary);
            outline-offset: 4px;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: var(--bg-dark);
        }
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(232, 184, 48, 0.3);
            color: var(--bg-dark);
        }
        .btn-primary:active {
            transform: translateY(0);
        }

        .btn-outline {
            background: transparent;
            color: var(--text-primary);
            border: 1.5px solid var(--border-light);
        }
        .btn-outline:hover {
            border-color: var(--primary);
            color: var(--primary);
            transform: translateY(-2px);
        }
        .btn-outline:active {
            transform: translateY(0);
        }

        .btn-sm {
            padding: 8px 20px;
            font-size: 13px;
        }

        /* ===== Footer (reused from index) ===== */
        .site-footer {
            background: var(--secondary);
            border-top: 1px solid var(--border-color);
            padding: 60px 0 30px;
            margin-top: auto;
        }

        .site-footer .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1.2fr;
            gap: 40px;
            margin-bottom: 40px;
        }
        .site-footer .footer-brand .brand-text {
            font-size: 20px;
            font-weight: 800;
            color: var(--text-primary);
            margin-bottom: 12px;
            display: block;
        }
        .site-footer .footer-brand p {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.8;
            max-width: 320px;
        }
        .site-footer h4 {
            font-size: 15px;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 16px;
        }
        .site-footer ul {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .site-footer ul li {
            font-size: 14px;
            color: var(--text-muted);
        }
        .site-footer ul li a {
            color: var(--text-muted);
        }
        .site-footer ul li a:hover {
            color: var(--primary);
        }
        .site-footer .footer-bottom {
            border-top: 1px solid var(--border-color);
            padding-top: 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 13px;
            color: var(--text-muted);
            flex-wrap: wrap;
            gap: 12px;
        }

        /* ===== Mobile Toggle ===== */
        .sidebar-toggle {
            display: none;
            position: fixed;
            top: 16px;
            left: 16px;
            z-index: 1100;
            background: var(--secondary);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-sm);
            width: 44px;
            height: 44px;
            align-items: center;
            justify-content: center;
            color: var(--text-primary);
            font-size: 20px;
            cursor: pointer;
            transition: var(--transition);
        }
        .sidebar-toggle:hover {
            background: var(--secondary-light);
            border-color: var(--border-light);
        }

        .sidebar-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.6);
            z-index: 999;
            backdrop-filter: blur(4px);
        }

        /* ===== Responsive ===== */
        @media (max-width: 1024px) {
            .card-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .steps-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .site-footer .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 32px;
            }
        }

        @media (max-width: 768px) {
            :root {
                --sidebar-width: 0px;
                --spacing-section: 48px;
            }
            body {
                flex-direction: column;
            }
            .sidebar {
                transform: translateX(-100%);
                width: 280px;
                z-index: 1001;
            }
            .sidebar.open {
                transform: translateX(0);
            }
            .sidebar-overlay.open {
                display: block;
            }
            .main-content {
                margin-left: 0;
            }
            .sidebar-toggle {
                display: flex;
            }
            .page-banner {
                padding: 60px 0 40px;
                padding-top: 80px;
            }
            .page-banner h1 {
                font-size: 28px;
            }
            .page-banner p {
                font-size: 15px;
            }
            .section-header h2 {
                font-size: 24px;
            }
            .card-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            .steps-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }
            .featured-item {
                flex-direction: column;
                gap: 12px;
                padding: 16px 18px;
            }
            .featured-item .item-tag {
                align-self: flex-start;
            }
            .site-footer .footer-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }
            .site-footer .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
            .cta-section h2 {
                font-size: 24px;
            }
            .btn-group {
                flex-direction: column;
                align-items: center;
            }
            .btn {
                width: 100%;
                max-width: 320px;
            }
        }

        @media (max-width: 520px) {
            .container {
                padding: 0 16px;
            }
            .page-banner {
                padding: 48px 0 32px;
                padding-top: 72px;
            }
            .page-banner h1 {
                font-size: 22px;
            }
            .section-header {
                margin-bottom: 32px;
            }
            .section-header h2 {
                font-size: 20px;
            }
            .card-body {
                padding: 18px;
            }
            .card-body h3 {
                font-size: 17px;
            }
            .faq-question {
                font-size: 14px;
                padding: 14px 16px;
            }
            .faq-answer {
                padding: 0 16px 14px;
                font-size: 14px;
            }
            .step-card {
                padding: 24px 18px;
            }
            .step-card .step-number {
                width: 44px;
                height: 44px;
                font-size: 18px;
            }
        }

/* roulang page: article */
/* ===== 设计变量 ===== */
    :root {
        --primary: #0f0e1a;
        --primary-light: #1a1730;
        --primary-mid: #2a2548;
        --accent: #f05454;
        --accent-hover: #d43c3c;
        --accent-glow: rgba(240, 84, 84, 0.25);
        --gold: #f0c674;
        --gold-dim: #b8964a;
        --bg-body: #f0f2f5;
        --bg-card: #ffffff;
        --bg-soft: #f8f9fc;
        --bg-dark: #0f0e1a;
        --text-main: #1a1a2e;
        --text-secondary: #5a5a7a;
        --text-light: #8a8aaa;
        --text-white: #f0f0f0;
        --border-light: #e6e8ee;
        --border-card: #eef0f4;
        --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
        --shadow-md: 0 6px 24px rgba(0,0,0,0.07);
        --shadow-lg: 0 16px 48px rgba(0,0,0,0.10);
        --radius-sm: 6px;
        --radius-md: 12px;
        --radius-lg: 20px;
        --radius-xl: 28px;
        --font-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
        --font-mono: 'SF Mono', 'Fira Code', monospace;
        --sidebar-width: 240px;
        --header-height: 0px;
        --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* ===== 基础 Reset ===== */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
    body {
        font-family: var(--font-base);
        background: var(--bg-body);
        color: var(--text-main);
        line-height: 1.65;
        display: flex;
        min-height: 100vh;
    }
    a { color: var(--accent); text-decoration: none; transition: var(--transition); }
    a:hover { color: var(--accent-hover); }
    a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
    img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }
    button, input, textarea { font-family: inherit; font-size: inherit; }
    ul { list-style: none; }
    h1, h2, h3, h4, h5, h6 { line-height: 1.3; font-weight: 600; color: var(--text-main); }

    /* ===== 容器 ===== */
    .container {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 24px;
    }

    /* ===== 左侧导航 ===== */
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: var(--sidebar-width);
        height: 100vh;
        background: var(--primary);
        display: flex;
        flex-direction: column;
        z-index: 1000;
        border-right: 1px solid rgba(255,255,255,0.04);
        box-shadow: 4px 0 24px rgba(0,0,0,0.3);
        transition: transform var(--transition);
    }
    .sidebar-brand {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 24px 20px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .sidebar-brand .brand-icon {
        width: 36px;
        height: 36px;
        background: var(--accent);
        border-radius: var(--radius-sm);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 18px;
        box-shadow: 0 0 20px var(--accent-glow);
    }
    .sidebar-brand .brand-text {
        font-size: 18px;
        font-weight: 700;
        color: #fff;
        letter-spacing: 0.3px;
        white-space: nowrap;
    }
    .sidebar-nav {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 2px;
        padding: 16px 12px;
        overflow-y: auto;
    }
    .sidebar-nav a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        border-radius: var(--radius-sm);
        color: rgba(255,255,255,0.6);
        font-size: 15px;
        font-weight: 500;
        transition: var(--transition);
        text-decoration: none;
    }
    .sidebar-nav a i { width: 20px; text-align: center; font-size: 16px; }
    .sidebar-nav a:hover {
        background: rgba(255,255,255,0.06);
        color: #fff;
    }
    .sidebar-nav a.active {
        background: var(--accent);
        color: #fff;
        box-shadow: 0 4px 16px var(--accent-glow);
    }
    .sidebar-footer {
        padding: 16px 20px;
        border-top: 1px solid rgba(255,255,255,0.06);
        color: rgba(255,255,255,0.35);
        font-size: 12px;
        text-align: center;
        letter-spacing: 0.3px;
    }

    /* ===== 主内容区 ===== */
    .main-content {
        margin-left: var(--sidebar-width);
        flex: 1;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    /* ===== 文章 Banner ===== */
    .article-banner {
        position: relative;
        padding: 80px 0 60px;
        background: var(--primary) url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
        color: #fff;
        overflow: hidden;
    }
    .article-banner::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(15,14,26,0.88) 0%, rgba(15,14,26,0.60) 70%, rgba(15,14,26,0.40) 100%);
        z-index: 1;
    }
    .article-banner .container {
        position: relative;
        z-index: 2;
    }
    .article-banner .breadcrumb {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        color: rgba(255,255,255,0.55);
        margin-bottom: 20px;
        flex-wrap: wrap;
    }
    .article-banner .breadcrumb a {
        color: rgba(255,255,255,0.55);
        text-decoration: none;
        transition: var(--transition);
    }
    .article-banner .breadcrumb a:hover { color: var(--gold); }
    .article-banner .breadcrumb span { color: rgba(255,255,255,0.35); }
    .article-banner .breadcrumb .current { color: var(--gold); }
    .article-banner .category-tag {
        display: inline-block;
        padding: 4px 14px;
        background: var(--accent);
        color: #fff;
        font-size: 13px;
        font-weight: 600;
        border-radius: 20px;
        margin-bottom: 16px;
        letter-spacing: 0.3px;
        box-shadow: 0 2px 12px var(--accent-glow);
    }
    .article-banner h1 {
        font-size: 32px;
        font-weight: 700;
        color: #fff;
        max-width: 860px;
        line-height: 1.35;
        margin-bottom: 16px;
    }
    .article-banner .meta {
        display: flex;
        align-items: center;
        gap: 20px;
        font-size: 14px;
        color: rgba(255,255,255,0.6);
        flex-wrap: wrap;
    }
    .article-banner .meta i { margin-right: 6px; }
    .article-banner .meta span { display: inline-flex; align-items: center; }

    /* ===== 文章正文区 ===== */
    .article-body {
        padding: 48px 0 64px;
        background: var(--bg-body);
    }
    .article-body .container {
        max-width: 880px;
    }
    .article-card {
        background: var(--bg-card);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
        padding: 40px 48px;
        border: 1px solid var(--border-card);
    }
    .article-content {
        font-size: 16px;
        line-height: 1.85;
        color: var(--text-main);
    }
    .article-content p {
        margin-bottom: 1.2em;
    }
    .article-content h2 {
        font-size: 24px;
        margin: 1.6em 0 0.6em;
        color: var(--primary);
        font-weight: 700;
    }
    .article-content h3 {
        font-size: 20px;
        margin: 1.4em 0 0.5em;
        color: var(--primary-light);
        font-weight: 600;
    }
    .article-content ul, .article-content ol {
        margin: 0 0 1.2em 1.6em;
        padding-left: 0.4em;
    }
    .article-content li {
        margin-bottom: 0.4em;
        list-style: disc;
    }
    .article-content ol li { list-style: decimal; }
    .article-content a { color: var(--accent); border-bottom: 1px solid transparent; }
    .article-content a:hover { border-bottom-color: var(--accent); }
    .article-content blockquote {
        margin: 1.2em 0;
        padding: 16px 24px;
        background: var(--bg-soft);
        border-left: 4px solid var(--accent);
        border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
        color: var(--text-secondary);
        font-style: italic;
    }
    .article-content img {
        margin: 1.2em 0;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
        width: 100%;
        object-fit: cover;
    }
    .article-content code {
        background: #f0f0f5;
        padding: 2px 8px;
        border-radius: 4px;
        font-size: 0.9em;
        font-family: var(--font-mono);
    }
    .article-content pre {
        background: var(--primary);
        color: #e0e0e0;
        padding: 20px 24px;
        border-radius: var(--radius-md);
        overflow-x: auto;
        font-size: 14px;
        line-height: 1.6;
        margin: 1.2em 0;
    }
    .article-content pre code {
        background: transparent;
        padding: 0;
        color: inherit;
    }

    /* 文章底部元信息 */
    .article-footer-meta {
        margin-top: 32px;
        padding-top: 20px;
        border-top: 1px solid var(--border-light);
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px;
    }
    .article-footer-meta .tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    .article-footer-meta .tags a {
        display: inline-block;
        padding: 4px 14px;
        background: var(--bg-soft);
        border-radius: 20px;
        font-size: 13px;
        color: var(--text-secondary);
        border: 1px solid var(--border-light);
        transition: var(--transition);
    }
    .article-footer-meta .tags a:hover {
        background: var(--accent);
        color: #fff;
        border-color: var(--accent);
    }
    .article-footer-meta .share {
        display: flex;
        gap: 10px;
    }
    .article-footer-meta .share a {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--bg-soft);
        color: var(--text-secondary);
        border: 1px solid var(--border-light);
        transition: var(--transition);
        font-size: 15px;
    }
    .article-footer-meta .share a:hover {
        background: var(--accent);
        color: #fff;
        border-color: var(--accent);
    }

    /* 错误提示 */
    .not-found-box {
        text-align: center;
        padding: 60px 20px;
    }
    .not-found-box .icon {
        font-size: 56px;
        color: var(--text-light);
        margin-bottom: 16px;
    }
    .not-found-box h2 {
        font-size: 24px;
        margin-bottom: 12px;
        color: var(--text-main);
    }
    .not-found-box p {
        color: var(--text-secondary);
        margin-bottom: 24px;
        font-size: 16px;
    }
    .not-found-box .btn-home {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 28px;
        background: var(--accent);
        color: #fff;
        border-radius: var(--radius-sm);
        font-weight: 600;
        transition: var(--transition);
    }
    .not-found-box .btn-home:hover {
        background: var(--accent-hover);
        transform: translateY(-2px);
        box-shadow: 0 8px 24px var(--accent-glow);
    }

    /* ===== 相关推荐 ===== */
    .related-section {
        padding: 48px 0;
        background: var(--bg-soft);
    }
    .related-section .section-title {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 8px;
        color: var(--text-main);
    }
    .related-section .section-sub {
        color: var(--text-secondary);
        font-size: 15px;
        margin-bottom: 32px;
    }
    .related-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    .related-card {
        background: var(--bg-card);
        border-radius: var(--radius-md);
        overflow: hidden;
        box-shadow: var(--shadow-sm);
        border: 1px solid var(--border-card);
        transition: var(--transition);
    }
    .related-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
    }
    .related-card .card-img {
        height: 160px;
        background: var(--primary-mid) url('/assets/images/coverpic/cover-2.png') center center / cover no-repeat;
        position: relative;
    }
    .related-card .card-img .tag {
        position: absolute;
        top: 12px;
        left: 12px;
        background: var(--accent);
        color: #fff;
        font-size: 12px;
        font-weight: 600;
        padding: 2px 12px;
        border-radius: 12px;
        box-shadow: 0 2px 8px var(--accent-glow);
    }
    .related-card:nth-child(2) .card-img { background-image: url('/assets/images/coverpic/cover-3.png'); }
    .related-card:nth-child(3) .card-img { background-image: url('/assets/images/coverpic/cover-4.png'); }
    .related-card .card-body {
        padding: 18px 20px 20px;
    }
    .related-card .card-body h3 {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 6px;
        color: var(--text-main);
    }
    .related-card .card-body p {
        font-size: 14px;
        color: var(--text-secondary);
        line-height: 1.55;
        margin-bottom: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .related-card .card-body .meta {
        font-size: 12px;
        color: var(--text-light);
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .related-card .card-body .meta i { margin-right: 4px; }

    /* ===== CTA ===== */
    .cta-section {
        padding: 56px 0;
        background: var(--primary) url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
        position: relative;
        color: #fff;
        text-align: center;
    }
    .cta-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(15,14,26,0.85) 0%, rgba(15,14,26,0.65) 100%);
        z-index: 1;
    }
    .cta-section .container { position: relative; z-index: 2; }
    .cta-section h2 {
        font-size: 28px;
        font-weight: 700;
        color: #fff;
        margin-bottom: 12px;
    }
    .cta-section p {
        font-size: 16px;
        color: rgba(255,255,255,0.7);
        max-width: 600px;
        margin: 0 auto 28px;
    }
    .cta-section .btn-cta {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 14px 36px;
        background: var(--accent);
        color: #fff;
        font-size: 16px;
        font-weight: 600;
        border-radius: var(--radius-sm);
        border: none;
        cursor: pointer;
        transition: var(--transition);
        text-decoration: none;
    }
    .cta-section .btn-cta:hover {
        background: var(--accent-hover);
        transform: translateY(-2px);
        box-shadow: 0 8px 28px var(--accent-glow);
        color: #fff;
    }
    .cta-section .btn-cta i { font-size: 18px; }

    /* ===== FAQ ===== */
    .faq-section {
        padding: 48px 0 64px;
        background: var(--bg-body);
    }
    .faq-section .section-title {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 8px;
        text-align: center;
    }
    .faq-section .section-sub {
        text-align: center;
        color: var(--text-secondary);
        font-size: 15px;
        margin-bottom: 36px;
    }
    .faq-grid {
        max-width: 800px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .faq-item {
        background: var(--bg-card);
        border-radius: var(--radius-md);
        border: 1px solid var(--border-card);
        box-shadow: var(--shadow-sm);
        overflow: hidden;
        transition: var(--transition);
    }
    .faq-item:hover { box-shadow: var(--shadow-md); }
    .faq-question {
        padding: 18px 24px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        font-weight: 600;
        font-size: 16px;
        color: var(--text-main);
        background: transparent;
        border: none;
        width: 100%;
        text-align: left;
        font-family: var(--font-base);
        transition: var(--transition);
        gap: 12px;
    }
    .faq-question i { color: var(--accent); font-size: 14px; transition: var(--transition); flex-shrink: 0; }
    .faq-item.open .faq-question i { transform: rotate(180deg); }
    .faq-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, padding 0.3s ease;
        padding: 0 24px;
        color: var(--text-secondary);
        font-size: 15px;
        line-height: 1.7;
    }
    .faq-item.open .faq-answer {
        max-height: 300px;
        padding: 0 24px 20px;
    }

    /* ===== 页脚 ===== */
    .site-footer {
        background: var(--primary);
        color: rgba(255,255,255,0.7);
        padding: 48px 0 0;
        margin-top: auto;
    }
    .site-footer .footer-grid {
        display: grid;
        grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
        gap: 32px;
        padding-bottom: 32px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .site-footer .footer-brand .brand-text {
        font-size: 20px;
        font-weight: 700;
        color: #fff;
        margin-bottom: 12px;
    }
    .site-footer .footer-brand p {
        font-size: 14px;
        line-height: 1.7;
        color: rgba(255,255,255,0.55);
    }
    .site-footer h4 {
        font-size: 15px;
        font-weight: 600;
        color: #fff;
        margin-bottom: 16px;
    }
    .site-footer ul li {
        margin-bottom: 10px;
        font-size: 14px;
    }
    .site-footer ul li a {
        color: rgba(255,255,255,0.55);
        transition: var(--transition);
    }
    .site-footer ul li a:hover { color: var(--gold); }
    .site-footer .footer-bottom {
        padding: 20px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px;
        font-size: 13px;
        color: rgba(255,255,255,0.35);
    }

    /* ===== 移动端菜单按钮 ===== */
    .mobile-toggle {
        display: none;
        position: fixed;
        top: 16px;
        left: 16px;
        z-index: 1100;
        width: 42px;
        height: 42px;
        background: var(--primary);
        color: #fff;
        border: none;
        border-radius: var(--radius-sm);
        font-size: 20px;
        cursor: pointer;
        box-shadow: var(--shadow-md);
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }
    .mobile-toggle:hover { background: var(--primary-light); }

    /* ===== 响应式 ===== */
    @media (max-width: 1024px) {
        .related-grid { grid-template-columns: repeat(2, 1fr); }
        .site-footer .footer-grid {
            grid-template-columns: 1fr 1fr;
        }
        .article-banner h1 { font-size: 28px; }
    }

    @media (max-width: 768px) {
        body { flex-direction: column; }
        .sidebar {
            transform: translateX(-100%);
            width: 260px;
        }
        .sidebar.open { transform: translateX(0); }
        .main-content { margin-left: 0; }
        .mobile-toggle { display: flex; }
        .article-banner { padding: 60px 0 40px; }
        .article-banner h1 { font-size: 24px; }
        .article-card { padding: 24px 20px; }
        .related-grid { grid-template-columns: 1fr; }
        .site-footer .footer-grid { grid-template-columns: 1fr; gap: 24px; }
        .site-footer .footer-bottom { flex-direction: column; text-align: center; }
        .article-footer-meta { flex-direction: column; align-items: flex-start; }
        .article-content { font-size: 15px; }
        .article-content h2 { font-size: 20px; }
        .article-content h3 { font-size: 18px; }
    }

    @media (max-width: 520px) {
        .container { padding: 0 16px; }
        .article-banner { padding: 48px 0 32px; }
        .article-banner h1 { font-size: 20px; }
        .article-card { padding: 16px 14px; border-radius: var(--radius-sm); }
        .article-content { font-size: 14px; }
        .cta-section h2 { font-size: 22px; }
        .cta-section .btn-cta { padding: 12px 24px; font-size: 14px; }
        .faq-question { font-size: 14px; padding: 14px 16px; }
        .related-card .card-img { height: 140px; }
        .not-found-box .icon { font-size: 40px; }
    }

    /* ===== 遮罩 ===== */
    .sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 999;
    }
    .sidebar-overlay.show { display: block; }

    @media (min-width: 769px) {
        .sidebar-overlay { display: none !important; }
    }
