/* roulang page: index */
:root {
            --bg-base: #0B0D12;
            --bg-surface-1: #131722;
            --bg-surface-2: #1A202E;
            --brand-gradient: linear-gradient(135deg, #FF3366 0%, #FF6B00 100%);
            --brand-glow: rgba(255, 51, 102, 0.4);
            --cyan-accent: #00F2FE;
            --yellow-accent: #FFD200;
            --text-primary: #F8FAFC;
            --text-secondary: #94A3B8;
            --text-dim: #64748B;
            --border-card: rgba(255, 255, 255, 0.08);
            --border-highlight: rgba(255, 51, 102, 0.35);
        }

        body {
            background-color: var(--bg-base);
            color: var(--text-primary);
            font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
            overflow-x: hidden;
        }

        .gradient-brand-text {
            background: var(--brand-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .gradient-cyan-text {
            background: linear-gradient(135deg, #00F2FE 0%, #4FACFE 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .gradient-brand-bg {
            background: var(--brand-gradient);
        }

        .card-obsidian {
            background-color: rgba(26, 32, 46, 0.82);
            border: 1px solid var(--border-card);
            box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(16px);
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .card-obsidian:hover {
            border-color: rgba(255, 255, 255, 0.22);
            box-shadow: 0 24px 45px -12px rgba(255, 51, 102, 0.15);
            transform: translateY(-3px);
        }

        .badge-capsule {
            display: inline-flex;
            align-items: center;
            padding: 0.25rem 0.75rem;
            border-radius: 9999px;
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 0.05em;
            border: 1px solid rgba(255, 255, 255, 0.15);
            background: rgba(255, 255, 255, 0.05);
        }

        .badge-brand {
            border-color: rgba(255, 51, 102, 0.5);
            background: rgba(255, 51, 102, 0.12);
            color: #FF6B8B;
        }

        .badge-cyan {
            border-color: rgba(0, 242, 254, 0.4);
            background: rgba(0, 242, 254, 0.1);
            color: var(--cyan-accent);
        }

        .btn-brand {
            background: var(--brand-gradient);
            color: #ffffff;
            font-weight: 700;
            transition: all 0.3s ease;
            box-shadow: 0 4px 20px rgba(255, 51, 102, 0.35);
        }

        .btn-brand:hover {
            box-shadow: 0 0 25px rgba(255, 51, 102, 0.65);
            transform: scale(1.02);
        }

        .btn-outline {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.15);
            color: var(--text-primary);
            font-weight: 600;
            transition: all 0.25s ease;
        }

        .btn-outline:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.35);
            color: #ffffff;
        }

        .mega-menu-panel {
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.25s ease;
        }

        .mega-menu-trigger:hover .mega-menu-panel,
        .mega-menu-panel:hover {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .code-grid-bg {
            background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
            background-size: 24px 24px;
        }

/* roulang page: article */
:root {
            --bg-base: #0B0D12;
            --bg-surface-1: #131722;
            --bg-surface-2: #1A202E;
            --brand-gradient: linear-gradient(135deg, #FF3366 0%, #FF6B00 100%);
            --brand-glow: rgba(255, 51, 102, 0.4);
            --cyan-accent: #00F2FE;
            --yellow-accent: #FFD200;
            --text-primary: #F8FAFC;
            --text-secondary: #94A3B8;
            --text-dim: #64748B;
            --border-card: rgba(255, 255, 255, 0.08);
            --border-highlight: rgba(255, 51, 102, 0.35);
        }
        body {
            background-color: var(--bg-base);
            color: var(--text-primary);
            font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
            overflow-x: hidden;
        }
        .gradient-brand-text {
            background: var(--brand-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .gradient-brand-bg {
            background: var(--brand-gradient);
        }
        .card-obsidian {
            background-color: rgba(26, 32, 46, 0.82);
            border: 1px solid var(--border-card);
            box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(16px);
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .card-obsidian:hover {
            border-color: rgba(255, 255, 255, 0.22);
            box-shadow: 0 24px 45px -12px rgba(255, 51, 102, 0.15);
            transform: translateY(-3px);
        }
        .badge-capsule {
            display: inline-flex;
            align-items: center;
            padding: 0.25rem 0.75rem;
            border-radius: 9999px;
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 0.05em;
            border: 1px solid rgba(255, 255, 255, 0.15);
            background: rgba(255, 255, 255, 0.05);
        }
        .badge-brand {
            border-color: rgba(255, 51, 102, 0.5);
            background: rgba(255, 51, 102, 0.12);
            color: #FF6B8B;
        }
        .badge-cyan {
            border-color: rgba(0, 242, 254, 0.4);
            background: rgba(0, 242, 254, 0.1);
            color: var(--cyan-accent);
        }
        .btn-brand {
            background: var(--brand-gradient);
            color: #ffffff;
            font-weight: 700;
            transition: all 0.3s ease;
            box-shadow: 0 4px 20px rgba(255, 51, 102, 0.35);
        }
        .btn-brand:hover {
            box-shadow: 0 0 25px rgba(255, 51, 102, 0.65);
            transform: scale(1.02);
        }
        .btn-outline {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.15);
            color: var(--text-primary);
            font-weight: 600;
            transition: all 0.25s ease;
        }
        .btn-outline:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.35);
            color: #ffffff;
        }
        .mega-menu-panel {
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.25s ease;
        }
        .mega-menu-trigger:hover .mega-menu-panel,
        .mega-menu-panel:hover {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        .code-grid-bg {
            background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
            background-size: 24px 24px;
        }
        /* 文章排版系统 */
        .article-body {
            color: #E2E8F0;
            line-height: 1.85;
            font-size: 1.05rem;
        }
        .article-body h2 {
            font-size: 1.5rem;
            font-weight: 800;
            color: #FFFFFF;
            margin-top: 2.5rem;
            margin-bottom: 1rem;
            padding-left: 0.85rem;
            border-left: 4px solid #FF3366;
            letter-spacing: -0.02em;
        }
        .article-body h3 {
            font-size: 1.25rem;
            font-weight: 700;
            color: #F1F5F9;
            margin-top: 2rem;
            margin-bottom: 0.75rem;
        }
        .article-body p {
            margin-bottom: 1.25rem;
            color: #CBD5E1;
        }
        .article-body ul, .article-body ol {
            margin-bottom: 1.25rem;
            padding-left: 1.5rem;
            color: #CBD5E1;
        }
        .article-body li {
            margin-bottom: 0.5rem;
            list-style-type: disc;
        }
        .article-body blockquote {
            border-left: 3px solid rgba(0, 242, 254, 0.6);
            background: rgba(0, 242, 254, 0.04);
            padding: 1rem 1.25rem;
            margin: 1.5rem 0;
            border-radius: 0 0.75rem 0.75rem 0;
            color: #94A3B8;
        }
        .article-body table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
            font-size: 0.95rem;
            background: rgba(26, 32, 46, 0.6);
            border-radius: 0.75rem;
            overflow: hidden;
            border: 1px solid var(--border-card);
        }
        .article-body th, .article-body td {
            padding: 0.75rem 1rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            text-align: left;
        }
        .article-body th {
            background: rgba(255, 255, 255, 0.04);
            color: #F8FAFC;
            font-weight: 700;
        }
        .article-body img {
            max-width: 100%;
            height: auto;
            border-radius: 1rem;
            margin: 1.5rem 0;
            border: 1px solid var(--border-card);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
        }

/* roulang page: category1 */
:root {
            --bg-base: #0B0D12;
            --bg-surface-1: #131722;
            --bg-surface-2: #1A202E;
            --brand-gradient: linear-gradient(135deg, #FF3366 0%, #FF6B00 100%);
            --brand-glow: rgba(255, 51, 102, 0.4);
            --cyan-accent: #00F2FE;
            --yellow-accent: #FFD200;
            --text-primary: #F8FAFC;
            --text-secondary: #94A3B8;
            --text-dim: #64748B;
            --border-card: rgba(255, 255, 255, 0.08);
            --border-highlight: rgba(255, 51, 102, 0.35);
        }
        body {
            background-color: var(--bg-base);
            color: var(--text-primary);
            font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
            overflow-x: hidden;
        }
        .gradient-brand-text {
            background: var(--brand-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .gradient-brand-bg {
            background: var(--brand-gradient);
        }
        .card-obsidian {
            background-color: rgba(26, 32, 46, 0.82);
            border: 1px solid var(--border-card);
            box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(16px);
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .card-obsidian:hover {
            border-color: rgba(255, 255, 255, 0.22);
            box-shadow: 0 24px 45px -12px rgba(255, 51, 102, 0.15);
            transform: translateY(-3px);
        }
        .badge-capsule {
            display: inline-flex;
            align-items: center;
            padding: 0.25rem 0.75rem;
            border-radius: 9999px;
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 0.05em;
            border: 1px solid rgba(255, 255, 255, 0.15);
            background: rgba(255, 255, 255, 0.05);
        }
        .badge-brand {
            border-color: rgba(255, 51, 102, 0.5);
            background: rgba(255, 51, 102, 0.12);
            color: #FF6B8B;
        }
        .badge-cyan {
            border-color: rgba(0, 242, 254, 0.4);
            background: rgba(0, 242, 254, 0.1);
            color: var(--cyan-accent);
        }
        .btn-brand {
            background: var(--brand-gradient);
            color: #ffffff;
            font-weight: 700;
            transition: all 0.3s ease;
            box-shadow: 0 4px 20px rgba(255, 51, 102, 0.35);
        }
        .btn-brand:hover {
            box-shadow: 0 0 25px rgba(255, 51, 102, 0.65);
            transform: scale(1.02);
        }
        .btn-outline {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.15);
            color: var(--text-primary);
            font-weight: 600;
            transition: all 0.25s ease;
        }
        .btn-outline:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.35);
            color: #ffffff;
        }
        .mega-menu-panel {
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.25s ease;
        }
        .mega-menu-trigger:hover .mega-menu-panel,
        .mega-menu-panel:hover {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        .code-grid-bg {
            background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
            background-size: 24px 24px;
        }
        /* Mobile menu toggle */
        #mobile-menu:checked ~ #mobile-nav {
            display: block;
        }

/* roulang page: category2 */
:root {
            --bg-base: #0B0D12;
            --bg-surface-1: #131722;
            --bg-surface-2: #1A202E;
            --brand-gradient: linear-gradient(135deg, #FF3366 0%, #FF6B00 100%);
            --brand-glow: rgba(255, 51, 102, 0.4);
            --cyan-accent: #00F2FE;
            --yellow-accent: #FFD200;
            --text-primary: #F8FAFC;
            --text-secondary: #94A3B8;
            --text-dim: #64748B;
            --border-card: rgba(255, 255, 255, 0.08);
            --border-highlight: rgba(255, 51, 102, 0.35);
        }
        body {
            background-color: var(--bg-base);
            color: var(--text-primary);
            font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
            overflow-x: hidden;
        }
        .gradient-brand-text {
            background: var(--brand-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .gradient-brand-bg {
            background: var(--brand-gradient);
        }
        .card-obsidian {
            background-color: rgba(26, 32, 46, 0.82);
            border: 1px solid var(--border-card);
            box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(16px);
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .card-obsidian:hover {
            border-color: rgba(255, 255, 255, 0.22);
            box-shadow: 0 24px 45px -12px rgba(255, 51, 102, 0.15);
            transform: translateY(-3px);
        }
        .badge-capsule {
            display: inline-flex;
            align-items: center;
            padding: 0.25rem 0.75rem;
            border-radius: 9999px;
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 0.05em;
            border: 1px solid rgba(255, 255, 255, 0.15);
            background: rgba(255, 255, 255, 0.05);
        }
        .badge-brand {
            border-color: rgba(255, 51, 102, 0.5);
            background: rgba(255, 51, 102, 0.12);
            color: #FF6B8B;
        }
        .badge-cyan {
            border-color: rgba(0, 242, 254, 0.4);
            background: rgba(0, 242, 254, 0.1);
            color: var(--cyan-accent);
        }
        .badge-yellow {
            border-color: rgba(255, 210, 0, 0.4);
            background: rgba(255, 210, 0, 0.1);
            color: var(--yellow-accent);
        }
        .btn-brand {
            background: var(--brand-gradient);
            color: #ffffff;
            font-weight: 700;
            transition: all 0.3s ease;
            box-shadow: 0 4px 20px rgba(255, 51, 102, 0.35);
        }
        .btn-brand:hover {
            box-shadow: 0 0 25px rgba(255, 51, 102, 0.65);
            transform: scale(1.02);
        }
        .btn-outline {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.15);
            color: var(--text-primary);
            font-weight: 600;
            transition: all 0.25s ease;
        }
        .btn-outline:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.35);
            color: #ffffff;
        }
        .mega-menu-panel {
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.25s ease;
        }
        .mega-menu-trigger:hover .mega-menu-panel,
        .mega-menu-panel:hover {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        .code-grid-bg {
            background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
            background-size: 24px 24px;
        }
