/* roulang page: index */
/* ===== 设计变量 ===== */
        :root {
            --primary: #6c5ce7;
            --primary-dark: #5a4bd1;
            --primary-light: #a29bfe;
            --accent: #fdcb6e;
            --accent-light: #ffeaa7;
            --accent-dark: #e0b050;
            --bg-deep: #070b1a;
            --bg-dark: #0c1230;
            --bg-card: rgba(255, 255, 255, 0.04);
            --bg-card-hover: rgba(255, 255, 255, 0.08);
            --bg-glass: rgba(12, 18, 48, 0.72);
            --text-primary: #f0f0f8;
            --text-secondary: #b8b8d0;
            --text-muted: #7a7a9a;
            --border-color: rgba(255, 255, 255, 0.06);
            --border-light: rgba(255, 255, 255, 0.10);
            --radius-sm: 8px;
            --radius-md: 16px;
            --radius-lg: 24px;
            --radius-xl: 32px;
            --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
            --shadow-glow: 0 0 40px rgba(108, 92, 231, 0.15);
            --shadow-glow-accent: 0 0 40px rgba(253, 203, 110, 0.10);
            --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            --max-width: 1200px;
            --header-height: 72px;
        }

        /* ===== Reset & Base ===== */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        body {
            font-family: var(--font-sans);
            background: var(--bg-deep);
            color: var(--text-primary);
            line-height: 1.7;
            font-size: 16px;
            min-height: 100vh;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
            border-radius: var(--radius-sm);
        }

        a {
            color: var(--primary-light);
            text-decoration: none;
            transition: color var(--transition);
        }
        a:hover {
            color: var(--accent);
        }

        a:focus-visible,
        button:focus-visible,
        input:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        button,
        input,
        textarea {
            font-family: inherit;
            font-size: inherit;
            border: none;
            background: transparent;
            color: inherit;
        }

        button {
            cursor: pointer;
        }

        ul,
        ol {
            list-style: none;
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            font-weight: 700;
            line-height: 1.25;
            color: var(--text-primary);
        }

        /* ===== 容器 ===== */
        .container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
        }

        @media (max-width: 768px) {
            .container {
                padding: 0 16px;
            }
        }

        /* ===== 通用板块间距 ===== */
        .section {
            padding: 80px 0;
        }
        .section-title {
            font-size: 2.25rem;
            font-weight: 800;
            text-align: center;
            margin-bottom: 12px;
            letter-spacing: -0.02em;
            background: linear-gradient(135deg, #f0f0f8 0%, #a29bfe 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .section-subtitle {
            font-size: 1.1rem;
            color: var(--text-secondary);
            text-align: center;
            max-width: 640px;
            margin: 0 auto 48px;
            line-height: 1.6;
        }
        .section-divider {
            width: 60px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            border-radius: 4px;
            margin: 16px auto 24px;
        }

        @media (max-width: 768px) {
            .section {
                padding: 48px 0;
            }
            .section-title {
                font-size: 1.65rem;
            }
            .section-subtitle {
                font-size: 0.95rem;
                margin-bottom: 32px;
            }
        }

        /* ===== Header & Navigation ===== */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: var(--header-height);
            z-index: 1000;
            background: rgba(7, 11, 26, 0.75);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border-color);
            transition: background var(--transition);
        }
        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 100%;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
        }
        .logo {
            font-size: 1.5rem;
            font-weight: 800;
            letter-spacing: -0.02em;
            color: var(--text-primary);
            display: flex;
            align-items: center;
            gap: 10px;
            transition: opacity var(--transition);
        }
        .logo:hover {
            opacity: 0.85;
            color: var(--text-primary);
        }
        .logo-icon {
            width: 36px;
            height: 36px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            color: #fff;
            flex-shrink: 0;
        }
        .logo span {
            background: linear-gradient(135deg, #f0f0f8, #a29bfe);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .nav {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .nav a {
            padding: 8px 18px;
            border-radius: var(--radius-sm);
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text-secondary);
            transition: all var(--transition);
            position: relative;
        }
        .nav a:hover {
            color: var(--text-primary);
            background: var(--bg-card);
        }
        .nav a.active {
            color: var(--accent);
            background: rgba(253, 203, 110, 0.08);
        }
        .nav a.active::after {
            content: '';
            position: absolute;
            bottom: 2px;
            left: 50%;
            transform: translateX(-50%);
            width: 20px;
            height: 3px;
            background: var(--accent);
            border-radius: 4px;
        }

        .nav-toggle {
            display: none;
            flex-direction: column;
            gap: 5px;
            padding: 8px;
            background: transparent;
            border: none;
            cursor: pointer;
        }
        .nav-toggle span {
            display: block;
            width: 24px;
            height: 2px;
            background: var(--text-primary);
            border-radius: 4px;
            transition: all var(--transition);
        }
        .nav-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }
        .nav-toggle.active span:nth-child(2) {
            opacity: 0;
        }
        .nav-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }

        @media (max-width: 768px) {
            .nav-toggle {
                display: flex;
            }
            .nav {
                position: fixed;
                top: var(--header-height);
                left: 0;
                width: 100%;
                flex-direction: column;
                background: rgba(7, 11, 26, 0.96);
                backdrop-filter: blur(20px);
                -webkit-backdrop-filter: blur(20px);
                padding: 16px 24px 24px;
                gap: 4px;
                border-bottom: 1px solid var(--border-color);
                transform: translateY(-110%);
                opacity: 0;
                pointer-events: none;
                transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
            }
            .nav.open {
                transform: translateY(0);
                opacity: 1;
                pointer-events: auto;
            }
            .nav a {
                width: 100%;
                padding: 12px 16px;
                font-size: 1rem;
            }
            .nav a.active::after {
                display: none;
            }
            .nav a.active {
                border-left: 3px solid var(--accent);
            }
        }

        /* ===== Hero ===== */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            padding: calc(var(--header-height) + 40px) 24px 80px;
            background: linear-gradient(135deg, rgba(7, 11, 26, 0.92), rgba(12, 18, 48, 0.88)),
                url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
            overflow: hidden;
            text-align: center;
        }
        .hero::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle at 30% 40%, rgba(108, 92, 231, 0.06) 0%, transparent 60%),
                radial-gradient(circle at 70% 60%, rgba(253, 203, 110, 0.04) 0%, transparent 50%);
            pointer-events: none;
            animation: heroGlow 20s ease-in-out infinite alternate;
        }
        @keyframes heroGlow {
            0% {
                transform: translate(0, 0);
            }
            100% {
                transform: translate(5%, 5%);
            }
        }

        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 820px;
        }
        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 18px 6px 12px;
            border-radius: 100px;
            background: rgba(253, 203, 110, 0.10);
            border: 1px solid rgba(253, 203, 110, 0.15);
            color: var(--accent);
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 24px;
            letter-spacing: 0.3px;
        }
        .hero-badge i {
            font-size: 0.75rem;
        }
        .hero h1 {
            font-size: 3.75rem;
            font-weight: 900;
            letter-spacing: -0.03em;
            line-height: 1.1;
            margin-bottom: 20px;
            background: linear-gradient(135deg, #ffffff 0%, #c8c0f0 50%, #fdcb6e 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .hero p {
            font-size: 1.2rem;
            color: var(--text-secondary);
            max-width: 600px;
            margin: 0 auto 36px;
            line-height: 1.7;
        }
        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            justify-content: center;
        }
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 14px 32px;
            border-radius: var(--radius-sm);
            font-weight: 600;
            font-size: 1rem;
            transition: all var(--transition);
            border: none;
            cursor: pointer;
            text-decoration: none;
        }
        .btn-primary {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: #fff;
            box-shadow: 0 4px 20px rgba(108, 92, 231, 0.25);
        }
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(108, 92, 231, 0.35);
            color: #fff;
        }
        .btn-primary:active {
            transform: translateY(0);
        }
        .btn-outline {
            background: transparent;
            color: var(--text-primary);
            border: 1.5px solid var(--border-light);
        }
        .btn-outline:hover {
            border-color: var(--accent);
            color: var(--accent);
            transform: translateY(-2px);
            box-shadow: 0 4px 20px rgba(253, 203, 110, 0.10);
        }
        .btn-accent {
            background: linear-gradient(135deg, var(--accent), var(--accent-dark));
            color: #1a1a2e;
            box-shadow: 0 4px 20px rgba(253, 203, 110, 0.20);
        }
        .btn-accent:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(253, 203, 110, 0.30);
            color: #1a1a2e;
        }
        .btn-sm {
            padding: 10px 22px;
            font-size: 0.9rem;
        }

        @media (max-width: 768px) {
            .hero {
                padding: calc(var(--header-height) + 24px) 16px 56px;
                min-height: 90vh;
            }
            .hero h1 {
                font-size: 2.2rem;
            }
            .hero p {
                font-size: 1rem;
            }
            .hero-actions {
                flex-direction: column;
                align-items: center;
            }
            .btn {
                width: 100%;
                justify-content: center;
                max-width: 320px;
            }
        }

        @media (max-width: 480px) {
            .hero h1 {
                font-size: 1.8rem;
            }
        }

        /* ===== 平台简介 ===== */
        .intro-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }
        .intro-image {
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-card);
            position: relative;
        }
        .intro-image img {
            width: 100%;
            height: 400px;
            object-fit: cover;
            display: block;
        }
        .intro-image::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(108, 92, 231, 0.10), rgba(253, 203, 110, 0.05));
            pointer-events: none;
        }
        .intro-text h2 {
            font-size: 2rem;
            font-weight: 800;
            margin-bottom: 16px;
            letter-spacing: -0.02em;
        }
        .intro-text p {
            color: var(--text-secondary);
            margin-bottom: 20px;
            font-size: 1.05rem;
            line-height: 1.7;
        }
        .intro-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 20px;
        }
        .tag {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 16px;
            border-radius: 100px;
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            font-size: 0.85rem;
            color: var(--text-secondary);
            transition: all var(--transition);
        }
        .tag:hover {
            border-color: var(--primary-light);
            color: var(--text-primary);
            background: var(--bg-card-hover);
        }
        .tag i {
            color: var(--accent);
            font-size: 0.75rem;
        }

        @media (max-width: 768px) {
            .intro-grid {
                grid-template-columns: 1fr;
                gap: 32px;
            }
            .intro-image img {
                height: 240px;
            }
            .intro-text h2 {
                font-size: 1.5rem;
            }
            .intro-text p {
                font-size: 0.95rem;
            }
        }

        /* ===== 分类入口 ===== */
        .category-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 24px;
        }
        .category-card {
            padding: 32px 28px;
            border-radius: var(--radius-md);
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            transition: all var(--transition);
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .category-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            opacity: 0;
            transition: opacity var(--transition);
        }
        .category-card:hover {
            background: var(--bg-card-hover);
            border-color: var(--border-light);
            transform: translateY(-4px);
            box-shadow: var(--shadow-glow);
        }
        .category-card:hover::before {
            opacity: 1;
        }
        .category-icon {
            width: 56px;
            height: 56px;
            margin: 0 auto 16px;
            border-radius: var(--radius-sm);
            background: linear-gradient(135deg, rgba(108, 92, 231, 0.12), rgba(253, 203, 110, 0.08));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: var(--accent);
        }
        .category-card h3 {
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 8px;
        }
        .category-card p {
            color: var(--text-secondary);
            font-size: 0.9rem;
            line-height: 1.6;
            margin-bottom: 16px;
        }
        .category-card .btn {
            margin-top: 8px;
        }

        /* ===== 最新资讯 ===== */
        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 24px;
        }
        .news-card {
            border-radius: var(--radius-md);
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            overflow: hidden;
            transition: all var(--transition);
            display: flex;
            flex-direction: column;
        }
        .news-card:hover {
            background: var(--bg-card-hover);
            border-color: var(--border-light);
            transform: translateY(-3px);
            box-shadow: var(--shadow-glow);
        }
        .news-card-image {
            width: 100%;
            height: 180px;
            object-fit: cover;
            display: block;
            border-radius: 0;
        }
        .news-card-body {
            padding: 20px 22px 22px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .news-card-meta {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 0.8rem;
            color: var(--text-muted);
            margin-bottom: 10px;
        }
        .news-card-meta .badge {
            padding: 2px 10px;
            border-radius: 100px;
            background: rgba(108, 92, 231, 0.12);
            color: var(--primary-light);
            font-size: 0.75rem;
            font-weight: 600;
        }
        .news-card h3 {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 8px;
            line-height: 1.4;
        }
        .news-card h3 a {
            color: var(--text-primary);
            transition: color var(--transition);
        }
        .news-card h3 a:hover {
            color: var(--accent);
        }
        .news-card p {
            color: var(--text-secondary);
            font-size: 0.9rem;
            line-height: 1.6;
            flex: 1;
        }
        .news-card .read-more {
            margin-top: 14px;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--primary-light);
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: all var(--transition);
        }
        .news-card .read-more:hover {
            color: var(--accent);
            gap: 10px;
        }
        .news-empty {
            grid-column: 1 / -1;
            text-align: center;
            padding: 48px 24px;
            color: var(--text-muted);
            font-size: 1rem;
            background: var(--bg-card);
            border-radius: var(--radius-md);
            border: 1px dashed var(--border-color);
        }

        @media (max-width: 480px) {
            .news-grid {
                grid-template-columns: 1fr;
            }
            .news-card-image {
                height: 160px;
            }
        }

        /* ===== 数据统计 ===== */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 20px;
        }
        .stat-item {
            text-align: center;
            padding: 32px 16px;
            border-radius: var(--radius-md);
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            transition: all var(--transition);
        }
        .stat-item:hover {
            background: var(--bg-card-hover);
            border-color: var(--border-light);
            transform: translateY(-2px);
        }
        .stat-number {
            font-size: 2.8rem;
            font-weight: 900;
            letter-spacing: -0.03em;
            background: linear-gradient(135deg, var(--accent), var(--primary-light));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1.1;
        }
        .stat-label {
            font-size: 0.9rem;
            color: var(--text-secondary);
            margin-top: 6px;
        }

        @media (max-width: 480px) {
            .stat-number {
                font-size: 2rem;
            }
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        /* ===== 特色功能 ===== */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 24px;
        }
        .feature-card {
            padding: 28px 24px;
            border-radius: var(--radius-md);
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            transition: all var(--transition);
            position: relative;
        }
        .feature-card:hover {
            background: var(--bg-card-hover);
            border-color: var(--border-light);
            transform: translateY(-3px);
            box-shadow: var(--shadow-glow);
        }
        .feature-icon {
            width: 48px;
            height: 48px;
            border-radius: var(--radius-sm);
            background: linear-gradient(135deg, rgba(108, 92, 231, 0.15), rgba(253, 203, 110, 0.10));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            color: var(--accent);
            margin-bottom: 14px;
        }
        .feature-card h3 {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 8px;
        }
        .feature-card p {
            color: var(--text-secondary);
            font-size: 0.9rem;
            line-height: 1.6;
        }

        /* ===== 使用流程 ===== */
        .steps {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 32px;
            counter-reset: step-counter;
            position: relative;
        }
        .step-item {
            text-align: center;
            position: relative;
            counter-increment: step-counter;
        }
        .step-item::before {
            content: counter(step-counter);
            display: block;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: #fff;
            font-size: 1.2rem;
            font-weight: 800;
            line-height: 48px;
            margin: 0 auto 16px;
            box-shadow: 0 0 30px rgba(108, 92, 231, 0.20);
        }
        .step-item h3 {
            font-size: 1.05rem;
            font-weight: 700;
            margin-bottom: 6px;
        }
        .step-item p {
            color: var(--text-secondary);
            font-size: 0.9rem;
            line-height: 1.6;
            max-width: 280px;
            margin: 0 auto;
        }
        .steps-connector {
            display: none;
        }

        @media (min-width: 900px) {
            .steps {
                position: relative;
            }
            .steps-connector {
                display: block;
                position: absolute;
                top: 24px;
                left: 15%;
                right: 15%;
                height: 2px;
                background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
                opacity: 0.2;
                z-index: 0;
            }
            .step-item {
                z-index: 1;
            }
        }

        /* ===== FAQ ===== */
        .faq-list {
            max-width: 760px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .faq-item {
            border-radius: var(--radius-sm);
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            overflow: hidden;
            transition: all var(--transition);
        }
        .faq-item:hover {
            border-color: var(--border-light);
        }
        .faq-question {
            width: 100%;
            padding: 18px 22px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-primary);
            background: transparent;
            border: none;
            cursor: pointer;
            text-align: left;
            transition: color var(--transition);
            gap: 12px;
        }
        .faq-question:hover {
            color: var(--accent);
        }
        .faq-question i {
            font-size: 0.85rem;
            color: var(--text-muted);
            transition: transform var(--transition);
            flex-shrink: 0;
        }
        .faq-item.open .faq-question i {
            transform: rotate(180deg);
            color: var(--accent);
        }
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.35s ease, padding 0.35s ease;
            padding: 0 22px;
            color: var(--text-secondary);
            font-size: 0.95rem;
            line-height: 1.7;
        }
        .faq-item.open .faq-answer {
            max-height: 300px;
            padding: 0 22px 18px;
        }

        /* ===== CTA ===== */
        .cta-section {
            background: linear-gradient(135deg, rgba(12, 18, 48, 0.92), rgba(7, 11, 26, 0.95)),
                url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
            border-radius: var(--radius-lg);
            padding: 64px 40px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .cta-section::before {
            content: '';
            position: absolute;
            top: -40%;
            right: -20%;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(108, 92, 231, 0.08) 0%, transparent 70%);
            pointer-events: none;
        }
        .cta-section h2 {
            font-size: 2rem;
            font-weight: 800;
            margin-bottom: 12px;
            position: relative;
            z-index: 1;
        }
        .cta-section p {
            color: var(--text-secondary);
            font-size: 1.05rem;
            max-width: 520px;
            margin: 0 auto 28px;
            position: relative;
            z-index: 1;
        }
        .cta-section .btn {
            position: relative;
            z-index: 1;
        }

        @media (max-width: 768px) {
            .cta-section {
                padding: 40px 24px;
            }
            .cta-section h2 {
                font-size: 1.5rem;
            }
            .cta-section p {
                font-size: 0.95rem;
            }
        }

        /* ===== Footer ===== */
        .footer {
            border-top: 1px solid var(--border-color);
            padding: 48px 0 24px;
            margin-top: 40px;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 32px;
        }
        .footer-brand .logo {
            font-size: 1.3rem;
            margin-bottom: 12px;
        }
        .footer-brand p {
            color: var(--text-muted);
            font-size: 0.9rem;
            line-height: 1.7;
            max-width: 320px;
        }
        .footer-col h4 {
            font-size: 0.95rem;
            font-weight: 700;
            margin-bottom: 16px;
            color: var(--text-primary);
        }
        .footer-col a {
            display: block;
            color: var(--text-muted);
            font-size: 0.9rem;
            padding: 4px 0;
            transition: color var(--transition);
        }
        .footer-col a:hover {
            color: var(--accent);
        }
        .footer-bottom {
            border-top: 1px solid var(--border-color);
            padding-top: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 12px;
            font-size: 0.85rem;
            color: var(--text-muted);
        }
        .footer-bottom a {
            color: var(--text-muted);
        }
        .footer-bottom a:hover {
            color: var(--accent);
        }
        .footer-social {
            display: flex;
            gap: 12px;
        }
        .footer-social a {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-muted);
            transition: all var(--transition);
            font-size: 0.9rem;
        }
        .footer-social a:hover {
            background: var(--bg-card-hover);
            border-color: var(--accent);
            color: var(--accent);
        }

        @media (max-width: 768px) {
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 28px;
            }
            .footer-brand {
                grid-column: 1 / -1;
            }
            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
        }
        @media (max-width: 480px) {
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }
        }

        /* ===== 滚动条 ===== */
        ::-webkit-scrollbar {
            width: 8px;
        }
        ::-webkit-scrollbar-track {
            background: var(--bg-deep);
        }
        ::-webkit-scrollbar-thumb {
            background: rgba(108, 92, 231, 0.3);
            border-radius: 8px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: rgba(108, 92, 231, 0.5);
        }

        /* ===== 辅助 ===== */
        .text-center {
            text-align: center;
        }
        .mt-16 {
            margin-top: 16px;
        }
        .mt-24 {
            margin-top: 24px;
        }
        .mt-32 {
            margin-top: 32px;
        }
        .mt-48 {
            margin-top: 48px;
        }
        .gap-8 {
            gap: 8px;
        }
        .gap-12 {
            gap: 12px;
        }
        .flex-center {
            display: flex;
            align-items: center;
            justify-content: center;
        }

