/* roulang page: index */
:root {
            --color-primary: #111827;
            --color-primary-light: #1f2937;
            --color-primary-mid: #374151;
            --color-accent: #f59e0b;
            --color-accent-deep: #d97706;
            --color-accent-light: #fcd34d;
            --color-accent-soft: #fef3c7;
            --color-bg: #ffffff;
            --color-bg-alt: #f9fafb;
            --color-bg-card: #ffffff;
            --color-bg-dark: #0f172a;
            --color-bg-dark-alt: #1e293b;
            --color-text: #111827;
            --color-text-secondary: #4b5563;
            --color-text-light: #9ca3af;
            --color-text-white: #ffffff;
            --color-text-on-dark: #e5e7eb;
            --color-border: #e5e7eb;
            --color-border-light: #f3f4f6;
            --color-success: #10b981;
            --color-danger: #ef4444;
            --radius-xs: 6px;
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 16px;
            --radius-xl: 20px;
            --radius-2xl: 24px;
            --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
            --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
            --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
            --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
            --shadow-xl: 0 16px 48px rgba(0,0,0,0.14);
            --shadow-accent: 0 4px 20px rgba(245,158,11,0.25);
            --transition-fast: 0.15s ease;
            --transition: 0.3s ease;
            --transition-slow: 0.5s ease;
            --font-sans: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
            --max-width: 1280px;
            --nav-height: 68px;
        }

        *, *::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(--color-text);
            background: var(--color-bg);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            min-height: 100vh;
        }

        a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
        img { max-width: 100%; height: auto; display: block; }
        button, input, select, textarea { font-family: inherit; font-size: inherit; }
        ul, ol { list-style: none; }

        .container {
            width: 100%;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
        }

        /* Header & Navigation */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(255,255,255,0.92);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            border-bottom: 1px solid var(--color-border-light);
            height: var(--nav-height);
            display: flex;
            align-items: center;
            transition: box-shadow var(--transition);
        }
        .site-header.scrolled { box-shadow: var(--shadow-sm); }

        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
            gap: 20px;
        }

        .logo-area { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
        .logo-icon {
            width: 40px; height: 40px;
            background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
            border-radius: var(--radius-sm);
            display: flex; align-items: center; justify-content: center;
            color: var(--color-accent); font-weight: 800; font-size: 20px;
            box-shadow: 0 2px 8px rgba(17,24,39,0.2);
        }
        .logo-text {
            font-size: 18px; font-weight: 700; color: var(--color-primary);
            letter-spacing: -0.3px; white-space: nowrap;
        }
        .logo-text span { color: var(--color-accent); }

        .nav-links {
            display: flex; align-items: center; gap: 6px;
            flex: 1; justify-content: center;
        }
        .nav-links a {
            display: inline-flex; align-items: center; gap: 6px;
            padding: 8px 16px; border-radius: var(--radius-sm);
            font-size: 15px; font-weight: 500; color: var(--color-text-secondary);
            transition: all var(--transition-fast); white-space: nowrap;
            position: relative;
        }
        .nav-links a:hover { color: var(--color-text); background: var(--color-bg-alt); }
        .nav-links a.active {
            color: var(--color-primary); font-weight: 600;
            background: var(--color-bg-alt);
        }
        .nav-links a.active::after {
            content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
            width: 20px; height: 3px; background: var(--color-accent); border-radius: 2px;
        }

        .header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
        .search-box {
            display: flex; align-items: center; gap: 8px;
            background: var(--color-bg-alt); border: 1px solid var(--color-border);
            border-radius: var(--radius-xl); padding: 8px 16px;
            transition: all var(--transition-fast);
        }
        .search-box:focus-within {
            border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(245,158,11,0.1);
            background: var(--color-bg);
        }
        .search-box svg { width: 16px; height: 16px; color: var(--color-text-light); flex-shrink: 0; }
        .search-box input {
            border: none; background: transparent; outline: none;
            font-size: 14px; color: var(--color-text); width: 140px;
        }
        .search-box input::placeholder { color: var(--color-text-light); }

        .btn {
            display: inline-flex; align-items: center; justify-content: center; gap: 6px;
            padding: 10px 20px; border-radius: var(--radius-sm); font-weight: 600;
            font-size: 14px; cursor: pointer; border: 2px solid transparent;
            transition: all var(--transition-fast); white-space: nowrap;
            text-align: center; line-height: 1.4;
        }
        .btn:focus-visible { outline: 3px solid rgba(245,158,11,0.5); outline-offset: 2px; }
        .btn-outline {
            background: transparent; border-color: var(--color-border);
            color: var(--color-text-secondary);
        }
        .btn-outline:hover {
            border-color: var(--color-primary-mid); color: var(--color-text);
            background: var(--color-bg-alt);
        }
        .btn-primary {
            background: var(--color-accent); border-color: var(--color-accent);
            color: var(--color-primary); font-weight: 700;
            box-shadow: var(--shadow-accent);
        }
        .btn-primary:hover {
            background: var(--color-accent-deep); border-color: var(--color-accent-deep);
            box-shadow: 0 6px 28px rgba(245,158,11,0.35); transform: translateY(-1px);
        }
        .btn-lg { padding: 14px 32px; font-size: 16px; border-radius: var(--radius-md); }
        .btn-xl { padding: 16px 40px; font-size: 17px; border-radius: var(--radius-lg); }

        .mobile-menu-btn {
            display: none; background: none; border: none; cursor: pointer;
            padding: 6px; color: var(--color-text); border-radius: var(--radius-xs);
            transition: background var(--transition-fast);
        }
        .mobile-menu-btn:hover { background: var(--color-bg-alt); }
        .mobile-menu-btn svg { width: 26px; height: 26px; }

        /* Mobile Nav */
        .mobile-nav-overlay {
            display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0,0,0,0.5); z-index: 999; opacity: 0; transition: opacity var(--transition);
        }
        .mobile-nav-overlay.open { opacity: 1; }
        .mobile-nav-panel {
            position: fixed; top: 0; right: -320px; width: 300px; height: 100vh;
            background: var(--color-bg); z-index: 1001; padding: 24px;
            transition: right var(--transition); overflow-y: auto;
            box-shadow: var(--shadow-xl); display: flex; flex-direction: column; gap: 20px;
        }
        .mobile-nav-panel.open { right: 0; }
        .mobile-nav-panel .close-btn {
            align-self: flex-end; background: none; border: none;
            cursor: pointer; padding: 8px; border-radius: var(--radius-xs);
            color: var(--color-text); transition: background var(--transition-fast);
        }
        .mobile-nav-panel .close-btn:hover { background: var(--color-bg-alt); }
        .mobile-nav-panel a {
            display: block; padding: 12px 16px; border-radius: var(--radius-sm);
            font-size: 16px; font-weight: 500; color: var(--color-text-secondary);
            transition: all var(--transition-fast);
        }
        .mobile-nav-panel a:hover, .mobile-nav-panel a.active {
            background: var(--color-bg-alt); color: var(--color-text); font-weight: 600;
        }
        .mobile-nav-panel .mobile-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }

        /* Hero Section */
        .hero-section {
            position: relative; background: var(--color-bg-dark);
            background-image: url('/assets/images/backpic/back-1.png');
            background-size: cover; background-position: center; background-repeat: no-repeat;
            min-height: 620px; display: flex; align-items: center;
            overflow: hidden;
        }
        .hero-section::before {
            content: ''; position: absolute; inset: 0;
            background: linear-gradient(135deg, rgba(15,23,42,0.88) 0%, rgba(15,23,42,0.72) 40%, rgba(31,41,55,0.65) 70%, rgba(15,23,42,0.8) 100%);
            z-index: 1;
        }
        .hero-content {
            position: relative; z-index: 2; max-width: 720px; padding: 80px 0;
        }
        .hero-badge {
            display: inline-flex; align-items: center; gap: 8px;
            background: rgba(245,158,11,0.18); border: 1px solid rgba(245,158,11,0.35);
            color: var(--color-accent-light); padding: 8px 16px;
            border-radius: var(--radius-xl); font-size: 13px; font-weight: 600;
            margin-bottom: 24px; letter-spacing: 0.5px;
        }
        .hero-badge .dot { width: 8px; height: 8px; background: var(--color-accent); border-radius: 50%; animation: pulse-dot 1.8s infinite; }
        @keyframes pulse-dot { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.5; transform:scale(1.6); } }

        .hero-title {
            font-size: clamp(36px, 5vw, 56px); font-weight: 800; color: var(--color-text-white);
            line-height: 1.15; margin-bottom: 20px; letter-spacing: -1px;
        }
        .hero-title .highlight { color: var(--color-accent); position: relative; }
        .hero-desc {
            font-size: 18px; color: var(--color-text-on-dark); line-height: 1.7;
            margin-bottom: 36px; max-width: 560px;
        }
        .hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
        .hero-buttons .btn-outline-light {
            background: transparent; border: 2px solid rgba(255,255,255,0.35);
            color: #fff; font-weight: 600;
        }
        .hero-buttons .btn-outline-light:hover {
            border-color: #fff; background: rgba(255,255,255,0.08);
        }
        .hero-visual {
            position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
            z-index: 2; width: 480px; opacity: 0.85;
            pointer-events: none;
        }
        .hero-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); }

        /* Section Common */
        .section { padding: 80px 0; }
        .section-header { text-align: center; margin-bottom: 52px; }
        .section-label {
            display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase;
            letter-spacing: 1.5px; color: var(--color-accent-deep); margin-bottom: 12px;
        }
        .section-title {
            font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; color: var(--color-primary);
            line-height: 1.2; margin-bottom: 14px; letter-spacing: -0.5px;
        }
        .section-subtitle { font-size: 16px; color: var(--color-text-secondary); max-width: 600px; margin: 0 auto; }

        /* Features Grid */
        .features-grid {
            display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
        }
        .feature-card {
            background: var(--color-bg-card); border: 1px solid var(--color-border);
            border-radius: var(--radius-lg); padding: 36px 28px;
            transition: all var(--transition); position: relative; overflow: hidden;
        }
        .feature-card::before {
            content: ''; position: absolute; top: 0; left: 0; right: 0;
            height: 4px; background: linear-gradient(90deg, var(--color-accent), var(--color-accent-deep));
            transform: scaleX(0); transform-origin: left; transition: transform var(--transition-slow);
        }
        .feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
        .feature-card:hover::before { transform: scaleX(1); }
        .feature-icon {
            width: 56px; height: 56px; border-radius: var(--radius-md);
            display: flex; align-items: center; justify-content: center;
            margin-bottom: 20px; font-size: 26px;
        }
        .feature-icon.f1 { background: #fef3c7; color: #d97706; }
        .feature-icon.f2 { background: #dbeafe; color: #2563eb; }
        .feature-icon.f3 { background: #d1fae5; color: #059669; }
        .feature-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; color: var(--color-primary); }
        .feature-card p { font-size: 15px; color: var(--color-text-secondary); line-height: 1.7; }

        /* Category Entry */
        .category-entry-section { background: var(--color-bg-alt); }
        .category-card-large {
            display: grid; grid-template-columns: 1fr 1fr; gap: 0;
            background: var(--color-bg-card); border-radius: var(--radius-2xl);
            overflow: hidden; box-shadow: var(--shadow-md);
            border: 1px solid var(--color-border);
            transition: all var(--transition);
        }
        .category-card-large:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
        .category-card-img {
            min-height: 320px; background-size: cover; background-position: center;
            position: relative;
        }
        .category-card-img img { width: 100%; height: 100%; object-fit: cover; }
        .category-card-body {
            padding: 44px 40px; display: flex; flex-direction: column; justify-content: center;
        }
        .category-card-body .tag {
            display: inline-block; background: var(--color-accent-soft);
            color: var(--color-accent-deep); font-weight: 700; font-size: 13px;
            padding: 5px 14px; border-radius: var(--radius-xl); margin-bottom: 16px;
            width: fit-content;
        }
        .category-card-body h2 { font-size: 28px; font-weight: 800; margin-bottom: 14px; color: var(--color-primary); }
        .category-card-body p { color: var(--color-text-secondary); margin-bottom: 24px; line-height: 1.7; }

        /* CMS List Section */
        .cms-list-section { background: var(--color-bg); }
        .cms-list {
            display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
        }
        .cms-item {
            display: flex; gap: 18px; padding: 20px 24px;
            background: var(--color-bg-card); border: 1px solid var(--color-border);
            border-radius: var(--radius-md); transition: all var(--transition);
            align-items: flex-start;
        }
        .cms-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: transparent; }
        .cms-item-thumb {
            width: 72px; height: 72px; border-radius: var(--radius-sm);
            background: var(--color-bg-alt); flex-shrink: 0;
            display: flex; align-items: center; justify-content: center;
            font-size: 28px; color: var(--color-accent);
        }
        .cms-item-info { flex: 1; min-width: 0; }
        .cms-item-info h4 {
            font-size: 16px; font-weight: 700; color: var(--color-primary);
            margin-bottom: 6px; line-height: 1.4; display: -webkit-box;
            -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
        }
        .cms-item-info h4 a:hover { color: var(--color-accent-deep); }
        .cms-item-meta {
            display: flex; gap: 12px; font-size: 13px; color: var(--color-text-light);
            flex-wrap: wrap;
        }
        .cms-item-meta .cms-cat {
            background: var(--color-bg-alt); padding: 3px 10px; border-radius: var(--radius-xs);
            font-weight: 600; color: var(--color-accent-deep);
        }
        .cms-empty {
            grid-column: 1 / -1; text-align: center; padding: 40px;
            color: var(--color-text-light); font-size: 15px;
        }

        /* Stats Section */
        .stats-section {
            background: var(--color-bg-dark);
            background-image: url('/assets/images/backpic/back-2.png');
            background-size: cover; background-position: center;
            position: relative;
        }
        .stats-section::before {
            content: ''; position: absolute; inset: 0;
            background: rgba(15,23,42,0.85);
        }
        .stats-section .container { position: relative; z-index: 2; }
        .stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
        .stat-card {
            text-align: center; padding: 32px 20px;
            background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
            border-radius: var(--radius-lg); backdrop-filter: blur(4px);
            transition: all var(--transition);
        }
        .stat-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
        .stat-number {
            font-size: 44px; font-weight: 800; color: var(--color-accent); line-height: 1;
            margin-bottom: 8px;
        }
        .stat-label { font-size: 15px; color: var(--color-text-on-dark); font-weight: 500; }

        /* Steps Section */
        .steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; position: relative; }
        .steps-grid::before {
            content: ''; position: absolute; top: 40px; left: 12%; right: 12%;
            height: 2px; background: var(--color-border); z-index: 0;
        }
        .step-item {
            text-align: center; position: relative; z-index: 1;
            padding: 20px 16px;
        }
        .step-number {
            width: 80px; height: 80px; margin: 0 auto 18px;
            border-radius: 50%; display: flex; align-items: center; justify-content: center;
            font-size: 32px; font-weight: 800; color: #fff;
            background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
            box-shadow: var(--shadow-md); position: relative;
        }
        .step-number::after {
            content: ''; position: absolute; inset: -4px; border-radius: 50%;
            border: 3px solid var(--color-accent); opacity: 0.5;
        }
        .step-item h4 { font-size: 17px; font-weight: 700; color: var(--color-primary); margin-bottom: 6px; }
        .step-item p { font-size: 14px; color: var(--color-text-secondary); }

        /* FAQ Section */
        .faq-section { background: var(--color-bg-alt); }
        .faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
        .faq-item {
            background: var(--color-bg-card); border: 1px solid var(--color-border);
            border-radius: var(--radius-md); overflow: hidden; transition: all var(--transition);
        }
        .faq-item:hover { box-shadow: var(--shadow-sm); }
        .faq-q {
            padding: 20px 24px; cursor: pointer; font-weight: 700; font-size: 16px;
            color: var(--color-primary); display: flex; justify-content: space-between;
            align-items: center; user-select: none; transition: color var(--transition-fast);
        }
        .faq-q:hover { color: var(--color-accent-deep); }
        .faq-q .faq-icon { font-size: 20px; color: var(--color-accent); transition: transform var(--transition); flex-shrink: 0; }
        .faq-item.open .faq-icon { transform: rotate(45deg); }
        .faq-a {
            max-height: 0; overflow: hidden; transition: max-height var(--transition-slow), padding var(--transition);
            padding: 0 24px; color: var(--color-text-secondary); font-size: 15px; line-height: 1.8;
        }
        .faq-item.open .faq-a { max-height: 300px; padding: 0 24px 20px; }

        /* CTA Section */
        .cta-section {
            background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
            text-align: center; position: relative; overflow: hidden;
        }
        .cta-section::before {
            content: ''; position: absolute; top: -60px; right: -80px;
            width: 300px; height: 300px; background: rgba(245,158,11,0.1);
            border-radius: 50%; pointer-events: none;
        }
        .cta-section::after {
            content: ''; position: absolute; bottom: -40px; left: -60px;
            width: 200px; height: 200px; background: rgba(245,158,11,0.08);
            border-radius: 50%; pointer-events: none;
        }
        .cta-section .container { position: relative; z-index: 2; }
        .cta-title { font-size: clamp(28px,3.5vw,38px); font-weight: 800; color: #fff; margin-bottom: 16px; }
        .cta-desc { color: var(--color-text-on-dark); font-size: 16px; margin-bottom: 32px; max-width: 550px; margin-left: auto; margin-right: auto; }

        /* Footer */
        .site-footer {
            background: var(--color-bg-dark); color: var(--color-text-on-dark);
            padding: 48px 0 28px;
        }
        .footer-grid {
            display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
            margin-bottom: 36px;
        }
        .footer-brand .logo-text-footer { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 10px; }
        .footer-brand p { font-size: 14px; color: var(--color-text-light); line-height: 1.7; }
        .footer-col h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.8px; }
        .footer-col a { display: block; font-size: 14px; color: var(--color-text-light); padding: 5px 0; transition: color var(--transition-fast); }
        .footer-col a:hover { color: var(--color-accent-light); }
        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px;
            font-size: 13px; color: var(--color-text-light); text-align: center;
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .hero-visual { width: 360px; right: -60px; opacity: 0.6; }
            .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::before { display: none; }
            .cms-list { grid-template-columns: 1fr 1fr; }
            .footer-grid { grid-template-columns: 1fr 1fr; }
            .category-card-large { grid-template-columns: 1fr; }
            .category-card-img { min-height: 220px; }
        }

        @media (max-width: 768px) {
            .nav-links { display: none; }
            .header-actions .search-box { display: none; }
            .header-actions .btn-outline { display: none; }
            .mobile-menu-btn { display: block; }
            .mobile-nav-overlay { display: block; pointer-events: none; }
            .mobile-nav-overlay.open { pointer-events: auto; }
            .mobile-nav-panel { display: flex; }

            .hero-section { min-height: 500px; }
            .hero-content { padding: 60px 0; }
            .hero-visual { display: none; }
            .hero-title { font-size: 32px; }
            .hero-desc { font-size: 16px; }

            .features-grid { grid-template-columns: 1fr; }
            .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
            .stat-number { font-size: 32px; }
            .steps-grid { grid-template-columns: 1fr 1fr; }
            .cms-list { grid-template-columns: 1fr; }
            .cms-item { flex-direction: column; }
            .cms-item-thumb { width: 100%; height: 120px; border-radius: var(--radius-sm); }
            .footer-grid { grid-template-columns: 1fr; gap: 24px; }

            .section { padding: 52px 0; }
            .section-header { margin-bottom: 32px; }
            .category-card-body { padding: 28px 24px; }
            .category-card-body h2 { font-size: 22px; }
        }

        @media (max-width: 520px) {
            .container { padding: 0 16px; }
            .header-inner { padding: 0 16px; }
            .hero-section { min-height: 440px; }
            .hero-content { padding: 44px 0; }
            .hero-title { font-size: 26px; }
            .hero-buttons { flex-direction: column; }
            .hero-buttons .btn { width: 100%; justify-content: center; }
            .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
            .stat-card { padding: 20px 12px; }
            .stat-number { font-size: 28px; }
            .steps-grid { grid-template-columns: 1fr; }
            .step-number { width: 60px; height: 60px; font-size: 24px; }
            .btn-xl { padding: 14px 28px; font-size: 15px; }
            .faq-q { font-size: 15px; padding: 16px 18px; }
            .faq-a { font-size: 14px; }
        }

