/* roulang page: index */
:root {
            --color-primary: #1a365d;
            --color-primary-light: #1e4d8c;
            --color-accent: #2563eb;
            --color-accent-glow: #3b82f6;
            --color-gold: #f59e0b;
            --color-gold-light: #fbbf24;
            --color-bg-dark: #0f172a;
            --color-bg-mid: #1e293b;
            --color-bg-light: #f8fafc;
            --color-surface: #ffffff;
            --color-text: #1e293b;
            --color-text-soft: #475569;
            --color-text-weak: #94a3b8;
            --color-text-inverse: #f1f5f9;
            --color-border: #e2e8f0;
            --color-border-light: #f1f5f9;
            --color-success: #10b981;
            --color-danger: #ef4444;
            --radius-sm: 8px;
            --radius-md: 14px;
            --radius-lg: 20px;
            --radius-xl: 28px;
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
            --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
            --shadow-lg: 0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
            --shadow-xl: 0 20px 60px rgba(0,0,0,0.18), 0 8px 20px rgba(0,0,0,0.08);
            --shadow-glow: 0 0 40px rgba(37,99,235,0.25), 0 0 80px rgba(37,99,235,0.10);
            --font-sans: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', 'Consolas', monospace;
            --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
            --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --transition-spring: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
            --max-width: 1240px;
            --nav-height: 72px;
            --section-gap: 80px;
            --section-gap-sm: 48px;
        }

        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            font-size: 16px;
        }

        body {
            font-family: var(--font-sans);
            line-height: 1.7;
            color: var(--color-text);
            background: var(--color-bg-light);
            overflow-x: hidden;
            min-height: 100vh;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: color var(--transition-fast);
        }

        button, input {
            font-family: inherit;
            font-size: inherit;
        }

        button {
            cursor: pointer;
            border: none;
            background: none;
        }

        ul, ol {
            list-style: none;
        }

        .container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 28px;
        }

        @media (max-width: 768px) {
            .container {
                padding: 0 18px;
            }
        }

        /* ===== NAVIGATION - 玻璃沉浸导航 ===== */
        .site-nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            height: var(--nav-height);
            display: flex;
            align-items: center;
            background: rgba(15, 23, 42, 0.55);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.10);
            transition: all var(--transition-smooth);
        }

        .site-nav.scrolled {
            background: rgba(15, 23, 42, 0.94);
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            box-shadow: 0 4px 32px rgba(0, 0, 0, 0.35);
        }

        .nav-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 28px;
        }

        .nav-logo {
            font-size: 1.35rem;
            font-weight: 700;
            color: #ffffff;
            letter-spacing: 0.02em;
            white-space: nowrap;
            text-shadow: 0 0 20px rgba(255,255,255,0.3);
            transition: opacity var(--transition-fast);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .nav-logo:hover {
            opacity: 0.85;
        }

        .nav-logo-icon {
            width: 38px;
            height: 38px;
            border-radius: var(--radius-sm);
            background: linear-gradient(135deg, var(--color-accent), var(--color-accent-glow));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            color: #fff;
            font-weight: 700;
            box-shadow: 0 0 20px rgba(37,99,235,0.4);
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .nav-links a {
            display: inline-flex;
            align-items: center;
            padding: 9px 18px;
            border-radius: 50px;
            font-size: 0.93rem;
            font-weight: 500;
            color: rgba(255, 255, 255, 0.85);
            transition: all var(--transition-fast);
            white-space: nowrap;
            letter-spacing: 0.01em;
        }

        .nav-links a:hover {
            color: #ffffff;
            background: rgba(255, 255, 255, 0.10);
        }

        .nav-links a.active {
            color: #ffffff;
            background: rgba(255, 255, 255, 0.16);
            font-weight: 600;
            box-shadow: 0 0 0 1px rgba(255,255,255,0.15);
        }

        .nav-cta-btn {
            display: inline-flex;
            align-items: center;
            padding: 10px 22px;
            border-radius: 50px;
            font-size: 0.9rem;
            font-weight: 600;
            background: linear-gradient(135deg, var(--color-accent), var(--color-accent-glow));
            color: #ffffff;
            transition: all var(--transition-smooth);
            letter-spacing: 0.02em;
            box-shadow: 0 4px 18px rgba(37,99,235,0.35);
            white-space: nowrap;
        }

        .nav-cta-btn:hover {
            box-shadow: 0 6px 28px rgba(37,99,235,0.5);
            transform: translateY(-1px);
        }

        .nav-hamburger {
            display: none;
            flex-direction: column;
            gap: 5px;
            padding: 8px;
            cursor: pointer;
            z-index: 1001;
        }

        .nav-hamburger span {
            display: block;
            width: 26px;
            height: 2.5px;
            background: #ffffff;
            border-radius: 3px;
            transition: all var(--transition-smooth);
            transform-origin: center;
        }

        .nav-hamburger.active span:nth-child(1) {
            transform: translateY(7.5px) rotate(45deg);
        }
        .nav-hamburger.active span:nth-child(2) {
            opacity: 0;
            transform: scaleX(0);
        }
        .nav-hamburger.active span:nth-child(3) {
            transform: translateY(-7.5px) rotate(-45deg);
        }

        .nav-mobile-menu {
            display: none;
            position: fixed;
            top: var(--nav-height);
            left: 0;
            right: 0;
            background: rgba(15, 23, 42, 0.97);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            border-bottom: 1px solid rgba(255,255,255,0.08);
            padding: 20px 28px 28px;
            z-index: 999;
            flex-direction: column;
            gap: 6px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.5);
        }
        .nav-mobile-menu.active {
            display: flex;
        }
        .nav-mobile-menu a {
            display: block;
            padding: 14px 18px;
            border-radius: var(--radius-md);
            font-size: 1.05rem;
            font-weight: 500;
            color: rgba(255,255,255,0.85);
            transition: all var(--transition-fast);
        }
        .nav-mobile-menu a:hover,
        .nav-mobile-menu a.active {
            background: rgba(255,255,255,0.10);
            color: #fff;
        }
        .nav-mobile-cta {
            margin-top: 8px;
            display: block;
            text-align: center;
            padding: 14px 24px;
            border-radius: 50px;
            font-weight: 600;
            background: linear-gradient(135deg, var(--color-accent), var(--color-accent-glow));
            color: #fff;
            font-size: 1rem;
        }

        @media (max-width: 768px) {
            .nav-links, .nav-cta-btn {
                display: none;
            }
            .nav-hamburger {
                display: flex;
            }
        }

        @media (min-width: 769px) {
            .nav-mobile-menu {
                display: none !important;
            }
        }

        /* ===== HERO ===== */
        .hero {
            position: relative;
            min-height: 620px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: url('/assets/images/backpic/back-1.png') center/cover no-repeat;
            background-color: var(--color-bg-dark);
            overflow: hidden;
            padding-top: var(--nav-height);
        }

        .hero-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg,
                rgba(15,23,42,0.82) 0%,
                rgba(15,23,42,0.65) 40%,
                rgba(15,23,42,0.78) 100%);
            z-index: 1;
        }

        .hero-glow {
            position: absolute;
            top: 30%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 500px;
            height: 500px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, transparent 70%);
            z-index: 0;
            pointer-events: none;
        }

        .hero-glow-2 {
            position: absolute;
            bottom: 10%;
            right: 10%;
            width: 350px;
            height: 350px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(245,158,11,0.12) 0%, transparent 70%);
            z-index: 0;
            pointer-events: none;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            text-align: center;
            max-width: 720px;
            padding: 60px 28px 80px;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 18px;
            border-radius: 50px;
            background: rgba(255,255,255,0.08);
            border: 1px solid rgba(255,255,255,0.16);
            color: rgba(255,255,255,0.9);
            font-size: 0.88rem;
            font-weight: 500;
            margin-bottom: 22px;
            letter-spacing: 0.04em;
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
        }

        .hero-badge-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--color-success);
            box-shadow: 0 0 10px rgba(16,185,129,0.6);
            animation: pulse-dot 2s ease-in-out infinite;
        }

        @keyframes pulse-dot {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.5; transform: scale(1.5); }
        }

        .hero-title {
            font-size: 3.2rem;
            font-weight: 800;
            color: #ffffff;
            line-height: 1.22;
            margin-bottom: 18px;
            letter-spacing: -0.01em;
            text-shadow: 0 2px 20px rgba(0,0,0,0.4);
        }

        .hero-title span {
            background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-desc {
            font-size: 1.15rem;
            color: rgba(255,255,255,0.72);
            line-height: 1.7;
            margin-bottom: 34px;
            max-width: 540px;
            margin-left: auto;
            margin-right: auto;
        }

        .hero-buttons {
            display: flex;
            gap: 14px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 13px 28px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.95rem;
            letter-spacing: 0.02em;
            transition: all var(--transition-smooth);
            white-space: nowrap;
            cursor: pointer;
            border: none;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--color-accent), #4f8bf9);
            color: #ffffff;
            box-shadow: 0 6px 24px rgba(37,99,235,0.4);
        }
        .btn-primary:hover {
            box-shadow: 0 10px 36px rgba(37,99,235,0.55);
            transform: translateY(-2px);
        }

        .btn-outline {
            background: transparent;
            color: #ffffff;
            border: 1.5px solid rgba(255,255,255,0.35);
        }
        .btn-outline:hover {
            background: rgba(255,255,255,0.08);
            border-color: rgba(255,255,255,0.55);
            transform: translateY(-1px);
        }

        .btn-gold {
            background: linear-gradient(135deg, var(--color-gold), #fbbf24);
            color: #1a1a1a;
            box-shadow: 0 6px 24px rgba(245,158,11,0.35);
            font-weight: 700;
        }
        .btn-gold:hover {
            box-shadow: 0 10px 36px rgba(245,158,11,0.5);
            transform: translateY(-2px);
        }

        @media (max-width: 768px) {
            .hero {
                min-height: 500px;
            }
            .hero-title {
                font-size: 2.1rem;
            }
            .hero-desc {
                font-size: 0.98rem;
            }
            .hero-content {
                padding: 40px 18px 60px;
            }
            .btn {
                padding: 11px 22px;
                font-size: 0.88rem;
            }
        }

        @media (max-width: 520px) {
            .hero {
                min-height: 440px;
            }
            .hero-title {
                font-size: 1.7rem;
            }
            .hero-badge {
                font-size: 0.78rem;
                padding: 6px 14px;
            }
            .hero-buttons {
                flex-direction: column;
                align-items: center;
                gap: 10px;
            }
        }

        /* ===== SECTION BASE ===== */
        .section {
            padding: var(--section-gap) 0;
        }
        .section-sm {
            padding: var(--section-gap-sm) 0;
        }
        .section-dark {
            background: var(--color-bg-dark);
            color: var(--color-text-inverse);
        }
        .section-mid {
            background: var(--color-bg-mid);
            color: var(--color-text-inverse);
        }

        .section-label {
            display: inline-block;
            font-size: 0.82rem;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: var(--color-accent);
            margin-bottom: 10px;
        }

        .section-title {
            font-size: 2.2rem;
            font-weight: 700;
            line-height: 1.28;
            margin-bottom: 14px;
            letter-spacing: -0.01em;
        }

        .section-subtitle {
            font-size: 1.05rem;
            color: var(--color-text-soft);
            line-height: 1.65;
            max-width: 600px;
            margin-bottom: 40px;
        }
        .section-dark .section-subtitle,
        .section-mid .section-subtitle {
            color: rgba(255,255,255,0.6);
        }

        .section-header {
            text-align: center;
            margin-bottom: 48px;
        }
        .section-header .section-subtitle {
            margin-left: auto;
            margin-right: auto;
        }

        @media (max-width: 768px) {
            .section {
                padding: var(--section-gap-sm) 0;
            }
            .section-title {
                font-size: 1.6rem;
            }
            .section-subtitle {
                font-size: 0.93rem;
            }
            .section-header {
                margin-bottom: 32px;
            }
        }

        /* ===== FEATURES GRID ===== */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }

        .feature-card {
            background: var(--color-surface);
            border-radius: var(--radius-lg);
            padding: 32px 26px;
            border: 1px solid var(--color-border-light);
            transition: all var(--transition-smooth);
            position: relative;
            overflow: hidden;
        }

        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--color-accent), var(--color-accent-glow));
            opacity: 0;
            transition: opacity var(--transition-smooth);
        }

        .feature-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
            border-color: transparent;
        }
        .feature-card:hover::before {
            opacity: 1;
        }

        .feature-icon {
            width: 50px;
            height: 50px;
            border-radius: var(--radius-md);
            background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(59,130,246,0.08));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
            margin-bottom: 18px;
            color: var(--color-accent);
        }

        .feature-card h3 {
            font-size: 1.12rem;
            font-weight: 700;
            margin-bottom: 8px;
            color: var(--color-text);
        }
        .feature-card p {
            font-size: 0.9rem;
            color: var(--color-text-soft);
            line-height: 1.6;
        }

        @media (max-width: 1024px) {
            .features-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 600px) {
            .features-grid {
                grid-template-columns: 1fr;
            }
            .feature-card {
                padding: 24px 20px;
            }
        }

        /* ===== CATEGORY CARD (分类入口) ===== */
        .category-card-large {
            display: grid;
            grid-template-columns: 1fr 1fr;
            background: var(--color-surface);
            border-radius: var(--radius-xl);
            overflow: hidden;
            border: 1px solid var(--color-border-light);
            transition: all var(--transition-smooth);
            box-shadow: var(--shadow-sm);
        }
        .category-card-large:hover {
            box-shadow: var(--shadow-lg);
            transform: translateY(-2px);
        }

        .category-card-img {
            background: url('/assets/images/coverpic/cover-1.png') center/cover no-repeat;
            min-height: 280px;
            position: relative;
        }
        .category-card-img::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(30,58,95,0.25) 0%, transparent 60%);
        }

        .category-card-body {
            padding: 36px 32px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .category-card-body .section-label {
            margin-bottom: 6px;
        }
        .category-card-body h3 {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 10px;
            color: var(--color-text);
        }
        .category-card-body p {
            font-size: 0.93rem;
            color: var(--color-text-soft);
            line-height: 1.65;
            margin-bottom: 20px;
        }

        @media (max-width: 768px) {
            .category-card-large {
                grid-template-columns: 1fr;
            }
            .category-card-img {
                min-height: 200px;
            }
            .category-card-body {
                padding: 24px 20px;
            }
        }

        /* ===== CMS LIST ===== */
        .cms-list {
            display: grid;
            gap: 16px;
        }

        .cms-list-item {
            display: flex;
            align-items: flex-start;
            gap: 18px;
            background: var(--color-surface);
            border-radius: var(--radius-md);
            padding: 20px 22px;
            border: 1px solid var(--color-border-light);
            transition: all var(--transition-fast);
            text-decoration: none;
            color: inherit;
        }

        .cms-list-item:hover {
            box-shadow: var(--shadow-md);
            border-color: transparent;
            transform: translateX(3px);
        }

        .cms-item-thumb {
            width: 80px;
            height: 60px;
            border-radius: var(--radius-sm);
            background: linear-gradient(135deg, var(--color-bg-mid), var(--color-bg-dark));
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255,255,255,0.4);
            font-size: 1.2rem;
            overflow: hidden;
        }
        .cms-item-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .cms-item-info {
            flex: 1;
            min-width: 0;
        }
        .cms-item-info h4 {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 4px;
            color: var(--color-text);
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .cms-item-info p {
            font-size: 0.84rem;
            color: var(--color-text-soft);
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .cms-item-meta {
            display: flex;
            gap: 14px;
            font-size: 0.78rem;
            color: var(--color-text-weak);
            margin-top: 6px;
        }
        .cms-item-tag {
            display: inline-block;
            padding: 3px 10px;
            border-radius: 50px;
            background: rgba(37,99,235,0.08);
            color: var(--color-accent);
            font-size: 0.75rem;
            font-weight: 500;
        }

        .cms-empty {
            text-align: center;
            padding: 48px 20px;
            color: var(--color-text-weak);
            font-size: 0.95rem;
            background: var(--color-surface);
            border-radius: var(--radius-lg);
            border: 1px dashed var(--color-border);
        }

        @media (max-width: 600px) {
            .cms-list-item {
                flex-direction: column;
                gap: 12px;
                padding: 16px;
            }
            .cms-item-thumb {
                width: 100%;
                height: 140px;
            }
        }

        /* ===== STATS ===== */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }
        .stat-card {
            text-align: center;
            padding: 28px 16px;
            background: rgba(255,255,255,0.04);
            border-radius: var(--radius-lg);
            border: 1px solid rgba(255,255,255,0.08);
            transition: all var(--transition-smooth);
        }
        .stat-card:hover {
            background: rgba(255,255,255,0.07);
            border-color: rgba(255,255,255,0.16);
            transform: translateY(-2px);
        }
        .stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1.1;
            margin-bottom: 8px;
        }
        .stat-label {
            font-size: 0.88rem;
            color: rgba(255,255,255,0.6);
            font-weight: 500;
        }

        @media (max-width: 768px) {
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 14px;
            }
            .stat-number {
                font-size: 2rem;
            }
        }
        @media (max-width: 480px) {
            .stats-grid {
                grid-template-columns: 1fr 1fr;
                gap: 10px;
            }
            .stat-card {
                padding: 20px 12px;
            }
            .stat-number {
                font-size: 1.6rem;
            }
        }

        /* ===== GAME CARDS ===== */
        .games-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 22px;
        }
        .game-card {
            background: var(--color-surface);
            border-radius: var(--radius-lg);
            overflow: hidden;
            border: 1px solid var(--color-border-light);
            transition: all var(--transition-smooth);
            box-shadow: var(--shadow-sm);
        }
        .game-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-xl);
        }
        .game-card-img {
            height: 200px;
            background-size: cover;
            background-position: center;
            position: relative;
        }
        .game-card-body {
            padding: 20px 18px;
        }
        .game-card-body h4 {
            font-size: 1.05rem;
            font-weight: 700;
            margin-bottom: 6px;
            color: var(--color-text);
        }
        .game-card-body p {
            font-size: 0.84rem;
            color: var(--color-text-soft);
            line-height: 1.55;
        }
        .game-card-tags {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
            margin-top: 10px;
        }
        .game-tag {
            display: inline-block;
            padding: 3px 10px;
            border-radius: 50px;
            font-size: 0.73rem;
            font-weight: 500;
            background: rgba(245,158,11,0.1);
            color: var(--color-gold);
        }

        @media (max-width: 1024px) {
            .games-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 600px) {
            .games-grid {
                grid-template-columns: 1fr;
            }
            .game-card-img {
                height: 180px;
            }
        }

        /* ===== FAQ ===== */
        .faq-list {
            max-width: 760px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .faq-item {
            background: var(--color-surface);
            border-radius: var(--radius-md);
            border: 1px solid var(--color-border-light);
            overflow: hidden;
            transition: all var(--transition-fast);
        }
        .faq-item:hover {
            border-color: var(--color-border);
        }
        .faq-question {
            width: 100%;
            text-align: left;
            padding: 18px 22px;
            font-weight: 600;
            font-size: 1rem;
            color: var(--color-text);
            background: none;
            border: none;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
            transition: color var(--transition-fast);
        }
        .faq-question:hover {
            color: var(--color-accent);
        }
        .faq-icon {
            flex-shrink: 0;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: var(--color-border-light);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            transition: all var(--transition-smooth);
            color: var(--color-text-soft);
        }
        .faq-item.open .faq-icon {
            background: var(--color-accent);
            color: #fff;
            transform: rotate(45deg);
        }
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height var(--transition-smooth), padding var(--transition-smooth);
            padding: 0 22px;
            font-size: 0.9rem;
            color: var(--color-text-soft);
            line-height: 1.7;
        }
        .faq-item.open .faq-answer {
            max-height: 300px;
            padding: 0 22px 18px;
        }

        /* ===== CTA ===== */
        .cta-section {
            position: relative;
            background: url('/assets/images/backpic/back-2.png') center/cover no-repeat;
            background-color: var(--color-bg-dark);
            overflow: hidden;
            text-align: center;
            padding: var(--section-gap) 0;
        }
        .cta-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(15,23,42,0.9) 0%, rgba(30,58,95,0.85) 50%, rgba(15,23,42,0.9) 100%);
            z-index: 1;
        }
        .cta-content {
            position: relative;
            z-index: 2;
            max-width: 600px;
            margin: 0 auto;
            padding: 0 28px;
        }
        .cta-content h2 {
            font-size: 2rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 12px;
        }
        .cta-content p {
            color: rgba(255,255,255,0.7);
            font-size: 1rem;
            line-height: 1.65;
            margin-bottom: 28px;
        }

        @media (max-width: 768px) {
            .cta-content h2 {
                font-size: 1.5rem;
            }
        }

        /* ===== FOOTER ===== */
        .site-footer {
            background: var(--color-bg-dark);
            color: rgba(255,255,255,0.7);
            padding: 48px 0 28px;
            border-top: 1px solid rgba(255,255,255,0.06);
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 32px;
        }
        .footer-brand {
            font-size: 1.2rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 8px;
        }
        .footer-desc {
            font-size: 0.86rem;
            color: rgba(255,255,255,0.5);
            line-height: 1.6;
        }
        .footer-col h5 {
            font-size: 0.9rem;
            font-weight: 600;
            color: #fff;
            margin-bottom: 14px;
            letter-spacing: 0.03em;
        }
        .footer-col a {
            display: block;
            font-size: 0.84rem;
            color: rgba(255,255,255,0.55);
            padding: 4px 0;
            transition: color var(--transition-fast);
        }
        .footer-col a:hover {
            color: #fff;
        }
        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.08);
            padding-top: 20px;
            text-align: center;
            font-size: 0.8rem;
            color: rgba(255,255,255,0.4);
        }
        @media (max-width: 768px) {
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }
        }

        /* ===== MOBILE NAV OVERRIDES ===== */
        @media (max-width: 768px) {
            .nav-inner {
                padding: 0 18px;
            }
            .site-nav {
                height: 60px;
            }
            :root {
                --nav-height: 60px;
            }
        }

