/* roulang page: index */
/* ===== 设计变量 ===== */
        :root {
            --primary: #6366f1;
            --primary-hover: #4f46e5;
            --primary-light: #eef2ff;
            --accent: #f59e0b;
            --accent-hover: #d97706;
            --accent-light: #fffbeb;
            --bg-body: #f8fafc;
            --bg-white: #ffffff;
            --bg-card: #ffffff;
            --bg-dark: #0f172a;
            --bg-dark-card: #1e293b;
            --text-primary: #0f172a;
            --text-secondary: #475569;
            --text-muted: #94a3b8;
            --text-white: #ffffff;
            --text-light: #cbd5e1;
            --border: #e2e8f0;
            --border-light: #f1f5f9;
            --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 16px rgba(0,0,0,0.08);
            --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
            --shadow-glow: 0 0 30px rgba(99,102,241,0.25);
            --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            --font-sans: 'Segoe UI', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
            --container-max: 1200px;
            --nav-height: 72px;
        }

        /* ===== Reset / Base ===== */
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
        body {
            font-family: var(--font-sans);
            font-size: 16px;
            line-height: 1.7;
            color: var(--text-primary);
            background: var(--bg-body);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
        a:hover { color: var(--primary-hover); }
        a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
        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 { line-height: 1.25; font-weight: 700; color: var(--text-primary); }
        h1 { font-size: 2.75rem; }
        h2 { font-size: 2rem; }
        h3 { font-size: 1.375rem; }
        h4 { font-size: 1.125rem; }
        p { margin-bottom: 0.75rem; color: var(--text-secondary); }
        .container {
            width: 100%;
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 24px;
        }
        @media (max-width: 768px) {
            .container { padding: 0 16px; }
            h1 { font-size: 2rem; }
            h2 { font-size: 1.5rem; }
            h3 { font-size: 1.125rem; }
        }
        .section { padding: 80px 0; }
        .section-dark { background: var(--bg-dark); }
        .section-light { background: var(--primary-light); }
        .section-accent { background: var(--accent-light); }
        .section-white { background: var(--bg-white); }
        .section-title {
            text-align: center;
            margin-bottom: 48px;
        }
        .section-title h2 {
            margin-bottom: 12px;
            position: relative;
            display: inline-block;
        }
        .section-title h2::after {
            content: '';
            display: block;
            width: 60px;
            height: 4px;
            background: var(--primary);
            border-radius: 4px;
            margin: 12px auto 0;
        }
        .section-title p {
            max-width: 600px;
            margin: 0 auto;
            color: var(--text-muted);
            font-size: 1.05rem;
        }
        .section-dark .section-title h2 { color: var(--text-white); }
        .section-dark .section-title h2::after { background: var(--accent); }
        .section-dark .section-title p { color: var(--text-light); }

        /* ===== 按钮 ===== */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px 28px;
            border-radius: var(--radius-md);
            font-weight: 600;
            font-size: 1rem;
            transition: all var(--transition);
            border: 2px solid transparent;
            white-space: nowrap;
        }
        .btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
        .btn-primary {
            background: var(--primary);
            color: var(--text-white);
            border-color: var(--primary);
        }
        .btn-primary:hover {
            background: var(--primary-hover);
            border-color: var(--primary-hover);
            color: var(--text-white);
            transform: translateY(-2px);
            box-shadow: var(--shadow-glow);
        }
        .btn-primary:active { transform: translateY(0); box-shadow: none; }
        .btn-accent {
            background: var(--accent);
            color: var(--text-white);
            border-color: var(--accent);
        }
        .btn-accent:hover {
            background: var(--accent-hover);
            border-color: var(--accent-hover);
            color: var(--text-white);
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(245,158,11,0.35);
        }
        .btn-outline {
            background: transparent;
            color: var(--primary);
            border-color: var(--primary);
        }
        .btn-outline:hover {
            background: var(--primary);
            color: var(--text-white);
            transform: translateY(-2px);
        }
        .btn-light {
            background: var(--bg-white);
            color: var(--text-primary);
            border-color: var(--border);
        }
        .btn-light:hover {
            background: var(--primary-light);
            border-color: var(--primary);
            color: var(--primary);
            transform: translateY(-2px);
        }
        .btn-lg { padding: 16px 40px; font-size: 1.125rem; border-radius: var(--radius-lg); }
        .btn-sm { padding: 8px 18px; font-size: 0.875rem; border-radius: var(--radius-sm); }

        /* ===== 徽章 / 标签 ===== */
        .badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 4px 14px;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.3px;
            text-transform: uppercase;
        }
        .badge-primary { background: var(--primary-light); color: var(--primary); }
        .badge-accent { background: var(--accent-light); color: var(--accent); }
        .badge-hot { background: #fee2e2; color: #dc2626; }
        .badge-new { background: #dbeafe; color: #2563eb; }
        .tag {
            display: inline-block;
            padding: 3px 12px;
            border-radius: var(--radius-sm);
            font-size: 0.8rem;
            background: var(--border-light);
            color: var(--text-secondary);
            transition: all var(--transition);
        }
        .tag:hover { background: var(--primary-light); color: var(--primary); }

        /* ===== 导航 ===== */
        .site-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(255,255,255,0.92);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            border-bottom: 1px solid rgba(226,232,240,0.5);
            height: var(--nav-height);
            transition: background var(--transition);
        }
        .site-header.scrolled { background: rgba(255,255,255,0.98); box-shadow: var(--shadow-sm); }
        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: var(--nav-height);
            gap: 16px;
        }
        .site-logo {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--text-primary);
            white-space: nowrap;
            flex-shrink: 0;
            letter-spacing: -0.5px;
        }
        .site-logo span { color: var(--primary); }
        .site-logo:hover { color: var(--primary); }
        .nav-search {
            flex: 1;
            max-width: 480px;
            margin: 0 16px;
            position: relative;
        }
        .nav-search form {
            display: flex;
            align-items: center;
            background: var(--border-light);
            border-radius: 50px;
            border: 2px solid transparent;
            transition: all var(--transition);
            overflow: hidden;
        }
        .nav-search form:focus-within {
            background: var(--bg-white);
            border-color: var(--primary);
            box-shadow: 0 0 0 4px rgba(99,102,241,0.12);
        }
        .nav-search .search-icon {
            padding: 0 0 0 16px;
            color: var(--text-muted);
            font-size: 0.9rem;
            flex-shrink: 0;
        }
        .nav-search input {
            flex: 1;
            padding: 10px 12px;
            border: none;
            background: transparent;
            outline: none;
            font-size: 0.95rem;
            color: var(--text-primary);
            min-width: 0;
        }
        .nav-search input::placeholder { color: var(--text-muted); }
        .nav-search .search-btn {
            padding: 8px 18px;
            background: var(--primary);
            color: var(--text-white);
            font-weight: 600;
            font-size: 0.85rem;
            border-radius: 50px;
            margin: 4px;
            transition: background var(--transition);
            flex-shrink: 0;
        }
        .nav-search .search-btn:hover { background: var(--primary-hover); }
        .nav-links {
            display: flex;
            align-items: center;
            gap: 6px;
            flex-shrink: 0;
        }
        .nav-links a {
            padding: 8px 18px;
            border-radius: var(--radius-md);
            font-weight: 500;
            color: var(--text-secondary);
            font-size: 0.95rem;
            transition: all var(--transition);
            position: relative;
        }
        .nav-links a:hover { background: var(--primary-light); color: var(--primary); }
        .nav-links a.active {
            background: var(--primary);
            color: var(--text-white);
        }
        .nav-links a.active:hover { background: var(--primary-hover); }
        .nav-toggle {
            display: none;
            padding: 8px 12px;
            font-size: 1.4rem;
            color: var(--text-primary);
            border-radius: var(--radius-sm);
            transition: background var(--transition);
        }
        .nav-toggle:hover { background: var(--border-light); }

        @media (max-width: 900px) {
            .nav-search { max-width: 320px; }
        }
        @media (max-width: 768px) {
            .nav-search { max-width: none; margin: 0 8px; }
            .nav-links {
                position: fixed;
                top: var(--nav-height);
                left: 0;
                right: 0;
                background: var(--bg-white);
                flex-direction: column;
                padding: 16px 24px 24px;
                gap: 4px;
                border-bottom: 1px solid var(--border);
                box-shadow: var(--shadow-md);
                transform: translateY(-110%);
                opacity: 0;
                pointer-events: none;
                transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
                z-index: 999;
            }
            .nav-links.open {
                transform: translateY(0);
                opacity: 1;
                pointer-events: auto;
            }
            .nav-links a {
                padding: 12px 16px;
                width: 100%;
                text-align: center;
                font-size: 1rem;
            }
            .nav-toggle { display: block; }
        }

        /* ===== Hero ===== */
        .hero {
            padding: calc(var(--nav-height) + 40px) 0 80px;
            position: relative;
            background: var(--bg-dark);
            min-height: 70vh;
            display: flex;
            align-items: center;
            overflow: hidden;
        }
        .hero-bg {
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
            opacity: 0.35;
            z-index: 0;
        }
        .hero-bg::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.4) 100%);
        }
        .hero .container { position: relative; z-index: 1; }
        .hero-content {
            max-width: 700px;
            animation: fadeUp 0.8s ease-out;
        }
        @keyframes fadeUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 20px;
            border-radius: 50px;
            background: rgba(99,102,241,0.2);
            color: #a5b4fc;
            font-size: 0.85rem;
            font-weight: 500;
            margin-bottom: 24px;
            border: 1px solid rgba(99,102,241,0.3);
        }
        .hero-badge i { font-size: 0.75rem; }
        .hero h1 {
            font-size: 3.2rem;
            font-weight: 800;
            color: var(--text-white);
            line-height: 1.15;
            margin-bottom: 20px;
            letter-spacing: -0.5px;
        }
        .hero h1 span { color: var(--accent); }
        .hero p {
            font-size: 1.15rem;
            color: var(--text-light);
            max-width: 560px;
            margin-bottom: 32px;
            line-height: 1.8;
        }
        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            align-items: center;
        }
        .hero-stats {
            display: flex;
            gap: 40px;
            margin-top: 48px;
            padding-top: 32px;
            border-top: 1px solid rgba(255,255,255,0.1);
        }
        .hero-stat h3 {
            font-size: 1.75rem;
            font-weight: 800;
            color: var(--text-white);
        }
        .hero-stat p {
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-bottom: 0;
        }
        @media (max-width: 768px) {
            .hero { padding: calc(var(--nav-height) + 24px) 0 56px; min-height: auto; }
            .hero h1 { font-size: 2rem; }
            .hero p { font-size: 1rem; }
            .hero-stats { gap: 24px; flex-wrap: wrap; }
            .hero-stat h3 { font-size: 1.25rem; }
            .hero-actions .btn { width: 100%; justify-content: center; }
        }

        /* ===== 特色卡片 ===== */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
        }
        .feature-card {
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            padding: 36px 28px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border);
            transition: all var(--transition);
            text-align: center;
        }
        .feature-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-md);
            border-color: var(--primary);
        }
        .feature-card .icon {
            width: 64px;
            height: 64px;
            border-radius: var(--radius-md);
            background: var(--primary-light);
            color: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.75rem;
            margin: 0 auto 20px;
            transition: all var(--transition);
        }
        .feature-card:hover .icon { background: var(--primary); color: var(--text-white); }
        .feature-card h3 { margin-bottom: 10px; }
        .feature-card p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 0; }
        @media (max-width: 900px) {
            .features-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 560px) {
            .features-grid { grid-template-columns: 1fr; }
        }

        /* ===== 分类入口 ===== */
        .category-card-wrap {
            max-width: 420px;
            margin: 0 auto;
        }
        .category-card {
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border);
            transition: all var(--transition);
        }
        .category-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-md);
        }
        .category-card .card-img {
            height: 200px;
            background: url('/assets/images/coverpic/cover-1.png') center center / cover no-repeat;
            position: relative;
        }
        .category-card .card-img .overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(15,23,42,0.6), transparent);
        }
        .category-card .card-body {
            padding: 24px 28px 28px;
            text-align: center;
        }
        .category-card .card-body h3 { font-size: 1.4rem; margin-bottom: 8px; }
        .category-card .card-body p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 18px; }

        /* ===== 资讯列表 ===== */
        .posts-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 24px;
        }
        .post-card {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border);
            transition: all var(--transition);
            display: flex;
            flex-direction: column;
        }
        .post-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
            border-color: var(--primary);
        }
        .post-card .post-img {
            height: 180px;
            background: url('/assets/images/coverpic/cover-2.png') center center / cover no-repeat;
            position: relative;
        }
        .post-card .post-img .post-cat {
            position: absolute;
            top: 12px;
            left: 12px;
        }
        .post-card .post-body {
            padding: 20px 22px 22px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .post-card .post-body h3 {
            font-size: 1.1rem;
            margin-bottom: 8px;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .post-card .post-body h3 a { color: var(--text-primary); }
        .post-card .post-body h3 a:hover { color: var(--primary); }
        .post-card .post-body p {
            font-size: 0.9rem;
            color: var(--text-muted);
            margin-bottom: 12px;
            flex: 1;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .post-card .post-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.8rem;
            color: var(--text-muted);
            padding-top: 12px;
            border-top: 1px solid var(--border-light);
        }
        .post-card .post-meta .date i { margin-right: 4px; }
        .post-card:nth-child(4n+2) .post-img { background-image: url('/assets/images/coverpic/cover-3.png'); }
        .post-card:nth-child(4n+3) .post-img { background-image: url('/assets/images/coverpic/cover-4.png'); }
        .post-card:nth-child(4n+4) .post-img { background-image: url('/assets/images/coverpic/cover-5.png'); }
        .posts-empty {
            grid-column: 1 / -1;
            text-align: center;
            padding: 48px 24px;
            background: var(--bg-white);
            border-radius: var(--radius-md);
            border: 1px dashed var(--border);
            color: var(--text-muted);
            font-size: 1.05rem;
        }
        .posts-empty i { font-size: 2.5rem; color: var(--border); margin-bottom: 16px; display: block; }

        @media (max-width: 768px) {
            .posts-grid { grid-template-columns: 1fr; }
            .post-card .post-img { height: 160px; }
        }

        /* ===== 热门推荐 ===== */
        .hot-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }
        .hot-card {
            position: relative;
            border-radius: var(--radius-lg);
            overflow: hidden;
            aspect-ratio: 3 / 4;
            box-shadow: var(--shadow-sm);
            transition: all var(--transition);
            cursor: pointer;
        }
        .hot-card:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }
        .hot-card .hot-bg {
            position: absolute;
            inset: 0;
            background: url('/assets/images/coverpic/cover-6.png') center center / cover no-repeat;
            transition: transform 0.5s ease;
        }
        .hot-card:hover .hot-bg { transform: scale(1.08); }
        .hot-card:nth-child(2) .hot-bg { background-image: url('/assets/images/coverpic/cover-4.png'); }
        .hot-card:nth-child(3) .hot-bg { background-image: url('/assets/images/coverpic/cover-5.png'); }
        .hot-card .hot-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(15,23,42,0.8) 0%, rgba(15,23,42,0.1) 70%);
        }
        .hot-card .hot-info {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 24px 20px 20px;
            z-index: 1;
        }
        .hot-card .hot-info .badge { margin-bottom: 8px; }
        .hot-card .hot-info h3 { color: var(--text-white); font-size: 1.15rem; }
        .hot-card .hot-info p { color: var(--text-light); font-size: 0.85rem; margin-bottom: 0; }
        .hot-card .hot-rank {
            position: absolute;
            top: 16px;
            left: 16px;
            z-index: 2;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--accent);
            color: var(--text-white);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: 0.9rem;
            box-shadow: 0 4px 12px rgba(245,158,11,0.4);
        }
        @media (max-width: 900px) {
            .hot-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 560px) {
            .hot-grid { grid-template-columns: 1fr; }
            .hot-card { aspect-ratio: 4 / 3; }
        }

        /* ===== 数据统计 ===== */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
            text-align: center;
        }
        .stat-item {
            padding: 32px 16px;
            background: rgba(255,255,255,0.05);
            border-radius: var(--radius-lg);
            border: 1px solid rgba(255,255,255,0.08);
            transition: all var(--transition);
        }
        .stat-item:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
        .stat-item .num {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--accent);
            line-height: 1.2;
            margin-bottom: 6px;
        }
        .stat-item .num span { font-size: 1.5rem; }
        .stat-item .label { font-size: 0.9rem; color: var(--text-light); }
        @media (max-width: 768px) {
            .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
            .stat-item .num { font-size: 2rem; }
        }

        /* ===== FAQ ===== */
        .faq-list {
            max-width: 780px;
            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);
            overflow: hidden;
            transition: all var(--transition);
        }
        .faq-item:hover { border-color: var(--primary); }
        .faq-question {
            padding: 20px 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 600;
            font-size: 1.05rem;
            color: var(--text-primary);
            cursor: pointer;
            transition: background var(--transition);
            gap: 12px;
        }
        .faq-question:hover { background: var(--primary-light); }
        .faq-question i { color: var(--primary); font-size: 0.9rem; transition: transform 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.4s ease, padding 0.3s ease;
            padding: 0 24px;
            color: var(--text-secondary);
            font-size: 0.95rem;
            line-height: 1.7;
        }
        .faq-item.open .faq-answer {
            max-height: 300px;
            padding: 0 24px 20px;
        }
        .section-dark .faq-item { background: var(--bg-dark-card); border-color: rgba(255,255,255,0.08); }
        .section-dark .faq-question { color: var(--text-white); }
        .section-dark .faq-question:hover { background: rgba(255,255,255,0.05); }
        .section-dark .faq-answer { color: var(--text-light); }

        /* ===== CTA ===== */
        .cta-section {
            text-align: center;
            padding: 80px 0;
            background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 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: var(--text-white);
            font-size: 2.2rem;
            margin-bottom: 16px;
        }
        .cta-section p {
            color: rgba(255,255,255,0.85);
            font-size: 1.1rem;
            max-width: 560px;
            margin: 0 auto 32px;
        }
        .cta-section .btn-light { font-size: 1.05rem; padding: 16px 44px; }
        .cta-section .btn-light:hover { background: var(--accent); color: var(--text-white); border-color: var(--accent); }
        @media (max-width: 768px) {
            .cta-section h2 { font-size: 1.6rem; }
            .cta-section p { font-size: 0.95rem; }
        }

        /* ===== 页脚 ===== */
        .site-footer {
            background: var(--bg-dark);
            color: var(--text-light);
            padding: 56px 0 32px;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 40px;
        }
        .footer-brand .site-logo { color: var(--text-white); margin-bottom: 12px; display: inline-block; }
        .footer-brand p { font-size: 0.9rem; color: var(--text-muted); max-width: 320px; }
        .footer-col h4 {
            color: var(--text-white);
            font-size: 1rem;
            margin-bottom: 16px;
            font-weight: 600;
        }
        .footer-col ul li { margin-bottom: 8px; }
        .footer-col ul li a {
            color: var(--text-muted);
            font-size: 0.9rem;
            transition: color var(--transition);
        }
        .footer-col ul li a:hover { color: var(--accent); }
        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.06);
            padding-top: 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 12px;
            font-size: 0.85rem;
            color: var(--text-muted);
        }
        .footer-bottom a { color: var(--text-muted); }
        .footer-bottom a:hover { color: var(--accent); }
        .footer-social { display: flex; gap: 12px; }
        .footer-social a {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255,255,255,0.06);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-muted);
            font-size: 1.1rem;
            transition: all var(--transition);
        }
        .footer-social a:hover { background: var(--primary); color: var(--text-white); transform: translateY(-2px); }

        @media (max-width: 768px) {
            .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
            .footer-brand { grid-column: 1 / -1; }
            .footer-bottom { flex-direction: column; text-align: center; }
        }
        @media (max-width: 480px) {
            .footer-grid { grid-template-columns: 1fr; }
        }

        /* ===== 回到顶部 ===== */
        .back-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 999;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: var(--primary);
            color: var(--text-white);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            box-shadow: var(--shadow-md);
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            transition: all var(--transition);
        }
        .back-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
        .back-top:hover { background: var(--primary-hover); transform: translateY(-4px); box-shadow: var(--shadow-glow); }

        /* ===== 占位辅助 ===== */
        .text-center { text-align: center; }
        .mt-2 { margin-top: 8px; }
        .mt-4 { margin-top: 16px; }
        .mb-4 { margin-bottom: 16px; }
        .gap-2 { gap: 8px; }
        .flex-center { display: flex; align-items: center; justify-content: center; }

