/* roulang page: index */
:root {
            --primary: #1a365d;
            --primary-light: #264773;
            --primary-dark: #0f2440;
            --accent: #d97706;
            --accent-light: #f59e0b;
            --accent-dark: #b45309;
            --blue: #2563eb;
            --blue-light: #3b82f6;
            --success: #059669;
            --bg: #f1f5f9;
            --bg-alt: #e8eef5;
            --card: #ffffff;
            --text: #0f172a;
            --text-soft: #475569;
            --text-muted: #64748b;
            --border: #e2e8f0;
            --border-light: #f1f5f9;
            --radius-sm: 8px;
            --radius: 12px;
            --radius-lg: 16px;
            --radius-xl: 20px;
            --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.03);
            --shadow: 0 2px 6px rgba(0,0,0,0.07), 0 6px 20px rgba(0,0,0,0.04);
            --shadow-lg: 0 4px 16px rgba(0,0,0,0.09), 0 12px 36px rgba(0,0,0,0.05);
            --shadow-xl: 0 8px 28px rgba(0,0,0,0.11), 0 20px 56px rgba(0,0,0,0.06);
            --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            --font-sans: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
            --max-width: 1260px;
        }

        *,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

        html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

        body {
            font-family: var(--font-sans);
            font-size: 16px;
            line-height: 1.65;
            color: var(--text);
            background: var(--bg);
            min-height: 100vh;
        }

        a { text-decoration: none; color: inherit; transition: color var(--transition); }
        img { max-width: 100%; height: auto; display: block; }
        button { cursor: pointer; font-family: inherit; border: none; outline: none; }
        input { font-family: inherit; outline: none; }
        ul, ol { list-style: none; }

        .container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

        /* Header & Nav */
        .site-header {
            background: var(--card);
            border-bottom: 1px solid var(--border);
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: var(--shadow-xs);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            background: rgba(255,255,255,0.94);
        }
        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 62px;
            gap: 16px;
        }
        .logo-wrap {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-shrink: 0;
        }
        .logo-icon {
            width: 38px;
            height: 38px;
            background: var(--primary);
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 18px;
            font-weight: 700;
        }
        .logo-text {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--primary);
            white-space: nowrap;
            letter-spacing: -0.01em;
        }
        .logo-text:hover { color: var(--accent); }

        .nav-main {
            display: flex;
            align-items: center;
            gap: 6px;
            flex: 1;
            justify-content: center;
        }
        .nav-link {
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 0.92rem;
            font-weight: 500;
            color: var(--text-soft);
            transition: all var(--transition);
            white-space: nowrap;
            position: relative;
        }
        .nav-link:hover { color: var(--primary); background: var(--bg-alt); }
        .nav-link.active { color: var(--accent); background: #fef3c7; font-weight: 600; }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-shrink: 0;
        }
        .search-box {
            display: flex;
            align-items: center;
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: 22px;
            padding: 7px 14px;
            gap: 8px;
            transition: all var(--transition);
        }
        .search-box:focus-within {
            border-color: var(--blue-light);
            box-shadow: 0 0 0 3px rgba(37,99,235,0.08);
            background: #fff;
        }
        .search-box input {
            border: none;
            background: transparent;
            font-size: 0.88rem;
            width: 140px;
            color: var(--text);
        }
        .search-box input::placeholder { color: var(--text-muted); }
        .search-box .fa-search { color: var(--text-muted); font-size: 0.85rem; }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 9px 20px;
            border-radius: 22px;
            font-size: 0.9rem;
            font-weight: 600;
            transition: all var(--transition);
            white-space: nowrap;
            letter-spacing: 0.01em;
        }
        .btn-outline {
            border: 2px solid var(--primary);
            color: var(--primary);
            background: transparent;
        }
        .btn-outline:hover {
            background: var(--primary);
            color: #fff;
            box-shadow: var(--shadow);
        }
        .btn-primary {
            background: var(--accent);
            color: #fff;
            border: 2px solid var(--accent);
            box-shadow: var(--shadow-sm);
        }
        .btn-primary:hover {
            background: var(--accent-dark);
            border-color: var(--accent-dark);
            box-shadow: var(--shadow-lg);
            transform: translateY(-1px);
        }
        .btn-lg {
            padding: 13px 28px;
            font-size: 1rem;
            border-radius: 26px;
        }
        .btn-white {
            background: #fff;
            color: var(--primary);
            border: 2px solid #fff;
        }
        .btn-white:hover {
            background: #f8fafc;
            box-shadow: var(--shadow-lg);
        }

        .hamburger {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            padding: 6px;
            background: none;
            border: none;
        }
        .hamburger span {
            width: 24px;
            height: 2.5px;
            background: var(--primary);
            border-radius: 3px;
            transition: all var(--transition);
        }

        /* Hero */
        .hero {
            position: relative;
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--primary-light) 100%);
            background-image: url('/assets/images/backpic/back-1.png');
            background-size: cover;
            background-position: center;
            background-blend-mode: overlay;
            padding: 90px 0 100px;
            text-align: center;
            color: #fff;
            overflow: hidden;
        }
        .hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.06) 0%, transparent 70%);
            pointer-events: none;
        }
        .hero .container { position: relative; z-index: 1; }
        .hero-badge {
            display: inline-block;
            background: rgba(255,255,255,0.15);
            border: 1px solid rgba(255,255,255,0.25);
            border-radius: 20px;
            padding: 6px 18px;
            font-size: 0.85rem;
            font-weight: 500;
            margin-bottom: 24px;
            letter-spacing: 0.02em;
            backdrop-filter: blur(4px);
        }
        .hero h1 {
            font-size: clamp(2rem, 4.5vw, 3.2rem);
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 18px;
            letter-spacing: -0.02em;
        }
        .hero h1 span { color: var(--accent-light); }
        .hero-desc {
            font-size: 1.15rem;
            color: rgba(255,255,255,0.85);
            max-width: 620px;
            margin: 0 auto 32px;
            line-height: 1.6;
        }
        .hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
        .hero-stats {
            display: flex;
            gap: 36px;
            justify-content: center;
            margin-top: 44px;
            flex-wrap: wrap;
        }
        .hero-stat {
            text-align: center;
        }
        .hero-stat-num {
            font-size: 2rem;
            font-weight: 800;
            color: var(--accent-light);
        }
        .hero-stat-label {
            font-size: 0.85rem;
            color: rgba(255,255,255,0.7);
            margin-top: 2px;
        }

        /* Sections */
        .section { padding: 72px 0; }
        .section-header {
            text-align: center;
            margin-bottom: 48px;
        }
        .section-tag {
            display: inline-block;
            background: #fef3c7;
            color: var(--accent-dark);
            font-size: 0.8rem;
            font-weight: 600;
            padding: 5px 14px;
            border-radius: 16px;
            margin-bottom: 12px;
            letter-spacing: 0.03em;
            text-transform: uppercase;
        }
        .section-title {
            font-size: clamp(1.5rem, 3vw, 2rem);
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 10px;
            letter-spacing: -0.01em;
        }
        .section-subtitle {
            color: var(--text-muted);
            font-size: 1rem;
            max-width: 560px;
            margin: 0 auto;
        }

        /* Feature Cards */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }
        .feature-card {
            background: var(--card);
            border-radius: var(--radius-lg);
            padding: 32px 28px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
            transition: all var(--transition);
            text-align: center;
        }
        .feature-card:hover {
            box-shadow: var(--shadow-lg);
            transform: translateY(-3px);
            border-color: transparent;
        }
        .feature-icon {
            width: 56px;
            height: 56px;
            border-radius: var(--radius);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 18px;
            font-size: 1.5rem;
        }
        .feature-icon.blue { background: #eff6ff; color: var(--blue); }
        .feature-icon.amber { background: #fffbeb; color: var(--accent); }
        .feature-icon.green { background: #ecfdf5; color: var(--success); }
        .feature-card h3 {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 8px;
            color: var(--primary);
        }
        .feature-card p {
            font-size: 0.9rem;
            color: var(--text-muted);
            line-height: 1.55;
        }

        /* Category Entry */
        .category-entry-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 24px;
        }
        .category-card {
            background: var(--card);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
            transition: all var(--transition);
            display: flex;
            flex-direction: column;
        }
        .category-card:hover {
            box-shadow: var(--shadow-xl);
            transform: translateY(-4px);
            border-color: transparent;
        }
        .category-card-img {
            height: 180px;
            overflow: hidden;
            position: relative;
        }
        .category-card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }
        .category-card:hover .category-card-img img { transform: scale(1.06); }
        .category-card-body {
            padding: 20px 22px 24px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .category-card-body h3 {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 6px;
        }
        .category-card-body p {
            font-size: 0.88rem;
            color: var(--text-muted);
            line-height: 1.5;
            flex: 1;
            margin-bottom: 14px;
        }
        .category-card-body .btn { align-self: flex-start; }

        /* Info List */
        .info-list-section { background: var(--card); border-radius: var(--radius-xl); padding: 40px 36px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); }
        .info-list-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
        .info-list-header h3 { font-size: 1.25rem; font-weight: 700; color: var(--primary); }
        .info-list-header .badge { background: #fef3c7; color: var(--accent-dark); padding: 5px 12px; border-radius: 14px; font-size: 0.78rem; font-weight: 600; }
        .info-list {
            display: grid;
            gap: 12px;
        }
        .info-card {
            display: flex;
            align-items: flex-start;
            gap: 16px;
            padding: 16px 18px;
            border-radius: var(--radius);
            background: var(--bg);
            transition: all var(--transition);
            border: 1px solid transparent;
        }
        .info-card:hover {
            background: #fff;
            border-color: var(--border);
            box-shadow: var(--shadow-sm);
        }
        .info-card-thumb {
            width: 56px;
            height: 56px;
            border-radius: var(--radius-sm);
            flex-shrink: 0;
            overflow: hidden;
            background: var(--bg-alt);
        }
        .info-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
        .info-card-content { flex: 1; min-width: 0; }
        .info-card-content h4 {
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 4px;
            line-height: 1.35;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .info-card-content p {
            font-size: 0.83rem;
            color: var(--text-muted);
            line-height: 1.45;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            margin-bottom: 4px;
        }
        .info-meta {
            font-size: 0.76rem;
            color: var(--text-muted);
            display: flex;
            gap: 10px;
            align-items: center;
        }
        .info-meta .tag {
            background: #e8eef5;
            color: var(--primary-light);
            padding: 2px 8px;
            border-radius: 10px;
            font-weight: 500;
            font-size: 0.73rem;
        }
        .empty-hint {
            text-align: center;
            color: var(--text-muted);
            padding: 36px;
            font-size: 0.95rem;
        }

        /* Tags Cloud */
        .tags-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
        }
        .tag-pill {
            padding: 8px 18px;
            border-radius: 20px;
            font-size: 0.88rem;
            font-weight: 500;
            background: #fff;
            border: 1px solid var(--border);
            color: var(--text-soft);
            transition: all var(--transition);
            cursor: pointer;
        }
        .tag-pill:hover {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
            box-shadow: var(--shadow);
        }
        .tag-pill.hot {
            background: #fef3c7;
            border-color: #fcd34d;
            color: var(--accent-dark);
            font-weight: 600;
        }

        /* Stats Bar */
        .stats-bar {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            text-align: center;
        }
        .stat-item {
            background: var(--card);
            border-radius: var(--radius-lg);
            padding: 28px 20px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
            transition: all var(--transition);
        }
        .stat-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
        .stat-num { font-size: 2.2rem; font-weight: 800; color: var(--accent); }
        .stat-label { font-size: 0.88rem; color: var(--text-muted); margin-top: 4px; }

        /* FAQ */
        .faq-list {
            max-width: 760px;
            margin: 0 auto;
            display: grid;
            gap: 12px;
        }
        .faq-item {
            background: var(--card);
            border-radius: var(--radius);
            border: 1px solid var(--border-light);
            overflow: hidden;
            transition: all var(--transition);
        }
        .faq-item:hover { box-shadow: var(--shadow); }
        .faq-q {
            padding: 18px 22px;
            font-weight: 600;
            font-size: 1rem;
            color: var(--primary);
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            user-select: none;
            gap: 12px;
        }
        .faq-q i { transition: transform var(--transition); color: var(--text-muted); font-size: 0.8rem; }
        .faq-a {
            padding: 0 22px 18px;
            font-size: 0.9rem;
            color: var(--text-soft);
            line-height: 1.6;
            display: none;
        }
        .faq-item.open .faq-a { display: block; }
        .faq-item.open .faq-q i { transform: rotate(180deg); color: var(--accent); }

        /* CTA */
        .cta-section {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            background-image: url('/assets/images/backpic/back-2.png');
            background-size: cover;
            background-position: center;
            background-blend-mode: overlay;
            color: #fff;
            text-align: center;
            border-radius: var(--radius-xl);
            padding: 56px 40px;
            position: relative;
            overflow: hidden;
        }
        .cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse at 70% 30%, rgba(255,255,255,0.08) 0%, transparent 60%);
            pointer-events: none;
        }
        .cta-section .container { position: relative; z-index: 1; }
        .cta-section h2 {
            font-size: clamp(1.5rem, 3vw, 2rem);
            font-weight: 700;
            margin-bottom: 12px;
        }
        .cta-section p {
            color: rgba(255,255,255,0.8);
            margin-bottom: 24px;
            font-size: 1rem;
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Footer */
        .site-footer {
            background: var(--primary-dark);
            color: rgba(255,255,255,0.7);
            padding: 48px 0 28px;
            margin-top: 20px;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 36px;
            margin-bottom: 36px;
        }
        .footer-brand .logo-text { color: #fff; font-size: 1.2rem; }
        .footer-brand p { margin-top: 10px; font-size: 0.88rem; line-height: 1.55; color: rgba(255,255,255,0.55); }
        .footer-col h4 {
            color: #fff;
            font-weight: 600;
            font-size: 0.95rem;
            margin-bottom: 14px;
            letter-spacing: 0.01em;
        }
        .footer-col a {
            display: block;
            color: rgba(255,255,255,0.55);
            font-size: 0.85rem;
            padding: 4px 0;
            transition: color var(--transition);
        }
        .footer-col a:hover { color: var(--accent-light); }
        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 20px;
            text-align: center;
            font-size: 0.82rem;
            color: rgba(255,255,255,0.4);
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .features-grid { grid-template-columns: repeat(2, 1fr); }
            .stats-bar { grid-template-columns: repeat(2, 1fr); }
            .footer-grid { grid-template-columns: 1fr 1fr; }
            .search-box input { width: 100px; }
        }
        @media (max-width: 768px) {
            .nav-main { display: none; }
            .nav-main.mobile-open {
                display: flex;
                flex-direction: column;
                position: absolute;
                top: 62px;
                left: 0;
                right: 0;
                background: #fff;
                border-bottom: 1px solid var(--border);
                padding: 16px 20px;
                gap: 4px;
                box-shadow: var(--shadow-lg);
                z-index: 999;
            }
            .hamburger { display: flex; }
            .search-box { display: none; }
            .header-actions .btn-outline { display: none; }
            .hero { padding: 56px 0 60px; }
            .hero-stats { gap: 20px; }
            .features-grid { grid-template-columns: 1fr; }
            .section { padding: 48px 0; }
            .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 12px; }
            .info-list-section { padding: 24px 18px; }
            .footer-grid { grid-template-columns: 1fr; gap: 24px; }
            .cta-section { padding: 36px 20px; border-radius: var(--radius-lg); }
            .category-entry-grid { grid-template-columns: 1fr; }
        }
        @media (max-width: 520px) {
            .hero h1 { font-size: 1.6rem; }
            .hero-desc { font-size: 0.95rem; }
            .hero-btns { flex-direction: column; align-items: center; }
            .hero-stats { gap: 14px; }
            .hero-stat-num { font-size: 1.4rem; }
            .stats-bar { grid-template-columns: 1fr 1fr; gap: 8px; }
            .stat-num { font-size: 1.5rem; }
            .btn-lg { padding: 11px 22px; font-size: 0.9rem; }
            .container { padding: 0 14px; }
            .logo-text { font-size: 0.95rem; }
        }

