/* roulang page: index */
/* ===== Design Variables ===== */
        :root {
            --primary: #0f172a;
            --primary-light: #1e293b;
            --primary-dark: #070e1a;
            --secondary: #1e3a5f;
            --accent: #3b82f6;
            --accent-hover: #2563eb;
            --accent-light: #60a5fa;
            --gold: #f59e0b;
            --gold-hover: #d97706;
            --bg: #f8fafc;
            --bg-card: #ffffff;
            --bg-dark: #0f172a;
            --text: #1e293b;
            --text-light: #64748b;
            --text-white: #f1f5f9;
            --border: #e2e8f0;
            --border-light: #cbd5e1;
            --radius: 12px;
            --radius-sm: 8px;
            --radius-lg: 16px;
            --shadow: 0 4px 20px rgba(0,0,0,0.06);
            --shadow-lg: 0 12px 40px rgba(0,0,0,0.10);
            --shadow-hover: 0 16px 48px rgba(0,0,0,0.14);
            --transition: 0.25s ease;
            --sidebar-width: 240px;
            --header-height: 64px;
            --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            --max-width: 1200px;
        }

        /* ===== Reset & Base ===== */
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
        body {
            font-family: var(--font-sans);
            font-size: 16px;
            line-height: 1.7;
            color: var(--text);
            background: var(--bg);
            display: flex;
            min-height: 100vh;
        }
        a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
        a:hover { color: var(--accent-hover); }
        img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }
        button, input, textarea { font-family: inherit; font-size: inherit; outline: none; }
        button { cursor: pointer; border: none; background: none; }
        ul, ol { list-style: none; }
        h1, h2, h3, h4, h5, h6 { line-height: 1.25; font-weight: 700; color: var(--primary); }
        h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
        h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
        h3 { font-size: clamp(1.15rem, 2.2vw, 1.5rem); }
        p { margin-bottom: 1rem; color: var(--text-light); }
        .container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; width: 100%; }
        .section { padding: 80px 0; }
        .section-title { text-align: center; margin-bottom: 48px; }
        .section-title h2 { margin-bottom: 12px; position: relative; display: inline-block; }
        .section-title h2::after { content: ''; display: block; width: 48px; height: 4px; background: var(--accent); border-radius: 4px; margin: 12px auto 0; }
        .section-title p { max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

        /* ===== Sidebar Navigation ===== */
        .sidebar {
            position: fixed;
            top: 0;
            left: 0;
            width: var(--sidebar-width);
            height: 100vh;
            background: var(--primary);
            color: var(--text-white);
            display: flex;
            flex-direction: column;
            z-index: 1000;
            transition: transform var(--transition);
            box-shadow: 2px 0 20px rgba(0,0,0,0.2);
        }
        .sidebar-logo {
            padding: 28px 20px 20px;
            border-bottom: 1px solid rgba(255,255,255,0.08);
            text-align: center;
        }
        .sidebar-logo a {
            font-size: 1.2rem;
            font-weight: 800;
            color: #fff;
            letter-spacing: 0.5px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
        .sidebar-logo a i { color: var(--gold); font-size: 1.4rem; }
        .sidebar-logo a span { background: linear-gradient(135deg, #fff 60%, var(--accent-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
        .sidebar-logo .logo-sub { font-size: 0.7rem; color: rgba(255,255,255,0.4); margin-top: 4px; letter-spacing: 2px; font-weight: 400; -webkit-text-fill-color: rgba(255,255,255,0.4); background: none; }
        .sidebar-nav { flex: 1; padding: 20px 0; overflow-y: auto; }
        .sidebar-nav a {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 13px 24px;
            color: rgba(255,255,255,0.6);
            font-size: 0.95rem;
            font-weight: 500;
            transition: all var(--transition);
            border-left: 3px solid transparent;
        }
        .sidebar-nav a i { width: 20px; text-align: center; font-size: 1.1rem; }
        .sidebar-nav a:hover { color: #fff; background: rgba(255,255,255,0.06); border-left-color: var(--accent); }
        .sidebar-nav a.active { color: #fff; background: rgba(59,130,246,0.15); border-left-color: var(--accent); font-weight: 600; }
        .sidebar-nav .nav-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.25); padding: 24px 24px 8px; font-weight: 600; }
        .sidebar-footer {
            padding: 16px 20px;
            border-top: 1px solid rgba(255,255,255,0.08);
            font-size: 0.75rem;
            color: rgba(255,255,255,0.3);
            text-align: center;
        }

        /* ===== Main Content ===== */
        .main-wrap {
            margin-left: var(--sidebar-width);
            flex: 1;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        .main-content { flex: 1; }

        /* ===== Mobile Header ===== */
        .mobile-header {
            display: none;
            position: sticky;
            top: 0;
            z-index: 999;
            background: var(--primary);
            padding: 0 16px;
            height: var(--header-height);
            align-items: center;
            justify-content: space-between;
            box-shadow: 0 2px 12px rgba(0,0,0,0.15);
        }
        .mobile-header .logo-mobile a {
            font-size: 1.05rem;
            font-weight: 800;
            color: #fff;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .mobile-header .logo-mobile a i { color: var(--gold); }
        .mobile-header .hamburger {
            color: #fff;
            font-size: 1.5rem;
            padding: 8px;
            background: rgba(255,255,255,0.08);
            border-radius: var(--radius-sm);
            width: 42px;
            height: 42px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background var(--transition);
        }
        .mobile-header .hamburger:hover { background: rgba(255,255,255,0.15); }

        /* ===== Overlay ===== */
        .nav-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 998;
            opacity: 0;
            transition: opacity var(--transition);
        }
        .nav-overlay.show { opacity: 1; }

        /* ===== Hero ===== */
        .hero {
            position: relative;
            padding: 120px 0 100px;
            background: var(--primary-dark);
            overflow: hidden;
            min-height: 520px;
            display: flex;
            align-items: center;
        }
        .hero-bg {
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
            opacity: 0.25;
            z-index: 0;
        }
        .hero-bg::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(15,23,42,0.88) 0%, rgba(30,58,95,0.70) 100%);
        }
        .hero .container { position: relative; z-index: 1; }
        .hero-content { max-width: 680px; }
        .hero-content .badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(245,158,11,0.18);
            color: var(--gold);
            padding: 6px 16px;
            border-radius: 40px;
            font-size: 0.82rem;
            font-weight: 600;
            margin-bottom: 20px;
            border: 1px solid rgba(245,158,11,0.25);
        }
        .hero-content .badge i { font-size: 0.75rem; }
        .hero-content h1 {
            color: #fff;
            font-weight: 800;
            margin-bottom: 16px;
            line-height: 1.15;
        }
        .hero-content h1 .highlight { color: var(--gold); }
        .hero-content p {
            color: rgba(255,255,255,0.7);
            font-size: 1.15rem;
            line-height: 1.7;
            margin-bottom: 32px;
            max-width: 560px;
        }
        .hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
        .hero-actions .btn-primary {
            background: var(--accent);
            color: #fff;
            padding: 14px 36px;
            border-radius: 40px;
            font-weight: 600;
            font-size: 1.05rem;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            transition: all var(--transition);
            box-shadow: 0 8px 28px rgba(59,130,246,0.3);
        }
        .hero-actions .btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 12px 36px rgba(59,130,246,0.4); }
        .hero-actions .btn-outline {
            background: transparent;
            color: #fff;
            padding: 14px 36px;
            border-radius: 40px;
            font-weight: 600;
            font-size: 1.05rem;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            border: 2px solid rgba(255,255,255,0.25);
            transition: all var(--transition);
        }
        .hero-actions .btn-outline:hover { border-color: var(--accent); background: rgba(59,130,246,0.12); transform: translateY(-2px); }
        .hero-stats {
            display: flex;
            gap: 40px;
            margin-top: 48px;
            padding-top: 32px;
            border-top: 1px solid rgba(255,255,255,0.08);
        }
        .hero-stats .stat-item { text-align: left; }
        .hero-stats .stat-number { font-size: 1.8rem; font-weight: 800; color: #fff; line-height: 1.2; }
        .hero-stats .stat-number .accent { color: var(--gold); }
        .hero-stats .stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-top: 4px; }

        /* ===== Features ===== */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
        }
        .feature-card {
            background: var(--bg-card);
            border-radius: var(--radius);
            padding: 32px 24px;
            text-align: center;
            box-shadow: var(--shadow);
            border: 1px solid var(--border);
            transition: all var(--transition);
        }
        .feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--accent-light); }
        .feature-card .icon {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: rgba(59,130,246,0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 16px;
            font-size: 1.6rem;
            color: var(--accent);
            transition: background var(--transition);
        }
        .feature-card:hover .icon { background: rgba(59,130,246,0.18); }
        .feature-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
        .feature-card p { font-size: 0.92rem; margin-bottom: 0; }

        /* ===== Events / Categories ===== */
        .events-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
        }
        .event-card {
            position: relative;
            border-radius: var(--radius);
            overflow: hidden;
            background: var(--bg-card);
            box-shadow: var(--shadow);
            border: 1px solid var(--border);
            transition: all var(--transition);
            cursor: pointer;
        }
        .event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
        .event-card .thumb {
            height: 200px;
            background: var(--primary-light);
            position: relative;
            overflow: hidden;
        }
        .event-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
        .event-card:hover .thumb img { transform: scale(1.06); }
        .event-card .thumb .tag {
            position: absolute;
            top: 12px;
            left: 12px;
            background: var(--gold);
            color: var(--primary);
            padding: 4px 14px;
            border-radius: 30px;
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 0.3px;
        }
        .event-card .info { padding: 20px 20px 22px; }
        .event-card .info h3 { font-size: 1.1rem; margin-bottom: 6px; }
        .event-card .info p { font-size: 0.88rem; margin-bottom: 0; color: var(--text-light); }
        .event-card .info .meta { display: flex; align-items: center; gap: 16px; margin-top: 12px; font-size: 0.8rem; color: var(--text-light); }
        .event-card .info .meta i { margin-right: 4px; }

        /* ===== Latest News / CMS List ===== */
        .news-list { display: flex; flex-direction: column; gap: 16px; }
        .news-item {
            display: flex;
            align-items: center;
            gap: 20px;
            background: var(--bg-card);
            padding: 20px 24px;
            border-radius: var(--radius-sm);
            box-shadow: var(--shadow);
            border: 1px solid var(--border);
            transition: all var(--transition);
        }
        .news-item:hover { border-color: var(--accent-light); box-shadow: var(--shadow-hover); }
        .news-item .num {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(59,130,246,0.08);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 0.95rem;
            color: var(--accent);
            flex-shrink: 0;
        }
        .news-item .content { flex: 1; min-width: 0; }
        .news-item .content .title { font-weight: 600; font-size: 1rem; color: var(--text); display: block; margin-bottom: 4px; transition: color var(--transition); }
        .news-item .content .title:hover { color: var(--accent); }
        .news-item .content .summary { font-size: 0.88rem; color: var(--text-light); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .news-item .content .meta { font-size: 0.78rem; color: var(--text-light); margin-top: 6px; display: flex; gap: 16px; }
        .news-item .content .meta .cat { background: rgba(59,130,246,0.08); padding: 2px 12px; border-radius: 30px; color: var(--accent); font-weight: 500; }
        .news-empty {
            text-align: center;
            padding: 48px 24px;
            background: var(--bg-card);
            border-radius: var(--radius);
            border: 1px dashed var(--border);
            color: var(--text-light);
        }
        .news-empty i { font-size: 2.4rem; color: var(--border-light); margin-bottom: 12px; display: block; }

        /* ===== Stats / Data Block ===== */
        .stats-block {
            background: var(--primary);
            padding: 72px 0;
            position: relative;
            overflow: hidden;
        }
        .stats-block::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
            opacity: 0.10;
        }
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 32px;
            position: relative;
            z-index: 1;
        }
        .stats-grid .stat-card { text-align: center; color: #fff; }
        .stats-grid .stat-card .icon { font-size: 2.2rem; color: var(--gold); margin-bottom: 12px; }
        .stats-grid .stat-card .number { font-size: 2.4rem; font-weight: 800; line-height: 1.2; }
        .stats-grid .stat-card .label { font-size: 0.9rem; color: rgba(255,255,255,0.55); margin-top: 6px; }

        /* ===== Steps / Flow ===== */
        .steps-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
            counter-reset: step;
        }
        .step-card {
            background: var(--bg-card);
            border-radius: var(--radius);
            padding: 32px 24px;
            text-align: center;
            box-shadow: var(--shadow);
            border: 1px solid var(--border);
            position: relative;
            transition: all var(--transition);
        }
        .step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
        .step-card .step-number {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: var(--accent);
            color: #fff;
            font-weight: 800;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 16px;
            box-shadow: 0 8px 24px rgba(59,130,246,0.25);
        }
        .step-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
        .step-card p { font-size: 0.9rem; margin-bottom: 0; }
        .step-card .connector {
            position: absolute;
            top: 40px;
            right: -20px;
            font-size: 1.4rem;
            color: var(--border-light);
        }
        .steps-grid .step-card:last-child .connector { display: none; }

        /* ===== FAQ ===== */
        .faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
        .faq-item {
            background: var(--bg-card);
            border-radius: var(--radius-sm);
            border: 1px solid var(--border);
            overflow: hidden;
            transition: border-color var(--transition);
        }
        .faq-item:hover { border-color: var(--accent-light); }
        .faq-item .question {
            padding: 18px 24px;
            font-weight: 600;
            font-size: 1rem;
            color: var(--text);
            display: flex;
            align-items: center;
            justify-content: space-between;
            cursor: pointer;
            background: none;
            width: 100%;
            text-align: left;
            transition: background var(--transition);
        }
        .faq-item .question:hover { background: rgba(59,130,246,0.04); }
        .faq-item .question i { color: var(--accent); transition: transform var(--transition); font-size: 0.9rem; }
        .faq-item.active .question i { transform: rotate(180deg); }
        .faq-item .answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.35s ease, padding 0.35s ease;
            padding: 0 24px;
            color: var(--text-light);
            font-size: 0.95rem;
            line-height: 1.7;
        }
        .faq-item.active .answer { max-height: 300px; padding: 0 24px 20px; }

        /* ===== CTA ===== */
        .cta-block {
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            padding: 72px 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .cta-block::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-3.png') center center / cover no-repeat;
            opacity: 0.08;
        }
        .cta-block .container { position: relative; z-index: 1; }
        .cta-block h2 { color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 12px; }
        .cta-block p { color: rgba(255,255,255,0.65); font-size: 1.05rem; max-width: 560px; margin: 0 auto 28px; }
        .cta-block .btn-cta {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            background: var(--gold);
            color: var(--primary);
            padding: 16px 44px;
            border-radius: 40px;
            font-weight: 700;
            font-size: 1.1rem;
            transition: all var(--transition);
            box-shadow: 0 8px 32px rgba(245,158,11,0.3);
        }
        .cta-block .btn-cta:hover { background: var(--gold-hover); transform: translateY(-3px); box-shadow: 0 14px 40px rgba(245,158,11,0.4); color: var(--primary); }

        /* ===== Footer ===== */
        .site-footer {
            background: var(--primary-dark);
            color: rgba(255,255,255,0.5);
            padding: 48px 0 32px;
            font-size: 0.88rem;
        }
        .site-footer .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 32px;
        }
        .site-footer .footer-brand .logo { font-size: 1.2rem; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
        .site-footer .footer-brand .logo i { color: var(--gold); }
        .site-footer .footer-brand p { color: rgba(255,255,255,0.45); font-size: 0.88rem; max-width: 280px; }
        .site-footer h4 { color: rgba(255,255,255,0.8); font-size: 0.9rem; font-weight: 600; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
        .site-footer ul li { margin-bottom: 10px; }
        .site-footer ul li a { color: rgba(255,255,255,0.45); transition: color var(--transition); font-size: 0.88rem; }
        .site-footer ul li a:hover { color: var(--accent-light); }
        .site-footer .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.06);
            padding-top: 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 12px;
            font-size: 0.8rem;
            color: rgba(255,255,255,0.3);
        }
        .site-footer .footer-bottom a { color: rgba(255,255,255,0.3); }
        .site-footer .footer-bottom a:hover { color: var(--accent-light); }

        /* ===== Responsive ===== */
        @media (max-width: 1024px) {
            .features-grid { grid-template-columns: repeat(2, 1fr); }
            .stats-grid { grid-template-columns: repeat(2, 1fr); }
            .steps-grid { grid-template-columns: repeat(2, 1fr); }
            .steps-grid .step-card .connector { display: none; }
            .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
            .events-grid { grid-template-columns: repeat(2, 1fr); }
        }

        @media (max-width: 768px) {
            .sidebar { transform: translateX(-100%); }
            .sidebar.open { transform: translateX(0); }
            .main-wrap { margin-left: 0; }
            .mobile-header { display: flex; }
            .nav-overlay { display: block; }
            .hero { padding: 80px 0 60px; min-height: auto; }
            .hero-stats { flex-wrap: wrap; gap: 24px; }
            .hero-stats .stat-item { flex: 1 1 40%; }
            .features-grid { grid-template-columns: 1fr; }
            .events-grid { grid-template-columns: 1fr; }
            .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
            .steps-grid { grid-template-columns: 1fr; }
            .site-footer .footer-grid { grid-template-columns: 1fr; gap: 28px; }
            .news-item { flex-wrap: wrap; padding: 16px; }
            .news-item .num { display: none; }
            .section { padding: 48px 0; }
            .cta-block { padding: 48px 0; }
            .hero-actions .btn-primary, .hero-actions .btn-outline { width: 100%; justify-content: center; }
            .faq-item .question { padding: 14px 16px; font-size: 0.95rem; }
            .faq-item .answer { padding: 0 16px; }
            .faq-item.active .answer { padding: 0 16px 16px; }
        }

        @media (max-width: 520px) {
            .container { padding: 0 16px; }
            .hero-content h1 { font-size: 1.6rem; }
            .hero-content p { font-size: 0.95rem; }
            .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
            .stats-grid .stat-card .number { font-size: 1.6rem; }
            .site-footer .footer-bottom { flex-direction: column; text-align: center; }
            .features-grid { gap: 16px; }
            .events-grid { gap: 16px; }
            .news-item .content .summary { -webkit-line-clamp: 1; }
        }

        /* ===== Focus & Accessibility ===== */
        a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
        .sidebar-nav a:focus-visible { color: #fff; background: rgba(255,255,255,0.08); }

        /* ===== Scrollbar ===== */
        .sidebar-nav::-webkit-scrollbar { width: 4px; }
        .sidebar-nav::-webkit-scrollbar-track { background: transparent; }
        .sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 10px; }

