/* roulang page: index */
/* ===== Design Variables ===== */
    :root {
        --primary: #1a5fb4;
        --primary-dark: #0e3d7a;
        --primary-light: #e8f0fe;
        --secondary: #ff6d00;
        --secondary-light: #fff0e6;
        --accent: #00c853;
        --bg: #ffffff;
        --bg-alt: #f5f7fb;
        --bg-card: #ffffff;
        --text: #1f2937;
        --text-light: #6b7280;
        --text-white: #ffffff;
        --border: #e5e7eb;
        --border-light: #f0f0f0;
        --radius: 16px;
        --radius-sm: 10px;
        --radius-xs: 6px;
        --shadow: 0 4px 24px rgba(0,0,0,0.07);
        --shadow-lg: 0 12px 48px rgba(0,0,0,0.10);
        --shadow-hover: 0 8px 32px rgba(0,0,0,0.12);
        --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
        --nav-width: 260px;
        --nav-collapsed: 72px;
        --header-height: 0px;
    }

    /* ===== Reset & Base ===== */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
    body {
        font-family: var(--font);
        font-size: 16px;
        line-height: 1.6;
        color: var(--text);
        background: var(--bg);
        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); }
    button, input, textarea { font-family: var(--font); font-size: 1rem; outline: none; }
    button { cursor: pointer; border: none; background: none; }
    ul, ol { list-style: none; }
    h1, h2, h3, h4, h5, h6 { line-height: 1.3; font-weight: 700; color: var(--text); }
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 24px;
        width: 100%;
    }

    /* ===== App Shell Layout ===== */
    .app-shell {
        display: flex;
        width: 100%;
        min-height: 100vh;
    }

    /* ===== Sidebar Navigation ===== */
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: var(--nav-width);
        height: 100vh;
        background: var(--bg);
        border-right: 1px solid var(--border);
        z-index: 1000;
        display: flex;
        flex-direction: column;
        transition: transform var(--transition), width var(--transition);
        overflow-y: auto;
        overflow-x: hidden;
    }
    .sidebar-brand {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 24px 20px 20px;
        border-bottom: 1px solid var(--border-light);
    }
    .sidebar-brand .brand-icon {
        width: 42px;
        height: 42px;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        border-radius: var(--radius-sm);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 1.4rem;
        flex-shrink: 0;
    }
    .sidebar-brand .brand-text {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--text);
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .sidebar-nav {
        padding: 16px 12px;
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    .sidebar-nav .nav-item {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 12px 16px;
        border-radius: var(--radius-sm);
        color: var(--text-light);
        font-weight: 500;
        font-size: 0.95rem;
        transition: var(--transition);
    }
    .sidebar-nav .nav-item i {
        width: 22px;
        text-align: center;
        font-size: 1.15rem;
        flex-shrink: 0;
    }
    .sidebar-nav .nav-item:hover {
        background: var(--bg-alt);
        color: var(--text);
    }
    .sidebar-nav .nav-item.active {
        background: var(--primary-light);
        color: var(--primary);
        font-weight: 600;
    }
    .sidebar-nav .nav-item .nav-label {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .sidebar-footer {
        padding: 16px 20px 24px;
        border-top: 1px solid var(--border-light);
        font-size: 0.8rem;
        color: var(--text-light);
        text-align: center;
    }

    /* ===== Main Content Area ===== */
    .main-content {
        margin-left: var(--nav-width);
        flex: 1;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        transition: margin var(--transition);
    }

    /* ===== Mobile Header ===== */
    .mobile-header {
        display: none;
        position: sticky;
        top: 0;
        z-index: 999;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: 12px 20px;
        align-items: center;
        justify-content: space-between;
    }
    .mobile-header .brand-text {
        font-size: 1rem;
        font-weight: 700;
        color: var(--text);
    }
    .mobile-header .hamburger {
        width: 40px;
        height: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border-radius: var(--radius-xs);
        background: var(--bg-alt);
        transition: var(--transition);
    }
    .mobile-header .hamburger span {
        display: block;
        width: 22px;
        height: 2.5px;
        background: var(--text);
        border-radius: 4px;
        transition: var(--transition);
    }
    .mobile-header .hamburger:hover { background: var(--border); }

    /* ===== Sidebar Overlay ===== */
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.4);
        z-index: 998;
        opacity: 0;
        transition: opacity var(--transition);
        pointer-events: none;
    }
    .sidebar-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

    /* ===== Hero Section ===== */
    .hero {
        position: relative;
        padding: 100px 0 80px;
        background: linear-gradient(135deg, #0a1f3d 0%, #1a3a6a 50%, #0e2a4f 100%);
        overflow: hidden;
        min-height: 520px;
        display: flex;
        align-items: center;
    }
    .hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
        opacity: 0.25;
        mix-blend-mode: overlay;
    }
    .hero::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        right: 0;
        height: 80px;
        background: linear-gradient(to top, var(--bg), transparent);
    }
    .hero .container {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 48px;
    }
    .hero-content { flex: 1; max-width: 600px; }
    .hero-content .hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(255,255,255,0.12);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255,255,255,0.18);
        padding: 6px 16px;
        border-radius: 50px;
        font-size: 0.85rem;
        color: rgba(255,255,255,0.85);
        margin-bottom: 24px;
    }
    .hero-content .hero-badge i { color: var(--secondary); }
    .hero-content h1 {
        font-size: 3rem;
        font-weight: 800;
        color: var(--text-white);
        line-height: 1.2;
        margin-bottom: 20px;
        letter-spacing: -0.02em;
    }
    .hero-content h1 span { color: var(--secondary); }
    .hero-content p {
        font-size: 1.15rem;
        color: rgba(255,255,255,0.75);
        line-height: 1.7;
        margin-bottom: 32px;
        max-width: 520px;
    }
    .hero-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        align-items: center;
    }
    .hero-actions .btn-primary {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 14px 36px;
        background: var(--secondary);
        color: #fff;
        border-radius: 50px;
        font-weight: 600;
        font-size: 1.05rem;
        box-shadow: 0 8px 28px rgba(255,109,0,0.35);
        transition: var(--transition);
    }
    .hero-actions .btn-primary:hover {
        background: #e55f00;
        transform: translateY(-2px);
        box-shadow: 0 12px 36px rgba(255,109,0,0.45);
    }
    .hero-actions .btn-outline {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 28px;
        border: 2px solid rgba(255,255,255,0.25);
        color: rgba(255,255,255,0.85);
        border-radius: 50px;
        font-weight: 500;
        font-size: 0.95rem;
        transition: var(--transition);
    }
    .hero-actions .btn-outline:hover {
        border-color: var(--secondary);
        color: var(--secondary);
        background: rgba(255,109,0,0.08);
    }
    .hero-visual {
        flex-shrink: 0;
        width: 320px;
        height: 320px;
        border-radius: var(--radius);
        overflow: hidden;
        box-shadow: var(--shadow-lg);
        background: linear-gradient(135deg, #1a3a6a, #0a1f3d);
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255,255,255,0.10);
    }
    .hero-visual img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.85;
    }

    /* ===== Sections Common ===== */
    .section { padding: 80px 0; }
    .section-alt { background: var(--bg-alt); }
    .section-title {
        text-align: center;
        margin-bottom: 16px;
        font-size: 2rem;
        font-weight: 800;
        letter-spacing: -0.01em;
    }
    .section-subtitle {
        text-align: center;
        color: var(--text-light);
        font-size: 1.05rem;
        max-width: 620px;
        margin: 0 auto 48px;
        line-height: 1.6;
    }
    .section-title-left { text-align: left; }
    .section-subtitle-left { margin-left: 0; }

    /* ===== Features / Cards ===== */
    .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 28px;
    }
    .feature-card {
        background: var(--bg-card);
        border-radius: var(--radius);
        padding: 32px 28px;
        box-shadow: var(--shadow);
        border: 1px solid var(--border-light);
        transition: var(--transition);
    }
    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-hover);
    }
    .feature-card .icon-circle {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        color: #fff;
        margin-bottom: 20px;
        background: var(--primary);
    }
    .feature-card .icon-circle.orange { background: var(--secondary); }
    .feature-card .icon-circle.green { background: var(--accent); }
    .feature-card .icon-circle.purple { background: #7c3aed; }
    .feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
    .feature-card p { color: var(--text-light); font-size: 0.95rem; line-height: 1.6; }

    /* ===== Category Section ===== */
    .category-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
    }
    .category-card {
        position: relative;
        border-radius: var(--radius);
        overflow: hidden;
        background: var(--bg-card);
        box-shadow: var(--shadow);
        border: 1px solid var(--border-light);
        transition: var(--transition);
    }
    .category-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-hover);
    }
    .category-card .card-img {
        height: 200px;
        overflow: hidden;
    }
    .category-card .card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }
    .category-card:hover .card-img img { transform: scale(1.05); }
    .category-card .card-body {
        padding: 20px 24px 24px;
    }
    .category-card .card-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
    .category-card .card-body p { color: var(--text-light); font-size: 0.92rem; line-height: 1.6; margin-bottom: 16px; }
    .category-card .card-body .card-tag {
        display: inline-block;
        padding: 4px 14px;
        background: var(--primary-light);
        color: var(--primary);
        border-radius: 50px;
        font-size: 0.8rem;
        font-weight: 500;
    }

    /* ===== Latest Posts (CMS) ===== */
    .posts-list {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .post-item {
        display: flex;
        gap: 24px;
        background: var(--bg-card);
        border-radius: var(--radius);
        padding: 20px 24px;
        box-shadow: var(--shadow);
        border: 1px solid var(--border-light);
        transition: var(--transition);
        align-items: flex-start;
    }
    .post-item:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-hover);
    }
    .post-item .post-thumb {
        width: 120px;
        height: 90px;
        border-radius: var(--radius-sm);
        overflow: hidden;
        flex-shrink: 0;
    }
    .post-item .post-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .post-item .post-info { flex: 1; }
    .post-item .post-info h3 {
        font-size: 1.05rem;
        font-weight: 600;
        margin-bottom: 6px;
        line-height: 1.4;
    }
    .post-item .post-info h3 a { color: var(--text); }
    .post-item .post-info h3 a:hover { color: var(--primary); }
    .post-item .post-info .post-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        font-size: 0.82rem;
        color: var(--text-light);
        margin-top: 8px;
    }
    .post-item .post-info .post-meta span { display: flex; align-items: center; gap: 4px; }
    .post-item .post-info .post-meta .post-cat {
        background: var(--primary-light);
        color: var(--primary);
        padding: 2px 12px;
        border-radius: 50px;
        font-weight: 500;
    }
    .post-item .post-info .post-excerpt {
        color: var(--text-light);
        font-size: 0.92rem;
        line-height: 1.6;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .posts-empty {
        text-align: center;
        padding: 48px 24px;
        color: var(--text-light);
        font-size: 1rem;
        background: var(--bg-card);
        border-radius: var(--radius);
        border: 1px dashed var(--border);
    }
    .posts-empty i { font-size: 2.5rem; color: var(--border); margin-bottom: 16px; display: block; }

    /* ===== Stats / Numbers ===== */
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 28px;
        text-align: center;
    }
    .stat-item {
        background: var(--bg-card);
        border-radius: var(--radius);
        padding: 36px 20px;
        box-shadow: var(--shadow);
        border: 1px solid var(--border-light);
        transition: var(--transition);
    }
    .stat-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
    .stat-item .stat-number {
        font-size: 2.6rem;
        font-weight: 800;
        color: var(--primary);
        line-height: 1.2;
        margin-bottom: 6px;
    }
    .stat-item .stat-number.orange { color: var(--secondary); }
    .stat-item .stat-number.green { color: var(--accent); }
    .stat-item .stat-label {
        font-size: 0.95rem;
        color: var(--text-light);
        font-weight: 500;
    }

    /* ===== Features List (with images) ===== */
    .features-alt-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 28px;
    }
    .feature-alt-card {
        background: var(--bg-card);
        border-radius: var(--radius);
        overflow: hidden;
        box-shadow: var(--shadow);
        border: 1px solid var(--border-light);
        transition: var(--transition);
    }
    .feature-alt-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
    .feature-alt-card .alt-img {
        height: 180px;
        overflow: hidden;
    }
    .feature-alt-card .alt-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }
    .feature-alt-card:hover .alt-img img { transform: scale(1.05); }
    .feature-alt-card .alt-body {
        padding: 24px;
    }
    .feature-alt-card .alt-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
    .feature-alt-card .alt-body p { color: var(--text-light); font-size: 0.92rem; line-height: 1.6; }

    /* ===== FAQ ===== */
    .faq-list {
        max-width: 780px;
        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-light);
        overflow: hidden;
        transition: var(--transition);
    }
    .faq-item:hover { border-color: var(--border); }
    .faq-item .faq-question {
        width: 100%;
        padding: 18px 24px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        font-size: 1rem;
        font-weight: 600;
        color: var(--text);
        background: none;
        text-align: left;
        transition: var(--transition);
    }
    .faq-item .faq-question i {
        color: var(--primary);
        transition: transform var(--transition);
        font-size: 0.9rem;
        flex-shrink: 0;
    }
    .faq-item.active .faq-question i { transform: rotate(180deg); }
    .faq-item .faq-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.3s ease;
        padding: 0 24px;
        color: var(--text-light);
        font-size: 0.95rem;
        line-height: 1.7;
    }
    .faq-item.active .faq-answer {
        max-height: 300px;
        padding: 0 24px 20px;
    }

    /* ===== CTA Section ===== */
    .cta-section {
        background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
        padding: 80px 0;
        text-align: center;
        position: relative;
        overflow: hidden;
    }
    .cta-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
        opacity: 0.10;
        mix-blend-mode: overlay;
    }
    .cta-section .container { position: relative; z-index: 2; }
    .cta-section h2 {
        font-size: 2.2rem;
        font-weight: 800;
        color: var(--text-white);
        margin-bottom: 16px;
    }
    .cta-section p {
        font-size: 1.1rem;
        color: rgba(255,255,255,0.75);
        max-width: 540px;
        margin: 0 auto 32px;
        line-height: 1.6;
    }
    .cta-section .btn-cta {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        padding: 16px 48px;
        background: var(--secondary);
        color: #fff;
        border-radius: 50px;
        font-weight: 700;
        font-size: 1.15rem;
        box-shadow: 0 8px 32px rgba(255,109,0,0.40);
        transition: var(--transition);
    }
    .cta-section .btn-cta:hover {
        background: #e55f00;
        transform: translateY(-3px);
        box-shadow: 0 14px 40px rgba(255,109,0,0.55);
    }

    /* ===== Footer ===== */
    .site-footer {
        background: #0f1923;
        color: rgba(255,255,255,0.6);
        padding: 48px 0 32px;
    }
    .site-footer .footer-grid {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr;
        gap: 40px;
        margin-bottom: 32px;
    }
    .site-footer .footer-brand .brand-text {
        font-size: 1.2rem;
        font-weight: 700;
        color: #fff;
        margin-bottom: 12px;
        display: block;
    }
    .site-footer .footer-brand p {
        font-size: 0.9rem;
        line-height: 1.7;
        max-width: 360px;
    }
    .site-footer .footer-col h4 {
        color: #fff;
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 16px;
    }
    .site-footer .footer-col a {
        display: block;
        color: rgba(255,255,255,0.55);
        font-size: 0.9rem;
        padding: 4px 0;
        transition: var(--transition);
    }
    .site-footer .footer-col a:hover { color: var(--secondary); }
    .site-footer .footer-bottom {
        border-top: 1px solid rgba(255,255,255,0.08);
        padding-top: 24px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 12px;
        font-size: 0.82rem;
        color: rgba(255,255,255,0.4);
    }

    /* ===== Back to Top ===== */
    .back-top {
        position: fixed;
        bottom: 32px;
        right: 32px;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: var(--primary);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        box-shadow: var(--shadow-lg);
        z-index: 900;
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }
    .back-top.visible { opacity: 1; pointer-events: auto; }
    .back-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

    /* ===== Responsive ===== */
    @media (max-width: 1024px) {
        .hero-content h1 { font-size: 2.4rem; }
        .hero-visual { width: 260px; height: 260px; }
        .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
    }

    @media (max-width: 820px) {
        .sidebar { transform: translateX(-100%); }
        .sidebar.open { transform: translateX(0); }
        .main-content { margin-left: 0; }
        .mobile-header { display: flex; }
        .sidebar-overlay { display: block; }
        .hero { padding: 60px 0 60px; min-height: auto; }
        .hero .container { flex-direction: column; text-align: center; }
        .hero-content p { margin-left: auto; margin-right: auto; }
        .hero-actions { justify-content: center; }
        .hero-visual { width: 220px; height: 220px; }
        .section { padding: 56px 0; }
        .section-title { font-size: 1.6rem; }
        .post-item { flex-direction: column; }
        .post-item .post-thumb { width: 100%; height: 180px; }
        .site-footer .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    }

    @media (max-width: 520px) {
        .hero-content h1 { font-size: 1.8rem; }
        .hero-content p { font-size: 1rem; }
        .hero-actions .btn-primary { padding: 12px 28px; font-size: 0.95rem; }
        .hero-actions .btn-outline { padding: 10px 22px; font-size: 0.85rem; }
        .hero-visual { width: 180px; height: 180px; }
        .features-grid { grid-template-columns: 1fr; }
        .category-grid { grid-template-columns: 1fr; }
        .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
        .stat-item { padding: 24px 16px; }
        .stat-item .stat-number { font-size: 2rem; }
        .features-alt-grid { grid-template-columns: 1fr; }
        .cta-section h2 { font-size: 1.6rem; }
        .cta-section .btn-cta { padding: 14px 32px; font-size: 1rem; }
        .container { padding: 0 16px; }
        .back-top { bottom: 20px; right: 20px; width: 42px; height: 42px; font-size: 1rem; }
    }

    /* ===== Utility ===== */
    .text-center { text-align: center; }
    .mt-16 { margin-top: 16px; }
    .mb-16 { margin-bottom: 16px; }
    .gap-8 { gap: 8px; }