/* roulang page: article */
:root {
            --primary: #5b3cc4;
            --primary-light: #7c5ce7;
            --primary-dark: #4329a8;
            --accent: #f57c3c;
            --accent-light: #ff9a5c;
            --accent-dark: #d4622a;
            --bg: #f7f5fc;
            --bg-alt: #ede8f8;
            --surface: #ffffff;
            --surface-hover: #faf8ff;
            --text: #1a1530;
            --text-secondary: #5c5575;
            --text-muted: #8c85a5;
            --text-inverse: #ffffff;
            --border: #e2ddf0;
            --border-light: #f0edf7;
            --radius-sm: 6px;
            --radius: 10px;
            --radius-lg: 16px;
            --radius-xl: 20px;
            --radius-full: 50px;
            --shadow-xs: 0 1px 2px rgba(91, 60, 196, 0.04);
            --shadow-sm: 0 2px 8px rgba(91, 60, 196, 0.06);
            --shadow: 0 4px 16px rgba(91, 60, 196, 0.08);
            --shadow-lg: 0 8px 32px rgba(91, 60, 196, 0.10);
            --shadow-xl: 0 16px 48px rgba(91, 60, 196, 0.12);
            --font-sans: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
            --transition-fast: 0.15s ease;
            --transition: 0.25s ease;
            --transition-slow: 0.35s ease;
            --header-height: 64px;
            --max-width: 1280px;
            --content-max-width: 820px;
            --sidebar-width: 340px;
        }

        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        body {
            font-family: var(--font-sans);
            font-size: 16px;
            line-height: 1.7;
            color: var(--text);
            background-color: var(--bg);
            min-height: 100vh;
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: color var(--transition-fast);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        button, input, textarea {
            font-family: inherit;
            font-size: inherit;
        }

        button {
            cursor: pointer;
            border: none;
            background: none;
        }

        ul, ol {
            list-style: none;
        }

        .container {
            width: 100%;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
        }

        /* ========== HEADER ========== */
        .site-header {
            position: sticky;
            top: 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);
            transition: box-shadow var(--transition);
        }

        .site-header.scrolled {
            box-shadow: var(--shadow);
        }

        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 100%;
            gap: 20px;
        }

        .logo-area {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-shrink: 0;
        }

        .logo-icon {
            width: 38px;
            height: 38px;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 18px;
            font-weight: 700;
            flex-shrink: 0;
        }

        .logo-text {
            font-size: 17px;
            font-weight: 700;
            color: var(--text);
            white-space: nowrap;
            letter-spacing: -0.3px;
        }

        .logo-text .logo-highlight {
            color: var(--primary);
        }

        .nav-main {
            display: flex;
            align-items: center;
            gap: 6px;
            flex-shrink: 0;
        }

        .nav-link {
            padding: 8px 16px;
            border-radius: var(--radius-full);
            font-size: 14.5px;
            font-weight: 500;
            color: var(--text-secondary);
            transition: all var(--transition-fast);
            white-space: nowrap;
            position: relative;
        }

        .nav-link:hover {
            color: var(--primary);
            background: var(--bg-alt);
        }

        .nav-link.active {
            color: var(--primary);
            background: var(--bg-alt);
            font-weight: 600;
        }

        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: 2px;
            left: 50%;
            transform: translateX(-50%);
            width: 20px;
            height: 3px;
            background: var(--primary);
            border-radius: 3px;
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-shrink: 0;
        }

        .btn-search-header {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-secondary);
            background: var(--bg);
            transition: all var(--transition-fast);
            font-size: 15px;
        }

        .btn-search-header:hover {
            color: var(--primary);
            background: var(--bg-alt);
        }

        .btn-header-cta {
            padding: 9px 20px;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: var(--text-inverse);
            font-weight: 600;
            font-size: 14px;
            border-radius: var(--radius-full);
            transition: all var(--transition-fast);
            white-space: nowrap;
            box-shadow: 0 2px 8px rgba(91, 60, 196, 0.25);
        }

        .btn-header-cta:hover {
            background: linear-gradient(135deg, var(--primary-dark), var(--primary));
            box-shadow: 0 4px 16px rgba(91, 60, 196, 0.35);
            transform: translateY(-1px);
        }

        .mobile-menu-toggle {
            display: none;
            width: 38px;
            height: 38px;
            border-radius: var(--radius-sm);
            align-items: center;
            justify-content: center;
            color: var(--text);
            background: var(--bg);
            font-size: 20px;
            flex-shrink: 0;
        }

        /* ========== BREADCRUMB ========== */
        .breadcrumb-bar {
            padding: 16px 0;
            background: var(--surface);
            border-bottom: 1px solid var(--border-light);
        }

        .breadcrumb-inner {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
            font-size: 13.5px;
            color: var(--text-muted);
        }

        .breadcrumb-inner a {
            color: var(--text-muted);
            transition: color var(--transition-fast);
        }

        .breadcrumb-inner a:hover {
            color: var(--primary);
        }

        .breadcrumb-sep {
            font-size: 11px;
            color: var(--border);
        }

        .breadcrumb-current {
            color: var(--text);
            font-weight: 500;
            max-width: 360px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        /* ========== ARTICLE LAYOUT ========== */
        .article-page {
            padding: 32px 0 60px;
        }

        .article-layout {
            display: flex;
            gap: 36px;
            align-items: flex-start;
        }

        .article-main {
            flex: 1;
            min-width: 0;
            max-width: var(--content-max-width);
        }

        .article-sidebar {
            width: var(--sidebar-width);
            flex-shrink: 0;
            position: sticky;
            top: calc(var(--header-height) + 24px);
        }

        /* ========== ARTICLE HEADER ========== */
        .article-card-main {
            background: var(--surface);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-sm);
            overflow: hidden;
            border: 1px solid var(--border-light);
        }

        .article-cover {
            width: 100%;
            aspect-ratio: 16 / 7;
            object-fit: cover;
            background: var(--bg-alt);
        }

        .article-body-padding {
            padding: 32px 36px 40px;
        }

        .article-category-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 5px 14px;
            background: var(--bg-alt);
            color: var(--primary);
            font-size: 13px;
            font-weight: 600;
            border-radius: var(--radius-full);
            margin-bottom: 16px;
            transition: all var(--transition-fast);
        }

        .article-category-badge:hover {
            background: var(--primary);
            color: #fff;
        }

        .article-category-badge .badge-dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--primary);
            transition: background var(--transition-fast);
        }

        .article-category-badge:hover .badge-dot {
            background: #fff;
        }

        .article-title-h1 {
            font-size: 28px;
            font-weight: 700;
            line-height: 1.35;
            color: var(--text);
            margin-bottom: 16px;
            letter-spacing: -0.4px;
        }

        .article-meta-row {
            display: flex;
            align-items: center;
            gap: 18px;
            flex-wrap: wrap;
            font-size: 13.5px;
            color: var(--text-muted);
            padding-bottom: 20px;
            border-bottom: 1px solid var(--border-light);
            margin-bottom: 24px;
        }

        .article-meta-item {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .article-meta-item i {
            font-size: 13px;
            color: var(--text-muted);
        }

        .meta-badge-count {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 3px 10px;
            background: var(--bg);
            border-radius: var(--radius-full);
            font-weight: 600;
            font-size: 12.5px;
            color: var(--text-secondary);
        }

        .meta-badge-count.hot {
            background: #fff5f0;
            color: var(--accent);
        }

        /* ========== ARTICLE CONTENT ========== */
        .article-content {
            font-size: 16px;
            line-height: 1.85;
            color: var(--text);
        }

        .article-content h2 {
            font-size: 22px;
            font-weight: 700;
            margin: 32px 0 14px;
            color: var(--text);
            padding-left: 14px;
            border-left: 4px solid var(--primary);
            line-height: 1.3;
        }

        .article-content h3 {
            font-size: 18px;
            font-weight: 600;
            margin: 24px 0 10px;
            color: var(--text);
        }

        .article-content p {
            margin-bottom: 16px;
            color: var(--text-secondary);
        }

        .article-content ul, .article-content ol {
            margin-bottom: 16px;
            padding-left: 24px;
        }

        .article-content ul {
            list-style: disc;
        }

        .article-content ol {
            list-style: decimal;
        }

        .article-content li {
            margin-bottom: 8px;
            color: var(--text-secondary);
        }

        .article-content strong {
            color: var(--text);
            font-weight: 600;
        }

        .article-content a {
            color: var(--primary);
            font-weight: 500;
            text-decoration: underline;
            text-underline-offset: 3px;
        }

        .article-content a:hover {
            color: var(--primary-dark);
        }

        .article-content blockquote {
            margin: 20px 0;
            padding: 16px 20px;
            background: var(--bg);
            border-left: 4px solid var(--accent);
            border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
            color: var(--text-secondary);
            font-style: italic;
        }

        .article-content .highlight-box {
            margin: 20px 0;
            padding: 18px 22px;
            background: linear-gradient(135deg, #fdfbff, #f7f2ff);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            font-weight: 500;
            color: var(--text);
        }

        /* ========== ARTICLE TAGS ========== */
        .article-tags-section {
            margin-top: 28px;
            padding-top: 20px;
            border-top: 1px solid var(--border-light);
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
        }

        .article-tags-label {
            font-size: 13px;
            font-weight: 600;
            color: var(--text-muted);
            flex-shrink: 0;
        }

        .article-tag {
            display: inline-block;
            padding: 6px 14px;
            background: var(--bg);
            color: var(--text-secondary);
            font-size: 13px;
            border-radius: var(--radius-full);
            transition: all var(--transition-fast);
            border: 1px solid transparent;
        }

        .article-tag:hover {
            background: var(--bg-alt);
            color: var(--primary);
            border-color: var(--border);
        }

        /* ========== ARTICLE NOT FOUND ========== */
        .not-found-card {
            background: var(--surface);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-sm);
            padding: 60px 40px;
            text-align: center;
            border: 1px solid var(--border-light);
        }

        .not-found-icon {
            font-size: 56px;
            color: var(--border);
            margin-bottom: 20px;
        }

        .not-found-card h2 {
            font-size: 22px;
            color: var(--text);
            margin-bottom: 10px;
        }

        .not-found-card p {
            color: var(--text-muted);
            margin-bottom: 24px;
        }

        .btn-back-home {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 24px;
            background: var(--primary);
            color: #fff;
            font-weight: 600;
            font-size: 14px;
            border-radius: var(--radius-full);
            transition: all var(--transition-fast);
            box-shadow: 0 2px 8px rgba(91, 60, 196, 0.2);
        }

        .btn-back-home:hover {
            background: var(--primary-dark);
            box-shadow: 0 4px 16px rgba(91, 60, 196, 0.3);
            transform: translateY(-1px);
        }

        /* ========== RELATED POSTS ========== */
        .related-section {
            margin-top: 32px;
        }

        .related-section-title {
            font-size: 19px;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 18px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .related-section-title::before {
            content: '';
            width: 4px;
            height: 20px;
            background: var(--primary);
            border-radius: 2px;
        }

        .related-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 16px;
        }

        .related-card {
            background: var(--surface);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow-xs);
            border: 1px solid var(--border-light);
            transition: all var(--transition);
        }

        .related-card:hover {
            box-shadow: var(--shadow);
            transform: translateY(-2px);
            border-color: var(--border);
        }

        .related-card-img {
            width: 100%;
            aspect-ratio: 16 / 9;
            object-fit: cover;
            background: var(--bg-alt);
        }

        .related-card-body {
            padding: 14px 16px 16px;
        }

        .related-card-title {
            font-size: 14.5px;
            font-weight: 600;
            color: var(--text);
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            transition: color var(--transition-fast);
        }

        .related-card:hover .related-card-title {
            color: var(--primary);
        }

        .related-card-meta {
            font-size: 12px;
            color: var(--text-muted);
            margin-top: 8px;
        }

        /* ========== SIDEBAR ========== */
        .sidebar-card {
            background: var(--surface);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
            padding: 22px 20px;
            margin-bottom: 20px;
        }

        .sidebar-card-title {
            font-size: 16px;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .sidebar-card-title i {
            color: var(--primary);
            font-size: 15px;
        }

        .sidebar-hot-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .sidebar-hot-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 10px;
            border-radius: var(--radius-sm);
            transition: all var(--transition-fast);
            cursor: pointer;
        }

        .sidebar-hot-item:hover {
            background: var(--bg);
        }

        .hot-rank-num {
            width: 26px;
            height: 26px;
            border-radius: var(--radius-sm);
            background: var(--bg);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            font-weight: 700;
            color: var(--text-muted);
            flex-shrink: 0;
        }

        .sidebar-hot-item:nth-child(1) .hot-rank-num {
            background: #fff0e8;
        }
        .sidebar-hot-item:nth-child(2) .hot-rank-num {
            background: #fff0e8;
        }
        .sidebar-hot-item:nth-child(3) .hot-rank-num {
            background: #fff8e8;
        }

        .hot-rank-info {
            flex: 1;
            min-width: 0;
        }

        .hot-rank-title {
            font-size: 14px;
            font-weight: 500;
            color: var(--text);
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            transition: color var(--transition-fast);
        }

        .sidebar-hot-item:hover .hot-rank-title {
            color: var(--primary);
        }

        .hot-rank-meta {
            font-size: 12px;
            color: var(--text-muted);
            margin-top: 4px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .sidebar-tags-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .sidebar-tag {
            padding: 5px 12px;
            background: var(--bg);
            color: var(--text-secondary);
            font-size: 12.5px;
            border-radius: var(--radius-full);
            transition: all var(--transition-fast);
            border: 1px solid transparent;
            cursor: pointer;
        }

        .sidebar-tag:hover {
            background: var(--bg-alt);
            color: var(--primary);
            border-color: var(--border);
        }

        .sidebar-tip {
            background: linear-gradient(135deg, #fdf8f3, #fff5ee);
            border: 1px solid #ffe8d6;
            border-radius: var(--radius-lg);
            padding: 20px;
            box-shadow: var(--shadow-xs);
        }

        .sidebar-tip-icon {
            font-size: 28px;
            color: var(--accent);
            margin-bottom: 10px;
        }

        .sidebar-tip h4 {
            font-size: 15px;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 6px;
        }

        .sidebar-tip p {
            font-size: 13px;
            color: var(--text-secondary);
            line-height: 1.5;
            margin-bottom: 14px;
        }

        .btn-tip-cta {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 18px;
            background: var(--accent);
            color: #fff;
            font-weight: 600;
            font-size: 13px;
            border-radius: var(--radius-full);
            transition: all var(--transition-fast);
        }

        .btn-tip-cta:hover {
            background: var(--accent-dark);
            box-shadow: 0 4px 12px rgba(245, 124, 60, 0.3);
        }

        /* ========== FOOTER ========== */
        .site-footer {
            background: #1a1530;
            color: #c5c0d8;
            padding: 48px 0 28px;
            margin-top: 40px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.6fr 1fr 1fr 1fr;
            gap: 36px;
            margin-bottom: 36px;
        }

        .footer-brand .logo-text {
            font-size: 19px;
            font-weight: 700;
            color: #ffffff;
            display: block;
            margin-bottom: 10px;
        }

        .footer-brand p {
            font-size: 13.5px;
            line-height: 1.6;
            color: #a59fc0;
        }

        .footer-col h4 {
            font-size: 15px;
            font-weight: 600;
            color: #ffffff;
            margin-bottom: 14px;
        }

        .footer-col a {
            display: block;
            font-size: 13.5px;
            color: #a59fc0;
            margin-bottom: 9px;
            transition: color var(--transition-fast);
        }

        .footer-col a:hover {
            color: #ffffff;
        }

        .footer-bottom {
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
            font-size: 13px;
            color: #7a7299;
        }

        /* ========== RESPONSIVE ========== */
        @media (max-width: 1024px) {
            .article-layout {
                flex-direction: column;
            }
            .article-main {
                max-width: 100%;
            }
            .article-sidebar {
                width: 100%;
                position: static;
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 16px;
            }
            .sidebar-card, .sidebar-tip {
                margin-bottom: 0;
            }
            .related-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .footer-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (max-width: 768px) {
            .header-inner {
                gap: 12px;
            }
            .nav-main {
                display: none;
            }
            .mobile-menu-toggle {
                display: flex;
            }
            .btn-header-cta {
                padding: 8px 14px;
                font-size: 13px;
            }
            .logo-text {
                font-size: 15px;
            }
            .article-body-padding {
                padding: 20px 18px 28px;
            }
            .article-title-h1 {
                font-size: 22px;
            }
            .article-content {
                font-size: 15px;
            }
            .article-content h2 {
                font-size: 19px;
            }
            .article-sidebar {
                grid-template-columns: 1fr;
            }
            .related-grid {
                grid-template-columns: 1fr;
            }
            .article-meta-row {
                gap: 10px;
                font-size: 12.5px;
            }
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }
            .breadcrumb-current {
                max-width: 180px;
            }
        }

        @media (max-width: 520px) {
            .container {
                padding: 0 14px;
            }
            .article-body-padding {
                padding: 16px 14px 22px;
            }
            .article-title-h1 {
                font-size: 19px;
            }
            .article-cover {
                aspect-ratio: 16 / 9;
            }
            .article-meta-row {
                gap: 8px;
            }
            .sidebar-card {
                padding: 16px 14px;
            }
            .not-found-card {
                padding: 40px 20px;
            }
            .logo-text {
                font-size: 14px;
            }
            .btn-header-cta {
                font-size: 12px;
                padding: 7px 12px;
            }
        }

        /* Mobile nav drawer */
        .mobile-nav-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.45);
            z-index: 1100;
            opacity: 0;
            pointer-events: none;
            transition: opacity var(--transition);
        }
        .mobile-nav-overlay.open {
            opacity: 1;
            pointer-events: auto;
        }
        .mobile-nav-drawer {
            position: fixed;
            top: 0;
            right: -280px;
            width: 280px;
            height: 100%;
            background: #fff;
            z-index: 1200;
            padding: 24px 20px;
            transition: right var(--transition-slow);
            box-shadow: var(--shadow-xl);
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .mobile-nav-drawer.open {
            right: 0;
        }
        .mobile-nav-drawer .nav-link {
            display: block;
            padding: 12px 16px;
            font-size: 15px;
            border-radius: var(--radius);
        }
        .mobile-nav-close {
            align-self: flex-end;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--bg);
            color: var(--text);
            font-size: 18px;
            margin-bottom: 8px;
        }

