/* roulang page: index */
:root {
        --primary: #4F46E5;
        --primary-dark: #4338CA;
        --primary-light: #EEF2FF;
        --accent: #F59E0B;
        --accent-dark: #D97706;
        --bg-light: #F8FAFC;
        --text-main: #1E293B;
        --text-muted: #64748B;
        --border-light: #E2E8F0;
        --radius-lg: 1rem;
        --radius-xl: 1.25rem;
        --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
        --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07);
        --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
        --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.10);
    }

    *,
    *::before,
    *::after {
        box-sizing: border-box;
        margin: 0;
    }

    html {
        scroll-behavior: smooth;
    }

    body {
        font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
        background-color: #F8FAFC;
        color: #1E293B;
        line-height: 1.6;
        -webkit-font-smoothing: antialiased;
    }

    a {
        color: inherit;
        text-decoration: none;
        transition: color 0.2s ease;
    }

    img {
        max-width: 100%;
        display: block;
    }

    button {
        cursor: pointer;
        border: none;
        background: none;
        font-family: inherit;
    }

    .container-custom {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .line-clamp-2 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .line-clamp-3 {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    details summary::-webkit-details-marker {
        display: none;
    }

    details summary .fa-chevron-down {
        transition: transform 0.3s ease;
    }

    details[open] summary .fa-chevron-down {
        transform: rotate(180deg);
    }

    .nav-link {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
        border-radius: 0.75rem;
        font-size: 0.875rem;
        font-weight: 500;
        color: #94A3B8;
        transition: all 0.2s ease;
    }

    .nav-link:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.06);
    }

    .nav-link.active {
        color: #ffffff;
        background: linear-gradient(135deg, #4F46E5, #4338CA);
        box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
    }

    .nav-link.active i {
        color: #C7D2FE;
    }

    .badge-new {
        background: linear-gradient(135deg, #F59E0B, #EF4444);
        color: #fff;
        font-size: 0.625rem;
        font-weight: 700;
        padding: 2px 8px;
        border-radius: 999px;
        letter-spacing: 0.05em;
    }

    .btn-primary {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        background: #4F46E5;
        color: #fff;
        font-weight: 600;
        padding: 0.875rem 2rem;
        border-radius: 0.75rem;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    }

    .btn-primary:hover {
        background: #4338CA;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
    }

    .btn-secondary {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
        font-weight: 600;
        padding: 0.875rem 2rem;
        border-radius: 0.75rem;
        border: 1px solid rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(8px);
        transition: all 0.3s ease;
    }

    .btn-secondary:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
    }

    .card-hover {
        transition: all 0.3s ease;
    }

    .card-hover:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
    }

    .faq-answer {
        animation: fadeIn 0.3s ease-out;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-4px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .hero-pattern {
        background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(30, 0, 60, 0.6));
    }

    @media (max-width: 1023px) {
        .desktop-sidebar {
            display: none;
        }
    }

    @media (min-width: 1024px) {
        .mobile-topbar {
            display: none;
        }
        .main-content {
            margin-left: 16rem;
        }
    }

    .bg-grid {
        background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
        background-size: 36px 36px;
    }

