/* roulang page: index */
/* ===== Design Variables ===== */
        :root {
            --primary: #16213e;
            --primary-light: #1a2a4a;
            --primary-dark: #0d1526;
            --secondary: #e94560;
            --secondary-hover: #d63850;
            --accent: #f5c518;
            --accent-hover: #e0b414;
            --bg: #0a0a1a;
            --bg-card: #151530;
            --bg-card-hover: #1c1c40;
            --bg-section-alt: #0e0e24;
            --text: #f0f0f5;
            --text-muted: #8a8aa8;
            --text-dim: #5a5a7a;
            --border: #2a2a4a;
            --border-light: #3a3a5a;
            --radius-sm: 8px;
            --radius-md: 14px;
            --radius-lg: 20px;
            --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
            --shadow-hover: 0 16px 48px rgba(233, 69, 96, 0.15);
            --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --font-sans: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
            --container-max: 1200px;
            --header-h: 72px;
        }

        /* ===== Reset & Base ===== */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html {
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
        }
        body {
            font-family: var(--font-sans);
            font-size: 16px;
            line-height: 1.7;
            color: var(--text);
            background: var(--bg);
            min-height: 100vh;
        }
        a {
            color: var(--accent);
            text-decoration: none;
            transition: color var(--transition);
        }
        a:hover {
            color: var(--accent-hover);
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        button,
        input,
        select,
        textarea {
            font-family: inherit;
            font-size: 1rem;
            border: none;
            outline: none;
        }
        button {
            cursor: pointer;
            background: none;
        }
        ul,
        ol {
            list-style: none;
        }
        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            line-height: 1.3;
            font-weight: 700;
            color: var(--text);
        }
        h1 {
            font-size: 3rem;
        }
        h2 {
            font-size: 2.2rem;
            margin-bottom: 1rem;
        }
        h3 {
            font-size: 1.4rem;
        }
        p {
            margin-bottom: 1rem;
            color: var(--text-muted);
        }
        ::selection {
            background: var(--secondary);
            color: #fff;
        }
        :focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        /* ===== Container ===== */
        .container {
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 24px;
        }
        @media (max-width: 768px) {
            .container {
                padding: 0 16px;
            }
        }

        /* ===== Header / Nav ===== */
        .site-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            height: var(--header-h);
            background: rgba(10, 10, 26, 0.92);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid rgba(42, 42, 74, 0.5);
            transition: background var(--transition);
        }
        .site-header.scrolled {
            background: rgba(10, 10, 26, 0.98);
        }
        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 100%;
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 24px;
        }
        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--text);
            letter-spacing: 0.5px;
            user-select: none;
        }
        .logo i {
            color: var(--accent);
            font-size: 1.8rem;
        }
        .logo span {
            background: linear-gradient(135deg, var(--accent), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .nav-main {
            display: flex;
            align-items: center;
            gap: 32px;
        }
        .nav-main a {
            color: var(--text-muted);
            font-weight: 500;
            font-size: 0.95rem;
            position: relative;
            padding: 4px 0;
            transition: color var(--transition);
        }
        .nav-main a::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent);
            transition: width var(--transition);
        }
        .nav-main a:hover {
            color: var(--text);
        }
        .nav-main a:hover::after {
            width: 100%;
        }
        .nav-main a.active {
            color: var(--accent);
        }
        .nav-main a.active::after {
            width: 100%;
        }
        .nav-cta {
            background: var(--secondary);
            color: #fff !important;
            padding: 8px 20px !important;
            border-radius: var(--radius-sm);
            font-weight: 600;
            transition: background var(--transition), transform var(--transition) !important;
        }
        .nav-cta:hover {
            background: var(--secondary-hover) !important;
            transform: translateY(-1px);
            color: #fff !important;
        }
        .nav-cta::after {
            display: none !important;
        }

        /* Hamburger */
        .hamburger {
            display: none;
            flex-direction: column;
            justify-content: center;
            gap: 5px;
            width: 32px;
            height: 32px;
            cursor: pointer;
            z-index: 1001;
        }
        .hamburger span {
            display: block;
            height: 2px;
            background: var(--text);
            border-radius: 2px;
            transition: all var(--transition);
        }
        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }
        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }
        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }

        @media (max-width: 768px) {
            .hamburger {
                display: flex;
            }
            .nav-main {
                position: fixed;
                top: 0;
                right: -100%;
                width: 280px;
                height: 100vh;
                flex-direction: column;
                background: var(--primary-dark);
                padding: 80px 32px 32px;
                gap: 20px;
                transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
                box-shadow: -8px 0 32px rgba(0, 0, 0, 0.5);
                border-left: 1px solid var(--border);
            }
            .nav-main.open {
                right: 0;
            }
            .nav-main a {
                font-size: 1.1rem;
            }
            .nav-cta {
                text-align: center;
                padding: 12px 20px !important;
            }
            .header-inner {
                padding: 0 16px;
            }
        }

        /* ===== Hero ===== */
        .hero {
            position: relative;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 120px 24px 80px;
            background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
            isolation: isolate;
        }
        .hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(10, 10, 26, 0.88) 0%, rgba(22, 33, 62, 0.75) 50%, rgba(10, 10, 26, 0.9) 100%);
            z-index: 1;
        }
        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 820px;
        }
        .hero h1 {
            font-size: 3.8rem;
            font-weight: 900;
            line-height: 1.2;
            margin-bottom: 1rem;
            background: linear-gradient(135deg, #fff 40%, var(--accent) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .hero p {
            font-size: 1.3rem;
            color: rgba(255, 255, 255, 0.7);
            max-width: 640px;
            margin: 0 auto 2rem;
            line-height: 1.8;
        }
        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            justify-content: center;
        }
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 14px 36px;
            border-radius: var(--radius-sm);
            font-weight: 600;
            font-size: 1rem;
            transition: all var(--transition);
            border: 2px solid transparent;
        }
        .btn-primary {
            background: var(--secondary);
            color: #fff;
            border-color: var(--secondary);
        }
        .btn-primary:hover {
            background: var(--secondary-hover);
            border-color: var(--secondary-hover);
            transform: translateY(-2px);
            box-shadow: 0 12px 32px rgba(233, 69, 96, 0.3);
            color: #fff;
        }
        .btn-outline {
            background: transparent;
            color: var(--text);
            border-color: rgba(255, 255, 255, 0.25);
        }
        .btn-outline:hover {
            border-color: var(--accent);
            color: var(--accent);
            transform: translateY(-2px);
            background: rgba(245, 197, 24, 0.08);
        }
        .btn-accent {
            background: var(--accent);
            color: #1a1a2e;
            border-color: var(--accent);
            font-weight: 700;
        }
        .btn-accent:hover {
            background: var(--accent-hover);
            border-color: var(--accent-hover);
            transform: translateY(-2px);
            box-shadow: 0 12px 32px rgba(245, 197, 24, 0.3);
            color: #1a1a2e;
        }
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2.4rem;
            }
            .hero p {
                font-size: 1.05rem;
            }
            .hero {
                padding: 100px 16px 60px;
                min-height: 92vh;
            }
            .btn {
                padding: 12px 28px;
                font-size: 0.95rem;
            }
        }
        @media (max-width: 520px) {
            .hero h1 {
                font-size: 1.8rem;
            }
            .hero p {
                font-size: 0.95rem;
            }
        }

        /* ===== Section Shared ===== */
        .section {
            padding: 80px 0;
        }
        .section-alt {
            background: var(--bg-section-alt);
        }
        .section-title {
            text-align: center;
            margin-bottom: 3rem;
        }
        .section-title h2 {
            margin-bottom: 0.6rem;
        }
        .section-title p {
            max-width: 600px;
            margin: 0 auto;
            color: var(--text-muted);
            font-size: 1.1rem;
        }
        .section-title .badge {
            display: inline-block;
            background: rgba(245, 197, 24, 0.12);
            color: var(--accent);
            padding: 4px 16px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 12px;
            letter-spacing: 0.5px;
            border: 1px solid rgba(245, 197, 24, 0.15);
        }
        @media (max-width: 768px) {
            .section {
                padding: 56px 0;
            }
            .section-title h2 {
                font-size: 1.8rem;
            }
        }

        /* ===== Features ===== */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
        }
        .feature-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            padding: 36px 28px;
            text-align: center;
            transition: all var(--transition);
        }
        .feature-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-hover);
            border-color: var(--secondary);
            background: var(--bg-card-hover);
        }
        .feature-icon {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background: rgba(233, 69, 96, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.2rem;
            font-size: 1.6rem;
            color: var(--secondary);
            transition: all var(--transition);
        }
        .feature-card:hover .feature-icon {
            background: var(--secondary);
            color: #fff;
        }
        .feature-card h3 {
            margin-bottom: 0.6rem;
            font-size: 1.2rem;
        }
        .feature-card p {
            font-size: 0.95rem;
            margin-bottom: 0;
        }
        @media (max-width: 900px) {
            .features-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 560px) {
            .features-grid {
                grid-template-columns: 1fr;
            }
            .feature-card {
                padding: 28px 20px;
            }
        }

        /* ===== Categories ===== */
        .categories-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }
        .category-card {
            position: relative;
            border-radius: var(--radius-md);
            overflow: hidden;
            background: var(--bg-card);
            border: 1px solid var(--border);
            transition: all var(--transition);
            aspect-ratio: 4 / 3;
            display: flex;
            align-items: flex-end;
        }
        .category-card img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        .category-card:hover img {
            transform: scale(1.08);
        }
        .category-card .overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(0deg, rgba(10, 10, 26, 0.92) 0%, rgba(10, 10, 26, 0.2) 60%, transparent 100%);
            z-index: 1;
        }
        .category-card .info {
            position: relative;
            z-index: 2;
            padding: 24px 20px;
            width: 100%;
        }
        .category-card .info h3 {
            font-size: 1.2rem;
            color: #fff;
            margin-bottom: 4px;
        }
        .category-card .info p {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.6);
            margin-bottom: 0;
        }
        .category-card .tag {
            display: inline-block;
            background: var(--secondary);
            color: #fff;
            font-size: 0.7rem;
            padding: 2px 12px;
            border-radius: 12px;
            font-weight: 600;
            margin-top: 6px;
        }
        @media (max-width: 900px) {
            .categories-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 560px) {
            .categories-grid {
                grid-template-columns: 1fr;
            }
            .category-card {
                aspect-ratio: 16 / 9;
            }
        }

        /* ===== Latest Posts (CMS) ===== */
        .posts-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 24px;
        }
        .post-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            overflow: hidden;
            transition: all var(--transition);
            display: flex;
            flex-direction: column;
        }
        .post-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
            border-color: var(--border-light);
        }
        .post-card .thumb {
            width: 100%;
            aspect-ratio: 16 / 9;
            background: var(--primary-light);
            position: relative;
            overflow: hidden;
        }
        .post-card .thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        .post-card:hover .thumb img {
            transform: scale(1.05);
        }
        .post-card .body {
            padding: 20px 24px 24px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .post-card .meta {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 0.8rem;
            color: var(--text-dim);
            margin-bottom: 8px;
        }
        .post-card .meta .cat {
            background: rgba(245, 197, 24, 0.12);
            color: var(--accent);
            padding: 2px 12px;
            border-radius: 12px;
            font-weight: 600;
            font-size: 0.7rem;
        }
        .post-card .meta .date {
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .post-card .body h3 {
            font-size: 1.15rem;
            margin-bottom: 8px;
            line-height: 1.4;
        }
        .post-card .body h3 a {
            color: var(--text);
        }
        .post-card .body h3 a:hover {
            color: var(--accent);
        }
        .post-card .body p {
            font-size: 0.92rem;
            color: var(--text-muted);
            margin-bottom: 0;
            flex: 1;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .post-card .body .read-more {
            margin-top: 12px;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--accent);
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }
        .post-card .body .read-more:hover {
            color: var(--accent-hover);
        }
        .empty-posts {
            grid-column: 1 / -1;
            text-align: center;
            padding: 60px 20px;
            color: var(--text-muted);
            background: var(--bg-card);
            border-radius: var(--radius-md);
            border: 1px dashed var(--border);
        }
        .empty-posts i {
            font-size: 2.4rem;
            margin-bottom: 12px;
            display: block;
            color: var(--text-dim);
        }
        @media (max-width: 768px) {
            .posts-grid {
                grid-template-columns: 1fr;
            }
            .post-card .body {
                padding: 16px 18px 20px;
            }
        }

        /* ===== Stats ===== */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
        }
        .stat-item {
            text-align: center;
            padding: 32px 16px;
            background: var(--bg-card);
            border-radius: var(--radius-md);
            border: 1px solid var(--border);
            transition: all var(--transition);
        }
        .stat-item:hover {
            border-color: var(--accent);
            transform: translateY(-4px);
        }
        .stat-item .num {
            font-size: 2.8rem;
            font-weight: 900;
            background: linear-gradient(135deg, var(--accent), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1.2;
        }
        .stat-item .label {
            color: var(--text-muted);
            font-size: 0.95rem;
            margin-top: 8px;
        }
        @media (max-width: 800px) {
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 480px) {
            .stats-grid {
                grid-template-columns: 1fr;
            }
            .stat-item .num {
                font-size: 2.2rem;
            }
        }

        /* ===== Steps ===== */
        .steps-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 32px;
            counter-reset: step;
        }
        .step-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            padding: 32px 28px;
            text-align: center;
            position: relative;
            transition: all var(--transition);
            counter-increment: step;
        }
        .step-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-hover);
            border-color: var(--accent);
        }
        .step-card .step-num {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: var(--secondary);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            font-weight: 800;
            margin: 0 auto 1.2rem;
            position: relative;
            z-index: 1;
        }
        .step-card .step-num::after {
            content: '';
            position: absolute;
            inset: -4px;
            border-radius: 50%;
            border: 2px solid rgba(233, 69, 96, 0.3);
        }
        .step-card h3 {
            font-size: 1.15rem;
            margin-bottom: 8px;
        }
        .step-card p {
            font-size: 0.92rem;
            margin-bottom: 0;
        }
        .step-card .step-icon {
            font-size: 2rem;
            color: var(--accent);
            margin-bottom: 1rem;
        }
        @media (max-width: 800px) {
            .steps-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            .step-card {
                padding: 24px 20px;
            }
        }

        /* ===== Testimonials ===== */
        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }
        .testimonial-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            padding: 28px 24px;
            transition: all var(--transition);
        }
        .testimonial-card:hover {
            border-color: var(--secondary);
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
        }
        .testimonial-card .stars {
            color: var(--accent);
            font-size: 0.9rem;
            margin-bottom: 12px;
            letter-spacing: 2px;
        }
        .testimonial-card blockquote {
            font-style: italic;
            color: var(--text-muted);
            font-size: 0.95rem;
            line-height: 1.7;
            margin-bottom: 16px;
        }
        .testimonial-card .author {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .testimonial-card .author .avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--primary-light);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--accent);
            font-weight: 700;
            font-size: 1rem;
            border: 2px solid var(--border-light);
        }
        .testimonial-card .author .name {
            font-weight: 600;
            font-size: 0.9rem;
        }
        .testimonial-card .author .title {
            font-size: 0.8rem;
            color: var(--text-dim);
        }
        @media (max-width: 900px) {
            .testimonials-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 560px) {
            .testimonials-grid {
                grid-template-columns: 1fr;
            }
        }

        /* ===== FAQ ===== */
        .faq-list {
            max-width: 780px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .faq-item {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            overflow: hidden;
            transition: all var(--transition);
        }
        .faq-item:hover {
            border-color: var(--border-light);
        }
        .faq-question {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 18px 24px;
            font-size: 1rem;
            font-weight: 600;
            color: var(--text);
            background: transparent;
            text-align: left;
            transition: color var(--transition);
        }
        .faq-question:hover {
            color: var(--accent);
        }
        .faq-question i {
            transition: transform var(--transition);
            color: var(--accent);
            font-size: 0.85rem;
        }
        .faq-item.open .faq-question i {
            transform: rotate(180deg);
        }
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease, padding 0.4s ease;
            padding: 0 24px;
            color: var(--text-muted);
            font-size: 0.95rem;
            line-height: 1.7;
        }
        .faq-item.open .faq-answer {
            max-height: 300px;
            padding: 0 24px 20px;
        }
        @media (max-width: 768px) {
            .faq-question {
                padding: 14px 16px;
                font-size: 0.95rem;
            }
            .faq-answer {
                padding: 0 16px;
                font-size: 0.9rem;
            }
            .faq-item.open .faq-answer {
                padding: 0 16px 16px;
            }
        }

        /* ===== CTA ===== */
        .cta-section {
            position: relative;
            padding: 100px 0;
            background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
            isolation: isolate;
            text-align: center;
        }
        .cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(10, 10, 26, 0.92), rgba(22, 33, 62, 0.85));
            z-index: 1;
        }
        .cta-section .container {
            position: relative;
            z-index: 2;
        }
        .cta-section h2 {
            font-size: 2.6rem;
            margin-bottom: 0.8rem;
            color: #fff;
        }
        .cta-section p {
            font-size: 1.15rem;
            color: rgba(255, 255, 255, 0.7);
            max-width: 560px;
            margin: 0 auto 2rem;
        }
        .cta-section .btn {
            font-size: 1.1rem;
            padding: 16px 44px;
        }
        @media (max-width: 768px) {
            .cta-section {
                padding: 60px 0;
            }
            .cta-section h2 {
                font-size: 1.8rem;
            }
            .cta-section p {
                font-size: 1rem;
            }
            .cta-section .btn {
                font-size: 1rem;
                padding: 14px 32px;
            }
        }

        /* ===== Footer ===== */
        .site-footer {
            background: var(--primary-dark);
            border-top: 1px solid var(--border);
            padding: 48px 0 24px;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 36px;
            margin-bottom: 32px;
        }
        .footer-brand .logo {
            font-size: 1.3rem;
            margin-bottom: 12px;
        }
        .footer-brand p {
            font-size: 0.9rem;
            color: var(--text-dim);
            max-width: 320px;
            margin-bottom: 0;
        }
        .footer-col h4 {
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 16px;
            color: var(--text);
        }
        .footer-col a {
            display: block;
            color: var(--text-dim);
            font-size: 0.9rem;
            padding: 4px 0;
            transition: color var(--transition);
        }
        .footer-col a:hover {
            color: var(--accent);
        }
        .footer-social {
            display: flex;
            gap: 12px;
            margin-top: 12px;
        }
        .footer-social a {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.05);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-muted);
            font-size: 1.1rem;
            transition: all var(--transition);
            border: 1px solid var(--border);
        }
        .footer-social a:hover {
            background: var(--secondary);
            color: #fff;
            border-color: var(--secondary);
            transform: translateY(-2px);
        }
        .footer-bottom {
            border-top: 1px solid var(--border);
            padding-top: 20px;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
            font-size: 0.85rem;
            color: var(--text-dim);
        }
        .footer-bottom a {
            color: var(--text-dim);
        }
        .footer-bottom a:hover {
            color: var(--accent);
        }
        @media (max-width: 900px) {
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 28px;
            }
            .footer-brand {
                grid-column: 1 / -1;
            }
        }
        @media (max-width: 520px) {
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
        }

        /* ===== Scroll top ===== */
        .scroll-top {
            position: fixed;
            bottom: 32px;
            right: 32px;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: var(--secondary);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            box-shadow: 0 8px 24px rgba(233, 69, 96, 0.3);
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            transition: all var(--transition);
        }
        .scroll-top.visible {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        .scroll-top:hover {
            background: var(--secondary-hover);
            transform: translateY(-4px);
            box-shadow: 0 12px 32px rgba(233, 69, 96, 0.4);
            color: #fff;
        }
        @media (max-width: 520px) {
            .scroll-top {
                bottom: 20px;
                right: 20px;
                width: 42px;
                height: 42px;
                font-size: 1rem;
            }
        }

        /* ===== Back to top link (accessibility) ===== */
        .skip-link {
            position: absolute;
            top: -100px;
            left: 16px;
            padding: 12px 24px;
            background: var(--accent);
            color: #1a1a2e;
            font-weight: 700;
            border-radius: 0 0 var(--radius-sm) var(--radius-sm);
            z-index: 10000;
            transition: top 0.3s;
        }
        .skip-link:focus {
            top: 0;
        }

/* roulang page: category1 */
/* ===== Design Variables ===== */
        :root {
            --primary: #6c3cf8;
            --primary-dark: #5429d6;
            --primary-light: #8b6cfc;
            --primary-gradient: linear-gradient(135deg, #6c3cf8 0%, #3b82f6 100%);
            --secondary: #f59e0b;
            --secondary-dark: #d97706;
            --accent: #10b981;
            --accent-dark: #059669;
            --dark: #0b0e1a;
            --dark-alt: #111827;
            --dark-card: #1a1f2e;
            --dark-border: #2a3040;
            --light: #f8f9fc;
            --light-alt: #eef1f7;
            --text-primary: #f1f3f9;
            --text-secondary: #9ca3b8;
            --text-muted: #6b7280;
            --text-dark: #111827;
            --text-dark-secondary: #4b5563;
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 20px;
            --radius-xl: 28px;
            --shadow-sm: 0 2px 8px rgba(0,0,0,0.18);
            --shadow-md: 0 8px 24px rgba(0,0,0,0.25);
            --shadow-lg: 0 16px 48px rgba(0,0,0,0.35);
            --shadow-glow: 0 0 30px rgba(108,60,248,0.25);
            --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --container: 1200px;
            --header-h: 72px;
        }

        /* ===== Reset / Base ===== */
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; font-size: 16px; }
        body {
            font-family: var(--font);
            background: var(--dark);
            color: var(--text-primary);
            line-height: 1.65;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            overflow-x: hidden;
            min-height: 100vh;
        }
        a { color: var(--primary-light); text-decoration: none; transition: var(--transition); }
        a:hover { color: var(--secondary); }
        img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }
        button, input, textarea { font-family: inherit; font-size: inherit; outline: none; border: none; }
        button { cursor: pointer; background: none; }
        ul, ol { list-style: none; }
        h1, h2, h3, h4, h5, h6 { line-height: 1.25; font-weight: 700; color: var(--text-primary); }
        h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
        h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); letter-spacing: -0.01em; }
        h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
        h4 { font-size: 1.1rem; }
        p { color: var(--text-secondary); margin-bottom: 0.75rem; }
        .container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

        /* ===== Header / Nav ===== */
        .site-header {
            position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
            height: var(--header-h);
            background: rgba(11, 14, 26, 0.85);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid rgba(255,255,255,0.06);
            transition: var(--transition);
        }
        .site-header.scrolled { background: rgba(11, 14, 26, 0.96); box-shadow: 0 4px 30px rgba(0,0,0,0.4); }
        .header-inner {
            display: flex; align-items: center; justify-content: space-between;
            height: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px;
        }
        .logo {
            display: flex; align-items: center; gap: 10px;
            font-size: 1.35rem; font-weight: 800; color: #fff; letter-spacing: -0.02em;
        }
        .logo i { color: var(--primary-light); font-size: 1.5rem; }
        .logo span { background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
        .nav-main { display: flex; align-items: center; gap: 6px; }
        .nav-main a {
            padding: 8px 18px; border-radius: var(--radius-sm);
            font-weight: 500; font-size: 0.92rem; color: var(--text-secondary);
            transition: var(--transition); position: relative; white-space: nowrap;
        }
        .nav-main a:hover { color: #fff; background: rgba(255,255,255,0.06); }
        .nav-main a.active { color: #fff; background: rgba(108,60,248,0.2); }
        .nav-main a.active::after {
            content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
            width: 20px; height: 3px; border-radius: 4px; background: var(--primary-gradient);
        }
        .nav-cta {
            background: var(--primary-gradient) !important;
            color: #fff !important; font-weight: 600 !important;
            padding: 8px 22px !important; border-radius: var(--radius-sm) !important;
            box-shadow: 0 4px 16px rgba(108,60,248,0.35);
            margin-left: 8px; display: flex; align-items: center; gap: 6px;
        }
        .nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(108,60,248,0.5) !important; color: #fff !important; }
        .nav-cta i { font-size: 0.85rem; }

        /* Mobile menu toggle */
        .menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; cursor: pointer; }
        .menu-toggle span { display: block; width: 26px; height: 2.5px; background: var(--text-primary); border-radius: 4px; transition: var(--transition); }
        .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
        .menu-toggle.active span:nth-child(2) { opacity: 0; }
        .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

        /* ===== Hero / Banner ===== */
        .hot-hero {
            padding: 120px 0 70px; margin-top: var(--header-h);
            background: linear-gradient(135deg, #0b0e1a 0%, #1a1040 50%, #0b0e1a 100%);
            position: relative; overflow: hidden;
            min-height: 460px; display: flex; align-items: center;
        }
        .hot-hero::before {
            content: ''; position: absolute; inset: 0;
            background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
            opacity: 0.15; pointer-events: none;
        }
        .hot-hero::after {
            content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
            background: linear-gradient(to top, var(--dark) 0%, transparent 100%);
        }
        .hot-hero .container { position: relative; z-index: 2; text-align: center; }
        .hot-hero h1 { font-size: clamp(2rem, 4.8vw, 3.4rem); font-weight: 800; margin-bottom: 16px; }
        .hot-hero h1 span { background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
        .hot-hero p { font-size: 1.15rem; max-width: 680px; margin: 0 auto 28px; color: var(--text-secondary); }
        .hot-hero .hero-badges { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
        .hot-hero .hero-badges span {
            display: inline-flex; align-items: center; gap: 6px;
            padding: 8px 18px; border-radius: 50px;
            background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
            font-size: 0.85rem; font-weight: 500; color: var(--text-secondary);
        }
        .hot-hero .hero-badges i { color: var(--secondary); }

        /* ===== Section common ===== */
        .section { padding: 80px 0; }
        .section-dark { background: var(--dark-alt); }
        .section-card { background: var(--dark-card); border-radius: var(--radius-lg); padding: 48px 40px; border: 1px solid var(--dark-border); }
        .section-header { text-align: center; margin-bottom: 48px; }
        .section-header h2 { margin-bottom: 12px; }
        .section-header p { max-width: 600px; margin: 0 auto; color: var(--text-muted); font-size: 1.05rem; }
        .section-header .subtitle-badge {
            display: inline-block; padding: 4px 16px; border-radius: 50px;
            background: rgba(108,60,248,0.15); border: 1px solid rgba(108,60,248,0.25);
            font-size: 0.8rem; font-weight: 600; color: var(--primary-light); margin-bottom: 12px;
            letter-spacing: 0.5px; text-transform: uppercase;
        }

        /* ===== Filter Tabs ===== */
        .filter-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
        .filter-tabs button {
            padding: 8px 22px; border-radius: 50px;
            background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
            color: var(--text-secondary); font-weight: 500; font-size: 0.88rem;
            transition: var(--transition); cursor: pointer;
        }
        .filter-tabs button:hover { border-color: var(--primary-light); color: #fff; }
        .filter-tabs button.active { background: var(--primary-gradient); border-color: transparent; color: #fff; box-shadow: 0 4px 16px rgba(108,60,248,0.3); }

        /* ===== Game Cards Grid ===== */
        .game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
        .game-card {
            background: var(--dark-card); border-radius: var(--radius-md);
            border: 1px solid var(--dark-border); overflow: hidden;
            transition: var(--transition); display: flex; flex-direction: column;
        }
        .game-card:hover { transform: translateY(-6px); border-color: rgba(108,60,248,0.3); box-shadow: var(--shadow-glow); }
        .game-card .card-img {
            width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
            background: var(--dark-alt); display: block;
        }
        .game-card .card-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
        .game-card .card-body h3 { font-size: 1.15rem; margin-bottom: 6px; }
        .game-card .card-body .meta { display: flex; align-items: center; gap: 12px; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 10px; }
        .game-card .card-body .meta i { color: var(--secondary); }
        .game-card .card-body p { font-size: 0.92rem; color: var(--text-secondary); flex: 1; margin-bottom: 16px; }
        .game-card .card-footer { display: flex; align-items: center; justify-content: space-between; }
        .game-card .card-footer .badge {
            padding: 4px 14px; border-radius: 50px; font-size: 0.75rem; font-weight: 600;
            background: rgba(16,185,129,0.15); color: var(--accent); border: 1px solid rgba(16,185,129,0.2);
        }
        .game-card .card-footer .badge.hot { background: rgba(245,158,11,0.15); color: var(--secondary); border-color: rgba(245,158,11,0.2); }
        .game-card .card-footer .badge.new { background: rgba(108,60,248,0.15); color: var(--primary-light); border-color: rgba(108,60,248,0.2); }
        .game-card .card-footer .btn-sm {
            padding: 6px 18px; border-radius: var(--radius-sm); font-size: 0.82rem; font-weight: 600;
            background: var(--primary-gradient); color: #fff; transition: var(--transition);
        }
        .game-card .card-footer .btn-sm:hover { transform: scale(1.04); box-shadow: 0 4px 16px rgba(108,60,248,0.35); }

        /* ===== Rank / List ===== */
        .rank-list { display: flex; flex-direction: column; gap: 14px; }
        .rank-item {
            display: flex; align-items: center; gap: 18px;
            padding: 16px 22px; border-radius: var(--radius-sm);
            background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.04);
            transition: var(--transition);
        }
        .rank-item:hover { background: rgba(255,255,255,0.04); border-color: rgba(108,60,248,0.15); }
        .rank-item .rank-num {
            width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
            border-radius: var(--radius-sm); font-weight: 800; font-size: 1rem;
            background: rgba(255,255,255,0.04); color: var(--text-muted); flex-shrink: 0;
        }
        .rank-item:nth-child(1) .rank-num { background: rgba(245,158,11,0.2); color: var(--secondary); }
        .rank-item:nth-child(2) .rank-num { background: rgba(156,163,175,0.15); color: #d1d5db; }
        .rank-item:nth-child(3) .rank-num { background: rgba(180,83,9,0.15); color: #d97706; }
        .rank-item .rank-info { flex: 1; }
        .rank-item .rank-info h4 { font-size: 1rem; margin-bottom: 2px; }
        .rank-item .rank-info .rank-meta { font-size: 0.82rem; color: var(--text-muted); }
        .rank-item .rank-score { font-weight: 700; font-size: 1.05rem; color: var(--secondary); }

        /* ===== Stats / Data ===== */
        .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
        .stat-card {
            text-align: center; padding: 32px 20px; border-radius: var(--radius-md);
            background: var(--dark-card); border: 1px solid var(--dark-border);
            transition: var(--transition);
        }
        .stat-card:hover { border-color: rgba(108,60,248,0.2); transform: translateY(-2px); }
        .stat-card .stat-icon { font-size: 2rem; margin-bottom: 12px; color: var(--primary-light); }
        .stat-card .stat-number { font-size: 2.2rem; font-weight: 800; color: #fff; line-height: 1.1; }
        .stat-card .stat-label { font-size: 0.88rem; color: var(--text-muted); margin-top: 6px; }

        /* ===== FAQ ===== */
        .faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
        .faq-item {
            border-radius: var(--radius-sm); overflow: hidden;
            background: var(--dark-card); border: 1px solid var(--dark-border);
            transition: var(--transition);
        }
        .faq-item:hover { border-color: rgba(108,60,248,0.15); }
        .faq-question {
            width: 100%; display: flex; align-items: center; justify-content: space-between;
            padding: 18px 24px; font-weight: 600; font-size: 1rem; color: var(--text-primary);
            background: transparent; transition: var(--transition); text-align: left;
        }
        .faq-question i { transition: var(--transition); color: var(--text-muted); font-size: 0.85rem; }
        .faq-item.open .faq-question i { transform: rotate(180deg); color: var(--primary-light); }
        .faq-answer {
            max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease;
            padding: 0 24px; color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7;
        }
        .faq-item.open .faq-answer { max-height: 240px; padding: 0 24px 20px; }

        /* ===== CTA ===== */
        .cta-block {
            text-align: center; padding: 64px 40px; border-radius: var(--radius-lg);
            background: var(--primary-gradient); position: relative; overflow: hidden;
        }
        .cta-block::before {
            content: ''; position: absolute; inset: 0;
            background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
            opacity: 0.08; pointer-events: none;
        }
        .cta-block .container { position: relative; z-index: 2; }
        .cta-block h2 { color: #fff; margin-bottom: 12px; }
        .cta-block p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 28px; font-size: 1.05rem; }
        .cta-block .btn-cta {
            display: inline-flex; align-items: center; gap: 10px;
            padding: 14px 38px; border-radius: 50px; font-weight: 700; font-size: 1.05rem;
            background: #fff; color: var(--primary-dark); transition: var(--transition);
            box-shadow: 0 8px 32px rgba(0,0,0,0.2);
        }
        .cta-block .btn-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); color: var(--primary-dark); }

        /* ===== Footer ===== */
        .site-footer {
            background: var(--dark-alt); border-top: 1px solid rgba(255,255,255,0.04);
            padding: 60px 0 30px;
        }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
        .footer-brand .logo { margin-bottom: 14px; font-size: 1.2rem; }
        .footer-brand p { font-size: 0.92rem; color: var(--text-muted); max-width: 340px; line-height: 1.7; }
        .footer-social { display: flex; gap: 14px; margin-top: 18px; }
        .footer-social a {
            width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
            border-radius: 50%; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
            color: var(--text-secondary); font-size: 1.1rem; transition: var(--transition);
        }
        .footer-social a:hover { background: var(--primary-gradient); border-color: transparent; color: #fff; transform: translateY(-2px); }
        .footer-col h4 { font-size: 0.95rem; margin-bottom: 16px; color: var(--text-primary); }
        .footer-col a { display: block; font-size: 0.88rem; color: var(--text-muted); padding: 4px 0; }
        .footer-col a:hover { color: var(--primary-light); }
        .footer-bottom {
            display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
            padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.04);
            font-size: 0.85rem; color: var(--text-muted);
        }
        .footer-bottom a { color: var(--text-secondary); }
        .footer-bottom a:hover { color: var(--primary-light); }

        /* ===== Responsive ===== */
        @media (max-width: 1024px) {
            .game-grid { grid-template-columns: repeat(2, 1fr); }
            .stats-grid { grid-template-columns: repeat(2, 1fr); }
            .footer-grid { grid-template-columns: 1fr 1fr; }
        }
        @media (max-width: 768px) {
            .menu-toggle { display: flex; }
            .nav-main { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; flex-direction: column; background: rgba(11,14,26,0.98); backdrop-filter: blur(20px); padding: 32px 24px; gap: 8px; transform: translateX(100%); transition: var(--transition); overflow-y: auto; align-items: stretch; }
            .nav-main.open { transform: translateX(0); }
            .nav-main a { padding: 14px 20px; font-size: 1.05rem; text-align: center; }
            .nav-main a.active::after { display: none; }
            .nav-cta { margin-left: 0; justify-content: center; }
            .hot-hero { min-height: 360px; padding: 100px 0 50px; }
            .game-grid { grid-template-columns: 1fr; gap: 20px; }
            .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
            .stats-grid .stat-card { padding: 24px 16px; }
            .section { padding: 56px 0; }
            .section-card { padding: 28px 20px; }
            .footer-grid { grid-template-columns: 1fr; gap: 28px; }
            .footer-bottom { flex-direction: column; text-align: center; }
            .rank-item { padding: 12px 16px; gap: 12px; }
            .cta-block { padding: 40px 20px; }
        }
        @media (max-width: 520px) {
            .header-inner { padding: 0 16px; }
            .container { padding: 0 16px; }
            .hot-hero h1 { font-size: 1.8rem; }
            .hot-hero p { font-size: 0.95rem; }
            .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
            .stat-card .stat-number { font-size: 1.6rem; }
            .filter-tabs button { padding: 6px 16px; font-size: 0.8rem; }
            .game-card .card-body { padding: 16px; }
            .faq-question { padding: 14px 16px; font-size: 0.92rem; }
            .faq-answer { padding: 0 16px; font-size: 0.88rem; }
            .faq-item.open .faq-answer { padding: 0 16px 16px; }
            .cta-block .btn-cta { padding: 12px 28px; font-size: 0.95rem; }
        }

        /* ===== Animations ===== */
        .fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
        .fade-up.visible { opacity: 1; transform: translateY(0); }
        @media (prefers-reduced-motion: reduce) { .fade-up { opacity: 1; transform: none; } }

        /* ===== Scrollbar ===== */
        ::-webkit-scrollbar { width: 6px; }
        ::-webkit-scrollbar-track { background: var(--dark); }
        ::-webkit-scrollbar-thumb { background: var(--dark-border); border-radius: 8px; }
        ::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

        /* ===== Structured data inline ===== */
        .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* roulang page: article */
/* ===== 设计变量 ===== */
        :root {
            --primary: #7C3AED;
            --primary-light: #8B5CF6;
            --primary-dark: #6D28D9;
            --primary-glow: rgba(124, 58, 237, 0.35);
            --secondary: #F59E0B;
            --secondary-light: #FBBF24;
            --accent-cyan: #06B6D4;
            --bg-dark: #0A0A1A;
            --bg-card: #16162A;
            --bg-elevated: #1E1E3A;
            --bg-hover: #252545;
            --text-primary: #F0F0F5;
            --text-secondary: #9CA3AF;
            --text-muted: #6B7280;
            --border: #2D2D4A;
            --border-light: #3D3D5A;
            --radius: 14px;
            --radius-sm: 8px;
            --radius-lg: 20px;
            --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
            --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.5);
            --shadow-glow: 0 0 30px rgba(124, 58, 237, 0.2);
            --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            --nav-height: 72px;
            --max-width: 1200px;
            --section-gap: 80px;
        }

        /* ===== Reset & Base ===== */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html {
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        body {
            font-family: var(--font-sans);
            background: var(--bg-dark);
            color: var(--text-primary);
            line-height: 1.7;
            font-size: 16px;
            min-height: 100vh;
        }
        a {
            color: var(--primary-light);
            text-decoration: none;
            transition: color var(--transition);
        }
        a:hover {
            color: var(--secondary-light);
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        button,
        input,
        textarea {
            font-family: inherit;
            font-size: inherit;
            border: none;
            outline: none;
            background: none;
            color: inherit;
        }
        ul,
        ol {
            list-style: none;
        }
        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            font-weight: 700;
            line-height: 1.25;
            color: var(--text-primary);
        }
        h1 {
            font-size: clamp(2rem, 5vw, 3.2rem);
        }
        h2 {
            font-size: clamp(1.5rem, 3.5vw, 2.4rem);
        }
        h3 {
            font-size: clamp(1.15rem, 2vw, 1.6rem);
        }
        h4 {
            font-size: 1.1rem;
        }
        p {
            margin-bottom: 1rem;
            color: var(--text-secondary);
        }
        p:last-child {
            margin-bottom: 0;
        }
        .container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
        }
        .section-label {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--primary-light);
            background: rgba(124, 58, 237, 0.12);
            padding: 4px 14px;
            border-radius: 40px;
            border: 1px solid rgba(124, 58, 237, 0.2);
            margin-bottom: 16px;
        }
        .section-title {
            margin-bottom: 12px;
        }
        .section-sub {
            font-size: 1.05rem;
            color: var(--text-secondary);
            max-width: 640px;
            margin-bottom: 40px;
        }
        .text-center {
            text-align: center;
        }
        .mx-auto {
            margin-left: auto;
            margin-right: auto;
        }

        /* ===== Buttons ===== */
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 12px 28px;
            border-radius: 40px;
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            transition: all var(--transition);
            border: 1px solid transparent;
            line-height: 1.2;
        }
        .btn-primary {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: #fff;
            box-shadow: 0 4px 20px var(--primary-glow);
        }
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 32px rgba(124, 58, 237, 0.45);
            color: #fff;
        }
        .btn-primary:active {
            transform: translateY(0);
            box-shadow: 0 2px 12px var(--primary-glow);
        }
        .btn-secondary {
            background: transparent;
            color: var(--text-primary);
            border-color: var(--border-light);
        }
        .btn-secondary:hover {
            border-color: var(--primary-light);
            color: var(--primary-light);
            background: rgba(124, 58, 237, 0.06);
        }
        .btn-outline {
            background: transparent;
            color: var(--primary-light);
            border-color: var(--primary);
        }
        .btn-outline:hover {
            background: var(--primary);
            color: #fff;
            box-shadow: 0 4px 20px var(--primary-glow);
        }
        .btn-sm {
            padding: 8px 18px;
            font-size: 0.85rem;
        }
        .btn-lg {
            padding: 16px 36px;
            font-size: 1.05rem;
        }
        .btn i {
            font-size: 1em;
        }

        /* ===== Badge / Tag ===== */
        .badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 4px 14px;
            border-radius: 40px;
            font-size: 0.78rem;
            font-weight: 600;
            background: rgba(124, 58, 237, 0.15);
            color: var(--primary-light);
            border: 1px solid rgba(124, 58, 237, 0.2);
            transition: all var(--transition);
        }
        .badge:hover {
            background: rgba(124, 58, 237, 0.25);
            border-color: var(--primary);
        }
        .badge-cyan {
            background: rgba(6, 182, 212, 0.12);
            color: var(--accent-cyan);
            border-color: rgba(6, 182, 212, 0.2);
        }
        .badge-cyan:hover {
            background: rgba(6, 182, 212, 0.22);
        }
        .badge-gold {
            background: rgba(245, 158, 11, 0.12);
            color: var(--secondary-light);
            border-color: rgba(245, 158, 11, 0.2);
        }
        .badge-gold:hover {
            background: rgba(245, 158, 11, 0.22);
        }

        /* ===== Header & Nav ===== */
        .site-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(10, 10, 26, 0.85);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--border);
            height: var(--nav-height);
            transition: background var(--transition);
        }
        .site-header .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 100%;
        }
        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1.3rem;
            font-weight: 800;
            color: var(--text-primary);
            text-decoration: none;
            letter-spacing: -0.02em;
        }
        .logo i {
            color: var(--primary-light);
            font-size: 1.4em;
        }
        .logo span {
            background: linear-gradient(135deg, var(--text-primary), var(--primary-light));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .logo:hover {
            color: var(--text-primary);
        }
        .nav-main {
            display: flex;
            align-items: center;
            gap: 32px;
        }
        .nav-main a {
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text-secondary);
            padding: 6px 0;
            position: relative;
            transition: color var(--transition);
        }
        .nav-main a::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary-light);
            border-radius: 2px;
            transition: width var(--transition);
        }
        .nav-main a:hover {
            color: var(--text-primary);
        }
        .nav-main a:hover::after {
            width: 100%;
        }
        .nav-main a.active {
            color: var(--text-primary);
        }
        .nav-main a.active::after {
            width: 100%;
            background: var(--primary-light);
        }
        .nav-cta {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
            color: #fff !important;
            padding: 10px 22px !important;
            border-radius: 40px !important;
            font-weight: 600 !important;
            box-shadow: 0 4px 16px var(--primary-glow);
            border: none !important;
        }
        .nav-cta i {
            font-size: 0.9em;
        }
        .nav-cta::after {
            display: none !important;
        }
        .nav-cta:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 28px rgba(124, 58, 237, 0.45);
            color: #fff !important;
        }
        .nav-toggle {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            padding: 6px;
            background: none;
            border: none;
        }
        .nav-toggle span {
            display: block;
            width: 26px;
            height: 2px;
            background: var(--text-primary);
            border-radius: 2px;
            transition: all var(--transition);
        }
        .nav-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }
        .nav-toggle.active span:nth-child(2) {
            opacity: 0;
        }
        .nav-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }

        /* ===== Article Banner ===== */
        .article-banner {
            position: relative;
            padding: 120px 0 80px;
            margin-top: var(--nav-height);
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            min-height: 380px;
            display: flex;
            align-items: flex-end;
        }
        .article-banner::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(10, 10, 26, 0.3) 0%, rgba(10, 10, 26, 0.85) 70%, var(--bg-dark) 100%);
            z-index: 1;
        }
        .article-banner .container {
            position: relative;
            z-index: 2;
            width: 100%;
        }
        .article-banner .badge {
            margin-bottom: 16px;
        }
        .article-banner h1 {
            max-width: 860px;
            margin-bottom: 16px;
            font-size: clamp(1.8rem, 4.5vw, 3rem);
            line-height: 1.2;
            text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
        }
        .article-banner .meta-line {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            align-items: center;
            font-size: 0.9rem;
            color: var(--text-secondary);
        }
        .article-banner .meta-line i {
            margin-right: 6px;
            color: var(--primary-light);
        }
        .article-banner .meta-line span {
            display: inline-flex;
            align-items: center;
        }
        .article-banner .meta-line .divider {
            width: 4px;
            height: 4px;
            border-radius: 50%;
            background: var(--text-muted);
        }
        .article-not-found .article-banner {
            min-height: 300px;
        }

        /* ===== Article Content ===== */
        .article-content-wrap {
            padding: 60px 0 40px;
        }
        .article-content-wrap .container {
            max-width: 820px;
        }
        .article-body {
            font-size: 1.05rem;
            line-height: 1.85;
            color: var(--text-secondary);
        }
        .article-body p {
            margin-bottom: 1.4rem;
        }
        .article-body h2,
        .article-body h3,
        .article-body h4 {
            margin-top: 2rem;
            margin-bottom: 0.8rem;
            color: var(--text-primary);
        }
        .article-body ul,
        .article-body ol {
            margin-bottom: 1.4rem;
            padding-left: 1.5rem;
        }
        .article-body ul li {
            list-style: disc;
            margin-bottom: 0.4rem;
        }
        .article-body ol li {
            list-style: decimal;
            margin-bottom: 0.4rem;
        }
        .article-body a {
            color: var(--primary-light);
            text-decoration: underline;
            text-underline-offset: 2px;
        }
        .article-body a:hover {
            color: var(--secondary-light);
        }
        .article-body img {
            border-radius: var(--radius);
            margin: 1.5rem 0;
            box-shadow: var(--shadow);
        }
        .article-body blockquote {
            border-left: 4px solid var(--primary);
            padding: 12px 20px;
            margin: 1.5rem 0;
            background: rgba(124, 58, 237, 0.06);
            border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
            color: var(--text-secondary);
        }
        .article-body code {
            background: var(--bg-elevated);
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.9em;
            color: var(--secondary-light);
        }
        .article-body pre {
            background: var(--bg-card);
            padding: 20px;
            border-radius: var(--radius-sm);
            overflow-x: auto;
            border: 1px solid var(--border);
            margin: 1.5rem 0;
        }
        .article-body pre code {
            background: none;
            padding: 0;
            color: var(--text-secondary);
        }
        .not-found-box {
            text-align: center;
            padding: 80px 20px;
        }
        .not-found-box i {
            font-size: 3.5rem;
            color: var(--text-muted);
            margin-bottom: 20px;
        }
        .not-found-box h2 {
            margin-bottom: 12px;
        }
        .not-found-box p {
            font-size: 1.1rem;
            margin-bottom: 28px;
        }

        /* ===== Article Meta (tags & share) ===== */
        .article-meta-section {
            padding: 0 0 50px;
        }
        .article-meta-section .container {
            max-width: 820px;
        }
        .article-meta-inner {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
            padding: 24px 0;
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }
        .article-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        .article-share {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .article-share span {
            font-size: 0.85rem;
            color: var(--text-muted);
            font-weight: 500;
        }
        .article-share a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--bg-card);
            color: var(--text-secondary);
            border: 1px solid var(--border);
            transition: all var(--transition);
            font-size: 1rem;
        }
        .article-share a:hover {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
            transform: translateY(-2px);
            box-shadow: 0 4px 16px var(--primary-glow);
        }

        /* ===== Related Posts ===== */
        .related-posts {
            padding: 60px 0 80px;
            background: var(--bg-card);
        }
        .related-posts .section-title {
            margin-bottom: 36px;
        }
        .related-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }
        .related-card {
            background: var(--bg-elevated);
            border-radius: var(--radius);
            overflow: hidden;
            border: 1px solid var(--border);
            transition: all var(--transition);
        }
        .related-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
            border-color: var(--border-light);
        }
        .related-card img {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }
        .related-card .card-body {
            padding: 20px;
        }
        .related-card .badge {
            margin-bottom: 10px;
        }
        .related-card h3 {
            font-size: 1.05rem;
            margin-bottom: 8px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .related-card h3 a {
            color: var(--text-primary);
        }
        .related-card h3 a:hover {
            color: var(--primary-light);
        }
        .related-card .card-excerpt {
            font-size: 0.88rem;
            color: var(--text-muted);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            margin-bottom: 12px;
        }
        .related-card .card-meta {
            font-size: 0.8rem;
            color: var(--text-muted);
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .related-card .card-meta i {
            margin-right: 4px;
        }
        .related-empty {
            grid-column: 1 / -1;
            text-align: center;
            padding: 40px 20px;
            color: var(--text-muted);
            font-size: 1rem;
        }

        /* ===== CTA Section ===== */
        .cta-section {
            padding: 80px 0;
            background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(6, 182, 212, 0.06));
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }
        .cta-section .container {
            max-width: 820px;
            text-align: center;
        }
        .cta-section h2 {
            margin-bottom: 16px;
        }
        .cta-section p {
            font-size: 1.08rem;
            margin-bottom: 32px;
            color: var(--text-secondary);
        }
        .cta-actions {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 16px;
        }

        /* ===== FAQ Section ===== */
        .faq-section {
            padding: 80px 0;
        }
        .faq-section .container {
            max-width: 820px;
        }
        .faq-grid {
            display: grid;
            gap: 12px;
        }
        .faq-item {
            background: var(--bg-card);
            border-radius: var(--radius);
            border: 1px solid var(--border);
            overflow: hidden;
            transition: border-color var(--transition);
        }
        .faq-item:hover {
            border-color: var(--border-light);
        }
        .faq-question {
            padding: 18px 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            font-weight: 600;
            font-size: 1rem;
            color: var(--text-primary);
            background: none;
            width: 100%;
            text-align: left;
            transition: background var(--transition);
            gap: 16px;
        }
        .faq-question:hover {
            background: var(--bg-hover);
        }
        .faq-question i {
            font-size: 0.85rem;
            color: var(--primary-light);
            transition: transform var(--transition);
            flex-shrink: 0;
        }
        .faq-question.open i {
            transform: rotate(180deg);
        }
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.35s ease, padding 0.35s ease;
            padding: 0 24px;
            color: var(--text-secondary);
            font-size: 0.95rem;
            line-height: 1.7;
        }
        .faq-answer.open {
            max-height: 400px;
            padding: 0 24px 20px;
        }

        /* ===== Footer ===== */
        .site-footer {
            background: var(--bg-card);
            border-top: 1px solid var(--border);
            padding: 60px 0 0;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 1.6fr 1fr 1fr 1fr;
            gap: 40px;
            padding-bottom: 40px;
        }
        .footer-brand .logo {
            font-size: 1.2rem;
            margin-bottom: 14px;
        }
        .footer-brand p {
            font-size: 0.9rem;
            color: var(--text-muted);
            max-width: 360px;
            margin-bottom: 20px;
        }
        .footer-social {
            display: flex;
            gap: 12px;
        }
        .footer-social a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: var(--bg-elevated);
            color: var(--text-secondary);
            border: 1px solid var(--border);
            transition: all var(--transition);
            font-size: 0.95rem;
        }
        .footer-social a:hover {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
            transform: translateY(-2px);
        }
        .footer-col h4 {
            font-size: 0.95rem;
            font-weight: 600;
            margin-bottom: 16px;
            color: var(--text-primary);
        }
        .footer-col a {
            display: block;
            font-size: 0.88rem;
            color: var(--text-muted);
            padding: 4px 0;
            transition: color var(--transition);
        }
        .footer-col a:hover {
            color: var(--primary-light);
        }
        .footer-bottom {
            border-top: 1px solid var(--border);
            padding: 20px 0;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
            font-size: 0.82rem;
            color: var(--text-muted);
        }
        .footer-bottom a {
            color: var(--text-secondary);
        }
        .footer-bottom a:hover {
            color: var(--primary-light);
        }

        /* ===== Responsive ===== */
        @media (max-width: 1024px) {
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 32px;
            }
            .related-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 768px) {
            :root {
                --section-gap: 50px;
            }
            .nav-toggle {
                display: flex;
            }
            .nav-main {
                position: fixed;
                top: var(--nav-height);
                left: 0;
                right: 0;
                background: rgba(10, 10, 26, 0.98);
                backdrop-filter: blur(16px);
                flex-direction: column;
                padding: 24px 32px 32px;
                gap: 16px;
                border-bottom: 1px solid var(--border);
                transform: translateY(-120%);
                opacity: 0;
                transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
                pointer-events: none;
                align-items: stretch;
            }
            .nav-main.open {
                transform: translateY(0);
                opacity: 1;
                pointer-events: auto;
            }
            .nav-main a {
                padding: 12px 0;
                font-size: 1rem;
                border-bottom: 1px solid rgba(255, 255, 255, 0.04);
            }
            .nav-main a::after {
                display: none;
            }
            .nav-main a.active {
                color: var(--primary-light);
                background: rgba(124, 58, 237, 0.08);
                border-radius: var(--radius-sm);
                padding-left: 12px;
            }
            .nav-cta {
                text-align: center;
                margin-top: 8px;
                padding: 14px 22px !important;
            }
            .article-banner {
                padding: 100px 0 50px;
                min-height: 280px;
            }
            .article-banner h1 {
                font-size: 1.6rem;
            }
            .article-content-wrap {
                padding: 40px 0 30px;
            }
            .article-body {
                font-size: 0.98rem;
            }
            .article-meta-inner {
                flex-direction: column;
                align-items: flex-start;
            }
            .related-grid {
                grid-template-columns: 1fr;
                gap: 18px;
            }
            .cta-section {
                padding: 50px 0;
            }
            .faq-section {
                padding: 50px 0;
            }
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 28px;
            }
            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
            .footer-brand p {
                max-width: 100%;
            }
        }
        @media (max-width: 520px) {
            .container {
                padding: 0 16px;
            }
            .article-banner {
                min-height: 220px;
                padding: 80px 0 40px;
            }
            .article-banner h1 {
                font-size: 1.35rem;
            }
            .article-banner .meta-line {
                font-size: 0.8rem;
                gap: 12px;
            }
            .btn-lg {
                padding: 14px 28px;
                font-size: 0.95rem;
            }
            .related-card img {
                height: 160px;
            }
            .faq-question {
                padding: 14px 16px;
                font-size: 0.93rem;
            }
            .faq-answer.open {
                padding: 0 16px 16px;
            }
            .cta-actions {
                flex-direction: column;
                align-items: center;
            }
            .cta-actions .btn {
                width: 100%;
                justify-content: center;
            }
        }
        @media (min-width: 769px) {
            .nav-main {
                display: flex !important;
                opacity: 1 !important;
                transform: none !important;
                pointer-events: auto !important;
                position: static !important;
                background: none !important;
                padding: 0 !important;
                border: none !important;
                flex-direction: row !important;
                gap: 32px !important;
            }
        }