/* roulang page: article */
/* ===== Design Variables ===== */
        :root {
            --primary: #2563eb;
            --primary-dark: #1d4ed8;
            --primary-light: #3b82f6;
            --primary-bg: #eff6ff;
            --accent: #f59e0b;
            --accent-dark: #d97706;
            --accent-light: #fbbf24;
            --bg-body: #f8fafc;
            --bg-white: #ffffff;
            --bg-gray: #f1f5f9;
            --bg-dark: #0f172a;
            --text-primary: #0f172a;
            --text-secondary: #475569;
            --text-muted: #94a3b8;
            --text-inverse: #ffffff;
            --border-color: #e2e8f0;
            --border-light: #f1f5f9;
            --radius-sm: 6px;
            --radius-md: 12px;
            --radius-lg: 20px;
            --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);
            --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
            --shadow-xl: 0 24px 60px rgba(0,0,0,0.15);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --font-sans: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
            --container-max: 1200px;
            --header-height: 72px;
        }

        /* ===== Reset / Base ===== */
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; font-size: 16px; }
        body {
            font-family: var(--font-sans);
            background: var(--bg-body);
            color: var(--text-primary);
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        img { max-width: 100%; height: auto; display: block; }
        a { color: var(--primary); text-decoration: none; transition: var(--transition); }
        a:hover { color: var(--primary-dark); }
        ul { list-style: none; }
        button { cursor: pointer; font-family: inherit; border: none; background: none; }
        input { font-family: inherit; outline: none; border: none; }
        .container {
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 24px;
        }

        /* ===== Header / Nav ===== */
        .site-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            height: var(--header-height);
            background: rgba(255,255,255,0.92);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--border-color);
            transition: var(--transition);
        }
        .site-header.scrolled { box-shadow: var(--shadow-md); }
        .header-inner {
            display: flex;
            align-items: center;
            height: 100%;
            gap: 32px;
        }
        .site-logo {
            font-size: 1.6rem;
            font-weight: 800;
            color: var(--text-primary);
            letter-spacing: -0.5px;
            white-space: nowrap;
            flex-shrink: 0;
        }
        .site-logo span { color: var(--primary); }
        .site-logo:hover { opacity: 0.85; }

        /* Search */
        .nav-search {
            flex: 1;
            max-width: 480px;
            margin: 0 auto;
        }
        .nav-search form {
            display: flex;
            align-items: center;
            background: var(--bg-gray);
            border-radius: 50px;
            padding: 0 6px 0 16px;
            border: 1px solid transparent;
            transition: var(--transition);
        }
        .nav-search form:focus-within {
            border-color: var(--primary);
            background: var(--bg-white);
            box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
        }
        .nav-search .search-icon { color: var(--text-muted); font-size: 0.9rem; margin-right: 8px; }
        .nav-search input {
            flex: 1;
            padding: 10px 0;
            background: transparent;
            font-size: 0.95rem;
            color: var(--text-primary);
            min-width: 0;
        }
        .nav-search input::placeholder { color: var(--text-muted); }
        .nav-search .search-btn {
            padding: 8px 22px;
            background: var(--primary);
            color: #fff;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 600;
            transition: var(--transition);
            flex-shrink: 0;
        }
        .nav-search .search-btn:hover { background: var(--primary-dark); transform: scale(0.97); }

        /* Nav Links */
        .nav-links {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-shrink: 0;
        }
        .nav-links a {
            padding: 8px 18px;
            border-radius: 50px;
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text-secondary);
            transition: var(--transition);
            white-space: nowrap;
        }
        .nav-links a:hover { background: var(--bg-gray); color: var(--text-primary); }
        .nav-links a.active { background: var(--primary); color: #fff; }

        /* Toggle */
        .nav-toggle { display: none; font-size: 1.5rem; color: var(--text-primary); padding: 6px; }

        /* ===== Article Banner ===== */
        .article-banner {
            margin-top: var(--header-height);
            padding: 60px 0 40px;
            background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
            position: relative;
            overflow: hidden;
            min-height: 220px;
            display: flex;
            align-items: center;
        }
        .article-banner::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-2.png') center/cover no-repeat;
            opacity: 0.15;
            mix-blend-mode: overlay;
        }
        .article-banner .container { position: relative; z-index: 2; width: 100%; }
        .article-banner .breadcrumb {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.85rem;
            color: rgba(255,255,255,0.6);
            margin-bottom: 16px;
            flex-wrap: wrap;
        }
        .article-banner .breadcrumb a { color: rgba(255,255,255,0.7); }
        .article-banner .breadcrumb a:hover { color: #fff; }
        .article-banner .breadcrumb .sep { opacity: 0.4; }
        .article-banner h1 {
            font-size: clamp(1.5rem, 4vw, 2.4rem);
            font-weight: 800;
            color: #fff;
            line-height: 1.3;
            max-width: 800px;
            margin-bottom: 12px;
        }
        .article-meta {
            display: flex;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
            color: rgba(255,255,255,0.65);
            font-size: 0.9rem;
        }
        .article-meta .cat-tag {
            background: var(--accent);
            color: #1e293b;
            padding: 3px 14px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.8rem;
        }
        .article-meta i { margin-right: 4px; }

        /* ===== Article Main ===== */
        .article-main {
            padding: 50px 0 70px;
        }
        .article-layout {
            display: grid;
            grid-template-columns: 1fr 320px;
            gap: 48px;
            align-items: start;
        }
        .article-body {
            background: var(--bg-white);
            border-radius: var(--radius-lg);
            padding: 40px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-color);
        }
        .article-body .article-featured-img {
            width: 100%;
            border-radius: var(--radius-md);
            margin-bottom: 32px;
            object-fit: cover;
            max-height: 460px;
        }
        .article-body .content {
            font-size: 1.05rem;
            line-height: 1.9;
            color: var(--text-secondary);
        }
        .article-body .content p { margin-bottom: 1.2em; }
        .article-body .content h2, 
        .article-body .content h3 { 
            color: var(--text-primary); 
            margin-top: 1.8em; 
            margin-bottom: 0.6em; 
            font-weight: 700; 
        }
        .article-body .content h2 { font-size: 1.5rem; }
        .article-body .content h3 { font-size: 1.2rem; }
        .article-body .content ul, 
        .article-body .content ol { 
            padding-left: 1.5em; 
            margin-bottom: 1.2em; 
        }
        .article-body .content li { margin-bottom: 0.4em; }
        .article-body .content a { color: var(--primary); text-decoration: underline; }
        .article-body .content blockquote {
            border-left: 4px solid var(--primary);
            background: var(--primary-bg);
            padding: 16px 24px;
            margin: 1.2em 0;
            border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
            color: var(--text-secondary);
        }
        .article-body .content img {
            border-radius: var(--radius-md);
            margin: 1.2em auto;
            max-width: 100%;
        }
        .article-body .content pre {
            background: #1e293b;
            color: #e2e8f0;
            padding: 20px;
            border-radius: var(--radius-md);
            overflow-x: auto;
            font-size: 0.9rem;
            margin: 1.2em 0;
        }
        .article-body .content code {
            background: var(--bg-gray);
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.9em;
        }

        .article-footer-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 40px;
            padding-top: 24px;
            border-top: 1px solid var(--border-color);
            flex-wrap: wrap;
            gap: 16px;
        }
        .article-footer-bar .tags {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }
        .article-footer-bar .tags span {
            background: var(--bg-gray);
            padding: 4px 14px;
            border-radius: 50px;
            font-size: 0.8rem;
            color: var(--text-secondary);
        }
        .article-footer-bar .share-btns {
            display: flex;
            gap: 8px;
        }
        .article-footer-bar .share-btns a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: var(--bg-gray);
            color: var(--text-secondary);
            transition: var(--transition);
        }
        .article-footer-bar .share-btns a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

        /* Sidebar */
        .article-sidebar {
            display: flex;
            flex-direction: column;
            gap: 32px;
        }
        .sidebar-card {
            background: var(--bg-white);
            border-radius: var(--radius-lg);
            padding: 28px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-color);
        }
        .sidebar-card h3 {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 18px;
            padding-bottom: 12px;
            border-bottom: 2px solid var(--primary-bg);
            color: var(--text-primary);
        }
        .sidebar-card .side-list li {
            padding: 10px 0;
            border-bottom: 1px solid var(--border-light);
        }
        .sidebar-card .side-list li:last-child { border-bottom: none; }
        .sidebar-card .side-list a {
            display: flex;
            gap: 12px;
            align-items: flex-start;
            color: var(--text-secondary);
            font-size: 0.9rem;
            line-height: 1.5;
        }
        .sidebar-card .side-list a:hover { color: var(--primary); }
        .sidebar-card .side-list .side-num {
            flex-shrink: 0;
            width: 26px;
            height: 26px;
            border-radius: 50%;
            background: var(--bg-gray);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            font-weight: 700;
            color: var(--text-muted);
        }
        .sidebar-card .side-list .side-num.top { background: var(--primary); color: #fff; }
        .sidebar-card .side-list .side-text { flex: 1; }
        .sidebar-card .side-list .side-text small {
            display: block;
            font-size: 0.75rem;
            color: var(--text-muted);
            margin-top: 2px;
        }

        .sidebar-card .cat-list li { margin-bottom: 6px; }
        .sidebar-card .cat-list a {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 16px;
            border-radius: var(--radius-sm);
            background: var(--bg-gray);
            font-size: 0.9rem;
            color: var(--text-secondary);
            transition: var(--transition);
        }
        .sidebar-card .cat-list a:hover { background: var(--primary-bg); color: var(--primary); }
        .sidebar-card .cat-list .count {
            background: var(--border-color);
            padding: 1px 10px;
            border-radius: 50px;
            font-size: 0.75rem;
        }

        /* ===== Related Section ===== */
        .related-section {
            padding: 50px 0 60px;
            background: var(--bg-white);
            border-top: 1px solid var(--border-color);
        }
        .related-section .section-title {
            font-size: 1.6rem;
            font-weight: 800;
            margin-bottom: 32px;
            text-align: center;
            color: var(--text-primary);
        }
        .related-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }
        .related-card {
            background: var(--bg-body);
            border-radius: var(--radius-md);
            overflow: hidden;
            border: 1px solid var(--border-color);
            transition: var(--transition);
        }
        .related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
        .related-card img {
            width: 100%;
            height: 180px;
            object-fit: cover;
        }
        .related-card .related-info { padding: 18px 20px; }
        .related-card .related-info h4 {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 6px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .related-card .related-info h4 a { color: var(--text-primary); }
        .related-card .related-info h4 a:hover { color: var(--primary); }
        .related-card .related-info .related-meta {
            font-size: 0.8rem;
            color: var(--text-muted);
            display: flex;
            gap: 12px;
        }

        /* ===== Not Found ===== */
        .not-found-box {
            text-align: center;
            padding: 80px 20px;
        }
        .not-found-box .nf-icon {
            font-size: 4rem;
            color: var(--text-muted);
            margin-bottom: 20px;
        }
        .not-found-box h2 { font-size: 1.8rem; margin-bottom: 12px; }
        .not-found-box p { color: var(--text-secondary); margin-bottom: 24px; }
        .not-found-box .btn-back {
            display: inline-block;
            padding: 12px 32px;
            background: var(--primary);
            color: #fff;
            border-radius: 50px;
            font-weight: 600;
        }
        .not-found-box .btn-back:hover { background: var(--primary-dark); }

        /* ===== Footer ===== */
        .site-footer {
            background: var(--bg-dark);
            color: rgba(255,255,255,0.8);
            padding: 60px 0 0;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
            padding-bottom: 40px;
            border-bottom: 1px solid rgba(255,255,255,0.08);
        }
        .footer-brand .site-logo { color: #fff; font-size: 1.5rem; display: inline-block; margin-bottom: 14px; }
        .footer-brand .site-logo span { color: var(--primary-light); }
        .footer-brand p { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.55); max-width: 360px; }
        .footer-col h4 {
            color: #fff;
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 18px;
        }
        .footer-col ul li { margin-bottom: 10px; }
        .footer-col ul a {
            color: rgba(255,255,255,0.55);
            font-size: 0.9rem;
            transition: var(--transition);
        }
        .footer-col ul a:hover { color: #fff; padding-left: 4px; }
        .footer-bottom {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 20px 0 24px;
            flex-wrap: wrap;
            gap: 12px;
            font-size: 0.85rem;
            color: rgba(255,255,255,0.4);
        }
        .footer-bottom a { color: rgba(255,255,255,0.5); }
        .footer-bottom a:hover { color: #fff; }
        .footer-social { display: flex; gap: 12px; }
        .footer-social a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: rgba(255,255,255,0.06);
            color: rgba(255,255,255,0.5);
            transition: var(--transition);
        }
        .footer-social a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

        /* ===== Responsive ===== */
        @media (max-width: 1024px) {
            .article-layout { grid-template-columns: 1fr; }
            .related-grid { grid-template-columns: repeat(2, 1fr); }
            .footer-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 768px) {
            .header-inner { gap: 16px; }
            .nav-search { display: none; }
            .nav-links { display: none; }
            .nav-toggle { display: block; }
            .nav-links.open {
                display: flex;
                flex-direction: column;
                position: absolute;
                top: var(--header-height);
                left: 0;
                right: 0;
                background: rgba(255,255,255,0.98);
                backdrop-filter: blur(12px);
                padding: 16px 24px;
                border-bottom: 1px solid var(--border-color);
                box-shadow: var(--shadow-lg);
                gap: 4px;
            }
            .nav-links.open a { padding: 12px 16px; border-radius: var(--radius-sm); }
            .article-banner { padding: 40px 0 28px; min-height: 180px; }
            .article-body { padding: 24px; }
            .article-meta { gap: 12px; font-size: 0.8rem; }
            .related-grid { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr; gap: 24px; }
            .footer-bottom { flex-direction: column; text-align: center; }
            .sidebar-card { padding: 20px; }
        }
        @media (max-width: 520px) {
            .container { padding: 0 16px; }
            .article-body { padding: 16px; }
            .article-banner h1 { font-size: 1.3rem; }
            .article-footer-bar { flex-direction: column; align-items: flex-start; }
            .related-card img { height: 140px; }
        }

        /* ===== Mobile Search Drawer ===== */
        .mobile-search-bar {
            display: none;
            padding: 12px 16px;
            background: var(--bg-white);
            border-bottom: 1px solid var(--border-color);
        }
        .mobile-search-bar.open { display: block; }
        .mobile-search-bar form {
            display: flex;
            align-items: center;
            background: var(--bg-gray);
            border-radius: 50px;
            padding: 0 6px 0 16px;
        }
        .mobile-search-bar input {
            flex: 1;
            padding: 10px 0;
            background: transparent;
            font-size: 0.95rem;
        }
        .mobile-search-bar .search-btn {
            padding: 8px 20px;
            background: var(--primary);
            color: #fff;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 600;
        }
        @media (max-width: 768px) {
            .mobile-search-bar.open { display: block; }
        }

/* roulang page: category1 */
/* ===== Design Variables ===== */
        :root {
            --primary: #e74c3c;
            --primary-dark: #c0392b;
            --primary-light: #fadbd8;
            --secondary: #2c3e50;
            --secondary-light: #34495e;
            --accent: #f39c12;
            --accent-light: #fdebd0;
            --bg: #f8f9fa;
            --bg-card: #ffffff;
            --bg-dark: #1a1a2e;
            --bg-dark-alt: #16213e;
            --text: #2c3e50;
            --text-light: #6c757d;
            --text-white: #ffffff;
            --border: #e9ecef;
            --border-light: #f0f0f0;
            --radius: 12px;
            --radius-sm: 8px;
            --radius-lg: 20px;
            --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
            --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.1);
            --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.04);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
            --max-width: 1200px;
            --header-height: 72px;
        }

        /* ===== Reset & Base ===== */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            -webkit-text-size-adjust: 100%;
        }

        body {
            font-family: var(--font);
            font-size: 16px;
            line-height: 1.7;
            color: var(--text);
            background: var(--bg);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            padding-top: var(--header-height);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        a {
            color: var(--primary);
            text-decoration: none;
            transition: var(--transition);
        }
        a:hover {
            color: var(--primary-dark);
        }

        ul,
        ol {
            list-style: none;
        }

        button,
        input,
        textarea {
            font-family: inherit;
            font-size: inherit;
            border: none;
            outline: none;
        }

        button {
            cursor: pointer;
            background: none;
        }

        .container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 20px;
        }

        /* ===== Header / Nav ===== */
        .site-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            height: var(--header-height);
            background: rgba(255, 255, 255, 0.97);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border);
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
        }

        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 100%;
            gap: 16px;
        }

        .site-logo {
            font-size: 1.6rem;
            font-weight: 800;
            color: var(--secondary);
            letter-spacing: -0.5px;
            white-space: nowrap;
            flex-shrink: 0;
        }
        .site-logo span {
            color: var(--primary);
        }
        .site-logo:hover {
            color: var(--secondary);
        }

        .nav-search {
            flex: 1;
            max-width: 480px;
            margin: 0 12px;
        }
        .nav-search form {
            display: flex;
            align-items: center;
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: 50px;
            padding: 0 4px 0 16px;
            transition: var(--transition);
        }
        .nav-search form:focus-within {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.12);
            background: #fff;
        }
        .nav-search .search-icon {
            color: var(--text-light);
            font-size: 0.95rem;
            margin-right: 8px;
            flex-shrink: 0;
        }
        .nav-search input {
            flex: 1;
            background: transparent;
            padding: 10px 0;
            font-size: 0.95rem;
            color: var(--text);
            min-width: 0;
        }
        .nav-search input::placeholder {
            color: var(--text-light);
            opacity: 0.8;
        }
        .nav-search .search-btn {
            background: var(--primary);
            color: #fff;
            padding: 8px 20px;
            border-radius: 50px;
            font-size: 0.9rem;
            font-weight: 600;
            transition: var(--transition);
            flex-shrink: 0;
        }
        .nav-search .search-btn:hover {
            background: var(--primary-dark);
            transform: scale(1.02);
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 6px;
            flex-shrink: 0;
        }
        .nav-links a {
            padding: 8px 16px;
            border-radius: 50px;
            font-size: 0.95rem;
            font-weight: 500;
            color: var(--text);
            transition: var(--transition);
            position: relative;
            white-space: nowrap;
        }
        .nav-links a:hover {
            background: var(--bg);
            color: var(--primary);
        }
        .nav-links a.active {
            background: var(--primary);
            color: #fff;
            font-weight: 600;
        }
        .nav-links a.active:hover {
            background: var(--primary-dark);
            color: #fff;
        }

        .nav-toggle {
            display: none;
            font-size: 1.5rem;
            color: var(--secondary);
            padding: 6px 10px;
            border-radius: var(--radius-sm);
            transition: var(--transition);
            flex-shrink: 0;
        }
        .nav-toggle:hover {
            background: var(--bg);
            color: var(--primary);
        }

        /* ===== Banner / Hero ===== */
        .category-banner {
            background: linear-gradient(135deg, var(--secondary) 0%, var(--bg-dark-alt) 60%, #0f3460 100%);
            padding: 80px 0 60px;
            position: relative;
            overflow: hidden;
            min-height: 360px;
            display: flex;
            align-items: center;
        }
        .category-banner::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
            opacity: 0.15;
            mix-blend-mode: overlay;
        }
        .category-banner::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            right: 0;
            height: 80px;
            background: var(--bg);
            clip-path: ellipse(70% 100% at 50% 100%);
        }
        .banner-content {
            position: relative;
            z-index: 2;
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
        }
        .banner-badge {
            display: inline-block;
            background: rgba(231, 76, 60, 0.2);
            color: var(--primary);
            padding: 6px 20px;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            border: 1px solid rgba(231, 76, 60, 0.25);
            margin-bottom: 20px;
            backdrop-filter: blur(4px);
        }
        .banner-content h1 {
            font-size: 3rem;
            font-weight: 800;
            color: var(--text-white);
            line-height: 1.2;
            margin-bottom: 16px;
            letter-spacing: -0.5px;
        }
        .banner-content h1 span {
            color: var(--primary);
        }
        .banner-content p {
            font-size: 1.15rem;
            color: rgba(255, 255, 255, 0.85);
            max-width: 640px;
            margin: 0 auto 28px;
            line-height: 1.8;
        }
        .banner-stats {
            display: flex;
            justify-content: center;
            gap: 40px;
            flex-wrap: wrap;
        }
        .banner-stats .stat-item {
            text-align: center;
            color: #fff;
        }
        .banner-stats .stat-num {
            font-size: 2rem;
            font-weight: 800;
            color: var(--accent);
            display: block;
            line-height: 1.2;
        }
        .banner-stats .stat-label {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.7);
            margin-top: 4px;
        }

        /* ===== Category Tabs ===== */
        .category-tabs {
            background: var(--bg-card);
            border-bottom: 1px solid var(--border);
            padding: 16px 0;
            position: sticky;
            top: var(--header-height);
            z-index: 100;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
        }
        .tabs-scroll {
            display: flex;
            gap: 8px;
            overflow-x: auto;
            padding-bottom: 4px;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
        }
        .tabs-scroll::-webkit-scrollbar {
            display: none;
        }
        .tabs-scroll a {
            padding: 8px 20px;
            border-radius: 50px;
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text-light);
            background: var(--bg);
            border: 1px solid var(--border);
            white-space: nowrap;
            transition: var(--transition);
            flex-shrink: 0;
        }
        .tabs-scroll a:hover {
            border-color: var(--primary);
            color: var(--primary);
        }
        .tabs-scroll a.active-tab {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
            font-weight: 600;
        }

        /* ===== Section Common ===== */
        .section {
            padding: 70px 0;
        }
        .section-alt {
            background: var(--bg-card);
        }
        .section-title {
            font-size: 2rem;
            font-weight: 800;
            color: var(--secondary);
            margin-bottom: 10px;
            letter-spacing: -0.3px;
        }
        .section-subtitle {
            color: var(--text-light);
            font-size: 1.05rem;
            margin-bottom: 40px;
            max-width: 600px;
        }
        .section-title-center {
            text-align: center;
        }
        .section-subtitle-center {
            text-align: center;
            margin-left: auto;
            margin-right: auto;
        }

        /* ===== Grids ===== */
        .grid-3 {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }
        .grid-2 {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 24px;
        }

        /* ===== Card ===== */
        .card {
            background: var(--bg-card);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow-card);
            transition: var(--transition);
            border: 1px solid var(--border-light);
            display: flex;
            flex-direction: column;
        }
        .card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-hover);
            border-color: transparent;
        }
        .card-img {
            position: relative;
            overflow: hidden;
            aspect-ratio: 16/9;
            background: var(--bg);
        }
        .card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        .card:hover .card-img img {
            transform: scale(1.05);
        }
        .card-tag {
            position: absolute;
            top: 12px;
            left: 12px;
            background: var(--primary);
            color: #fff;
            padding: 4px 14px;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 600;
            z-index: 2;
        }
        .card-tag.hot {
            background: var(--accent);
        }
        .card-tag.new {
            background: #27ae60;
        }
        .card-body {
            padding: 20px 22px 22px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .card-body h3 {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--secondary);
            margin-bottom: 8px;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .card-body h3 a {
            color: inherit;
        }
        .card-body h3 a:hover {
            color: var(--primary);
        }
        .card-body p {
            font-size: 0.92rem;
            color: var(--text-light);
            line-height: 1.6;
            margin-bottom: 14px;
            flex: 1;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .card-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 0.82rem;
            color: var(--text-light);
            padding-top: 12px;
            border-top: 1px solid var(--border-light);
        }
        .card-meta span i {
            margin-right: 4px;
        }
        .card-meta .views {
            color: var(--primary);
            font-weight: 500;
        }

        /* ===== Featured / Large Card ===== */
        .featured-card {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0;
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow);
            border: 1px solid var(--border-light);
            transition: var(--transition);
        }
        .featured-card:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-4px);
        }
        .featured-card .fc-img {
            aspect-ratio: 4/3;
            overflow: hidden;
            background: var(--bg);
        }
        .featured-card .fc-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        .featured-card:hover .fc-img img {
            transform: scale(1.04);
        }
        .featured-card .fc-body {
            padding: 36px 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .featured-card .fc-body .fc-badge {
            display: inline-block;
            background: var(--primary-light);
            color: var(--primary);
            padding: 4px 16px;
            border-radius: 50px;
            font-size: 0.78rem;
            font-weight: 600;
            margin-bottom: 14px;
            align-self: flex-start;
        }
        .featured-card .fc-body h2 {
            font-size: 1.65rem;
            font-weight: 800;
            color: var(--secondary);
            margin-bottom: 12px;
            line-height: 1.3;
        }
        .featured-card .fc-body h2 a {
            color: inherit;
        }
        .featured-card .fc-body h2 a:hover {
            color: var(--primary);
        }
        .featured-card .fc-body p {
            color: var(--text-light);
            font-size: 1rem;
            line-height: 1.7;
            margin-bottom: 18px;
        }
        .featured-card .fc-meta {
            display: flex;
            gap: 20px;
            font-size: 0.85rem;
            color: var(--text-light);
        }
        .featured-card .fc-meta i {
            margin-right: 4px;
        }

        /* ===== Pagination ===== */
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            margin-top: 48px;
            flex-wrap: wrap;
        }
        .pagination a,
        .pagination span {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            border-radius: var(--radius-sm);
            font-size: 0.95rem;
            font-weight: 500;
            color: var(--text);
            background: var(--bg-card);
            border: 1px solid var(--border);
            transition: var(--transition);
        }
        .pagination a:hover {
            border-color: var(--primary);
            color: var(--primary);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(231, 76, 60, 0.12);
        }
        .pagination .active-page {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
            font-weight: 700;
        }
        .pagination .next-prev {
            width: auto;
            padding: 0 18px;
        }

        /* ===== Hot List / Ranking ===== */
        .hot-list {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }
        .hot-item {
            display: flex;
            align-items: center;
            gap: 16px;
            background: var(--bg-card);
            padding: 16px 20px;
            border-radius: var(--radius-sm);
            border: 1px solid var(--border-light);
            transition: var(--transition);
        }
        .hot-item:hover {
            border-color: var(--primary);
            box-shadow: 0 4px 16px rgba(231, 76, 60, 0.08);
            transform: translateX(4px);
        }
        .hot-item .rank {
            font-size: 1.4rem;
            font-weight: 800;
            color: var(--text-light);
            min-width: 32px;
            text-align: center;
            line-height: 1;
        }
        .hot-item .rank.top {
            color: var(--primary);
        }
        .hot-item .rank.top2 {
            color: var(--accent);
        }
        .hot-item .rank.top3 {
            color: #e67e22;
        }
        .hot-item .hot-info {
            flex: 1;
            min-width: 0;
        }
        .hot-item .hot-info h4 {
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--secondary);
            margin-bottom: 2px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .hot-item .hot-info h4 a {
            color: inherit;
        }
        .hot-item .hot-info h4 a:hover {
            color: var(--primary);
        }
        .hot-item .hot-info span {
            font-size: 0.8rem;
            color: var(--text-light);
        }
        .hot-item .hot-info span i {
            margin-right: 4px;
        }
        .hot-item .hot-tag {
            font-size: 0.72rem;
            padding: 2px 12px;
            border-radius: 50px;
            font-weight: 600;
            flex-shrink: 0;
        }
        .hot-item .hot-tag.hot {
            background: #fdebd0;
            color: #e67e22;
        }
        .hot-item .hot-tag.new {
            background: #d5f5e3;
            color: #27ae60;
        }
        .hot-item .hot-tag.top {
            background: var(--primary-light);
            color: var(--primary);
        }

        /* ===== FAQ ===== */
        .faq-grid {
            max-width: 780px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .faq-item {
            background: var(--bg-card);
            border: 1px solid var(--border-light);
            border-radius: var(--radius-sm);
            overflow: hidden;
            transition: var(--transition);
        }
        .faq-item:hover {
            border-color: var(--border);
            box-shadow: var(--shadow-card);
        }
        .faq-question {
            padding: 18px 24px;
            font-size: 1rem;
            font-weight: 600;
            color: var(--secondary);
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 16px;
            background: transparent;
            width: 100%;
            text-align: left;
            transition: var(--transition);
        }
        .faq-question:hover {
            color: var(--primary);
        }
        .faq-question i {
            transition: transform 0.3s ease;
            color: var(--text-light);
            font-size: 1.1rem;
            flex-shrink: 0;
        }
        .faq-item.active .faq-question i {
            transform: rotate(180deg);
            color: var(--primary);
        }
        .faq-answer {
            padding: 0 24px 18px;
            font-size: 0.95rem;
            color: var(--text-light);
            line-height: 1.7;
            display: none;
        }
        .faq-item.active .faq-answer {
            display: block;
        }

        /* ===== CTA ===== */
        .cta-section {
            background: linear-gradient(135deg, var(--secondary) 0%, var(--bg-dark-alt) 100%);
            padding: 80px 0;
            text-align: center;
            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;
            mix-blend-mode: overlay;
        }
        .cta-section .container {
            position: relative;
            z-index: 2;
        }
        .cta-section h2 {
            font-size: 2.4rem;
            font-weight: 800;
            color: var(--text-white);
            margin-bottom: 14px;
        }
        .cta-section p {
            font-size: 1.1rem;
            color: rgba(255, 255, 255, 0.8);
            max-width: 560px;
            margin: 0 auto 30px;
        }
        .cta-section .cta-btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: var(--primary);
            color: #fff;
            padding: 16px 40px;
            border-radius: 50px;
            font-size: 1.05rem;
            font-weight: 700;
            transition: var(--transition);
            border: none;
        }
        .cta-section .cta-btn:hover {
            background: var(--primary-dark);
            transform: translateY(-3px);
            box-shadow: 0 16px 40px rgba(231, 76, 60, 0.3);
        }
        .cta-section .cta-btn i {
            font-size: 1.1rem;
        }

        /* ===== Footer ===== */
        .site-footer {
            background: var(--bg-dark);
            color: rgba(255, 255, 255, 0.7);
            padding: 60px 0 0;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
            gap: 40px;
            padding-bottom: 40px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }
        .footer-brand .site-logo {
            font-size: 1.5rem;
            color: #fff;
            display: inline-block;
            margin-bottom: 14px;
        }
        .footer-brand .site-logo span {
            color: var(--primary);
        }
        .footer-brand p {
            font-size: 0.9rem;
            line-height: 1.7;
            color: rgba(255, 255, 255, 0.55);
            max-width: 320px;
        }
        .footer-col h4 {
            color: #fff;
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 16px;
            position: relative;
            padding-bottom: 8px;
        }
        .footer-col h4::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 32px;
            height: 3px;
            background: var(--primary);
            border-radius: 4px;
        }
        .footer-col ul li {
            margin-bottom: 10px;
        }
        .footer-col ul li a {
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.9rem;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
        }
        .footer-col ul li a:hover {
            color: var(--primary);
            transform: translateX(4px);
        }
        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 24px 0 30px;
            flex-wrap: wrap;
            gap: 16px;
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.4);
        }
        .footer-bottom a {
            color: rgba(255, 255, 255, 0.5);
        }
        .footer-bottom a:hover {
            color: var(--primary);
        }
        .footer-social {
            display: flex;
            gap: 12px;
        }
        .footer-social a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.06);
            color: rgba(255, 255, 255, 0.5);
            font-size: 1.1rem;
            transition: var(--transition);
        }
        .footer-social a:hover {
            background: var(--primary);
            color: #fff;
            transform: translateY(-3px);
        }

        /* ===== Responsive ===== */
        @media (max-width: 1024px) {
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 30px;
            }
            .featured-card .fc-body {
                padding: 28px 30px;
            }
            .featured-card .fc-body h2 {
                font-size: 1.35rem;
            }
        }

        @media (max-width: 900px) {
            .nav-search {
                max-width: 300px;
            }
            .grid-3 {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }
            .category-banner {
                padding: 60px 0 50px;
                min-height: 300px;
            }
            .banner-content h1 {
                font-size: 2.2rem;
            }
            .banner-stats {
                gap: 24px;
            }
            .banner-stats .stat-num {
                font-size: 1.6rem;
            }
            .hot-list {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            body {
                padding-top: 64px;
            }
            :root {
                --header-height: 64px;
            }
            .nav-links {
                position: fixed;
                top: var(--header-height);
                left: 0;
                right: 0;
                background: rgba(255, 255, 255, 0.98);
                backdrop-filter: blur(12px);
                flex-direction: column;
                padding: 16px 20px;
                gap: 4px;
                border-bottom: 1px solid var(--border);
                box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
                transform: translateY(-110%);
                opacity: 0;
                transition: var(--transition);
                pointer-events: none;
                z-index: 999;
            }
            .nav-links.open {
                transform: translateY(0);
                opacity: 1;
                pointer-events: auto;
            }
            .nav-links a {
                width: 100%;
                padding: 12px 16px;
                border-radius: var(--radius-sm);
            }
            .nav-toggle {
                display: block;
            }
            .nav-search {
                max-width: 200px;
                margin: 0 8px;
            }
            .nav-search .search-btn {
                padding: 8px 14px;
                font-size: 0.82rem;
            }

            .category-banner {
                padding: 44px 0 40px;
                min-height: 240px;
            }
            .banner-content h1 {
                font-size: 1.8rem;
            }
            .banner-content p {
                font-size: 1rem;
            }
            .banner-stats .stat-num {
                font-size: 1.3rem;
            }
            .banner-stats .stat-label {
                font-size: 0.75rem;
            }

            .section {
                padding: 50px 0;
            }
            .section-title {
                font-size: 1.6rem;
            }
            .grid-3,
            .grid-2 {
                grid-template-columns: 1fr;
                gap: 16px;
            }

            .featured-card {
                grid-template-columns: 1fr;
            }
            .featured-card .fc-img {
                aspect-ratio: 16/9;
            }
            .featured-card .fc-body {
                padding: 24px 22px;
            }
            .featured-card .fc-body h2 {
                font-size: 1.2rem;
            }

            .category-tabs {
                padding: 12px 0;
            }
            .tabs-scroll a {
                padding: 6px 16px;
                font-size: 0.82rem;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }
            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }

            .cta-section h2 {
                font-size: 1.7rem;
            }
            .cta-section .cta-btn {
                padding: 14px 30px;
                font-size: 0.95rem;
            }

            .pagination a,
            .pagination span {
                width: 38px;
                height: 38px;
                font-size: 0.85rem;
            }
            .pagination .next-prev {
                width: auto;
                padding: 0 14px;
            }

            .faq-question {
                padding: 14px 18px;
                font-size: 0.92rem;
            }
            .faq-answer {
                padding: 0 18px 14px;
                font-size: 0.88rem;
            }
        }

        @media (max-width: 520px) {
            .nav-search input {
                font-size: 0.85rem;
            }
            .nav-search .search-btn {
                padding: 6px 12px;
                font-size: 0.75rem;
            }
            .nav-search {
                max-width: 140px;
            }
            .site-logo {
                font-size: 1.3rem;
            }
            .banner-content h1 {
                font-size: 1.5rem;
            }
            .banner-stats {
                gap: 16px;
            }
            .banner-stats .stat-num {
                font-size: 1.1rem;
            }
            .section-title {
                font-size: 1.35rem;
            }
            .hot-item {
                padding: 12px 16px;
                gap: 12px;
            }
            .hot-item .rank {
                font-size: 1.1rem;
                min-width: 24px;
            }
            .hot-item .hot-info h4 {
                font-size: 0.85rem;
            }
            .card-body {
                padding: 16px 18px 18px;
            }
            .card-body h3 {
                font-size: 1rem;
            }
            .cta-section h2 {
                font-size: 1.4rem;
            }
            .cta-section p {
                font-size: 0.95rem;
            }
        }