/* roulang page: category1 */
:root {
            --primary: #6366f1;
            --primary-dark: #4f46e5;
            --primary-light: #a5b4fc;
            --accent: #f59e0b;
            --bg: #f8fafc;
            --text: #1e293b;
            --text-muted: #64748b;
            --border: #e2e8f0;
            --radius: 1rem;
            --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);
        }
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
            background: var(--bg);
            color: var(--text);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            font-size: 16px;
        }
        img {
            max-width: 100%;
            display: block;
        }
        a {
            text-decoration: none;
            color: inherit;
        }
        button {
            cursor: pointer;
            border: none;
            background: none;
        }
        .container {
            max-width: 1280px;
            margin: 0 auto;
        }
        .nav-link {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.7rem 1rem;
            border-radius: 0.75rem;
            color: rgba(255, 255, 255, 0.65);
            font-size: 0.9rem;
            font-weight: 500;
            transition: all 0.25s ease;
            position: relative;
        }
        .nav-link i {
            font-size: 1rem;
            width: 1.25rem;
            text-align: center;
        }
        .nav-link:hover {
            background: rgba(255, 255, 255, 0.07);
            color: #fff;
        }
        .nav-link.active {
            background: linear-gradient(135deg, #6366f1, #8b5cf6);
            color: #fff;
            box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
        }
        .step-card {
            transition: all 0.3s ease;
            border: 1px solid var(--border);
        }
        .step-card:hover {
            box-shadow: var(--shadow-lg);
            transform: translateY(-6px);
            border-color: var(--primary-light);
        }
        .faq-item {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 1rem;
            transition: box-shadow 0.3s ease, border-color 0.3s ease;
            margin-bottom: 0.75rem;
            overflow: hidden;
        }
        .faq-item:hover {
            box-shadow: var(--shadow-md);
            border-color: var(--primary-light);
        }
        .faq-question {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.25rem 1.5rem;
            cursor: pointer;
            font-weight: 600;
            font-size: 0.95rem;
            color: var(--text);
            gap: 1rem;
            user-select: none;
        }
        .faq-icon {
            width: 2rem;
            height: 2rem;
            border-radius: 0.5rem;
            background: var(--bg);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            font-size: 0.75rem;
            transition: all 0.3s ease;
            flex-shrink: 0;
        }
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.45s ease, padding 0.45s ease;
            padding: 0 1.5rem;
            font-size: 0.9rem;
            color: var(--text-muted);
            line-height: 1.75;
        }
        .faq-open .faq-answer {
            max-height: 400px;
            padding-bottom: 1.25rem;
        }
        .faq-open .faq-icon {
            background: var(--primary);
            color: #fff;
            transform: rotate(45deg);
        }
        .card-image {
            overflow: hidden;
        }
        .card-image img {
            transition: transform 0.5s ease;
        }
        .card-image:hover img {
            transform: scale(1.05);
        }
        .game-card {
            transition: all 0.3s ease;
        }
        .game-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
        }
        .cta-section {
            position: relative;
            overflow: hidden;
        }
        .cta-section::before {
            content: '';
            position: absolute;
            top: -60%;
            right: -20%;
            width: 500px;
            height: 500px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, transparent 70%);
        }
        .cta-section::after {
            content: '';
            position: absolute;
            bottom: -60%;
            left: -10%;
            width: 400px;
            height: 400px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
        }
        ::-webkit-scrollbar {
            width: 6px;
            height: 6px;
        }
        ::-webkit-scrollbar-thumb {
            background: rgba(100, 116, 139, 0.3);
            border-radius: 3px;
        }
        ::-webkit-scrollbar-track {
            background: transparent;
        }
        a:focus-visible,
        button:focus-visible {
            outline: 2px solid #6366f1;
            outline-offset: 2px;
            border-radius: 0.25rem;
        }
        .badge {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            padding: 0.25rem 0.75rem;
            border-radius: 9999px;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.02em;
        }
        .badge-indigo {
            background: rgba(99, 102, 241, 0.1);
            color: #4f46e5;
        }
        .badge-amber {
            background: rgba(245, 158, 11, 0.1);
            color: #b45309;
        }
        .badge-emerald {
            background: rgba(16, 185, 129, 0.1);
            color: #059669;
        }
        .section-label {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.8rem;
            font-weight: 600;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: var(--primary);
            background: rgba(99, 102, 241, 0.08);
            padding: 0.4rem 1rem;
            border-radius: 9999px;
        }

