/* roulang page: index */
/* ===== 设计变量 ===== */
        :root {
            --primary: #6C3BF4;
            --primary-dark: #4A17B8;
            --accent: #E8A33D;
            --bg: #0B0A12;
            --surface1: #14102A;
            --surface2: #1E1935;
            --border: rgba(255, 255, 255, 0.08);
            --text-1: #ECEAF1;
            --text-2: #A8A3B8;
            --text-3: #6F6A84;
            --radius-lg: 20px;
            --radius-md: 16px;
            --radius-sm: 10px;
            --radius-pill: 999px;
            --shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
            --shadow-hover: 0 8px 28px rgba(93, 58, 211, 0.25);
            --shadow-primary: 0 8px 28px rgba(108, 59, 244, 0.4);
            --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, system-ui, sans-serif;
            --gutter: 32px;
        }

        /* ===== 基础 Reset ===== */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
        }
        html,
        body {
            margin: 0;
            padding: 0;
            font-family: var(--font);
            font-size: 16px;
            line-height: 1.7;
            background: var(--bg);
            color: var(--text-1);
            -webkit-font-smoothing: antialiased;
        }
        img {
            max-width: 100%;
            display: block;
        }
        a {
            color: var(--primary);
            text-decoration: none;
            transition: color .25s;
        }
        a:hover {
            color: var(--accent);
        }
        button {
            border: none;
            background: none;
            font-family: inherit;
        }
        .container-custom {
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding-left: var(--gutter);
            padding-right: var(--gutter);
        }

        /* ===== 侧边栏 ===== */
        .app-sidebar {
            position: fixed;
            top: 0;
            left: 0;
            width: 220px;
            height: 100vh;
            background: var(--surface1);
            border-right: 1px solid var(--border);
            z-index: 1050;
            display: flex;
            flex-direction: column;
            transition: transform .25s ease;
        }
        .sidebar-logo {
            height: 72px;
            display: flex;
            align-items: center;
            padding: 0 20px;
            border-bottom: 1px solid var(--border);
            flex-shrink: 0;
        }
        .brand-link {
            display: flex;
            align-items: center;
            gap: 12px;
            color: var(--text-1);
        }
        .brand-link:hover {
            color: var(--text-1);
        }
        .brand-icon {
            width: 36px;
            height: 36px;
            border-radius: 12px;
            background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        .brand-icon svg {
            width: 20px;
            height: 20px;
            stroke: #fff;
            fill: none;
            stroke-width: 2;
        }
        .brand-text {
            font-size: 18px;
            font-weight: 600;
            letter-spacing: 0.01em;
            white-space: nowrap;
        }
        .sidebar-nav {
            flex: 1;
            padding: 24px 14px;
            display: flex;
            flex-direction: column;
            gap: 6px;
        }
        .nav-link {
            display: flex;
            align-items: center;
            gap: 14px;
            height: 44px;
            padding: 0 16px;
            border-radius: 12px;
            color: var(--text-2);
            font-size: 15px;
            font-weight: 500;
            position: relative;
            transition: background .2s, color .2s;
        }
        .nav-link svg {
            width: 20px;
            height: 20px;
            stroke: currentColor;
            fill: none;
            stroke-width: 1.8;
            flex-shrink: 0;
        }
        .nav-link:hover {
            background: rgba(108, 59, 244, 0.15);
            color: var(--text-1);
        }
        .nav-link.active {
            background: rgba(108, 59, 244, 0.25);
            color: var(--text-1);
        }
        .nav-link.active::after {
            content: "";
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 3px;
            height: 20px;
            border-radius: 0 3px 3px 0;
            background: var(--primary);
        }
        .sidebar-footer {
            padding: 16px;
            border-top: 1px solid var(--border);
        }
        .support-card {
            background: var(--surface2);
            border-radius: 14px;
            padding: 14px 16px;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .support-icon {
            width: 36px;
            height: 36px;
            border-radius: 10px;
            background: rgba(108, 59, 244, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        .support-icon svg {
            width: 18px;
            height: 18px;
            stroke: var(--primary);
            fill: none;
            stroke-width: 1.8;
        }
        .support-card strong {
            font-size: 14px;
            color: var(--text-1);
            display: block;
            line-height: 1.3;
        }
        .support-card span {
            font-size: 12px;
            color: var(--text-3);
            display: block;
        }

        /* ===== 移动端顶部栏 ===== */
        .mobile-header {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 56px;
            background: var(--surface1);
            border-bottom: 1px solid var(--border);
            z-index: 1050;
            align-items: center;
            justify-content: space-between;
            padding: 0 16px;
        }
        .mobile-header .menu-toggle {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: transparent;
            color: var(--text-1);
        }
        .mobile-header .menu-toggle svg {
            width: 22px;
            height: 22px;
            stroke: currentColor;
            fill: none;
            stroke-width: 2;
        }
        .mobile-logo {
            font-size: 16px;
            font-weight: 600;
            color: var(--text-1);
        }
        .mobile-search {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-2);
        }
        .mobile-search svg {
            width: 20px;
            height: 20px;
            stroke: currentColor;
            fill: none;
            stroke-width: 2;
        }
        .sidebar-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.6);
            z-index: 1040;
        }
        .sidebar-overlay.show {
            display: block;
        }

        /* ===== 主内容区 ===== */
        .app-main {
            margin-left: 220px;
            min-height: 100vh;
        }

        /* ===== Hero ===== */
        .hero-section {
            position: relative;
            min-height: 100vh;
            display: flex;
            align-items: center;
            overflow: hidden;
            padding: 0 var(--gutter);
        }
        .hero-bg {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-size: cover;
            background-position: center;
            z-index: 0;
        }
        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(11, 10, 18, 0.55);
            z-index: 1;
        }
        .hero-overlay::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            height: 120px;
            background: linear-gradient(180deg, rgba(11, 10, 18, 0) 0%, var(--bg) 100%);
        }
        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 860px;
            padding: 80px 0 120px;
        }
        .hero-content h1 {
            font-size: 48px;
            font-weight: 700;
            line-height: 1.25;
            color: var(--text-1);
            text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
            margin-bottom: 20px;
        }
        .hero-content .hero-sub {
            font-size: 18px;
            line-height: 1.7;
            color: var(--text-2);
            margin-bottom: 36px;
            max-width: 620px;
        }
        .hero-actions {
            display: flex;
            gap: 24px;
            flex-wrap: wrap;
        }
        .btn {
            border-radius: var(--radius-pill);
            font-weight: 600;
            transition: all .25s ease;
        }
        .btn-lg {
            height: 52px;
            padding: 0 32px;
            font-size: 15px;
            line-height: 50px;
        }
        .btn-primary-custom {
            background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
            border: none;
            color: #fff;
            box-shadow: var(--shadow-primary);
        }
        .btn-primary-custom:hover {
            filter: brightness(1.1);
            transform: translateY(-1px);
            color: #fff;
        }
        .btn-primary-custom:active {
            transform: translateY(0);
        }
        .btn-primary-custom:focus {
            outline: 3px solid rgba(232, 163, 61, 0.4);
            outline-offset: 2px;
        }
        .btn-outline-custom {
            background: transparent;
            border: 1px solid rgba(255, 255, 255, 0.3);
            color: var(--text-1);
        }
        .btn-outline-custom:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: #fff;
            color: #fff;
        }
        .btn-outline-custom:active {
            transform: translateY(0);
        }
        .scroll-indicator {
            position: absolute;
            bottom: 32px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 3;
            width: 28px;
            height: 42px;
            display: flex;
            justify-content: center;
            animation: scrollPulse 2.2s ease-in-out infinite;
        }
        .scroll-indicator svg {
            width: 22px;
            height: 22px;
            stroke: rgba(255, 255, 255, 0.5);
            fill: none;
            stroke-width: 1.8;
        }
        @keyframes scrollPulse {
            0%,
            100% {
                transform: translateX(-50%) translateY(0);
                opacity: 0.6;
            }
            50% {
                transform: translateX(-50%) translateY(8px);
                opacity: 1;
            }
        }

        /* ===== 通用板块 ===== */
        .section-block {
            padding: 100px 0 60px;
        }
        .section-header {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            margin-bottom: 36px;
            flex-wrap: wrap;
            gap: 12px;
        }
        .section-title {
            font-size: 28px;
            font-weight: 600;
            line-height: 1.3;
            margin: 0;
            color: var(--text-1);
        }
        .section-sub {
            font-size: 14px;
            color: var(--text-3);
            margin-top: 6px;
        }
        .section-link {
            font-size: 14px;
            color: var(--text-2);
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: color .2s;
        }
        .section-link:hover {
            color: var(--accent);
        }
        .section-link svg {
            width: 16px;
            height: 16px;
            stroke: currentColor;
            fill: none;
            stroke-width: 2;
        }

        /* ===== 横滑片库 ===== */
        .h-scroll {
            display: flex;
            gap: 20px;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            scrollbar-width: none;
            padding-bottom: 8px;
            margin: 0 calc(-1 * var(--gutter));
            padding-left: var(--gutter);
            padding-right: var(--gutter);
        }
        .h-scroll::-webkit-scrollbar {
            display: none;
        }
        .h-scroll-item {
            flex: 0 0 280px;
            scroll-snap-align: start;
            border-radius: var(--radius-md);
            overflow: hidden;
            background: var(--surface1);
            border: 1px solid var(--border);
            transition: transform .3s cubic-bezier(.4, 0, .2, 1), box-shadow .3s, border-color .3s;
        }
        .h-scroll-item:hover {
            transform: scale(1.02);
            box-shadow: var(--shadow-hover);
            border-color: rgba(108, 59, 244, 0.3);
        }
        .feature-card {
            display: block;
            color: var(--text-1);
        }
        .feature-card:hover {
            color: var(--text-1);
        }
        .feature-cover {
            position: relative;
            aspect-ratio: 16 / 10;
            overflow: hidden;
        }
        .feature-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .feature-badge {
            position: absolute;
            top: 12px;
            right: 12px;
            background: rgba(11, 10, 18, 0.65);
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
            color: var(--text-1);
            font-size: 12px;
            padding: 2px 10px;
            border-radius: 8px;
            font-weight: 500;
        }
        .feature-body {
            padding: 16px 18px 20px;
        }
        .feature-body h3 {
            font-size: 16px;
            font-weight: 600;
            line-height: 1.4;
            margin: 0 0 8px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .feature-body p {
            font-size: 14px;
            color: var(--text-2);
            line-height: 1.6;
            margin: 0;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* ===== 热播推荐 ===== */
        .hot-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
        }
        .hot-card {
            background: var(--surface1);
            border-radius: var(--radius-lg);
            overflow: hidden;
            border: 1px solid var(--border);
            position: relative;
            transition: box-shadow .3s, transform .3s;
        }
        .hot-card:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-4px);
        }
        .hot-card.featured {
            border: 2px solid rgba(108, 59, 244, 0.45);
        }
        .hot-cover {
            position: relative;
            height: 200px;
            overflow: hidden;
        }
        .hot-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform .3s cubic-bezier(.4, 0, .2, 1);
        }
        .hot-card:hover .hot-cover img {
            transform: scale(1.03);
        }
        .rank-number {
            position: absolute;
            top: 0;
            right: 16px;
            font-size: 64px;
            font-weight: 800;
            line-height: 1;
            color: rgba(232, 163, 61, 0.35);
            z-index: 1;
        }
        .hot-body {
            padding: 20px 22px 24px;
        }
        .hot-body h3 {
            font-size: 18px;
            font-weight: 600;
            margin: 0 0 8px;
        }
        .hot-body p {
            font-size: 14px;
            color: var(--text-2);
            margin: 0 0 16px;
            line-height: 1.6;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .hot-meta {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .hot-badge {
            display: inline-block;
            background: var(--accent);
            color: #1A1408;
            font-size: 12px;
            font-weight: 600;
            padding: 2px 10px;
            border-radius: 8px;
            line-height: 1.5;
        }
        .hot-heat {
            font-size: 13px;
            color: var(--text-3);
        }

        /* ===== 片单分区 ===== */
        .category-grid {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 24px;
        }
        .category-card {
            position: relative;
            border-radius: var(--radius-lg);
            overflow: hidden;
            aspect-ratio: 3 / 4;
            display: block;
            border: 1px solid transparent;
            transition: transform .3s, box-shadow .3s, border-color .3s;
        }
        .category-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
            border-color: rgba(232, 163, 61, 0.5);
        }
        .category-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            top: 0;
            left: 0;
        }
        .category-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.9) 100%);
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 20px;
        }
        .category-overlay h3 {
            font-size: 18px;
            font-weight: 600;
            color: #fff;
            margin: 0 0 6px;
        }
        .category-count {
            display: inline-block;
            background: var(--accent);
            color: #1A1408;
            font-size: 12px;
            font-weight: 600;
            padding: 2px 8px;
            border-radius: 8px;
            width: fit-content;
        }

        /* ===== 资讯列表 ===== */
        .news-area {
            padding: 80px 0 40px;
        }
        .news-list {
            display: flex;
            flex-direction: column;
            gap: 20px;
            max-width: 960px;
        }
        .news-card {
            display: flex;
            gap: 16px;
            background: var(--surface1);
            border-radius: var(--radius-md);
            padding: 16px;
            border: 1px solid var(--border);
            transition: background .2s, border-color .2s;
        }
        .news-card:hover {
            background: var(--surface2);
            border-left: 3px solid var(--primary);
        }
        .news-thumb {
            width: 120px;
            height: 90px;
            border-radius: 12px;
            overflow: hidden;
            flex-shrink: 0;
            background: var(--surface2);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .news-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .thumb-placeholder {
            color: var(--text-3);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .thumb-placeholder svg {
            width: 24px;
            height: 24px;
            stroke: currentColor;
            fill: none;
            stroke-width: 1.6;
        }
        .news-content {
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
        }
        .news-content h4 {
            font-size: 16px;
            font-weight: 600;
            margin: 0 0 6px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            color: var(--text-1);
        }
        .news-content p {
            font-size: 14px;
            color: var(--text-2);
            line-height: 1.6;
            margin: 0 0 10px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .news-meta {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-top: auto;
        }
        .cate-tag {
            display: inline-block;
            background: rgba(108, 59, 244, 0.15);
            color: var(--primary);
            font-size: 12px;
            padding: 2px 10px;
            border-radius: 8px;
            font-weight: 500;
        }
        .news-date {
            font-size: 13px;
            color: var(--text-3);
        }
        .empty-tip {
            text-align: center;
            padding: 48px 0;
            color: var(--text-3);
            font-size: 15px;
            border: 1px dashed var(--border);
            border-radius: var(--radius-md);
        }

        /* ===== CTA ===== */
        .cta-banner {
            border-radius: var(--radius-lg);
            padding: 60px 48px;
            background: var(--surface1);
            position: relative;
            overflow: hidden;
            text-align: center;
            margin: 60px 0 80px;
        }
        .cta-banner::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 70% 50%, rgba(232, 163, 61, 0.12) 0%, transparent 50%);
        }
        .cta-banner h2 {
            font-size: 30px;
            font-weight: 700;
            color: var(--text-1);
            margin: 0 0 14px;
            position: relative;
        }
        .cta-banner p {
            font-size: 15px;
            color: var(--text-2);
            margin: 0 0 28px;
            position: relative;
        }
        .cta-banner .btn {
            position: relative;
        }

        /* ===== FAQ ===== */
        .faq-wrap {
            max-width: 800px;
            margin: 0 auto;
            padding: 60px 0 80px;
        }
        .faq-wrap .section-header {
            justify-content: center;
            text-align: center;
        }
        .accordion-item {
            background: var(--surface1);
            border: 1px solid var(--border) !important;
            border-radius: 12px !important;
            margin-bottom: 16px;
            overflow: hidden;
        }
        .accordion-button {
            background: transparent;
            color: var(--text-1);
            font-size: 16px;
            font-weight: 600;
            padding: 18px 24px;
            box-shadow: none !important;
            transition: background .2s;
        }
        .accordion-button:not(.collapsed) {
            background: var(--surface2);
            color: var(--text-1);
        }
        .accordion-button:hover {
            background: var(--surface2);
        }
        .accordion-button::after {
            background-image: none;
            width: 14px;
            height: 14px;
            border-right: 2px solid var(--text-2);
            border-bottom: 2px solid var(--text-2);
            transform: rotate(45deg);
            transition: transform .3s;
        }
        .accordion-button:not(.collapsed)::after {
            transform: rotate(225deg);
            border-color: var(--accent);
        }
        .accordion-body {
            padding: 0 24px 20px;
            font-size: 15px;
            color: var(--text-2);
            line-height: 1.7;
        }

        /* ===== 页脚 ===== */
        .site-footer {
            background: #0A0812;
            border-top: 1px solid var(--border);
            padding: 64px 0 0;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
            gap: 40px;
            padding-bottom: 40px;
        }
        .footer-brand .brand-link {
            margin-bottom: 14px;
        }
        .footer-brand p {
            font-size: 14px;
            color: var(--text-3);
            line-height: 1.7;
            margin: 0 0 20px;
            max-width: 280px;
        }
        .social-icons {
            display: flex;
            gap: 12px;
        }
        .social-icons a {
            width: 36px;
            height: 36px;
            border-radius: 10px;
            background: var(--surface1);
            border: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-2);
            transition: background .2s, color .2s;
        }
        .social-icons a:hover {
            background: rgba(108, 59, 244, 0.2);
            color: var(--primary);
        }
        .social-icons svg {
            width: 16px;
            height: 16px;
            stroke: currentColor;
            fill: none;
            stroke-width: 1.8;
        }
        .footer-column h4 {
            font-size: 16px;
            font-weight: 600;
            color: var(--text-1);
            margin: 0 0 16px;
        }
        .footer-column ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .footer-column li {
            margin-bottom: 10px;
        }
        .footer-column a {
            font-size: 14px;
            color: var(--text-2);
            transition: color .2s;
        }
        .footer-column a:hover {
            color: var(--primary);
        }
        .footer-column .info-text {
            font-size: 14px;
            color: var(--text-2);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .footer-column .info-text svg {
            width: 16px;
            height: 16px;
            stroke: var(--text-3);
            fill: none;
            stroke-width: 1.8;
            flex-shrink: 0;
        }
        .footer-bottom {
            border-top: 1px solid var(--border);
            padding: 18px 0;
            text-align: center;
            font-size: 13px;
            color: var(--text-3);
        }

        /* ===== 响应式 ===== */
        @media (max-width: 1199.98px) {
            .category-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 20px;
            }
            .hot-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 20px;
            }
        }
        @media (max-width: 991.98px) {
            :root {
                --gutter: 24px;
            }
            .app-sidebar {
                width: 72px;
            }
            .sidebar-logo {
                padding: 0;
                justify-content: center;
            }
            .brand-text {
                display: none;
            }
            .sidebar-nav {
                padding: 24px 10px;
            }
            .nav-link {
                justify-content: center;
                padding: 0;
            }
            .nav-link span {
                display: none;
            }
            .nav-link.active::after {
                left: auto;
                right: 0;
                width: 2px;
            }
            .sidebar-footer {
                padding: 10px;
            }
            .support-card {
                justify-content: center;
                padding: 10px;
            }
            .support-card strong,
            .support-card span {
                display: none;
            }
            .app-main {
                margin-left: 72px;
            }
            .hot-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 767.98px) {
            :root {
                --gutter: 16px;
            }
            .app-sidebar {
                transform: translateX(-100%);
                width: 280px;
                box-shadow: 4px 0 30px rgba(0, 0, 0, 0.5);
            }
            .app-sidebar.open {
                transform: translateX(0);
            }
            .app-main {
                margin-left: 0;
                padding-top: 56px;
            }
            .mobile-header {
                display: flex;
            }
            .sidebar-logo {
                padding: 0 20px;
                justify-content: flex-start;
            }
            .brand-text {
                display: block;
            }
            .sidebar-nav {
                padding: 24px 14px;
            }
            .nav-link {
                justify-content: flex-start;
                padding: 0 16px;
            }
            .nav-link span {
                display: inline;
            }
            .nav-link.active::after {
                left: 0;
                right: auto;
                width: 3px;
            }
            .sidebar-footer {
                padding: 16px;
            }
            .support-card {
                justify-content: flex-start;
                padding: 14px 16px;
            }
            .support-card strong,
            .support-card span {
                display: block;
            }
            .hero-section {
                min-height: calc(100vh - 56px);
                padding: 0 var(--gutter);
            }
            .hero-content {
                padding: 40px 0 80px;
                text-align: center;
            }
            .hero-content h1 {
                font-size: 34px;
            }
            .hero-content .hero-sub {
                font-size: 16px;
            }
            .hero-actions {
                justify-content: center;
            }
            .section-block {
                padding: 60px 0 40px;
            }
            .section-title {
                font-size: 24px;
            }
            .h-scroll-item {
                flex-basis: 240px;
            }
            .hot-grid {
                grid-template-columns: 1fr;
            }
            .category-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 16px;
            }
            .category-overlay {
                padding: 14px;
            }
            .category-overlay h3 {
                font-size: 16px;
            }
            .news-card {
                padding: 12px;
                gap: 12px;
            }
            .news-thumb {
                width: 96px;
                height: 72px;
            }
            .cta-banner {
                padding: 40px 20px;
            }
            .cta-banner h2 {
                font-size: 24px;
            }
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 24px;
            }
            .section-header {
                align-items: center;
            }
            .hero-actions {
                gap: 14px;
            }
        }
        @media (max-width: 575.98px) {
            .category-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
            }
            .footer-grid {
                grid-template-columns: 1fr;
            }
            .hero-content h1 {
                font-size: 30px;
            }
            .btn-lg {
                height: 46px;
                padding: 0 24px;
                font-size: 14px;
                line-height: 44px;
            }
        }

