/* roulang page: index */
/* ===== 设计变量 ===== */
        :root {
            --bg-base: #FAF9F6;
            --bg-card: #FFFFFF;
            --bg-soft: #F2EFE9;
            --text-primary: #1B1D1F;
            --text-secondary: #5B626A;
            --text-tertiary: #8A9098;
            --line: #E6E2DA;
            --primary: #DE7A00;
            --primary-hover: #BC6500;
            --primary-soft: #FCE9D5;
            --success: #3E7B4C;
            --success-soft: #E5F2E8;
            --radius-md: 10px;
            --radius-lg: 18px;
            --radius-pill: 999px;
            --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 4px 12px rgba(0,0,0,.05);
            --shadow-md: 0 8px 24px rgba(0,0,0,.07);
            --shadow-lg: 0 20px 50px rgba(0,0,0,.10);
            --font-sans: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
            --font-size-base: 16px;
            --space-section: clamp(72px, 8vw, 120px);
        }

        /* ===== Reset / Base ===== */
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; }
        body {
            font-family: var(--font-sans);
            font-size: var(--font-size-base);
            line-height: 1.75;
            color: var(--text-primary);
            background: var(--bg-base);
            -webkit-font-smoothing: antialiased;
        }
        img { max-width: 100%; display: block; }
        a { text-decoration: none; color: inherit; }
        ul, ol { list-style: none; }
        button, input, select, textarea { font-family: inherit; font-size: inherit; border: none; background: none; }
        button { cursor: pointer; }
        :focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

        /* ===== 容器 ===== */
        .container, .grid-container {
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
            padding-left: 24px;
            padding-right: 24px;
        }
        @media (max-width: 639px) {
            .container, .grid-container { padding-left: 16px; padding-right: 16px; }
        }

        /* ===== 按钮 ===== */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            height: 48px;
            padding: 0 28px;
            border-radius: var(--radius-pill);
            font-weight: 600;
            font-size: 15px;
            line-height: 1;
            transition: all .18s ease;
            white-space: nowrap;
            border: 1.5px solid transparent;
        }
        .btn-primary { background: var(--primary); color: #fff; }
        .btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(222,122,0,.28); }
        .btn-primary:active { transform: translateY(0); }
        .btn-secondary { background: var(--bg-card); color: var(--text-primary); border-color: var(--line); }
        .btn-secondary:hover { border-color: var(--text-tertiary); background: var(--bg-soft); }
        .btn-white { background: #fff; color: var(--text-primary); }
        .btn-white:hover { background: var(--primary-soft); }
        .btn-sm { height: 40px; padding: 0 20px; font-size: 14px; }

        /* ===== 徽章 / 标签 ===== */
        .badge, .tag {
            display: inline-flex;
            align-items: center;
            height: 22px;
            padding: 0 12px;
            border-radius: var(--radius-pill);
            font-size: 13px;
            font-weight: 500;
            letter-spacing: .02em;
            background: var(--bg-soft);
            color: var(--text-secondary);
            line-height: 1;
        }
        .badge-primary { background: var(--primary-soft); color: var(--primary); }
        .badge-success { background: var(--success-soft); color: var(--success); }

        /* ===== Header ===== */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 100;
            background: var(--bg-card);
            border-bottom: 1px solid var(--line);
            box-shadow: var(--shadow-sm);
        }
        .nav-wrap {
            display: flex;
            align-items: center;
            height: 72px;
            gap: 24px;
        }
        .brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
        .brand-icon {
            width: 38px; height: 38px;
            border-radius: 12px;
            background: var(--text-primary);
            display: flex; align-items: center; justify-content: center;
            transition: background .2s;
        }
        .brand-icon svg { width: 20px; height: 20px; }
        .brand-text { font-size: 20px; font-weight: 800; color: var(--text-primary); letter-spacing: -0.02em; }
        .nav-right { display: flex; align-items: center; gap: 20px; margin-left: auto; flex: 1; }
        .main-nav { display: flex; align-items: center; gap: 28px; margin-left: 16px; }
        .nav-link {
            position: relative;
            font-size: 14px;
            font-weight: 500;
            color: var(--text-secondary);
            padding: 6px 0;
            transition: color .18s;
        }
        .nav-link::after {
            content: "";
            position: absolute;
            left: 0; bottom: 0;
            height: 2px;
            width: 0;
            background: var(--primary);
            border-radius: 2px;
            transition: width .18s ease;
        }
        .nav-link:hover { color: var(--primary); }
        .nav-link:hover::after { width: 100%; }
        .nav-link.active { color: var(--primary); }
        .nav-link.active::after { width: 100%; }
        .nav-tools { display: flex; align-items: center; gap: 14px; margin-left: auto; }
        .header-search {
            display: flex; align-items: center; gap: 8px;
            width: 200px; height: 40px;
            background: var(--bg-soft);
            border-radius: var(--radius-pill);
            padding: 0 16px;
            color: var(--text-tertiary);
            transition: box-shadow .18s, background .18s;
        }
        .header-search:focus-within {
            background: var(--bg-card);
            box-shadow: 0 0 0 3px rgba(222,122,0,.15);
            border: 1px solid var(--primary);
        }
        .header-search input { flex: 1; font-size: 14px; color: var(--text-primary); background: transparent; }
        .header-search input::placeholder { color: var(--text-tertiary); }
        .nav-toggle { display: none; font-size: 22px; color: var(--text-primary); padding: 6px; }

        /* ===== Hero ===== */
        .hero { position: relative; overflow: hidden; }
        .hero-bg {
            position: absolute; inset: 0;
            background-size: cover; background-position: center;
        }
        .hero-overlay {
            position: absolute; inset: 0;
            background: linear-gradient(120deg, rgba(251,249,244,.96) 0%, rgba(251,249,244,.85) 40%, rgba(251,249,244,.45) 100%);
        }
        .hero-inner {
            position: relative;
            padding-top: clamp(72px, 9vw, 140px);
            padding-bottom: clamp(72px, 9vw, 140px);
            text-align: center;
            max-width: 860px;
        }
        .hero-badge { display: inline-flex; margin-bottom: 24px; }
        .hero h1 {
            font-size: clamp(34px, 5vw, 52px);
            font-weight: 800;
            line-height: 1.15;
            letter-spacing: -0.02em;
            color: var(--text-primary);
            max-width: 760px;
            margin: 0 auto 20px;
        }
        .hero-desc {
            font-size: 17px;
            color: var(--text-secondary);
            line-height: 1.75;
            max-width: 620px;
            margin: 0 auto 36px;
        }
        .hero-search {
            display: flex;
            align-items: center;
            gap: 10px;
            background: var(--bg-card);
            border-radius: var(--radius-pill);
            box-shadow: var(--shadow-md);
            padding: 8px 8px 8px 20px;
            max-width: 560px;
            margin: 0 auto 32px;
            border: 1px solid var(--line);
        }
        .hero-search i { color: var(--text-tertiary); font-size: 16px; }
        .hero-search input { flex: 1; font-size: 15px; color: var(--text-primary); }
        .hero-search input::placeholder { color: var(--text-tertiary); }
        .hero-stats {
            display: flex;
            justify-content: center;
            gap: clamp(28px, 6vw, 80px);
            margin-bottom: 36px;
        }
        .hero-stats .stat { text-align: center; }
        .hero-stats .stat strong {
            display: block;
            font-size: clamp(28px, 3.5vw, 36px);
            font-weight: 800;
            font-variant-numeric: tabular-nums;
            color: var(--text-primary);
            letter-spacing: -0.02em;
        }
        .hero-stats .stat span { font-size: 13px; color: var(--text-tertiary); }
        .hero-tags {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px;
        }
        .hero-tags > span { font-size: 13px; color: var(--text-tertiary); }
        .hero-tags .tag {
            background: var(--bg-card);
            border: 1px solid var(--line);
            color: var(--text-secondary);
            transition: all .18s;
        }
        .hero-tags .tag:hover { background: var(--primary-soft); color: var(--primary); border-color: var(--primary-soft); }

        /* ===== 区块通用 ===== */
        .section { padding-top: var(--space-section); padding-bottom: var(--space-section); }
        .section-head {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 24px;
            margin-bottom: 40px;
            flex-wrap: wrap;
        }
        .section-eyebrow { display: block; font-size: 13px; color: var(--primary); font-weight: 600; margin-bottom: 10px; letter-spacing: .04em; }
        .section-head h2 { font-size: clamp(24px, 3.2vw, 36px); font-weight: 700; line-height: 1.25; color: var(--text-primary); letter-spacing: -0.02em; }
        .section-head p { font-size: 15px; color: var(--text-secondary); max-width: 520px; margin-top: 10px; }
        .link-more {
            display: inline-flex; align-items: center; gap: 8px;
            font-size: 14px; font-weight: 600; color: var(--primary);
            padding: 8px 0;
            transition: gap .18s;
        }
        .link-more:hover { gap: 12px; }

        /* ===== 合集目录 ===== */
        .collection-section { background: var(--bg-base); }
        .collection-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
        .collection-card {
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--line);
            padding: 28px;
            transition: box-shadow .18s ease, transform .18s ease;
        }
        .collection-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
        .collection-card-large { grid-column: span 6; }
        .collection-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; display: flex; align-items: center; gap: 12px; }
        .collection-card .card-sub { font-size: 13px; color: var(--text-tertiary); margin-bottom: 20px; }
        .collection-card .card-icon {
            width: 44px; height: 44px;
            border-radius: 12px;
            background: var(--primary-soft);
            color: var(--primary);
            display: inline-flex; align-items: center; justify-content: center;
            font-size: 18px;
        }
        .collection-card ul { margin-top: 8px; }
        .collection-card ul li {
            display: flex; align-items: center; justify-content: space-between;
            padding: 10px 0;
            border-bottom: 1px solid var(--line);
            font-size: 14px;
            color: var(--text-secondary);
        }
        .collection-card ul li:last-child { border-bottom: none; }
        .collection-card ul li strong { color: var(--text-primary); font-weight: 600; }
        .collection-card ul li span { color: var(--text-tertiary); font-size: 13px; }
        .collection-cell {
            grid-column: span 3;
            background: var(--bg-card);
            border: 1px solid var(--line);
            border-radius: var(--radius-md);
            padding: 24px;
            display: flex; flex-direction: column; justify-content: space-between;
            cursor: pointer;
            transition: background .18s, box-shadow .18s;
        }
        .collection-cell:hover { background: var(--bg-soft); box-shadow: var(--shadow-sm); }
        .collection-cell .cell-icon { font-size: 20px; color: var(--primary); margin-bottom: 12px; }
        .collection-cell .cell-name { font-size: 17px; font-weight: 650; color: var(--text-primary); }
        .collection-cell .cell-count { font-size: 13px; color: var(--text-tertiary); margin-top: 4px; }

        /* ===== 相关推荐 ===== */
        .recommend-section { background: var(--bg-soft); }
        .resource-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
        .resource-card {
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--line);
            transition: box-shadow .18s ease, transform .18s ease;
            display: flex; flex-direction: column;
        }
        .resource-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
        .resource-thumb { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-soft); }
        .resource-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
        .resource-card:hover .resource-thumb img { transform: scale(1.04); }
        .resource-info { padding: 20px; display: flex; flex-direction: column; flex: 1; }
        .resource-tag { align-self: flex-start; margin-bottom: 10px; }
        .resource-title { font-size: 16px; font-weight: 650; color: var(--text-primary); line-height: 1.4; margin-bottom: 6px; }
        .resource-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.6; flex: 1; }
        .resource-meta { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 12px; color: var(--text-tertiary); }
        .resource-meta i { margin-right: 4px; }

        /* ===== 资讯 ===== */
        .news-section { background: var(--bg-base); }
        .news-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
        .news-list-ul { display: flex; flex-direction: column; }
        .news-item {
            display: flex;
            align-items: center;
            padding: 20px 0;
            border-bottom: 1px solid var(--line);
            gap: 20px;
            transition: background .15s;
        }
        .news-item:first-child { padding-top: 0; }
        .news-item:last-child { border-bottom: none; }
        .news-item .news-index { font-size: 22px; font-weight: 800; color: var(--primary-soft); font-variant-numeric: tabular-nums; width: 40px; }
        .news-item .news-link { font-size: 15px; font-weight: 600; color: var(--text-primary); transition: color .15s; }
        .news-item .news-link:hover { color: var(--primary); }
        .news-item .news-date { margin-left: auto; font-size: 13px; color: var(--text-tertiary); white-space: nowrap; }
        .news-side {
            background: var(--bg-card);
            border: 1px solid var(--line);
            border-radius: var(--radius-lg);
            padding: 28px;
            box-shadow: var(--shadow-sm);
        }
        .news-side h4 { font-size: 16px; font-weight: 700; margin-bottom: 20px; }
        .news-side .side-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
        .news-side .side-tags .tag:hover { background: var(--primary-soft); color: var(--primary); }
        .news-side .side-list li { padding: 10px 0; border-bottom: 1px dashed var(--line); }
        .news-side .side-list li:last-child { border-bottom: none; }
        .news-side .side-list a { font-size: 14px; color: var(--text-secondary); transition: color .15s; }
        .news-side .side-list a:hover { color: var(--primary); }

        /* ===== 收藏分享 ===== */
        .share-section { background: var(--bg-base); padding-bottom: calc(var(--space-section) * 0.8); }
        .share-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
        .share-copy h2 { font-size: clamp(24px, 3.2vw, 36px); font-weight: 700; margin-bottom: 16px; letter-spacing: -0.02em; }
        .share-copy p { color: var(--text-secondary); font-size: 15px; max-width: 460px; }
        .share-points { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
        .share-point {
            background: var(--bg-card);
            border: 1px solid var(--line);
            border-radius: var(--radius-md);
            padding: 22px;
            transition: box-shadow .18s, transform .18s;
        }
        .share-point:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
        .share-point .point-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 16px; margin-bottom: 12px; }
        .share-point h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
        .share-point p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

        /* ===== FAQ ===== */
        .faq-section { background: var(--bg-card); }
        .faq-head { text-align: center; margin-bottom: 44px; }
        .faq-head h2 { font-size: clamp(24px, 3.2vw, 36px); font-weight: 700; letter-spacing: -0.02em; }
        .accordion { max-width: 760px; margin: 0 auto; }
        .accordion-item { border: 1px solid var(--line); border-bottom: none; transition: border-color .2s; }
        .accordion-item:last-child { border-bottom: 1px solid var(--line); }
        .accordion-item.is-active { border-left: 3px solid var(--primary); }
        .accordion-title {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 20px 24px;
            font-size: 16px;
            font-weight: 650;
            color: var(--text-primary);
            cursor: pointer;
            transition: background .15s;
        }
        .accordion-title:hover { background: var(--bg-soft); }
        .accordion-title .fa-chevron-down { transition: transform .2s; color: var(--text-tertiary); font-size: 14px; }
        .accordion-item.is-active .accordion-title .fa-chevron-down { transform: rotate(180deg); }
        .accordion-content { padding: 0 24px 22px; font-size: 14px; color: var(--text-secondary); line-height: 1.8; }

        /* ===== CTA ===== */
        .cta-bar { background: var(--text-primary); padding: 48px 0; }
        .cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
        .cta-inner h3 { color: #fff; font-size: 22px; font-weight: 700; }
        .cta-inner p { color: rgba(255,255,255,.7); font-size: 14px; margin-top: 6px; }
        .cta-inner .btn { background: var(--bg-card); color: var(--text-primary); }

        /* ===== Footer ===== */
        .site-footer { background: #16181A; color: rgba(255,255,255,.75); padding: 64px 0 0; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 40px; }
        .footer-brand .brand-text { color: #fff; }
        .footer-brand p { font-size: 14px; margin-top: 16px; max-width: 320px; line-height: 1.75; color: rgba(255,255,255,.6); }
        .footer-nav h5, .footer-info h5 { font-size: 14px; color: #fff; margin-bottom: 16px; font-weight: 700; }
        .footer-nav ul li { margin-bottom: 10px; }
        .footer-nav ul a { font-size: 14px; color: rgba(255,255,255,.65); transition: color .15s; }
        .footer-nav ul a:hover { color: var(--primary); }
        .footer-info p { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.8; }
        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,.1);
            padding: 20px 0;
            display: flex; align-items: center; justify-content: space-between;
            gap: 16px;
            flex-wrap: wrap;
            font-size: 13px;
            color: rgba(255,255,255,.5);
        }
        .footer-bottom a { color: rgba(255,255,255,.5); transition: color .15s; }
        .footer-bottom a:hover { color: var(--primary); }

        /* ===== 分类页特有 ===== */
        .breadcrumb { padding-top: 32px; font-size: 13px; color: var(--text-tertiary); }
        .breadcrumb a { color: var(--text-tertiary); transition: color .15s; }
        .breadcrumb a:hover { color: var(--primary); }
        .category-head { padding: 40px 0 32px; position: relative; }
        .category-head h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
        .category-head .category-sub { font-size: 14px; color: var(--text-secondary); margin-top: 12px; max-width: 640px; }
        .category-stats { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
        .category-stats .badge { height: 26px; padding: 0 16px; }
        .filter-toolbar {
            background: var(--bg-card);
            border: 1px solid var(--line);
            border-radius: var(--radius-lg);
            padding: 16px 20px;
            display: flex; align-items: center; justify-content: space-between;
            gap: 20px;
            flex-wrap: wrap;
            margin-bottom: 32px;
            box-shadow: var(--shadow-sm);
            position: sticky;
            top: 72px;
            z-index: 10;
        }
        .filter-group { display: flex; gap: 8px; flex-wrap: wrap; }
        .filter-btn {
            height: 34px;
            padding: 0 18px;
            border-radius: var(--radius-pill);
            font-size: 13px;
            font-weight: 500;
            background: var(--bg-card);
            border: 1px solid var(--line);
            color: var(--text-secondary);
            transition: all .18s;
        }
        .filter-btn:hover { border-color: var(--primary); color: var(--primary); }
        .filter-btn.active { background: var(--text-primary); color: #fff; border-color: var(--text-primary); }
        .sort-group { display: flex; gap: 16px; }
        .sort-btn { font-size: 13px; font-weight: 500; color: var(--text-tertiary); padding: 4px 0; transition: color .15s; }
        .sort-btn:hover { color: var(--primary); }
        .sort-btn.active { color: var(--primary); border-bottom: 2px solid var(--primary); }
        .category-resource-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
        .category-resource-card {
            display: flex;
            background: var(--bg-card);
            border: 1px solid var(--line);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: box-shadow .18s, transform .18s;
        }
        .category-resource-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
        .cr-thumb { width: 200px; flex-shrink: 0; min-height: 170px; background: var(--bg-soft); }
        .cr-thumb img { width: 100%; height: 100%; object-fit: cover; }
        .cr-content { padding: 20px 22px; display: flex; flex-direction: column; flex: 1; }
        .cr-tagline { align-self: flex-start; }
        .cr-title { font-size: 17px; font-weight: 700; color: var(--text-primary); margin-top: 8px; line-height: 1.4; }
        .cr-desc { font-size: 13px; color: var(--text-secondary); margin-top: 6px; line-height: 1.6; flex: 1; }
        .cr-meta { display: flex; gap: 14px; font-size: 12px; color: var(--text-tertiary); margin-top: 12px; flex-wrap: wrap; }
        .cr-meta span { display: inline-flex; align-items: center; gap: 4px; }
        .cr-arrow {
            width: 36px; height: 36px;
            border-radius: 50%;
            border: 1.5px solid var(--line);
            display: flex; align-items: center; justify-content: center;
            color: var(--primary);
            transition: all .18s;
            margin-top: 12px;
            align-self: flex-end;
        }
        .category-resource-card:hover .cr-arrow { background: var(--primary); border-color: var(--primary); color: #fff; }
        .pagination-wrap { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 48px 0; }
        .page-btn {
            width: 40px; height: 40px;
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            font-size: 14px;
            background: var(--bg-card);
            border: 1px solid var(--line);
            color: var(--text-secondary);
            transition: all .18s;
        }
        .page-btn:hover { border-color: var(--primary); color: var(--primary); }
        .page-btn.active { background: var(--text-primary); color: #fff; border-color: var(--text-primary); }
        .page-btn.disabled { opacity: .4; pointer-events: none; }

        /* ===== 响应式 ===== */
        @media (max-width: 1023px) {
            .resource-grid { grid-template-columns: repeat(2, 1fr); }
            .news-layout { grid-template-columns: 1fr; }
            .collection-card-large { grid-column: span 12; }
            .collection-cell { grid-column: span 6; }
            .cr-thumb { width: 160px; }
        }
        @media (max-width: 767px) {
            .nav-wrap { height: 64px; }
            .nav-right { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg-card); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); padding: 20px; flex-direction: column; align-items: stretch; gap: 16px; }
            .nav-right.open { display: flex; }
            .nav-toggle { display: inline-flex; margin-left: auto; }
            .main-nav { flex-direction: column; gap: 12px; margin-left: 0; align-items: stretch; }
            .nav-link { padding: 10px 0; font-size: 15px; }
            .nav-tools { margin-left: 0; flex-wrap: wrap; }
            .header-search { width: 100%; }
            .hero-inner { padding-top: 56px; padding-bottom: 64px; }
            .hero-stats { gap: 24px; }
            .hero-search { flex-wrap: wrap; border-radius: 20px; padding: 12px; }
            .hero-search .btn { width: 100%; }
            .share-layout { grid-template-columns: 1fr; gap: 32px; }
            .share-points { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr; gap: 32px; }
            .category-resource-grid { grid-template-columns: 1fr; }
            .filter-toolbar { flex-direction: column; align-items: stretch; }
            .filter-group { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
            .sort-group { justify-content: flex-end; }
        }
        @media (max-width: 639px) {
            .resource-grid { grid-template-columns: 1fr; }
            .collection-cell { grid-column: span 12; }
            .news-item .news-date { display: none; }
            .cr-thumb { width: 100%; height: 160px; }
            .category-resource-card { flex-direction: column; }
            .cta-inner { flex-direction: column; align-items: flex-start; }
            .hero-tags { justify-content: flex-start; }
            .hero-search input { min-width: 0; }
        }
        @media (max-width: 479px) {
            .container, .grid-container { padding-left: 14px; padding-right: 14px; }
            .brand-text { font-size: 17px; }
            .hero-desc { font-size: 15px; }
            .hero-stats .stat strong { font-size: 24px; }
        }

/* roulang page: category1 */
:root {
  --bg-base: #FAF9F6;
  --bg-card: #FFFFFF;
  --bg-soft: #F2EFE9;
  --text-primary: #1B1D1F;
  --text-secondary: #5B626A;
  --text-tertiary: #8A9098;
  --line: #E6E2DA;
  --primary: #DE7A00;
  --primary-hover: #BC6500;
  --primary-soft: #FCE9D5;
  --success: #3E7B4C;
  --success-soft: #E5F2E8;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 4px 12px rgba(0,0,0,.05);
  --shadow-md: 0 8px 24px rgba(0,0,0,.07);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.10);
  --font-sans: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-size-base: 16px;
  --space-section: clamp(72px, 8vw, 120px);
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: 1.75;
  color: var(--text-primary);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font-family: inherit; font-size: inherit; border: none; background: none; }
button { cursor: pointer; }
* { box-sizing: border-box; }

.container, .grid-container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
.container { width: 100%; }

.section { padding: var(--space-section) 0; }
.section-soft { background: var(--bg-soft); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  transition: all .18s ease;
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(222,122,0,.28); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary { background: var(--bg-card); color: var(--text-primary); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--text-tertiary); background: var(--bg-soft); }
.btn-white { background: #fff; color: var(--text-primary); }
.btn-white:hover { background: var(--primary-soft); }
.btn-sm { height: 40px; padding: 0 20px; font-size: 14px; }

.badge, .tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  background: var(--bg-soft);
  color: var(--text-secondary);
  line-height: 1;
}
.badge-primary { background: var(--primary-soft); color: var(--primary); }
.badge-success { background: var(--success-soft); color: var(--success); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-card);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.nav-wrap {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-icon {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--text-primary);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.brand-icon svg { width: 20px; height: 20px; }
.brand-text { font-size: 20px; font-weight: 800; color: var(--text-primary); letter-spacing: -0.02em; }
.nav-right { display: flex; align-items: center; gap: 20px; margin-left: auto; flex: 1; }
.main-nav { display: flex; align-items: center; gap: 28px; margin-left: 16px; }
.nav-link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 0;
  transition: color .18s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 0;
  background: var(--primary);
  border-radius: 2px;
  transition: width .18s ease;
}
.nav-link:hover { color: var(--primary); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--primary); }
.nav-link.active::after { width: 100%; }
.nav-tools { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.header-search {
  display: flex; align-items: center; gap: 8px;
  width: 200px; height: 40px;
  background: var(--bg-soft);
  border-radius: var(--radius-pill);
  padding: 0 16px;
  color: var(--text-tertiary);
  transition: box-shadow .18s, background .18s;
}
.header-search:focus-within {
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(222,122,0,.15);
  border: 1px solid var(--primary);
}
.header-search input { flex: 1; font-size: 14px; color: var(--text-primary); background: transparent; }
.header-search input::placeholder { color: var(--text-tertiary); }
.nav-toggle { display: none; font-size: 22px; color: var(--text-primary); padding: 6px; }

.site-footer {
  background: #1B1D1F;
  color: rgba(255,255,255,.72);
  padding-top: 64px;
  margin-top: calc(var(--space-section) - 24px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand .brand-text { color: #fff; font-size: 22px; }
.footer-brand p { margin-top: 16px; font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.6); max-width: 340px; }
.footer-nav h5, .footer-info h5 { color: #fff; font-size: 15px; font-weight: 650; margin-bottom: 18px; letter-spacing: .02em; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a { font-size: 14px; color: rgba(255,255,255,.6); transition: color .18s; }
.footer-nav a:hover { color: var(--primary); }
.footer-info p { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.6); max-width: 300px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,.45);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,.45); transition: color .18s; }
.footer-bottom a:hover { color: var(--primary); }

/* ===== 分类页特有样式 ===== */
.cat-breadcrumb {
  padding: 24px 0 0;
  font-size: 13px;
  color: var(--text-tertiary);
}
.cat-breadcrumb a { color: var(--text-tertiary); transition: color .18s; }
.cat-breadcrumb a:hover { color: var(--primary); }
.cat-breadcrumb .sep { margin: 0 8px; color: var(--line); }
.cat-breadcrumb .current { color: var(--text-primary); font-weight: 500; }

.cat-head {
  padding: 40px 0 48px;
  border-bottom: 1px solid var(--line);
}
.cat-head h1 {
  font-size: clamp(32px, 4.6vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 8px 0 16px;
  color: var(--text-primary);
}
.cat-head .cat-sub {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.8;
  margin-bottom: 28px;
}
.cat-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cat-stats .badge {
  height: 28px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  background: var(--primary-soft);
  color: var(--primary);
}
.cat-stats .badge i { margin-right: 6px; font-size: 13px; }

.filter-bar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.filter-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.filter-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-chip {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: all .18s;
  white-space: nowrap;
}
.filter-chip:hover { border-color: var(--primary); color: var(--primary); }
.filter-chip.active { background: var(--text-primary); color: #fff; border-color: var(--text-primary); }
.filter-sorts { display: flex; gap: 18px; }
.sort-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-tertiary);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: all .18s;
  cursor: pointer;
}
.sort-link:hover { color: var(--primary); }
.sort-link.active { color: var(--primary); border-bottom-color: var(--primary); }

.resource-grid { margin-top: 48px; row-gap: 24px; }
.resource-card {
  display: flex;
  align-items: stretch;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: all .18s ease;
  height: 100%;
  position: relative;
}
.resource-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-soft);
}
.resource-thumb {
  width: 200px;
  min-width: 200px;
  height: 140px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.resource-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.resource-card:hover .resource-thumb img { transform: scale(1.04); }
.resource-thumb .resource-badge {
  position: absolute;
  left: 10px; top: 10px;
  height: 22px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background: var(--success-soft);
  color: var(--success);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
}
.resource-info { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.resource-title {
  font-size: 18px;
  font-weight: 650;
  color: var(--text-primary);
  margin: 0 0 8px;
  line-height: 1.4;
  transition: color .18s;
}
.resource-card:hover .resource-title { color: var(--primary); }
.resource-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.resource-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: auto;
  font-size: 13px;
  color: var(--text-tertiary);
}
.resource-meta span { display: inline-flex; align-items: center; gap: 6px; }
.resource-meta i { font-size: 12px; color: var(--text-tertiary); }
.card-arrow {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 15px;
  transition: all .18s ease;
  align-self: center;
}
.card-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateX(4px);
}

.pagination-bar {
  margin-top: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.page-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: all .18s;
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--text-primary); border-color: var(--text-primary); color: #fff; }
.page-btn.disabled { opacity: .4; pointer-events: none; }
.page-btn-arrow { font-size: 16px; }

.cat-scene { padding: var(--space-section) 0; }
.scene-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.scene-row.reverse .scene-img { order: 2; }
.scene-row.reverse .scene-content { order: 1; }
.scene-img { position: relative; }
.scene-img img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}
.scene-img .deco-dot {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  opacity: .85;
  z-index: -1;
}
.scene-content h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.scene-content .scene-lead {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.8;
}
.scene-list { list-style: none; margin: 0; padding: 0; }
.scene-list li {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: background .18s;
}
.scene-list li:last-child { border-bottom: none; }
.scene-num {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  min-width: 40px;
  line-height: 1.6;
}
.scene-list strong {
  display: block;
  font-size: 16px;
  font-weight: 650;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.scene-list p { font-size: 14px; color: var(--text-secondary); margin: 0; line-height: 1.7; }

.guarantee-list { max-width: 820px; margin: 0 auto; }
.guarantee-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.guarantee-row:last-child { border-bottom: none; }
.guarantee-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.guarantee-row h3 { font-size: 17px; font-weight: 650; margin: 0 0 4px; color: var(--text-primary); }
.guarantee-row p { font-size: 14px; color: var(--text-secondary); margin: 0; line-height: 1.7; }
.guarantee-tag {
  margin-left: auto;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-tertiary);
  background: var(--bg-soft);
  border-radius: var(--radius-pill);
  padding: 4px 14px;
  white-space: nowrap;
}

.faq-section { padding: var(--space-section) 0; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 0;
  margin-bottom: 16px;
  background: var(--bg-card);
  transition: box-shadow .18s;
  position: relative;
  overflow: hidden;
}
.faq-item.active { box-shadow: var(--shadow-sm); }
.faq-item::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--primary);
  opacity: 0;
  transition: opacity .2s;
}
.faq-item.active::before { opacity: 1; }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 650;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  width: 100%;
  background: transparent;
}
.faq-question i {
  font-size: 16px;
  color: var(--text-tertiary);
  transition: transform .2s ease;
  flex-shrink: 0;
}
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--primary); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.cat-cta {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin: 0 0 var(--space-section);
}
.cat-cta h2 {
  color: #fff;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 750;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.cat-cta p { color: rgba(255,255,255,.85); font-size: 14px; margin: 0; }
.cat-cta .btn-white {
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}
.cat-cta .btn-white:hover { background: var(--primary-soft); transform: translateY(-1px); }

/* ===== 响应式 ===== */
@media (max-width: 1023px) {
  .nav-wrap { height: 64px; }
  .nav-right {
    position: fixed;
    top: 64px;
    left: 0; right: 0;
    background: var(--bg-card);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    transition: transform .25s ease;
    z-index: 99;
  }
  .nav-right.open { transform: translateY(0); }
  .main-nav { flex-direction: column; align-items: flex-start; gap: 14px; width: 100%; margin-left: 0; }
  .nav-tools { margin-left: 0; width: 100%; flex-wrap: wrap; }
  .header-search { width: 100%; }
  .nav-toggle { display: block; margin-left: auto; }
  .brand-text { font-size: 18px; }
  .brand-icon { width: 34px; height: 34px; border-radius: 10px; }

  .resource-card { flex-direction: column; }
  .resource-thumb { width: 100%; min-width: 0; height: 180px; }
  .card-arrow { align-self: flex-end; margin-top: -4px; }

  .scene-row { grid-template-columns: 1fr; gap: 40px; }
  .scene-row.reverse .scene-img { order: 0; }
  .scene-row.reverse .scene-content { order: 1; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 639px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .section { --space-section: 64px; }
  .cat-head h1 { font-size: 28px; }
  .cat-head { padding: 28px 0 36px; }
  .filter-inner { flex-direction: column; align-items: flex-start; }
  .filter-chips { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .filter-chip { flex-shrink: 0; }
  .filter-sorts { width: 100%; }
  .resource-grid { row-gap: 16px; }
  .resource-card { padding: 14px; gap: 12px; }
  .resource-thumb { height: 150px; }
  .resource-title { font-size: 16px; }
  .resource-meta { gap: 10px; font-size: 12px; }
  .card-arrow { width: 36px; height: 36px; min-width: 36px; }
  .cat-cta { padding: 32px 24px; flex-direction: column; align-items: flex-start; }
  .cat-cta .btn-white { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .guarantee-row { flex-wrap: wrap; gap: 14px; }
  .guarantee-tag { margin-left: 0; }
  .pagination-bar { gap: 4px; }
  .page-btn { width: 36px; height: 36px; font-size: 13px; }
}
