/* roulang page: index */
/* ===== 设计变量 ===== */
    :root {
        --primary: #1a1a3e;
        --primary-light: #2d2d6b;
        --primary-dark: #0f0f2a;
        --secondary: #f0a500;
        --secondary-light: #ffc34d;
        --accent: #e94560;
        --accent-light: #ff6b81;
        --bg: #f0f2f8;
        --bg-alt: #ffffff;
        --bg-dark: #1a1a3e;
        --text: #1a1a2e;
        --text-light: #4a4a6a;
        --text-weak: #6b7280;
        --text-white: #f8f9fa;
        --border: #e5e7eb;
        --border-light: #f0f0f5;
        --radius-sm: 8px;
        --radius: 12px;
        --radius-lg: 20px;
        --radius-xl: 28px;
        --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.12);
        --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.18);
        --shadow-glow: 0 0 30px rgba(240, 165, 0, 0.15);
        --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        --max-width: 1200px;
        --header-height: 72px;
        --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    }

    /* ===== 基础 Reset ===== */
    *,
    *::before,
    *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }
    html {
        scroll-behavior: smooth;
        -webkit-text-size-adjust: 100%;
    }
    body {
        font-family: var(--font);
        font-size: 16px;
        line-height: 1.7;
        color: var(--text);
        background: var(--bg);
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    a {
        color: var(--primary);
        text-decoration: none;
        transition: color var(--transition);
    }
    a:hover {
        color: var(--secondary);
    }
    a:focus-visible {
        outline: 2px solid var(--secondary);
        outline-offset: 2px;
    }
    button,
    input,
    select,
    textarea {
        font-family: inherit;
        font-size: inherit;
        line-height: inherit;
    }
    button {
        cursor: pointer;
        border: none;
        background: none;
    }
    button:focus-visible {
        outline: 2px solid var(--secondary);
        outline-offset: 2px;
    }
    ul,
    ol {
        list-style: none;
    }
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-weight: 700;
        line-height: 1.3;
        color: var(--text);
    }
    h1 {
        font-size: 2.8rem;
    }
    h2 {
        font-size: 2rem;
    }
    h3 {
        font-size: 1.4rem;
    }
    h4 {
        font-size: 1.15rem;
    }
    p {
        margin-bottom: 1rem;
        color: var(--text-light);
    }
    .container {
        max-width: var(--max-width);
        margin: 0 auto;
        padding: 0 24px;
    }

    /* ===== 导航 ===== */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        height: var(--header-height);
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--border-light);
        transition: box-shadow var(--transition);
    }
    .header.scrolled {
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    }
    .header-inner {
        max-width: var(--max-width);
        margin: 0 auto;
        padding: 0 24px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .logo {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 1.5rem;
        font-weight: 800;
        color: var(--primary);
        letter-spacing: -0.5px;
    }
    .logo i {
        color: var(--secondary);
        font-size: 1.6rem;
    }
    .logo span {
        background: linear-gradient(135deg, var(--primary), var(--primary-light));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    .logo:hover {
        color: var(--primary);
    }
    .nav {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .nav a {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 8px 18px;
        border-radius: var(--radius);
        font-weight: 500;
        font-size: 0.95rem;
        color: var(--text-light);
        transition: all var(--transition);
        position: relative;
    }
    .nav a i {
        font-size: 0.85rem;
        opacity: 0.7;
    }
    .nav a:hover {
        color: var(--primary);
        background: rgba(26, 26, 62, 0.06);
    }
    .nav a.active {
        color: var(--primary);
        background: rgba(26, 26, 62, 0.08);
        font-weight: 600;
    }
    .nav a.active::after {
        content: '';
        position: absolute;
        bottom: 2px;
        left: 50%;
        transform: translateX(-50%);
        width: 20px;
        height: 3px;
        border-radius: 2px;
        background: var(--secondary);
    }
    .nav-cta {
        background: var(--primary) !important;
        color: #fff !important;
        padding: 8px 22px !important;
        border-radius: var(--radius) !important;
        font-weight: 600 !important;
    }
    .nav-cta:hover {
        background: var(--primary-light) !important;
        color: #fff !important;
        transform: translateY(-1px);
        box-shadow: var(--shadow);
    }
    .nav-cta i {
        opacity: 1 !important;
    }

    /* 移动端汉堡菜单 */
    .hamburger {
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        border-radius: var(--radius-sm);
        background: transparent;
        transition: background var(--transition);
        gap: 5px;
        cursor: pointer;
    }
    .hamburger:hover {
        background: rgba(26, 26, 62, 0.06);
    }
    .hamburger span {
        display: block;
        width: 22px;
        height: 2.5px;
        background: var(--text);
        border-radius: 2px;
        transition: all var(--transition);
        transform-origin: center;
    }
    .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);
    }

    /* 移动端导航抽屉 */
    .mobile-nav {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        z-index: 999;
        padding: 24px;
        flex-direction: column;
        gap: 8px;
        overflow-y: auto;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }
    .mobile-nav.open {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }
    .mobile-nav a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 18px;
        border-radius: var(--radius);
        font-size: 1.05rem;
        font-weight: 500;
        color: var(--text);
        transition: all var(--transition);
    }
    .mobile-nav a i {
        width: 24px;
        text-align: center;
        color: var(--text-weak);
    }
    .mobile-nav a:hover {
        background: rgba(26, 26, 62, 0.06);
    }
    .mobile-nav a.active {
        background: rgba(240, 165, 0, 0.12);
        color: var(--primary);
        font-weight: 600;
    }
    .mobile-nav a.active i {
        color: var(--secondary);
    }
    .mobile-nav-divider {
        height: 1px;
        background: var(--border);
        margin: 8px 0;
    }

    /* ===== Hero 首屏 ===== */
    .hero {
        position: relative;
        min-height: 85vh;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 120px 24px 80px;
        background: linear-gradient(135deg, rgba(26, 26, 62, 0.88), rgba(15, 15, 42, 0.92)), url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
        color: #fff;
        overflow: hidden;
    }
    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(ellipse at 30% 50%, rgba(240, 165, 0, 0.10), transparent 60%),
            radial-gradient(ellipse at 70% 30%, rgba(233, 69, 96, 0.08), transparent 50%);
        pointer-events: none;
    }
    .hero-content {
        position: relative;
        z-index: 2;
        max-width: 800px;
    }
    .hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 6px 18px;
        background: rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(8px);
        border-radius: 50px;
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 24px;
        border: 1px solid rgba(255, 255, 255, 0.15);
    }
    .hero-badge i {
        color: var(--secondary);
    }
    .hero h1 {
        font-size: 3.4rem;
        font-weight: 800;
        color: #fff;
        margin-bottom: 16px;
        letter-spacing: -1px;
        line-height: 1.2;
    }
    .hero h1 span {
        background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    .hero p {
        font-size: 1.2rem;
        color: rgba(255, 255, 255, 0.8);
        max-width: 600px;
        margin: 0 auto 32px;
        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 32px;
        border-radius: var(--radius);
        font-weight: 600;
        font-size: 1rem;
        transition: all var(--transition);
        border: none;
        cursor: pointer;
    }
    .btn-primary {
        background: var(--secondary);
        color: var(--primary-dark);
        box-shadow: 0 4px 20px rgba(240, 165, 0, 0.35);
    }
    .btn-primary:hover {
        background: var(--secondary-light);
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(240, 165, 0, 0.45);
        color: var(--primary-dark);
    }
    .btn-outline {
        background: transparent;
        color: #fff;
        border: 2px solid rgba(255, 255, 255, 0.3);
    }
    .btn-outline:hover {
        border-color: var(--secondary);
        color: var(--secondary);
        transform: translateY(-2px);
        background: rgba(240, 165, 0, 0.08);
    }
    .hero-stats {
        display: flex;
        flex-wrap: wrap;
        gap: 32px;
        justify-content: center;
        margin-top: 48px;
        padding-top: 40px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    .hero-stat {
        text-align: center;
    }
    .hero-stat .num {
        font-size: 2rem;
        font-weight: 800;
        color: var(--secondary);
        display: block;
    }
    .hero-stat .label {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.6);
        margin-top: 4px;
    }

    /* ===== 通用板块 ===== */
    .section {
        padding: 80px 0;
    }
    .section-alt {
        background: var(--bg-alt);
    }
    .section-dark {
        background: var(--bg-dark);
        color: #fff;
    }
    .section-title {
        text-align: center;
        margin-bottom: 16px;
    }
    .section-title h2 {
        font-size: 2.2rem;
        font-weight: 800;
        color: var(--text);
    }
    .section-title p {
        max-width: 600px;
        margin: 12px auto 0;
        font-size: 1.05rem;
        color: var(--text-weak);
    }
    .section-title.light h2 {
        color: #fff;
    }
    .section-title.light p {
        color: rgba(255, 255, 255, 0.7);
    }
    .section-divider {
        width: 60px;
        height: 4px;
        border-radius: 2px;
        background: linear-gradient(90deg, var(--secondary), var(--accent));
        margin: 16px auto 0;
    }

    /* ===== 特色/核心板块 ===== */
    .features-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
        margin-top: 48px;
    }
    .feature-card {
        background: var(--bg-alt);
        border-radius: var(--radius-lg);
        padding: 36px 28px;
        text-align: center;
        box-shadow: var(--shadow);
        border: 1px solid var(--border-light);
        transition: all var(--transition);
    }
    .feature-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-hover);
    }
    .feature-card .icon {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        font-size: 1.6rem;
        color: #fff;
        background: var(--primary);
    }
    .feature-card .icon.gold {
        background: var(--secondary);
        color: var(--primary-dark);
    }
    .feature-card .icon.rose {
        background: var(--accent);
    }
    .feature-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    .feature-card p {
        font-size: 0.95rem;
        color: var(--text-weak);
        margin-bottom: 0;
    }

    /* ===== 分类入口卡片 ===== */
    .category-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
        margin-top: 48px;
    }
    .category-card {
        position: relative;
        border-radius: var(--radius-lg);
        overflow: hidden;
        min-height: 320px;
        display: flex;
        align-items: flex-end;
        box-shadow: var(--shadow);
        transition: all var(--transition);
        background: var(--bg-alt);
    }
    .category-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-hover);
    }
    .category-card img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }
    .category-card:hover img {
        transform: scale(1.05);
    }
    .category-card .overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(0deg, rgba(26, 26, 62, 0.85) 0%, rgba(26, 26, 62, 0.15) 60%, transparent 100%);
    }
    .category-card .info {
        position: relative;
        z-index: 2;
        padding: 32px 28px;
        width: 100%;
    }
    .category-card .info h3 {
        color: #fff;
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 6px;
    }
    .category-card .info p {
        color: rgba(255, 255, 255, 0.75);
        font-size: 0.95rem;
        margin-bottom: 12px;
    }
    .category-card .info .tag {
        display: inline-block;
        padding: 4px 14px;
        border-radius: 50px;
        font-size: 0.8rem;
        font-weight: 500;
        background: rgba(240, 165, 0, 0.2);
        color: var(--secondary);
        border: 1px solid rgba(240, 165, 0, 0.3);
    }

    /* ===== 最新资讯列表 ===== */
    .news-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 40px;
    }
    .news-item {
        display: flex;
        align-items: flex-start;
        gap: 20px;
        padding: 20px 24px;
        background: var(--bg-alt);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        border: 1px solid var(--border-light);
        transition: all var(--transition);
    }
    .news-item:hover {
        transform: translateX(4px);
        box-shadow: var(--shadow-md);
        border-color: var(--secondary);
    }
    .news-item .num {
        flex-shrink: 0;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 0.9rem;
        background: rgba(240, 165, 0, 0.12);
        color: var(--secondary);
    }
    .news-item .num.top {
        background: var(--secondary);
        color: var(--primary-dark);
    }
    .news-item .content {
        flex: 1;
        min-width: 0;
    }
    .news-item .content h4 {
        font-size: 1.05rem;
        font-weight: 600;
        margin-bottom: 4px;
    }
    .news-item .content h4 a {
        color: var(--text);
    }
    .news-item .content h4 a:hover {
        color: var(--secondary);
    }
    .news-item .content .meta {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        font-size: 0.85rem;
        color: var(--text-weak);
        margin-top: 4px;
    }
    .news-item .content .meta i {
        margin-right: 4px;
    }
    .news-item .content .meta .cat {
        background: rgba(26, 26, 62, 0.06);
        padding: 2px 10px;
        border-radius: 50px;
        font-size: 0.8rem;
    }
    .news-item .content .desc {
        font-size: 0.92rem;
        color: var(--text-weak);
        margin-top: 6px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* ===== 流程板块 ===== */
    .steps-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
        margin-top: 48px;
    }
    .step-card {
        text-align: center;
        padding: 32px 20px;
        background: var(--bg-alt);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow);
        border: 1px solid var(--border-light);
        position: relative;
        transition: all var(--transition);
    }
    .step-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-hover);
    }
    .step-card .step-num {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 16px;
        font-size: 1.2rem;
        font-weight: 800;
        background: var(--primary);
        color: #fff;
    }
    .step-card h4 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    .step-card p {
        font-size: 0.92rem;
        color: var(--text-weak);
        margin-bottom: 0;
    }

    /* ===== FAQ ===== */
    .faq-list {
        max-width: 760px;
        margin: 40px auto 0;
    }
    .faq-item {
        background: var(--bg-alt);
        border-radius: var(--radius);
        margin-bottom: 12px;
        box-shadow: var(--shadow);
        border: 1px solid var(--border-light);
        overflow: hidden;
        transition: all var(--transition);
    }
    .faq-item:hover {
        border-color: var(--secondary);
    }
    .faq-question {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 18px 24px;
        font-weight: 600;
        font-size: 1rem;
        color: var(--text);
        cursor: pointer;
        background: transparent;
        border: none;
        width: 100%;
        text-align: left;
        transition: background var(--transition);
    }
    .faq-question:hover {
        background: rgba(26, 26, 62, 0.03);
    }
    .faq-question i {
        font-size: 0.85rem;
        color: var(--text-weak);
        transition: transform var(--transition);
        flex-shrink: 0;
    }
    .faq-item.open .faq-question i {
        transform: rotate(180deg);
        color: var(--secondary);
    }
    .faq-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.3s ease;
        padding: 0 24px;
        color: var(--text-light);
        font-size: 0.95rem;
        line-height: 1.7;
    }
    .faq-item.open .faq-answer {
        max-height: 300px;
        padding: 0 24px 20px;
    }

    /* ===== CTA ===== */
    .cta-section {
        background: linear-gradient(135deg, var(--primary), var(--primary-light)), url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
        padding: 80px 24px;
        text-align: center;
        color: #fff;
        position: relative;
    }
    .cta-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(ellipse at center, rgba(240, 165, 0, 0.08), transparent 70%);
        pointer-events: none;
    }
    .cta-section .container {
        position: relative;
        z-index: 2;
    }
    .cta-section h2 {
        font-size: 2.4rem;
        font-weight: 800;
        color: #fff;
        margin-bottom: 12px;
    }
    .cta-section p {
        font-size: 1.1rem;
        color: rgba(255, 255, 255, 0.8);
        max-width: 600px;
        margin: 0 auto 28px;
    }
    .cta-section .btn-primary {
        font-size: 1.1rem;
        padding: 16px 40px;
    }

    /* ===== 页脚 ===== */
    .footer {
        background: var(--primary-dark);
        color: rgba(255, 255, 255, 0.7);
        padding: 60px 24px 32px;
    }
    .footer-inner {
        max-width: var(--max-width);
        margin: 0 auto;
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 40px;
    }
    .footer-brand .logo {
        color: #fff;
        margin-bottom: 12px;
    }
    .footer-brand .logo i {
        color: var(--secondary);
    }
    .footer-brand .logo span {
        background: none;
        -webkit-text-fill-color: #fff;
        color: #fff;
    }
    .footer-brand p {
        font-size: 0.92rem;
        color: rgba(255, 255, 255, 0.6);
        max-width: 320px;
        margin-bottom: 16px;
    }
    .footer-social {
        display: flex;
        gap: 12px;
    }
    .footer-social a {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.08);
        color: rgba(255, 255, 255, 0.7);
        transition: all var(--transition);
    }
    .footer-social a:hover {
        background: var(--secondary);
        color: var(--primary-dark);
        transform: translateY(-2px);
    }
    .footer-col h4 {
        color: #fff;
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 16px;
    }
    .footer-col a {
        display: block;
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.92rem;
        padding: 4px 0;
        transition: all var(--transition);
    }
    .footer-col a:hover {
        color: var(--secondary);
        padding-left: 4px;
    }
    .footer-bottom {
        max-width: var(--max-width);
        margin: 40px auto 0;
        padding-top: 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.5);
    }
    .footer-bottom a {
        color: rgba(255, 255, 255, 0.6);
    }
    .footer-bottom a:hover {
        color: var(--secondary);
    }

    /* ===== 空状态 ===== */
    .empty-state {
        text-align: center;
        padding: 40px 20px;
        color: var(--text-weak);
    }
    .empty-state i {
        font-size: 2.4rem;
        margin-bottom: 12px;
        opacity: 0.4;
    }
    .empty-state p {
        font-size: 1rem;
        color: var(--text-weak);
    }

    /* ===== 响应式 ===== */
    @media (max-width: 1024px) {
        .features-grid {
            grid-template-columns: repeat(2, 1fr);
        }
        .steps-grid {
            grid-template-columns: repeat(2, 1fr);
        }
        .footer-inner {
            grid-template-columns: 1fr 1fr;
        }
        .hero h1 {
            font-size: 2.6rem;
        }
    }
    @media (max-width: 768px) {
        .nav {
            display: none;
        }
        .hamburger {
            display: flex;
        }
        .hero {
            min-height: 70vh;
            padding: 100px 20px 60px;
        }
        .hero h1 {
            font-size: 2.2rem;
        }
        .hero p {
            font-size: 1rem;
        }
        .hero-stats {
            gap: 20px;
        }
        .hero-stat .num {
            font-size: 1.6rem;
        }
        .section {
            padding: 56px 0;
        }
        .section-title h2 {
            font-size: 1.7rem;
        }
        .features-grid {
            grid-template-columns: 1fr;
            gap: 20px;
        }
        .category-cards {
            grid-template-columns: 1fr;
            gap: 20px;
        }
        .category-card {
            min-height: 240px;
        }
        .steps-grid {
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }
        .step-card {
            padding: 24px 16px;
        }
        .news-item {
            flex-direction: column;
            gap: 12px;
            padding: 16px 18px;
        }
        .news-item .num {
            width: 30px;
            height: 30px;
            font-size: 0.8rem;
        }
        .footer-inner {
            grid-template-columns: 1fr;
            gap: 28px;
        }
        .footer-bottom {
            flex-direction: column;
            text-align: center;
        }
        .cta-section h2 {
            font-size: 1.8rem;
        }
    }
    @media (max-width: 520px) {
        .hero h1 {
            font-size: 1.8rem;
        }
        .hero-actions {
            flex-direction: column;
            align-items: center;
        }
        .btn {
            width: 100%;
            justify-content: center;
        }
        .steps-grid {
            grid-template-columns: 1fr;
        }
        .hero-stats {
            flex-direction: column;
            gap: 16px;
        }
        .section-title h2 {
            font-size: 1.4rem;
        }
        .feature-card {
            padding: 24px 18px;
        }
    }