/* roulang page: category1 */
:root {
    --primary: #6C3BF4;
    --primary-dark: #4A17B8;
    --accent: #E8A33D;
    --bg: #0B0A12;
    --surface1: #14102A;
    --surface2: #1E1935;
    --border: rgba(255,255,255,0.08);
    --text-main: #ECEAF1;
    --text-muted: #A8A3B8;
    --text-weak: #6F6A84;
    --radius-xl: 24px;
    --radius-lg: 20px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --shadow-base: 0 4px 16px rgba(0,0,0,0.35);
    --shadow-hover: 0 8px 28px rgba(93,58,211,0.25);
    --shadow-cta: 0 8px 28px rgba(108,59,244,0.4);
    --gutter: 32px;
    --sidebar-width: 220px;
    --sidebar-collapsed: 72px;
    --mobile-topbar: 56px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, system-ui, sans-serif;
    background: var(--bg);
    color: var(--text-main);
    font-size: 16px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }

.container-custom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.row { --bs-gutter-x: 32px; --bs-gutter-y: 32px; }

/* ============ 侧边导航 ============ */
.sidebar {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: var(--sidebar-width);
    background: var(--surface1);
    border-right: 1px solid var(--border);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    padding: 0 16px;
    transition: transform .25s ease, width .25s ease;
}
.brand-area {
    height: 72px;
    display: flex;
    align-items: center;
    padding: 0 8px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.brand-link { display: flex; align-items: center; }
.brand-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex; align-items: center; justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
}
.brand-icon svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; }
.brand-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
    letter-spacing: 0.01em;
}
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 20px;
    flex: 1;
}
.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 15px;
    transition: all .2s ease;
    position: relative;
    background: transparent;
    border: none;
    width: 100%;
}
.sidebar-nav .nav-link svg {
    width: 18px; height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    margin-right: 12px;
    flex-shrink: 0;
}
.sidebar-nav .nav-link:hover {
    background: rgba(108,59,244,0.15);
    color: var(--text-main);
}
.sidebar-nav .nav-link.active {
    background: rgba(108,59,244,0.25);
    color: var(--text-main);
    font-weight: 600;
}
.sidebar-nav .nav-link.active::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 3px; height: 18px;
    border-radius: 0 3px 3px 0;
    background: var(--primary);
}
.sidebar-bottom {
    padding: 12px 8px 20px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}