/* roulang page: article */
:root {
            --color-primary: #4a90ff;
            --color-primary-hover: #5a9fff;
            --color-primary-glow: rgba(74, 144, 255, 0.25);
            --color-accent: #f0a500;
            --color-accent-hover: #ffb830;
            --color-accent-glow: rgba(240, 165, 0, 0.3);
            --color-bg: #0a0e17;
            --color-bg-alt: #0d1220;
            --color-surface: #141a27;
            --color-surface-hover: #1a2233;
            --color-surface-elevated: #1b2335;
            --color-border: #1e2738;
            --color-border-light: #263042;
            --color-text: #e8eaed;
            --color-text-secondary: #bcc4d0;
            --color-text-muted: #8b949e;
            --color-text-inverse: #0a0e17;
            --color-success: #34d399;
            --color-warning: #fbbf24;
            --color-danger: #f87171;
            --color-info: #60a5fa;
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 16px;
            --radius-xl: 20px;
            --radius-2xl: 24px;
            --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
            --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
            --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
            --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.7);
            --shadow-glow: 0 0 24px var(--color-primary-glow);
            --shadow-accent-glow: 0 0 20px var(--color-accent-glow);
            --font-sans: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            --font-mono: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
            --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
            --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            --nav-height: 72px;
            --container-max: 1200px;
            --container-narrow: 820px;
            --section-gap: 80px;
            --section-gap-sm: 48px;
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            font-size: 16px;
        }

        body {
            font-family: var(--font-sans);
            background-color: var(--color-bg);
            color: var(--color-text);
            line-height: 1.7;
            min-height: 100vh;
            overflow-x: hidden;
            letter-spacing: 0.01em;
        }

        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 0;
            background:
                radial-gradient(ellipse at 20% 10%, rgba(74, 144, 255, 0.04) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 60%, rgba(240, 165, 0, 0.03) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 90%, rgba(74, 144, 255, 0.03) 0%, transparent 55%);
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: color var(--transition-fast);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        button,
        input {
            font-family: inherit;
            font-size: inherit;
            border: none;
            outline: none;
        }

        button {
            cursor: pointer;
        }

        :focus-visible {
            outline: 2px solid var(--color-primary);
            outline-offset: 3px;
            border-radius: 4px;
        }

        .container {
            width: 100%;
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 24px;
        }

        .container-narrow {
            max-width: var(--container-narrow);
        }

        /* ========== HEADER / NAV ========== */
        .site-header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            height: var(--nav-height);
            transition: all var(--transition-base);
            border-bottom: 1px solid transparent;
        }

        .site-header.scrolled {
            background: rgba(10, 14, 23, 0.92);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom-color: var(--color-border);
            box-shadow: var(--shadow-md);
        }

        .site-header .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: var(--nav-height);
            padding: 0 24px;
            max-width: var(--container-max);
            margin: 0 auto;
        }

        .logo {
            font-size: 1.35rem;
            font-weight: 800;
            letter-spacing: -0.02em;
            color: #fff;
            white-space: nowrap;
            display: flex;
            align-items: center;
            gap: 10px;
            z-index: 1001;
            position: relative;
        }

        .logo-icon {
            width: 38px;
            height: 38px;
            border-radius: var(--radius-sm);
            background: linear-gradient(135deg, var(--color-primary), #6c5ce7);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            color: #fff;
            flex-shrink: 0;
            box-shadow: var(--shadow-glow);
        }

        .logo-text {
            background: linear-gradient(135deg, #fff 0%, #c8d6e5 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 6px;
            list-style: none;
        }

        .nav-links a {
            display: inline-flex;
            align-items: center;
            padding: 10px 18px;
            border-radius: var(--radius-sm);
            font-weight: 500;
            font-size: 0.95rem;
            color: var(--color-text-secondary);
            transition: all var(--transition-fast);
            position: relative;
            white-space: nowrap;
            letter-spacing: 0.02em;
        }

        .nav-links a:hover {
            color: #fff;
            background: rgba(255, 255, 255, 0.05);
        }

        .nav-links a.active {
            color: #fff;
            background: rgba(74, 144, 255, 0.15);
            font-weight: 600;
        }

        .nav-links a.active::after {
            content: '';
            position: absolute;
            bottom: 2px;
            left: 50%;
            transform: translateX(-50%);
            width: 20px;
            height: 3px;
            border-radius: 3px;
            background: var(--color-primary);
            box-shadow: 0 0 10px var(--color-primary-glow);
        }

        .nav-cta {
            padding: 9px 20px;
            border-radius: var(--radius-sm);
            font-weight: 600;
            font-size: 0.9rem;
            background: var(--color-primary);
            color: #fff;
            transition: all var(--transition-fast);
            white-space: nowrap;
            letter-spacing: 0.03em;
            box-shadow: 0 2px 12px var(--color-primary-glow);
        }

        .nav-cta:hover {
            background: var(--color-primary-hover);
            box-shadow: 0 4px 20px var(--color-primary-glow);
            transform: translateY(-1px);
            color: #fff;
        }

        .mobile-menu-toggle {
            display: none;
            background: none;
            color: #fff;
            font-size: 1.4rem;
            z-index: 1001;
            padding: 8px;
            border-radius: var(--radius-sm);
            transition: background var(--transition-fast);
        }

        .mobile-menu-toggle:hover {
            background: rgba(255, 255, 255, 0.08);
        }

        /* ========== ARTICLE BANNER ========== */
        .article-banner {
            position: relative;
            min-height: 420px;
            display: flex;
            align-items: flex-end;
            padding: calc(var(--nav-height) + 48px) 0 48px;
            background: var(--color-bg-alt);
            overflow: hidden;
            isolation: isolate;
        }

        .article-banner::before {
            content: '';
            position: absolute;
            inset: 0;
            z-index: 0;
            background-image: url('/assets/images/backpic/back-1.png');
            background-size: cover;
            background-position: center;
            opacity: 0.3;
            filter: saturate(0.6) brightness(0.7);
        }

        .article-banner::after {
            content: '';
            position: absolute;
            inset: 0;
            z-index: 1;
            background: linear-gradient(to top,
                    var(--color-bg) 0%,
                    rgba(10, 14, 23, 0.9) 25%,
                    rgba(10, 14, 23, 0.55) 60%,
                    rgba(10, 14, 23, 0.3) 100%);
        }

        .article-banner .banner-content {
            position: relative;
            z-index: 2;
            width: 100%;
        }

        .article-breadcrumb {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.85rem;
            color: var(--color-text-muted);
            margin-bottom: 16px;
            flex-wrap: wrap;
        }

        .article-breadcrumb a {
            color: var(--color-text-secondary);
            transition: color var(--transition-fast);
        }

        .article-breadcrumb a:hover {
            color: var(--color-primary);
        }

        .article-breadcrumb .separator {
            color: var(--color-border-light);
            font-size: 0.7rem;
        }

        .article-breadcrumb .current {
            color: var(--color-primary);
            font-weight: 500;
        }

        .article-banner .article-meta-top {
            display: flex;
            align-items: center;
            gap: 14px;
            flex-wrap: wrap;
            margin-bottom: 12px;
        }

        .article-banner .meta-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            letter-spacing: 0.03em;
            background: rgba(74, 144, 255, 0.18);
            color: var(--color-primary);
            border: 1px solid rgba(74, 144, 255, 0.3);
        }

        .article-banner .meta-badge.accent {
            background: rgba(240, 165, 0, 0.18);
            color: var(--color-accent);
            border-color: rgba(240, 165, 0, 0.3);
        }

        .article-banner .meta-item {
            font-size: 0.85rem;
            color: var(--color-text-muted);
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .article-banner .meta-item i {
            font-size: 0.75rem;
            color: var(--color-border-light);
        }

        .article-banner h1 {
            font-size: 2.4rem;
            font-weight: 800;
            line-height: 1.25;
            color: #fff;
            letter-spacing: -0.02em;
            max-width: 800px;
            text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
        }

        /* ========== ARTICLE CONTENT ========== */
        .article-main {
            padding: var(--section-gap-sm) 0;
            position: relative;
            z-index: 1;
        }

        .article-layout {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 40px;
            align-items: start;
        }

        .article-body {
            background: var(--color-surface);
            border-radius: var(--radius-xl);
            padding: 40px;
            border: 1px solid var(--color-border);
            box-shadow: var(--shadow-md);
            position: relative;
            overflow: hidden;
        }

        .article-body::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary));
            opacity: 0.7;
            border-radius: 3px 3px 0 0;
        }

        .article-body .article-content {
            font-size: 1.05rem;
            line-height: 1.85;
            color: var(--color-text-secondary);
        }

        .article-body .article-content h2 {
            font-size: 1.6rem;
            font-weight: 700;
            color: #fff;
            margin: 32px 0 16px;
            letter-spacing: -0.01em;
            padding-bottom: 10px;
            border-bottom: 1px solid var(--color-border);
        }

        .article-body .article-content h3 {
            font-size: 1.3rem;
            font-weight: 600;
            color: #fff;
            margin: 24px 0 12px;
        }

        .article-body .article-content p {
            margin-bottom: 16px;
        }

        .article-body .article-content ul,
        .article-body .article-content ol {
            margin: 12px 0 16px 20px;
        }

        .article-body .article-content li {
            margin-bottom: 6px;
        }

        .article-body .article-content img {
            border-radius: var(--radius-md);
            margin: 20px 0;
            width: 100%;
        }

        .article-body .article-content blockquote {
            border-left: 3px solid var(--color-primary);
            padding: 14px 20px;
            margin: 20px 0;
            background: rgba(74, 144, 255, 0.06);
            border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
            color: var(--color-text);
            font-style: italic;
        }

        .article-body .article-content code {
            background: var(--color-bg);
            padding: 2px 8px;
            border-radius: 4px;
            font-family: var(--font-mono);
            font-size: 0.9em;
            color: var(--color-accent);
            border: 1px solid var(--color-border);
        }

        .article-body .article-content pre {
            background: var(--color-bg);
            padding: 20px;
            border-radius: var(--radius-md);
            overflow-x: auto;
            margin: 16px 0;
            border: 1px solid var(--color-border);
            font-family: var(--font-mono);
            font-size: 0.9rem;
            line-height: 1.6;
        }

        .article-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 28px;
            padding-top: 20px;
            border-top: 1px solid var(--color-border);
        }

        .article-tag {
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
            background: rgba(255, 255, 255, 0.04);
            color: var(--color-text-muted);
            border: 1px solid var(--color-border);
            transition: all var(--transition-fast);
        }

        .article-tag:hover {
            background: rgba(74, 144, 255, 0.1);
            border-color: rgba(74, 144, 255, 0.4);
            color: var(--color-primary);
        }

        /* ========== SIDEBAR ========== */
        .article-sidebar {
            display: flex;
            flex-direction: column;
            gap: 24px;
            position: sticky;
            top: calc(var(--nav-height) + 24px);
        }

        .sidebar-card {
            background: var(--color-surface);
            border-radius: var(--radius-lg);
            padding: 22px;
            border: 1px solid var(--color-border);
            box-shadow: var(--shadow-sm);
        }

        .sidebar-card h4 {
            font-size: 0.95rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 14px;
            letter-spacing: 0.02em;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .sidebar-card h4::before {
            content: '';
            width: 4px;
            height: 18px;
            border-radius: 2px;
            background: var(--color-primary);
            box-shadow: 0 0 8px var(--color-primary-glow);
        }

        .stat-row {
            display: flex;
            justify-content: space-between;
            padding: 10px 0;
            border-bottom: 1px solid var(--color-border);
            font-size: 0.88rem;
        }

        .stat-row:last-child {
            border-bottom: none;
        }

        .stat-label {
            color: var(--color-text-muted);
        }

        .stat-value {
            font-weight: 600;
            color: #fff;
            font-family: var(--font-mono);
            font-size: 0.85rem;
        }

        .stat-value.highlight {
            color: var(--color-primary);
        }

        .stat-value.success {
            color: var(--color-success);
        }

        .related-mini-card {
            display: flex;
            gap: 12px;
            padding: 12px 0;
            border-bottom: 1px solid var(--color-border);
            transition: all var(--transition-fast);
            cursor: pointer;
            border-radius: var(--radius-sm);
            padding: 10px;
            margin: 0 -10px;
        }

        .related-mini-card:last-child {
            border-bottom: none;
        }

        .related-mini-card:hover {
            background: var(--color-surface-hover);
        }

        .related-mini-thumb {
            width: 60px;
            height: 48px;
            border-radius: var(--radius-sm);
            object-fit: cover;
            flex-shrink: 0;
            background: var(--color-bg);
        }

        .related-mini-info {
            flex: 1;
            min-width: 0;
        }

        .related-mini-info .mini-title {
            font-size: 0.82rem;
            font-weight: 600;
            color: var(--color-text);
            line-height: 1.35;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            transition: color var(--transition-fast);
        }

        .related-mini-card:hover .mini-title {
            color: var(--color-primary);
        }

        .related-mini-info .mini-date {
            font-size: 0.72rem;
            color: var(--color-text-muted);
            margin-top: 4px;
        }

        /* ========== RELATED POSTS SECTION ========== */
        .related-section {
            padding: var(--section-gap-sm) 0;
            position: relative;
            z-index: 1;
        }

        .section-header {
            text-align: center;
            margin-bottom: 36px;
        }

        .section-header .section-label {
            display: inline-block;
            font-size: 0.8rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--color-primary);
            margin-bottom: 8px;
            padding: 5px 14px;
            border-radius: 20px;
            background: rgba(74, 144, 255, 0.1);
            border: 1px solid rgba(74, 144, 255, 0.25);
        }

        .section-header h2 {
            font-size: 2rem;
            font-weight: 800;
            color: #fff;
            letter-spacing: -0.02em;
        }

        .related-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }

        .related-card {
            background: var(--color-surface);
            border-radius: var(--radius-lg);
            overflow: hidden;
            border: 1px solid var(--color-border);
            transition: all var(--transition-base);
            cursor: pointer;
            box-shadow: var(--shadow-sm);
        }

        .related-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
            border-color: var(--color-border-light);
            background: var(--color-surface-hover);
        }

        .related-card-image {
            width: 100%;
            height: 180px;
            object-fit: cover;
            background: var(--color-bg-alt);
            position: relative;
        }

        .related-card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .related-card-body {
            padding: 18px;
        }

        .related-card-body .card-category {
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--color-primary);
            letter-spacing: 0.04em;
            margin-bottom: 6px;
            text-transform: uppercase;
        }

        .related-card-body h3 {
            font-size: 1.05rem;
            font-weight: 700;
            color: #fff;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            transition: color var(--transition-fast);
        }

        .related-card:hover .related-card-body h3 {
            color: var(--color-primary);
        }

        .related-card-body .card-excerpt {
            font-size: 0.85rem;
            color: var(--color-text-muted);
            margin-top: 8px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            line-height: 1.5;
        }

        .related-card-body .card-meta {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: 12px;
            font-size: 0.78rem;
            color: var(--color-text-muted);
        }

        /* ========== FAQ SECTION ========== */
        .faq-section {
            padding: var(--section-gap-sm) 0;
            position: relative;
            z-index: 1;
        }

        .faq-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
            max-width: 800px;
            margin: 0 auto;
        }

        .faq-item {
            background: var(--color-surface);
            border-radius: var(--radius-md);
            border: 1px solid var(--color-border);
            overflow: hidden;
            transition: all var(--transition-base);
        }

        .faq-item:hover {
            border-color: var(--color-border-light);
            box-shadow: var(--shadow-sm);
        }

        .faq-question {
            width: 100%;
            background: none;
            color: #fff;
            padding: 18px 22px;
            font-weight: 600;
            font-size: 1rem;
            text-align: left;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
            letter-spacing: 0.01em;
            transition: color var(--transition-fast);
        }

        .faq-question:hover {
            color: var(--color-primary);
        }

        .faq-question i {
            font-size: 0.85rem;
            color: var(--color-text-muted);
            transition: transform var(--transition-base);
            flex-shrink: 0;
        }

        .faq-item.open .faq-question i {
            transform: rotate(180deg);
            color: var(--color-primary);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height var(--transition-slow), padding var(--transition-base);
        }

        .faq-item.open .faq-answer {
            max-height: 300px;
            padding: 0 22px 18px;
        }

        .faq-answer p {
            color: var(--color-text-secondary);
            font-size: 0.93rem;
            line-height: 1.7;
        }

        /* ========== CTA SECTION ========== */
        .cta-section {
            padding: var(--section-gap) 0;
            position: relative;
            z-index: 1;
        }

        .cta-card {
            background: linear-gradient(135deg, var(--color-surface-elevated) 0%, #1a2040 100%);
            border-radius: var(--radius-2xl);
            padding: 48px 40px;
            text-align: center;
            border: 1px solid var(--color-border-light);
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow-lg);
        }

        .cta-card::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -30%;
            width: 80%;
            height: 200%;
            background: radial-gradient(ellipse, rgba(74, 144, 255, 0.1) 0%, transparent 70%);
            pointer-events: none;
        }

        .cta-card::after {
            content: '';
            position: absolute;
            bottom: -40%;
            right: -20%;
            width: 60%;
            height: 150%;
            background: radial-gradient(ellipse, rgba(240, 165, 0, 0.08) 0%, transparent 70%);
            pointer-events: none;
        }

        .cta-card h2 {
            font-size: 2rem;
            font-weight: 800;
            color: #fff;
            letter-spacing: -0.02em;
            position: relative;
            z-index: 1;
        }

        .cta-card p {
            color: var(--color-text-secondary);
            font-size: 1.05rem;
            margin: 14px 0 24px;
            position: relative;
            z-index: 1;
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-card .btn-group {
            display: flex;
            gap: 12px;
            justify-content: center;
            flex-wrap: wrap;
            position: relative;
            z-index: 1;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 13px 28px;
            border-radius: var(--radius-sm);
            font-weight: 600;
            font-size: 0.95rem;
            letter-spacing: 0.02em;
            transition: all var(--transition-fast);
            white-space: nowrap;
            cursor: pointer;
        }

        .btn-primary {
            background: var(--color-primary);
            color: #fff;
            box-shadow: 0 4px 18px var(--color-primary-glow);
        }

        .btn-primary:hover {
            background: var(--color-primary-hover);
            box-shadow: 0 6px 24px var(--color-primary-glow);
            transform: translateY(-2px);
        }

        .btn-accent {
            background: var(--color-accent);
            color: var(--color-text-inverse);
            box-shadow: 0 4px 18px var(--color-accent-glow);
        }

        .btn-accent:hover {
            background: var(--color-accent-hover);
            box-shadow: 0 6px 24px var(--color-accent-glow);
            transform: translateY(-2px);
        }

        .btn-outline {
            background: transparent;
            color: #fff;
            border: 2px solid var(--color-border-light);
        }

        .btn-outline:hover {
            border-color: var(--color-primary);
            color: var(--color-primary);
            background: rgba(74, 144, 255, 0.06);
        }

        /* ========== NOT FOUND ========== */
        .not-found-section {
            padding: calc(var(--nav-height) + 80px) 0 80px;
            text-align: center;
            min-height: 60vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .not-found-card {
            background: var(--color-surface);
            border-radius: var(--radius-xl);
            padding: 60px 40px;
            border: 1px solid var(--color-border);
            max-width: 500px;
            width: 100%;
            box-shadow: var(--shadow-md);
        }

        .not-found-card .nf-icon {
            font-size: 4rem;
            color: var(--color-text-muted);
            margin-bottom: 20px;
            opacity: 0.6;
        }

        .not-found-card h2 {
            font-size: 1.6rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 10px;
        }

        .not-found-card p {
            color: var(--color-text-muted);
            margin-bottom: 24px;
            font-size: 0.95rem;
        }

        /* ========== FOOTER ========== */
        .site-footer {
            background: var(--color-bg-alt);
            border-top: 1px solid var(--color-border);
            padding: 48px 0 24px;
            position: relative;
            z-index: 1;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 32px;
        }

        .footer-brand {
            font-size: 1.2rem;
            font-weight: 800;
            color: #fff;
            letter-spacing: -0.02em;
            margin-bottom: 10px;
        }

        .footer-desc {
            font-size: 0.88rem;
            color: var(--color-text-muted);
            line-height: 1.7;
            max-width: 360px;
        }

        .footer-col h5 {
            font-size: 0.85rem;
            font-weight: 700;
            color: #fff;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            margin-bottom: 14px;
        }

        .footer-col a {
            display: block;
            font-size: 0.88rem;
            color: var(--color-text-muted);
            padding: 5px 0;
            transition: color var(--transition-fast);
        }

        .footer-col a:hover {
            color: var(--color-primary);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid var(--color-border);
            font-size: 0.82rem;
            color: var(--color-text-muted);
            letter-spacing: 0.02em;
        }

        /* ========== RESPONSIVE ========== */
        @media (max-width: 1024px) {
            .article-layout {
                grid-template-columns: 1fr;
                gap: 32px;
            }

            .article-sidebar {
                position: static;
                flex-direction: row;
                flex-wrap: wrap;
                gap: 16px;
            }

            .sidebar-card {
                flex: 1;
                min-width: 240px;
            }

            .related-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .article-banner h1 {
                font-size: 2rem;
            }

            .article-body {
                padding: 28px;
            }

            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 32px;
            }
        }

        @media (max-width: 768px) {
            :root {
                --nav-height: 60px;
                --section-gap: 56px;
                --section-gap-sm: 36px;
            }

            .nav-links {
                position: fixed;
                top: 0;
                right: -100%;
                width: 260px;
                height: 100vh;
                flex-direction: column;
                background: rgba(14, 20, 32, 0.98);
                backdrop-filter: blur(24px);
                -webkit-backdrop-filter: blur(24px);
                padding: 80px 24px 24px;
                gap: 4px;
                transition: right var(--transition-base);
                border-left: 1px solid var(--color-border);
                box-shadow: var(--shadow-xl);
                z-index: 1000;
            }

            .nav-links.open {
                right: 0;
            }

            .nav-links a {
                width: 100%;
                padding: 12px 16px;
                font-size: 1rem;
                border-radius: var(--radius-sm);
            }

            .mobile-menu-toggle {
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .site-header .header-inner {
                padding: 0 16px;
            }

            .article-banner {
                min-height: 300px;
                padding: calc(var(--nav-height) + 32px) 0 32px;
            }

            .article-banner h1 {
                font-size: 1.6rem;
            }

            .article-body {
                padding: 22px;
                border-radius: var(--radius-lg);
            }

            .article-body .article-content {
                font-size: 0.98rem;
            }

            .related-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }

            .related-card-image {
                height: 160px;
            }

            .article-sidebar {
                flex-direction: column;
            }

            .sidebar-card {
                min-width: auto;
            }

            .cta-card {
                padding: 32px 20px;
            }

            .cta-card h2 {
                font-size: 1.5rem;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 24px;
                text-align: center;
            }

            .footer-desc {
                max-width: 100%;
            }

            .footer-col h5 {
                text-align: center;
            }

            .footer-col a {
                text-align: center;
            }

            .section-header h2 {
                font-size: 1.5rem;
            }

            .btn {
                padding: 11px 22px;
                font-size: 0.9rem;
            }
        }

        @media (max-width: 520px) {
            .container {
                padding: 0 14px;
            }

            .article-banner h1 {
                font-size: 1.35rem;
            }

            .article-body {
                padding: 16px;
                border-radius: var(--radius-md);
            }

            .article-body .article-content {
                font-size: 0.93rem;
            }

            .article-body .article-content h2 {
                font-size: 1.3rem;
            }

            .article-body .article-content h3 {
                font-size: 1.1rem;
            }

            .related-card-image {
                height: 140px;
            }

            .cta-card {
                padding: 24px 16px;
                border-radius: var(--radius-lg);
            }

            .cta-card h2 {
                font-size: 1.3rem;
            }

            .cta-card p {
                font-size: 0.9rem;
            }

            .btn-group {
                flex-direction: column;
                align-items: center;
            }

            .btn {
                width: 100%;
                justify-content: center;
            }

            .article-breadcrumb {
                font-size: 0.78rem;
            }

            .article-banner .meta-badge {
                font-size: 0.72rem;
                padding: 4px 10px;
            }
        }

        @media (min-width: 769px) {
            .nav-links {
                display: flex !important;
                position: static;
                width: auto;
                height: auto;
                flex-direction: row;
                background: none;
                backdrop-filter: none;
                -webkit-backdrop-filter: none;
                padding: 0;
                gap: 6px;
                border-left: none;
                box-shadow: none;
            }
        }

/* roulang page: category1 */
/* ============================================
           设计变量 - 南宫pg28娱乐 科技深色主题
           ============================================ */
        :root {
            /* 主色调 - 深紫科技风 */
            --primary: #7C5CFC;
            --primary-light: #9B7FFF;
            --primary-dark: #5A3FD4;
            --primary-glow: rgba(124, 92, 252, 0.35);

            /* 辅色 - 琥珀金点缀 */
            --accent: #F0B90B;
            --accent-light: #FCD535;
            --accent-dark: #C99A08;
            --accent-glow: rgba(240, 185, 11, 0.3);

            /* 背景系统 */
            --bg-deep: #080812;
            --bg-dark: #0C0C1D;
            --bg-surface: #111128;
            --bg-card: rgba(22, 22, 50, 0.75);
            --bg-card-hover: rgba(30, 30, 60, 0.85);
            --bg-glass: rgba(12, 12, 29, 0.65);
            --bg-glass-strong: rgba(12, 12, 29, 0.88);

            /* 文字系统 */
            --text-primary: #F0F0F5;
            --text-secondary: #C5C5D8;
            --text-muted: #8888A0;
            --text-dim: #666680;

            /* 边框与分割 */
            --border-subtle: rgba(255, 255, 255, 0.07);
            --border-card: rgba(255, 255, 255, 0.10);
            --border-active: rgba(124, 92, 252, 0.45);
            --border-accent: rgba(240, 185, 11, 0.35);

            /* 圆角 */
            --radius-sm: 6px;
            --radius-md: 10px;
            --radius-lg: 16px;
            --radius-xl: 22px;
            --radius-full: 9999px;

            /* 阴影 */
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
            --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.4);
            --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.5);
            --shadow-glow-primary: 0 0 30px rgba(124, 92, 252, 0.25);
            --shadow-glow-accent: 0 0 24px rgba(240, 185, 11, 0.2);
            --shadow-card-hover: 0 10px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(124, 92, 252, 0.2);

            /* 间距 */
            --space-xs: 6px;
            --space-sm: 12px;
            --space-md: 20px;
            --space-lg: 32px;
            --space-xl: 48px;
            --space-2xl: 64px;
            --space-3xl: 88px;

            /* 字体 */
            --font-main: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
            --font-mono: 'SF Mono', 'Cascadia Code', 'Consolas', 'Monaco', monospace;

            /* 过渡 */
            --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
            --transition-smooth: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
            --transition-bounce: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);

            /* 导航栏高度 */
            --nav-height: 64px;
        }

        /* ============================================
           基础 Reset
           ============================================ */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            font-size: 16px;
        }

        body {
            font-family: var(--font-main);
            background-color: var(--bg-deep);
            color: var(--text-primary);
            line-height: 1.65;
            min-height: 100vh;
            overflow-x: hidden;
            letter-spacing: 0.01em;
        }

        img {
            display: block;
            max-width: 100%;
            height: auto;
            border: 0;
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: color var(--transition-fast);
        }

        button {
            font-family: inherit;
            cursor: pointer;
            border: none;
            background: none;
            font-size: inherit;
            color: inherit;
            transition: all var(--transition-fast);
        }

        input,
        select,
        textarea {
            font-family: inherit;
            font-size: inherit;
            color: inherit;
            border: none;
            outline: none;
        }

        ul,
        ol {
            list-style: none;
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            font-weight: 700;
            line-height: 1.25;
            letter-spacing: -0.01em;
        }

        /* ============================================
           容器
           ============================================ */
        .container {
            width: 100%;
            max-width: 1240px;
            margin: 0 auto;
            padding: 0 var(--space-md);
        }

        .container--narrow {
            max-width: 960px;
        }

        .container--wide {
            max-width: 1360px;
        }

        /* ============================================
           全局 Header / 透明玻璃沉浸导航
           ============================================ */
        .site-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            height: var(--nav-height);
            background: var(--bg-glass);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            border-bottom: 1px solid var(--border-subtle);
            transition: all var(--transition-smooth);
            box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
        }

        .site-header.scrolled {
            background: var(--bg-glass-strong);
            border-bottom-color: var(--border-card);
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
        }

        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: var(--nav-height);
            gap: var(--space-lg);
        }

        .logo {
            flex-shrink: 0;
            font-size: 1.35rem;
            font-weight: 800;
            letter-spacing: 0.02em;
            color: var(--text-primary);
            display: flex;
            align-items: center;
            gap: 8px;
            white-space: nowrap;
        }

        .logo-icon {
            width: 36px;
            height: 36px;
            border-radius: var(--radius-md);
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            color: #fff;
            box-shadow: var(--shadow-glow-primary);
            flex-shrink: 0;
        }

        .logo-text {
            background: linear-gradient(135deg, var(--text-primary) 30%, var(--primary-light) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* 主导航 */
        .nav-links {
            display: flex;
            align-items: center;
            gap: var(--space-xs);
            flex-shrink: 0;
        }

        .nav-links a {
            display: inline-flex;
            align-items: center;
            padding: 8px 18px;
            border-radius: var(--radius-full);
            font-size: 0.95rem;
            font-weight: 500;
            color: var(--text-secondary);
            transition: all var(--transition-fast);
            white-space: nowrap;
            position: relative;
        }

        .nav-links a:hover {
            color: var(--text-primary);
            background: rgba(255, 255, 255, 0.05);
        }

        .nav-links a.active {
            color: #fff;
            background: rgba(124, 92, 252, 0.25);
            font-weight: 600;
            box-shadow: 0 0 0 1px rgba(124, 92, 252, 0.35);
        }

        .nav-links a.active::after {
            content: '';
            position: absolute;
            bottom: 2px;
            left: 50%;
            transform: translateX(-50%);
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--accent);
            box-shadow: var(--shadow-glow-accent);
        }

        /* 搜索按钮 */
        .nav-actions {
            display: flex;
            align-items: center;
            gap: var(--space-sm);
            flex-shrink: 0;
        }

        .btn-search {
            width: 38px;
            height: 38px;
            border-radius: var(--radius-full);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-secondary);
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid var(--border-subtle);
            transition: all var(--transition-fast);
            font-size: 1rem;
        }

        .btn-search:hover {
            color: var(--text-primary);
            background: rgba(255, 255, 255, 0.08);
            border-color: var(--border-card);
            box-shadow: var(--shadow-sm);
        }

        .btn-cta-nav {
            padding: 9px 22px;
            border-radius: var(--radius-full);
            font-weight: 600;
            font-size: 0.9rem;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: #fff;
            box-shadow: var(--shadow-glow-primary);
            border: 1px solid rgba(255, 255, 255, 0.12);
            transition: all var(--transition-smooth);
            white-space: nowrap;
        }

        .btn-cta-nav:hover {
            background: linear-gradient(135deg, var(--primary-light), var(--primary));
            box-shadow: 0 0 40px rgba(124, 92, 252, 0.45);
            transform: translateY(-1px);
        }

        .btn-cta-nav:active {
            transform: translateY(0);
            box-shadow: var(--shadow-glow-primary);
        }

        /* 移动端汉堡按钮 */
        .hamburger {
            display: none;
            width: 38px;
            height: 38px;
            border-radius: var(--radius-md);
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 5px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid var(--border-subtle);
            z-index: 1001;
        }

        .hamburger span {
            display: block;
            width: 20px;
            height: 2px;
            background: var(--text-secondary);
            border-radius: 2px;
            transition: all var(--transition-smooth);
        }

        .hamburger.active span:nth-child(1) {
            transform: translateY(7px) rotate(45deg);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            transform: translateY(-7px) rotate(-45deg);
        }

        /* 移动端导航面板 */
        .mobile-nav-panel {
            display: none;
            position: fixed;
            top: var(--nav-height);
            left: 0;
            right: 0;
            bottom: 0;
            background: var(--bg-glass-strong);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            z-index: 999;
            padding: var(--space-lg) var(--space-md);
            flex-direction: column;
            gap: var(--space-xs);
            overflow-y: auto;
        }

        .mobile-nav-panel.active {
            display: flex;
        }

        .mobile-nav-panel a {
            display: block;
            padding: 14px 20px;
            border-radius: var(--radius-md);
            font-size: 1.05rem;
            font-weight: 500;
            color: var(--text-secondary);
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid transparent;
            transition: all var(--transition-fast);
        }

        .mobile-nav-panel a:hover,
        .mobile-nav-panel a.active {
            color: #fff;
            background: rgba(124, 92, 252, 0.2);
            border-color: rgba(124, 92, 252, 0.3);
        }

        .mobile-nav-panel a.active {
            font-weight: 700;
        }

        /* ============================================
           分类 Banner / Hero
           ============================================ */
        .category-hero {
            position: relative;
            padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-2xl);
            background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-deep) 100%);
            overflow: hidden;
        }

        .category-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url('/assets/images/backpic/back-1.png');
            background-size: cover;
            background-position: center;
            opacity: 0.25;
            z-index: 0;
            mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.1) 100%);
            -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.1) 100%);
        }

        .category-hero::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(ellipse 50% 60% at 50% 30%, rgba(124, 92, 252, 0.10) 0%, transparent 70%);
            z-index: 0;
        }

        .category-hero .container {
            position: relative;
            z-index: 1;
            text-align: center;
        }

        .category-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 7px 18px;
            border-radius: var(--radius-full);
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--accent);
            background: rgba(240, 185, 11, 0.08);
            border: 1px solid var(--border-accent);
            margin-bottom: var(--space-md);
            letter-spacing: 0.03em;
        }

        .category-badge .badge-dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--accent);
            box-shadow: var(--shadow-glow-accent);
            animation: pulse-dot 2s ease-in-out infinite;
        }

        @keyframes pulse-dot {
            0%,
            100% {
                box-shadow: 0 0 6px rgba(240, 185, 11, 0.5);
            }
            50% {
                box-shadow: 0 0 16px rgba(240, 185, 11, 0.9);
            }
        }

        .category-hero h1 {
            font-size: clamp(1.8rem, 4vw, 2.8rem);
            font-weight: 800;
            letter-spacing: -0.02em;
            color: #fff;
            margin-bottom: var(--space-sm);
        }

        .category-hero h1 .highlight {
            background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .category-hero .hero-subtitle {
            font-size: 1.05rem;
            color: var(--text-muted);
            max-width: 600px;
            margin: 0 auto var(--space-lg);
            line-height: 1.7;
        }

        .category-stats-row {
            display: flex;
            justify-content: center;
            gap: var(--space-xl);
            flex-wrap: wrap;
            margin-top: var(--space-md);
        }

        .stat-item {
            text-align: center;
            min-width: 100px;
        }

        .stat-number {
            font-size: 2rem;
            font-weight: 800;
            color: #fff;
            letter-spacing: -0.02em;
        }

        .stat-number .plus {
            color: var(--accent);
        }

        .stat-label {
            font-size: 0.82rem;
            color: var(--text-muted);
            margin-top: 2px;
        }

        /* ============================================
           子分类标签行
           ============================================ */
        .subcategory-bar {
            padding: var(--space-md) 0;
            background: var(--bg-surface);
            border-bottom: 1px solid var(--border-subtle);
            position: sticky;
            top: var(--nav-height);
            z-index: 50;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }

        .subcategory-scroll {
            display: flex;
            gap: var(--space-xs);
            overflow-x: auto;
            scrollbar-width: none;
            -ms-overflow-style: none;
            padding: 4px 0;
        }

        .subcategory-scroll::-webkit-scrollbar {
            display: none;
        }

        .sub-tag {
            flex-shrink: 0;
            padding: 8px 20px;
            border-radius: var(--radius-full);
            font-size: 0.88rem;
            font-weight: 500;
            color: var(--text-secondary);
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid var(--border-subtle);
            cursor: pointer;
            transition: all var(--transition-fast);
            white-space: nowrap;
        }

        .sub-tag:hover {
            color: #fff;
            background: rgba(255, 255, 255, 0.06);
            border-color: var(--border-card);
        }

        .sub-tag.active-tag {
            color: #fff;
            background: rgba(124, 92, 252, 0.22);
            border-color: var(--border-active);
            font-weight: 600;
            box-shadow: 0 0 0 1px rgba(124, 92, 252, 0.2);
        }

        .sub-tag .tag-count {
            font-size: 0.75rem;
            color: var(--text-muted);
            margin-left: 4px;
        }

        .sub-tag.active-tag .tag-count {
            color: var(--primary-light);
        }

        /* ============================================
           攻略文章卡片网格
           ============================================ */
        .section {
            padding: var(--space-2xl) 0;
        }

        .section-header {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            margin-bottom: var(--space-lg);
            flex-wrap: wrap;
            gap: var(--space-sm);
        }

        .section-header h2 {
            font-size: 1.55rem;
            font-weight: 700;
            color: #fff;
            letter-spacing: -0.01em;
        }

        .section-header h2 .accent-dot {
            display: inline-block;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--accent);
            margin-right: 8px;
            vertical-align: middle;
            box-shadow: var(--shadow-glow-accent);
        }

        .section-header .view-all {
            font-size: 0.88rem;
            color: var(--primary-light);
            font-weight: 500;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            transition: all var(--transition-fast);
        }

        .section-header .view-all:hover {
            color: #fff;
            gap: 8px;
        }

        .section-header .view-all .arrow {
            transition: transform var(--transition-fast);
        }

        .section-header .view-all:hover .arrow {
            transform: translateX(3px);
        }

        /* 攻略卡片网格 */
        .guide-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
            gap: var(--space-md);
        }

        .guide-card {
            background: var(--bg-card);
            border: 1px solid var(--border-card);
            border-radius: var(--radius-lg);
            overflow: hidden;
            transition: all var(--transition-smooth);
            display: flex;
            flex-direction: column;
            position: relative;
        }

        .guide-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-card-hover);
            border-color: var(--border-active);
            background: var(--bg-card-hover);
        }

        .guide-card-thumb {
            position: relative;
            aspect-ratio: 16 / 10;
            overflow: hidden;
            background: var(--bg-surface);
        }

        .guide-card-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform var(--transition-smooth);
        }

        .guide-card:hover .guide-card-thumb img {
            transform: scale(1.04);
        }

        .guide-card-thumb .card-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            padding: 5px 12px;
            border-radius: var(--radius-full);
            font-size: 0.75rem;
            font-weight: 600;
            color: #fff;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            letter-spacing: 0.02em;
        }

        .guide-card-thumb .card-badge.hot {
            background: rgba(220, 40, 40, 0.75);
            border-color: rgba(255, 80, 80, 0.4);
        }

        .guide-card-thumb .card-badge.new {
            background: rgba(124, 92, 252, 0.7);
            border-color: rgba(155, 127, 255, 0.35);
        }

        .guide-card-thumb .card-difficulty {
            position: absolute;
            bottom: 12px;
            right: 12px;
            display: flex;
            gap: 2px;
        }

        .diff-star {
            width: 10px;
            height: 10px;
            border-radius: 2px;
            background: rgba(255, 255, 255, 0.3);
        }

        .diff-star.filled {
            background: var(--accent);
            box-shadow: 0 0 4px rgba(240, 185, 11, 0.6);
        }

        .guide-card-body {
            padding: var(--space-md);
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: var(--space-xs);
        }

        .guide-card-category {
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--primary-light);
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .guide-card-body h3 {
            font-size: 1.08rem;
            font-weight: 700;
            color: #fff;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .guide-card-body h3 a {
            color: inherit;
            transition: color var(--transition-fast);
        }

        .guide-card-body h3 a:hover {
            color: var(--primary-light);
        }

        .guide-card-excerpt {
            font-size: 0.85rem;
            color: var(--text-muted);
            line-height: 1.55;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            flex: 1;
        }

        .guide-card-meta {
            display: flex;
            align-items: center;
            gap: var(--space-sm);
            font-size: 0.78rem;
            color: var(--text-dim);
            padding-top: var(--space-xs);
            border-top: 1px solid var(--border-subtle);
        }

        .guide-card-meta .meta-icon {
            font-size: 0.85rem;
        }

        /* ============================================
           热门排行板块
           ============================================ */
        .ranking-section {
            background: var(--bg-surface);
            border-top: 1px solid var(--border-subtle);
            border-bottom: 1px solid var(--border-subtle);
            padding: var(--space-2xl) 0;
        }

        .ranking-list {
            display: flex;
            flex-direction: column;
            gap: var(--space-xs);
            max-width: 800px;
            margin: 0 auto;
        }

        .ranking-item {
            display: flex;
            align-items: center;
            gap: var(--space-md);
            padding: var(--space-sm) var(--space-md);
            border-radius: var(--radius-md);
            background: var(--bg-card);
            border: 1px solid transparent;
            transition: all var(--transition-fast);
            cursor: pointer;
        }

        .ranking-item:hover {
            background: var(--bg-card-hover);
            border-color: var(--border-card);
            box-shadow: var(--shadow-sm);
        }

        .rank-number {
            width: 42px;
            height: 42px;
            border-radius: var(--radius-md);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: 1.1rem;
            flex-shrink: 0;
            color: #fff;
            background: rgba(255, 255, 255, 0.06);
        }

        .ranking-item:nth-child(1) .rank-number {
            background: linear-gradient(135deg, #F0B90B, #E8A804);
            color: #000;
            box-shadow: var(--shadow-glow-accent);
        }

        .ranking-item:nth-child(2) .rank-number {
            background: linear-gradient(135deg, #B8B8C8, #9090A0);
            color: #000;
        }

        .ranking-item:nth-child(3) .rank-number {
            background: linear-gradient(135deg, #C89060, #A87048);
            color: #000;
        }

        .rank-info {
            flex: 1;
            min-width: 0;
        }

        .rank-info h4 {
            font-size: 0.98rem;
            font-weight: 600;
            color: #fff;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .rank-info .rank-meta {
            font-size: 0.78rem;
            color: var(--text-muted);
            margin-top: 2px;
        }

        .rank-arrow {
            font-size: 1.2rem;
            color: var(--text-dim);
            transition: transform var(--transition-fast);
            flex-shrink: 0;
        }

        .ranking-item:hover .rank-arrow {
            transform: translateX(4px);
            color: var(--primary-light);
        }

        /* ============================================
           技巧精华区
           ============================================ */
        .tips-section {
            padding: var(--space-2xl) 0;
        }

        .tips-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: var(--space-md);
        }

        .tip-card {
            background: var(--bg-card);
            border: 1px solid var(--border-card);
            border-radius: var(--radius-lg);
            padding: var(--space-lg) var(--space-md);
            transition: all var(--transition-smooth);
            position: relative;
            overflow: hidden;
        }

        .tip-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            opacity: 0;
            transition: opacity var(--transition-smooth);
        }

        .tip-card:hover::before {
            opacity: 1;
        }

        .tip-card:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
            border-color: var(--border-active);
        }

        .tip-card-icon {
            font-size: 2rem;
            margin-bottom: var(--space-sm);
            display: block;
        }

        .tip-card h3 {
            font-size: 1.05rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: var(--space-xs);
        }

        .tip-card p {
            font-size: 0.85rem;
            color: var(--text-muted);
            line-height: 1.6;
        }

        .tip-card .tip-link {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            margin-top: var(--space-sm);
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--primary-light);
            transition: all var(--transition-fast);
        }

        .tip-card .tip-link:hover {
            color: #fff;
            gap: 8px;
        }

        /* ============================================
           图文推荐区
           ============================================ */
        .featured-guide {
            padding: var(--space-2xl) 0;
            background: var(--bg-dark);
        }

        .featured-block {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: var(--space-xl);
            align-items: center;
            background: var(--bg-card);
            border: 1px solid var(--border-card);
            border-radius: var(--radius-xl);
            overflow: hidden;
            transition: all var(--transition-smooth);
        }

        .featured-block:hover {
            border-color: var(--border-active);
            box-shadow: var(--shadow-lg);
        }

        .featured-image {
            aspect-ratio: 4 / 3;
            overflow: hidden;
            background: var(--bg-surface);
        }

        .featured-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform var(--transition-smooth);
        }

        .featured-block:hover .featured-image img {
            transform: scale(1.03);
        }

        .featured-content {
            padding: var(--space-lg) var(--space-lg) var(--space-lg) 0;
            display: flex;
            flex-direction: column;
            gap: var(--space-sm);
        }

        .featured-label {
            font-size: 0.78rem;
            font-weight: 700;
            color: var(--accent);
            letter-spacing: 0.06em;
            text-transform: uppercase;
        }

        .featured-content h3 {
            font-size: 1.35rem;
            font-weight: 700;
            color: #fff;
        }

        .featured-content p {
            font-size: 0.9rem;
            color: var(--text-muted);
            line-height: 1.65;
        }

        .btn-outline {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 10px 22px;
            border-radius: var(--radius-full);
            font-weight: 600;
            font-size: 0.88rem;
            color: #fff;
            background: transparent;
            border: 1.5px solid var(--border-active);
            transition: all var(--transition-fast);
            align-self: flex-start;
            cursor: pointer;
        }

        .btn-outline:hover {
            background: rgba(124, 92, 252, 0.2);
            border-color: var(--primary-light);
            box-shadow: var(--shadow-glow-primary);
        }

        /* ============================================
           FAQ 板块
           ============================================ */
        .faq-section {
            padding: var(--space-2xl) 0;
            background: var(--bg-surface);
            border-top: 1px solid var(--border-subtle);
            border-bottom: 1px solid var(--border-subtle);
        }

        .faq-list {
            max-width: 800px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: var(--space-sm);
        }

        .faq-item {
            background: var(--bg-card);
            border: 1px solid var(--border-card);
            border-radius: var(--radius-md);
            overflow: hidden;
            transition: all var(--transition-fast);
            cursor: pointer;
        }

        .faq-item:hover {
            border-color: var(--border-active);
        }

        .faq-question {
            padding: var(--space-md);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: var(--space-sm);
            font-weight: 600;
            font-size: 0.95rem;
            color: #fff;
            user-select: none;
        }

        .faq-icon {
            flex-shrink: 0;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.05);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            transition: all var(--transition-smooth);
            color: var(--text-muted);
        }

        .faq-item.open .faq-icon {
            transform: rotate(45deg);
            background: rgba(124, 92, 252, 0.25);
            color: #fff;
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height var(--transition-smooth), padding var(--transition-smooth);
            padding: 0 var(--space-md);
        }

        .faq-item.open .faq-answer {
            max-height: 300px;
            padding: 0 var(--space-md) var(--space-md);
        }

        .faq-answer p {
            font-size: 0.88rem;
            color: var(--text-muted);
            line-height: 1.7;
        }

        /* ============================================
           CTA 板块
           ============================================ */
        .cta-section {
            padding: var(--space-2xl) 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(124, 92, 252, 0.12) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
        }

        .cta-card {
            position: relative;
            z-index: 1;
            background: var(--bg-card);
            border: 1px solid var(--border-card);
            border-radius: var(--radius-xl);
            padding: var(--space-2xl) var(--space-lg);
            max-width: 700px;
            margin: 0 auto;
            box-shadow: var(--shadow-md);
        }

        .cta-card h2 {
            font-size: 1.6rem;
            font-weight: 800;
            color: #fff;
            margin-bottom: var(--space-sm);
        }

        .cta-card p {
            font-size: 0.95rem;
            color: var(--text-muted);
            margin-bottom: var(--space-lg);
            line-height: 1.65;
        }

        .btn-primary-lg {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 13px 32px;
            border-radius: var(--radius-full);
            font-weight: 700;
            font-size: 1rem;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: #fff;
            box-shadow: var(--shadow-glow-primary);
            border: 1px solid rgba(255, 255, 255, 0.12);
            transition: all var(--transition-smooth);
            cursor: pointer;
        }

        .btn-primary-lg:hover {
            background: linear-gradient(135deg, var(--primary-light), var(--primary));
            box-shadow: 0 0 48px rgba(124, 92, 252, 0.5);
            transform: translateY(-2px);
        }

        .btn-primary-lg:active {
            transform: translateY(0);
        }

        /* ============================================
           页脚
           ============================================ */
        .site-footer {
            background: var(--bg-dark);
            border-top: 1px solid var(--border-subtle);
            padding: var(--space-2xl) 0 var(--space-lg);
            color: var(--text-muted);
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr;
            gap: var(--space-xl);
            margin-bottom: var(--space-xl);
        }

        .footer-brand {
            font-size: 1.2rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: var(--space-sm);
        }

        .footer-desc {
            font-size: 0.85rem;
            line-height: 1.7;
            color: var(--text-dim);
        }

        .footer-col h5 {
            font-size: 0.9rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: var(--space-sm);
        }

        .footer-col a {
            display: block;
            font-size: 0.85rem;
            color: var(--text-dim);
            padding: 4px 0;
            transition: color var(--transition-fast);
        }

        .footer-col a:hover {
            color: var(--primary-light);
        }

        .footer-bottom {
            text-align: center;
            padding-top: var(--space-md);
            border-top: 1px solid var(--border-subtle);
            font-size: 0.8rem;
            color: var(--text-dim);
        }

        /* ============================================
           响应式断点
           ============================================ */
        @media (max-width: 1024px) {
            .guide-grid {
                grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            }

            .featured-block {
                grid-template-columns: 1fr;
            }

            .featured-content {
                padding: var(--space-md) var(--space-md) var(--space-lg);
            }

            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: var(--space-lg);
            }

            .footer-grid> :first-child {
                grid-column: 1 / -1;
            }

            .category-stats-row {
                gap: var(--space-lg);
            }
        }

        @media (max-width: 768px) {
            :root {
                --nav-height: 56px;
                --space-2xl: 40px;
                --space-3xl: 56px;
            }

            .nav-links {
                display: none;
            }

            .nav-actions .btn-cta-nav {
                display: none;
            }

            .hamburger {
                display: flex;
            }

            .guide-grid {
                grid-template-columns: 1fr;
                gap: var(--space-sm);
            }

            .tips-grid {
                grid-template-columns: 1fr;
            }

            .category-hero h1 {
                font-size: 1.5rem;
            }

            .category-hero .hero-subtitle {
                font-size: 0.9rem;
            }

            .stat-number {
                font-size: 1.5rem;
            }

            .section-header {
                flex-direction: column;
                align-items: flex-start;
            }

            .section-header h2 {
                font-size: 1.3rem;
            }

            .ranking-list {
                gap: var(--space-xs);
            }

            .ranking-item {
                padding: var(--space-sm);
                gap: var(--space-sm);
            }

            .rank-number {
                width: 34px;
                height: 34px;
                font-size: 0.9rem;
            }

            .rank-info h4 {
                font-size: 0.88rem;
            }

            .featured-block {
                border-radius: var(--radius-lg);
            }

            .featured-content h3 {
                font-size: 1.15rem;
            }

            .cta-card {
                padding: var(--space-lg) var(--space-md);
            }

            .cta-card h2 {
                font-size: 1.3rem;
            }

            .btn-primary-lg {
                padding: 11px 24px;
                font-size: 0.9rem;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: var(--space-md);
            }

            .subcategory-bar {
                top: var(--nav-height);
            }

            .sub-tag {
                font-size: 0.8rem;
                padding: 6px 14px;
            }
        }

        @media (max-width: 520px) {
            :root {
                --space-xl: 28px;
                --space-2xl: 32px;
                --space-lg: 20px;
            }

            .logo {
                font-size: 1.1rem;
            }

            .logo-icon {
                width: 30px;
                height: 30px;
                font-size: 0.9rem;
            }

            .category-hero {
                padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-xl);
            }

            .category-stats-row {
                gap: var(--space-md);
            }

            .stat-item {
                min-width: 70px;
            }

            .stat-number {
                font-size: 1.25rem;
            }

            .stat-label {
                font-size: 0.72rem;
            }

            .guide-card-body h3 {
                font-size: 0.95rem;
            }

            .ranking-item {
                flex-wrap: wrap;
            }

            .rank-arrow {
                display: none;
            }

            .faq-question {
                font-size: 0.88rem;
            }

            .footer-bottom {
                font-size: 0.72rem;
            }
        }

        /* ============================================
           辅助工具类
           ============================================ */
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        .text-accent {
            color: var(--accent);
        }

        .text-primary-light {
            color: var(--primary-light);
        }