/* roulang page: article */
:root {
            --primary: #12182b;
            --primary-light: #1a2540;
            --primary-mid: #1e2d4a;
            --accent: #c8963e;
            --accent-light: #e0b860;
            --accent-soft: #f5e6c8;
            --accent-glow: rgba(200, 150, 62, 0.25);
            --bg: #f7f5f0;
            --bg-warm: #faf8f4;
            --surface: #ffffff;
            --surface-alt: #fdfcf8;
            --text: #12182b;
            --text-secondary: #3b4256;
            --text-muted: #7a7f8c;
            --text-light: #9ca0ab;
            --border: #e2ded5;
            --border-light: #ede9e0;
            --border-accent: #d4b87a;
            --radius-xs: 4px;
            --radius-sm: 8px;
            --radius: 12px;
            --radius-lg: 16px;
            --radius-xl: 20px;
            --shadow-xs: 0 1px 2px rgba(18, 24, 43, 0.04);
            --shadow-sm: 0 2px 6px rgba(18, 24, 43, 0.06);
            --shadow: 0 4px 16px rgba(18, 24, 43, 0.08);
            --shadow-lg: 0 12px 36px rgba(18, 24, 43, 0.12);
            --shadow-xl: 0 20px 50px rgba(18, 24, 43, 0.16);
            --rare-border: linear-gradient(135deg, #c8963e 0%, #e0b860 30%, #f0d078 50%, #e0b860 70%, #c8963e 100%);
            --rare-border-subtle: linear-gradient(135deg, rgba(200, 150, 62, 0.5), rgba(224, 184, 96, 0.7), rgba(200, 150, 62, 0.5));
            --font-sans: 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', 'Hiragino Sans GB', system-ui, -apple-system, sans-serif;
            --font-mono: 'SF Mono', 'JetBrains Mono', 'Consolas', monospace;
            --nav-height: 64px;
            --max-width: 1200px;
            --content-max-width: 780px;
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        body {
            font-family: var(--font-sans);
            font-size: 16px;
            line-height: 1.7;
            color: var(--text);
            background-color: var(--bg);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            letter-spacing: 0.01em;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: color 0.2s ease;
        }

        button {
            font-family: inherit;
            cursor: pointer;
            border: none;
            outline: none;
            transition: all 0.2s ease;
        }

        button:focus-visible,
        a:focus-visible,
        input:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 3px;
            border-radius: var(--radius-xs);
        }

        input {
            font-family: inherit;
            font-size: 14px;
        }

        ul,
        ol {
            list-style: none;
        }

        .container {
            width: 100%;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
        }

        .container-narrow {
            width: 100%;
            max-width: var(--content-max-width);
            margin: 0 auto;
            padding: 0 24px;
        }

        /* Header & Navigation */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--border-light);
            height: var(--nav-height);
            box-shadow: var(--shadow-xs);
        }

        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: var(--nav-height);
            gap: 20px;
        }

        .logo-area {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-shrink: 0;
        }

        .logo-icon {
            width: 36px;
            height: 36px;
            border-radius: var(--radius-sm);
            background: var(--rare-border);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-weight: 800;
            font-size: 16px;
            letter-spacing: -0.5px;
            flex-shrink: 0;
        }

        .logo-text {
            font-weight: 700;
            font-size: 18px;
            color: var(--primary);
            letter-spacing: -0.3px;
            white-space: nowrap;
            line-height: 1.2;
        }

        .logo-text .logo-accent {
            color: var(--accent);
        }

        .nav-center {
            display: flex;
            align-items: center;
            gap: 4px;
            flex: 1;
            justify-content: center;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 2px;
        }

        .nav-links a {
            padding: 8px 18px;
            border-radius: var(--radius-sm);
            font-size: 14.5px;
            font-weight: 500;
            color: var(--text-secondary);
            transition: all 0.2s ease;
            position: relative;
            white-space: nowrap;
            letter-spacing: 0.02em;
        }

        .nav-links a:hover {
            color: var(--primary);
            background: rgba(18, 24, 43, 0.04);
        }

        .nav-links a.active {
            color: var(--accent);
            font-weight: 600;
            background: var(--accent-soft);
        }

        .nav-right {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-shrink: 0;
        }

        .nav-search {
            position: relative;
            display: flex;
            align-items: center;
        }

        .nav-search input {
            padding: 8px 14px 8px 36px;
            border: 1px solid var(--border);
            border-radius: 20px;
            font-size: 13.5px;
            background: var(--bg-warm);
            color: var(--text);
            width: 180px;
            transition: all 0.25s ease;
            letter-spacing: 0.02em;
        }

        .nav-search input:focus {
            border-color: var(--border-accent);
            background: var(--surface);
            width: 220px;
            box-shadow: 0 0 0 3px var(--accent-glow);
            outline: none;
        }

        .nav-search .search-icon {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted);
            pointer-events: none;
            font-size: 14px;
        }

        .btn-nav {
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 13.5px;
            font-weight: 500;
            letter-spacing: 0.02em;
            white-space: nowrap;
            transition: all 0.2s ease;
        }

        .btn-nav-outline {
            background: transparent;
            border: 1px solid var(--border);
            color: var(--text-secondary);
        }

        .btn-nav-outline:hover {
            border-color: var(--text-muted);
            color: var(--primary);
            background: rgba(18, 24, 43, 0.03);
        }

        .btn-nav-accent {
            background: var(--accent);
            color: #fff;
            border: 1px solid var(--accent);
            font-weight: 600;
        }

        .btn-nav-accent:hover {
            background: #b8862e;
            border-color: #b8862e;
            box-shadow: 0 4px 14px rgba(200, 150, 62, 0.35);
            transform: translateY(-1px);
        }

        .hamburger {
            display: none;
            width: 40px;
            height: 40px;
            border-radius: var(--radius-sm);
            background: transparent;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 5px;
            z-index: 1001;
            border: 1px solid var(--border);
        }

        .hamburger span {
            display: block;
            width: 20px;
            height: 2px;
            background: var(--text);
            border-radius: 2px;
            transition: all 0.3s ease;
        }

        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }

        .mobile-menu-overlay {
            display: none;
            position: fixed;
            top: var(--nav-height);
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(18, 24, 43, 0.5);
            z-index: 998;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .mobile-menu-overlay.active {
            opacity: 1;
        }

        .mobile-menu {
            display: none;
            position: fixed;
            top: var(--nav-height);
            left: 0;
            right: 0;
            background: var(--surface);
            z-index: 999;
            padding: 16px 24px 24px;
            border-bottom: 1px solid var(--border-light);
            box-shadow: var(--shadow-lg);
            transform: translateY(-10px);
            opacity: 0;
            transition: all 0.3s ease;
        }

        .mobile-menu.active {
            transform: translateY(0);
            opacity: 1;
        }

        .mobile-menu .nav-links-mobile {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .mobile-menu .nav-links-mobile a {
            padding: 12px 16px;
            border-radius: var(--radius-sm);
            font-size: 15px;
            font-weight: 500;
            color: var(--text-secondary);
            transition: all 0.2s ease;
        }

        .mobile-menu .nav-links-mobile a:hover {
            background: rgba(18, 24, 43, 0.04);
            color: var(--primary);
        }

        .mobile-menu .nav-links-mobile a.active {
            color: var(--accent);
            font-weight: 600;
            background: var(--accent-soft);
        }

        .mobile-menu .mobile-search {
            margin-top: 12px;
            position: relative;
        }

        .mobile-menu .mobile-search input {
            width: 100%;
            padding: 10px 14px 10px 38px;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            font-size: 14px;
            background: var(--bg-warm);
        }

        .mobile-menu .mobile-search .search-icon {
            position: absolute;
            left: 13px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted);
            font-size: 14px;
        }

        .mobile-menu .mobile-btns {
            display: flex;
            gap: 8px;
            margin-top: 14px;
        }

        .mobile-menu .mobile-btns .btn-nav {
            flex: 1;
            text-align: center;
            padding: 10px 16px;
            border-radius: 20px;
        }

        /* Main */
        .site-main {
            flex: 1;
            padding-bottom: 60px;
        }

        /* Breadcrumb */
        .breadcrumb-bar {
            padding: 16px 0;
            border-bottom: 1px solid var(--border-light);
            background: var(--surface);
        }

        .breadcrumb-inner {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 13.5px;
            color: var(--text-muted);
            flex-wrap: wrap;
        }

        .breadcrumb-inner a {
            color: var(--text-muted);
            transition: color 0.2s;
        }

        .breadcrumb-inner a:hover {
            color: var(--accent);
        }

        .breadcrumb-inner .sep {
            color: var(--text-light);
            font-size: 11px;
        }

        .breadcrumb-inner .current {
            color: var(--text-secondary);
            font-weight: 500;
        }

        /* Article Header */
        .article-header-section {
            background: var(--surface);
            padding: 36px 0 0;
            border-bottom: 1px solid var(--border-light);
        }

        .article-header-inner {
            max-width: var(--content-max-width);
            margin: 0 auto;
            padding: 0 24px;
        }

        .article-meta-top {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 16px;
            flex-wrap: wrap;
        }

        .article-category-badge {
            display: inline-flex;
            align-items: center;
            padding: 5px 14px;
            border-radius: 20px;
            font-size: 12.5px;
            font-weight: 600;
            letter-spacing: 0.03em;
            background: var(--accent-soft);
            color: #8b6914;
            border: 1px solid rgba(200, 150, 62, 0.3);
        }

        .article-date {
            font-size: 13px;
            color: var(--text-muted);
            letter-spacing: 0.02em;
        }

        .article-h1 {
            font-size: 2rem;
            font-weight: 700;
            line-height: 1.35;
            color: var(--primary);
            margin-bottom: 12px;
            letter-spacing: -0.02em;
        }

        .article-subtitle {
            font-size: 15px;
            color: var(--text-muted);
            line-height: 1.6;
            margin-bottom: 20px;
        }

        .article-featured-image-wrap {
            margin: 0 -24px;
            position: relative;
            overflow: hidden;
            border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        }

        .article-featured-image-wrap img {
            width: 100%;
            max-height: 440px;
            object-fit: cover;
            display: block;
        }

        .article-featured-image-wrap::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 60px;
            background: linear-gradient(transparent, rgba(255, 255, 255, 0.6));
            pointer-events: none;
        }

        /* Article Body */
        .article-body-section {
            padding: 36px 0;
            background: var(--surface);
        }

        .article-body-inner {
            max-width: var(--content-max-width);
            margin: 0 auto;
            padding: 0 24px;
        }

        .article-content {
            font-size: 16px;
            line-height: 1.85;
            color: var(--text-secondary);
        }

        .article-content h2 {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--primary);
            margin: 32px 0 14px;
            padding-bottom: 8px;
            border-bottom: 2px solid var(--border-light);
            letter-spacing: -0.01em;
        }

        .article-content h3 {
            font-size: 1.15rem;
            font-weight: 600;
            color: var(--primary);
            margin: 24px 0 10px;
        }

        .article-content p {
            margin-bottom: 14px;
        }

        .article-content ul,
        .article-content ol {
            margin: 12px 0 16px 20px;
            list-style: disc;
        }

        .article-content ol {
            list-style: decimal;
        }

        .article-content li {
            margin-bottom: 6px;
        }

        .article-content blockquote {
            margin: 20px 0;
            padding: 16px 20px;
            border-left: 4px solid var(--accent);
            background: var(--bg-warm);
            border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
            color: var(--text-secondary);
            font-style: italic;
        }

        .article-content img {
            border-radius: var(--radius);
            margin: 20px 0;
            box-shadow: var(--shadow-sm);
        }

        .article-content a {
            color: var(--accent);
            text-decoration: underline;
            text-underline-offset: 3px;
        }

        .article-content a:hover {
            color: #b8862e;
        }

        /* Not Found State */
        .article-not-found {
            text-align: center;
            padding: 80px 24px;
        }

        .article-not-found .nf-icon {
            font-size: 56px;
            margin-bottom: 20px;
            color: var(--text-light);
        }

        .article-not-found h2 {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 10px;
        }

        .article-not-found p {
            color: var(--text-muted);
            margin-bottom: 24px;
            font-size: 15px;
        }

        .btn-return {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 10px 22px;
            border-radius: 20px;
            background: var(--accent);
            color: #fff;
            font-weight: 600;
            font-size: 14px;
            transition: all 0.2s ease;
        }

        .btn-return:hover {
            background: #b8862e;
            box-shadow: 0 6px 20px rgba(200, 150, 62, 0.4);
            transform: translateY(-2px);
        }

        /* Related Posts Section */
        .related-section {
            padding: 48px 0;
            background: var(--bg-warm);
            border-top: 1px solid var(--border-light);
        }

        .related-section .section-label {
            text-align: center;
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 0.08em;
            color: var(--accent);
            text-transform: uppercase;
            margin-bottom: 6px;
        }

        .related-section .section-title {
            text-align: center;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 32px;
            letter-spacing: -0.02em;
        }

        .related-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
        }

        .related-card {
            background: var(--surface);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: all 0.3s ease;
            border: 1px solid var(--border-light);
            display: flex;
            flex-direction: column;
        }

        .related-card:hover {
            box-shadow: var(--shadow-lg);
            transform: translateY(-4px);
            border-color: var(--border-accent);
        }

        .related-card-img {
            width: 100%;
            aspect-ratio: 16 / 10;
            object-fit: cover;
            display: block;
        }

        .related-card-body {
            padding: 16px 18px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .related-card-cat {
            font-size: 11.5px;
            font-weight: 600;
            letter-spacing: 0.04em;
            color: var(--accent);
            margin-bottom: 6px;
            text-transform: uppercase;
        }

        .related-card-title {
            font-size: 15px;
            font-weight: 600;
            line-height: 1.4;
            color: var(--primary);
            margin-bottom: 8px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .related-card-desc {
            font-size: 13px;
            color: var(--text-muted);
            line-height: 1.5;
            flex: 1;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .related-card-link {
            margin-top: 10px;
            font-size: 13px;
            font-weight: 600;
            color: var(--accent);
            display: inline-flex;
            align-items: center;
            gap: 4px;
            transition: gap 0.2s;
        }

        .related-card-link:hover {
            gap: 8px;
            color: #b8862e;
        }

        /* CTA Section */
        .cta-section {
            padding: 56px 0;
            background: var(--primary);
            position: relative;
            overflow: hidden;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 500px;
            height: 500px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(200, 150, 62, 0.12), transparent 70%);
            pointer-events: none;
        }

        .cta-section::after {
            content: '';
            position: absolute;
            bottom: -30%;
            left: -15%;
            width: 400px;
            height: 400px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(224, 184, 96, 0.08), transparent 70%);
            pointer-events: none;
        }

        .cta-inner {
            max-width: 640px;
            margin: 0 auto;
            text-align: center;
            padding: 0 24px;
            position: relative;
            z-index: 1;
        }

        .cta-inner h3 {
            font-size: 1.6rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 12px;
            letter-spacing: -0.02em;
        }

        .cta-inner p {
            font-size: 15px;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 24px;
            line-height: 1.6;
        }

        .btn-cta {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 13px 30px;
            border-radius: 24px;
            background: var(--accent);
            color: #fff;
            font-weight: 600;
            font-size: 15px;
            letter-spacing: 0.03em;
            transition: all 0.3s ease;
            box-shadow: 0 6px 24px rgba(200, 150, 62, 0.4);
        }

        .btn-cta:hover {
            background: #e0b860;
            box-shadow: 0 10px 32px rgba(200, 150, 62, 0.55);
            transform: translateY(-3px);
        }

        /* FAQ Section */
        .faq-section {
            padding: 56px 0;
            background: var(--surface);
            border-top: 1px solid var(--border-light);
        }

        .faq-inner {
            max-width: var(--content-max-width);
            margin: 0 auto;
            padding: 0 24px;
        }

        .faq-inner .section-label {
            text-align: center;
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 0.08em;
            color: var(--accent);
            text-transform: uppercase;
            margin-bottom: 6px;
        }

        .faq-inner .section-title {
            text-align: center;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 32px;
            letter-spacing: -0.02em;
        }

        .faq-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .faq-item {
            border: 1px solid var(--border-light);
            border-radius: var(--radius);
            overflow: hidden;
            background: var(--bg-warm);
            transition: all 0.25s ease;
        }

        .faq-item:hover {
            border-color: var(--border-accent);
            box-shadow: var(--shadow-sm);
        }

        .faq-question {
            padding: 16px 20px;
            font-weight: 600;
            font-size: 15px;
            color: var(--primary);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            user-select: none;
            letter-spacing: 0.01em;
        }

        .faq-question .faq-arrow {
            flex-shrink: 0;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: var(--surface);
            border: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            color: var(--text-muted);
            transition: all 0.3s ease;
        }

        .faq-item.open .faq-arrow {
            transform: rotate(180deg);
            background: var(--accent);
            color: #fff;
            border-color: var(--accent);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.35s ease, padding 0.35s ease;
        }

        .faq-item.open .faq-answer {
            max-height: 300px;
        }

        .faq-answer-inner {
            padding: 0 20px 16px;
            font-size: 14.5px;
            color: var(--text-secondary);
            line-height: 1.7;
        }

        /* Footer */
        .site-footer {
            background: var(--primary);
            color: rgba(255, 255, 255, 0.85);
            padding: 48px 0 24px;
            margin-top: 0;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr 1fr;
            gap: 32px;
            margin-bottom: 32px;
        }

        .footer-brand .logo-text-footer {
            font-size: 20px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 10px;
            letter-spacing: -0.3px;
        }

        .footer-brand p {
            font-size: 13.5px;
            color: rgba(255, 255, 255, 0.6);
            line-height: 1.7;
            max-width: 280px;
        }

        .footer-col h4 {
            font-size: 13px;
            font-weight: 700;
            color: #fff;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            margin-bottom: 14px;
        }

        .footer-col a {
            display: block;
            font-size: 13.5px;
            color: rgba(255, 255, 255, 0.6);
            padding: 5px 0;
            transition: color 0.2s;
        }

        .footer-col a:hover {
            color: var(--accent-light);
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 20px;
            text-align: center;
            font-size: 12.5px;
            color: rgba(255, 255, 255, 0.45);
            letter-spacing: 0.03em;
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .related-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .footer-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 24px;
            }

            .article-h1 {
                font-size: 1.65rem;
            }

            .nav-search input {
                width: 140px;
            }

            .nav-search input:focus {
                width: 170px;
            }
        }

        @media (max-width: 768px) {
            .nav-center {
                display: none;
            }

            .nav-right {
                display: none;
            }

            .hamburger {
                display: flex;
            }

            .mobile-menu {
                display: block;
            }

            .mobile-menu-overlay {
                display: block;
            }

            .related-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }

            .related-section .section-title {
                font-size: 1.3rem;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .footer-brand p {
                max-width: 100%;
            }

            .article-h1 {
                font-size: 1.4rem;
            }

            .article-featured-image-wrap {
                margin: 0 -16px;
                border-radius: var(--radius) var(--radius) 0 0;
            }

            .article-featured-image-wrap img {
                max-height: 260px;
            }

            .cta-inner h3 {
                font-size: 1.3rem;
            }

            .header-inner {
                gap: 12px;
            }

            .logo-text {
                font-size: 16px;
            }
        }

        @media (max-width: 520px) {
            .container,
            .container-narrow {
                padding: 0 16px;
            }

            .article-h1 {
                font-size: 1.25rem;
            }

            .article-header-inner,
            .article-body-inner {
                padding: 0 16px;
            }

            .article-featured-image-wrap img {
                max-height: 200px;
            }

            .article-content {
                font-size: 15px;
            }

            .breadcrumb-inner {
                font-size: 12px;
            }

            .related-section {
                padding: 32px 0;
            }

            .cta-section {
                padding: 40px 0;
            }

            .faq-section {
                padding: 40px 0;
            }

            .btn-cta {
                padding: 11px 24px;
                font-size: 14px;
            }

            .logo-icon {
                width: 30px;
                height: 30px;
                font-size: 13px;
            }

            .logo-text {
                font-size: 15px;
            }
        }

