/* roulang page: index */
/* ===== Design Variables ===== */
        :root {
            --primary: #2563eb;
            --primary-dark: #1d4ed8;
            --primary-light: #3b82f6;
            --primary-bg: #eff6ff;
            --accent: #f59e0b;
            --accent-dark: #d97706;
            --accent-light: #fbbf24;
            --bg: #f8fafc;
            --bg-alt: #f1f5f9;
            --surface: #ffffff;
            --text: #0f172a;
            --text-secondary: #475569;
            --text-muted: #94a3b8;
            --border: #e2e8f0;
            --border-light: #f1f5f9;
            --radius-sm: 6px;
            --radius-md: 10px;
            --radius-lg: 16px;
            --radius-xl: 20px;
            --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
            --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
            --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
            --shadow-xl: 0 20px 50px rgba(0,0,0,0.12);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans SC', sans-serif;
            --max-width: 1200px;
            --header-height: 72px;
        }

        /* ===== Reset & Base ===== */
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
        body {
            font-family: var(--font);
            font-size: 16px;
            line-height: 1.6;
            color: var(--text);
            background: var(--bg);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        a { color: var(--primary); text-decoration: none; transition: var(--transition); }
        a:hover { color: var(--primary-dark); }
        img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-md); }
        button, input, textarea, select { font-family: inherit; font-size: inherit; }
        ul, ol { list-style: none; }
        h1, h2, h3, h4, h5, h6 { line-height: 1.3; color: var(--text); font-weight: 700; }
        h1 { font-size: 2.5rem; }
        h2 { font-size: 2rem; }
        h3 { font-size: 1.5rem; }
        h4 { font-size: 1.25rem; }
        p { margin-bottom: 1rem; color: var(--text-secondary); }
        .container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
        .section-padding { padding: 80px 0; }
        .section-padding-sm { padding: 60px 0; }
        .text-center { text-align: center; }
        .text-accent { color: var(--accent); }

        /* ===== Buttons ===== */
        .btn {
            display: inline-flex; align-items: center; gap: 8px;
            padding: 12px 28px; border-radius: var(--radius-md);
            font-weight: 600; font-size: 1rem; line-height: 1.4;
            border: 2px solid transparent; cursor: pointer;
            transition: var(--transition); text-decoration: none;
            white-space: nowrap;
        }
        .btn-primary {
            background: var(--primary); color: #fff; border-color: var(--primary);
        }
        .btn-primary:hover {
            background: var(--primary-dark); border-color: var(--primary-dark);
            color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg);
        }
        .btn-accent {
            background: var(--accent); color: #fff; border-color: var(--accent);
        }
        .btn-accent:hover {
            background: var(--accent-dark); border-color: var(--accent-dark);
            color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg);
        }
        .btn-outline {
            background: transparent; color: var(--primary); border-color: var(--primary);
        }
        .btn-outline:hover {
            background: var(--primary); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md);
        }
        .btn-white {
            background: #fff; color: var(--primary); border-color: #fff;
        }
        .btn-white:hover {
            background: var(--primary-bg); transform: translateY(-2px); box-shadow: var(--shadow-lg);
        }
        .btn-sm { padding: 8px 18px; font-size: 0.875rem; border-radius: var(--radius-sm); }
        .btn-lg { padding: 16px 36px; font-size: 1.125rem; border-radius: var(--radius-lg); }

        /* ===== Badge / Tag ===== */
        .badge {
            display: inline-block; padding: 4px 14px; border-radius: 50px;
            font-size: 0.8125rem; font-weight: 600; line-height: 1.4;
            background: var(--primary-bg); color: var(--primary);
        }
        .badge-accent { background: #fef3c7; color: var(--accent-dark); }
        .badge-green { background: #ecfdf5; color: #059669; }
        .badge-red { background: #fef2f2; color: #dc2626; }

        /* ===== Card ===== */
        .card {
            background: var(--surface); border-radius: var(--radius-lg);
            border: 1px solid var(--border); overflow: hidden;
            transition: var(--transition);
        }
        .card:hover {
            transform: translateY(-4px); box-shadow: var(--shadow-lg);
            border-color: transparent;
        }
        .card-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
        .card-body { padding: 24px; }
        .card-body-sm { padding: 18px; }
        .card-title { font-size: 1.125rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
        .card-text { font-size: 0.9375rem; color: var(--text-secondary); margin-bottom: 12px; }
        .card-meta { display: flex; align-items: center; gap: 16px; font-size: 0.8125rem; color: var(--text-muted); }

        /* ===== Section Title ===== */
        .section-title { font-size: 2rem; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.01em; }
        .section-subtitle { font-size: 1.125rem; color: var(--text-secondary); max-width: 640px; margin: 0 auto 48px; line-height: 1.7; }
        .section-header { margin-bottom: 48px; }

        /* ===== Grid System ===== */
        .grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
        .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
        .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
        .flex-center { display: flex; align-items: center; justify-content: center; }
        .flex-between { display: flex; align-items: center; justify-content: space-between; }
        .gap-16 { gap: 16px; }
        .gap-24 { gap: 24px; }
        .gap-32 { gap: 32px; }

        /* ===== Header & Navigation ===== */
        .site-header {
            position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
            height: var(--header-height); background: rgba(255,255,255,0.95);
            backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border); transition: var(--transition);
        }
        .site-header.scrolled { box-shadow: var(--shadow-md); }
        .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 { display: flex; align-items: center; gap: 10px; font-size: 1.375rem; font-weight: 800; color: var(--text); text-decoration: none; }
        .logo:hover { color: var(--primary); }
        .logo-icon { width: 36px; height: 36px; background: var(--primary); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.25rem; }
        .logo-text { background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
        .nav-list { display: flex; align-items: center; gap: 8px; }
        .nav-list a {
            padding: 8px 18px; border-radius: var(--radius-md);
            font-size: 0.9375rem; font-weight: 500; color: var(--text-secondary);
            text-decoration: none; transition: var(--transition);
        }
        .nav-list a:hover { color: var(--primary); background: var(--primary-bg); }
        .nav-list a.active { color: var(--primary); background: var(--primary-bg); font-weight: 600; }
        .nav-cta { margin-left: 12px; }
        .nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
        .nav-toggle span { display: block; width: 26px; height: 2.5px; background: var(--text); border-radius: 4px; transition: var(--transition); }

        /* ===== Hero ===== */
        .hero {
            position: relative; min-height: 85vh; display: flex; align-items: center;
            margin-top: var(--header-height);
            background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
            overflow: hidden;
        }
        .hero-bg {
            position: absolute; inset: 0; z-index: 0;
            background-image: url('/assets/images/backpic/back-1.png');
            background-size: cover; background-position: center;
            opacity: 0.35; mix-blend-mode: overlay;
        }
        .hero-overlay {
            position: absolute; inset: 0; z-index: 1;
            background: linear-gradient(135deg, rgba(15,23,42,0.88) 0%, rgba(30,58,95,0.72) 100%);
        }
        .hero-content { position: relative; z-index: 2; max-width: 720px; padding: 60px 0; }
        .hero-badge { display: inline-block; padding: 6px 20px; border-radius: 50px; background: rgba(255,255,255,0.12); color: #fff; font-size: 0.875rem; font-weight: 500; margin-bottom: 24px; border: 1px solid rgba(255,255,255,0.15); }
        .hero-title { font-size: 3.25rem; font-weight: 900; color: #fff; margin-bottom: 20px; line-height: 1.15; letter-spacing: -0.02em; }
        .hero-title span { color: var(--accent); }
        .hero-text { font-size: 1.2rem; color: rgba(255,255,255,0.8); margin-bottom: 36px; max-width: 580px; line-height: 1.7; }
        .hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
        .hero-stats { display: flex; gap: 40px; margin-top: 48px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,0.12); }
        .hero-stat { text-align: left; }
        .hero-stat-num { font-size: 2rem; font-weight: 800; color: #fff; }
        .hero-stat-label { font-size: 0.875rem; color: rgba(255,255,255,0.6); margin-top: 2px; }

        /* ===== Features / Intro ===== */
        .features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
        .feature-card {
            background: var(--surface); border-radius: var(--radius-lg);
            padding: 36px 28px; border: 1px solid var(--border);
            transition: var(--transition); position: relative; overflow: hidden;
        }
        .feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
        .feature-icon { width: 56px; height: 56px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 20px; background: var(--primary-bg); color: var(--primary); }
        .feature-card:nth-child(2) .feature-icon { background: #fef3c7; color: var(--accent-dark); }
        .feature-card:nth-child(3) .feature-icon { background: #ecfdf5; color: #059669; }
        .feature-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; }
        .feature-text { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.7; }

        /* ===== Category / Topic ===== */
        .category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
        .category-card {
            background: var(--surface); border-radius: var(--radius-lg);
            padding: 28px 20px; border: 1px solid var(--border);
            text-align: center; transition: var(--transition); cursor: pointer;
            text-decoration: none; display: block;
        }
        .category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
        .category-icon { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.75rem; margin: 0 auto 16px; background: var(--primary-bg); color: var(--primary); }
        .category-card:nth-child(2) .category-icon { background: #fef3c7; color: var(--accent-dark); }
        .category-card:nth-child(3) .category-icon { background: #ecfdf5; color: #059669; }
        .category-card:nth-child(4) .category-icon { background: #fef2f2; color: #dc2626; }
        .category-name { font-size: 1.0625rem; font-weight: 700; margin-bottom: 6px; }
        .category-count { font-size: 0.8125rem; color: var(--text-muted); }

        /* ===== Content / News List ===== */
        .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
        .news-card { background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); }
        .news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
        .news-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
        .news-card-body { padding: 22px; }
        .news-card-tag { display: inline-block; padding: 2px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 600; background: var(--primary-bg); color: var(--primary); margin-bottom: 10px; }
        .news-card-title { font-size: 1.0625rem; font-weight: 700; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .news-card-title a { color: var(--text); }
        .news-card-title a:hover { color: var(--primary); }
        .news-card-excerpt { font-size: 0.875rem; color: var(--text-secondary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; line-height: 1.6; }
        .news-card-meta { display: flex; align-items: center; gap: 16px; font-size: 0.8125rem; color: var(--text-muted); }
        .empty-news { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--text-muted); font-size: 1.0625rem; }

        /* ===== Stats / Numbers ===== */
        .stats-section { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); padding: 80px 0; }
        .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
        .stat-item { padding: 20px; }
        .stat-number { font-size: 3rem; font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 6px; }
        .stat-label { font-size: 1rem; color: rgba(255,255,255,0.75); font-weight: 500; }

        /* ===== Steps / Flow ===== */
        .steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: step; }
        .step-card { background: var(--surface); border-radius: var(--radius-lg); padding: 36px 28px; border: 1px solid var(--border); position: relative; transition: var(--transition); }
        .step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
        .step-number { font-size: 3rem; font-weight: 900; color: var(--primary-bg); line-height: 1; margin-bottom: 12px; }
        .step-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
        .step-text { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.7; }

        /* ===== FAQ ===== */
        .faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
        .faq-item { background: var(--surface); border-radius: var(--radius-md); border: 1px solid var(--border); overflow: hidden; transition: var(--transition); }
        .faq-item:hover { border-color: var(--primary-light); }
        .faq-question { padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 600; font-size: 1.0625rem; color: var(--text); transition: var(--transition); background: none; border: none; width: 100%; text-align: left; }
        .faq-question:hover { color: var(--primary); }
        .faq-question i { transition: var(--transition); color: var(--text-muted); font-size: 1rem; }
        .faq-item.active .faq-question i { transform: rotate(180deg); color: var(--primary); }
        .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; padding: 0 24px; }
        .faq-item.active .faq-answer { max-height: 300px; padding: 0 24px 20px; }
        .faq-answer p { font-size: 0.9375rem; color: var(--text-secondary); margin-bottom: 0; line-height: 1.7; }

        /* ===== CTA ===== */
        .cta-section {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            padding: 80px 0; text-align: center; position: relative; overflow: hidden;
        }
        .cta-section::before {
            content: ''; position: absolute; inset: 0;
            background-image: url('/assets/images/backpic/back-2.png');
            background-size: cover; background-position: center;
            opacity: 0.08; mix-blend-mode: overlay;
        }
        .cta-content { position: relative; z-index: 1; }
        .cta-title { font-size: 2.25rem; font-weight: 800; color: #fff; margin-bottom: 16px; }
        .cta-text { font-size: 1.125rem; color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 32px; }
        .cta-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

        /* ===== Footer ===== */
        .site-footer {
            background: #0f172a; color: rgba(255,255,255,0.7);
            padding: 60px 0 0;
        }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
        .footer-brand .logo { color: #fff; margin-bottom: 16px; }
        .footer-brand .logo:hover { color: var(--accent); }
        .footer-brand p { font-size: 0.9375rem; color: rgba(255,255,255,0.5); max-width: 320px; line-height: 1.7; }
        .footer-col h4 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 20px; }
        .footer-col a { display: block; padding: 6px 0; font-size: 0.9rem; color: rgba(255,255,255,0.55); transition: var(--transition); }
        .footer-col a:hover { color: var(--accent); padding-left: 4px; }
        .footer-social { display: flex; gap: 12px; margin-top: 16px; }
        .footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); font-size: 1.125rem; transition: var(--transition); }
        .footer-social a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
        .footer-bottom { padding: 24px 0; text-align: center; font-size: 0.875rem; color: rgba(255,255,255,0.35); }

        /* ===== Responsive ===== */
        @media (max-width: 1024px) {
            .grid-4 { grid-template-columns: repeat(2, 1fr); }
            .features-grid { grid-template-columns: repeat(2, 1fr); }
            .category-grid { grid-template-columns: repeat(2, 1fr); }
            .news-grid { grid-template-columns: repeat(2, 1fr); }
            .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
            .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
            .hero-title { font-size: 2.75rem; }
            .section-title { font-size: 1.75rem; }
        }
        @media (max-width: 768px) {
            :root { --header-height: 64px; }
            .nav-list { display: none; position: fixed; top: var(--header-height); left: 0; right: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(12px); flex-direction: column; padding: 16px 24px 24px; box-shadow: var(--shadow-lg); border-bottom: 1px solid var(--border); gap: 4px; }
            .nav-list.open { display: flex; }
            .nav-list a { width: 100%; padding: 12px 16px; }
            .nav-cta { margin-left: 0; margin-top: 8px; width: 100%; }
            .nav-cta .btn { width: 100%; justify-content: center; }
            .nav-toggle { display: flex; }
            .hero { min-height: 70vh; }
            .hero-title { font-size: 2.25rem; }
            .hero-text { font-size: 1.0625rem; }
            .hero-stats { flex-wrap: wrap; gap: 24px; }
            .hero-stat-num { font-size: 1.5rem; }
            .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
            .features-grid { grid-template-columns: 1fr; }
            .category-grid { grid-template-columns: repeat(2, 1fr); }
            .news-grid { grid-template-columns: 1fr; }
            .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
            .steps-grid { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr; gap: 28px; }
            .section-padding { padding: 56px 0; }
            .section-padding-sm { padding: 40px 0; }
            .cta-title { font-size: 1.75rem; }
            .stat-number { font-size: 2.25rem; }
        }
        @media (max-width: 520px) {
            .hero-title { font-size: 1.75rem; }
            .hero-actions { flex-direction: column; align-items: stretch; }
            .hero-actions .btn { justify-content: center; }
            .category-grid { grid-template-columns: 1fr; }
            .stats-grid { grid-template-columns: 1fr; gap: 12px; }
            .container { padding: 0 16px; }
            .hero-stats { flex-direction: column; gap: 16px; }
            .hero-stat { text-align: center; }
        }

        /* ===== Utility ===== */
        .mt-16 { margin-top: 16px; }
        .mt-24 { margin-top: 24px; }
        .mt-32 { margin-top: 32px; }
        .mt-48 { margin-top: 48px; }
        .mb-16 { margin-bottom: 16px; }
        .mb-24 { margin-bottom: 24px; }
        .mb-32 { margin-bottom: 32px; }
        .mb-48 { margin-bottom: 48px; }

        /* ===== Animations ===== */
        @keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
        .animate-in { animation: fadeInUp 0.6s ease forwards; }
        .animate-delay-1 { animation-delay: 0.1s; }
        .animate-delay-2 { animation-delay: 0.2s; }
        .animate-delay-3 { animation-delay: 0.3s; }
        .animate-delay-4 { animation-delay: 0.4s; }

/* roulang page: article */
/* ===== 设计变量 ===== */
:root {
    --primary: #6c5ce7;
    --primary-dark: #5a4bd1;
    --primary-light: #a29bfe;
    --secondary: #fd79a8;
    --accent: #fdcb6e;
    --bg: #f8f9fe;
    --bg-alt: #ffffff;
    --bg-card: #ffffff;
    --text: #2d3436;
    --text-light: #636e72;
    --text-muted: #b2bec3;
    --border: #e8e8f0;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --shadow: 0 8px 32px rgba(108,92,231,0.10);
    --shadow-hover: 0 16px 48px rgba(108,92,231,0.18);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --transition: 0.30s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --font: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
    --max-width: 1200px;
    --header-h: 72px;
}
/* ===== Reset / Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font-family: inherit; font-size: 1rem; }
ul, ol { list-style: none; }
/* ===== 容器 ===== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}
/* ===== Header / 导航 ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    height: var(--header-h);
    display: flex;
    align-items: center;
}
.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text);
    text-decoration: none;
}
.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(108,92,231,0.25);
}
.logo-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
nav { display: flex; align-items: center; gap: 8px; }
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: var(--transition);
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--text);
    border-radius: 3px;
    transition: var(--transition);
}
.nav-list {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-list a {
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
    font-size: 0.95rem;
}
.nav-list a:hover { background: rgba(108,92,231,0.08); color: var(--primary); }
.nav-list a.active { background: rgba(108,92,231,0.12); color: var(--primary); font-weight: 600; }
.nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff !important;
    padding: 8px 22px !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 14px rgba(108,92,231,0.25);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(108,92,231,0.35); }
/* ===== Hero Banner (内页) ===== */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 60px 0 60px;
    position: relative;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    align-items: center;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/assets/images/backpic/back-1.png') center/cover no-repeat;
    opacity: 0.15;
    mix-blend-mode: overlay;
}
.page-hero .container { position: relative; z-index: 1; text-align: center; }
.page-hero h1 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.15);
    line-height: 1.3;
}
.page-hero .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.9); }
.page-hero .breadcrumb a:hover { color: #fff; text-decoration: underline; }
.page-hero .breadcrumb i { font-size: 0.75rem; }
/* ===== 文章主体 ===== */
.article-section {
    padding: 60px 0 80px;
}
.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}
.article-main {
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 40px 44px;
    border: 1px solid var(--border);
}
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    color: var(--text-light);
    font-size: 0.92rem;
}
.article-meta span { display: flex; align-items: center; gap: 6px; }
.article-meta .badge {
    background: rgba(108,92,231,0.12);
    color: var(--primary);
    padding: 2px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.82rem;
}
.article-body {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text);
}
.article-body p { margin-bottom: 1.2em; }
.article-body h2, .article-body h3 {
    margin-top: 1.6em;
    margin-bottom: 0.6em;
    font-weight: 700;
    color: var(--text);
}
.article-body h2 { font-size: 1.6rem; }
.article-body h3 { font-size: 1.25rem; }
.article-body ul, .article-body ol { margin-bottom: 1.2em; padding-left: 1.5em; }
.article-body li { margin-bottom: 0.4em; list-style: disc; }
.article-body img { border-radius: var(--radius-sm); margin: 1.5em 0; box-shadow: var(--shadow-sm); }
.article-body blockquote {
    border-left: 4px solid var(--primary);
    background: rgba(108,92,231,0.05);
    padding: 16px 24px;
    margin: 1.5em 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-light);
    font-style: italic;
}
.article-body a { font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.article-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.article-tags .tag {
    background: var(--bg);
    padding: 4px 16px;
    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(--primary); color: var(--primary); background: rgba(108,92,231,0.04); }
.article-share {
    display: flex;
    gap: 10px;
    align-items: center;
}
.article-share a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition);
}
.article-share a:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); }
/* ===== 侧边栏 ===== */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.sidebar-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px 24px;
    border: 1px solid var(--border);
}
.sidebar-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.sidebar-card h3 i { color: var(--primary); }
.sidebar-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list a {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--text);
    transition: var(--transition);
}
.sidebar-list a:hover { color: var(--primary); transform: translateX(4px); }
.sidebar-list .thumb {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
    background: var(--bg);
}
.sidebar-list .info { flex: 1; min-width: 0; }
.sidebar-list .info h4 { font-size: 0.92rem; font-weight: 600; margin-bottom: 4px; line-height: 1.4; }
.sidebar-list .info span { font-size: 0.8rem; color: var(--text-muted); }
.sidebar-cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    text-align: center;
    padding: 36px 24px;
    border-radius: var(--radius);
}
.sidebar-cta h3 { color: #fff; font-size: 1.3rem; margin-bottom: 10px; }
.sidebar-cta p { color: rgba(255,255,255,0.85); margin-bottom: 20px; font-size: 0.95rem; }
.sidebar-cta .btn {
    background: #fff;
    color: var(--primary);
    padding: 10px 30px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    display: inline-block;
    transition: var(--transition);
}
.sidebar-cta .btn:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.15); }
/* ===== 相关文章 ===== */
.related-section {
    padding: 0 0 60px;
}
.related-section h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.related-section h2 i { color: var(--primary); }
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.related-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.related-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.related-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.related-card .card-body {
    padding: 20px 22px;
}
.related-card .card-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.related-card .card-body h3 a { color: var(--text); }
.related-card .card-body h3 a:hover { color: var(--primary); }
.related-card .card-body p { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; }
.related-card .card-meta {
    display: flex;
    gap: 14px;
    margin-top: 12px;
    font-size: 0.82rem;
    color: var(--text-muted);
}
/* ===== 未找到文章 ===== */
.not-found-box {
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.not-found-box i { font-size: 3.6rem; color: var(--text-muted); margin-bottom: 20px; }
.not-found-box h2 { font-size: 1.8rem; margin-bottom: 12px; }
.not-found-box p { color: var(--text-light); margin-bottom: 24px; }
.not-found-box .btn {
    display: inline-block;
    padding: 12px 36px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
}
.not-found-box .btn:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(108,92,231,0.3); }
/* ===== 按钮通用 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(108,92,231,0.2);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(108,92,231,0.3); }
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff !important; }
.btn-sm { padding: 6px 18px; font-size: 0.88rem; }
/* ===== 页脚 ===== */
.site-footer {
    background: #1e1e2f;
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 0.92rem; line-height: 1.7; color: rgba(255,255,255,0.6); margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 1.1rem;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}
.footer-col a {
    display: block;
    color: rgba(255,255,255,0.55);
    padding: 5px 0;
    font-size: 0.92rem;
    transition: var(--transition);
}
.footer-col a:hover { color: #fff; padding-left: 6px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 22px 0;
    text-align: center;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.4);
}
/* ===== 响应式 ===== */
@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: 32px; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    :root { --header-h: 64px; }
    .nav-toggle { display: flex; }
    .nav-list {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 16px 24px 24px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 12px 40px rgba(0,0,0,0.08);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
        border-radius: 0 0 var(--radius) var(--radius);
    }
    .nav-list.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .nav-list a { width: 100%; text-align: center; padding: 12px; font-size: 1rem; }
    .page-hero h1 { font-size: 1.6rem; }
    .page-hero { padding: 40px 0 36px; min-height: 160px; }
    .article-main { padding: 24px 20px; }
    .article-body { font-size: 0.98rem; }
    .article-meta { gap: 10px 18px; font-size: 0.85rem; }
    .article-sidebar { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .related-grid { grid-template-columns: 1fr; }
    .related-card img { height: 200px; }
    .article-footer { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
    .container { padding: 0 16px; }
    .page-hero h1 { font-size: 1.3rem; }
    .article-main { padding: 18px 14px; }
    .article-body { font-size: 0.92rem; }
    .article-meta { flex-direction: column; gap: 6px; }
    .sidebar-card { padding: 20px 16px; }
    .not-found-box { padding: 40px 16px; }
    .not-found-box h2 { font-size: 1.3rem; }
}

/* roulang page: category1 */
/* ===== Design Variables ===== */
        :root {
            --primary: #6c5ce7;
            --primary-dark: #5a4bd1;
            --primary-light: #a29bfe;
            --secondary: #fd79a8;
            --accent: #fdcb6e;
            --bg: #f8f9fe;
            --bg-alt: #ffffff;
            --bg-card: #ffffff;
            --text: #2d3436;
            --text-light: #636e72;
            --text-muted: #b2bec3;
            --border: #e8ecf4;
            --radius: 16px;
            --radius-sm: 10px;
            --radius-lg: 24px;
            --shadow: 0 8px 30px rgba(108, 92, 231, 0.10);
            --shadow-hover: 0 16px 48px rgba(108, 92, 231, 0.18);
            --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
            --max-width: 1200px;
            --header-height: 72px;
        }

        /* ===== Reset & Base ===== */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: var(--font);
            font-size: 16px;
            line-height: 1.7;
            color: var(--text);
            background: var(--bg);
            -webkit-font-smoothing: antialiased;
        }
        a {
            color: inherit;
            text-decoration: none;
            transition: var(--transition);
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
            border-radius: var(--radius-sm);
        }
        button,
        input,
        textarea {
            font-family: inherit;
            font-size: 1rem;
            border: none;
            outline: none;
        }
        ul,
        ol {
            list-style: none;
        }
        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            line-height: 1.3;
            font-weight: 700;
            color: var(--text);
        }
        .container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
        }

        /* ===== Header / Nav ===== */
        .site-header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: var(--header-height);
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border);
            z-index: 1000;
            transition: var(--transition);
        }
        .site-header.scrolled {
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
        }
        .header-inner {
            max-width: var(--max-width);
            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-weight: 800;
            font-size: 1.35rem;
            color: var(--primary);
        }
        .logo-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 1.2rem;
        }
        .logo-text {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        nav {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .nav-toggle {
            display: none;
            flex-direction: column;
            gap: 5px;
            background: none;
            padding: 8px;
            cursor: pointer;
            border-radius: var(--radius-sm);
        }
        .nav-toggle span {
            width: 24px;
            height: 2.5px;
            background: var(--text);
            border-radius: 4px;
            transition: 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);
        }
        .nav-list {
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .nav-list a {
            padding: 8px 18px;
            border-radius: 100px;
            font-weight: 600;
            font-size: 0.9rem;
            color: var(--text-light);
            transition: var(--transition);
            position: relative;
        }
        .nav-list a:hover {
            color: var(--primary);
            background: rgba(108, 92, 231, 0.08);
        }
        .nav-list a.active {
            color: #fff;
            background: var(--primary);
            box-shadow: 0 4px 14px rgba(108, 92, 231, 0.35);
        }
        .nav-list a.active:hover {
            background: var(--primary-dark);
            color: #fff;
        }
        .nav-cta {
            padding: 8px 24px !important;
            font-weight: 700 !important;
            font-size: 0.85rem !important;
        }
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px 32px;
            border-radius: 100px;
            font-weight: 700;
            font-size: 0.95rem;
            transition: var(--transition);
            cursor: pointer;
            border: none;
        }
        .btn-primary {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: #fff;
            box-shadow: 0 4px 16px rgba(108, 92, 231, 0.30);
        }
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 28px rgba(108, 92, 231, 0.40);
        }
        .btn-secondary {
            background: var(--bg-alt);
            color: var(--primary);
            border: 2px solid var(--border);
        }
        .btn-secondary:hover {
            border-color: var(--primary);
            background: rgba(108, 92, 231, 0.04);
            transform: translateY(-2px);
        }
        .btn-sm {
            padding: 8px 20px;
            font-size: 0.82rem;
        }
        .btn-lg {
            padding: 16px 44px;
            font-size: 1.05rem;
        }

        /* ===== Mobile Nav ===== */
        @media (max-width: 768px) {
            .nav-toggle {
                display: flex;
            }
            .nav-list {
                position: fixed;
                top: var(--header-height);
                left: 0;
                width: 100%;
                background: rgba(255, 255, 255, 0.98);
                backdrop-filter: blur(20px);
                -webkit-backdrop-filter: blur(20px);
                flex-direction: column;
                padding: 20px 24px 32px;
                gap: 8px;
                border-bottom: 2px solid var(--border);
                transform: translateY(-120%);
                opacity: 0;
                pointer-events: none;
                transition: var(--transition);
                box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
            }
            .nav-list.open {
                transform: translateY(0);
                opacity: 1;
                pointer-events: all;
            }
            .nav-list a {
                width: 100%;
                text-align: center;
                padding: 14px 18px;
                font-size: 1rem;
            }
            .nav-list a.nav-cta {
                margin-top: 8px;
            }
        }

        /* ===== Hero / Banner ===== */
        .page-banner {
            padding: 120px 0 72px;
            background: linear-gradient(135deg, rgba(108, 92, 231, 0.06), rgba(253, 121, 168, 0.06));
            position: relative;
            overflow: hidden;
            min-height: 360px;
            display: flex;
            align-items: center;
        }
        .page-banner::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
            opacity: 0.15;
            z-index: 0;
        }
        .page-banner .container {
            position: relative;
            z-index: 1;
            text-align: center;
        }
        .page-banner h1 {
            font-size: 3rem;
            font-weight: 900;
            margin-bottom: 16px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .page-banner p {
            font-size: 1.15rem;
            color: var(--text-light);
            max-width: 680px;
            margin: 0 auto 28px;
        }
        .page-banner .banner-meta {
            display: flex;
            justify-content: center;
            gap: 24px;
            flex-wrap: wrap;
            font-size: 0.9rem;
            color: var(--text-muted);
        }
        .page-banner .banner-meta span i {
            margin-right: 6px;
            color: var(--primary);
        }
        @media (max-width: 768px) {
            .page-banner {
                padding: 100px 0 48px;
                min-height: 280px;
            }
            .page-banner h1 {
                font-size: 2rem;
            }
            .page-banner p {
                font-size: 1rem;
            }
        }
        @media (max-width: 520px) {
            .page-banner h1 {
                font-size: 1.6rem;
            }
            .page-banner .banner-meta {
                gap: 12px;
                font-size: 0.8rem;
            }
        }

        /* ===== Section Common ===== */
        .section {
            padding: 72px 0;
        }
        .section-alt {
            background: var(--bg-alt);
        }
        .section-title {
            font-size: 2rem;
            font-weight: 800;
            margin-bottom: 12px;
            text-align: center;
        }
        .section-sub {
            text-align: center;
            color: var(--text-light);
            max-width: 640px;
            margin: 0 auto 48px;
            font-size: 1.05rem;
        }
        @media (max-width: 768px) {
            .section {
                padding: 48px 0;
            }
            .section-title {
                font-size: 1.5rem;
            }
            .section-sub {
                font-size: 0.95rem;
                margin-bottom: 32px;
            }
        }

        /* ===== Card Grid ===== */
        .card-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
        }
        @media (max-width: 1024px) {
            .card-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 640px) {
            .card-grid {
                grid-template-columns: 1fr;
            }
        }

        .card {
            background: var(--bg-card);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            overflow: hidden;
            transition: var(--transition);
            border: 1px solid var(--border);
            display: flex;
            flex-direction: column;
        }
        .card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-hover);
            border-color: var(--primary-light);
        }
        .card-img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 0;
            display: block;
        }
        .card-body {
            padding: 22px 24px 26px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .card-body .badge {
            align-self: flex-start;
            margin-bottom: 10px;
        }
        .card-body h3 {
            font-size: 1.15rem;
            font-weight: 700;
            margin-bottom: 10px;
            color: var(--text);
        }
        .card-body h3 a {
            color: inherit;
        }
        .card-body h3 a:hover {
            color: var(--primary);
        }
        .card-body p {
            color: var(--text-light);
            font-size: 0.92rem;
            line-height: 1.6;
            flex: 1;
            margin-bottom: 14px;
        }
        .card-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.82rem;
            color: var(--text-muted);
            border-top: 1px solid var(--border);
            padding-top: 14px;
            margin-top: auto;
        }
        .card-meta span i {
            margin-right: 4px;
        }
        .card-meta .tag {
            background: rgba(108, 92, 231, 0.08);
            color: var(--primary);
            padding: 2px 12px;
            border-radius: 100px;
            font-weight: 600;
            font-size: 0.75rem;
        }

        /* ===== Badge ===== */
        .badge {
            display: inline-block;
            padding: 4px 14px;
            border-radius: 100px;
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 0.3px;
            background: rgba(108, 92, 231, 0.10);
            color: var(--primary);
        }
        .badge-hot {
            background: rgba(253, 121, 168, 0.12);
            color: var(--secondary);
        }
        .badge-new {
            background: rgba(0, 206, 201, 0.12);
            color: #00cec9;
        }
        .badge-top {
            background: rgba(253, 203, 110, 0.20);
            color: #d68910;
        }

        /* ===== Featured / Large Card ===== */
        .featured-card {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 32px;
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow);
            overflow: hidden;
            border: 1px solid var(--border);
            transition: var(--transition);
        }
        .featured-card:hover {
            box-shadow: var(--shadow-hover);
        }
        .featured-card .fc-img {
            width: 100%;
            height: 100%;
            min-height: 320px;
            object-fit: cover;
            border-radius: 0;
        }
        .featured-card .fc-body {
            padding: 36px 40px 36px 0;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .featured-card .fc-body .badge {
            margin-bottom: 12px;
        }
        .featured-card .fc-body h2 {
            font-size: 1.6rem;
            font-weight: 800;
            margin-bottom: 14px;
        }
        .featured-card .fc-body p {
            color: var(--text-light);
            font-size: 1rem;
            line-height: 1.7;
            margin-bottom: 20px;
        }
        .featured-card .fc-body .fc-meta {
            font-size: 0.85rem;
            color: var(--text-muted);
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
        }
        @media (max-width: 900px) {
            .featured-card {
                grid-template-columns: 1fr;
            }
            .featured-card .fc-body {
                padding: 0 28px 32px;
            }
            .featured-card .fc-img {
                min-height: 220px;
            }
        }
        @media (max-width: 520px) {
            .featured-card .fc-body {
                padding: 0 18px 24px;
            }
            .featured-card .fc-body h2 {
                font-size: 1.25rem;
            }
        }

        /* ===== Tags Cloud ===== */
        .tags-cloud {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 12px;
        }
        .tags-cloud a {
            padding: 8px 22px;
            border-radius: 100px;
            background: var(--bg-alt);
            border: 1px solid var(--border);
            font-weight: 600;
            font-size: 0.85rem;
            color: var(--text-light);
            transition: var(--transition);
        }
        .tags-cloud a:hover {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(108, 92, 231, 0.25);
        }

        /* ===== Rank List ===== */
        .rank-list {
            counter-reset: rank;
        }
        .rank-item {
            display: flex;
            align-items: center;
            gap: 18px;
            padding: 16px 20px;
            background: var(--bg-card);
            border-radius: var(--radius-sm);
            border: 1px solid var(--border);
            margin-bottom: 12px;
            transition: var(--transition);
        }
        .rank-item:hover {
            border-color: var(--primary-light);
            box-shadow: var(--shadow);
            transform: translateX(4px);
        }
        .rank-item::before {
            counter-increment: rank;
            content: counter(rank);
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: rgba(108, 92, 231, 0.08);
            color: var(--primary);
            font-weight: 800;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        .rank-item:nth-child(1)::before {
            background: var(--accent);
            color: #7d5a00;
        }
        .rank-item:nth-child(2)::before {
            background: #e8ecf4;
            color: var(--text);
        }
        .rank-item:nth-child(3)::before {
            background: #f0dcc0;
            color: #7d5a00;
        }
        .rank-item .rank-info {
            flex: 1;
        }
        .rank-item .rank-info h4 {
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 2px;
        }
        .rank-item .rank-info span {
            font-size: 0.82rem;
            color: var(--text-muted);
        }
        .rank-item .rank-score {
            font-weight: 800;
            color: var(--primary);
            font-size: 1.1rem;
        }

        /* ===== 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);
            overflow: hidden;
            transition: var(--transition);
        }
        .faq-item:hover {
            border-color: var(--primary-light);
        }
        .faq-question {
            padding: 18px 24px;
            font-weight: 700;
            font-size: 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            background: none;
            width: 100%;
            text-align: left;
            color: var(--text);
            transition: var(--transition);
        }
        .faq-question:hover {
            color: var(--primary);
        }
        .faq-question i {
            transition: var(--transition);
            color: var(--text-muted);
        }
        .faq-item.open .faq-question i {
            transform: rotate(180deg);
            color: var(--primary);
        }
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: var(--transition);
            padding: 0 24px;
            color: var(--text-light);
            font-size: 0.95rem;
            line-height: 1.7;
        }
        .faq-item.open .faq-answer {
            max-height: 300px;
            padding: 0 24px 20px;
        }

        /* ===== CTA ===== */
        .cta-section {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            padding: 72px 0;
            text-align: center;
            color: #fff;
            position: relative;
            overflow: hidden;
        }
        .cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
            opacity: 0.08;
            z-index: 0;
        }
        .cta-section .container {
            position: relative;
            z-index: 1;
        }
        .cta-section h2 {
            font-size: 2.2rem;
            font-weight: 900;
            color: #fff;
            margin-bottom: 14px;
        }
        .cta-section p {
            font-size: 1.1rem;
            opacity: 0.85;
            max-width: 600px;
            margin: 0 auto 32px;
        }
        .cta-section .btn {
            background: #fff;
            color: var(--primary);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        }
        .cta-section .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
        }
        @media (max-width: 768px) {
            .cta-section h2 {
                font-size: 1.5rem;
            }
            .cta-section p {
                font-size: 0.95rem;
            }
            .cta-section {
                padding: 48px 0;
            }
        }

        /* ===== Footer ===== */
        .site-footer {
            background: #1e1e2f;
            color: rgba(255, 255, 255, 0.75);
            padding: 56px 0 0;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
            padding-bottom: 40px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }
        .footer-brand .logo {
            margin-bottom: 16px;
            font-size: 1.2rem;
        }
        .footer-brand .logo .logo-icon {
            width: 36px;
            height: 36px;
            font-size: 1rem;
        }
        .footer-brand p {
            font-size: 0.9rem;
            line-height: 1.7;
            opacity: 0.7;
            margin-bottom: 18px;
            max-width: 360px;
        }
        .footer-social {
            display: flex;
            gap: 12px;
        }
        .footer-social a {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.06);
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255, 255, 255, 0.6);
            font-size: 1.1rem;
            transition: var(--transition);
        }
        .footer-social a:hover {
            background: var(--primary);
            color: #fff;
            transform: translateY(-3px);
        }
        .footer-col h4 {
            color: #fff;
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 16px;
        }
        .footer-col a {
            display: block;
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.88rem;
            padding: 5px 0;
            transition: var(--transition);
        }
        .footer-col a:hover {
            color: var(--primary-light);
            padding-left: 4px;
        }
        .footer-bottom {
            padding: 24px 0;
            text-align: center;
            font-size: 0.82rem;
            opacity: 0.5;
            color: rgba(255, 255, 255, 0.7);
        }
        @media (max-width: 900px) {
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 32px;
            }
            .footer-brand {
                grid-column: 1 / -1;
            }
            .footer-brand p {
                max-width: 100%;
            }
        }
        @media (max-width: 520px) {
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }
            .footer-social {
                justify-content: center;
            }
            .footer-col a {
                text-align: center;
            }
            .footer-col h4 {
                text-align: center;
            }
            .footer-brand p {
                text-align: center;
            }
            .footer-brand .logo {
                justify-content: center;
            }
        }

        /* ===== Utility ===== */
        .text-center {
            text-align: center;
        }
        .mt-12 {
            margin-top: 12px;
        }
        .mt-24 {
            margin-top: 24px;
        }
        .mt-32 {
            margin-top: 32px;
        }
        .mb-24 {
            margin-bottom: 24px;
        }
        .gap-16 {
            gap: 16px;
        }
        .flex-center {
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .flex-wrap {
            flex-wrap: wrap;
        }

        /* ===== Responsive Fine-tune ===== */
        @media (max-width: 1024px) {
            .container {
                padding: 0 20px;
            }
        }
        @media (max-width: 520px) {
            .container {
                padding: 0 16px;
            }
            .card-body {
                padding: 16px 18px 20px;
            }
            .card-img {
                height: 180px;
            }
            .rank-item {
                padding: 12px 16px;
                gap: 12px;
                flex-wrap: wrap;
            }
            .rank-item .rank-score {
                font-size: 1rem;
            }
        }

        /* ===== Focus & Accessibility ===== */
        a:focus-visible,
        button:focus-visible,
        input:focus-visible {
            outline: 3px solid var(--primary-light);
            outline-offset: 2px;
        }
        .btn:focus-visible {
            outline: 3px solid var(--primary-light);
            outline-offset: 2px;
        }

        /* ===== Smooth Image Placeholder ===== */
        .card-img,
        .fc-img {
            background: var(--border);
        }