/* roulang page: category1 */
/* ===== 设计变量 ===== */
        :root {
            --primary: #0f1b4d;
            --primary-light: #1a2d7a;
            --primary-dark: #080e2a;
            --accent: #e8a838;
            --accent-light: #f5c542;
            --accent-dark: #c9881e;
            --bg: #f7f8fc;
            --bg-card: #ffffff;
            --bg-dark: #0b1133;
            --bg-section-alt: #eef0f7;
            --text: #1a1a2e;
            --text-light: #5a6072;
            --text-inverse: #ffffff;
            --border: #e2e5ee;
            --border-light: #f0f2f7;
            --radius: 16px;
            --radius-sm: 10px;
            --radius-lg: 24px;
            --shadow: 0 4px 24px rgba(15, 27, 77, 0.08);
            --shadow-hover: 0 12px 40px rgba(15, 27, 77, 0.16);
            --shadow-accent: 0 4px 20px rgba(232, 168, 56, 0.35);
            --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans SC', sans-serif;
            --container: 1200px;
            --header-h: 72px;
        }

        /* ===== Reset & Base ===== */
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
        body {
            font-family: var(--font);
            font-size: 16px;
            line-height: 1.7;
            color: var(--text);
            background: var(--bg);
        }
        img { max-width: 100%; height: auto; display: block; }
        a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
        a:hover { color: var(--accent); }
        button, input, textarea { font-family: inherit; font-size: inherit; outline: none; border: none; }
        ul, ol { list-style: none; }
        h1, h2, h3, h4, h5, h6 { line-height: 1.3; font-weight: 700; color: var(--primary); }
        h1 { font-size: 2.8rem; }
        h2 { font-size: 2.2rem; margin-bottom: 1rem; }
        h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
        p { margin-bottom: 1rem; color: var(--text-light); }
        .container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
        .section { padding: 80px 0; }
        .section-alt { background: var(--bg-section-alt); }
        .section-dark { background: var(--bg-dark); color: var(--text-inverse); }
        .section-dark h2,
        .section-dark h3,
        .section-dark .section-subtitle { color: var(--text-inverse); }
        .section-dark p { color: rgba(255,255,255,0.75); }
        .section-title { text-align: center; margin-bottom: 0.6rem; }
        .section-subtitle { text-align: center; font-size: 1.1rem; color: var(--text-light); max-width: 680px; margin: 0 auto 3rem; }
        .badge {
            display: inline-block;
            padding: 4px 14px;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 600;
            letter-spacing: 0.3px;
            background: var(--accent);
            color: var(--primary-dark);
        }
        .badge-outline {
            background: transparent;
            border: 1.5px solid var(--accent);
            color: var(--accent);
        }

        /* ===== Header / Nav ===== */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: var(--header-h);
            background: rgba(255,255,255,0.92);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--border-light);
            z-index: 1000;
            transition: box-shadow var(--transition);
        }
        .header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
        .header-inner {
            max-width: var(--container);
            margin: 0 auto;
            padding: 0 24px;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--primary);
            text-decoration: none;
        }
        .logo:hover { color: var(--primary); }
        .logo-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 12px;
            background: var(--primary);
            color: var(--accent);
            font-size: 1.2rem;
        }
        .nav { display: flex; align-items: center; gap: 8px; }
        .nav a {
            position: relative;
            padding: 8px 20px;
            border-radius: 50px;
            font-size: 0.95rem;
            font-weight: 500;
            color: var(--text-light);
            transition: all var(--transition);
        }
        .nav a:hover { color: var(--primary); background: var(--bg-section-alt); }
        .nav a.active {
            color: var(--text-inverse);
            background: var(--primary);
            box-shadow: 0 2px 12px rgba(15,27,77,0.25);
        }
        .nav a.active:hover { color: var(--text-inverse); background: var(--primary-light); }
        .nav-toggle {
            display: none;
            width: 40px;
            height: 40px;
            background: var(--bg-section-alt);
            border-radius: 10px;
            cursor: pointer;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 5px;
            transition: background var(--transition);
        }
        .nav-toggle:hover { background: var(--border); }
        .nav-toggle span {
            display: block;
            width: 20px;
            height: 2.5px;
            background: var(--primary);
            border-radius: 4px;
            transition: all var(--transition);
        }
        .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
        .nav-toggle.open span:nth-child(2) { opacity: 0; }
        .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

        /* ===== Hero ===== */
        .hero {
            padding: calc(var(--header-h) + 60px) 0 80px;
            background: var(--primary-dark);
            position: relative;
            overflow: hidden;
            min-height: 420px;
            display: flex;
            align-items: center;
        }
        .hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
            opacity: 0.2;
            z-index: 1;
        }
        .hero::after {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse at 30% 50%, rgba(232,168,56,0.12) 0%, transparent 70%);
            z-index: 2;
        }
        .hero .container { position: relative; z-index: 3; text-align: center; }
        .hero .badge { margin-bottom: 1.2rem; }
        .hero h1 {
            color: var(--text-inverse);
            font-size: 3.2rem;
            font-weight: 800;
            letter-spacing: -0.5px;
            margin-bottom: 1rem;
        }
        .hero h1 span { color: var(--accent); }
        .hero p {
            color: rgba(255,255,255,0.8);
            font-size: 1.2rem;
            max-width: 640px;
            margin: 0 auto 2rem;
        }
        .hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 14px 32px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: all var(--transition);
            border: none;
            background: var(--accent);
            color: var(--primary-dark);
            box-shadow: var(--shadow-accent);
        }
        .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(232,168,56,0.45); color: var(--primary-dark); }
        .btn-outline {
            background: transparent;
            color: var(--text-inverse);
            border: 2px solid rgba(255,255,255,0.3);
            box-shadow: none;
        }
        .btn-outline:hover { border-color: var(--accent); color: var(--accent); background: rgba(232,168,56,0.08); transform: translateY(-2px); box-shadow: none; }

        /* ===== 分类简介 ===== */
        .intro-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 48px;
            align-items: center;
        }
        .intro-image {
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow);
            background: var(--bg-card);
        }
        .intro-image img { width: 100%; height: 320px; object-fit: cover; }
        .intro-content h2 { margin-bottom: 0.8rem; }
        .intro-content p { font-size: 1.05rem; }
        .intro-stats { display: flex; gap: 32px; margin-top: 24px; flex-wrap: wrap; }
        .intro-stat { text-align: center; }
        .intro-stat .num { font-size: 2rem; font-weight: 800; color: var(--accent); display: block; line-height: 1.2; }
        .intro-stat .label { font-size: 0.85rem; color: var(--text-light); }

        /* ===== 卡片网格 ===== */
        .card-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 28px;
        }
        .card {
            background: var(--bg-card);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: all var(--transition);
            border: 1px solid var(--border-light);
            display: flex;
            flex-direction: column;
        }
        .card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--accent-light); }
        .card-img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            display: block;
        }
        .card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
        .card-body .badge { align-self: flex-start; margin-bottom: 12px; }
        .card-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
        .card-body p { font-size: 0.95rem; flex: 1; margin-bottom: 16px; }
        .card-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-weight: 600;
            color: var(--primary);
            font-size: 0.95rem;
        }
        .card-link i { transition: transform var(--transition); }
        .card-link:hover i { transform: translateX(4px); }

        /* ===== 流程步骤 ===== */
        .steps-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 28px;
            counter-reset: step;
        }
        .step-card {
            background: var(--bg-card);
            border-radius: var(--radius);
            padding: 32px 24px;
            box-shadow: var(--shadow);
            border: 1px solid var(--border-light);
            transition: all var(--transition);
            position: relative;
            text-align: center;
        }
        .step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
        .step-card::before {
            counter-increment: step;
            content: counter(step);
            position: absolute;
            top: 16px;
            right: 20px;
            font-size: 3rem;
            font-weight: 900;
            color: var(--border);
            line-height: 1;
            opacity: 0.5;
        }
        .step-icon {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: var(--bg-section-alt);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 18px;
            font-size: 1.6rem;
            color: var(--primary);
            transition: all var(--transition);
        }
        .step-card:hover .step-icon { background: var(--primary); color: var(--accent); }
        .step-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
        .step-card p { font-size: 0.9rem; margin-bottom: 0; }

        /* ===== FAQ ===== */
        .faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
        .faq-item {
            background: var(--bg-card);
            border-radius: var(--radius-sm);
            border: 1px solid var(--border-light);
            overflow: hidden;
            transition: box-shadow var(--transition);
        }
        .faq-item:hover { box-shadow: var(--shadow); }
        .faq-question {
            padding: 20px 24px;
            font-weight: 600;
            font-size: 1.05rem;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: var(--primary);
            background: none;
            width: 100%;
            text-align: left;
            transition: background var(--transition);
        }
        .faq-question:hover { background: var(--bg-section-alt); }
        .faq-question i { transition: transform var(--transition); color: var(--accent); font-size: 1.1rem; }
        .faq-item.open .faq-question i { transform: rotate(180deg); }
        .faq-answer {
            padding: 0 24px 20px;
            color: var(--text-light);
            font-size: 0.95rem;
            display: none;
            line-height: 1.7;
        }
        .faq-item.open .faq-answer { display: block; }

        /* ===== CTA ===== */
        .cta-box {
            background: var(--primary);
            border-radius: var(--radius-lg);
            padding: 64px 48px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .cta-box::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse at 70% 30%, rgba(232,168,56,0.15) 0%, transparent 70%);
            z-index: 1;
        }
        .cta-box .container { position: relative; z-index: 2; }
        .cta-box h2 { color: var(--text-inverse); margin-bottom: 0.8rem; }
        .cta-box p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 2rem; font-size: 1.05rem; }
        .cta-box .btn { background: var(--accent); color: var(--primary-dark); }
        .cta-box .btn:hover { box-shadow: 0 8px 32px rgba(232,168,56,0.5); }

        /* ===== Footer ===== */
        .footer {
            background: var(--bg-dark);
            color: rgba(255,255,255,0.8);
            padding: 60px 0 0;
        }
        .footer a { color: rgba(255,255,255,0.7); }
        .footer a:hover { color: var(--accent); }
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
            padding-bottom: 40px;
            border-bottom: 1px solid rgba(255,255,255,0.08);
        }
        .footer-brand .logo { color: var(--text-inverse); margin-bottom: 12px; }
        .footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.6); max-width: 320px; }
        .footer-col h4 { color: var(--text-inverse); font-size: 1rem; margin-bottom: 16px; font-weight: 600; }
        .footer-col a {
            display: block;
            padding: 4px 0;
            font-size: 0.9rem;
            color: rgba(255,255,255,0.6);
        }
        .footer-col a:hover { color: var(--accent); }
        .footer-social { display: flex; gap: 14px; margin-top: 12px; }
        .footer-social a {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255,255,255,0.06);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            color: rgba(255,255,255,0.7);
            transition: all var(--transition);
        }
        .footer-social a:hover { background: var(--accent); color: var(--primary-dark); }
        .footer-bottom {
            padding: 20px 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 12px;
            font-size: 0.85rem;
            color: rgba(255,255,255,0.4);
        }
        .footer-bottom a { color: rgba(255,255,255,0.4); }
        .footer-bottom a:hover { color: var(--accent); }

        /* ===== 响应式 ===== */
        @media (max-width: 1024px) {
            .footer-grid { grid-template-columns: 1fr 1fr; }
            .steps-grid { grid-template-columns: repeat(2, 1fr); }
            .intro-grid { grid-template-columns: 1fr; gap: 32px; }
            .intro-image img { height: 240px; }
        }
        @media (max-width: 768px) {
            h1 { font-size: 2.2rem; }
            h2 { font-size: 1.8rem; }
            .hero { padding: calc(var(--header-h) + 40px) 0 60px; min-height: auto; }
            .hero h1 { font-size: 2.4rem; }
            .hero p { font-size: 1rem; }
            .section { padding: 60px 0; }
            .nav { display: none; position: absolute; top: var(--header-h); left: 0; width: 100%; background: rgba(255,255,255,0.98); backdrop-filter: blur(16px); flex-direction: column; padding: 16px 24px; gap: 6px; border-bottom: 1px solid var(--border-light); box-shadow: var(--shadow); }
            .nav.open { display: flex; }
            .nav a { width: 100%; text-align: center; padding: 12px 20px; }
            .nav-toggle { display: flex; }
            .card-grid { grid-template-columns: 1fr; }
            .steps-grid { grid-template-columns: 1fr; gap: 16px; }
            .intro-stats { gap: 20px; justify-content: center; }
            .footer-grid { grid-template-columns: 1fr; gap: 32px; }
            .footer-bottom { flex-direction: column; text-align: center; }
            .cta-box { padding: 40px 24px; }
            .hero-actions .btn { width: 100%; justify-content: center; }
        }
        @media (max-width: 520px) {
            :root { --header-h: 64px; }
            .container { padding: 0 16px; }
            h1 { font-size: 1.8rem; }
            h2 { font-size: 1.5rem; }
            .hero h1 { font-size: 1.9rem; }
            .hero .badge { font-size: 0.7rem; }
            .btn { padding: 12px 24px; font-size: 0.9rem; }
            .card-body { padding: 18px; }
            .section { padding: 40px 0; }
            .step-card { padding: 24px 16px; }
            .faq-question { padding: 16px 18px; font-size: 0.95rem; }
            .faq-answer { padding: 0 18px 16px; }
            .cta-box { padding: 32px 16px; border-radius: var(--radius); }
            .intro-image img { height: 180px; }
        }

        /* ===== 工具类 ===== */
        .text-center { text-align: center; }
        .mt-1 { margin-top: 1rem; }
        .mt-2 { margin-top: 2rem; }
        .mb-0 { margin-bottom: 0; }
        .gap-1 { gap: 1rem; }
        .flex-center { display: flex; align-items: center; justify-content: center; }