/* roulang page: category1 */
:root {
            --primary: #1e40af;
            --primary-light: #3b82f6;
            --primary-dark: #1e3a8a;
            --accent: #f59e0b;
            --accent-light: #fbbf24;
            --accent-glow: #fcd34d;
            --danger: #e11d48;
            --danger-light: #f43f5e;
            --bg: #f1f5f9;
            --bg-alt: #f8fafc;
            --bg-dark: #0f172a;
            --bg-card: #ffffff;
            --text: #1e293b;
            --text-secondary: #64748b;
            --text-light: #94a3b8;
            --text-inverse: #f8fafc;
            --border: #e2e8f0;
            --border-light: #f1f5f9;
            --border-accent: #cbd5e1;
            --radius-sm: 6px;
            --radius: 10px;
            --radius-lg: 16px;
            --radius-xl: 20px;
            --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
            --shadow: 0 4px 16px rgba(0, 0, 0, 0.07), 0 2px 6px rgba(0, 0, 0, 0.04);
            --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.09), 0 3px 10px rgba(0, 0, 0, 0.05);
            --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.11), 0 6px 16px rgba(0, 0, 0, 0.06);
            --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.14), 0 8px 24px rgba(0, 0, 0, 0.07);
            --transition-fast: 0.15s ease;
            --transition: 0.25s ease;
            --transition-slow: 0.35s ease;
            --font-sans: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', system-ui, -apple-system, sans-serif;
            --font-mono: 'SF Mono', 'Consolas', 'Menlo', monospace;
            --header-height: 68px;
            --container-max: 1260px;
            --container-narrow: 960px;
            --section-gap: 72px;
            --section-gap-sm: 48px;
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        body {
            font-family: var(--font-sans);
            font-size: 16px;
            line-height: 1.65;
            color: var(--text);
            background: var(--bg);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: color var(--transition-fast);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        button {
            cursor: pointer;
            font-family: inherit;
            font-size: inherit;
            border: none;
            background: none;
            outline: none;
        }

        button:focus-visible,
        a:focus-visible,
        input:focus-visible,
        select:focus-visible {
            outline: 3px solid var(--primary-light);
            outline-offset: 2px;
            border-radius: 4px;
        }

        input,
        select {
            font-family: inherit;
            font-size: inherit;
        }

        ul,
        ol {
            list-style: none;
        }

        .container {
            width: 100%;
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 24px;
        }

        .container-narrow {
            max-width: var(--container-narrow);
            margin: 0 auto;
            padding: 0 24px;
        }

        /* ========== HEADER / NAV ========== */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--border);
            height: var(--header-height);
            display: flex;
            align-items: center;
            transition: box-shadow var(--transition);
        }

        .site-header.scrolled {
            box-shadow: var(--shadow-md);
        }

        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 24px;
            gap: 20px;
        }

        .logo-section {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-shrink: 0;
        }

        .logo-icon {
            width: 38px;
            height: 38px;
            border-radius: var(--radius);
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-weight: 800;
            font-size: 18px;
            letter-spacing: -1px;
            flex-shrink: 0;
        }

        .logo-text {
            font-weight: 700;
            font-size: 17px;
            color: var(--text);
            letter-spacing: 0.3px;
            white-space: nowrap;
        }

        .logo-text span {
            color: var(--primary);
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 6px;
            flex: 1;
            justify-content: center;
        }

        .nav-links a {
            display: inline-flex;
            align-items: center;
            padding: 8px 16px;
            border-radius: 8px;
            font-weight: 500;
            font-size: 14.5px;
            color: var(--text-secondary);
            transition: all var(--transition-fast);
            white-space: nowrap;
            position: relative;
        }

        .nav-links a:hover {
            color: var(--text);
            background: var(--bg);
        }

        .nav-links a.active {
            color: var(--primary);
            background: #eff6ff;
            font-weight: 600;
        }

        .nav-links a.active::after {
            content: '';
            position: absolute;
            bottom: 2px;
            left: 50%;
            transform: translateX(-50%);
            width: 20px;
            height: 3px;
            border-radius: 3px;
            background: var(--primary);
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-shrink: 0;
        }

        .search-box {
            display: flex;
            align-items: center;
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: 24px;
            padding: 7px 14px;
            gap: 8px;
            transition: all var(--transition-fast);
            width: 180px;
        }

        .search-box:focus-within {
            border-color: var(--primary-light);
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
            width: 220px;
            background: #fff;
        }

        .search-box svg {
            width: 16px;
            height: 16px;
            color: var(--text-light);
            flex-shrink: 0;
        }

        .search-box input {
            border: none;
            background: transparent;
            outline: none;
            font-size: 13.5px;
            color: var(--text);
            width: 100%;
        }

        .search-box input::placeholder {
            color: var(--text-light);
        }

        .btn-nav-cta {
            padding: 9px 20px;
            border-radius: 24px;
            font-weight: 600;
            font-size: 13.5px;
            background: var(--primary);
            color: #fff;
            transition: all var(--transition-fast);
            white-space: nowrap;
            letter-spacing: 0.2px;
        }

        .btn-nav-cta:hover {
            background: var(--primary-dark);
            box-shadow: var(--shadow);
            transform: translateY(-1px);
        }

        .btn-nav-cta:active {
            transform: translateY(0);
            box-shadow: var(--shadow-sm);
        }

        .mobile-menu-toggle {
            display: none;
            width: 40px;
            height: 40px;
            border-radius: var(--radius);
            align-items: center;
            justify-content: center;
            background: var(--bg);
            border: 1px solid var(--border);
            color: var(--text);
            transition: all var(--transition-fast);
        }

        .mobile-menu-toggle:hover {
            background: var(--border-light);
        }

        .mobile-menu-toggle svg {
            width: 22px;
            height: 22px;
        }

        /* ========== BREADCRUMB ========== */
        .breadcrumb-bar {
            background: #fff;
            border-bottom: 1px solid var(--border);
            padding: 10px 0;
        }

        .breadcrumb {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13.5px;
            color: var(--text-secondary);
            flex-wrap: wrap;
        }

        .breadcrumb a {
            color: var(--text-secondary);
            transition: color var(--transition-fast);
        }

        .breadcrumb a:hover {
            color: var(--primary);
        }

        .breadcrumb .sep {
            color: var(--text-light);
            font-size: 11px;
        }

        .breadcrumb .current {
            color: var(--text);
            font-weight: 600;
        }

        /* ========== CATEGORY BANNER ========== */
        .category-banner {
            position: relative;
            padding: 64px 0;
            background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 40%, #1e40af 70%, #0f172a 100%);
            overflow: hidden;
            min-height: 280px;
            display: flex;
            align-items: center;
        }

        .category-banner::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image: url('/assets/images/backpic/back-1.png');
            background-size: cover;
            background-position: center;
            opacity: 0.18;
            z-index: 0;
        }

        .category-banner::after {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse at 30% 50%, rgba(59, 130, 246, 0.25) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 30%, rgba(245, 158, 11, 0.15) 0%, transparent 50%);
            z-index: 1;
        }

        .category-banner .container {
            position: relative;
            z-index: 2;
        }

        .banner-content {
            display: flex;
            flex-direction: column;
            gap: 12px;
            max-width: 700px;
        }

        .banner-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(255, 255, 255, 0.12);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #fcd34d;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 0.5px;
            width: fit-content;
            backdrop-filter: blur(4px);
        }

        .banner-badge .dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--accent-glow);
            animation: pulse-dot 1.8s ease-in-out infinite;
        }

        @keyframes pulse-dot {
            0%,
            100% {
                box-shadow: 0 0 0 0 rgba(252, 211, 77, 0.6);
            }
            50% {
                box-shadow: 0 0 0 10px rgba(252, 211, 77, 0);
            }
        }

        .category-banner h1 {
            font-size: 2.6rem;
            font-weight: 800;
            color: #fff;
            line-height: 1.25;
            letter-spacing: 0.5px;
        }

        .category-banner h1 span {
            color: var(--accent-glow);
        }

        .category-banner .banner-desc {
            font-size: 1.05rem;
            color: rgba(255, 255, 255, 0.8);
            line-height: 1.6;
            max-width: 560px;
        }

        .banner-stats-row {
            display: flex;
            gap: 28px;
            margin-top: 8px;
            flex-wrap: wrap;
        }

        .banner-stat {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .banner-stat .stat-num {
            font-size: 1.8rem;
            font-weight: 800;
            color: #fff;
            letter-spacing: -0.5px;
        }

        .banner-stat .stat-label {
            font-size: 13px;
            color: rgba(255, 255, 255, 0.65);
            letter-spacing: 0.5px;
        }

        /* ========== FILTER BAR ========== */
        .filter-section {
            background: #fff;
            border-bottom: 1px solid var(--border);
            position: sticky;
            top: var(--header-height);
            z-index: 500;
            padding: 14px 0;
        }

        .filter-bar {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
        }

        .filter-group {
            display: flex;
            align-items: center;
            gap: 6px;
            flex-wrap: wrap;
        }

        .filter-label {
            font-size: 13px;
            font-weight: 600;
            color: var(--text-secondary);
            letter-spacing: 0.3px;
            white-space: nowrap;
        }

        .filter-chip {
            padding: 7px 15px;
            border-radius: 20px;
            font-size: 13.5px;
            font-weight: 500;
            color: var(--text-secondary);
            background: var(--bg);
            border: 1px solid transparent;
            cursor: pointer;
            transition: all var(--transition-fast);
            white-space: nowrap;
            user-select: none;
        }

        .filter-chip:hover {
            background: #eff6ff;
            color: var(--primary);
            border-color: #bfdbfe;
        }

        .filter-chip.active {
            background: var(--primary);
            color: #fff;
            font-weight: 600;
            border-color: var(--primary);
            box-shadow: 0 2px 8px rgba(30, 64, 175, 0.3);
        }

        .filter-sort {
            margin-left: auto;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .filter-sort select {
            padding: 8px 32px 8px 14px;
            border-radius: 20px;
            border: 1px solid var(--border);
            background: #fff;
            font-size: 13.5px;
            color: var(--text);
            cursor: pointer;
            appearance: none;
            -webkit-appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 10px center;
            transition: all var(--transition-fast);
        }

        .filter-sort select:focus {
            border-color: var(--primary-light);
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08);
        }

        .result-count {
            font-size: 13px;
            color: var(--text-light);
            white-space: nowrap;
        }

        /* ========== MAIN CONTENT ========== */
        .main-content {
            flex: 1;
            padding: var(--section-gap-sm) 0 var(--section-gap) 0;
        }

        /* ========== EVENT CARDS GRID ========== */
        .events-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }

        .event-card {
            background: #fff;
            border-radius: var(--radius-lg);
            overflow: hidden;
            border: 1px solid var(--border);
            transition: all var(--transition);
            display: flex;
            flex-direction: column;
            position: relative;
        }

        .event-card:hover {
            box-shadow: var(--shadow-lg);
            transform: translateY(-3px);
            border-color: #cbd5e1;
        }

        .event-card .card-img-wrap {
            position: relative;
            aspect-ratio: 16 / 10;
            overflow: hidden;
            background: var(--bg);
        }

        .event-card .card-img-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform var(--transition-slow);
        }

        .event-card:hover .card-img-wrap img {
            transform: scale(1.04);
        }

        .card-img-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.05) 50%, transparent 100%);
            pointer-events: none;
        }

        .card-status-badge {
            position: absolute;
            top: 14px;
            left: 14px;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            z-index: 2;
        }

        .badge-live {
            background: var(--danger);
            color: #fff;
            animation: live-pulse 1.6s ease-in-out infinite;
        }

        @keyframes live-pulse {
            0%,
            100% {
                box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.5);
            }
            50% {
                box-shadow: 0 0 0 12px rgba(225, 29, 72, 0);
            }
        }

        .badge-upcoming {
            background: var(--accent);
            color: #1e293b;
        }

        .badge-finished {
            background: #475569;
            color: #fff;
        }

        .card-sport-icon {
            position: absolute;
            top: 14px;
            right: 14px;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.9);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            z-index: 2;
            box-shadow: var(--shadow-sm);
        }

        .event-card .card-body {
            padding: 18px 20px 20px 20px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            flex: 1;
        }

        .card-meta-row {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 12.5px;
            color: var(--text-light);
            flex-wrap: wrap;
        }

        .card-meta-row .meta-dot {
            width: 4px;
            height: 4px;
            border-radius: 50%;
            background: var(--border-accent);
        }

        .card-title {
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--text);
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .event-card:hover .card-title {
            color: var(--primary);
        }

        .card-desc {
            font-size: 13.5px;
            color: var(--text-secondary);
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .card-tags {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            margin-top: auto;
            padding-top: 4px;
        }

        .card-tag {
            font-size: 11.5px;
            padding: 4px 10px;
            border-radius: 14px;
            background: var(--bg);
            color: var(--text-secondary);
            font-weight: 500;
            letter-spacing: 0.3px;
            border: 1px solid var(--border-light);
        }

        .card-tag.hot {
            background: #fef2f2;
            color: #dc2626;
            border-color: #fecaca;
            font-weight: 600;
        }

        .card-footer-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-top: 1px solid var(--border-light);
            padding-top: 12px;
            margin-top: 4px;
        }

        .card-score-preview {
            font-weight: 700;
            font-size: 1.1rem;
            color: var(--text);
            letter-spacing: 0.5px;
        }

        .card-score-preview .vs {
            color: var(--text-light);
            font-weight: 400;
            font-size: 0.85rem;
        }

        .card-arrow {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: var(--bg);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all var(--transition-fast);
            color: var(--text-secondary);
        }

        .event-card:hover .card-arrow {
            background: var(--primary);
            color: #fff;
        }

        /* ========== RANKING TABLE SECTION ========== */
        .section-block {
            margin-top: var(--section-gap);
        }

        .section-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 24px;
            flex-wrap: wrap;
            gap: 12px;
        }

        .section-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text);
            letter-spacing: 0.3px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .section-title .icon-bar {
            width: 4px;
            height: 26px;
            border-radius: 4px;
            background: var(--primary);
        }

        .section-link {
            font-size: 14px;
            font-weight: 600;
            color: var(--primary);
            transition: color var(--transition-fast);
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .section-link:hover {
            color: var(--primary-dark);
        }

        .ranking-table-wrap {
            background: #fff;
            border-radius: var(--radius-lg);
            overflow: hidden;
            border: 1px solid var(--border);
            box-shadow: var(--shadow-sm);
        }

        .ranking-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 14px;
        }

        .ranking-table thead th {
            background: var(--bg-dark);
            color: #fff;
            padding: 14px 16px;
            font-weight: 600;
            font-size: 13px;
            letter-spacing: 0.5px;
            text-align: left;
            white-space: nowrap;
        }

        .ranking-table thead th:first-child {
            border-radius: 0;
            padding-left: 20px;
        }

        .ranking-table tbody td {
            padding: 14px 16px;
            border-bottom: 1px solid var(--border-light);
            vertical-align: middle;
        }

        .ranking-table tbody td:first-child {
            padding-left: 20px;
        }

        .ranking-table tbody tr {
            transition: background var(--transition-fast);
        }

        .ranking-table tbody tr:hover {
            background: #f8fafc;
        }

        .ranking-table tbody tr:last-child td {
            border-bottom: none;
        }

        .rank-num {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            font-weight: 700;
            font-size: 14px;
        }

        .rank-top {
            background: linear-gradient(135deg, #f59e0b, #fbbf24);
            color: #1e293b;
        }

        .rank-high {
            background: #e2e8f0;
            color: #475569;
        }

        .rank-normal {
            color: var(--text-secondary);
            font-weight: 500;
        }

        .team-cell {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 600;
            color: var(--text);
        }

        .team-icon {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: var(--bg);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            flex-shrink: 0;
        }

        .pts-highlight {
            font-weight: 700;
            color: var(--primary);
        }

        .trend-up {
            color: #16a34a;
            font-weight: 600;
        }

        .trend-down {
            color: #dc2626;
            font-weight: 600;
        }

        /* ========== STATS STRIP ========== */
        .stats-strip {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-top: var(--section-gap);
        }

        .stat-card-mini {
            background: #fff;
            border-radius: var(--radius-lg);
            padding: 22px 20px;
            border: 1px solid var(--border);
            display: flex;
            align-items: center;
            gap: 16px;
            transition: all var(--transition);
        }

        .stat-card-mini:hover {
            box-shadow: var(--shadow-md);
            transform: translateY(-2px);
        }

        .stat-icon-box {
            width: 50px;
            height: 50px;
            border-radius: var(--radius);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            font-size: 22px;
        }

        .stat-icon-blue {
            background: #eff6ff;
            color: var(--primary);
        }
        .stat-icon-amber {
            background: #fffbeb;
            color: #d97706;
        }
        .stat-icon-green {
            background: #f0fdf4;
            color: #16a34a;
        }
        .stat-icon-red {
            background: #fef2f2;
            color: #dc2626;
        }

        .stat-info {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .stat-val {
            font-size: 1.6rem;
            font-weight: 800;
            color: var(--text);
            letter-spacing: -0.5px;
            line-height: 1;
        }

        .stat-lbl {
            font-size: 13px;
            color: var(--text-secondary);
        }

        /* ========== TIMELINE / FLOW ========== */
        .timeline-section {
            margin-top: var(--section-gap);
            background: #fff;
            border-radius: var(--radius-lg);
            padding: 40px;
            border: 1px solid var(--border);
            box-shadow: var(--shadow-sm);
        }

        .timeline-list {
            display: flex;
            flex-direction: column;
            gap: 0;
            position: relative;
            padding-left: 32px;
        }

        .timeline-list::before {
            content: '';
            position: absolute;
            left: 11px;
            top: 8px;
            bottom: 8px;
            width: 2px;
            background: var(--border);
            border-radius: 2px;
        }

        .timeline-item {
            position: relative;
            padding: 16px 0 16px 24px;
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .timeline-item::before {
            content: '';
            position: absolute;
            left: -25px;
            top: 22px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #fff;
            border: 3px solid var(--primary);
            z-index: 1;
        }

        .timeline-item.live::before {
            border-color: var(--danger);
            background: var(--danger);
            animation: live-pulse 1.6s ease-in-out infinite;
        }

        .timeline-item .tl-time {
            font-size: 12.5px;
            color: var(--text-light);
            font-weight: 500;
            letter-spacing: 0.3px;
        }

        .timeline-item .tl-title {
            font-weight: 700;
            font-size: 1rem;
            color: var(--text);
        }

        .timeline-item .tl-desc {
            font-size: 13.5px;
            color: var(--text-secondary);
        }

        /* ========== FAQ ========== */
        .faq-section {
            margin-top: var(--section-gap);
        }

        .faq-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
        }

        .faq-item {
            background: #fff;
            border-radius: var(--radius);
            padding: 20px 22px;
            border: 1px solid var(--border);
            transition: all var(--transition);
            cursor: default;
        }

        .faq-item:hover {
            box-shadow: var(--shadow);
            border-color: #cbd5e1;
        }

        .faq-item h4 {
            font-size: 15px;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 6px;
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }

        .faq-item h4 .faq-q {
            color: var(--primary);
            flex-shrink: 0;
            font-weight: 800;
        }

        .faq-item p {
            font-size: 13.5px;
            color: var(--text-secondary);
            line-height: 1.6;
            padding-left: 26px;
        }

        /* ========== CTA SECTION ========== */
        .cta-section {
            margin-top: var(--section-gap);
            background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e40af 100%);
            border-radius: var(--radius-xl);
            padding: 56px 48px;
            text-align: center;
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow-lg);
        }

        .cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image: url('/assets/images/backpic/back-2.png');
            background-size: cover;
            background-position: center;
            opacity: 0.12;
            z-index: 0;
        }

        .cta-section>* {
            position: relative;
            z-index: 1;
        }

        .cta-section h2 {
            font-size: 2rem;
            font-weight: 800;
            color: #fff;
            margin-bottom: 12px;
        }

        .cta-section p {
            font-size: 1.05rem;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 28px;
            max-width: 550px;
            margin-left: auto;
            margin-right: auto;
        }

        .btn-cta-lg {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 14px 36px;
            border-radius: 28px;
            font-weight: 700;
            font-size: 15px;
            background: var(--accent);
            color: #1e293b;
            letter-spacing: 0.3px;
            transition: all var(--transition);
            box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
        }

        .btn-cta-lg:hover {
            background: var(--accent-light);
            box-shadow: 0 6px 28px rgba(245, 158, 11, 0.55);
            transform: translateY(-2px);
        }

        .btn-cta-lg:active {
            transform: translateY(0);
        }

        /* ========== PAGINATION ========== */
        .pagination {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            margin-top: 40px;
        }

        .pagination a,
        .pagination span {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: var(--radius);
            font-weight: 600;
            font-size: 14px;
            transition: all var(--transition-fast);
            border: 1px solid var(--border);
            background: #fff;
            color: var(--text);
        }

        .pagination a:hover {
            background: #eff6ff;
            border-color: var(--primary-light);
            color: var(--primary);
        }

        .pagination .current {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
            box-shadow: 0 2px 8px rgba(30, 64, 175, 0.3);
        }

        .pagination .dots {
            border: none;
            background: transparent;
            color: var(--text-light);
            cursor: default;
        }

        /* ========== FOOTER ========== */
        .site-footer {
            background: var(--bg-dark);
            color: rgba(255, 255, 255, 0.75);
            padding: 56px 0 28px 0;
            margin-top: auto;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 36px;
        }

        .footer-brand .logo-text-footer {
            font-size: 1.3rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 10px;
            letter-spacing: 0.4px;
        }

        .footer-brand p {
            font-size: 13.5px;
            line-height: 1.7;
            color: rgba(255, 255, 255, 0.6);
            max-width: 320px;
        }

        .footer-col h4 {
            font-size: 14px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 14px;
            letter-spacing: 0.5px;
        }

        .footer-col a {
            display: block;
            font-size: 13.5px;
            color: rgba(255, 255, 255, 0.6);
            padding: 5px 0;
            transition: all var(--transition-fast);
        }

        .footer-col a:hover {
            color: #fff;
            padding-left: 4px;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.12);
            padding-top: 20px;
            text-align: center;
            font-size: 13px;
            color: rgba(255, 255, 255, 0.45);
        }

        /* ========== RESPONSIVE ========== */
        @media (max-width: 1024px) {
            .events-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }
            .stats-strip {
                grid-template-columns: repeat(2, 1fr);
                gap: 16px;
            }
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 28px;
            }
            .faq-grid {
                grid-template-columns: 1fr;
            }
            .category-banner h1 {
                font-size: 2rem;
            }
            .banner-stats-row {
                gap: 20px;
            }
            .banner-stat .stat-num {
                font-size: 1.4rem;
            }
            .search-box {
                width: 140px;
            }
            .search-box:focus-within {
                width: 170px;
            }
            .cta-section {
                padding: 40px 28px;
            }
            .cta-section h2 {
                font-size: 1.6rem;
            }
        }

        @media (max-width: 768px) {
            .nav-links {
                display: none;
                position: absolute;
                top: var(--header-height);
                left: 0;
                right: 0;
                background: #fff;
                flex-direction: column;
                align-items: stretch;
                padding: 12px 16px;
                gap: 2px;
                border-bottom: 2px solid var(--border);
                box-shadow: var(--shadow-md);
                z-index: 999;
            }
            .nav-links.open {
                display: flex;
            }
            .nav-links a {
                padding: 12px 16px;
                border-radius: 8px;
                font-size: 15px;
            }
            .nav-links a.active::after {
                display: none;
            }
            .mobile-menu-toggle {
                display: flex;
            }
            .search-box {
                width: 120px;
            }
            .search-box:focus-within {
                width: 150px;
            }
            .btn-nav-cta {
                padding: 8px 14px;
                font-size: 12.5px;
            }
            .header-actions {
                gap: 6px;
            }
            .events-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }
            .stats-strip {
                grid-template-columns: 1fr 1fr;
                gap: 12px;
            }
            .category-banner {
                padding: 40px 0;
                min-height: auto;
            }
            .category-banner h1 {
                font-size: 1.6rem;
            }
            .category-banner .banner-desc {
                font-size: 0.9rem;
            }
            .banner-stats-row {
                gap: 14px;
            }
            .banner-stat .stat-num {
                font-size: 1.2rem;
            }
            .filter-bar {
                gap: 8px;
            }
            .filter-sort {
                margin-left: 0;
                width: 100%;
                justify-content: flex-end;
            }
            .ranking-table-wrap {
                overflow-x: auto;
            }
            .ranking-table {
                font-size: 12px;
                min-width: 600px;
            }
            .timeline-section {
                padding: 24px 20px;
            }
            .timeline-list {
                padding-left: 24px;
            }
            .timeline-item {
                padding-left: 16px;
            }
            .timeline-item::before {
                left: -19px;
                width: 10px;
                height: 10px;
            }
            .cta-section {
                padding: 32px 20px;
            }
            .cta-section h2 {
                font-size: 1.4rem;
            }
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }
            .section-title {
                font-size: 1.25rem;
            }
            .section-block {
                margin-top: 48px;
            }
            .pagination a,
            .pagination span {
                width: 34px;
                height: 34px;
                font-size: 13px;
            }
        }

        @media (max-width: 520px) {
            .header-inner {
                padding: 0 12px;
                gap: 10px;
            }
            .logo-text {
                font-size: 14px;
            }
            .logo-icon {
                width: 30px;
                height: 30px;
                font-size: 15px;
            }
            .search-box {
                width: 100px;
                padding: 6px 10px;
            }
            .search-box:focus-within {
                width: 130px;
            }
            .btn-nav-cta {
                padding: 7px 12px;
                font-size: 11.5px;
                border-radius: 20px;
            }
            .category-banner {
                padding: 32px 0;
            }
            .category-banner h1 {
                font-size: 1.35rem;
            }
            .banner-stats-row {
                gap: 10px;
                flex-direction: column;
            }
            .stats-strip {
                grid-template-columns: 1fr;
                gap: 10px;
            }
            .filter-chip {
                padding: 5px 11px;
                font-size: 12px;
            }
            .cta-section {
                padding: 24px 16px;
                border-radius: var(--radius-lg);
            }
            .cta-section h2 {
                font-size: 1.2rem;
            }
            .cta-section p {
                font-size: 0.9rem;
            }
            .btn-cta-lg {
                padding: 12px 24px;
                font-size: 14px;
            }
            .pagination {
                gap: 3px;
            }
            .pagination a,
            .pagination span {
                width: 30px;
                height: 30px;
                font-size: 12px;
                border-radius: 6px;
            }
            .container {
                padding: 0 14px;
            }
            .timeline-section {
                padding: 18px 14px;
            }
            .timeline-list {
                padding-left: 20px;
            }
            .timeline-list::before {
                left: 7px;
            }
            .timeline-item::before {
                left: -16px;
                width: 8px;
                height: 8px;
            }
        }