/* roulang page: article */
/* ===== Design Variables ===== */
        :root {
            --primary: #1a2a6c;
            --primary-light: #2d4a8e;
            --primary-dark: #0f1a4a;
            --accent: #e8491d;
            --accent-light: #ff6b3d;
            --accent-dark: #c43a0f;
            --bg-body: #f4f6fb;
            --bg-card: #ffffff;
            --bg-sidebar: #0f1a2e;
            --bg-sidebar-hover: #1a2a4a;
            --bg-dark: #0a0f1a;
            --text-primary: #1a1a2e;
            --text-secondary: #4a4a6a;
            --text-light: #8a8aaa;
            --text-white: #ffffff;
            --text-muted: #a0a0b8;
            --border-color: #e0e4f0;
            --border-light: #eef0f6;
            --shadow-sm: 0 2px 8px rgba(26, 42, 108, 0.08);
            --shadow-md: 0 4px 20px rgba(26, 42, 108, 0.12);
            --shadow-lg: 0 8px 40px rgba(26, 42, 108, 0.16);
            --shadow-accent: 0 4px 20px rgba(232, 73, 29, 0.3);
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 20px;
            --radius-xl: 28px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
            --sidebar-width: 240px;
            --header-height: 0px;
            --max-width: 1200px;
        }

        /* ===== Reset & Base ===== */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        body {
            font-family: var(--font-sans);
            font-size: 16px;
            line-height: 1.7;
            color: var(--text-primary);
            background: var(--bg-body);
            display: flex;
            min-height: 100vh;
        }

        a {
            color: var(--primary-light);
            text-decoration: none;
            transition: var(--transition);
        }

        a:hover {
            color: var(--accent);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
            border-radius: var(--radius-sm);
        }

        button,
        input,
        textarea {
            font-family: inherit;
            font-size: inherit;
            border: none;
            outline: none;
        }

        ul,
        ol {
            list-style: none;
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            line-height: 1.3;
            font-weight: 700;
            color: var(--text-primary);
        }

        /* ===== Container ===== */
        .container {
            width: 100%;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
        }

        /* ===== Sidebar (App Shell) ===== */
        .sidebar {
            position: fixed;
            top: 0;
            left: 0;
            width: var(--sidebar-width);
            height: 100vh;
            background: var(--bg-sidebar);
            color: var(--text-white);
            display: flex;
            flex-direction: column;
            z-index: 1000;
            transition: var(--transition);
            overflow-y: auto;
            box-shadow: 2px 0 20px rgba(0, 0, 0, 0.2);
        }

        .sidebar-logo {
            padding: 28px 20px 12px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            text-align: center;
        }

        .sidebar-logo a {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            font-size: 22px;
            font-weight: 800;
            color: var(--text-white);
            letter-spacing: 0.5px;
        }

        .sidebar-logo a i {
            color: var(--accent);
            font-size: 26px;
        }

        .sidebar-logo a span {
            background: linear-gradient(135deg, #ffffff 60%, var(--accent-light));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .logo-sub {
            font-size: 11px;
            color: var(--text-muted);
            letter-spacing: 2px;
            margin-top: 2px;
            font-weight: 300;
        }

        .sidebar-nav {
            flex: 1;
            padding: 20px 12px;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .nav-label {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: var(--text-muted);
            padding: 12px 12px 6px;
            font-weight: 600;
        }

        .sidebar-nav a {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 12px 16px;
            border-radius: var(--radius-sm);
            color: rgba(255, 255, 255, 0.7);
            font-weight: 500;
            font-size: 15px;
            transition: var(--transition);
            position: relative;
        }

        .sidebar-nav a i {
            width: 20px;
            text-align: center;
            font-size: 16px;
            color: rgba(255, 255, 255, 0.4);
            transition: var(--transition);
        }

        .sidebar-nav a:hover {
            background: var(--bg-sidebar-hover);
            color: var(--text-white);
        }

        .sidebar-nav a:hover i {
            color: var(--accent-light);
        }

        .sidebar-nav a.active {
            background: rgba(232, 73, 29, 0.15);
            color: var(--text-white);
            border-left: 3px solid var(--accent);
        }

        .sidebar-nav a.active i {
            color: var(--accent);
        }

        .sidebar-footer {
            padding: 16px 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            font-size: 12px;
            color: var(--text-muted);
            text-align: center;
        }

        /* ===== Main Content Area ===== */
        .main-content {
            margin-left: var(--sidebar-width);
            flex: 1;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            background: var(--bg-body);
        }

        /* ===== Article Page Styles ===== */
        .article-banner {
            position: relative;
            padding: 60px 0 40px;
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
            overflow: hidden;
            min-height: 260px;
            display: flex;
            align-items: center;
        }

        .article-banner::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-2.png') center/cover no-repeat;
            opacity: 0.12;
            mix-blend-mode: overlay;
        }

        .article-banner .container {
            position: relative;
            z-index: 2;
            text-align: center;
        }

        .article-banner .breadcrumb {
            display: flex;
            justify-content: center;
            gap: 8px;
            font-size: 14px;
            color: rgba(255, 255, 255, 0.6);
            margin-bottom: 16px;
            flex-wrap: wrap;
        }

        .article-banner .breadcrumb a {
            color: rgba(255, 255, 255, 0.7);
        }

        .article-banner .breadcrumb a:hover {
            color: var(--accent-light);
        }

        .article-banner .breadcrumb .sep {
            color: rgba(255, 255, 255, 0.3);
        }

        .article-banner h1 {
            font-size: clamp(26px, 4vw, 42px);
            color: var(--text-white);
            max-width: 800px;
            margin: 0 auto 12px;
            line-height: 1.25;
            font-weight: 800;
        }

        .article-banner .meta {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
            font-size: 14px;
            color: rgba(255, 255, 255, 0.7);
        }

        .article-banner .meta i {
            margin-right: 6px;
            color: var(--accent);
        }

        .article-banner .badge-category {
            display: inline-block;
            background: var(--accent);
            color: #fff;
            padding: 4px 16px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 600;
            margin-bottom: 12px;
        }

        /* ===== Article Body ===== */
        .article-section {
            padding: 50px 0 60px;
        }

        .article-layout {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 40px;
        }

        .article-main {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            padding: 40px 44px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
        }

        .article-main .featured-image {
            width: 100%;
            border-radius: var(--radius-sm);
            margin-bottom: 28px;
            max-height: 420px;
            object-fit: cover;
        }

        .article-main .content-body {
            font-size: 16.5px;
            line-height: 1.9;
            color: var(--text-primary);
        }

        .article-main .content-body p {
            margin-bottom: 1.2em;
        }

        .article-main .content-body h2 {
            font-size: 24px;
            margin-top: 1.6em;
            margin-bottom: 0.6em;
            padding-bottom: 8px;
            border-bottom: 2px solid var(--border-light);
        }

        .article-main .content-body h3 {
            font-size: 20px;
            margin-top: 1.4em;
            margin-bottom: 0.5em;
        }

        .article-main .content-body ul,
        .article-main .content-body ol {
            padding-left: 24px;
            margin-bottom: 1.2em;
        }

        .article-main .content-body ul {
            list-style: disc;
        }

        .article-main .content-body ol {
            list-style: decimal;
        }

        .article-main .content-body li {
            margin-bottom: 0.4em;
        }

        .article-main .content-body blockquote {
            border-left: 4px solid var(--accent);
            background: rgba(232, 73, 29, 0.04);
            padding: 16px 24px;
            margin: 1.2em 0;
            border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
            color: var(--text-secondary);
            font-style: italic;
        }

        .article-main .content-body a {
            color: var(--accent);
            text-decoration: underline;
        }

        .article-main .content-body a:hover {
            color: var(--accent-dark);
        }

        .article-main .content-body img {
            border-radius: var(--radius-sm);
            margin: 1.2em 0;
            box-shadow: var(--shadow-sm);
        }

        .article-main .content-body .tag {
            display: inline-block;
            background: rgba(232, 73, 29, 0.08);
            color: var(--accent);
            padding: 2px 12px;
            border-radius: 12px;
            font-size: 13px;
            font-weight: 500;
            margin-right: 6px;
        }

        .article-not-found {
            text-align: center;
            padding: 60px 20px;
            background: var(--bg-card);
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-sm);
        }

        .article-not-found i {
            font-size: 56px;
            color: var(--text-light);
            margin-bottom: 20px;
        }

        .article-not-found h2 {
            font-size: 24px;
            margin-bottom: 12px;
        }

        .article-not-found p {
            color: var(--text-secondary);
            margin-bottom: 24px;
        }

        .article-not-found .btn-back {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--primary);
            color: #fff;
            padding: 12px 28px;
            border-radius: var(--radius-sm);
            font-weight: 600;
        }

        .article-not-found .btn-back:hover {
            background: var(--primary-light);
            color: #fff;
        }

        /* ===== Sidebar (article right) ===== */
        .article-sidebar {
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        .sidebar-widget {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            padding: 24px 20px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
        }

        .sidebar-widget h3 {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 16px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--border-light);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .sidebar-widget h3 i {
            color: var(--accent);
        }

        .sidebar-widget ul li {
            padding: 10px 0;
            border-bottom: 1px solid var(--border-light);
        }

        .sidebar-widget ul li:last-child {
            border-bottom: none;
        }

        .sidebar-widget ul li a {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            color: var(--text-secondary);
            font-size: 14px;
            line-height: 1.4;
        }

        .sidebar-widget ul li a:hover {
            color: var(--accent);
        }

        .sidebar-widget ul li a i {
            color: var(--accent);
            font-size: 12px;
            margin-top: 4px;
        }

        .sidebar-cta {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: var(--text-white);
            text-align: center;
            padding: 30px 20px;
        }

        .sidebar-cta h3 {
            color: var(--text-white);
            border-bottom: none;
            justify-content: center;
        }

        .sidebar-cta p {
            font-size: 14px;
            opacity: 0.85;
            margin-bottom: 16px;
        }

        .sidebar-cta .btn-cta {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--accent);
            color: #fff;
            padding: 12px 28px;
            border-radius: var(--radius-sm);
            font-weight: 600;
            transition: var(--transition);
        }

        .sidebar-cta .btn-cta:hover {
            background: var(--accent-light);
            color: #fff;
            transform: translateY(-2px);
            box-shadow: var(--shadow-accent);
        }

        /* ===== Related Posts ===== */
        .related-section {
            padding: 0 0 50px;
        }

        .related-section .section-title {
            font-size: 22px;
            font-weight: 700;
            margin-bottom: 24px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .related-section .section-title i {
            color: var(--accent);
        }

        .related-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
            gap: 20px;
        }

        .related-card {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
            transition: var(--transition);
        }

        .related-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
        }

        .related-card img {
            width: 100%;
            height: 160px;
            object-fit: cover;
            border-radius: 0;
        }

        .related-card .card-body {
            padding: 16px 18px 18px;
        }

        .related-card .card-body .cat {
            font-size: 12px;
            color: var(--accent);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .related-card .card-body h4 {
            font-size: 16px;
            font-weight: 600;
            margin: 6px 0 8px;
            line-height: 1.35;
        }

        .related-card .card-body h4 a {
            color: var(--text-primary);
        }

        .related-card .card-body h4 a:hover {
            color: var(--accent);
        }

        .related-card .card-body .date {
            font-size: 13px;
            color: var(--text-light);
        }

        /* ===== Footer (shared) ===== */
        .site-footer {
            background: var(--bg-sidebar);
            color: rgba(255, 255, 255, 0.8);
            padding: 50px 0 30px;
            margin-top: auto;
        }

        .site-footer .container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 36px;
            padding-bottom: 30px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }

        .footer-brand .logo {
            font-size: 20px;
            font-weight: 800;
            color: var(--text-white);
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 12px;
        }

        .footer-brand .logo i {
            color: var(--accent);
        }

        .footer-brand p {
            font-size: 14px;
            line-height: 1.7;
            color: rgba(255, 255, 255, 0.6);
        }

        .site-footer h4 {
            font-size: 15px;
            font-weight: 700;
            color: var(--text-white);
            margin-bottom: 16px;
        }

        .site-footer ul li {
            margin-bottom: 10px;
        }

        .site-footer ul li a {
            color: rgba(255, 255, 255, 0.6);
            font-size: 14px;
            transition: var(--transition);
        }

        .site-footer ul li a:hover {
            color: var(--accent-light);
            padding-left: 4px;
        }

        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 24px;
            font-size: 13px;
            color: rgba(255, 255, 255, 0.4);
            flex-wrap: wrap;
            gap: 12px;
        }

        .footer-bottom a {
            color: rgba(255, 255, 255, 0.5);
        }

        .footer-bottom a:hover {
            color: var(--accent-light);
        }

        /* ===== Mobile Toggle ===== */
        .mobile-toggle {
            display: none;
            position: fixed;
            top: 16px;
            left: 16px;
            z-index: 1100;
            background: var(--bg-sidebar);
            color: var(--text-white);
            width: 44px;
            height: 44px;
            border-radius: var(--radius-sm);
            align-items: center;
            justify-content: center;
            font-size: 20px;
            cursor: pointer;
            box-shadow: var(--shadow-md);
            border: 1px solid rgba(255, 255, 255, 0.08);
            transition: var(--transition);
        }

        .mobile-toggle:hover {
            background: var(--bg-sidebar-hover);
        }

        .sidebar-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 999;
        }

        /* ===== Responsive ===== */
        @media (max-width: 1024px) {
            .article-layout {
                grid-template-columns: 1fr;
                gap: 28px;
            }

            .article-sidebar {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 20px;
            }

            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 28px;
            }
        }

        @media (max-width: 768px) {
            .sidebar {
                transform: translateX(-100%);
            }

            .sidebar.open {
                transform: translateX(0);
            }

            .sidebar-overlay.active {
                display: block;
            }

            .mobile-toggle {
                display: flex;
            }

            .main-content {
                margin-left: 0;
            }

            .article-banner {
                padding: 40px 0 32px;
                min-height: 200px;
            }

            .article-banner h1 {
                font-size: 22px;
            }

            .article-main {
                padding: 24px 20px;
            }

            .article-main .content-body {
                font-size: 15px;
                line-height: 1.8;
            }

            .article-sidebar {
                grid-template-columns: 1fr;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }

            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }

            .related-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (max-width: 520px) {
            .article-banner h1 {
                font-size: 19px;
            }

            .article-banner .meta {
                font-size: 12px;
                gap: 12px;
            }

            .article-main {
                padding: 18px 14px;
            }

            .article-main .content-body {
                font-size: 14.5px;
            }

            .related-grid {
                grid-template-columns: 1fr;
            }

            .container {
                padding: 0 14px;
            }

            .sidebar-widget {
                padding: 18px 14px;
            }
        }

        /* ===== Article content missing image fallback ===== */
        .content-body img[src=""],
        .content-body img:not([src]) {
            display: none;
        }

