/* roulang page: index */
/* ===== 设计变量 ===== */
        :root {
            --primary: #1a4d8c;
            --primary-light: #2a6fc9;
            --primary-dark: #0f2d52;
            --accent: #f59e0b;
            --accent-light: #fbbf24;
            --bg: #f0f4f8;
            --bg-card: #ffffff;
            --bg-dark: #0f1b2d;
            --text: #1a2332;
            --text-light: #5a6a7a;
            --text-white: #ffffff;
            --border: #dce4ec;
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
            --shadow-md: 0 6px 20px rgba(0,0,0,0.08);
            --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
            --radius-sm: 8px;
            --radius-md: 14px;
            --radius-lg: 24px;
            --nav-width: 240px;
            --header-h: 0px;
            --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            --transition: 0.25s ease;
        }
        /* ===== Reset / Base ===== */
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; font-size: 16px; }
        body {
            font-family: var(--font);
            background: var(--bg);
            color: var(--text);
            line-height: 1.7;
            display: flex;
            min-height: 100vh;
        }
        a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
        a:hover { color: var(--primary-light); }
        img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }
        button, input, textarea { font-family: inherit; font-size: 1rem; }
        ul { list-style: none; }
        /* ===== 左侧导航 ===== */
        .side-nav {
            position: fixed; top: 0; left: 0; width: var(--nav-width); height: 100vh;
            background: var(--bg-dark); color: var(--text-white); z-index: 1000;
            display: flex; flex-direction: column; padding: 0 0 1.5rem 0;
            overflow-y: auto; transition: transform var(--transition);
            box-shadow: 2px 0 20px rgba(0,0,0,0.2);
        }
        .side-nav .brand {
            display: flex; align-items: center; gap: 0.6rem;
            padding: 1.5rem 1.2rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.08);
            font-size: 1.15rem; font-weight: 700; letter-spacing: 0.3px;
            color: var(--text-white);
        }
        .side-nav .brand i { font-size: 1.8rem; color: var(--accent); }
        .side-nav .brand span { line-height: 1.3; }
        .side-nav .nav-section { padding: 0.8rem 1.2rem 0.3rem; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.3); font-weight: 600; }
        .side-nav .nav-links { flex: 1; padding: 0.3rem 0.8rem; }
        .side-nav .nav-links li { margin: 2px 0; }
        .side-nav .nav-links a {
            display: flex; align-items: center; gap: 0.8rem;
            padding: 0.7rem 0.8rem; border-radius: var(--radius-sm);
            color: rgba(255,255,255,0.7); font-weight: 500; font-size: 0.92rem;
            transition: all var(--transition);
        }
        .side-nav .nav-links a i { width: 1.3rem; font-size: 1rem; text-align: center; }
        .side-nav .nav-links a:hover { background: rgba(255,255,255,0.08); color: #fff; }
        .side-nav .nav-links a.active { background: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(26,77,140,0.3); }
        .side-nav .nav-footer { padding: 1rem 1.2rem; border-top: 1px solid rgba(255,255,255,0.06); font-size: 0.75rem; color: rgba(255,255,255,0.3); text-align: center; }
        /* ===== 移动端菜单切换 ===== */
        .menu-toggle { display: none; position: fixed; top: 0.8rem; left: 0.8rem; z-index: 1100; background: var(--bg-dark); color: #fff; border: none; padding: 0.5rem 0.7rem; border-radius: var(--radius-sm); font-size: 1.4rem; cursor: pointer; box-shadow: var(--shadow-md); }
        .nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 999; }
        /* ===== 主内容区 ===== */
        .main-wrap { margin-left: var(--nav-width); flex: 1; min-height: 100vh; display: flex; flex-direction: column; }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; width: 100%; }
        /* ===== 通用板块 ===== */
        .section { padding: 4.5rem 0; }
        .section-title { font-size: 2rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--text); letter-spacing: -0.3px; }
        .section-sub { font-size: 1.05rem; color: var(--text-light); max-width: 680px; margin-bottom: 2.5rem; line-height: 1.6; }
        .text-center { text-align: center; }
        .text-center .section-sub { margin-left: auto; margin-right: auto; }
        /* ===== Hero ===== */
        .hero {
            position: relative; padding: 6rem 0 5rem; min-height: 520px;
            background: linear-gradient(135deg, var(--bg-dark) 0%, #1a2d4a 60%, #2a4a6a 100%);
            display: flex; align-items: center; overflow: hidden;
        }
        .hero::before {
            content: ''; position: absolute; inset: 0;
            background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
            opacity: 0.2; mix-blend-mode: overlay;
        }
        .hero .container { position: relative; z-index: 2; }
        .hero h1 { font-size: 3rem; font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 1.2rem; letter-spacing: -0.5px; }
        .hero h1 span { color: var(--accent); }
        .hero p { font-size: 1.15rem; color: rgba(255,255,255,0.75); max-width: 600px; margin-bottom: 2rem; line-height: 1.7; }
        .hero .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
        .hero .btn-primary, .hero .btn-outline { padding: 0.9rem 2.2rem; border-radius: 60px; font-weight: 600; font-size: 1rem; transition: all var(--transition); cursor: pointer; display: inline-flex; align-items: center; gap: 0.6rem; }
        .hero .btn-primary { background: var(--accent); color: #1a2332; border: none; box-shadow: 0 6px 24px rgba(245,158,11,0.35); }
        .hero .btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(245,158,11,0.4); }
        .hero .btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.35); }
        .hero .btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }
        /* ===== 卡片网格 ===== */
        .card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.8rem; }
        .card {
            background: var(--bg-card); border-radius: var(--radius-md); overflow: hidden;
            box-shadow: var(--shadow-sm); transition: all var(--transition);
            border: 1px solid var(--border);
        }
        .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
        .card .card-img { width: 100%; height: 180px; object-fit: cover; border-radius: 0; }
        .card .card-body { padding: 1.5rem; }
        .card .card-body h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5rem; }
        .card .card-body p { font-size: 0.92rem; color: var(--text-light); line-height: 1.6; }
        .card .card-body .card-tag { display: inline-block; padding: 0.2rem 0.8rem; border-radius: 60px; font-size: 0.75rem; font-weight: 500; background: #eef2f7; color: var(--text-light); margin-bottom: 0.6rem; }
        /* ===== 特色图标块 ===== */
        .feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 2rem; }
        .feature-item { text-align: center; padding: 2rem 1.2rem; background: var(--bg-card); border-radius: var(--radius-md); border: 1px solid var(--border); transition: all var(--transition); }
        .feature-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
        .feature-item .icon { width: 64px; height: 64px; margin: 0 auto 1rem; background: linear-gradient(135deg, var(--primary-light), var(--primary)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: #fff; }
        .feature-item h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.4rem; }
        .feature-item p { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; }
        /* ===== 数据/统计 ===== */
        .stats-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1.5rem; }
        .stat-card { background: var(--bg-card); border-radius: var(--radius-md); padding: 2rem 1.2rem; text-align: center; border: 1px solid var(--border); }
        .stat-card .num { font-size: 2.4rem; font-weight: 800; color: var(--primary); line-height: 1.2; }
        .stat-card .label { font-size: 0.88rem; color: var(--text-light); margin-top: 0.3rem; }
        /* ===== 列表 ===== */
        .post-list { display: flex; flex-direction: column; gap: 1rem; }
        .post-item { display: flex; gap: 1.2rem; align-items: flex-start; background: var(--bg-card); padding: 1.2rem 1.5rem; border-radius: var(--radius-md); border: 1px solid var(--border); transition: all var(--transition); }
        .post-item:hover { box-shadow: var(--shadow-sm); border-color: var(--primary-light); }
        .post-item .post-num { font-size: 1.3rem; font-weight: 700; color: var(--primary-light); min-width: 2rem; opacity: 0.5; }
        .post-item .post-info { flex: 1; }
        .post-item .post-info h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.2rem; }
        .post-item .post-info h4 a { color: var(--text); }
        .post-item .post-info h4 a:hover { color: var(--primary); }
        .post-item .post-info .meta { font-size: 0.82rem; color: var(--text-light); display: flex; gap: 1rem; }
        /* ===== FAQ ===== */
        .faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.8rem; }
        .faq-item { background: var(--bg-card); border-radius: var(--radius-md); border: 1px solid var(--border); overflow: hidden; }
        .faq-item .faq-q { padding: 1.2rem 1.5rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background var(--transition); font-size: 1rem; }
        .faq-item .faq-q:hover { background: #f7f9fc; }
        .faq-item .faq-q i { transition: transform var(--transition); color: var(--text-light); }
        .faq-item.active .faq-q i { transform: rotate(180deg); }
        .faq-item .faq-a { padding: 0 1.5rem 1.2rem; color: var(--text-light); line-height: 1.7; display: none; font-size: 0.95rem; }
        .faq-item.active .faq-a { display: block; }
        /* ===== CTA ===== */
        .cta-section { background: linear-gradient(135deg, var(--bg-dark), #1a2d4a); padding: 4rem 0; text-align: center; }
        .cta-section h2 { font-size: 2.2rem; color: #fff; font-weight: 700; margin-bottom: 0.8rem; }
        .cta-section p { color: rgba(255,255,255,0.7); max-width: 580px; margin: 0 auto 1.8rem; font-size: 1.05rem; }
        .cta-section .btn-cta { display: inline-flex; align-items: center; gap: 0.6rem; padding: 1rem 2.8rem; border-radius: 60px; background: var(--accent); color: #1a2332; font-weight: 700; font-size: 1.05rem; border: none; cursor: pointer; transition: all var(--transition); box-shadow: 0 6px 24px rgba(245,158,11,0.3); }
        .cta-section .btn-cta:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(245,158,11,0.4); background: var(--accent-light); }
        /* ===== 页脚 ===== */
        .footer { background: var(--bg-dark); color: rgba(255,255,255,0.6); padding: 3rem 0 1.8rem; }
        .footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
        .footer h4 { color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: 0.8rem; }
        .footer p, .footer li { font-size: 0.88rem; line-height: 1.8; }
        .footer a { color: rgba(255,255,255,0.5); }
        .footer a:hover { color: var(--accent); }
        .footer .footer-brand { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
        .footer .footer-bottom { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1.5rem; margin-top: 1.5rem; text-align: center; font-size: 0.82rem; }
        /* ===== 按钮通用 ===== */
        .btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1.6rem; border-radius: 60px; font-weight: 600; font-size: 0.92rem; border: none; cursor: pointer; transition: all var(--transition); }
        .btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(26,77,140,0.25); }
        .btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,77,140,0.3); }
        .btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
        .btn-outline:hover { background: var(--primary); color: #fff; }
        /* ===== 标签 ===== */
        .tag { display: inline-block; padding: 0.2rem 0.9rem; border-radius: 60px; font-size: 0.78rem; font-weight: 500; background: #eef2f7; color: var(--text-light); }
        .tag-accent { background: rgba(245,158,11,0.12); color: #b45309; }
        .tag-primary { background: rgba(26,77,140,0.1); color: var(--primary); }
        /* ===== 响应式 ===== */
        @media (max-width: 1024px) {
            .hero h1 { font-size: 2.4rem; }
            .container { padding: 0 1.5rem; }
            .footer .container { grid-template-columns: 1fr 1fr; }
        }
        @media (max-width: 768px) {
            .side-nav { transform: translateX(-100%); }
            .side-nav.open { transform: translateX(0); }
            .menu-toggle { display: block; }
            .nav-overlay.open { display: block; }
            .main-wrap { margin-left: 0; padding-top: 3.5rem; }
            .hero { padding: 3.5rem 0 3rem; min-height: auto; }
            .hero h1 { font-size: 1.8rem; }
            .hero p { font-size: 1rem; }
            .section-title { font-size: 1.5rem; }
            .section { padding: 2.8rem 0; }
            .card-grid { grid-template-columns: 1fr; }
            .feature-grid { grid-template-columns: 1fr 1fr; }
            .stats-row { grid-template-columns: 1fr 1fr; }
            .footer .container { grid-template-columns: 1fr; }
            .post-item { flex-direction: column; }
            .post-item .post-num { display: none; }
        }
        @media (max-width: 520px) {
            .feature-grid { grid-template-columns: 1fr; }
            .stats-row { grid-template-columns: 1fr; }
            .hero .hero-actions { flex-direction: column; }
            .hero .btn-primary, .hero .btn-outline { width: 100%; justify-content: center; }
            .container { padding: 0 1.2rem; }
        }
        /* ===== 过渡与辅助 ===== */
        .gap-2 { gap: 0.8rem; }
        .mt-2 { margin-top: 1.2rem; }
        .mb-1 { margin-bottom: 0.6rem; }
        .flex-center { display: flex; align-items: center; justify-content: center; }
        .text-muted { color: var(--text-light); }
        .bg-white { background: var(--bg-card); }
        .rounded { border-radius: var(--radius-md); }
        .shadow { box-shadow: var(--shadow-sm); }
        .no-data { text-align: center; padding: 2.5rem 1rem; color: var(--text-light); font-size: 1rem; background: var(--bg-card); border-radius: var(--radius-md); border: 1px dashed var(--border); }

/* roulang page: category1 */
/* ===== 设计变量 ===== */
        :root {
            --primary: #7c3aed;
            --primary-light: #a78bfa;
            --primary-dark: #5b21b6;
            --primary-bg: #f5f0ff;
            --accent: #f59e0b;
            --accent-light: #fbbf24;
            --accent-dark: #d97706;
            --bg: #f9fafb;
            --bg-white: #ffffff;
            --bg-card: #ffffff;
            --bg-dark: #1e1b4b;
            --text: #1f2937;
            --text-light: #6b7280;
            --text-lighter: #9ca3af;
            --text-white: #f9fafb;
            --text-muted: #9ca3af;
            --border: #e5e7eb;
            --border-light: #f3f4f6;
            --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
            --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
            --shadow-hover: 0 16px 48px rgba(124, 58, 237, 0.18);
            --radius: 16px;
            --radius-sm: 8px;
            --radius-lg: 24px;
            --radius-xl: 32px;
            --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
            --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
            --container-max: 1280px;
            --sidebar-width: 240px;
            --header-height: 0px;
            --gap: 32px;
            --gap-sm: 16px;
        }

        /* ===== 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);
            background: var(--bg);
            display: flex;
            min-height: 100vh;
        }
        a {
            color: var(--primary);
            text-decoration: none;
            transition: color var(--transition);
        }
        a:hover {
            color: var(--primary-dark);
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
            border-radius: var(--radius-sm);
        }
        button,
        input,
        textarea {
            font-family: inherit;
            font-size: inherit;
            border: none;
            outline: none;
        }
        ul {
            list-style: none;
        }
        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            line-height: 1.3;
            font-weight: 700;
            color: var(--text);
        }
        h1 {
            font-size: 2.8rem;
            letter-spacing: -0.02em;
        }
        h2 {
            font-size: 2rem;
            letter-spacing: -0.01em;
        }
        h3 {
            font-size: 1.35rem;
        }
        h4 {
            font-size: 1.1rem;
        }
        p {
            margin-bottom: 1rem;
            color: var(--text-light);
        }
        .container {
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 var(--gap);
        }

        /* ===== 左侧导航 ===== */
        .side-nav {
            position: fixed;
            top: 0;
            left: 0;
            width: var(--sidebar-width);
            height: 100vh;
            background: var(--bg-dark);
            color: var(--text-white);
            display: flex;
            flex-direction: column;
            padding: 24px 0;
            z-index: 1000;
            transition: transform var(--transition);
            overflow-y: auto;
        }
        .side-nav .brand {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 0 24px 20px;
            font-size: 1.2rem;
            font-weight: 700;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            color: #fff;
        }
        .side-nav .brand i {
            font-size: 1.6rem;
            color: var(--accent);
        }
        .side-nav .nav-section {
            padding: 20px 24px 8px;
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: rgba(255, 255, 255, 0.35);
            font-weight: 600;
        }
        .side-nav .nav-links {
            flex: 1;
            padding: 4px 12px;
        }
        .side-nav .nav-links li {
            margin-bottom: 2px;
        }
        .side-nav .nav-links a {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 14px;
            border-radius: var(--radius-sm);
            color: rgba(255, 255, 255, 0.7);
            font-weight: 500;
            font-size: 0.92rem;
            transition: all var(--transition);
        }
        .side-nav .nav-links a i {
            width: 20px;
            text-align: center;
            font-size: 1rem;
            color: rgba(255, 255, 255, 0.4);
            transition: color var(--transition);
        }
        .side-nav .nav-links a:hover {
            background: rgba(255, 255, 255, 0.08);
            color: #fff;
        }
        .side-nav .nav-links a:hover i {
            color: var(--accent);
        }
        .side-nav .nav-links a.active {
            background: rgba(124, 58, 237, 0.25);
            color: #fff;
            box-shadow: inset 3px 0 0 var(--accent);
        }
        .side-nav .nav-links a.active i {
            color: var(--accent);
        }
        .side-nav .nav-footer {
            padding: 16px 24px 0;
            font-size: 0.72rem;
            color: rgba(255, 255, 255, 0.3);
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            margin-top: 8px;
        }

        /* ===== 主内容区 ===== */
        .main-content {
            margin-left: var(--sidebar-width);
            flex: 1;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* ===== Banner / Hero ===== */
        .category-banner {
            position: relative;
            background: linear-gradient(135deg, var(--bg-dark) 0%, #2d1b69 50%, var(--primary-dark) 100%);
            padding: 80px 0 72px;
            overflow: hidden;
            min-height: 320px;
            display: flex;
            align-items: center;
        }
        .category-banner::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-2.png') center/cover no-repeat;
            opacity: 0.2;
            mix-blend-mode: overlay;
        }
        .category-banner::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 80px;
            background: linear-gradient(to top, var(--bg), transparent);
        }
        .category-banner .container {
            position: relative;
            z-index: 2;
            text-align: center;
        }
        .category-banner h1 {
            color: #fff;
            font-size: 3rem;
            margin-bottom: 12px;
            text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
        }
        .category-banner h1 i {
            color: var(--accent);
            margin-right: 12px;
        }
        .category-banner p {
            color: rgba(255, 255, 255, 0.8);
            font-size: 1.15rem;
            max-width: 700px;
            margin: 0 auto 24px;
            line-height: 1.8;
        }
        .category-banner .banner-tags {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px;
        }
        .category-banner .banner-tags span {
            background: rgba(255, 255, 255, 0.12);
            backdrop-filter: blur(6px);
            padding: 6px 18px;
            border-radius: 40px;
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.9);
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        /* ===== 板块通用 ===== */
        .section {
            padding: 72px 0;
        }
        .section-alt {
            background: var(--bg-white);
        }
        .section-header {
            text-align: center;
            margin-bottom: 48px;
        }
        .section-header h2 {
            margin-bottom: 12px;
        }
        .section-header p {
            max-width: 600px;
            margin: 0 auto;
            font-size: 1.05rem;
        }
        .section-header .badge-group {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 16px;
        }

        /* ===== 卡片网格 ===== */
        .card-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: var(--gap);
        }
        .card-grid.cols-3 {
            grid-template-columns: repeat(3, 1fr);
        }
        .card-grid.cols-4 {
            grid-template-columns: repeat(4, 1fr);
        }

        /* ===== 指南卡片 ===== */
        .guide-card {
            background: var(--bg-card);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border);
            transition: all var(--transition);
            display: flex;
            flex-direction: column;
        }
        .guide-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-hover);
            border-color: var(--primary-light);
        }
        .guide-card .card-img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 0;
        }
        .guide-card .card-body {
            padding: 20px 22px 22px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .guide-card .card-tag {
            display: inline-block;
            background: var(--primary-bg);
            color: var(--primary);
            font-size: 0.75rem;
            font-weight: 600;
            padding: 2px 12px;
            border-radius: 40px;
            margin-bottom: 10px;
            align-self: flex-start;
        }
        .guide-card .card-tag.hot {
            background: #fef3c7;
            color: var(--accent-dark);
        }
        .guide-card .card-tag.new {
            background: #d1fae5;
            color: #059669;
        }
        .guide-card h3 {
            font-size: 1.1rem;
            margin-bottom: 8px;
            line-height: 1.4;
        }
        .guide-card h3 a {
            color: var(--text);
        }
        .guide-card h3 a:hover {
            color: var(--primary);
        }
        .guide-card p {
            font-size: 0.9rem;
            color: var(--text-light);
            margin-bottom: 14px;
            flex: 1;
        }
        .guide-card .card-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.82rem;
            color: var(--text-lighter);
            border-top: 1px solid var(--border-light);
            padding-top: 14px;
        }
        .guide-card .card-meta i {
            margin-right: 4px;
        }

        /* ===== 分类标签云 ===== */
        .tag-cloud {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 12px;
            margin-top: 8px;
        }
        .tag-cloud a {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 22px;
            border-radius: 40px;
            background: var(--bg-white);
            border: 1px solid var(--border);
            color: var(--text-light);
            font-weight: 500;
            font-size: 0.9rem;
            transition: all var(--transition);
            box-shadow: var(--shadow-sm);
        }
        .tag-cloud a:hover {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
            transform: translateY(-2px);
            box-shadow: var(--shadow);
        }
        .tag-cloud a i {
            font-size: 0.85rem;
        }

        /* ===== 数据统计 ===== */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: var(--gap);
        }
        .stat-item {
            text-align: center;
            padding: 32px 16px;
            background: var(--bg-white);
            border-radius: var(--radius);
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border);
            transition: all var(--transition);
        }
        .stat-item:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow);
        }
        .stat-item .num {
            font-size: 2.6rem;
            font-weight: 800;
            color: var(--primary);
            line-height: 1.2;
            margin-bottom: 4px;
        }
        .stat-item .num i {
            font-size: 2rem;
            color: var(--accent);
            margin-right: 6px;
        }
        .stat-item .label {
            font-size: 0.92rem;
            color: var(--text-light);
            font-weight: 500;
        }

        /* ===== FAQ ===== */
        .faq-list {
            max-width: 800px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .faq-item {
            background: var(--bg-white);
            border-radius: var(--radius-sm);
            border: 1px solid var(--border);
            overflow: hidden;
            transition: all var(--transition);
        }
        .faq-item:hover {
            border-color: var(--primary-light);
        }
        .faq-item summary {
            padding: 18px 24px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 12px;
            color: var(--text);
            transition: color var(--transition);
            list-style: none;
        }
        .faq-item summary::-webkit-details-marker {
            display: none;
        }
        .faq-item summary::marker {
            display: none;
        }
        .faq-item summary i {
            color: var(--primary);
            font-size: 1.1rem;
            transition: transform var(--transition);
        }
        .faq-item[open] summary i {
            transform: rotate(90deg);
        }
        .faq-item .faq-answer {
            padding: 0 24px 20px;
            color: var(--text-light);
            font-size: 0.95rem;
            line-height: 1.8;
            border-top: 1px solid var(--border-light);
            margin-top: 0;
            padding-top: 16px;
        }

        /* ===== CTA ===== */
        .cta-section {
            background: linear-gradient(135deg, var(--primary-dark), var(--bg-dark));
            padding: 72px 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-3.png') center/cover no-repeat;
            opacity: 0.1;
            mix-blend-mode: overlay;
        }
        .cta-section .container {
            position: relative;
            z-index: 2;
        }
        .cta-section h2 {
            color: #fff;
            font-size: 2.2rem;
            margin-bottom: 12px;
        }
        .cta-section p {
            color: rgba(255, 255, 255, 0.8);
            max-width: 600px;
            margin: 0 auto 28px;
            font-size: 1.05rem;
        }
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 14px 36px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1rem;
            transition: all var(--transition);
            cursor: pointer;
            border: none;
            background: var(--accent);
            color: #1f2937;
            box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
        }
        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 28px rgba(245, 158, 11, 0.45);
            background: var(--accent-light);
            color: #1f2937;
        }
        .btn-outline {
            background: transparent;
            color: #fff;
            border: 2px solid rgba(255, 255, 255, 0.25);
            box-shadow: none;
        }
        .btn-outline:hover {
            background: rgba(255, 255, 255, 0.12);
            border-color: var(--accent);
            color: #fff;
            box-shadow: none;
        }
        .btn-group {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 16px;
        }

        /* ===== 页脚 ===== */
        .footer {
            background: var(--bg-dark);
            color: rgba(255, 255, 255, 0.7);
            padding: 56px 0 0;
            margin-top: auto;
        }
        .footer .container {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
            padding-bottom: 32px;
        }
        .footer .footer-brand {
            font-size: 1.3rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 12px;
        }
        .footer .footer-brand i {
            color: var(--accent);
        }
        .footer p {
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.55);
            line-height: 1.8;
            max-width: 360px;
        }
        .footer h4 {
            color: #fff;
            font-size: 0.95rem;
            font-weight: 600;
            margin-bottom: 16px;
        }
        .footer ul li {
            margin-bottom: 10px;
        }
        .footer ul li a {
            color: rgba(255, 255, 255, 0.55);
            font-size: 0.9rem;
            transition: color var(--transition);
        }
        .footer ul li a:hover {
            color: var(--accent);
        }
        .footer ul li i {
            margin-right: 6px;
            color: rgba(255, 255, 255, 0.3);
        }
        .footer .footer-bottom {
            grid-column: 1 / -1;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            padding: 20px 0;
            text-align: center;
            font-size: 0.82rem;
            color: rgba(255, 255, 255, 0.3);
        }

        /* ===== 移动端菜单切换 ===== */
        .mobile-toggle {
            display: none;
            position: fixed;
            top: 16px;
            left: 16px;
            z-index: 1100;
            background: var(--bg-dark);
            color: #fff;
            border: none;
            width: 44px;
            height: 44px;
            border-radius: var(--radius-sm);
            font-size: 1.3rem;
            cursor: pointer;
            box-shadow: var(--shadow);
            transition: background var(--transition);
        }
        .mobile-toggle:hover {
            background: var(--primary-dark);
        }
        .overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 999;
            backdrop-filter: blur(4px);
        }

        /* ===== 响应式 ===== */
        @media (max-width: 1024px) {
            .card-grid.cols-3 {
                grid-template-columns: repeat(2, 1fr);
            }
            .card-grid.cols-4 {
                grid-template-columns: repeat(2, 1fr);
            }
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .footer .container {
                grid-template-columns: 1fr 1fr;
            }
            .category-banner h1 {
                font-size: 2.2rem;
            }
        }

        @media (max-width: 768px) {
            body {
                flex-direction: column;
            }
            .side-nav {
                transform: translateX(-100%);
                width: 280px;
            }
            .side-nav.open {
                transform: translateX(0);
            }
            .main-content {
                margin-left: 0;
            }
            .mobile-toggle {
                display: flex;
                align-items: center;
                justify-content: center;
            }
            .overlay.show {
                display: block;
            }
            .category-banner {
                padding: 60px 0 56px;
                min-height: auto;
            }
            .category-banner h1 {
                font-size: 1.8rem;
            }
            .category-banner p {
                font-size: 1rem;
            }
            .section {
                padding: 48px 0;
            }
            .section-header {
                margin-bottom: 32px;
            }
            .card-grid {
                grid-template-columns: 1fr;
            }
            .card-grid.cols-3,
            .card-grid.cols-4 {
                grid-template-columns: 1fr;
            }
            .stats-grid {
                grid-template-columns: 1fr 1fr;
                gap: var(--gap-sm);
            }
            .stat-item {
                padding: 20px 12px;
            }
            .stat-item .num {
                font-size: 2rem;
            }
            .footer .container {
                grid-template-columns: 1fr;
                gap: 28px;
            }
            .footer p {
                max-width: 100%;
            }
            .tag-cloud a {
                padding: 6px 16px;
                font-size: 0.82rem;
            }
            .faq-item summary {
                padding: 14px 18px;
                font-size: 0.92rem;
            }
            .faq-item .faq-answer {
                padding: 0 18px 16px;
                font-size: 0.88rem;
            }
            .cta-section h2 {
                font-size: 1.6rem;
            }
            .btn {
                padding: 12px 28px;
                font-size: 0.92rem;
            }
            h2 {
                font-size: 1.5rem;
            }
        }

        @media (max-width: 520px) {
            .container {
                padding: 0 16px;
            }
            .category-banner h1 {
                font-size: 1.5rem;
            }
            .category-banner p {
                font-size: 0.9rem;
            }
            .stats-grid {
                grid-template-columns: 1fr 1fr;
                gap: 10px;
            }
            .stat-item .num {
                font-size: 1.6rem;
            }
            .stat-item .label {
                font-size: 0.8rem;
            }
            .tag-cloud {
                gap: 8px;
            }
            .tag-cloud a {
                font-size: 0.75rem;
                padding: 5px 14px;
            }
            .btn-group {
                flex-direction: column;
                align-items: center;
            }
            .btn {
                width: 100%;
                justify-content: center;
            }
        }

        /* ===== 工具类 ===== */
        .text-center {
            text-align: center;
        }
        .mt-8 {
            margin-top: 32px;
        }
        .mb-8 {
            margin-bottom: 32px;
        }
        .gap-sm {
            gap: var(--gap-sm);
        }