/* roulang page: article */
/* ===== 设计变量 ===== */
:root {
  --primary: #0b0e1a;
  --primary-light: #151a2e;
  --primary-mid: #1e2540;
  --accent: #f05454;
  --accent-hover: #ff6b6b;
  --accent-glow: rgba(240, 84, 84, 0.25);
  --gold: #f0c040;
  --gold-light: #f5d060;
  --bg: #080a14;
  --bg-section: #0c0f1e;
  --bg-card: #11152a;
  --bg-card-hover: #181e38;
  --text: #eaeef5;
  --text-light: #b0b8c8;
  --text-muted: #6a7288;
  --border: #1e2640;
  --border-light: #2a3450;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 12px 40px rgba(240, 84, 84, 0.12);
  --shadow-glow: 0 0 30px rgba(240, 84, 84, 0.06);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1200px;
  --nav-height: 72px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.7; font-size: 16px; }
a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font-family: var(--font); font-size: 1rem; border: none; outline: none; transition: var(--transition); }
button { cursor: pointer; background: none; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.3; font-weight: 700; color: var(--text); }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { position: relative; display: inline-block; }
.section-title h2::after { content: ''; display: block; width: 60px; height: 4px; background: var(--accent); border-radius: 4px; margin: 12px auto 0; }
.section-title p { color: var(--text-muted); margin-top: 12px; font-size: 1.05rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ===== Header & Nav ===== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(8, 10, 20, 0.92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--border); height: var(--nav-height); }
.header-inner { display: flex; align-items: center; justify-content: space-between; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; height: 100%; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; font-weight: 800; color: var(--text); letter-spacing: 0.5px; }
.logo .logo-icon { color: var(--gold); font-size: 1.6rem; }
.logo span:last-child { background: linear-gradient(135deg, var(--gold), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.logo:hover { opacity: 0.9; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav a { padding: 8px 20px; border-radius: var(--radius-sm); color: var(--text-light); font-size: 0.95rem; font-weight: 500; transition: var(--transition); position: relative; }
.nav a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav a.active { color: var(--text); background: var(--accent); }
.nav a.active:hover { background: var(--accent-hover); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; border-radius: var(--radius-xs); }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--text); border-radius: 3px; transition: var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== Article Banner ===== */
.article-banner { position: relative; padding: 140px 0 80px; margin-top: var(--nav-height); background: var(--primary); overflow: hidden; }
.article-banner-bg { position: absolute; inset: 0; background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat; opacity: 0.35; transform: scale(1.02); }
.article-banner .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,10,20,0.70) 0%, rgba(8,10,20,0.85) 60%, var(--bg) 100%); }
.article-banner .container { position: relative; z-index: 2; }
.article-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--text-muted); margin-bottom: 20px; flex-wrap: wrap; }
.article-breadcrumb a { color: var(--text-muted); }
.article-breadcrumb a:hover { color: var(--gold); }
.article-breadcrumb .sep { color: var(--text-muted); }
.article-breadcrumb .current { color: var(--text-light); }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px 30px; margin-bottom: 20px; font-size: 0.92rem; color: var(--text-light); }
.article-meta span { display: flex; align-items: center; gap: 7px; }
.article-meta i { color: var(--accent); font-size: 0.85rem; width: 16px; text-align: center; }
.article-meta .category-badge { display: inline-block; background: var(--accent); color: #fff; padding: 3px 14px; border-radius: 20px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.3px; }
.article-banner h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.3; max-width: 900px; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }

/* ===== Article Content ===== */
.article-section { padding: 60px 0; }
.article-layout { display: grid; grid-template-columns: 1fr 280px; gap: 50px; }
.article-body { background: var(--bg-card); border-radius: var(--radius); padding: 48px 50px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.article-body .content { font-size: 1.05rem; line-height: 1.9; color: var(--text-light); }
.article-body .content h2, .article-body .content h3, .article-body .content h4 { color: var(--text); margin-top: 1.8em; margin-bottom: 0.6em; }
.article-body .content h2 { font-size: 1.5rem; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.article-body .content h3 { font-size: 1.25rem; }
.article-body .content p { margin-bottom: 1.2em; }
.article-body .content a { color: var(--gold); border-bottom: 1px solid transparent; }
.article-body .content a:hover { border-bottom-color: var(--gold); }
.article-body .content img { border-radius: var(--radius-sm); margin: 1.5em 0; box-shadow: var(--shadow); }
.article-body .content ul, .article-body .content ol { padding-left: 1.5em; margin-bottom: 1.2em; }
.article-body .content ul li { list-style: disc; margin-bottom: 0.4em; }
.article-body .content ol li { list-style: decimal; margin-bottom: 0.4em; }
.article-body .content blockquote { border-left: 4px solid var(--accent); padding: 16px 24px; background: rgba(240,84,84,0.05); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.5em 0; color: var(--text-light); font-style: italic; }
.article-body .content code { background: var(--primary); padding: 2px 10px; border-radius: 4px; font-size: 0.9em; color: var(--gold); }
.article-body .content pre { background: var(--primary); border-radius: var(--radius-sm); padding: 24px; overflow-x: auto; margin: 1.5em 0; border: 1px solid var(--border); }
.article-body .content pre code { background: none; padding: 0; color: var(--text-light); }
.article-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--border); }
.article-tags .tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px; background: var(--primary); border-radius: 20px; font-size: 0.85rem; color: var(--text-light); border: 1px solid var(--border); transition: var(--transition); }
.article-tags .tag:hover { border-color: var(--accent); color: var(--text); background: var(--primary-mid); }
.article-share { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.article-share span { font-size: 0.92rem; color: var(--text-muted); }
.article-share a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: var(--text-light); border: 1px solid var(--border); transition: var(--transition); font-size: 1.1rem; }
.article-share a:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-2px); }