/* roulang page: category1 */
/* ===== Design Variables ===== */
        :root {
            --primary: #1e3a5f;
            --primary-light: #2a5298;
            --primary-dark: #0f2340;
            --accent: #f5a623;
            --accent-light: #ffc857;
            --accent-dark: #d48c1a;
            --success: #27ae60;
            --info: #2d9cdb;
            --danger: #eb5757;
            --bg-body: #f4f6fa;
            --bg-white: #ffffff;
            --bg-card: #ffffff;
            --bg-sidebar: #0f2340;
            --bg-sidebar-hover: #1a3150;
            --bg-sidebar-active: #2a5298;
            --text-dark: #1a1a2e;
            --text-body: #2d3748;
            --text-muted: #718096;
            --text-light: #a0aec0;
            --text-white: #ffffff;
            --border: #e2e8f0;
            --border-light: #f0f2f5;
            --radius-sm: 6px;
            --radius-md: 12px;
            --radius-lg: 20px;
            --radius-xl: 28px;
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
            --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
            --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
            --shadow-xl: 0 24px 60px rgba(0,0,0,0.18);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --sidebar-width: 240px;
            --sidebar-collapsed: 72px;
            --header-height: 0px;
            --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            --spacing-xs: 4px;
            --spacing-sm: 8px;
            --spacing-md: 16px;
            --spacing-lg: 24px;
            --spacing-xl: 40px;
            --spacing-2xl: 64px;
            --spacing-3xl: 96px;
        }

        /* ===== Reset & Base ===== */
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
        body {
            font-family: var(--font-sans);
            font-size: 16px;
            line-height: 1.7;
            color: var(--text-body);
            background: var(--bg-body);
            display: flex;
            min-height: 100vh;
        }
        img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }
        a { color: var(--primary); text-decoration: none; transition: var(--transition); }
        a:hover { color: var(--primary-light); }
        ul, ol { list-style: none; }
        button, input, textarea { font-family: inherit; font-size: inherit; outline: none; border: none; }
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 var(--spacing-lg);
        }

        /* ===== Sidebar Navigation ===== */
        .sidebar {
            position: fixed;
            top: 0;
            left: 0;
            bottom: 0;
            width: var(--sidebar-width);
            background: var(--bg-sidebar);
            z-index: 1000;
            display: flex;
            flex-direction: column;
            padding: var(--spacing-lg) 0;
            transition: var(--transition);
            box-shadow: 2px 0 20px rgba(0,0,0,0.2);
            overflow-y: auto;
        }
        .sidebar-logo {
            display: flex;
            align-items: center;
            gap: var(--spacing-md);
            padding: var(--spacing-md) var(--spacing-lg) var(--spacing-xl);
            border-bottom: 1px solid rgba(255,255,255,0.08);
            margin-bottom: var(--spacing-md);
        }
        .sidebar-logo .logo-icon {
            width: 44px;
            height: 44px;
            background: linear-gradient(135deg, var(--accent), var(--accent-dark));
            border-radius: var(--radius-md);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            color: #fff;
            flex-shrink: 0;
            box-shadow: 0 4px 12px rgba(245,166,35,0.35);
        }
        .sidebar-logo .brand-text {
            font-size: 18px;
            font-weight: 700;
            color: var(--text-white);
            letter-spacing: 0.5px;
            line-height: 1.3;
        }
        .sidebar-nav {
            display: flex;
            flex-direction: column;
            gap: var(--spacing-xs);
            padding: 0 var(--spacing-sm);
            flex: 1;
        }
        .sidebar-nav .nav-item {
            display: flex;
            align-items: center;
            gap: var(--spacing-md);
            padding: 14px var(--spacing-lg);
            border-radius: var(--radius-md);
            color: rgba(255,255,255,0.7);
            font-size: 15px;
            font-weight: 500;
            transition: var(--transition);
            position: relative;
        }
        .sidebar-nav .nav-item i {
            width: 22px;
            text-align: center;
            font-size: 18px;
            flex-shrink: 0;
        }
        .sidebar-nav .nav-item .nav-label {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .sidebar-nav .nav-item:hover {
            background: var(--bg-sidebar-hover);
            color: #fff;
            transform: translateX(4px);
        }
        .sidebar-nav .nav-item.active {
            background: var(--bg-sidebar-active);
            color: #fff;
            box-shadow: 0 4px 12px rgba(42,82,152,0.4);
        }
        .sidebar-nav .nav-item.active::before {
            content: '';
            position: absolute;
            left: -8px;
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 28px;
            background: var(--accent);
            border-radius: 0 4px 4px 0;
        }

        /* ===== Mobile Toggle ===== */
        .mobile-toggle {
            display: none;
            position: fixed;
            top: 16px;
            left: 16px;
            z-index: 1100;
            background: var(--primary);
            color: #fff;
            width: 44px;
            height: 44px;
            border-radius: var(--radius-md);
            align-items: center;
            justify-content: center;
            font-size: 20px;
            cursor: pointer;
            box-shadow: var(--shadow-md);
            border: none;
            transition: var(--transition);
        }
        .mobile-toggle:hover { background: var(--primary-light); }
        .sidebar-overlay {
            display: none;
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0,0,0,0.5);
            z-index: 999;
            backdrop-filter: blur(4px);
        }

        /* ===== Main Content ===== */
        .main-content {
            margin-left: var(--sidebar-width);
            flex: 1;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            transition: var(--transition);
        }
        .page-main {
            flex: 1;
        }

        /* ===== Banner / Hero (Category) ===== */
        .category-banner {
            position: relative;
            padding: 80px 0 72px;
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
            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.2;
            mix-blend-mode: overlay;
        }
        .category-banner::after {
            content: '';
            position: absolute;
            bottom: 0; left: 0; right: 0;
            height: 120px;
            background: linear-gradient(to top, var(--bg-body), transparent);
        }
        .category-banner .container {
            position: relative;
            z-index: 2;
            text-align: center;
        }
        .category-banner .breadcrumb {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: var(--spacing-sm);
            font-size: 14px;
            color: rgba(255,255,255,0.6);
            margin-bottom: var(--spacing-lg);
        }
        .category-banner .breadcrumb a {
            color: rgba(255,255,255,0.7);
        }
        .category-banner .breadcrumb a:hover { color: var(--accent); }
        .category-banner .breadcrumb .sep { color: rgba(255,255,255,0.35); }
        .category-banner h1 {
            font-size: 44px;
            font-weight: 800;
            color: var(--text-white);
            margin-bottom: var(--spacing-md);
            letter-spacing: -0.5px;
            line-height: 1.2;
        }
        .category-banner h1 span {
            background: linear-gradient(135deg, var(--accent), var(--accent-light));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .category-banner .subtitle {
            font-size: 18px;
            color: rgba(255,255,255,0.8);
            max-width: 640px;
            margin: 0 auto var(--spacing-lg);
            line-height: 1.6;
        }
        .category-banner .banner-stats {
            display: flex;
            justify-content: center;
            gap: var(--spacing-xl);
            flex-wrap: wrap;
        }
        .category-banner .banner-stats .stat-item {
            text-align: center;
            color: #fff;
        }
        .category-banner .banner-stats .stat-num {
            font-size: 36px;
            font-weight: 800;
            line-height: 1.2;
            color: var(--accent);
        }
        .category-banner .banner-stats .stat-label {
            font-size: 14px;
            color: rgba(255,255,255,0.7);
            margin-top: 4px;
        }

        /* ===== Section Common ===== */
        .section {
            padding: var(--spacing-2xl) 0;
        }
        .section-header {
            text-align: center;
            margin-bottom: var(--spacing-xl);
        }
        .section-header h2 {
            font-size: 32px;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: var(--spacing-sm);
        }
        .section-header h2 .highlight {
            color: var(--accent-dark);
        }
        .section-header p {
            font-size: 16px;
            color: var(--text-muted);
            max-width: 560px;
            margin: 0 auto;
        }
        .section-header .divider {
            width: 60px;
            height: 4px;
            background: linear-gradient(90deg, var(--accent), var(--primary));
            border-radius: 4px;
            margin: var(--spacing-md) auto 0;
        }

        /* ===== Subcategory Tabs ===== */
        .subcategory-tabs {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: var(--spacing-sm);
            margin-bottom: var(--spacing-xl);
        }
        .subcategory-tabs .tab-btn {
            padding: 10px 24px;
            border-radius: 50px;
            background: var(--bg-white);
            border: 1px solid var(--border);
            color: var(--text-body);
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: var(--shadow-sm);
        }
        .subcategory-tabs .tab-btn:hover {
            border-color: var(--primary);
            color: var(--primary);
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }
        .subcategory-tabs .tab-btn.active {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
            box-shadow: 0 4px 14px rgba(30,58,95,0.35);
        }
        .subcategory-tabs .tab-btn i {
            margin-right: 6px;
        }

        /* ===== Sport Cards Grid ===== */
        .sport-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: var(--spacing-lg);
        }
        .sport-card {
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
            border: 1px solid var(--border-light);
            cursor: pointer;
        }
        .sport-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-lg);
            border-color: var(--border);
        }
        .sport-card .card-img {
            position: relative;
            height: 180px;
            overflow: hidden;
            background: var(--primary-dark);
        }
        .sport-card .card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }
        .sport-card:hover .card-img img { transform: scale(1.08); }
        .sport-card .card-img .card-badge {
            position: absolute;
            top: var(--spacing-md);
            left: var(--spacing-md);
            padding: 4px 14px;
            border-radius: 50px;
            background: rgba(245,166,35,0.92);
            color: #fff;
            font-size: 12px;
            font-weight: 600;
            backdrop-filter: blur(4px);
        }
        .sport-card .card-img .card-badge.live {
            background: rgba(235,87,87,0.9);
            animation: pulse-dot 1.5s ease-in-out infinite;
        }
        @keyframes pulse-dot {
            0%, 100% { box-shadow: 0 0 0 0 rgba(235,87,87,0.5); }
            50% { box-shadow: 0 0 0 8px rgba(235,87,87,0); }
        }
        .sport-card .card-body {
            padding: var(--spacing-lg);
        }
        .sport-card .card-body h3 {
            font-size: 18px;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: var(--spacing-xs);
        }
        .sport-card .card-body .match-info {
            font-size: 14px;
            color: var(--text-muted);
            display: flex;
            align-items: center;
            gap: var(--spacing-sm);
            margin-bottom: var(--spacing-sm);
        }
        .sport-card .card-body .match-info i {
            color: var(--accent-dark);
        }
        .sport-card .card-body .teams {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: var(--spacing-sm) 0;
            border-top: 1px solid var(--border-light);
            border-bottom: 1px solid var(--border-light);
            margin-bottom: var(--spacing-sm);
        }
        .sport-card .card-body .teams .team {
            font-size: 15px;
            font-weight: 600;
            color: var(--text-dark);
        }
        .sport-card .card-body .teams .score {
            font-size: 22px;
            font-weight: 800;
            color: var(--primary);
        }
        .sport-card .card-body .card-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .sport-card .card-body .card-footer .tag {
            font-size: 12px;
            padding: 4px 12px;
            border-radius: 50px;
            background: var(--bg-body);
            color: var(--text-muted);
        }
        .sport-card .card-body .card-footer .tag.hot {
            background: rgba(245,166,35,0.12);
            color: var(--accent-dark);
        }
        .sport-card .card-body .card-footer .more-link {
            font-size: 13px;
            color: var(--primary);
            font-weight: 500;
        }
        .sport-card .card-body .card-footer .more-link i {
            transition: transform 0.2s;
        }
        .sport-card .card-body .card-footer .more-link:hover i {
            transform: translateX(4px);
        }

        /* ===== Schedule Table ===== */
        .schedule-wrap {
            background: var(--bg-white);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
            overflow: hidden;
        }
        .schedule-table {
            width: 100%;
            border-collapse: collapse;
        }
        .schedule-table th {
            background: var(--primary);
            color: #fff;
            font-weight: 600;
            font-size: 14px;
            padding: 16px 20px;
            text-align: left;
        }
        .schedule-table td {
            padding: 14px 20px;
            border-bottom: 1px solid var(--border-light);
            font-size: 15px;
            color: var(--text-body);
        }
        .schedule-table tr:hover td {
            background: #f8faff;
        }
        .schedule-table .live-tag {
            display: inline-block;
            padding: 2px 12px;
            border-radius: 50px;
            background: rgba(235,87,87,0.12);
            color: var(--danger);
            font-size: 12px;
            font-weight: 600;
        }
        .schedule-table .upcoming-tag {
            display: inline-block;
            padding: 2px 12px;
            border-radius: 50px;
            background: rgba(45,156,219,0.12);
            color: var(--info);
            font-size: 12px;
            font-weight: 600;
        }
        .schedule-table .btn-watch {
            padding: 6px 18px;
            border-radius: 50px;
            background: var(--accent);
            color: #fff;
            font-size: 13px;
            font-weight: 600;
            transition: var(--transition);
            border: none;
            cursor: pointer;
        }
        .schedule-table .btn-watch:hover {
            background: var(--accent-dark);
            transform: scale(1.04);
        }

        /* ===== Stats / Data Section ===== */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: var(--spacing-lg);
        }
        .stats-grid .stat-card {
            background: var(--bg-white);
            border-radius: var(--radius-lg);
            padding: var(--spacing-xl) var(--spacing-lg);
            text-align: center;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
            transition: var(--transition);
        }
        .stats-grid .stat-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
        }
        .stats-grid .stat-card .stat-icon {
            width: 56px;
            height: 56px;
            border-radius: 16px;
            background: linear-gradient(135deg, rgba(30,58,95,0.08), rgba(42,82,152,0.08));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 26px;
            color: var(--primary);
            margin: 0 auto var(--spacing-md);
        }
        .stats-grid .stat-card .stat-number {
            font-size: 36px;
            font-weight: 800;
            color: var(--text-dark);
            line-height: 1.2;
        }
        .stats-grid .stat-card .stat-number .accent {
            color: var(--accent-dark);
        }
        .stats-grid .stat-card .stat-desc {
            font-size: 14px;
            color: var(--text-muted);
            margin-top: var(--spacing-xs);
        }

        /* ===== News / Info List ===== */
        .news-list {
            display: grid;
            gap: var(--spacing-md);
        }
        .news-item {
            display: flex;
            gap: var(--spacing-lg);
            background: var(--bg-white);
            border-radius: var(--radius-md);
            padding: var(--spacing-lg);
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
            transition: var(--transition);
            align-items: flex-start;
        }
        .news-item:hover {
            box-shadow: var(--shadow-md);
            transform: translateX(4px);
        }
        .news-item .news-img {
            width: 180px;
            min-height: 120px;
            border-radius: var(--radius-sm);
            overflow: hidden;
            flex-shrink: 0;
            background: var(--primary-dark);
        }
        .news-item .news-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .news-item .news-body { flex: 1; }
        .news-item .news-body .news-tag {
            display: inline-block;
            padding: 2px 12px;
            border-radius: 50px;
            background: rgba(30,58,95,0.08);
            color: var(--primary);
            font-size: 12px;
            font-weight: 600;
            margin-bottom: var(--spacing-xs);
        }
        .news-item .news-body h3 {
            font-size: 18px;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: var(--spacing-xs);
        }
        .news-item .news-body p {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.6;
            margin-bottom: var(--spacing-sm);
        }
        .news-item .news-body .news-meta {
            font-size: 13px;
            color: var(--text-light);
            display: flex;
            align-items: center;
            gap: var(--spacing-md);
        }
        .news-item .news-body .news-meta i { margin-right: 4px; }

        /* ===== FAQ ===== */
        .faq-list {
            max-width: 800px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: var(--spacing-sm);
        }
        .faq-item {
            background: var(--bg-white);
            border-radius: var(--radius-md);
            border: 1px solid var(--border-light);
            overflow: hidden;
            transition: var(--transition);
        }
        .faq-item:hover { box-shadow: var(--shadow-sm); }
        .faq-question {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 18px 24px;
            font-size: 16px;
            font-weight: 600;
            color: var(--text-dark);
            cursor: pointer;
            transition: var(--transition);
            user-select: none;
        }
        .faq-question:hover { color: var(--primary); }
        .faq-question i {
            transition: transform 0.3s;
            color: var(--text-muted);
            font-size: 14px;
        }
        .faq-item.open .faq-question i { transform: rotate(180deg); color: var(--primary); }
        .faq-answer {
            padding: 0 24px 18px;
            font-size: 15px;
            color: var(--text-muted);
            line-height: 1.7;
            display: none;
        }
        .faq-item.open .faq-answer { display: block; }

        /* ===== CTA ===== */
        .cta-section {
            background: linear-gradient(135deg, var(--primary-dark), var(--primary));
            position: relative;
            overflow: hidden;
        }
        .cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
            opacity: 0.1;
            mix-blend-mode: overlay;
        }
        .cta-section .container {
            position: relative;
            z-index: 2;
            text-align: center;
            padding: var(--spacing-2xl) var(--spacing-lg);
        }
        .cta-section h2 {
            font-size: 36px;
            font-weight: 800;
            color: #fff;
            margin-bottom: var(--spacing-sm);
        }
        .cta-section p {
            font-size: 17px;
            color: rgba(255,255,255,0.8);
            max-width: 520px;
            margin: 0 auto var(--spacing-lg);
        }
        .cta-section .btn-group {
            display: flex;
            justify-content: center;
            gap: var(--spacing-md);
            flex-wrap: wrap;
        }
        .cta-section .btn-primary {
            padding: 14px 40px;
            border-radius: 50px;
            background: var(--accent);
            color: #fff;
            font-weight: 700;
            font-size: 16px;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: var(--spacing-sm);
            box-shadow: 0 8px 24px rgba(245,166,35,0.4);
            border: none;
            cursor: pointer;
        }
        .cta-section .btn-primary:hover {
            background: var(--accent-dark);
            transform: translateY(-2px);
            box-shadow: 0 12px 32px rgba(245,166,35,0.5);
        }
        .cta-section .btn-outline {
            padding: 14px 40px;
            border-radius: 50px;
            background: transparent;
            color: #fff;
            font-weight: 600;
            font-size: 16px;
            border: 2px solid rgba(255,255,255,0.3);
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: var(--spacing-sm);
            cursor: pointer;
        }
        .cta-section .btn-outline:hover {
            border-color: #fff;
            background: rgba(255,255,255,0.08);
            transform: translateY(-2px);
        }

        /* ===== Footer ===== */
        .site-footer {
            background: var(--primary-dark);
            color: rgba(255,255,255,0.7);
            padding: var(--spacing-2xl) 0 var(--spacing-lg);
            margin-top: auto;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: var(--spacing-xl);
            margin-bottom: var(--spacing-xl);
        }
        .footer-brand .brand-text {
            font-size: 20px;
            font-weight: 700;
            color: #fff;
            display: block;
            margin-bottom: var(--spacing-sm);
        }
        .footer-brand p {
            font-size: 14px;
            line-height: 1.7;
            color: rgba(255,255,255,0.6);
        }
        .footer-col h4 {
            color: #fff;
            font-size: 16px;
            font-weight: 600;
            margin-bottom: var(--spacing-md);
        }
        .footer-col a {
            display: block;
            color: rgba(255,255,255,0.6);
            font-size: 14px;
            padding: 4px 0;
            transition: var(--transition);
        }
        .footer-col a:hover {
            color: var(--accent);
            padding-left: 6px;
        }
        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.08);
            padding-top: var(--spacing-lg);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: var(--spacing-sm);
            font-size: 13px;
            color: rgba(255,255,255,0.45);
        }

        /* ===== Responsive ===== */
        @media (max-width: 1024px) {
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .footer-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (max-width: 768px) {
            .sidebar {
                transform: translateX(-100%);
                width: 280px;
            }
            .sidebar.open { transform: translateX(0); }
            .sidebar-overlay.active { display: block; }
            .mobile-toggle { display: flex; }
            .main-content {
                margin-left: 0;
            }
            .category-banner h1 {
                font-size: 30px;
            }
            .category-banner .banner-stats {
                gap: var(--spacing-lg);
            }
            .category-banner .banner-stats .stat-num {
                font-size: 28px;
            }
            .section-header h2 {
                font-size: 26px;
            }
            .sport-grid {
                grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
            }
            .news-item {
                flex-direction: column;
            }
            .news-item .news-img {
                width: 100%;
                height: 160px;
            }
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: var(--spacing-md);
            }
            .footer-grid {
                grid-template-columns: 1fr;
            }
            .schedule-table {
                font-size: 13px;
            }
            .schedule-table th, .schedule-table td {
                padding: 12px 14px;
            }
            .cta-section h2 {
                font-size: 28px;
            }
            .subcategory-tabs .tab-btn {
                padding: 8px 18px;
                font-size: 13px;
            }
        }

        @media (max-width: 520px) {
            .category-banner {
                padding: 60px 0 48px;
            }
            .category-banner h1 {
                font-size: 24px;
            }
            .category-banner .subtitle {
                font-size: 15px;
            }
            .category-banner .banner-stats .stat-item {
                flex: 1 1 40%;
            }
            .category-banner .banner-stats .stat-num {
                font-size: 22px;
            }
            .section {
                padding: var(--spacing-xl) 0;
            }
            .section-header h2 {
                font-size: 22px;
            }
            .sport-grid {
                grid-template-columns: 1fr;
            }
            .stats-grid {
                grid-template-columns: 1fr 1fr;
                gap: var(--spacing-sm);
            }
            .stats-grid .stat-card {
                padding: var(--spacing-lg) var(--spacing-md);
            }
            .stats-grid .stat-card .stat-number {
                font-size: 26px;
            }
            .schedule-table th, .schedule-table td {
                padding: 10px 10px;
                font-size: 12px;
            }
            .schedule-table .btn-watch {
                padding: 4px 12px;
                font-size: 11px;
            }
            .subcategory-tabs {
                gap: 6px;
            }
            .subcategory-tabs .tab-btn {
                padding: 6px 14px;
                font-size: 12px;
            }
            .cta-section h2 {
                font-size: 22px;
            }
            .cta-section .btn-primary,
            .cta-section .btn-outline {
                padding: 12px 28px;
                font-size: 14px;
            }
            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
            .faq-question {
                padding: 14px 16px;
                font-size: 14px;
            }
            .faq-answer {
                padding: 0 16px 14px;
                font-size: 14px;
            }
        }