/* roulang page: article */
/* ===== Design Variables ===== */
:root {
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --primary-light: #818cf8;
    --secondary: #06b6d4;
    --secondary-dark: #0891b2;
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --bg: #f1f5f9;
    --bg-card: #ffffff;
    --bg-sidebar: #0f172a;
    --bg-sidebar-hover: #1e293b;
    --text: #0f172a;
    --text-light: #64748b;
    --text-white: #f8fafc;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.25s ease;
    --sidebar-width: 240px;
    --header-height: 0px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    display: flex;
    min-height: 100vh;
}
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button, input, textarea { font-family: inherit; font-size: inherit; }
/* ===== Layout ===== */
.wrapper { display: flex; width: 100%; min-height: 100vh; }
/* ===== Sidebar Navigation ===== */
.side-nav {
    width: var(--sidebar-width);
    background: var(--bg-sidebar);
    color: var(--text-white);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1000;
    padding: 0;
    overflow-y: auto;
    transition: transform var(--transition);
}
.side-nav .brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1.6rem 1.2rem 1.2rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.side-nav .brand i { font-size: 1.4rem; color: var(--accent); }
.side-nav .brand span { white-space: nowrap; }
.nav-section {
    padding: 1.2rem 1.2rem 0.4rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.35);
    font-weight: 600;
}
.nav-links { flex: 1; padding: 0.4rem 0.6rem 1rem; }
.nav-links li { margin: 0.15rem 0; }
.nav-links a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 0.9rem;
    border-radius: var(--radius-sm);
    color: rgba(255,255,255,0.7);
    font-size: 0.92rem;
    font-weight: 500;
    transition: all var(--transition);
}
.nav-links a i { width: 1.2rem; text-align: center; font-size: 1rem; color: rgba(255,255,255,0.4); transition: color var(--transition); }
.nav-links a:hover { background: var(--bg-sidebar-hover); color: #fff; }
.nav-links a:hover i { color: var(--accent); }
.nav-links a.active { background: rgba(79,70,229,0.25); color: #fff; }
.nav-links a.active i { color: var(--accent); }
.nav-footer {
    padding: 1rem 1.2rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
}
/* ===== Main Content ===== */
.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.content-area { flex: 1; padding: 0; }
/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
/* ===== Article Hero ===== */
.article-hero {
    position: relative;
    padding: 4rem 0 3.5rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    overflow: hidden;
}
.article-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/assets/images/backpic/back-1.png') center/cover no-repeat;
    opacity: 0.15;
    mix-blend-mode: overlay;
}
.article-hero .container { position: relative; z-index: 1; }
.article-hero .post-category {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--primary);
    color: #fff;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 1rem;
}
.article-hero h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    max-width: 860px;
    margin-bottom: 1rem;
}
.article-hero .post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
}
.article-hero .post-meta i { margin-right: 0.4rem; color: var(--accent); }
/* ===== Article Body ===== */
.article-body {
    padding: 3rem 0;
    background: var(--bg-card);
}
.article-body .content {
    max-width: 820px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text);
}
.article-body .content p { margin-bottom: 1.5rem; }
.article-body .content h2 { font-size: 1.5rem; font-weight: 700; margin: 2rem 0 1rem; color: var(--text); }
.article-body .content h3 { font-size: 1.2rem; font-weight: 600; margin: 1.5rem 0 0.8rem; }
.article-body .content blockquote {
    border-left: 4px solid var(--primary);
    background: var(--bg);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-light);
    font-style: italic;
}
.article-body .content ul, .article-body .content ol {
    margin: 1rem 0 1.5rem 1.5rem;
}
.article-body .content li { margin-bottom: 0.4rem; list-style: disc; }
.article-body .content img {
    border-radius: var(--radius);
    margin: 2rem auto;
    box-shadow: var(--shadow);
}
.article-body .content a { color: var(--primary); text-decoration: underline; }
.article-body .content a:hover { color: var(--primary-dark); }
.article-body .content .article-illustration {
    margin: 2rem auto;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
/* ===== Post Tags ===== */
.post-tags {
    padding: 1.5rem 0 0;
    border-top: 1px solid var(--border);
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}
.post-tags span { font-weight: 600; font-size: 0.9rem; color: var(--text-light); margin-right: 0.5rem; }
.post-tags .tag {
    display: inline-block;
    background: var(--bg);
    padding: 0.2rem 0.9rem;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--text-light);
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.post-tags .tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
/* ===== Post Navigation ===== */
.post-nav {
    padding: 2rem 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.post-nav .container {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.post-nav .nav-item {
    flex: 1;
    min-width: 200px;
    padding: 1rem 1.2rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid var(--border);
}
.post-nav .nav-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--primary-light); }
.post-nav .nav-item .label { font-size: 0.75rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.post-nav .nav-item .title { font-size: 0.95rem; font-weight: 600; color: var(--text); margin-top: 0.3rem; }
.post-nav .nav-item.empty { opacity: 0.4; cursor: default; }
.post-nav .nav-item.empty:hover { transform: none; box-shadow: var(--shadow-sm); border-color: var(--border); }
/* ===== Related Posts ===== */
.related-posts {
    padding: 3.5rem 0;
    background: var(--bg-card);
}
.related-posts h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.related-posts h2 i { color: var(--primary); }
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}
.related-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}
.related-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--primary-light); }
.related-card .card-img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    background: var(--bg);
}
.related-card .card-body { padding: 1.2rem 1.2rem 1.4rem; }
.related-card .card-body .card-cat {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 0.4rem;
}
.related-card .card-body h3 { font-size: 1rem; font-weight: 700; line-height: 1.4; margin-bottom: 0.4rem; }
.related-card .card-body h3 a { color: var(--text); }
.related-card .card-body h3 a:hover { color: var(--primary); }
.related-card .card-body .card-excerpt { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }
.related-card .card-body .card-meta { font-size: 0.75rem; color: var(--text-light); margin-top: 0.6rem; }
/* ===== CTA ===== */
.cta-section {
    padding: 3.5rem 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #fff;
    text-align: center;
}
.cta-section h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.8rem; }
.cta-section p { font-size: 1.05rem; opacity: 0.85; max-width: 600px; margin: 0 auto 1.8rem; }
.cta-section .btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-section .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}
.cta-section .btn-primary { background: #fff; color: var(--primary); }
.cta-section .btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.cta-section .btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.cta-section .btn-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; transform: translateY(-2px); }
/* ===== Footer ===== */
.footer {
    background: #0f172a;
    color: rgba(255,255,255,0.7);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer .container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
}
.footer .footer-brand {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
}
.footer .footer-brand i { color: var(--accent); margin-right: 0.4rem; }
.footer p { font-size: 0.85rem; line-height: 1.7; color: rgba(255,255,255,0.55); max-width: 360px; }
.footer h4 { color: #fff; font-size: 0.95rem; font-weight: 600; margin-bottom: 1rem; }
.footer ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer ul li { font-size: 0.85rem; }
.footer ul li a { color: rgba(255,255,255,0.55); }
.footer ul li a:hover { color: var(--accent); }
.footer .footer-bottom {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 1.5rem;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
    text-align: center;
}
/* ===== Error State ===== */
.error-box {
    text-align: center;
    padding: 4rem 2rem;
}
.error-box i { font-size: 3rem; color: var(--text-light); margin-bottom: 1rem; }
.error-box h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.6rem; }
.error-box p { color: var(--text-light); margin-bottom: 1.5rem; }
.error-box .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.8rem;
    background: var(--primary);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
}
.error-box .btn:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(79,70,229,0.3); }
/* ===== Mobile Toggle ===== */
.mobile-toggle {
    display: none;
    position: fixed;
    top: 0.8rem;
    left: 0.8rem;
    z-index: 1100;
    background: var(--bg-sidebar);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: background var(--transition);
}
.mobile-toggle:hover { background: var(--bg-sidebar-hover); }
.side-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--transition);
}
.side-overlay.show { opacity: 1; }
/* ===== B reader mode ===== */
@media (max-width: 1024px) {
    .footer .container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .mobile-toggle { display: flex; align-items: center; justify-content: center; }
    .side-nav {
        transform: translateX(-100%);
        width: 260px;
    }
    .side-nav.open { transform: translateX(0); }
    .side-overlay { display: block; pointer-events: none; }
    .side-overlay.show { pointer-events: auto; }
    .main-content { margin-left: 0; }
    .container { padding: 0 1.2rem; }
    .article-hero h1 { font-size: 1.6rem; }
    .article-hero { padding: 2.5rem 0 2rem; }
    .article-body .content { font-size: 1rem; }
    .footer .container { grid-template-columns: 1fr; gap: 1.5rem; }
    .related-grid { grid-template-columns: 1fr; }
    .post-nav .container { flex-direction: column; }
    .post-nav .nav-item { min-width: auto; }
    .cta-section h2 { font-size: 1.4rem; }
}
@media (max-width: 520px) {
    .article-hero h1 { font-size: 1.3rem; }
    .article-hero .post-meta { gap: 0.8rem; font-size: 0.75rem; }
    .article-body .content { font-size: 0.95rem; }
    .cta-section .btn { padding: 0.7rem 1.6rem; font-size: 0.9rem; }
    .related-card .card-img { height: 140px; }
}
/* ===== Loading / Empty ===== */
.empty-state { text-align: center; padding: 2rem; color: var(--text-light); }