/* ===== Sidebar ===== */
.article-sidebar { display: flex; flex-direction: column; gap: 30px; }
.sidebar-card { background: var(--bg-card); border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.sidebar-card h4 { font-size: 1.05rem; margin-bottom: 18px; color: var(--text); display: flex; align-items: center; gap: 10px; }
.sidebar-card h4 i { color: var(--accent); }
.sidebar-list { display: flex; flex-direction: column; gap: 12px; }
.sidebar-list a { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--primary); border: 1px solid transparent; transition: var(--transition); }
.sidebar-list a:hover { border-color: var(--border-light); background: var(--primary-mid); }
.sidebar-list a .thumb { width: 56px; height: 56px; border-radius: var(--radius-xs); background: var(--primary-mid); flex-shrink: 0; overflow: hidden; }
.sidebar-list a .thumb img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-list a .info { flex: 1; min-width: 0; }
.sidebar-list a .info .title { font-size: 0.92rem; color: var(--text); font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; }
.sidebar-list a .info .date { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }
.sidebar-cta { text-align: center; }
.sidebar-cta p { font-size: 0.92rem; color: var(--text-light); margin-bottom: 16px; }
.sidebar-cta .btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 28px; border-radius: var(--radius-sm); background: var(--accent); color: #fff; font-weight: 600; font-size: 0.95rem; transition: var(--transition); }
.sidebar-cta .btn:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 25px var(--accent-glow); }