.sidebar-cs {
    background: var(--surface2);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.sidebar-cs svg { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: var(--accent); stroke-width: 1.8; }
.sidebar-cs-text { font-size: 13px; color: var(--text-muted); line-height: 1.4; }
.sidebar-cs-text strong { display: block; font-size: 14px; color: var(--text-main); }

/* ============ 移动端顶部栏 ============ */
.mobile-topbar {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--mobile-topbar);
    background: var(--surface1);
    border-bottom: 1px solid var(--border);
    z-index: 1040;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}
.menu-toggle {
    width: 40px; height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: transparent;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-main);
    cursor: pointer;
}
.menu-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.mobile-logo {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}
.mobile-logo .brand-icon { width: 30px; height: 30px; margin-right: 0; }
.mobile-logo .brand-icon svg { width: 16px; height: 16px; }
.mobile-spacer { width: 40px; }
.drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1045;
    opacity: 0;
    transition: opacity .25s ease;
}
.drawer-overlay.show { display: block; opacity: 1; }

/* ============ 主内容 ============ */
.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.main-content main { flex: 1; }

/* ============ 页面横幅 ============ */
.page-banner {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
    padding: 60px 0;
}
.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11,10,18,0.9) 0%, rgba(11,10,18,0.65) 55%, rgba(108,59,244,0.25) 100%);
}
.banner-inner {
    position: relative;
    z-index: 2;
    width: 100%;
}
.banner-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 14px;
    text-shadow: 0 4px 24px rgba(0,0,0,0.6);
    letter-spacing: 0.01em;
}
.banner-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 640px;
    line-height: 1.7;
    margin-bottom: 22px;
}
.banner-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.banner-tag {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* ============ 分类说明区 ============ */
.category-intro { padding: 80px 0 40px; }
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 60px;
    align-items: center;
}
.intro-text-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.intro-text-head .section-flag {
    width: 4px;
    height: 28px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
}
.intro-text h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}
.intro-text p {
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-muted);
    margin-bottom: 18px;
}
.intro-scene-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}
.scene-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(108,59,244,0.12);
    border: 1px solid rgba(108,59,244,0.25);
    color: var(--text-main);
    font-size: 13px;
    font-weight: 500;
}
.intro-image-wrap {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    padding: 10px;
    border: 2px solid var(--primary);
    background: var(--surface1);
    margin: 0 auto;
    box-shadow: var(--shadow-base);
}
.intro-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* ============ 精选内容卡组 ============ */
.featured-section { padding: 80px 0; }
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 16px;
}
.section-header h2 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}
.section-header .section-sub {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}
.section-header .section-link {
    font-size: 14px;
    color: var(--text-muted);
    white-space: nowrap;
    border-bottom: 1px solid transparent;
    transition: all .2s;
}
.section-header .section-link:hover { color: var(--accent); border-bottom-color: var(--accent); }
.featured-card {
    background: var(--surface1);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    height: 100%;
    transition: transform .3s cubic-bezier(.22,.68,0,1), box-shadow .3s, border-color .3s;
}
.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(108,59,244,0.35);
}
.featured-cover {
    position: relative;
    overflow: hidden;
    height: 170px;
}
.featured-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s cubic-bezier(.22,.68,0,1);
}
.featured-card:hover .featured-cover img { transform: scale(1.04); }
.badge-hot {
    position: absolute;
    top: 12px; right: 12px;
    background: var(--accent);
    color: #1A1408;
    font-size: 12px;
    padding: 3px 12px;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.featured-body { padding: 22px 22px 24px; }
.featured-body h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 10px;
    color: var(--text-main);
}
.featured-body p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 18px;
}
.btn-sm-custom {
    display: inline-block;
    padding: 8px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--text-main);
    transition: all .2s;
}
.btn-sm-custom:hover {
    background: rgba(255,255,255,0.08);
    border-color: #fff;
    color: #fff;
    transform: translateY(-1px);
}
.featured-wide .featured-card-inner {
    display: flex;
    height: 100%;
}
.featured-wide .featured-cover {
    width: 50%;
    height: auto;
    min-height: 240px;
}
.featured-wide .featured-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 32px;
}
.featured-wide .featured-body h3 { font-size: 24px; }