/* roulang page: article */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #a5b4fc;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --bg: #f1f5f9;
    --card: #ffffff;
    --text: #1e293b;
    --text-weak: #64748b;
    --border: #e2e8f0;
    --radius: 16px;
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.07);
    --shadow-lg: 0 10px 30px -5px rgb(0 0 0 / 0.08);
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  img { max-width: 100%; height: auto; }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; }

  .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.875rem;
    border-radius: 0.75rem;
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
  }
  .nav-link:hover {
    background: rgba(255,255,255,0.08);
    color: #e2e8f0;
  }
  .nav-link.active {
    background: rgba(99,102,241,0.2);
    color: #c7d2fe;
    font-weight: 600;
  }
  .nav-link i {
    font-size: 0.95rem;
  }

  .sidebar-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .sidebar-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
  }
  .sidebar-scroll::-webkit-scrollbar { width: 4px; }
  .sidebar-scroll::-webkit-scrollbar-track { background: transparent; }
  .sidebar-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 4px; }

  .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: rgba(99,102,241,0.12);
    color: #6366f1;
  }

  .tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
  }
  .tag:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #1e293b;
  }

  .article-content {
    font-size: 1.0625rem;
    line-height: 1.9;
    color: #334155;
  }
  .article-content p {
    margin-bottom: 1.25rem;
  }
  .article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
  }
  .article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 1.75rem 0 0.75rem;
  }
  .article-content h4 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #1e293b;
    margin: 1.5rem 0 0.5rem;
  }
  .article-content ul {
    margin: 1rem 0 1.25rem;
    padding-left: 1.5rem;
    list-style: disc;
  }
  .article-content ul li {
    margin-bottom: 0.5rem;
    padding-left: 0.25rem;
  }
  .article-content ol {
    list-style: decimal;
    padding-left: 1.5rem;
    margin: 1rem 0 1.25rem;
  }
  .article-content ol li {
    margin-bottom: 0.5rem;
    padding-left: 0.25rem;
  }
  .article-content blockquote {
    border-left: 4px solid var(--primary);
    background: #f8fafc;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 12px 12px 0;
    color: #475569;
    font-style: italic;
  }
  .article-content img {
    border-radius: 16px;
    margin: 1.5rem 0;
    width: 100%;
    height: auto;
  }
  .article-content a {
    color: var(--primary-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
  }
  .article-content a:hover {
    color: var(--primary);
  }
  .article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9375rem;
  }
  .article-content table th {
    background: #f8fafc;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    text-align: left;
  }
  .article-content table td {
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
  }

  .breadcrumb-link {
    color: #94a3b8;
    transition: color 0.2s;
  }
  .breadcrumb-link:hover {
    color: #ffffff;
  }

  .share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #64748b;
    transition: all 0.25s;
  }
  .share-btn:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px -4px rgba(99,102,241,0.3);
  }

  .hero-back {
    background-image: url('/assets/images/backpic/back-2.png');
  }

  .cta-card {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
  }
  .cta-card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 50%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    pointer-events: none;
  }

  @media (max-width: 640px) {
    .article-content {
      font-size: 1rem;
    }
    .article-content h2 {
      font-size: 1.3rem;
    }
  }