/* ===== Not Found ===== */
.not-found { text-align: center; padding: 60px 20px; }
.not-found i { font-size: 4rem; color: var(--text-muted); margin-bottom: 24px; }
.not-found h2 { font-size: 1.8rem; margin-bottom: 12px; }
.not-found p { color: var(--text-muted); margin-bottom: 24px; }
.not-found .btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 32px; border-radius: var(--radius-sm); background: var(--accent); color: #fff; font-weight: 600; font-size: 1rem; }
.not-found .btn:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 25px var(--accent-glow); }

/* ===== Related ===== */
.related-section { background: var(--bg-section); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.related-card { background: var(--bg-card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); box-shadow: var(--shadow); }
.related-card:hover { transform: translateY(-4px); border-color: var(--border-light); box-shadow: var(--shadow-hover); }
.related-card .card-img { width: 100%; height: 180px; overflow: hidden; }
.related-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.related-card:hover .card-img img { transform: scale(1.05); }
.related-card .card-body { padding: 22px 24px; }
.related-card .card-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.related-card .card-body h3 a { color: var(--text); }
.related-card .card-body h3 a:hover { color: var(--gold); }
.related-card .card-body p { font-size: 0.9rem; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-card .card-meta { display: flex; align-items: center; gap: 16px; margin-top: 12px; font-size: 0.82rem; color: var(--text-muted); }
.related-card .card-meta span { display: flex; align-items: center; gap: 5px; }

/* ===== FAQ ===== */
.faq-section { background: var(--bg); }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg-card); border-radius: var(--radius-sm); border: 1px solid var(--border); overflow: hidden; transition: var(--transition); }
.faq-item:hover { border-color: var(--border-light); }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; cursor: pointer; font-size: 1rem; font-weight: 600; color: var(--text); gap: 16px; user-select: none; }
.faq-question i { color: var(--accent); font-size: 0.9rem; transition: var(--transition); flex-shrink: 0; }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; padding: 0 24px; }
.faq-item.open .faq-answer { max-height: 300px; padding: 0 24px 20px; }
.faq-answer p { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }

/* ===== CTA ===== */
.cta-section { background: var(--bg-section); text-align: center; padding: 70px 0; }
.cta-section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 16px; }
.cta-section p { color: var(--text-light); max-width: 600px; margin: 0 auto 32px; font-size: 1.05rem; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-buttons .btn-primary { padding: 14px 40px; border-radius: var(--radius-sm); background: var(--accent); color: #fff; font-weight: 700; font-size: 1.05rem; transition: var(--transition); display: inline-flex; align-items: center; gap: 10px; }
.cta-buttons .btn-primary:hover { background: var(--accent-hover); transform: translateY(-3px); box-shadow: 0 12px 35px var(--accent-glow); }
.cta-buttons .btn-secondary { padding: 14px 40px; border-radius: var(--radius-sm); background: transparent; color: var(--text); font-weight: 600; font-size: 1.05rem; border: 2px solid var(--border-light); transition: var(--transition); display: inline-flex; align-items: center; gap: 10px; }
.cta-buttons .btn-secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }

/* ===== Footer ===== */
.footer { background: var(--primary); border-top: 1px solid var(--border); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { margin-bottom: 16px; font-size: 1.3rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; max-width: 320px; }
.footer-col h4 { font-size: 1rem; margin-bottom: 18px; color: var(--text); position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 32px; height: 3px; background: var(--accent); border-radius: 3px; }
.footer-col a { display: block; color: var(--text-muted); font-size: 0.9rem; padding: 5px 0; transition: var(--transition); }
.footer-col a:hover { color: var(--gold); padding-left: 6px; }
.footer-social { display: flex; gap: 14px; margin-top: 8px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--bg-card); color: var(--text-light); font-size: 1.2rem; border: 1px solid var(--border); transition: var(--transition); padding: 0; }
.footer-social a:hover { background: var(--accent); color: #fff; border-color: var(--accent); padding-left: 0; transform: translateY(-3px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid var(--border); font-size: 0.85rem; color: var(--text-muted); flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--gold); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
  .nav { position: fixed; top: var(--nav-height); left: 0; right: 0; background: rgba(8,10,20,0.98); backdrop-filter: blur(18px); flex-direction: column; padding: 20px 24px; gap: 6px; transform: translateY(-120%); opacity: 0; transition: var(--transition); border-bottom: 1px solid var(--border); pointer-events: none; }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { width: 100%; padding: 12px 20px; font-size: 1rem; border-radius: var(--radius-xs); }
  .nav-toggle { display: flex; }
  .article-banner { padding: 120px 0 60px; }
  .article-body { padding: 28px 24px; }
  .article-sidebar { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 50px 0; }
  .section-title { margin-bottom: 32px; }
}

@media (max-width: 520px) {
  .header-inner { padding: 0 16px; }
  .container { padding: 0 16px; }
  .article-banner h1 { font-size: 1.5rem; }
  .article-meta { gap: 10px 16px; font-size: 0.85rem; }
  .article-body { padding: 20px 16px; }
  .article-body .content { font-size: 0.98rem; }
  .article-share { flex-wrap: wrap; }
  .cta-buttons .btn-primary, .cta-buttons .btn-secondary { width: 100%; justify-content: center; }
  .sidebar-card { padding: 20px 16px; }
}