/* ============ FAQ ============ */
.faq-section {
    padding: 80px 0;
}
.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}
.faq-section .section-header { justify-content: center; text-align: center; }
.faq-item {
    background: var(--surface1);
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 16px 24px;
    margin-bottom: 12px;
    transition: background .2s, border-color .2s;
}
.faq-item.active {
    border-color: rgba(108,59,244,0.4);
    background: var(--surface2);
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 16px;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    padding: 0;
}
.faq-question h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: var(--text-main);
    line-height: 1.4;
}
.faq-icon {
    width: 20px; height: 20px;
    flex-shrink: 0;
    fill: none;
    stroke: var(--text-muted);
    stroke-width: 2;
    transition: transform .3s ease;
}
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}
.faq-item.active .faq-answer {
    max-height: 320px;
    padding-top: 12px;
}

/* ============ CTA 横条 ============ */
.cta-section { padding: 40px 0 100px; }
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-xl);
    padding: 52px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-cta);
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 30%, rgba(232,163,61,0.2) 0%, transparent 55%);
}
.cta-banner h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #fff;
    position: relative;
    z-index: 1;
    letter-spacing: 0.01em;
}
.cta-banner p {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    margin-bottom: 28px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    line-height: 1.7;
}
.btn-cta-light {
    display: inline-block;
    padding: 14px 40px;
    border-radius: 999px;
    background: #fff;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 16px;
    transition: all .2s ease;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.btn-cta-light:hover {
    background: var(--accent);
    color: #1A1408;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* ============ 页脚 ============ */
.site-footer {
    background: #0A0812;
    border-top: 1px solid var(--border);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
}
.footer-brand .brand-link {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}
.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 320px;
}
.social-icons { display: flex; gap: 10px; }
.social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--surface1);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all .2s;
}
.social-icons a svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.social-icons a:hover {
    background: rgba(108,59,244,0.15);
    color: var(--primary);
    border-color: rgba(108,59,244,0.3);
}
.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 16px;
}
.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column ul li { margin-bottom: 10px; font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.footer-column ul a {
    color: var(--text-muted);
    font-size: 14px;
    transition: color .2s;
}
.footer-column ul a:hover { color: var(--primary); }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    text-align: center;
}
.footer-bottom p {
    font-size: 13px;
    color: var(--text-weak);
    margin: 0;
}

/* ============ 按钮焦点态 ============ */
.btn-cta-light:focus,
.btn-sm-custom:focus,
.menu-toggle:focus {
    outline: 3px solid rgba(232,163,61,0.4);
    outline-offset: 2px;
}