/* roulang page: category1 */
/* === 设计变量 === */
        :root {
            --primary: #2563eb;
            --primary-dark: #1e40af;
            --primary-light: #3b82f6;
            --primary-bg: #eff6ff;
            --accent: #f59e0b;
            --accent-dark: #d97706;
            --bg: #f8fafc;
            --bg-card: #ffffff;
            --bg-dark: #0f172a;
            --bg-dark-secondary: #1e293b;
            --text: #1e293b;
            --text-light: #64748b;
            --text-inverse: #f1f5f9;
            --text-muted: #94a3b8;
            --border: #e2e8f0;
            --border-light: #f1f5f9;
            --radius: 16px;
            --radius-sm: 10px;
            --radius-lg: 24px;
            --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.1);
            --shadow-hover: 0 16px 48px rgba(37, 99, 235, 0.15);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            --sidebar-width: 240px;
            --header-height: 64px;
            --max-width: 1280px;
        }

        /* === Reset === */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html {
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
        }
        body {
            font-family: var(--font);
            background: var(--bg);
            color: var(--text);
            line-height: 1.7;
            font-size: 16px;
            display: flex;
            min-height: 100vh;
        }
        a {
            color: var(--primary);
            text-decoration: none;
            transition: var(--transition);
        }
        a:hover {
            color: var(--primary-dark);
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
            border-radius: var(--radius-sm);
        }
        ul {
            list-style: none;
        }
        button,
        input,
        textarea {
            font-family: inherit;
            font-size: inherit;
            outline: none;
            border: none;
        }
        .container {
            width: 100%;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
        }

        /* === 侧边导航 (App Shell) === */
        .sidebar {
            position: fixed;
            top: 0;
            left: 0;
            width: var(--sidebar-width);
            height: 100vh;
            background: var(--bg-dark);
            color: var(--text-inverse);
            display: flex;
            flex-direction: column;
            z-index: 1000;
            transition: var(--transition);
            overflow-y: auto;
            border-right: 1px solid rgba(255, 255, 255, 0.05);
        }
        .sidebar::-webkit-scrollbar {
            width: 4px;
        }
        .sidebar::-webkit-scrollbar-thumb {
            background: var(--primary);
            border-radius: 4px;
        }
        .sidebar-logo {
            padding: 28px 20px 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }
        .sidebar-logo a {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 22px;
            font-weight: 700;
            color: #fff;
            letter-spacing: -0.3px;
        }
        .sidebar-logo a i {
            color: var(--accent);
            font-size: 26px;
            filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.4));
        }
        .sidebar-logo a span {
            background: linear-gradient(135deg, #fff 60%, var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .sidebar-logo .logo-sub {
            font-size: 12px;
            color: var(--text-muted);
            letter-spacing: 4px;
            margin-top: 4px;
            padding-left: 38px;
            text-transform: uppercase;
        }
        .sidebar-nav {
            flex: 1;
            padding: 16px 12px;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
        .sidebar-nav .nav-label {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: var(--text-muted);
            padding: 12px 12px 8px;
            font-weight: 600;
        }
        .sidebar-nav a {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 12px 16px;
            border-radius: var(--radius-sm);
            color: var(--text-muted);
            font-size: 15px;
            font-weight: 500;
            transition: var(--transition);
            position: relative;
        }
        .sidebar-nav a i {
            width: 20px;
            text-align: center;
            font-size: 16px;
        }
        .sidebar-nav a:hover {
            background: rgba(255, 255, 255, 0.06);
            color: #fff;
        }
        .sidebar-nav a.active {
            background: rgba(37, 99, 235, 0.2);
            color: #fff;
            font-weight: 600;
        }
        .sidebar-nav a.active::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 3px;
            height: 24px;
            background: var(--primary-light);
            border-radius: 0 4px 4px 0;
        }
        .sidebar-footer {
            padding: 16px 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            font-size: 12px;
            color: var(--text-muted);
            text-align: center;
        }

        /* === 主内容区 === */
        .main-wrapper {
            margin-left: var(--sidebar-width);
            flex: 1;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            background: var(--bg);
        }

        /* === 顶部栏 (移动端) === */
        .top-header {
            display: none;
            position: sticky;
            top: 0;
            z-index: 999;
            background: var(--bg-dark);
            padding: 0 20px;
            height: var(--header-height);
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }
        .top-header .logo-mobile a {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 18px;
            font-weight: 700;
            color: #fff;
        }
        .top-header .logo-mobile a i {
            color: var(--accent);
        }
        .top-header .logo-mobile .logo-sub-mobile {
            font-size: 10px;
            color: var(--text-muted);
            letter-spacing: 2px;
            margin-top: -2px;
        }
        .menu-toggle {
            background: none;
            color: #fff;
            font-size: 24px;
            cursor: pointer;
            padding: 8px;
            border-radius: 8px;
            transition: var(--transition);
        }
        .menu-toggle:hover {
            background: rgba(255, 255, 255, 0.08);
        }

        /* === 遮罩 === */
        .sidebar-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 999;
            backdrop-filter: blur(4px);
        }

        /* === Banner / 分类首屏 === */
        .category-banner {
            position: relative;
            padding: 80px 0 100px;
            background: var(--bg-dark);
            overflow: hidden;
        }
        .category-banner::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
            opacity: 0.25;
            transform: scale(1.05);
        }
        .category-banner::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 40%, rgba(37, 99, 235, 0.3) 100%);
        }
        .category-banner .container {
            position: relative;
            z-index: 2;
        }
        .category-banner .breadcrumb {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
            color: var(--text-muted);
            margin-bottom: 24px;
        }
        .category-banner .breadcrumb a {
            color: var(--text-muted);
        }
        .category-banner .breadcrumb a:hover {
            color: #fff;
        }
        .category-banner .breadcrumb i {
            font-size: 10px;
            color: var(--text-muted);
        }
        .category-banner h1 {
            font-size: 48px;
            font-weight: 800;
            color: #fff;
            line-height: 1.2;
            margin-bottom: 20px;
            letter-spacing: -1px;
        }
        .category-banner h1 i {
            color: var(--accent);
            margin-right: 12px;
        }
        .category-banner p {
            font-size: 18px;
            color: rgba(255, 255, 255, 0.7);
            max-width: 680px;
            line-height: 1.8;
        }
        .category-banner .banner-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-top: 28px;
        }
        .category-banner .banner-tags span {
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 6px 18px;
            border-radius: 50px;
            font-size: 13px;
            color: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(8px);
        }
        .category-banner .banner-tags span i {
            margin-right: 6px;
            color: var(--accent);
        }

        /* === 板块通用 === */
        .section {
            padding: 80px 0;
        }
        .section-title {
            font-size: 32px;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 12px;
            letter-spacing: -0.5px;
        }
        .section-sub {
            font-size: 17px;
            color: var(--text-light);
            max-width: 600px;
            margin-bottom: 48px;
            line-height: 1.7;
        }
        .section-title i {
            color: var(--primary);
            margin-right: 10px;
        }
        .text-center {
            text-align: center;
        }
        .text-center .section-sub {
            margin-left: auto;
            margin-right: auto;
        }

        /* === 赛事分类卡片网格 === */
        .sports-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
        }
        .sport-card {
            background: var(--bg-card);
            border-radius: var(--radius);
            padding: 32px 24px 28px;
            box-shadow: var(--shadow);
            border: 1px solid var(--border);
            transition: var(--transition);
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .sport-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--primary);
            transform: scaleX(0);
            transform-origin: left;
            transition: var(--transition);
        }
        .sport-card:hover::before {
            transform: scaleX(1);
        }
        .sport-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-hover);
            border-color: var(--primary-light);
        }
        .sport-card .icon-wrap {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background: var(--primary-bg);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 18px;
            font-size: 28px;
            color: var(--primary);
            transition: var(--transition);
        }
        .sport-card:hover .icon-wrap {
            background: var(--primary);
            color: #fff;
            transform: scale(1.05);
        }
        .sport-card h3 {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 8px;
            color: var(--text);
        }
        .sport-card p {
            font-size: 14px;
            color: var(--text-light);
            line-height: 1.6;
        }
        .sport-card .badge {
            display: inline-block;
            margin-top: 14px;
            background: var(--primary-bg);
            color: var(--primary);
            padding: 4px 16px;
            border-radius: 50px;
            font-size: 12px;
            font-weight: 600;
        }

        /* === 热门赛事列表 === */
        .hot-events {
            background: var(--bg-card);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            border: 1px solid var(--border);
            overflow: hidden;
        }
        .event-item {
            display: flex;
            align-items: center;
            gap: 20px;
            padding: 20px 28px;
            border-bottom: 1px solid var(--border-light);
            transition: var(--transition);
            cursor: default;
        }
        .event-item:last-child {
            border-bottom: none;
        }
        .event-item:hover {
            background: var(--primary-bg);
        }
        .event-item .event-icon {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            background: var(--primary-bg);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: var(--primary);
            flex-shrink: 0;
        }
        .event-item .event-info {
            flex: 1;
        }
        .event-item .event-info h4 {
            font-size: 17px;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 2px;
        }
        .event-item .event-info .meta {
            font-size: 13px;
            color: var(--text-light);
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
        }
        .event-item .event-info .meta i {
            margin-right: 4px;
            font-size: 12px;
        }
        .event-item .event-status {
            flex-shrink: 0;
            padding: 6px 18px;
            border-radius: 50px;
            font-size: 13px;
            font-weight: 600;
        }
        .event-item .event-status.live {
            background: #fee2e2;
            color: #dc2626;
            animation: pulse-dot 1.5s ease-in-out infinite;
        }
        .event-item .event-status.upcoming {
            background: #dbeafe;
            color: #2563eb;
        }
        .event-item .event-status.finished {
            background: #e2e8f0;
            color: #64748b;
        }
        @keyframes pulse-dot {
            0%,
            100% {
                opacity: 1;
            }
            50% {
                opacity: 0.6;
            }
        }

        /* === 数据统计 === */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
        }
        .stat-card {
            background: var(--bg-card);
            border-radius: var(--radius);
            padding: 32px 24px;
            text-align: center;
            box-shadow: var(--shadow);
            border: 1px solid var(--border);
            transition: var(--transition);
        }
        .stat-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
        }
        .stat-card .stat-number {
            font-size: 42px;
            font-weight: 800;
            color: var(--primary);
            line-height: 1.2;
            letter-spacing: -1px;
        }
        .stat-card .stat-number .unit {
            font-size: 20px;
            font-weight: 600;
            color: var(--text-light);
            margin-left: 4px;
        }
        .stat-card .stat-label {
            font-size: 15px;
            color: var(--text-light);
            margin-top: 8px;
            font-weight: 500;
        }
        .stat-card .stat-icon {
            font-size: 28px;
            color: var(--accent);
            margin-bottom: 12px;
        }

        /* === 图文区块 === */
        .feature-block {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }
        .feature-block .feature-image {
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            position: relative;
        }
        .feature-block .feature-image img {
            width: 100%;
            height: 400px;
            object-fit: cover;
            transition: var(--transition);
        }
        .feature-block .feature-image:hover img {
            transform: scale(1.03);
        }
        .feature-block .feature-content h2 {
            font-size: 32px;
            font-weight: 700;
            margin-bottom: 20px;
            letter-spacing: -0.5px;
        }
        .feature-block .feature-content p {
            font-size: 16px;
            color: var(--text-light);
            line-height: 1.8;
            margin-bottom: 16px;
        }
        .feature-block .feature-content .feature-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-top: 20px;
        }
        .feature-block .feature-content .feature-list li {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 15px;
            color: var(--text);
        }
        .feature-block .feature-content .feature-list li i {
            color: var(--primary);
            width: 20px;
        }

        /* === FAQ === */
        .faq-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }
        .faq-item {
            background: var(--bg-card);
            border-radius: var(--radius-sm);
            border: 1px solid var(--border);
            padding: 24px 28px;
            transition: var(--transition);
            cursor: pointer;
        }
        .faq-item:hover {
            border-color: var(--primary-light);
            box-shadow: var(--shadow);
        }
        .faq-item .faq-q {
            font-size: 16px;
            font-weight: 600;
            color: var(--text);
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .faq-item .faq-q i {
            color: var(--primary);
            font-size: 14px;
            flex-shrink: 0;
        }
        .faq-item .faq-a {
            font-size: 15px;
            color: var(--text-light);
            line-height: 1.7;
            margin-top: 12px;
            padding-left: 26px;
            border-left: 2px solid var(--primary-bg);
        }

        /* === CTA === */
        .cta-section {
            background: var(--bg-dark);
            position: relative;
            overflow: hidden;
            padding: 80px 0;
        }
        .cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
            opacity: 0.15;
        }
        .cta-section .container {
            position: relative;
            z-index: 2;
            text-align: center;
        }
        .cta-section h2 {
            font-size: 38px;
            font-weight: 800;
            color: #fff;
            margin-bottom: 16px;
            letter-spacing: -0.5px;
        }
        .cta-section p {
            font-size: 18px;
            color: rgba(255, 255, 255, 0.7);
            max-width: 600px;
            margin: 0 auto 32px;
        }
        .cta-section .btn-group {
            display: flex;
            gap: 16px;
            justify-content: center;
            flex-wrap: wrap;
        }
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 14px 32px;
            border-radius: 50px;
            font-size: 16px;
            font-weight: 600;
            transition: var(--transition);
            cursor: pointer;
            border: none;
            background: var(--primary);
            color: #fff;
            box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
        }
        .btn:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 8px 32px rgba(37, 99, 235, 0.4);
            color: #fff;
        }
        .btn-outline {
            background: transparent;
            border: 2px solid rgba(255, 255, 255, 0.25);
            color: #fff;
            box-shadow: none;
        }
        .btn-outline:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.5);
            box-shadow: none;
        }
        .btn-accent {
            background: var(--accent);
            color: #1e293b;
            box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
        }
        .btn-accent:hover {
            background: var(--accent-dark);
            box-shadow: 0 8px 32px rgba(245, 158, 11, 0.4);
            color: #1e293b;
        }

        /* === 页脚 === */
        .site-footer {
            background: var(--bg-dark);
            color: var(--text-inverse);
            padding: 60px 0 0;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
        }
        .site-footer .footer-grid {
            display: grid;
            grid-template-columns: 1.8fr 1fr 1fr 1fr;
            gap: 40px;
            padding-bottom: 40px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }
        .site-footer .footer-brand .logo {
            font-size: 22px;
            font-weight: 700;
            color: #fff;
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 16px;
        }
        .site-footer .footer-brand .logo i {
            color: var(--accent);
        }
        .site-footer .footer-brand p {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.8;
            max-width: 360px;
        }
        .site-footer h4 {
            font-size: 15px;
            font-weight: 600;
            color: #fff;
            margin-bottom: 18px;
            letter-spacing: 0.5px;
        }
        .site-footer ul li {
            margin-bottom: 10px;
        }
        .site-footer ul li a {
            font-size: 14px;
            color: var(--text-muted);
            transition: var(--transition);
        }
        .site-footer ul li a:hover {
            color: var(--primary-light);
            padding-left: 4px;
        }
        .site-footer .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 0;
            flex-wrap: wrap;
            gap: 12px;
            font-size: 13px;
            color: var(--text-muted);
        }
        .site-footer .footer-bottom a {
            color: var(--text-muted);
        }
        .site-footer .footer-bottom a:hover {
            color: var(--primary-light);
        }

        /* === 响应式 === */
        @media (max-width: 1024px) {
            .sports-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .faq-grid {
                grid-template-columns: 1fr;
            }
            .feature-block {
                grid-template-columns: 1fr;
                gap: 40px;
            }
            .feature-block .feature-image img {
                height: 300px;
            }
            .site-footer .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 32px;
            }
            .category-banner h1 {
                font-size: 36px;
            }
        }

        @media (max-width: 768px) {
            .sidebar {
                transform: translateX(-100%);
            }
            .sidebar.open {
                transform: translateX(0);
                box-shadow: 4px 0 40px rgba(0, 0, 0, 0.3);
            }
            .sidebar-overlay.active {
                display: block;
            }
            .main-wrapper {
                margin-left: 0;
            }
            .top-header {
                display: flex;
            }
            .category-banner {
                padding: 60px 0 70px;
            }
            .category-banner h1 {
                font-size: 30px;
            }
            .category-banner p {
                font-size: 16px;
            }
            .section {
                padding: 56px 0;
            }
            .section-title {
                font-size: 26px;
            }
            .sports-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 16px;
            }
            .sport-card {
                padding: 24px 16px 20px;
            }
            .sport-card h3 {
                font-size: 17px;
            }
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 16px;
            }
            .stat-card .stat-number {
                font-size: 32px;
            }
            .event-item {
                padding: 16px 20px;
                flex-wrap: wrap;
                gap: 12px;
            }
            .event-item .event-status {
                font-size: 12px;
                padding: 4px 14px;
            }
            .site-footer .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 28px;
            }
            .site-footer .footer-brand p {
                max-width: 100%;
            }
            .cta-section h2 {
                font-size: 28px;
            }
            .faq-item {
                padding: 18px 20px;
            }
            .feature-block .feature-content h2 {
                font-size: 26px;
            }
            .btn {
                padding: 12px 24px;
                font-size: 15px;
            }
        }

        @media (max-width: 520px) {
            .container {
                padding: 0 16px;
            }
            .category-banner h1 {
                font-size: 24px;
            }
            .category-banner .banner-tags span {
                font-size: 12px;
                padding: 4px 14px;
            }
            .sports-grid {
                grid-template-columns: 1fr;
                gap: 14px;
            }
            .stats-grid {
                grid-template-columns: 1fr 1fr;
                gap: 12px;
            }
            .stat-card {
                padding: 20px 12px;
            }
            .stat-card .stat-number {
                font-size: 28px;
            }
            .section-title {
                font-size: 22px;
            }
            .section-sub {
                font-size: 15px;
                margin-bottom: 32px;
            }
            .event-item {
                padding: 14px 16px;
                flex-direction: column;
                align-items: flex-start;
            }
            .event-item .event-icon {
                width: 40px;
                height: 40px;
                font-size: 16px;
            }
            .event-item .event-info h4 {
                font-size: 15px;
            }
            .site-footer .footer-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }
            .site-footer .footer-bottom {
                flex-direction: column;
                text-align: center;
                gap: 8px;
            }
            .cta-section h2 {
                font-size: 22px;
            }
            .cta-section .btn-group {
                flex-direction: column;
                align-items: center;
            }
            .btn {
                width: 100%;
                justify-content: center;
            }
            .feature-block .feature-image img {
                height: 220px;
            }
            .faq-grid {
                grid-template-columns: 1fr;
            }
            .top-header {
                padding: 0 16px;
            }
        }