/* roulang page: article */
/* ===== Design Variables ===== */
        :root {
            --primary: #e63946;
            --primary-dark: #c1121f;
            --primary-light: #ff6b6b;
            --secondary: #1d3557;
            --secondary-light: #457b9d;
            --accent: #f4a261;
            --bg: #f8f9fa;
            --bg-alt: #ffffff;
            --bg-dark: #1a1a2e;
            --text: #2b2d42;
            --text-light: #6c757d;
            --text-white: #ffffff;
            --border: #dee2e6;
            --border-light: #e9ecef;
            --radius: 12px;
            --radius-sm: 8px;
            --radius-lg: 20px;
            --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
            --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.12);
            --shadow-sidebar: 2px 0 30px rgba(0, 0, 0, 0.08);
            --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            --sidebar-width: 220px;
            --header-height: 64px;
            --container-max: 1200px;
            --content-max: 860px;
        }

        /* ===== Reset & Base ===== */
        *,
        *::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: inherit;
            text-decoration: none;
            transition: var(--transition);
        }
        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;
            transition: var(--transition);
        }
        ul,
        ol {
            list-style: none;
        }
        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            line-height: 1.3;
            font-weight: 700;
            color: var(--text);
        }
        h1 {
            font-size: 2.2rem;
        }
        h2 {
            font-size: 1.75rem;
            margin-bottom: 1rem;
        }
        h3 {
            font-size: 1.35rem;
        }
        p {
            margin-bottom: 1rem;
            color: var(--text-light);
        }
        .container {
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 24px;
            width: 100%;
        }

        /* ===== Sidebar Navigation ===== */
        .sidebar {
            position: fixed;
            top: 0;
            left: 0;
            width: var(--sidebar-width);
            height: 100vh;
            background: var(--bg-alt);
            border-right: 1px solid var(--border-light);
            box-shadow: var(--shadow-sidebar);
            z-index: 1000;
            display: flex;
            flex-direction: column;
            transition: transform var(--transition);
        }
        .sidebar-brand {
            padding: 24px 20px 20px;
            border-bottom: 1px solid var(--border-light);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .sidebar-brand .brand-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: 20px;
            font-weight: 800;
            flex-shrink: 0;
        }
        .sidebar-brand .brand-text {
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--secondary);
            letter-spacing: 0.5px;
            line-height: 1.2;
        }
        .sidebar-nav {
            flex: 1;
            padding: 16px 12px;
            display: flex;
            flex-direction: column;
            gap: 4px;
            overflow-y: auto;
        }
        .sidebar-nav .nav-item {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 12px 16px;
            border-radius: var(--radius-sm);
            color: var(--text-light);
            font-weight: 500;
            font-size: 0.95rem;
            transition: var(--transition);
            position: relative;
        }
        .sidebar-nav .nav-item i {
            width: 20px;
            text-align: center;
            font-size: 1.1rem;
            flex-shrink: 0;
        }
        .sidebar-nav .nav-item:hover {
            background: rgba(230, 57, 70, 0.06);
            color: var(--primary);
        }
        .sidebar-nav .nav-item.active {
            background: rgba(230, 57, 70, 0.1);
            color: var(--primary);
            font-weight: 600;
        }
        .sidebar-nav .nav-item.active::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 3px;
            height: 24px;
            background: var(--primary);
            border-radius: 0 4px 4px 0;
        }
        .sidebar-nav .nav-label {
            flex: 1;
        }

        /* ===== Main Content Area ===== */
        .main-wrapper {
            margin-left: var(--sidebar-width);
            flex: 1;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* ===== Article Hero / Banner ===== */
        .article-hero {
            position: relative;
            padding: 60px 0 50px;
            background: var(--bg-dark);
            color: var(--text-white);
            overflow: hidden;
        }
        .article-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
            opacity: 0.25;
            z-index: 0;
        }
        .article-hero::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(26, 26, 46, 0.92) 0%, rgba(26, 26, 46, 0.7) 100%);
            z-index: 1;
        }
        .article-hero .container {
            position: relative;
            z-index: 2;
        }
        .article-hero .breadcrumb {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.6);
            margin-bottom: 20px;
            flex-wrap: wrap;
        }
        .article-hero .breadcrumb a {
            color: rgba(255, 255, 255, 0.7);
        }
        .article-hero .breadcrumb a:hover {
            color: var(--primary-light);
        }
        .article-hero .breadcrumb .sep {
            color: rgba(255, 255, 255, 0.35);
        }
        .article-hero .breadcrumb .current {
            color: var(--text-white);
        }
        .article-hero .hero-category {
            display: inline-block;
            background: var(--primary);
            color: #fff;
            padding: 4px 14px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            margin-bottom: 16px;
        }
        .article-hero h1 {
            font-size: 2.4rem;
            color: var(--text-white);
            margin-bottom: 16px;
            max-width: 800px;
            line-height: 1.3;
        }
        .article-hero .hero-meta {
            display: flex;
            align-items: center;
            gap: 20px;
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.65);
            flex-wrap: wrap;
        }
        .article-hero .hero-meta i {
            margin-right: 6px;
            opacity: 0.7;
        }
        .article-hero .hero-meta span {
            display: flex;
            align-items: center;
        }

        /* ===== Article Content ===== */
        .article-section {
            padding: 50px 0 60px;
            background: var(--bg-alt);
        }
        .article-layout {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 40px;
            align-items: start;
        }
        .article-body {
            background: var(--bg-alt);
            border-radius: var(--radius);
            overflow: hidden;
        }
        .article-body .featured-image {
            width: 100%;
            border-radius: var(--radius);
            margin-bottom: 32px;
            box-shadow: var(--shadow);
        }
        .article-body .content {
            font-size: 1.05rem;
            line-height: 1.9;
            color: var(--text);
        }
        .article-body .content p {
            margin-bottom: 1.2rem;
            color: var(--text);
        }
        .article-body .content h2,
        .article-body .content h3 {
            margin-top: 1.8rem;
            margin-bottom: 0.8rem;
        }
        .article-body .content ul,
        .article-body .content ol {
            margin-bottom: 1.2rem;
            padding-left: 1.5rem;
        }
        .article-body .content ul li {
            list-style: disc;
            margin-bottom: 0.4rem;
            color: var(--text);
        }
        .article-body .content ol li {
            list-style: decimal;
            margin-bottom: 0.4rem;
            color: var(--text);
        }
        .article-body .content a {
            color: var(--primary);
            border-bottom: 1px solid transparent;
        }
        .article-body .content a:hover {
            border-bottom-color: var(--primary);
        }
        .article-body .content img {
            border-radius: var(--radius-sm);
            margin: 1.5rem 0;
            box-shadow: var(--shadow);
        }
        .article-body .content blockquote {
            border-left: 4px solid var(--primary);
            padding: 16px 20px;
            margin: 1.5rem 0;
            background: rgba(230, 57, 70, 0.04);
            border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
            font-style: italic;
            color: var(--text-light);
        }
        .article-body .content .tag-list {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 2rem;
            padding-top: 1.5rem;
            border-top: 1px solid var(--border-light);
        }
        .article-body .content .tag-list .tag {
            background: var(--bg);
            padding: 4px 14px;
            border-radius: 20px;
            font-size: 0.8rem;
            color: var(--text-light);
            border: 1px solid var(--border-light);
        }
        .article-body .content .tag-list .tag:hover {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
        }

        /* ===== Sidebar (Article) ===== */
        .article-sidebar {
            display: flex;
            flex-direction: column;
            gap: 28px;
            position: sticky;
            top: 24px;
        }
        .sidebar-card {
            background: var(--bg);
            border-radius: var(--radius);
            padding: 24px;
            border: 1px solid var(--border-light);
        }
        .sidebar-card h3 {
            font-size: 1.1rem;
            margin-bottom: 16px;
            padding-bottom: 12px;
            border-bottom: 2px solid var(--primary);
            display: inline-block;
        }
        .sidebar-card .related-item {
            display: flex;
            gap: 12px;
            padding: 12px 0;
            border-bottom: 1px solid var(--border-light);
            align-items: flex-start;
        }
        .sidebar-card .related-item:last-child {
            border-bottom: none;
        }
        .sidebar-card .related-item img {
            width: 70px;
            height: 70px;
            object-fit: cover;
            border-radius: var(--radius-sm);
            flex-shrink: 0;
        }
        .sidebar-card .related-item .info {
            flex: 1;
        }
        .sidebar-card .related-item .info h4 {
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 4px;
            line-height: 1.4;
        }
        .sidebar-card .related-item .info h4 a:hover {
            color: var(--primary);
        }
        .sidebar-card .related-item .info .date {
            font-size: 0.78rem;
            color: var(--text-light);
        }
        .sidebar-card .cta-mini {
            display: block;
            text-align: center;
            background: var(--primary);
            color: #fff;
            padding: 12px 0;
            border-radius: var(--radius-sm);
            font-weight: 600;
            margin-top: 12px;
        }
        .sidebar-card .cta-mini:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: var(--shadow-hover);
        }

        /* ===== FAQ Section ===== */
        .faq-section {
            padding: 60px 0;
            background: var(--bg);
        }
        .faq-section h2 {
            text-align: center;
            margin-bottom: 40px;
        }
        .faq-grid {
            max-width: var(--content-max);
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .faq-item {
            background: var(--bg-alt);
            border-radius: var(--radius-sm);
            border: 1px solid var(--border-light);
            overflow: hidden;
            transition: var(--transition);
        }
        .faq-item:hover {
            border-color: var(--primary);
            box-shadow: 0 2px 12px rgba(230, 57, 70, 0.08);
        }
        .faq-item summary {
            padding: 18px 24px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 12px;
            color: var(--text);
            list-style: none;
        }
        .faq-item summary::-webkit-details-marker {
            display: none;
        }
        .faq-item summary::before {
            content: '+';
            font-size: 1.3rem;
            font-weight: 300;
            color: var(--primary);
            transition: var(--transition);
            flex-shrink: 0;
        }
        .faq-item[open] summary::before {
            content: '−';
        }
        .faq-item .answer {
            padding: 0 24px 20px;
            color: var(--text-light);
            line-height: 1.8;
            font-size: 0.95rem;
        }

        /* ===== CTA Section ===== */
        .cta-section {
            padding: 60px 0;
            background: var(--bg-dark);
            color: var(--text-white);
            position: relative;
            overflow: hidden;
        }
        .cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
            opacity: 0.15;
            z-index: 0;
        }
        .cta-section .container {
            position: relative;
            z-index: 1;
            text-align: center;
        }
        .cta-section h2 {
            color: var(--text-white);
            font-size: 2rem;
            margin-bottom: 16px;
        }
        .cta-section p {
            color: rgba(255, 255, 255, 0.75);
            max-width: 600px;
            margin: 0 auto 32px;
            font-size: 1.05rem;
        }
        .cta-section .btn-group {
            display: flex;
            justify-content: center;
            gap: 16px;
            flex-wrap: wrap;
        }
        .cta-section .btn-primary {
            background: var(--primary);
            color: #fff;
            padding: 14px 40px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1rem;
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }
        .cta-section .btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-3px);
            box-shadow: 0 12px 32px rgba(230, 57, 70, 0.35);
        }
        .cta-section .btn-outline {
            background: transparent;
            color: var(--text-white);
            padding: 14px 40px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1rem;
            border: 2px solid rgba(255, 255, 255, 0.3);
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }
        .cta-section .btn-outline:hover {
            border-color: var(--primary);
            background: rgba(230, 57, 70, 0.15);
            transform: translateY(-3px);
        }

        /* ===== Footer ===== */
        .site-footer {
            background: var(--secondary);
            color: rgba(255, 255, 255, 0.8);
            padding: 48px 0 28px;
        }
        .site-footer .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 32px;
        }
        .site-footer .footer-brand .brand-text {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--text-white);
            display: block;
            margin-bottom: 12px;
        }
        .site-footer .footer-brand p {
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.6);
            line-height: 1.7;
            max-width: 360px;
        }
        .site-footer .footer-col h4 {
            color: var(--text-white);
            font-size: 0.95rem;
            margin-bottom: 16px;
            font-weight: 600;
        }
        .site-footer .footer-col a {
            display: block;
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.88rem;
            padding: 4px 0;
            transition: var(--transition);
        }
        .site-footer .footer-col a:hover {
            color: var(--primary-light);
            padding-left: 4px;
        }
        .site-footer .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 12px;
            font-size: 0.82rem;
            color: rgba(255, 255, 255, 0.5);
        }

        /* ===== Not Found ===== */
        .not-found {
            text-align: center;
            padding: 80px 20px;
        }
        .not-found h2 {
            font-size: 2rem;
            color: var(--text);
        }
        .not-found p {
            color: var(--text-light);
            margin: 16px 0 32px;
        }
        .not-found .btn-back {
            display: inline-block;
            background: var(--primary);
            color: #fff;
            padding: 12px 32px;
            border-radius: 50px;
            font-weight: 600;
        }
        .not-found .btn-back:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: var(--shadow-hover);
        }

        /* ===== Mobile Sidebar Toggle ===== */
        .sidebar-toggle {
            display: none;
            position: fixed;
            top: 14px;
            left: 14px;
            z-index: 1100;
            background: var(--bg-alt);
            border: 1px solid var(--border-light);
            border-radius: var(--radius-sm);
            width: 44px;
            height: 44px;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            color: var(--text);
            box-shadow: var(--shadow);
            cursor: pointer;
        }
        .sidebar-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.4);
            z-index: 999;
            opacity: 0;
            transition: opacity var(--transition);
        }

        /* ===== Responsive ===== */
        @media (max-width: 1024px) {
            .article-layout {
                grid-template-columns: 1fr;
            }
            .article-sidebar {
                position: static;
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 20px;
            }
        }

        @media (max-width: 768px) {
            .sidebar {
                transform: translateX(-100%);
            }
            .sidebar.open {
                transform: translateX(0);
            }
            .sidebar-overlay.open {
                display: block;
                opacity: 1;
            }
            .sidebar-toggle {
                display: flex;
            }
            .main-wrapper {
                margin-left: 0;
                padding-top: 0;
            }
            .article-hero {
                padding: 40px 0 36px;
            }
            .article-hero h1 {
                font-size: 1.6rem;
            }
            .article-hero .hero-meta {
                gap: 12px;
                font-size: 0.82rem;
            }
            .article-section {
                padding: 32px 0 40px;
            }
            .article-sidebar {
                grid-template-columns: 1fr;
            }
            .site-footer .footer-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }
            .site-footer .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
            .cta-section h2 {
                font-size: 1.5rem;
            }
            .cta-section .btn-group {
                flex-direction: column;
                align-items: center;
            }
            .cta-section .btn-primary,
            .cta-section .btn-outline {
                width: 100%;
                max-width: 280px;
                justify-content: center;
            }
            .faq-section h2 {
                font-size: 1.4rem;
            }
            .faq-item summary {
                padding: 14px 16px;
                font-size: 0.9rem;
            }
            .faq-item .answer {
                padding: 0 16px 16px;
                font-size: 0.88rem;
            }
            .sidebar-card {
                padding: 18px;
            }
            .sidebar-card .related-item img {
                width: 56px;
                height: 56px;
            }
        }

        @media (max-width: 520px) {
            .container {
                padding: 0 16px;
            }
            .article-hero h1 {
                font-size: 1.35rem;
            }
            .article-hero .hero-category {
                font-size: 0.72rem;
                padding: 3px 10px;
            }
            .article-body .content {
                font-size: 0.95rem;
            }
            .article-body .featured-image {
                margin-bottom: 20px;
            }
            .sidebar-toggle {
                top: 10px;
                left: 10px;
                width: 40px;
                height: 40px;
                font-size: 1.1rem;
            }
            .not-found {
                padding: 40px 16px;
            }
            .not-found h2 {
                font-size: 1.4rem;
            }
        }

        /* ===== Loading / Empty State ===== */
        .loading-placeholder {
            padding: 40px;
            text-align: center;
            color: var(--text-light);
        }