/* ============ 响应式 ============ */
@media (min-width: 768px) and (max-width: 991px) {
    :root { --sidebar-width: 72px; --gutter: 24px; }
    .sidebar { padding: 0 12px; }
    .brand-area { justify-content: center; padding: 0; }
    .brand-text { display: none; }
    .brand-icon { margin-right: 0; }
    .sidebar-nav .nav-link { justify-content: center; padding: 0; }
    .sidebar-nav .nav-link span { display: none; }
    .sidebar-nav .nav-link svg { margin-right: 0; width: 20px; height: 20px; }
    .sidebar-cs-text { display: none; }
    .sidebar-cs { justify-content: center; }
    .main-content { margin-left: 72px; }
}
@media (max-width: 767px) {
    :root { --gutter: 16px; }
    .mobile-topbar { display: flex; }
    .sidebar {
        transform: translateX(-100%);
        box-shadow: 4px 0 24px rgba(0,0,0,0.4);
    }
    .sidebar.open { transform: translateX(0); }
    .drawer-overlay.show { display: block; opacity: 1; }
    .main-content { margin-left: 0; padding-top: var(--mobile-topbar); }
    .page-banner { min-height: 280px; padding: 40px 0; }
    .banner-title { font-size: 30px; }
    .banner-subtitle { font-size: 15px; }
    .intro-grid { grid-template-columns: 1fr; gap: 40px; }
    .intro-image-wrap { width: 200px; height: 200px; }
    .featured-section, .category-intro, .faq-section, .cta-section { padding: 56px 0; }
    .featured-wide .featured-card-inner { flex-direction: column; }
    .featured-wide .featured-cover { width: 100%; height: 180px; min-height: 0; }
    .featured-wide .featured-body { padding: 20px 22px; }
    .featured-wide .featured-body h3 { font-size: 20px; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 8px; }
    .cta-banner { padding: 40px 24px; border-radius: var(--radius-lg); }
    .cta-banner h2 { font-size: 24px; }
    .btn-cta-light { width: 100%; padding: 14px 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 575px) {
    .banner-title { font-size: 26px; }
    .intro-text h3 { font-size: 20px; }
    .featured-body h3 { font-size: 18px; }
    .section-header h2 { font-size: 24px; }
    .faq-item { padding: 14px 18px; }
}

/* roulang page: article */
:root {
  --primary: #6C3BF4;
  --primary-dark: #4A17B8;
  --accent: #E8A33D;
  --bg-page: #0B0A12;
  --surface-1: #14102A;
  --surface-2: #1E1935;
  --border: rgba(255, 255, 255, 0.08);
  --text-main: #ECEAF1;
  --text-secondary: #A8A3B8;
  --text-muted: #6F6A84;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow-default: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 8px 28px rgba(93, 58, 211, 0.25);
  --shadow-cta: 0 8px 28px rgba(108, 59, 244, 0.4);
  --sidebar-w: 220px;
  --font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, system-ui, sans-serif;
  --bs-body-bg: var(--bg-page);
  --bs-body-color: var(--text-main);
  --bs-body-font-family: var(--font-family);
  --bs-link-color: var(--primary);
  --bs-link-hover-color: var(--accent);
  --bs-gutter-x: 32px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: var(--primary);
  text-decoration: none;
  transition: color .25s ease;
}
a:hover {
  color: var(--accent);
}
img {
  max-width: 100%;
  display: block;
}
button,
input,
textarea {
  font-family: inherit;
}
.btn {
  border-radius: var(--radius-pill);
  font-weight: 600;
  transition: all .3s ease;
}
.btn:focus-visible {
  outline: 3px solid rgba(232, 163, 61, 0.4);
  outline-offset: 2px;
}
.btn-primary-custom {
  background: linear-gradient(180deg, #6C3BF4 0%, #4A17B8 100%);
  color: #fff;
  height: 52px;
  padding: 0 32px;
  border-radius: var(--radius-pill);
  border: none;
  font-weight: 600;
  font-size: 16px;
  box-shadow: var(--shadow-cta);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all .3s ease;
}
.btn-primary-custom:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  color: #fff;
}
.btn-primary-custom:active {
  transform: translateY(0);
}
.btn-outline-custom {
  background: transparent;
  color: #fff;
  height: 52px;
  padding: 0 32px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 600;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .3s ease;
}
.btn-outline-custom:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
  color: #fff;
}
.btn-outline-custom:active {
  transform: translateY(0);
}
.container-custom {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}
.main-wrapper {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.main-content {
  flex: 1;
}
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--sidebar-w);
  background: var(--surface-1);
  border-right: 1px solid var(--border);
  z-index: 1040;
  display: flex;
  flex-direction: column;
  padding: 0 14px;
}
.sidebar-logo {
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand-link:hover {
  color: var(--text-main);
}
.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6C3BF4 0%, #4A17B8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(108, 59, 244, 0.35);
  flex-shrink: 0;
}
.brand-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sidebar-nav {
  padding: 24px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  transition: all .25s ease;
  position: relative;
}
.nav-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.nav-link:hover {
  background: rgba(108, 59, 244, 0.15);
  color: var(--text-main);
}
.nav-link.active {
  background: rgba(108, 59, 244, 0.25);
  color: var(--text-main);
  font-weight: 600;
}
.nav-link.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 20px;
  background: var(--primary);
  border-radius: 0 4px 4px 0;
}
.sidebar-support {
  padding: 14px 4px 20px;
  flex-shrink: 0;
}
.support-card {
  background: var(--surface-2);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
}
.support-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(108, 59, 244, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.support-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.support-text p {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}
.support-text a {
  font-size: 14px;
  color: var(--text-main);
  font-weight: 600;
}
.support-text a:hover {
  color: var(--accent);
}
.mobile-header {
  display: none;
  height: 56px;
  background: var(--surface-1);
  border-bottom: 1px solid var(--border);
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  position: sticky;
  top: 0;
  z-index: 1030;
}
.hamburger {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.hamburger svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--text-main);
  stroke-width: 2;
  stroke-linecap: round;
}
.mobile-logo {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-main);
}
.mobile-logo:hover {
  color: var(--text-main);
}
.search-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.search-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--text-secondary);
  stroke-width: 2;
  stroke-linecap: round;
}
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1035;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.sidebar-overlay.show {
  opacity: 1;
  visibility: visible;
}
.article-page {
  padding-top: 48px;
  padding-bottom: 64px;
}
.breadcrumb-custom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.breadcrumb-custom a {
  color: var(--text-secondary);
  transition: color .25s;
}
.breadcrumb-custom a:hover {
  color: var(--accent);
}
.breadcrumb-custom .sep {
  color: var(--text-muted);
  opacity: 0.6;
}
.breadcrumb-custom .current {
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}
.article-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-main);
  margin: 0 0 20px;
  letter-spacing: 0.01em;
}
.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
  font-size: 13px;
  color: var(--text-secondary);
}
.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.meta-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--text-muted);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.article-content {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-secondary);
}
.article-content p {
  margin-bottom: 1.5em;
}
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5 {
  color: var(--text-main);
  font-weight: 600;
  line-height: 1.35;
  margin: 2em 0 1em;
}
.article-content h3 {
  font-size: 20px;
}
.article-content h4 {
  font-size: 17px;
}
.article-content img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-default);
  margin: 24px 0;
}
.article-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.article-content a:hover {
  color: var(--accent);
}
.article-content blockquote {
  border-left: 4px solid var(--primary);
  background: var(--surface-1);
  padding: 16px 24px;
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
  color: var(--text-main);
}
.article-content code {
  background: var(--surface-2);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.9em;
  color: var(--accent);
}
.article-content pre {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-main);
  margin: 24px 0;
}
.article-content pre code {
  background: transparent;
  padding: 0;
  color: inherit;
}
.article-content ul,
.article-content ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}
.article-content li {
  margin-bottom: 0.5em;
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.article-content table th,
.article-content table td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
}
.article-content table th {
  background: var(--surface-1);
  color: var(--text-main);
  font-weight: 600;
}
.article-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.tags-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  margin-right: 4px;
}
.tags-label svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.tag-badge {
  background: rgba(108, 59, 244, 0.15);
  color: var(--primary);
  border-radius: 8px;
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 500;
  display: inline-block;
}
.tag-badge:hover {
  background: rgba(108, 59, 244, 0.3);
  color: var(--text-main);
}
.article-pager {
  margin-top: 40px;
  gap: 0;
}
.pager-link {
  display: block;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  height: 100%;
  transition: all .3s ease;
}
.pager-link:hover {
  background: var(--surface-2);
  border-color: rgba(108, 59, 244, 0.3);
  box-shadow: var(--shadow-hover);
  color: var(--text-main);
  transform: translateY(-2px);
}
.pager-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 6px;
}
.pager-link.next .pager-label {
  text-align: right;
}
.pager-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pager-link.next {
  text-align: right;
}
.related-section {
  margin-top: 48px;
}
.related-section .section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.related-section .section-head h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  color: var(--text-main);
}
.related-scroll {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.related-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all .3s ease;
}
.related-card:hover {
  background: var(--surface-2);
  border-color: rgba(108, 59, 244, 0.3);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  color: var(--text-main);
}
.related-thumb {
  height: 140px;
  overflow: hidden;
}
.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.related-card:hover .related-thumb img {
  transform: scale(1.05);
}
.related-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  margin: 14px 16px 6px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.related-cat {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 16px 12px;
  display: inline-block;
  background: rgba(108, 59, 244, 0.12);
  padding: 2px 10px;
  border-radius: 8px;
}
.article-empty {
  text-align: center;
  padding: 80px 20px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.article-empty .empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.article-empty .empty-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--text-muted);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.article-empty h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}