/* roulang page: category1 */
/* ===== Reset & Base ===== */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html {
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
        }
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
            font-size: 16px;
            line-height: 1.7;
            color: #1a1a2e;
            background: #f8f9fc;
        }
        a {
            color: #1a56db;
            text-decoration: none;
            transition: color 0.25s ease;
        }
        a:hover {
            color: #1344b0;
        }
        a:focus-visible {
            outline: 3px solid #7c3aed;
            outline-offset: 2px;
            border-radius: 4px;
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
            border-radius: 12px;
        }
        button,
        input,
        textarea {
            font-family: inherit;
            font-size: inherit;
            line-height: inherit;
            border: none;
            outline: none;
        }
        ul,
        ol {
            list-style: none;
        }

        /* ===== Design Variables ===== */
        :root {
            --primary: #1a56db;
            --primary-light: #3b72e8;
            --primary-dark: #1344b0;
            --secondary: #7c3aed;
            --secondary-light: #9b5efa;
            --accent: #f59e0b;
            --accent-light: #fbbf24;
            --bg-body: #f8f9fc;
            --bg-card: #ffffff;
            --bg-dark: #0f172a;
            --bg-dark-alt: #1e293b;
            --text-dark: #1a1a2e;
            --text-main: #334155;
            --text-weak: #64748b;
            --text-white: #ffffff;
            --border-light: #e2e8f0;
            --border-mid: #cbd5e1;
            --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 8px rgba(0, 0, 0, 0.04);
            --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.10), 0 4px 16px rgba(0, 0, 0, 0.06);
            --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.14);
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 20px;
            --radius-xl: 28px;
            --transition: 0.30s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            --font-xs: 0.75rem;
            --font-sm: 0.875rem;
            --font-base: 1rem;
            --font-lg: 1.125rem;
            --font-xl: 1.35rem;
            --font-2xl: 1.75rem;
            --font-3xl: 2.25rem;
            --font-4xl: 3rem;
            --spacing-xs: 0.5rem;
            --spacing-sm: 1rem;
            --spacing-md: 2rem;
            --spacing-lg: 3.5rem;
            --spacing-xl: 5rem;
            --container-max: 1200px;
            --container-pad: 1.5rem;
        }

        /* ===== Container ===== */
        .container {
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 var(--container-pad);
        }

        /* ===== Header / Nav ===== */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            border-bottom: 1px solid var(--border-light);
            box-shadow: var(--shadow-sm);
            transition: background 0.3s ease, box-shadow 0.3s ease;
        }
        .header-inner {
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 var(--container-pad);
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 68px;
        }
        .header .logo {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            font-size: 1.35rem;
            font-weight: 700;
            color: var(--text-dark);
            text-decoration: none;
            letter-spacing: -0.3px;
        }
        .header .logo i {
            color: var(--secondary);
            font-size: 1.6rem;
        }
        .header .logo span {
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .nav {
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }
        .nav a {
            position: relative;
            padding: 0.5rem 1rem;
            font-size: 0.92rem;
            font-weight: 500;
            color: var(--text-main);
            border-radius: var(--radius-sm);
            transition: background 0.25s ease, color 0.25s ease;
            text-decoration: none;
        }
        .nav a i {
            margin-right: 0.4rem;
            font-size: 0.85em;
            opacity: 0.75;
        }
        .nav a:hover {
            background: rgba(26, 86, 219, 0.07);
            color: var(--primary);
        }
        .nav a.active {
            background: rgba(26, 86, 219, 0.10);
            color: var(--primary);
            font-weight: 600;
        }
        .nav a.active::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 1rem;
            right: 1rem;
            height: 3px;
            background: var(--primary);
            border-radius: 4px 4px 0 0;
        }
        .nav a.nav-cta {
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            color: #fff !important;
            padding: 0.45rem 1.4rem;
            border-radius: 60px;
            font-weight: 600;
            box-shadow: 0 4px 14px rgba(26, 86, 219, 0.25);
            transition: transform 0.25s ease, box-shadow 0.25s ease;
            margin-left: 0.5rem;
        }
        .nav a.nav-cta i {
            opacity: 1;
            margin-right: 0.35rem;
        }
        .nav a.nav-cta:hover {
            transform: translateY(-2px) scale(1.02);
            box-shadow: 0 8px 28px rgba(26, 86, 219, 0.35);
        }

        .nav-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--text-dark);
            cursor: pointer;
            padding: 0.25rem;
        }

        /* ===== Mobile Nav ===== */
        @media (max-width: 768px) {
            .nav {
                display: none;
                position: absolute;
                top: 68px;
                left: 0;
                right: 0;
                background: rgba(255, 255, 255, 0.98);
                backdrop-filter: blur(18px);
                flex-direction: column;
                padding: 1rem 1.5rem 1.5rem;
                border-bottom: 1px solid var(--border-light);
                box-shadow: var(--shadow-md);
                gap: 0.2rem;
            }
            .nav.open {
                display: flex;
            }
            .nav a {
                width: 100%;
                padding: 0.75rem 1rem;
                font-size: 1rem;
                border-radius: var(--radius-sm);
            }
            .nav a.active::after {
                display: none;
            }
            .nav a.nav-cta {
                margin-left: 0;
                margin-top: 0.5rem;
                text-align: center;
                padding: 0.7rem 1.4rem;
            }
            .nav-toggle {
                display: block;
            }
            .header .logo {
                font-size: 1.2rem;
            }
        }

        /* ===== Page Hero ===== */
        .page-hero {
            position: relative;
            padding: 120px 0 70px;
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0f172a 100%);
            overflow: hidden;
            min-height: 300px;
            display: flex;
            align-items: center;
        }
        .page-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
            opacity: 0.18;
            mix-blend-mode: overlay;
        }
        .page-hero .container {
            position: relative;
            z-index: 2;
            text-align: center;
        }
        .page-hero h1 {
            font-size: var(--font-4xl);
            font-weight: 800;
            color: var(--text-white);
            letter-spacing: -0.5px;
            line-height: 1.2;
            margin-bottom: 0.75rem;
        }
        .page-hero h1 i {
            color: var(--accent);
            margin-right: 0.5rem;
        }
        .page-hero p {
            font-size: var(--font-lg);
            color: rgba(255, 255, 255, 0.78);
            max-width: 680px;
            margin: 0 auto 1.5rem;
            line-height: 1.7;
        }
        .page-hero .hero-tags {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 0.6rem;
        }
        .page-hero .hero-tags span {
            background: rgba(255, 255, 255, 0.10);
            backdrop-filter: blur(6px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            padding: 0.35rem 1rem;
            border-radius: 40px;
            font-size: var(--font-sm);
            color: rgba(255, 255, 255, 0.85);
        }

        @media (max-width: 768px) {
            .page-hero {
                padding: 100px 0 50px;
                min-height: 240px;
            }
            .page-hero h1 {
                font-size: var(--font-2xl);
            }
            .page-hero p {
                font-size: var(--font-base);
            }
        }
        @media (max-width: 520px) {
            .page-hero h1 {
                font-size: var(--font-xl);
            }
        }

        /* ===== Breadcrumb ===== */
        .breadcrumb {
            padding: 1rem 0 0;
            font-size: var(--font-sm);
            color: var(--text-weak);
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 0.4rem;
        }
        .breadcrumb a {
            color: var(--text-weak);
            text-decoration: none;
        }
        .breadcrumb a:hover {
            color: var(--primary);
        }
        .breadcrumb span {
            color: var(--text-main);
        }
        .breadcrumb i {
            font-size: 0.65rem;
            color: var(--text-weak);
        }

        /* ===== Section ===== */
        .section {
            padding: var(--spacing-xl) 0;
        }
        .section-title {
            text-align: center;
            margin-bottom: var(--spacing-lg);
        }
        .section-title h2 {
            font-size: var(--font-3xl);
            font-weight: 700;
            color: var(--text-dark);
            letter-spacing: -0.3px;
            margin-bottom: 0.5rem;
        }
        .section-title h2 i {
            color: var(--secondary);
            margin-right: 0.4rem;
        }
        .section-title p {
            font-size: var(--font-lg);
            color: var(--text-weak);
            max-width: 600px;
            margin: 0 auto;
        }
        .section-subtitle {
            font-size: var(--font-sm);
            color: var(--text-weak);
            letter-spacing: 2px;
            text-transform: uppercase;
            margin-bottom: 0.25rem;
            display: block;
        }

        @media (max-width: 768px) {
            .section {
                padding: var(--spacing-lg) 0;
            }
            .section-title h2 {
                font-size: var(--font-2xl);
            }
            .section-title p {
                font-size: var(--font-base);
            }
        }

        /* ===== Cards ===== */
        .card-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
            gap: 1.5rem;
        }
        .card {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
            transition: transform 0.30s ease, box-shadow 0.35s ease;
            display: flex;
            flex-direction: column;
        }
        .card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
        }
        .card-img {
            width: 100%;
            aspect-ratio: 16 / 10;
            object-fit: cover;
            display: block;
            background: #eef2f7;
        }
        .card-body {
            padding: 1.25rem 1.25rem 1.5rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .card-body h3 {
            font-size: var(--font-lg);
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 0.4rem;
            line-height: 1.3;
        }
        .card-body p {
            font-size: var(--font-sm);
            color: var(--text-main);
            flex: 1;
            margin-bottom: 0.75rem;
        }
        .card-body .card-meta {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            font-size: var(--font-xs);
            color: var(--text-weak);
            margin-top: auto;
            padding-top: 0.75rem;
            border-top: 1px solid var(--border-light);
        }
        .card-body .card-meta i {
            margin-right: 0.25rem;
        }
        .card-body .card-tag {
            display: inline-block;
            padding: 0.15rem 0.7rem;
            border-radius: 40px;
            background: rgba(26, 86, 219, 0.08);
            color: var(--primary);
            font-size: var(--font-xs);
            font-weight: 500;
            margin-bottom: 0.5rem;
            align-self: flex-start;
        }

        /* ===== Category Grid (larger cards) ===== */
        .cat-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.75rem;
        }
        .cat-card {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
            transition: transform 0.30s ease, box-shadow 0.35s ease;
            display: flex;
            flex-direction: column;
        }
        .cat-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }
        .cat-card .cat-img {
            width: 100%;
            aspect-ratio: 16 / 9;
            object-fit: cover;
            display: block;
            background: #eef2f7;
        }
        .cat-card .cat-body {
            padding: 1.5rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .cat-card .cat-body h3 {
            font-size: var(--font-xl);
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 0.35rem;
        }
        .cat-card .cat-body p {
            font-size: var(--font-sm);
            color: var(--text-main);
            flex: 1;
            margin-bottom: 1rem;
        }
        .cat-card .cat-body .cat-count {
            font-size: var(--font-xs);
            color: var(--text-weak);
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding-top: 0.75rem;
            border-top: 1px solid var(--border-light);
            margin-top: auto;
        }
        .cat-card .cat-body .cat-count i {
            color: var(--secondary);
        }

        /* ===== Badge / Tag ===== */
        .badge {
            display: inline-block;
            padding: 0.2rem 0.8rem;
            border-radius: 40px;
            font-size: var(--font-xs);
            font-weight: 500;
            background: rgba(26, 86, 219, 0.08);
            color: var(--primary);
            border: 1px solid rgba(26, 86, 219, 0.12);
        }
        .badge-accent {
            background: rgba(245, 158, 11, 0.12);
            color: #b45309;
            border-color: rgba(245, 158, 11, 0.18);
        }
        .badge-green {
            background: rgba(16, 185, 129, 0.10);
            color: #047857;
            border-color: rgba(16, 185, 129, 0.15);
        }

        /* ===== Tag Cloud ===== */
        .tag-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 0.6rem;
            justify-content: center;
        }
        .tag-cloud a {
            display: inline-block;
            padding: 0.4rem 1.1rem;
            border-radius: 40px;
            font-size: var(--font-sm);
            font-weight: 500;
            background: var(--bg-card);
            border: 1px solid var(--border-light);
            color: var(--text-main);
            transition: all 0.25s ease;
            text-decoration: none;
        }
        .tag-cloud a:hover {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(26, 86, 219, 0.20);
        }

        /* ===== Featured Sites List ===== */
        .site-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        .site-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem 1.25rem;
            background: var(--bg-card);
            border-radius: var(--radius-sm);
            border: 1px solid var(--border-light);
            transition: all 0.25s ease;
        }
        .site-item:hover {
            border-color: var(--primary-light);
            box-shadow: var(--shadow-sm);
            transform: translateX(3px);
        }
        .site-item .site-icon {
            width: 44px;
            height: 44px;
            border-radius: var(--radius-sm);
            background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 1.2rem;
            flex-shrink: 0;
        }
        .site-item .site-info {
            flex: 1;
            min-width: 0;
        }
        .site-item .site-info h4 {
            font-size: var(--font-base);
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 0.1rem;
        }
        .site-item .site-info p {
            font-size: var(--font-sm);
            color: var(--text-weak);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .site-item .site-link {
            flex-shrink: 0;
            padding: 0.35rem 1rem;
            border-radius: 40px;
            background: rgba(26, 86, 219, 0.07);
            color: var(--primary);
            font-size: var(--font-sm);
            font-weight: 500;
            transition: all 0.25s ease;
            text-decoration: none;
            border: 1px solid transparent;
        }
        .site-item .site-link:hover {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
        }

        @media (max-width: 600px) {
            .site-item {
                flex-wrap: wrap;
                gap: 0.75rem;
            }
            .site-item .site-link {
                width: 100%;
                text-align: center;
            }
        }

        /* ===== Stats / Data Block ===== */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 1.5rem;
            text-align: center;
        }
        .stat-item {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            padding: 1.75rem 1rem;
            border: 1px solid var(--border-light);
            transition: transform 0.25s ease, box-shadow 0.25s ease;
        }
        .stat-item:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-md);
        }
        .stat-item .stat-number {
            font-size: var(--font-3xl);
            font-weight: 800;
            color: var(--primary);
            line-height: 1.1;
        }
        .stat-item .stat-label {
            font-size: var(--font-sm);
            color: var(--text-weak);
            margin-top: 0.3rem;
        }
        .stat-item i {
            font-size: 2rem;
            color: var(--secondary-light);
            margin-bottom: 0.5rem;
        }

        /* ===== FAQ ===== */
        .faq-grid {
            max-width: 780px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }
        .faq-item {
            background: var(--bg-card);
            border-radius: var(--radius-sm);
            border: 1px solid var(--border-light);
            overflow: hidden;
            transition: box-shadow 0.25s ease;
        }
        .faq-item:hover {
            box-shadow: var(--shadow-sm);
        }
        .faq-question {
            padding: 1.1rem 1.25rem;
            font-weight: 600;
            font-size: var(--font-base);
            color: var(--text-dark);
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: none;
            width: 100%;
            text-align: left;
            border: none;
            transition: background 0.2s ease;
        }
        .faq-question:hover {
            background: rgba(26, 86, 219, 0.03);
        }
        .faq-question i {
            color: var(--text-weak);
            transition: transform 0.3s ease;
            font-size: 0.85rem;
        }
        .faq-question[aria-expanded="true"] i {
            transform: rotate(180deg);
        }
        .faq-answer {
            padding: 0 1.25rem 1.1rem;
            font-size: var(--font-sm);
            color: var(--text-main);
            line-height: 1.7;
            display: none;
        }
        .faq-answer.open {
            display: block;
        }

        /* ===== CTA ===== */
        .cta-section {
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
            padding: var(--spacing-lg) 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
            opacity: 0.08;
            mix-blend-mode: overlay;
        }
        .cta-section .container {
            position: relative;
            z-index: 2;
        }
        .cta-section h2 {
            font-size: var(--font-3xl);
            font-weight: 700;
            color: var(--text-white);
            margin-bottom: 0.5rem;
        }
        .cta-section p {
            font-size: var(--font-lg);
            color: rgba(255, 255, 255, 0.75);
            margin-bottom: 1.75rem;
            max-width: 560px;
            margin-left: auto;
            margin-right: auto;
        }
        .cta-section .btn-group {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 1rem;
        }
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.7rem 2rem;
            border-radius: 60px;
            font-weight: 600;
            font-size: var(--font-base);
            transition: all 0.30s ease;
            text-decoration: none;
            cursor: pointer;
            border: none;
        }
        .btn-primary {
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            color: #fff;
            box-shadow: 0 4px 18px rgba(26, 86, 219, 0.30);
        }
        .btn-primary:hover {
            transform: translateY(-2px) scale(1.02);
            box-shadow: 0 8px 32px rgba(26, 86, 219, 0.40);
            color: #fff;
        }
        .btn-outline-light {
            background: transparent;
            color: var(--text-white);
            border: 2px solid rgba(255, 255, 255, 0.35);
        }
        .btn-outline-light:hover {
            background: rgba(255, 255, 255, 0.10);
            border-color: rgba(255, 255, 255, 0.6);
            color: #fff;
        }

        @media (max-width: 768px) {
            .cta-section h2 {
                font-size: var(--font-2xl);
            }
            .cta-section p {
                font-size: var(--font-base);
            }
            .btn {
                padding: 0.6rem 1.5rem;
                font-size: var(--font-sm);
            }
        }

        /* ===== Footer ===== */
        .footer {
            background: var(--bg-dark);
            color: rgba(255, 255, 255, 0.75);
            padding: var(--spacing-lg) 0 0;
        }
        .footer-inner {
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 var(--container-pad);
            display: grid;
            grid-template-columns: 1.8fr 1fr 1fr 1fr;
            gap: 2.5rem;
        }
        .footer-brand .logo {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 1.35rem;
            font-weight: 700;
            color: #fff;
            text-decoration: none;
            margin-bottom: 0.75rem;
        }
        .footer-brand .logo i {
            color: var(--accent);
        }
        .footer-brand p {
            font-size: var(--font-sm);
            line-height: 1.7;
            color: rgba(255, 255, 255, 0.6);
            max-width: 320px;
            margin-bottom: 1rem;
        }
        .footer-social {
            display: flex;
            gap: 0.75rem;
        }
        .footer-social a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.07);
            color: rgba(255, 255, 255, 0.7);
            font-size: 1.1rem;
            transition: all 0.25s ease;
            text-decoration: none;
        }
        .footer-social a:hover {
            background: var(--primary);
            color: #fff;
            transform: translateY(-2px);
        }
        .footer-col h4 {
            font-size: var(--font-base);
            font-weight: 600;
            color: #fff;
            margin-bottom: 1rem;
        }
        .footer-col a {
            display: block;
            font-size: var(--font-sm);
            color: rgba(255, 255, 255, 0.55);
            text-decoration: none;
            padding: 0.25rem 0;
            transition: color 0.25s ease;
        }
        .footer-col a:hover {
            color: var(--accent-light);
        }
        .footer-bottom {
            max-width: var(--container-max);
            margin: 2.5rem auto 0;
            padding: 1.25rem var(--container-pad);
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 0.75rem;
            font-size: var(--font-sm);
            color: rgba(255, 255, 255, 0.4);
        }
        .footer-bottom a {
            color: rgba(255, 255, 255, 0.5);
            text-decoration: none;
        }
        .footer-bottom a:hover {
            color: var(--accent-light);
        }

        @media (max-width: 900px) {
            .footer-inner {
                grid-template-columns: 1fr 1fr;
                gap: 2rem;
            }
            .footer-brand {
                grid-column: 1 / -1;
            }
        }
        @media (max-width: 520px) {
            .footer-inner {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
        }

        /* ===== Utility ===== */
        .text-center {
            text-align: center;
        }
        .mt-sm {
            margin-top: var(--spacing-sm);
        }
        .mt-md {
            margin-top: var(--spacing-md);
        }
        .mt-lg {
            margin-top: var(--spacing-lg);
        }
        .mb-sm {
            margin-bottom: var(--spacing-sm);
        }
        .mb-md {
            margin-bottom: var(--spacing-md);
        }
        .gap-sm {
            gap: 0.75rem;
        }
        .flex-center {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* ===== Smooth scroll offset ===== */
        .scroll-offset {
            scroll-margin-top: 80px;
        }

        /* ===== Responsive grid fine-tune ===== */
        @media (max-width: 600px) {
            .card-grid {
                grid-template-columns: 1fr;
            }
            .cat-grid {
                grid-template-columns: 1fr;
            }
            .stats-grid {
                grid-template-columns: 1fr 1fr;
            }
        }
        @media (max-width: 400px) {
            .stats-grid {
                grid-template-columns: 1fr;
            }
        }

/* roulang page: article */
/* ===== 设计变量 ===== */
        :root {
            --primary: #0f1b4d;
            --primary-light: #1a2a6c;
            --primary-dark: #080e2a;
            --accent: #f0a500;
            --accent-light: #ffc439;
            --accent-dark: #c98800;
            --bg: #f5f7fc;
            --bg-card: #ffffff;
            --bg-dark: #0a0e27;
            --text: #1a1a2e;
            --text-light: #6b7280;
            --text-white: #f0f4ff;
            --border: #e5e7eb;
            --border-light: #f0f2f5;
            --radius-sm: 8px;
            --radius: 12px;
            --radius-lg: 20px;
            --radius-xl: 28px;
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
            --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
            --shadow-accent: 0 4px 20px rgba(240, 165, 0, 0.3);
            --transition: 0.25s ease;
            --font-sans: 'Segoe UI', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
            --container-max: 1200px;
            --header-height: 72px;
        }

        /* ===== Reset ===== */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html {
            scroll-behavior: smooth;
            -webkit-text-size-adjust: 100%;
        }
        body {
            font-family: var(--font-sans);
            font-size: 16px;
            line-height: 1.7;
            color: var(--text);
            background: var(--bg);
            -webkit-font-smoothing: antialiased;
        }
        a {
            color: inherit;
            text-decoration: none;
            transition: color var(--transition);
        }
        a:hover {
            color: var(--accent);
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        button,
        input,
        textarea {
            font-family: inherit;
            font-size: inherit;
            border: none;
            outline: none;
            background: none;
        }
        ul,
        ol {
            list-style: none;
        }
        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            line-height: 1.3;
            font-weight: 700;
            color: var(--primary);
        }

        /* ===== 容器 ===== */
        .container {
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 24px;
        }
        @media (max-width: 768px) {
            .container {
                padding: 0 16px;
            }
        }

        /* ===== Header / Nav ===== */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--border-light);
            height: var(--header-height);
            display: flex;
            align-items: center;
            transition: box-shadow var(--transition);
        }
        .header.scrolled {
            box-shadow: var(--shadow);
        }
        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 24px;
        }
        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 22px;
            font-weight: 800;
            color: var(--primary);
            letter-spacing: -0.3px;
        }
        .logo i {
            color: var(--accent);
            font-size: 26px;
            transition: transform var(--transition);
        }
        .logo:hover i {
            transform: rotate(30deg) scale(1.1);
        }
        .logo span {
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .nav {
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .nav a {
            padding: 8px 18px;
            border-radius: var(--radius-sm);
            font-size: 15px;
            font-weight: 500;
            color: var(--text);
            display: flex;
            align-items: center;
            gap: 8px;
            transition: background var(--transition), color var(--transition), box-shadow var(--transition);
        }
        .nav a i {
            font-size: 14px;
            opacity: 0.7;
        }
        .nav a:hover {
            background: rgba(240, 165, 0, 0.08);
            color: var(--accent-dark);
        }
        .nav a.active {
            background: var(--accent);
            color: var(--primary-dark);
            box-shadow: var(--shadow-accent);
        }
        .nav a.active i {
            opacity: 1;
        }
        .nav a.nav-cta {
            background: var(--primary);
            color: #fff;
            padding: 8px 22px;
            border-radius: var(--radius);
            font-weight: 600;
            box-shadow: var(--shadow);
        }
        .nav a.nav-cta:hover {
            background: var(--primary-light);
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
            color: #fff;
        }
        .nav a.nav-cta i {
            opacity: 1;
        }
        .nav-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 26px;
            color: var(--primary);
            cursor: pointer;
            padding: 4px 8px;
        }
        @media (max-width: 768px) {
            .nav {
                position: fixed;
                top: var(--header-height);
                left: 0;
                right: 0;
                background: rgba(255, 255, 255, 0.98);
                backdrop-filter: blur(16px);
                flex-direction: column;
                padding: 16px 24px 24px;
                gap: 4px;
                border-bottom: 1px solid var(--border);
                box-shadow: var(--shadow-lg);
                transform: translateY(-110%);
                opacity: 0;
                pointer-events: none;
                transition: transform 0.35s ease, opacity 0.35s ease;
            }
            .nav.open {
                transform: translateY(0);
                opacity: 1;
                pointer-events: auto;
            }
            .nav a {
                width: 100%;
                padding: 12px 16px;
                border-radius: var(--radius-sm);
                font-size: 16px;
                justify-content: center;
            }
            .nav a.nav-cta {
                margin-top: 8px;
                justify-content: center;
            }
            .nav-toggle {
                display: block;
            }
        }
        @media (max-width: 520px) {
            .logo span {
                font-size: 18px;
            }
            .logo i {
                font-size: 22px;
            }
            .header-inner {
                padding: 0 12px;
            }
        }

        /* ===== Main ===== */
        .main {
            padding-top: var(--header-height);
            min-height: 80vh;
        }

        /* ===== 文章 Hero ===== */
        .article-hero {
            position: relative;
            padding: 80px 0 60px;
            background: var(--primary-dark);
            background-image: url('/assets/images/backpic/back-2.png');
            background-size: cover;
            background-position: center;
            background-blend-mode: overlay;
            color: #fff;
            overflow: hidden;
        }
        .article-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(15, 27, 77, 0.92) 0%, rgba(10, 14, 39, 0.7) 100%);
            z-index: 1;
        }
        .article-hero .container {
            position: relative;
            z-index: 2;
            text-align: center;
        }
        .article-hero .breadcrumb {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 20px;
            flex-wrap: wrap;
            justify-content: center;
        }
        .article-hero .breadcrumb a {
            color: rgba(255, 255, 255, 0.8);
        }
        .article-hero .breadcrumb a:hover {
            color: var(--accent);
        }
        .article-hero .breadcrumb span {
            color: rgba(255, 255, 255, 0.5);
        }
        .article-hero .badge {
            display: inline-block;
            padding: 4px 16px;
            border-radius: 20px;
            background: var(--accent);
            color: var(--primary-dark);
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 0.5px;
            margin-bottom: 16px;
            box-shadow: var(--shadow-accent);
        }
        .article-hero h1 {
            font-size: 42px;
            font-weight: 800;
            color: #fff;
            max-width: 900px;
            margin: 0 auto 16px;
            line-height: 1.25;
            letter-spacing: -0.5px;
            text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
        }
        .article-hero .meta {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 24px;
            font-size: 15px;
            color: rgba(255, 255, 255, 0.75);
            flex-wrap: wrap;
        }
        .article-hero .meta i {
            margin-right: 6px;
            opacity: 0.7;
        }
        .article-hero .meta .date {
            display: flex;
            align-items: center;
        }
        .article-hero .meta .category {
            display: flex;
            align-items: center;
        }

        @media (max-width: 768px) {
            .article-hero {
                padding: 60px 0 40px;
            }
            .article-hero h1 {
                font-size: 28px;
            }
            .article-hero .meta {
                gap: 14px;
                font-size: 14px;
            }
        }
        @media (max-width: 520px) {
            .article-hero h1 {
                font-size: 22px;
            }
            .article-hero .meta {
                flex-direction: column;
                gap: 8px;
            }
        }

        /* ===== 文章正文 ===== */
        .article-main {
            padding: 48px 0 60px;
        }
        .article-body {
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow);
            padding: 48px 56px;
            max-width: 860px;
            margin: 0 auto;
        }
        .article-body .content {
            font-size: 17px;
            line-height: 1.9;
            color: var(--text);
        }
        .article-body .content p {
            margin-bottom: 1.5em;
        }
        .article-body .content h2,
        .article-body .content h3,
        .article-body .content h4 {
            margin-top: 1.8em;
            margin-bottom: 0.8em;
            color: var(--primary);
        }
        .article-body .content h2 {
            font-size: 26px;
            border-bottom: 2px solid var(--border-light);
            padding-bottom: 10px;
        }
        .article-body .content h3 {
            font-size: 21px;
        }
        .article-body .content ul,
        .article-body .content ol {
            margin-bottom: 1.5em;
            padding-left: 24px;
        }
        .article-body .content ul {
            list-style: disc;
        }
        .article-body .content ol {
            list-style: decimal;
        }
        .article-body .content li {
            margin-bottom: 0.4em;
        }
        .article-body .content blockquote {
            border-left: 4px solid var(--accent);
            padding: 16px 24px;
            margin: 1.5em 0;
            background: var(--bg);
            border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
            color: var(--text-light);
            font-style: italic;
        }
        .article-body .content a {
            color: var(--primary-light);
            text-decoration: underline;
            text-underline-offset: 2px;
        }
        .article-body .content a:hover {
            color: var(--accent-dark);
        }
        .article-body .content img {
            border-radius: var(--radius);
            margin: 1.5em auto;
            box-shadow: var(--shadow-sm);
        }
        .article-body .content code {
            background: var(--border-light);
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.9em;
        }

        /* 文章底部信息 */
        .article-footer-meta {
            margin-top: 40px;
            padding-top: 28px;
            border-top: 1px solid var(--border-light);
            display: flex;
            flex-wrap: wrap;
            gap: 16px 32px;
            align-items: center;
            justify-content: space-between;
        }
        .article-footer-meta .tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        .article-footer-meta .tags .tag {
            display: inline-block;
            padding: 4px 14px;
            border-radius: 20px;
            background: var(--bg);
            border: 1px solid var(--border);
            font-size: 13px;
            color: var(--text-light);
            transition: all var(--transition);
        }
        .article-footer-meta .tags .tag:hover {
            background: var(--accent);
            border-color: var(--accent);
            color: var(--primary-dark);
        }
        .article-footer-meta .share {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
            color: var(--text-light);
        }
        .article-footer-meta .share a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--bg);
            border: 1px solid var(--border);
            color: var(--text-light);
            transition: all var(--transition);
        }
        .article-footer-meta .share a:hover {
            background: var(--accent);
            border-color: var(--accent);
            color: var(--primary-dark);
            transform: translateY(-2px);
        }

        @media (max-width: 768px) {
            .article-body {
                padding: 28px 20px;
            }
            .article-body .content {
                font-size: 16px;
                line-height: 1.8;
            }
            .article-footer-meta {
                flex-direction: column;
                align-items: flex-start;
                gap: 12px;
            }
        }
        @media (max-width: 520px) {
            .article-body {
                padding: 20px 14px;
                border-radius: var(--radius);
            }
            .article-body .content {
                font-size: 15px;
            }
            .article-body .content h2 {
                font-size: 20px;
            }
            .article-body .content h3 {
                font-size: 18px;
            }
        }

        /* ===== 内容未找到 ===== */
        .not-found-box {
            text-align: center;
            padding: 80px 24px;
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow);
            max-width: 600px;
            margin: 40px auto;
        }
        .not-found-box i {
            font-size: 64px;
            color: var(--accent);
            margin-bottom: 20px;
            display: block;
        }
        .not-found-box h2 {
            font-size: 28px;
            color: var(--primary);
            margin-bottom: 12px;
        }
        .not-found-box p {
            color: var(--text-light);
            margin-bottom: 24px;
        }
        .not-found-box .btn {
            display: inline-block;
        }

        /* ===== 相关推荐 ===== */
        .related-section {
            padding: 60px 0 80px;
            background: var(--bg);
        }
        .related-section .section-title {
            text-align: center;
            font-size: 30px;
            font-weight: 800;
            color: var(--primary);
            margin-bottom: 8px;
        }
        .related-section .section-sub {
            text-align: center;
            color: var(--text-light);
            margin-bottom: 40px;
            font-size: 16px;
        }
        .related-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
        }
        .related-card {
            background: var(--bg-card);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: all var(--transition);
            border: 1px solid var(--border-light);
        }
        .related-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-lg);
            border-color: var(--accent);
        }
        .related-card .card-img {
            width: 100%;
            aspect-ratio: 16 / 10;
            object-fit: cover;
            display: block;
            background: var(--border-light);
        }
        .related-card .card-body {
            padding: 16px 18px 20px;
        }
        .related-card .card-body h3 {
            font-size: 16px;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 8px;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .related-card .card-body .card-meta {
            font-size: 13px;
            color: var(--text-light);
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .related-card .card-body .card-meta i {
            margin-right: 4px;
            opacity: 0.7;
        }
        .related-empty {
            grid-column: 1 / -1;
            text-align: center;
            padding: 40px 20px;
            color: var(--text-light);
            font-size: 16px;
        }
        @media (max-width: 1024px) {
            .related-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }
        }
        @media (max-width: 520px) {
            .related-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }
            .related-section .section-title {
                font-size: 24px;
            }
        }

        /* ===== CTA ===== */
        .article-cta {
            padding: 60px 0 70px;
            background: var(--primary-dark);
            background-image: url('/assets/images/backpic/back-1.png');
            background-size: cover;
            background-position: center;
            background-blend-mode: overlay;
            text-align: center;
            color: #fff;
        }
        .article-cta .container {
            position: relative;
            z-index: 1;
        }
        .article-cta::before {
            content: '';
            position: absolute;
            inset: 0;
            background: rgba(10, 14, 39, 0.82);
            z-index: 0;
        }
        .article-cta h2 {
            font-size: 32px;
            font-weight: 800;
            color: #fff;
            margin-bottom: 12px;
        }
        .article-cta p {
            font-size: 17px;
            color: rgba(255, 255, 255, 0.8);
            max-width: 640px;
            margin: 0 auto 28px;
        }
        .article-cta .btn-group {
            display: flex;
            gap: 16px;
            justify-content: center;
            flex-wrap: wrap;
        }
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 14px 32px;
            border-radius: var(--radius);
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all var(--transition);
            border: none;
        }
        .btn-primary {
            background: var(--accent);
            color: var(--primary-dark);
            box-shadow: var(--shadow-accent);
        }
        .btn-primary:hover {
            background: var(--accent-light);
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(240, 165, 0, 0.4);
            color: var(--primary-dark);
        }
        .btn-outline-light {
            background: transparent;
            border: 2px solid rgba(255, 255, 255, 0.5);
            color: #fff;
        }
        .btn-outline-light:hover {
            background: rgba(255, 255, 255, 0.12);
            border-color: #fff;
            transform: translateY(-3px);
            color: #fff;
        }
        @media (max-width: 768px) {
            .article-cta h2 {
                font-size: 26px;
            }
            .article-cta p {
                font-size: 15px;
            }
            .btn {
                padding: 12px 24px;
                font-size: 15px;
            }
        }
        @media (max-width: 520px) {
            .article-cta {
                padding: 40px 0 50px;
            }
            .article-cta h2 {
                font-size: 22px;
            }
            .btn-group {
                flex-direction: column;
                align-items: center;
            }
            .btn {
                width: 100%;
                max-width: 260px;
                justify-content: center;
            }
        }

        /* ===== 返回顶部 ===== */
        .back-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 999;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: var(--primary);
            color: #fff;
            font-size: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: var(--shadow-lg);
            opacity: 0;
            transform: translateY(20px);
            pointer-events: none;
            transition: all 0.35s ease;
            border: none;
            cursor: pointer;
        }
        .back-top.visible {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }
        .back-top:hover {
            background: var(--accent);
            color: var(--primary-dark);
            transform: translateY(-4px);
        }

        /* ===== Footer ===== */
        .footer {
            background: var(--bg-dark);
            color: rgba(255, 255, 255, 0.8);
            padding: 56px 0 0;
        }
        .footer-inner {
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 24px 40px;
            display: grid;
            grid-template-columns: 1.8fr 1fr 1fr 1fr;
            gap: 40px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }
        .footer-brand .logo {
            color: #fff;
            font-size: 24px;
            margin-bottom: 16px;
        }
        .footer-brand .logo i {
            color: var(--accent);
        }
        .footer-brand p {
            font-size: 15px;
            line-height: 1.7;
            color: rgba(255, 255, 255, 0.6);
            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: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.06);
            color: rgba(255, 255, 255, 0.6);
            font-size: 18px;
            transition: all var(--transition);
        }
        .footer-social a:hover {
            background: var(--accent);
            color: var(--primary-dark);
            transform: translateY(-3px);
        }
        .footer-col h4 {
            color: #fff;
            font-size: 17px;
            font-weight: 700;
            margin-bottom: 18px;
        }
        .footer-col a {
            display: block;
            color: rgba(255, 255, 255, 0.5);
            font-size: 15px;
            padding: 5px 0;
            transition: color var(--transition), padding-left var(--transition);
        }
        .footer-col a:hover {
            color: var(--accent);
            padding-left: 6px;
        }
        .footer-bottom {
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 20px 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 12px;
            font-size: 14px;
            color: rgba(255, 255, 255, 0.4);
        }
        .footer-bottom a {
            color: rgba(255, 255, 255, 0.5);
        }
        .footer-bottom a:hover {
            color: var(--accent);
        }
        @media (max-width: 1024px) {
            .footer-inner {
                grid-template-columns: 1fr 1fr;
                gap: 32px;
            }
            .footer-brand {
                grid-column: 1 / -1;
            }
        }
        @media (max-width: 520px) {
            .footer-inner {
                grid-template-columns: 1fr;
                gap: 28px;
                padding: 0 16px 28px;
            }
            .footer-bottom {
                flex-direction: column;
                text-align: center;
                padding: 16px;
            }
            .footer-brand p {
                max-width: 100%;
            }
        }

        /* ===== 通用工具 ===== */
        .text-center {
            text-align: center;
        }
        .mt-20 {
            margin-top: 20px;
        }
        .mb-20 {
            margin-bottom: 20px;
        }
