 /* Theme Variables */
        :root, html[data-theme="dark"] {
            --bg-main: #0f172a;
            --bg-card: #1e293b;
            --text-main: #f8fafc;
            --text-muted: #94a3b8;
            --border-color: rgba(255, 255, 255, 0.12);
        }

        html[data-theme="light"] {
            --bg-main: #f8fafc;
            --bg-card: #ffffff;
            --text-main: #0f172a;
            --text-muted: #64748b;
            --border-color: rgba(0, 0, 0, 0.12);
        }

        /* Strict Body & Container Level Overflow Controls */
        html, body {
            max-width: 100% !important;
            overflow-x: hidden !important;
            margin: 0;
            padding: 0;
            background-color: var(--bg-main);
            color: var(--text-main);
        }

        .site-header {
            width: 100%;
            max-width: 100vw;
            box-sizing: border-box;
            background: #0f172a;
        }

        .top-navbar {
            padding: 8px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

        .header-container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 12px;
            box-sizing: border-box;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
        }

        /* GEO Banner */
        .geo-lang-banner { display: none; background: linear-gradient(90deg, #4f46e5, #06b6d4); color: #fff; padding: 10px 20px; text-align: center; font-size: 0.9rem; font-weight: 600; position: relative; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.3); }
        .geo-lang-banner .geo-btn-group { display: inline-flex; gap: 10px; margin-left: 15px; }
        .geo-lang-banner button { padding: 4px 14px; border-radius: 6px; border: none; font-weight: bold; cursor: pointer; font-size: 0.85rem; }
        .geo-btn-yes { background: #10b981; color: #fff; }
        .geo-btn-no { background: rgba(255,255,255,0.2); color: #fff; }

        /* Clean Language Selector Dropdown */
        .lang-select-wrapper { 
            position: relative; 
            display: inline-flex; 
            align-items: center; 
            background: rgba(15, 23, 42, 0.8); 
            border: 1px solid #334155; 
            border-radius: 8px; 
            padding: 2px 6px; 
            flex-shrink: 0;
        }
        .lang-select-wrapper select { 
            background: transparent; 
            color: #00f0ff; 
            border: none; 
            font-weight: bold; 
            font-size: 0.85rem; 
            padding: 4px 2px; 
            outline: none; 
            cursor: pointer; 
            max-width: 110px;
        }
        .lang-select-wrapper select option { background: #0f172a; color: #fff; }
        .mobile-lang-box { padding: 12px 15px; border-bottom: 1px solid #334155; margin-bottom: 10px; }

        /* Header Actions Layout */
        .header-actions {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-shrink: 0;
        }

        /* Category Navbar Styles */
        .category-navbar {
            background: rgba(15, 23, 42, 0.95);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            padding: 8px 0;
            width: 100%;
        }

        .category-nav-container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 12px;
            box-sizing: border-box;
        }

        .category-pills-wrapper {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }

        .cat-pill {
            display: inline-flex;
            align-items: center;
            padding: 6px 14px;
            border-radius: 20px;
            background: rgba(255, 255, 255, 0.06);
            color: #cbd5e1;
            font-size: 0.82rem;
            font-weight: 700;
            text-decoration: none;
            transition: all 0.2s ease;
            white-space: nowrap;
            border: 1px solid transparent;
            flex-shrink: 0;
        }

        .cat-pill:hover, .cat-pill.active {
            background: #00f0ff;
            color: #0f172a;
            box-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
        }

        /* "More" Dropdown Menu */
        .more-cats-dropdown {
            position: relative;
            display: inline-block;
        }

        .more-cats-btn {
            cursor: pointer;
            background: rgba(0, 240, 255, 0.12);
            color: #00f0ff;
            border: 1px solid rgba(0, 240, 255, 0.3);
        }

        .more-cats-menu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            margin-top: 6px;
            background: #1e293b;
            border: 1px solid #334155;
            border-radius: 12px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.5);
            z-index: 1000;
            min-width: 180px;
            max-height: 320px;
            overflow-y: auto;
            padding: 8px 0;
        }

        .more-cats-dropdown:hover .more-cats-menu,
        .more-cats-dropdown:focus-within .more-cats-menu {
            display: block;
        }

        .more-cats-menu a {
            display: block;
            padding: 8px 16px;
            color: #f8fafc;
            text-decoration: none;
            font-size: 0.85rem;
            font-weight: 600;
            transition: background 0.15s ease;
        }

        .more-cats-menu a:hover {
            background: rgba(0, 240, 255, 0.15);
            color: #00f0ff;
        }

        /* Responsive Visibility Controls for Mobile vs Desktop Categories */
        .desktop-cats-only { display: flex; }
        .mobile-cats-only { display: none; }

        /* Mobile Responsive Breakpoints (< 768px) */
        @media (max-width: 768px) {
            .header-container {
                padding: 0 8px;
            }

            .desktop-search {
                display: none !important;
            }

            .desktop-lang-select select {
                font-size: 0.75rem !important;
                max-width: 75px !important;
            }

            .desktop-cats-only { display: none !important; }
            .mobile-cats-only { display: flex !important; }
        }