.article-empty p {
  color: var(--text-muted);
  margin-bottom: 24px;
}
.sidebar-widget {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 24px;
}
.sidebar-widget h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-main);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.hot-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hot-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.hot-item:last-child {
  border-bottom: none;
}
.hot-num {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: rgba(108, 59, 244, 0.15);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hot-item:first-child .hot-num {
  background: rgba(232, 163, 61, 0.2);
  color: var(--accent);
}
.hot-item:nth-child(2) .hot-num {
  background: rgba(232, 163, 61, 0.15);
  color: var(--accent);
}
.hot-item:nth-child(3) .hot-num {
  background: rgba(232, 163, 61, 0.1);
  color: var(--accent);
}
.hot-info {
  flex: 1;
  min-width: 0;
}
.hot-title {
  font-size: 14px;
  color: var(--text-secondary);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}
.hot-title:hover {
  color: var(--text-main);
}
.hot-views {
  font-size: 12px;
  color: var(--text-muted);
}
.cat-card {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 90px;
  margin-bottom: 14px;
  border: 1px solid var(--border);
}
.cat-card:last-child {
  margin-bottom: 0;
}
.cat-bg {
  position: absolute;
  inset: 0;
}
.cat-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 10, 18, 0.85) 0%, rgba(11, 10, 18, 0.3) 100%);
}
.cat-card:hover .cat-overlay {
  background: linear-gradient(90deg, rgba(108, 59, 244, 0.5) 0%, rgba(11, 10, 18, 0.3) 100%);
}
.cat-name {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  z-index: 2;
}
.cat-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 18px;
  opacity: 0.7;
  z-index: 2;
  transition: transform .3s ease;
}
.cat-card:hover .cat-arrow {
  transform: translateY(-50%) translateX(4px);
  opacity: 1;
}
.sidebar-cta {
  background: radial-gradient(circle at 70% 50%, rgba(232, 163, 61, 0.12) 0%, transparent 60%), var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: center;
}
.sidebar-cta h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  margin: 0 0 8px;
}
.sidebar-cta p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.sidebar-cta .btn-primary-custom {
  height: 44px;
  padding: 0 26px;
  font-size: 14px;
}
.site-footer {
  background: #0A0812;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 56px 0 40px;
}
.footer-brand .brand-link {
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
  max-width: 280px;
}
.social-icons {
  display: flex;
  gap: 10px;
}
.social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all .3s ease;
}
.social-icons a:hover {
  background: rgba(108, 59, 244, 0.2);
  color: var(--primary);
  border-color: rgba(108, 59, 244, 0.3);
  transform: translateY(-2px);
}
.social-icons svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-column h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  margin: 0 0 18px;
}
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-column li {
  margin-bottom: 10px;
}
.footer-column a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color .25s ease;
}
.footer-column a:hover {
  color: var(--primary);
}
.footer-column li span {
  font-size: 14px;
  color: var(--text-secondary);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}