/* roulang page: category1 */
:root {
            --primary: #1a1a2e;
            --primary-light: #252547;
            --accent: #e84545;
            --accent-hover: #d03030;
            --accent-light: #fff0f0;
            --gold: #f0a500;
            --gold-light: #fff8e6;
            --bg: #f9fafb;
            --bg-white: #ffffff;
            --bg-card: #ffffff;
            --bg-alt: #f1f2f6;
            --text: #1f2937;
            --text-secondary: #6b7280;
            --text-light: #9ca3af;
            --border: #e5e7eb;
            --border-light: #f3f4f6;
            --radius-sm: 8px;
            --radius: 12px;
            --radius-lg: 16px;
            --radius-xl: 20px;
            --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
            --shadow: 0 4px 16px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.04);
            --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08), 0 3px 10px rgba(0, 0, 0, 0.04);
            --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.1), 0 4px 14px rgba(0, 0, 0, 0.05);
            --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.14), 0 6px 20px rgba(0, 0, 0, 0.06);
            --font-sans: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', system-ui, -apple-system, sans-serif;
            --font-mono: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
            --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
            --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            --transition-slow: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
            --max-width: 1260px;
            --nav-height: 68px;
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            font-size: 16px;
        }

        body {
            font-family: var(--font-sans);
            line-height: 1.65;
            color: var(--text);
            background: var(--bg);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            font-size: 1rem;
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: color var(--transition-fast);
        }
        a:hover {
            color: var(--accent);
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        button,
        input,
        select,
        textarea {
            font-family: inherit;
            font-size: inherit;
            border: none;
            outline: none;
            background: none;
        }
        button {
            cursor: pointer;
        }
        ul,
        ol {
            list-style: none;
        }
        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            line-height: 1.3;
            font-weight: 700;
            color: var(--primary);
        }
        h1 {
            font-size: 2.4rem;
            letter-spacing: -0.02em;
        }
        h2 {
            font-size: 1.85rem;
            letter-spacing: -0.01em;
        }
        h3 {
            font-size: 1.35rem;
        }
        h4 {
            font-size: 1.1rem;
        }
        p {
            margin-bottom: 0.75rem;
        }
        p:last-child {
            margin-bottom: 0;
        }

        .container {
            width: 100%;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
        }

        /* ============ HEADER / NAV ============ */
        .site-header {
            position: sticky;
            top: 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);
            height: var(--nav-height);
            display: flex;
            align-items: center;
            transition: box-shadow var(--transition);
        }
        .site-header.scrolled {
            box-shadow: var(--shadow-md);
        }
        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            width: 100%;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
        }
        .logo-area {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-shrink: 0;
        }
        .logo-icon {
            width: 38px;
            height: 38px;
            border-radius: var(--radius-sm);
            background: linear-gradient(135deg, var(--accent), #c0392b);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-weight: 800;
            font-size: 1.1rem;
            letter-spacing: -0.02em;
            flex-shrink: 0;
        }
        .logo-text {
            font-weight: 700;
            font-size: 1.15rem;
            color: var(--primary);
            letter-spacing: -0.01em;
            white-space: nowrap;
        }
        .nav-main {
            display: flex;
            align-items: center;
            gap: 6px;
            flex-shrink: 0;
        }
        .nav-link {
            display: inline-flex;
            align-items: center;
            padding: 8px 16px;
            border-radius: 24px;
            font-weight: 500;
            font-size: 0.95rem;
            color: var(--text-secondary);
            transition: all var(--transition-fast);
            white-space: nowrap;
            position: relative;
        }
        .nav-link:hover {
            color: var(--primary);
            background: var(--bg-alt);
        }
        .nav-link.active {
            color: var(--accent);
            background: var(--accent-light);
            font-weight: 600;
        }
        .nav-link .badge-dot {
            display: inline-block;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--accent);
            margin-left: 5px;
            animation: pulse-dot 2s infinite;
        }
        @keyframes pulse-dot {
            0%,
            100% {
                opacity: 1;
                transform: scale(1);
            }
            50% {
                opacity: 0.5;
                transform: scale(1.6);
            }
        }
        .header-actions {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-shrink: 0;
        }
        .search-mini {
            display: flex;
            align-items: center;
            gap: 8px;
            background: var(--bg-alt);
            border-radius: 24px;
            padding: 8px 14px;
            border: 1px solid transparent;
            transition: all var(--transition-fast);
            width: 180px;
        }
        .search-mini:focus-within {
            border-color: var(--accent);
            background: #fff;
            box-shadow: 0 0 0 3px rgba(232, 69, 69, 0.08);
            width: 220px;
        }
        .search-mini input {
            flex: 1;
            font-size: 0.9rem;
            color: var(--text);
            min-width: 0;
            background: transparent;
        }
        .search-mini input::placeholder {
            color: var(--text-light);
        }
        .search-mini .search-icon {
            color: var(--text-light);
            font-size: 0.95rem;
            flex-shrink: 0;
        }
        .btn-nav-cta {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 9px 18px;
            border-radius: 24px;
            font-weight: 600;
            font-size: 0.9rem;
            background: var(--accent);
            color: #fff;
            transition: all var(--transition-fast);
            white-space: nowrap;
            letter-spacing: 0.01em;
        }
        .btn-nav-cta:hover {
            background: var(--accent-hover);
            color: #fff;
            box-shadow: 0 4px 16px rgba(232, 69, 69, 0.35);
            transform: translateY(-1px);
        }
        .btn-nav-cta:active {
            transform: translateY(0);
            box-shadow: none;
        }
        .mobile-menu-toggle {
            display: none;
            width: 40px;
            height: 40px;
            border-radius: var(--radius-sm);
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            color: var(--text);
            background: var(--bg-alt);
            flex-shrink: 0;
            transition: all var(--transition-fast);
        }
        .mobile-menu-toggle:hover {
            background: var(--border);
        }

        /* ============ MAIN LAYOUT ============ */
        .main-content {
            flex: 1;
            padding: 0 0 60px;
        }

        /* ============ CATEGORY BANNER ============ */
        .cat-banner {
            position: relative;
            padding: 60px 0 50px;
            background: linear-gradient(170deg, #1a1a2e 0%, #252547 40%, #1f1f38 100%);
            overflow: hidden;
        }
        .cat-banner::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-1.png') center/cover no-repeat;
            opacity: 0.18;
            mix-blend-mode: overlay;
            pointer-events: none;
        }
        .cat-banner::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 60px;
            background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
            pointer-events: none;
        }
        .cat-banner .container {
            position: relative;
            z-index: 2;
        }
        .cat-breadcrumb {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 18px;
        }
        .cat-breadcrumb a {
            color: rgba(255, 255, 255, 0.8);
        }
        .cat-breadcrumb a:hover {
            color: #fff;
        }
        .cat-breadcrumb .sep {
            font-size: 0.7rem;
            opacity: 0.5;
        }
        .cat-breadcrumb .current {
            color: #fff;
            font-weight: 500;
        }
        .cat-banner-content {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 24px;
            flex-wrap: wrap;
        }
        .cat-banner-text h1 {
            color: #fff;
            font-size: 2.2rem;
            margin-bottom: 8px;
        }
        .cat-banner-text .cat-subtitle {
            color: rgba(255, 255, 255, 0.75);
            font-size: 1.05rem;
            max-width: 520px;
        }
        .cat-stats-row {
            display: flex;
            gap: 24px;
            flex-wrap: wrap;
        }
        .cat-stat-item {
            text-align: center;
            background: rgba(255, 255, 255, 0.08);
            border-radius: var(--radius);
            padding: 14px 20px;
            backdrop-filter: blur(4px);
            border: 1px solid rgba(255, 255, 255, 0.12);
        }
        .cat-stat-item .stat-num {
            font-size: 1.6rem;
            font-weight: 700;
            color: #fff;
            display: block;
            line-height: 1;
        }
        .cat-stat-item .stat-label {
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.65);
            margin-top: 4px;
        }

        /* ============ CONTENT AREA ============ */
        .content-layout {
            display: grid;
            grid-template-columns: 1fr 320px;
            gap: 32px;
            padding-top: 36px;
        }
        .content-main {}
        .content-sidebar {
            position: sticky;
            top: calc(var(--nav-height) + 32px);
            align-self: start;
            max-height: calc(100vh - var(--nav-height) - 48px);
            overflow-y: auto;
        }

        /* ============ FILTER BAR ============ */
        .filter-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            flex-wrap: wrap;
            background: var(--bg-white);
            border-radius: var(--radius);
            padding: 14px 18px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
            margin-bottom: 24px;
        }
        .filter-tags {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
        }
        .filter-tag {
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
            color: var(--text-secondary);
            background: var(--bg-alt);
            cursor: pointer;
            transition: all var(--transition-fast);
            white-space: nowrap;
            border: 1px solid transparent;
        }
        .filter-tag:hover {
            color: var(--primary);
            background: #e8e9ef;
        }
        .filter-tag.active {
            background: var(--accent);
            color: #fff;
            font-weight: 600;
            border-color: var(--accent);
        }
        .filter-sort {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.85rem;
            color: var(--text-secondary);
        }
        .filter-sort select {
            padding: 6px 12px;
            border-radius: 20px;
            border: 1px solid var(--border);
            background: var(--bg-white);
            color: var(--text);
            font-size: 0.85rem;
            cursor: pointer;
            transition: border-color var(--transition-fast);
        }
        .filter-sort select:focus {
            border-color: var(--accent);
        }

        /* ============ ARTICLE CARDS ============ */
        .article-list {
            display: flex;
            flex-direction: column;
            gap: 18px;
        }
        .article-card {
            display: flex;
            gap: 20px;
            background: var(--bg-white);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
            transition: all var(--transition);
            position: relative;
        }
        .article-card:hover {
            box-shadow: var(--shadow-md);
            transform: translateY(-2px);
            border-color: #e0e0e8;
        }
        .article-card .card-img-wrap {
            flex-shrink: 0;
            width: 240px;
            min-height: 170px;
            position: relative;
            overflow: hidden;
            background: var(--bg-alt);
        }
        .article-card .card-img-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform var(--transition-slow);
        }
        .article-card:hover .card-img-wrap img {
            transform: scale(1.06);
        }
        .article-card .card-img-wrap .card-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            padding: 5px 12px;
            border-radius: 14px;
            font-size: 0.75rem;
            font-weight: 600;
            background: var(--accent);
            color: #fff;
            z-index: 2;
            letter-spacing: 0.02em;
        }
        .article-card .card-body {
            flex: 1;
            padding: 18px 20px 18px 8px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            min-width: 0;
        }
        .article-card .card-meta-top {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 0.8rem;
            color: var(--text-light);
            margin-bottom: 8px;
        }
        .article-card .card-meta-top .meta-tag {
            padding: 3px 10px;
            border-radius: 12px;
            background: var(--gold-light);
            color: #b87800;
            font-weight: 500;
            font-size: 0.75rem;
        }
        .article-card .card-title {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 6px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            line-height: 1.4;
        }
        .article-card .card-title a {
            color: inherit;
        }
        .article-card .card-title a:hover {
            color: var(--accent);
        }
        .article-card .card-excerpt {
            font-size: 0.9rem;
            color: var(--text-secondary);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            line-height: 1.55;
            margin-bottom: 10px;
        }
        .article-card .card-meta-bottom {
            display: flex;
            align-items: center;
            gap: 14px;
            font-size: 0.8rem;
            color: var(--text-light);
            flex-wrap: wrap;
        }
        .article-card .card-meta-bottom .meta-item {
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .article-card .card-meta-bottom .meta-icon {
            font-size: 0.85rem;
        }
        .article-card .card-arrow {
            position: absolute;
            right: 16px;
            bottom: 16px;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: var(--bg-alt);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.85rem;
            color: var(--text-secondary);
            transition: all var(--transition-fast);
            opacity: 0;
            transform: translateX(-4px);
        }
        .article-card:hover .card-arrow {
            opacity: 1;
            transform: translateX(0);
        }

        /* ============ PAGINATION ============ */
        .pagination-wrap {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            margin-top: 32px;
            flex-wrap: wrap;
        }
        .page-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 40px;
            height: 40px;
            border-radius: var(--radius-sm);
            font-weight: 500;
            font-size: 0.9rem;
            color: var(--text-secondary);
            background: var(--bg-white);
            border: 1px solid var(--border);
            transition: all var(--transition-fast);
            cursor: pointer;
        }
        .page-btn:hover {
            border-color: var(--accent);
            color: var(--accent);
            background: var(--accent-light);
        }
        .page-btn.active {
            background: var(--accent);
            color: #fff;
            border-color: var(--accent);
            font-weight: 600;
            pointer-events: none;
        }
        .page-btn.disabled {
            opacity: 0.4;
            pointer-events: none;
        }

        /* ============ SIDEBAR ============ */
        .sidebar-card {
            background: var(--bg-white);
            border-radius: var(--radius-lg);
            padding: 20px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
            margin-bottom: 20px;
        }
        .sidebar-card h4 {
            font-size: 1rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 14px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--accent);
            display: inline-block;
        }
        .sidebar-card .hot-list {
            display: flex;
            flex-direction: column;
            gap: 0;
        }
        .sidebar-card .hot-item {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            padding: 10px 0;
            border-bottom: 1px solid var(--border-light);
            transition: all var(--transition-fast);
            cursor: pointer;
        }
        .sidebar-card .hot-item:last-child {
            border-bottom: none;
        }
        .sidebar-card .hot-item:hover {
            padding-left: 4px;
        }
        .sidebar-card .hot-rank {
            flex-shrink: 0;
            width: 24px;
            height: 24px;
            border-radius: 6px;
            background: var(--bg-alt);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            font-weight: 700;
            color: var(--text-light);
            line-height: 1;
        }
        .sidebar-card .hot-item:nth-child(1) .hot-rank {
            background: #ffe0e0;
            color: #c0392b;
        }
        .sidebar-card .hot-item:nth-child(2) .hot-rank {
            background: #fff3d6;
            color: #b87800;
        }
        .sidebar-card .hot-item:nth-child(3) .hot-rank {
            background: #e8f0fe;
            color: #1a56c4;
        }
        .sidebar-card .hot-info {
            flex: 1;
            min-width: 0;
        }
        .sidebar-card .hot-info .hot-title {
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            line-height: 1.4;
        }
        .sidebar-card .hot-info .hot-views {
            font-size: 0.75rem;
            color: var(--text-light);
            margin-top: 3px;
        }
        .sidebar-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        .sidebar-tag {
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
            background: var(--bg-alt);
            color: var(--text-secondary);
            transition: all var(--transition-fast);
            cursor: pointer;
            border: 1px solid transparent;
        }
        .sidebar-tag:hover {
            background: var(--accent-light);
            color: var(--accent);
            border-color: var(--accent);
        }

        /* ============ CTA SECTION ============ */
        .cta-section {
            margin-top: 48px;
            background: linear-gradient(135deg, #1a1a2e 0%, #252547 60%, #1f1f38 100%);
            border-radius: var(--radius-xl);
            padding: 48px 36px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-2.png') center/cover no-repeat;
            opacity: 0.1;
            mix-blend-mode: overlay;
            pointer-events: none;
        }
        .cta-section>* {
            position: relative;
            z-index: 1;
        }
        .cta-section h3 {
            color: #fff;
            font-size: 1.6rem;
            margin-bottom: 8px;
        }
        .cta-section p {
            color: rgba(255, 255, 255, 0.7);
            max-width: 500px;
            margin: 0 auto 20px;
        }
        .btn-cta-large {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 14px 30px;
            border-radius: 28px;
            font-weight: 600;
            font-size: 1rem;
            background: var(--accent);
            color: #fff;
            transition: all var(--transition);
            letter-spacing: 0.01em;
            box-shadow: 0 8px 28px rgba(232, 69, 69, 0.4);
        }
        .btn-cta-large:hover {
            background: #fff;
            color: var(--accent);
            box-shadow: 0 12px 36px rgba(255, 255, 255, 0.25);
            transform: translateY(-2px);
        }
        .btn-cta-large:active {
            transform: translateY(0);
        }

        /* ============ FOOTER ============ */
        .site-footer {
            background: #1a1a2e;
            color: rgba(255, 255, 255, 0.7);
            padding: 48px 0 24px;
            margin-top: 0;
            font-size: 0.9rem;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr 1fr;
            gap: 32px;
            padding-bottom: 32px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        .footer-brand .logo-text {
            font-size: 1.25rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 8px;
            display: block;
        }
        .footer-brand p {
            color: rgba(255, 255, 255, 0.55);
            font-size: 0.85rem;
            line-height: 1.55;
            max-width: 280px;
        }
        .footer-col h4 {
            color: #fff;
            font-size: 0.95rem;
            font-weight: 600;
            margin-bottom: 12px;
        }
        .footer-col a {
            display: block;
            color: rgba(255, 255, 255, 0.55);
            padding: 5px 0;
            font-size: 0.85rem;
            transition: all var(--transition-fast);
        }
        .footer-col a:hover {
            color: #fff;
            padding-left: 4px;
        }
        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.4);
        }

        /* ============ MOBILE NAV DRAWER ============ */
        .mobile-nav-drawer {
            display: none;
            position: fixed;
            top: 0;
            right: 0;
            width: 280px;
            max-width: 85vw;
            height: 100vh;
            background: #fff;
            z-index: 2000;
            box-shadow: var(--shadow-xl);
            padding: 20px;
            transform: translateX(100%);
            transition: transform var(--transition);
            overflow-y: auto;
        }
        .mobile-nav-drawer.open {
            transform: translateX(0);
        }
        .mobile-nav-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1999;
            opacity: 0;
            transition: opacity var(--transition);
        }
        .mobile-nav-overlay.show {
            opacity: 1;
        }
        .mobile-nav-drawer .drawer-close {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--bg-alt);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            margin-bottom: 16px;
            cursor: pointer;
            transition: all var(--transition-fast);
        }
        .mobile-nav-drawer .drawer-close:hover {
            background: #ddd;
        }
        .mobile-nav-drawer .nav-link {
            display: block;
            padding: 12px 14px;
            border-radius: var(--radius-sm);
            font-size: 1rem;
        }
        .mobile-nav-drawer .btn-nav-cta {
            display: block;
            text-align: center;
            margin-top: 12px;
            border-radius: var(--radius);
            padding: 12px;
        }

        /* ============ RESPONSIVE ============ */
        @media (max-width: 1080px) {
            .content-layout {
                grid-template-columns: 1fr 280px;
                gap: 24px;
            }
            .article-card .card-img-wrap {
                width: 200px;
                min-height: 150px;
            }
            .article-card .card-title {
                font-size: 1.05rem;
            }
        }
        @media (max-width: 900px) {
            .content-layout {
                grid-template-columns: 1fr;
            }
            .content-sidebar {
                position: static;
                max-height: none;
                overflow-y: visible;
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 16px;
            }
            .sidebar-card {
                margin-bottom: 0;
            }
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 24px;
            }
            .footer-brand {
                grid-column: 1 / -1;
            }
        }
        @media (max-width: 768px) {
            .header-actions .search-mini {
                display: none;
            }
            .header-actions .btn-nav-cta {
                padding: 8px 14px;
                font-size: 0.82rem;
            }
            .nav-main {
                gap: 2px;
            }
            .nav-link {
                padding: 7px 11px;
                font-size: 0.85rem;
            }
            .cat-banner {
                padding: 36px 0 32px;
            }
            .cat-banner-content {
                flex-direction: column;
                align-items: flex-start;
            }
            .cat-banner-text h1 {
                font-size: 1.6rem;
            }
            .cat-stats-row {
                gap: 12px;
            }
            .cat-stat-item {
                padding: 10px 14px;
            }
            .cat-stat-item .stat-num {
                font-size: 1.3rem;
            }
            .article-card {
                flex-direction: column;
            }
            .article-card .card-img-wrap {
                width: 100%;
                min-height: 180px;
                max-height: 220px;
            }
            .article-card .card-body {
                padding: 14px 16px 16px;
            }
            .article-card .card-arrow {
                opacity: 1;
                transform: translateX(0);
                right: 12px;
                bottom: 12px;
            }
            .filter-bar {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }
            .cta-section {
                padding: 32px 20px;
            }
            .cta-section h3 {
                font-size: 1.3rem;
            }
            .content-sidebar {
                grid-template-columns: 1fr;
            }
        }
        @media (max-width: 560px) {
            .header-inner {
                gap: 10px;
                padding: 0 14px;
            }
            .container {
                padding: 0 14px;
            }
            .nav-main {
                display: none;
            }
            .header-actions .btn-nav-cta {
                display: none;
            }
            .header-actions .search-mini {
                display: flex;
                width: 140px;
            }
            .header-actions .search-mini:focus-within {
                width: 160px;
            }
            .mobile-menu-toggle {
                display: flex;
            }
            .mobile-nav-drawer {
                display: block;
            }
            .mobile-nav-overlay {
                display: block;
                pointer-events: none;
            }
            .mobile-nav-overlay.show {
                pointer-events: auto;
            }
            .logo-text {
                font-size: 1rem;
            }
            .logo-icon {
                width: 32px;
                height: 32px;
                font-size: 0.9rem;
            }
            .cat-banner-text h1 {
                font-size: 1.4rem;
            }
            .cat-banner-text .cat-subtitle {
                font-size: 0.9rem;
            }
            .cat-stats-row {
                gap: 8px;
            }
            .cat-stat-item {
                padding: 8px 12px;
                border-radius: var(--radius-sm);
            }
            .cat-stat-item .stat-num {
                font-size: 1.1rem;
            }
            .article-card .card-img-wrap {
                min-height: 160px;
                max-height: 190px;
            }
            .article-card .card-title {
                font-size: 1rem;
            }
            .pagination-wrap {
                gap: 4px;
            }
            .page-btn {
                min-width: 34px;
                height: 34px;
                font-size: 0.8rem;
            }
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            .footer-brand p {
                max-width: 100%;
            }
            .site-footer {
                padding: 32px 0 20px;
            }
        }