/* roulang page: category2 */
:root {
            --primary: #6366f1;
            --primary-dark: #4f46e5;
            --accent: #f59e0b;
            --bg: #f8fafc;
            --text: #334155;
            --muted: #94a3b8;
            --border: #e2e8f0;
            --radius: 1rem;
            --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
        }
        * {
            box-sizing: border-box;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
            background: var(--bg);
            color: var(--text);
            line-height: 1.6;
        }
        a {
            text-decoration: none;
            color: inherit;
        }
        img {
            display: block;
            max-width: 100%;
        }
        .nav-link {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.7rem 0.9rem;
            border-radius: 0.75rem;
            color: var(--text);
            font-size: 0.9rem;
            font-weight: 500;
            transition: all 0.2s ease;
            border: 1px solid transparent;
        }
        .nav-link:hover {
            background: #f1f5f9;
            color: var(--primary-dark);
        }
        .nav-link.active {
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));
            color: var(--primary-dark);
            border-color: rgba(99, 102, 241, 0.15);
            font-weight: 600;
        }
        .nav-link.active i {
            color: var(--primary);
        }
        .nav-link i {
            font-size: 1rem;
            color: #64748b;
            transition: color 0.2s;
        }
        .nav-link:hover i {
            color: var(--primary);
        }
        .hero-overlay {
            background: linear-gradient(135deg, rgba(30, 27, 75, 0.92), rgba(67, 56, 202, 0.75));
        }
        .text-shadow-hero {
            text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
        }
        .game-card {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid #f1f5f9;
        }
        .game-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 12px 32px rgba(99, 102, 241, 0.12);
            border-color: rgba(99, 102, 241, 0.2);
        }
        .game-card .card-img {
            transition: transform 0.5s ease;
        }
        .game-card:hover .card-img {
            transform: scale(1.05);
        }
        .tag-btn {
            padding: 0.5rem 1.2rem;
            border-radius: 9999px;
            border: 1px solid var(--border);
            background: #fff;
            font-size: 0.85rem;
            font-weight: 500;
            color: var(--text);
            transition: all 0.2s;
            cursor: pointer;
        }
        .tag-btn:hover {
            border-color: var(--primary);
            color: var(--primary);
            background: rgba(99, 102, 241, 0.05);
        }
        .tag-btn.active {
            background: var(--primary);
            border-color: var(--primary);
            color: #fff;
        }
        .stat-card {
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 1.25rem;
            padding: 2rem 1.5rem;
            text-align: center;
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
        }
        .stat-card:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateY(-4px);
        }
        .timeline-item {
            position: relative;
            padding-left: 2.5rem;
            padding-bottom: 2.5rem;
        }
        .timeline-item::before {
            content: '';
            position: absolute;
            left: 0.65rem;
            top: 0.4rem;
            width: 2px;
            height: calc(100% - 1.5rem);
            background: linear-gradient(to bottom, var(--primary), rgba(99, 102, 241, 0.1));
        }
        .timeline-item:last-child::before {
            display: none;
        }
        .timeline-dot {
            position: absolute;
            left: 0;
            top: 0.25rem;
            width: 1.3rem;
            height: 1.3rem;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), #8b5cf6);
            border: 3px solid #fff;
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
        }
        .faq-item {
            border: 1px solid var(--border);
            border-radius: 1rem;
            background: #fff;
            transition: all 0.2s;
        }
        .faq-item summary {
            list-style: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            padding: 1.25rem 1.5rem;
            font-weight: 600;
            color: #1e293b;
        }
        .faq-item summary::-webkit-details-marker {
            display: none;
        }
        .faq-item summary .fa-chevron-down {
            transition: transform 0.3s;
            color: var(--primary);
            font-size: 0.85rem;
        }
        .faq-item[open] summary .fa-chevron-down {
            transform: rotate(180deg);
        }
        .faq-item .faq-content {
            padding: 0 1.5rem 1.25rem;
            color: #64748b;
            font-size: 0.9rem;
            line-height: 1.7;
        }
        .footer-link {
            transition: all 0.2s;
        }
        .footer-link:hover {
            color: #fff;
            transform: translateX(3px);
        }
        .cta-section {
            background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
            position: relative;
            overflow: hidden;
        }
        .cta-section::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(99, 102, 241, 0.3), transparent 70%);
        }
        .btn-primary {
            background: linear-gradient(135deg, var(--primary), #8b5cf6);
            color: #fff !important;
            border-radius: 0.75rem;
            padding: 0.8rem 1.8rem;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }
        .btn-primary:hover {
            box-shadow: 0 8px 28px rgba(99, 102, 241, 0.45);
            transform: translateY(-2px);
        }
        .btn-secondary {
            background: #fff;
            color: var(--primary-dark) !important;
            border: 1px solid rgba(99, 102, 241, 0.3);
            border-radius: 0.75rem;
            padding: 0.8rem 1.8rem;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }
        .btn-secondary:hover {
            background: rgba(99, 102, 241, 0.06);
            transform: translateY(-2px);
        }
        .section-title {
            font-size: 1.4rem;
            font-weight: 700;
            color: #1e293b;
            position: relative;
            display: inline-block;
        }
        .section-title::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 40px;
            height: 3px;
            border-radius: 2px;
            background: linear-gradient(to right, var(--primary), var(--accent));
        }
        .breadcrumb a {
            transition: color 0.2s;
        }
        .breadcrumb a:hover {
            color: var(--primary);
        }
        @media (max-width: 1023px) {
            .section-title {
                font-size: 1.2rem;
            }
        }
        @media (max-width: 640px) {
            .timeline-item {
                padding-left: 2rem;
            }
        }
        .hide-scrollbar::-webkit-scrollbar {
            display: none;
        }
        .hide-scrollbar {
            -ms-overflow-style: none;
            scrollbar-width: none;
        }
        .focus-outline:focus-visible {
            outline: 3px solid rgba(99, 102, 241, 0.4);
            outline-offset: 2px;
            border-radius: 0.5rem;
        }