@media (max-width: 991px) {
  .main-wrapper {
    margin-left: 0;
  }
  .sidebar {
    width: 220px;
    transform: translateX(-100%);
    transition: transform .3s ease;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .mobile-header {
    display: flex;
  }
  .sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  .container-custom {
    padding-left: 24px;
    padding-right: 24px;
  }
  .article-page {
    padding-top: 32px;
  }
}
@media (max-width: 767px) {
  .container-custom {
    padding-left: 16px;
    padding-right: 16px;
  }
  .article-title {
    font-size: 26px;
  }
  .article-meta {
    gap: 12px;
    font-size: 12px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 40px 0 30px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .related-scroll {
    grid-template-columns: 1fr;
  }
  .article-pager .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 12px;
  }
  .breadcrumb-custom .current {
    max-width: 180px;
  }
}
@media (max-width: 575px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: auto;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .sidebar {
    width: 72px;
  }
  .sidebar .brand-text,
  .sidebar .nav-link span,
  .sidebar .support-text {
    display: none;
  }
  .sidebar-logo {
    justify-content: center;
    padding: 0;
  }
  .sidebar-nav {
    align-items: center;
  }
  .nav-link {
    width: 44px;
    justify-content: center;
    padding: 0;
  }
  .nav-link.active::before {
    left: -14px;
  }
  .sidebar-support {
    display: flex;
    justify-content: center;
    padding: 14px 0 20px;
  }
  .support-card {
    width: 44px;
    padding: 0;
    justify-content: center;
  }
}

/* roulang page: category2 */
/* ===== 设计变量 ===== */
        :root {
            --primary: #6C3BF4;
            --primary-dark: #4A17B8;
            --primary-gradient: linear-gradient(180deg, #6C3BF4 0%, #4A17B8 100%);
            --accent: #E8A33D;
            --bg: #0B0A12;
            --surface1: #14102A;
            --surface2: #1E1935;
            --border: rgba(255, 255, 255, 0.08);
            --text-main: #ECEAF1;
            --text-sub: #A8A3B8;
            --text-weak: #6F6A84;
            --radius-lg: 20px;
            --radius-md: 16px;
            --radius-sm: 10px;
            --shadow-1: 0 4px 16px rgba(0, 0, 0, 0.35);
            --shadow-2: 0 8px 28px rgba(93, 58, 211, 0.25);
            --sidebar-width: 220px;
            --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, system-ui, sans-serif;
        }

        /* ===== Reset ===== */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: var(--font);
            background: var(--bg);
            color: var(--text-main);
            line-height: 1.7;
            font-size: 16px;
            -webkit-font-smoothing: antialiased;
        }
        a {
            color: var(--primary);
            text-decoration: none;
            transition: color 0.25s ease;
        }
        a:hover {
            color: var(--accent);
        }
        img {
            max-width: 100%;
            display: block;
        }
        button,
        input,
        select,
        textarea {
            font-family: inherit;
        }

        /* ===== 容器 ===== */
        .container-custom {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 32px;
        }

        /* ===== 左侧导航 ===== */
        .sidebar {
            position: fixed;
            top: 0;
            left: 0;
            width: var(--sidebar-width);
            height: 100vh;
            background: var(--surface1);
            border-right: 1px solid var(--border);
            display: flex;
            flex-direction: column;
            z-index: 1045;
            transition: transform 0.25s ease;
        }
        .sidebar-logo {
            height: 72px;
            display: flex;
            align-items: center;
            padding: 0 20px;
            border-bottom: 1px solid var(--border);
            flex-shrink: 0;
        }
        .brand-link {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            color: var(--text-main);
        }
        .brand-link:hover {
            color: var(--text-main);
        }
        .brand-icon {
            width: 34px;
            height: 34px;
            border-radius: 10px;
            background: var(--primary-gradient);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        .brand-icon svg {
            width: 20px;
            height: 20px;
            fill: none;
            stroke: #fff;
            stroke-width: 1.8;
        }
        .brand-text {
            font-size: 18px;
            font-weight: 600;
            letter-spacing: 0.01em;
            white-space: nowrap;
        }

        .sidebar-nav {
            flex: 1;
            padding: 16px 12px;
            display: flex;
            flex-direction: column;
            gap: 4px;
            overflow-y: auto;
        }
        .sidebar-nav .nav-link {
            display: flex;
            align-items: center;
            gap: 12px;
            height: 44px;
            padding: 0 14px;
            border-radius: 12px;
            color: var(--text-sub);
            font-size: 15px;
            font-weight: 500;
            position: relative;
            transition: background 0.25s ease, color 0.25s ease;
        }
        .sidebar-nav .nav-link svg {
            width: 18px;
            height: 18px;
            fill: none;
            stroke: currentColor;
            stroke-width: 1.8;
            flex-shrink: 0;
        }
        .sidebar-nav .nav-link:hover {
            background: rgba(108, 59, 244, 0.15);
            color: var(--text-main);
        }
        .sidebar-nav .nav-link.active {
            background: rgba(108, 59, 244, 0.25);
            color: var(--text-main);
        }
        .sidebar-nav .nav-link.active::before {
            content: "";
            position: absolute;
            left: -12px;
            top: 50%;
            transform: translateY(-50%);
            width: 3px;
            height: 20px;
            border-radius: 0 3px 3px 0;
            background: var(--primary);
        }

        .sidebar-help {
            padding: 14px;
            flex-shrink: 0;
        }
        .help-card {
            background: var(--surface2);
            border-radius: 14px;
            padding: 14px 16px;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
        .help-card svg {
            width: 20px;
            height: 20px;
            fill: none;
            stroke: var(--accent);
            stroke-width: 1.8;
            margin-bottom: 2px;
        }
        .help-card span {
            font-size: 14px;
            font-weight: 600;
            color: var(--text-main);
        }
        .help-card small {
            font-size: 12px;
            color: var(--text-weak);
        }

        /* ===== 主内容区 ===== */
        .main-content {
            margin-left: var(--sidebar-width);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* ===== 移动端顶栏 ===== */
        .mobile-header {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 56px;
            background: var(--surface1);
            border-bottom: 1px solid var(--border);
            z-index: 1040;
            align-items: center;
            justify-content: space-between;
            padding: 0 16px;
        }
        .mobile-header .brand-link .brand-text {
            font-size: 16px;
        }
        .menu-toggle,
        .search-toggle {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            background: transparent;
            border: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-main);
            cursor: pointer;
            transition: background 0.2s;
        }
        .menu-toggle:hover,
        .search-toggle:hover {
            background: var(--surface2);
        }
        .menu-toggle svg,
        .search-toggle svg {
            width: 18px;
            height: 18px;
            fill: none;
            stroke: currentColor;
            stroke-width: 1.8;
        }

        /* ===== 抽屉 ===== */
        .drawer-backdrop {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.6);
            z-index: 1041;
            opacity: 0;
            transition: opacity 0.25s ease;
        }
        .drawer-backdrop.show {
            opacity: 1;
        }
        .mobile-drawer {
            position: fixed;
            top: 0;
            left: 0;
            width: 280px;
            height: 100vh;
            background: var(--surface1);
            z-index: 1042;
            transform: translateX(-100%);
            transition: transform 0.25s ease;
            display: flex;
            flex-direction: column;
            padding: 20px 16px;
        }
        .mobile-drawer.open {
            transform: translateX(0);
        }
        .mobile-drawer .drawer-logo {
            height: 56px;
            display: flex;
            align-items: center;
            padding: 0 8px;
            margin-bottom: 16px;
        }
        .mobile-drawer .drawer-nav {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
        .mobile-drawer .drawer-nav .nav-link {
            display: flex;
            align-items: center;
            gap: 12px;
            height: 44px;
            padding: 0 14px;
            border-radius: 12px;
            color: var(--text-sub);
            font-size: 15px;
            font-weight: 500;
        }
        .mobile-drawer .drawer-nav .nav-link svg {
            width: 18px;
            height: 18px;
            fill: none;
            stroke: currentColor;
            stroke-width: 1.8;
        }
        .mobile-drawer .drawer-nav .nav-link:hover {
            background: rgba(108, 59, 244, 0.15);
            color: var(--text-main);
        }
        .mobile-drawer .drawer-nav .nav-link.active {
            background: rgba(108, 59, 244, 0.25);
            color: var(--text-main);
        }

        /* ===== Banner ===== */
        .category-banner {
            position: relative;
            height: 320px;
            background: radial-gradient(circle at 50% 35%, rgba(108, 59, 244, 0.28) 0%, rgba(11, 10, 18, 0.78) 75%),
                url('/assets/images/backpic/back-2.webp') center/cover no-repeat;
            display: flex;
            align-items: center;
            overflow: hidden;
        }
        .category-banner .banner-content {
            position: relative;
            z-index: 2;
            max-width: 720px;
        }
        .category-banner .banner-decor {
            position: absolute;
            right: 6%;
            top: 50%;
            transform: translateY(-50%);
            width: 280px;
            height: 280px;
            border-radius: 50%;
            background: rgba(232, 163, 61, 0.15);
            z-index: 1;
            pointer-events: none;
        }
        .category-banner h1 {
            font-size: 44px;
            font-weight: 700;
            line-height: 1.25;
            margin-bottom: 12px;
            letter-spacing: 0.01em;
            text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
        }
        .category-banner p {
            font-size: 16px;
            color: var(--text-sub);
            line-height: 1.7;
            max-width: 520px;
            margin-bottom: 0;
        }

        /* ===== 通用板块 ===== */
        .section-block {
            padding: 100px 0;
        }
        .section-header {
            margin-bottom: 40px;
        }
        .section-header h2 {
            font-size: 28px;
            font-weight: 600;
            line-height: 1.3;
            letter-spacing: 0.01em;
            margin-bottom: 8px;
        }
        .section-header p {
            color: var(--text-sub);
            font-size: 15px;
            margin-bottom: 0;
        }

        /* ===== 分类简介区 ===== */
        .intro-wrap {
            display: grid;
            grid-template-columns: 1.15fr 0.85fr;
            gap: 56px;
            align-items: center;
        }
        .intro-text h3 {
            font-size: 22px;
            font-weight: 600;
            line-height: 1.35;
            margin-bottom: 16px;
        }
        .intro-text p {
            color: var(--text-sub);
            font-size: 16px;
            line-height: 1.8;
            margin-bottom: 14px;
        }
        .intro-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 16px;
        }
        .stat-card {
            background: var(--surface1);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            padding: 24px 16px;
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
        }
        .stat-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-2);
            border-color: rgba(108, 59, 244, 0.4);
        }
        .stat-card .stat-num {
            font-size: 32px;
            font-weight: 700;
            color: var(--accent);
            display: block;
            line-height: 1.2;
            margin-bottom: 4px;
        }
        .stat-card .stat-label {
            font-size: 13px;
            color: var(--text-sub);
        }

        /* ===== 方块网格卡 ===== */
        .category-grid .category-tile {
            position: relative;
            display: block;
            border-radius: var(--radius-lg);
            overflow: hidden;
            aspect-ratio: 1 / 1;
            border: 1px solid var(--border);
            transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
        }
        .category-tile img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
        }
        .category-tile:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-2);
            border-color: rgba(232, 163, 61, 0.5);
        }
        .category-tile:hover img {
            transform: scale(1.05);
        }
        .category-tile .tile-overlay {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            padding: 20px 16px 14px;
            background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.92) 100%);
        }
        .category-tile .tile-overlay h4 {
            font-size: 16px;
            font-weight: 600;
            color: #fff;
            margin-bottom: 2px;
            line-height: 1.4;
        }
        .category-tile .tile-num {
            font-size: 12px;
            color: var(--accent);
            letter-spacing: 0.04em;
        }

        /* ===== 特色区 ===== */
        .feature-card {
            background: var(--surface1);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 28px 32px;
            height: 100%;
            transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
        }
        .feature-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-2);
            border-color: rgba(108, 59, 244, 0.4);
        }
        .feature-card.feature-wide {
            background: linear-gradient(135deg, rgba(108, 59, 244, 0.18) 0%, rgba(20, 16, 42, 0.8) 55%),
                var(--surface1);
        }
        .feature-card .feature-icon {
            width: 42px;
            height: 42px;
            border-radius: 12px;
            background: rgba(108, 59, 244, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 16px;
        }
        .feature-card .feature-icon svg {
            width: 20px;
            height: 20px;
            fill: none;
            stroke: var(--primary);
            stroke-width: 1.8;
        }
        .feature-card h3 {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 10px;
            line-height: 1.35;
        }
        .feature-card p {
            font-size: 14px;
            color: var(--text-sub);
            line-height: 1.7;
            margin-bottom: 0;
        }

        /* ===== CTA 描边卡 ===== */
        .cta-outline {
            border: 1px solid var(--primary);
            border-radius: var(--radius-lg);
            padding: 48px 40px;
            text-align: center;
            background: transparent;
            position: relative;
            overflow: hidden;
        }
        .cta-outline::before {
            content: "";
            position: absolute;
            inset: -60% -30% auto auto;
            width: 360px;
            height: 360px;
            border-radius: 50%;
            background: rgba(108, 59, 244, 0.08);
            pointer-events: none;
        }
        .cta-outline h2 {
            font-size: 28px;
            font-weight: 600;
            color: #C4B5FD;
            margin-bottom: 10px;
            position: relative;
        }
        .cta-outline p {
            font-size: 15px;
            color: var(--text-sub);
            margin-bottom: 28px;
            position: relative;
        }
        .btn-cta {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            height: 48px;
            padding: 0 32px;
            border-radius: 999px;
            background: var(--primary-gradient);
            color: #fff;
            font-size: 15px;
            font-weight: 600;
            border: none;
            cursor: pointer;
            transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
            box-shadow: 0 8px 28px rgba(108, 59, 244, 0.4);
            position: relative;
        }
        .btn-cta:hover {
            filter: brightness(1.1);
            transform: translateY(-1px);
            color: #fff;
            box-shadow: 0 10px 32px rgba(108, 59, 244, 0.5);
        }
        .btn-cta:active {
            transform: translateY(0);
        }
        .btn-cta:focus-visible {
            outline: 3px solid rgba(232, 163, 61, 0.4);
            outline-offset: 2px;
        }

        /* ===== FAQ ===== */
        .faq-wrap {
            max-width: 800px;
            margin: 0 auto;
        }
        .accordion-item {
            background: var(--surface1);
            border: 1px solid var(--border);
            border-radius: 12px !important;
            margin-bottom: 12px;
            overflow: hidden;
        }
        .accordion-item:first-of-type,
        .accordion-item:last-of-type {
            border-radius: 12px !important;
        }
        .accordion-button {
            background: transparent;
            color: var(--text-main);
            font-size: 16px;
            font-weight: 600;
            padding: 16px 24px;
            border: none;
            box-shadow: none;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            transition: background 0.2s ease;
        }
        .accordion-button:not(.collapsed) {
            background: var(--surface2);
            color: var(--text-main);
            box-shadow: none;
        }
        .accordion-button:hover {
            background: var(--surface2);
        }
        .accordion-button:focus {
            box-shadow: none;
            outline: 2px solid rgba(108, 59, 244, 0.3);
            outline-offset: -2px;
        }
        .accordion-button::after {
            display: none;
        }
        .accordion-arrow {
            width: 18px;
            height: 18px;
            fill: none;
            stroke: var(--text-sub);
            stroke-width: 2;
            transition: transform 0.3s ease;
            flex-shrink: 0;
        }
        .accordion-button:not(.collapsed) .accordion-arrow {
            transform: rotate(180deg);
        }
        .accordion-body {
            padding: 4px 24px 20px;
            color: var(--text-sub);
            font-size: 15px;
            line-height: 1.7;
            border-top: 1px solid var(--border);
            padding-top: 14px;
        }

        /* ===== 页脚 ===== */
        .site-footer {
            background: #0A0812;
            border-top: 1px solid var(--border);
            padding: 56px 0 0;
            margin-top: auto;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
            gap: 40px;
            padding-bottom: 40px;
        }
        .footer-brand .brand-link {
            margin-bottom: 14px;
        }
        .footer-brand p {
            font-size: 14px;
            color: var(--text-weak);
            line-height: 1.7;
            margin-bottom: 18px;
            max-width: 260px;
        }
        .social-icons {
            display: flex;
            gap: 10px;
        }
        .social-icons a {
            width: 36px;
            height: 36px;
            border-radius: 10px;
            border: 1px solid var(--border);
            background: var(--surface1);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-sub);
            transition: background 0.2s, color 0.2s, border-color 0.2s;
        }
        .social-icons a:hover {
            background: rgba(108, 59, 244, 0.2);
            color: var(--text-main);
            border-color: rgba(108, 59, 244, 0.4);
        }
        .social-icons svg {
            width: 16px;
            height: 16px;
            fill: none;
            stroke: currentColor;
            stroke-width: 1.8;
        }
        .footer-column h4 {
            font-size: 16px;
            font-weight: 600;
            color: var(--text-main);
            margin-bottom: 16px;
        }
        .footer-column ul {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .footer-column ul li a {
            font-size: 14px;
            color: var(--text-sub);
            transition: color 0.2s;
        }
        .footer-column ul li a:hover {
            color: var(--primary);
        }
        .footer-column ul li {
            font-size: 14px;
            color: var(--text-weak);
        }
        .footer-bottom {
            border-top: 1px solid var(--border);
            padding: 18px 0;
            text-align: center;
        }
        .footer-bottom p {
            font-size: 13px;
            color: var(--text-weak);
            margin: 0;
        }

        /* ===== 响应式 ===== */
        @media (max-width: 1199.98px) {
            .section-block {
                padding: 80px 0;
            }
            .intro-wrap {
                gap: 40px;
            }
        }

        @media (max-width: 991.98px) {
            :root {
                --sidebar-width: 72px;
            }
            .sidebar .brand-text,
            .sidebar-nav .nav-link span,
            .help-card span,
            .help-card small {
                display: none;
            }
            .sidebar-nav .nav-link {
                justify-content: center;
                padding: 0;
            }
            .sidebar-nav .nav-link.active::before {
                left: -12px;
            }
            .sidebar-help {
                padding: 10px;
            }
            .help-card {
                align-items: center;
                padding: 12px 8px;
            }
            .footer-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (max-width: 767.98px) {
            .sidebar {
                display: none;
            }
            .main-content {
                margin-left: 0;
                padding-top: 56px;
            }
            .mobile-header {
                display: flex;
            }
            .section-block {
                padding: 56px 0;
            }
            .container-custom {
                padding: 0 16px;
            }
            .category-banner {
                height: 260px;
            }
            .category-banner h1 {
                font-size: 32px;
            }
            .category-banner p {
                font-size: 14px;
            }
            .category-banner .banner-decor {
                width: 160px;
                height: 160px;
                right: 4%;
            }
            .intro-wrap {
                grid-template-columns: 1fr;
                gap: 32px;
            }
            .intro-stats {
                grid-template-columns: repeat(3, 1fr);
                gap: 10px;
            }
            .stat-card {
                padding: 18px 10px;
            }
            .stat-card .stat-num {
                font-size: 24px;
            }
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 32px;
                padding-bottom: 24px;
            }
            .cta-outline {
                padding: 32px 20px;
            }
            .cta-outline h2 {
                font-size: 22px;
            }
            .section-header h2 {
                font-size: 24px;
            }
        }

        @media (max-width: 575.98px) {
            .category-banner {
                height: 240px;
            }
            .category-banner h1 {
                font-size: 28px;
            }
            .category-tile .tile-overlay h4 {
                font-size: 14px;
            }
            .category-tile .tile-overlay {
                padding: 14px 10px 10px;
            }
        }

        @media (min-width: 1400px) {
            .category-banner .banner-content {
                max-width: 800px;
            }
        }
