 :root {
            --bg-dark: #0b0e14;
            --bg-card: #151a23;
            --bg-card-hover: #1e2636;
            --sidebar-bg: #0e121a;
            --accent-blue: #0088ff;
            --accent-green: #00e676;
            --accent-red: #ff3366;
            --accent-purple: #7c4dff;
            --text-main: #f0f2f5;
            --text-muted: #7b889b;
            --border-color: #1a202c;
            --sidebar-width: 240px;
            --sidebar-collapsed-width: 70px;
            --header-height: 65px;
            --transition-speed: 0.3s;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', sans-serif;
            user-select: none;
        }

        body {
            background-color: var(--bg-dark);
            color: var(--text-main);
            overflow-x: hidden;
            display: flex;
            height: 100vh;
        }

        /* --- Scrollbar Customization --- */
        ::-webkit-scrollbar {
            width: 6px;
            height: 6px;
        }
        ::-webkit-scrollbar-track {
            background: rgba(0, 0, 0, 0.2);
        }
        ::-webkit-scrollbar-thumb {
            background: #232d3f;
            border-radius: 4px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: var(--accent-blue);
        }

       
        /* --- Main Content Area --- */
        .main-content {
            margin-left: var(--sidebar-width);
            margin-top: var(--header-height);
            flex: 1;
            padding: 24px;
            transition: margin-left var(--transition-speed);
            overflow-y: auto;
        }
        
        /* Update desktop collapsed state for main content */
body.sidebar-collapsed .main-content {
    margin-left: var(--sidebar-collapsed-width);
}

/* Ensure mobile layout doesn't use sidebar margins */
@media (max-width: 768px) {
    .main-content {
        margin-left: 0 !important;
        padding: 16px; 
    }
}

        /* Carousel Banners */
             :root {
            --border-color: rgba(255, 255, 255, 0.1);
            --accent-blue: #0088ff;
        }

        /* --- 3-CARD IMAGE SLIDER --- */
        .banner-wrapper {
            position: relative;
            overflow: hidden;
            border-radius: 20px;
            margin-bottom: 25px;
            width: 100%;
        }

        .banner-slider-container {
            overflow: hidden;
            width: 100%;
        }

        .banner-slider {
            display: flex;
            gap: 16px;
            transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
            will-change: transform;
            cursor: grab;
        }

        .banner-slider:active {
            cursor: grabbing;
        }

        /* Card Layout: 3 visible image cards on desktop */
        .banner-card {
            flex: 0 0 calc((100% - 32px) / 3);
            min-width: calc((100% - 32px) / 3);
            height: 200px;
            position: relative;
            border-radius: 18px;
            overflow: hidden;
            border: 1px solid var(--border-color);
            box-sizing: border-box;
            background: #0d131e;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .banner-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
        }

        /* Pure Full-Bleed Image Styles */
        .banner-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), filter 0.3s ease;
        }

        .banner-card:hover img {
            transform: scale(1.04);
            filter: brightness(1.08);
        }

        /* Navigation Arrows */
        .banner-nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 38px;
            height: 38px;
            background: rgba(15, 20, 28, 0.75);
            border: 1px solid rgba(255, 255, 255, 0.15);
            color: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10;
            transition: all 0.3s ease;
            backdrop-filter: blur(8px);
        }

        .banner-nav-btn:hover {
            background: var(--accent-blue);
            border-color: var(--accent-blue);
            transform: translateY(-50%) scale(1.08);
        }

        .banner-nav-btn.prev { left: 10px; }
        .banner-nav-btn.next { right: 10px; }

        /* Navigation Dots */
        .banner-dots {
            position: absolute;
            bottom: 10px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 6px;
            z-index: 10;
            padding: 4px 10px;
            background: rgba(0, 0, 0, 0.4);
            border-radius: 20px;
            backdrop-filter: blur(6px);
        }

        .banner-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.35);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .banner-dot.active {
            background: var(--accent-blue);
            width: 20px;
            border-radius: 4px;
        }

        /* Responsive Breakpoints */
        @media (max-width: 992px) {
            .banner-card {
                flex: 0 0 calc((100% - 16px) / 2);
                min-width: calc((100% - 16px) / 2);
            }
        }

        @media (max-width: 600px) {
            .banner-card {
                flex: 0 0 100%;
                min-width: 100%;
                height: 180px;
            }
        }

      /* --- Modern Cyber-Neon Category Navigation --- */
.categories-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    width: 100%;
}

/* Glassmorphic Navigation Arrows */
.cat-arrow {
    position: absolute;
    z-index: 10;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 240, 255, 0.2);
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cat-arrow:hover {
    color: #fff;
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
    transform: scale(1.1);
}

.cat-arrow.left { left: 0; }
.cat-arrow.right { right: 0; }



        /* Section Navigation Controls */
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 14px;
        }

        .section-title {
            font-size: 1.1rem;
            font-weight: 800;
        }

        .controls {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .see-all {
            display:none !important;
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            color: var(--text-main);
            padding: 6px 14px;
            border-radius: 6px;
            font-size: 0.78rem;
            font-weight: 700;
            text-decoration: none;
            transition: all 0.2s;
            margin-right: 4px;
        }

        .see-all:hover {
            background: var(--bg-card-hover);
            color: #fff;
        }

        .nav-arrow {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            color: var(--text-muted);
            width: 30px;
            height: 30px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 0.75rem;
            transition: all 0.2s;
        }

        .nav-arrow:hover {
            background: var(--bg-card-hover);
            color: #fff;
        }

        /* Compact Game Grids */
        .game-grid-container {
            overflow-x: auto;
            scroll-behavior: smooth;
            scrollbar-width: none;
            margin-bottom: 30px;
        }

        .game-grid-container::-webkit-scrollbar {
            display: none;
        }

        .game-grid-dual {
            display: grid;
            grid-template-rows: repeat(2, 1fr);
            grid-auto-flow: column;
            grid-auto-columns: minmax(115px, 125px);
            gap: 10px;
        }

        .game-card {
            background: var(--bg-card);
            border-radius: 10px;
            overflow: hidden;
            position: relative;
            aspect-ratio: 3/4;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
            border: 1px solid var(--border-color);
        }

        .game-card:hover {
            transform: translateY(-3px);
            border-color: rgba(0, 136, 255, 0.6);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
        }

        .game-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .game-overlay {
            position: absolute;
            inset: 0;
            background: rgba(11, 14, 20, 0.7);
            backdrop-filter: blur(2px);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.2s;
        }

        .game-card:hover .game-overlay {
            opacity: 1;
        }

        .play-btn {
            background: var(--accent-green);
            color: #000;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.95rem;
            box-shadow: 0 0 12px rgba(0, 230, 118, 0.5);
        }

       
        

        /* Responsive */
        @media (max-width: 768px) {
            aside { left: -100%; }
            body{height:100%;}
            body.mobile-open aside { left: 0; width: 240px; }
            header { left: 0 !important; }
            .main-content { margin-left: 0 !important; padding: 14px; }
            .search-box { display: none !important; }
            .banner-card { min-width: 100%; }
        }