/* roulang page: category3 */
:root {
            --primary: #6366f1;
            --primary-dark: #4f46e5;
            --accent: #f59e0b;
            --bg: #f8fafc;
            --surface: #ffffff;
            --text: #1e293b;
            --text-muted: #64748b;
            --border: #e2e8f0;
            --radius: 1rem;
            --radius-lg: 1.5rem;
            --shadow: 0 4px 24px rgba(79, 70, 229, 0.08);
            --shadow-lg: 0 16px 48px rgba(79, 70, 229, 0.14);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
            background-color: var(--bg);
            color: var(--text);
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
        }
        a {
            text-decoration: none;
            color: inherit;
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        button {
            cursor: pointer;
            border: none;
            background: none;
            font: inherit;
        }

        /* ===== 侧边栏导航 ===== */
        .nav-link {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.625rem 0.875rem;
            border-radius: 0.75rem;
            color: rgb(148 163 184 / 1);
            font-size: 0.875rem;
            font-weight: 500;
            transition: var(--transition);
        }
        .nav-link:hover {
            background: rgb(255 255 255 / 0.08);
            color: #fff;
            transform: translateX(3px);
        }
        .nav-link.active {
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.9), rgba(139, 92, 246, 0.9));
            color: #fff;
            box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
        }
        .nav-link:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        /* ===== Hero ===== */
        .hero-section {
            position: relative;
            background-image: url('/assets/images/backpic/back-2.png');
            background-size: cover;
            background-position: center;
        }
        .hero-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(105deg, rgba(15, 23, 42, 0.92) 30%, rgba(15, 23, 42, 0.72) 60%, rgba(15, 23, 42, 0.45) 100%);
        }
        .hero-content {
            position: relative;
            z-index: 2;
        }

        /* ===== 卡片 ===== */
        .card-hover {
            transition: var(--transition);
        }
        .card-hover:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
        }

        /* ===== 徽章 ===== */
        .badge-tag {
            display: inline-flex;
            align-items: center;
            gap: 0.375rem;
            padding: 0.25rem 0.75rem;
            border-radius: 999px;
            font-size: 0.75rem;
            font-weight: 600;
            background: rgb(99 102 241 / 0.12);
            color: var(--primary);
            transition: var(--transition);
        }
        .badge-tag:hover {
            background: rgb(99 102 241 / 0.2);
        }
        .badge-tag.active {
            background: var(--primary);
            color: #fff;
            box-shadow: 0 2px 12px rgba(99, 102, 241, 0.3);
        }

        /* ===== 排行数字 ===== */
        .rank-num {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 2rem;
            height: 2rem;
            border-radius: 0.5rem;
            font-weight: 800;
            font-size: 0.875rem;
            background: rgb(241 245 249 / 1);
            color: var(--text-muted);
            flex-shrink: 0;
        }
        .rank-num.top {
            background: linear-gradient(135deg, #f59e0b, #f97316);
            color: #fff;
            box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
        }
        .rank-num.second {
            background: linear-gradient(135deg, #94a3b8, #64748b);
            color: #fff;
        }
        .rank-num.third {
            background: linear-gradient(135deg, #d97706, #b45309);
            color: #fff;
        }

        /* ===== 数据块 ===== */
        .stat-card {
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(8px);
            border-radius: var(--radius);
            padding: 1.5rem;
            text-align: center;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
            transition: var(--transition);
            border: 1px solid rgb(255 255 255 / 0.4);
        }
        .stat-card:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow);
        }

        /* ===== FAQ ===== */
        .faq-item {
            border: 1px solid var(--border);
            border-radius: var(--radius);
            background: #fff;
            transition: var(--transition);
            overflow: hidden;
        }
        .faq-item:hover {
            border-color: rgb(99 102 241 / 0.3);
            box-shadow: 0 4px 16px rgba(99, 102, 241, 0.06);
        }
        .faq-item summary {
            cursor: pointer;
            list-style: none;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1.25rem 1.5rem;
            font-weight: 600;
            color: var(--text);
        }
        .faq-item summary::-webkit-details-marker {
            display: none;
        }
        .faq-item summary .fa-chevron-down {
            transition: transform 0.3s;
            color: var(--primary);
            font-size: 0.875rem;
            flex-shrink: 0;
            margin-left: 1rem;
        }
        .faq-item[open] summary .fa-chevron-down {
            transform: rotate(180deg);
        }
        .faq-item summary:hover {
            color: var(--primary);
        }
        .faq-item .faq-answer {
            padding: 0 1.5rem 1.25rem;
            color: var(--text-muted);
            font-size: 0.875rem;
            line-height: 1.8;
        }

        /* ===== 滚动条 ===== */
        .side-nav-scroll::-webkit-scrollbar {
            width: 4px;
        }
        .side-nav-scroll::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.15);
            border-radius: 4px;
        }

        /* ===== 订阅卡片 ===== */
        .subscribe-card {
            background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
            border-radius: var(--radius-lg);
            position: relative;
            overflow: hidden;
        }
        .subscribe-card::before {
            content: '';
            position: absolute;
            width: 200px;
            height: 200px;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 50%;
            top: -80px;
            right: -60px;
        }
        .subscribe-card::after {
            content: '';
            position: absolute;
            width: 120px;
            height: 120px;
            background: rgba(255, 255, 255, 0.06);
            border-radius: 50%;
            bottom: -50px;
            left: 30px;
        }

        /* ===== 移动端过渡 ===== */
        .mobile-fade {
            transition: opacity 0.3s ease;
        }

        /* ===== 焦点状态 ===== */
        a:focus-visible,
        button:focus-visible,
        input:focus-visible {
            outline: 2px solid var(--primary);
            outline-offset: 2px;
            border-radius: 4px;
        }

        /* ===== 遮罩 ===== */
        #overlay {
            transition: opacity 0.3s;
        }

        /* ===== 时间线 ===== */
        .timeline-dot {
            width: 10px;
            height: 10px;
            background: var(--primary);
            border-radius: 50%;
            box-shadow: 0 0 0 4px rgb(99 102 241 / 0.15);
        }

        /* ===== 响应式微调 ===== */
        @media (max-width: 640px) {
            .hero-section {
                background-position: 65% center;
            }
            .faq-item summary {
                padding: 1rem 1.25rem;
                font-size: 0.875rem;
            }
            .faq-item .faq-answer {
                padding: 0 1.25rem 1rem;
                font-size: 0.8125rem;
            }
        }
