/*
    Gamiplex Midnight Edition: Gamiplex style frontend redesign
    Design system tokens:
    - Primary Bg: #0B0F1A
    - Secondary Bg: #121826
    - Card Bg: #1A2233
    - Accent Purple: #7C3AED
    - Accent Blue: #2563EB
    - Text Main: #FFFFFF
    - Text Muted: #9CA3AF
*/

:root {
    --bg-primary: #0B0F1A;
    --bg-secondary: #121826;
    --bg-card: #1A2233;
    --accent-purple: #7C3AED;
    --accent-purple-glow: rgba(124, 90, 237, 0.45);
    --accent-blue: #2563EB;
    --accent-blue-glow: rgba(37, 99, 235, 0.45);
    --text-main: #FFFFFF;
    --text-muted: #9CA3AF;
    --card-radius: 12px;
    --gap-tight: 12px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 56px;
    --sidebar-width: 180px;
    --sidebar-collapsed-width: 70px;
}

/* ── Light Mode Color Overrides ── */
body.light-theme {
    --bg-primary: #F3F4F6;
    --bg-secondary: #FFFFFF;
    --bg-card: #FFFFFF;
    --accent-purple: #6D28D9;
    --accent-purple-glow: rgba(109, 40, 217, 0.15);
    --accent-blue: #1D4ED8;
    --accent-blue-glow: rgba(29, 78, 216, 0.15);
    --text-main: #111827;
    --text-muted: #4B5563;
}

body.light-theme .main-header,
body.light-theme .main-sidebar,
body.light-theme .gaming-footer,
body.light-theme .small-card,
body.light-theme .mobile-drawer,
body.light-theme .category-chip-btn {
    border-color: rgba(0, 0, 0, 0.08) !important;
}

body.light-theme .main-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

body.light-theme .search-input {
    background: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #111827 !important;
}

body.light-theme .search-input:focus {
    background: #FFFFFF !important;
    border-color: var(--accent-purple) !important;
    box-shadow: 0 0 10px var(--accent-purple-glow) !important;
}

body.light-theme .icon-action-btn {
    color: #111827 !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

body.light-theme .category-chip-btn {
    background: #FFFFFF !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

body.light-theme .category-chip-btn:hover {
    background: rgba(109, 40, 217, 0.05) !important;
    color: var(--accent-purple) !important;
}

body.light-theme .mobile-drawer {
    background-color: #FFFFFF !important;
    color: #111827 !important;
}

body.light-theme .mobile-drawer-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

body.light-theme .mobile-drawer-menu-list li a {
    color: #4B5563 !important;
}

body.light-theme .mobile-drawer-menu-list li.active a,
body.light-theme .mobile-drawer-menu-list li a:hover {
    color: var(--accent-purple) !important;
    background: rgba(109, 40, 217, 0.05) !important;
}

body.light-theme .sidebar-menu li a {
    color: #4B5563 !important;
}

body.light-theme .sidebar-menu li.active a,
body.light-theme .sidebar-menu li:hover a {
    color: var(--accent-purple) !important;
    background: rgba(109, 40, 217, 0.05) !important;
}

body.light-theme .footer-logo {
    background: linear-gradient(135deg, #6D28D9, #4C1D95);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-theme .footer-links-list li a {
    color: #4B5563 !important;
}

body.light-theme .footer-links-list li a:hover {
    color: var(--accent-purple) !important;
}

body.light-theme .footer-title {
    color: #111827 !important;
}

body.light-theme .footer-copyright-text {
    color: rgba(0, 0, 0, 0.4) !important;
}

body.light-theme .game-section-title {
    color: #111827 !important;
}

body.light-theme .view-all-link {
    color: var(--accent-purple) !important;
}

body.light-theme .scroller-btn {
    background: #FFFFFF !important;
    color: #111827 !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05) !important;
}

body.light-theme .scroller-btn:hover {
    color: var(--accent-purple) !important;
    box-shadow: 0 4px 12px rgba(109, 40, 217, 0.15) !important;
}

body.light-theme .small-card-overlay {
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 100%) !important;
}

body.light-theme .small-card-title {
    color: #111827 !important;
}

/* ── Global Styles ─────────────────────────────────────────────────── */
body {
    background-color: var(--bg-primary) !important;
    color: var(--text-main) !important;
    font-family: 'Poppins', 'Inter', sans-serif !important;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #1A2233 var(--bg-primary);
}

.content-wrapper {
    background-color: var(--bg-primary) !important;
    margin-left: var(--sidebar-width) !important;
    transition: var(--transition) !important;
    /* Desktop: offset by header only — no category strip on desktop */
    padding-top: var(--header-height) !important;
    min-height: calc(100vh - var(--header-height)) !important;
    box-sizing: border-box;
}

.main-footer {
    margin-left: 0 !important;
    transition: var(--transition) !important;
    background-color: var(--bg-secondary) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.desktop-hidden {
    display: none !important;
}

.mobile-only-block {
    display: none !important;
}

.mobile-featured-scroller-sec {
    display: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-purple);
}

/* ── Sticky Header ─────────────────────────────────────────────────── */
.main-header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--bg-secondary) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    z-index: 1030;
    display: flex !important;
    align-items: center;
    padding: 0 16px;
    box-sizing: border-box;
}

.main-header .logo {
    display: flex;
    align-items: center;
    text-decoration: none !important;
    height: 100%;
    color: #fff !important;
}
.main-header .logo b {
    font-weight: 800;
    font-size: 20px;
    background: linear-gradient(135deg, #A78BFA, var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}

.main-header .navbar {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    height: 100%;
    margin-left: 20px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Center Search Container */
.search-container-center {
    flex: 0 1 500px;
    position: relative;
}
.search-container-center .form-control {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px !important;
    color: #fff !important;
    height: 38px;
    padding: 0 16px 0 40px;
    font-size: 14px;
    transition: var(--transition);
}
.search-container-center .form-control:focus {
    border-color: var(--accent-purple) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 0 10px var(--accent-purple-glow) !important;
}
.search-container-center .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* Right Actions Dock */
.header-right-dock {
    display: flex;
    align-items: center;
    gap: 12px;
}
.sub-cta-btn {
    background: linear-gradient(135deg, var(--accent-purple), #6D28D9) !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 18px !important;
    border-radius: 20px !important;
    border: none !important;
    box-shadow: 0 4px 12px var(--accent-purple-glow) !important;
    transition: var(--transition) !important;
    text-decoration: none !important;
}
.sub-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px var(--accent-purple-glow) !important;
    filter: brightness(1.1);
}

.profile-action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    cursor: pointer;
    transition: var(--transition);
}
.profile-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-purple);
}

/* ═══════════════════════════════════════════════════════════════════════ */
/* ██  NEON PILL ROW — Premium Mobile Category Strip                    ██ */
/* ═══════════════════════════════════════════════════════════════════════ */

/* ── Shared Keyframes ─────────────────────────────────────────────── */
@keyframes catShimmer {
    0%   { background-position: -200% center; }
    100% { background-position:  200% center; }
}
@keyframes catSlideIn {
    from { opacity: 0; transform: translateX(-10px) scale(0.9); }
    to   { opacity: 1; transform: translateX(0)     scale(1);   }
}
@keyframes pillGlow {
    0%, 100% { box-shadow: 0 0 8px  var(--pill-glow, rgba(255,255,255,0.25)), 0 2px 8px rgba(0,0,0,0.35); }
    50%       { box-shadow: 0 0 18px var(--pill-glow, rgba(255,255,255,0.45)), 0 4px 12px rgba(0,0,0,0.5); }
}

/* ── Pill Row Wrapper ─────────────────────────────────────────────── */
.mobile-cat-pill-row {
    display: none;                 /* shown in mobile media query */
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    overflow-y: visible;           /* NEVER clips — no more cut badges */
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 12px 16px 14px;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    background: transparent;
    /* Scroll momentum */
    scroll-behavior: smooth;
}
.mobile-cat-pill-row::-webkit-scrollbar { display: none; }

/* ── Individual Pill ──────────────────────────────────────────────── */
.mobile-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    border-radius: 999px;          /* always a perfect pill */
    text-decoration: none !important;
    position: relative;
    flex-shrink: 0;
    white-space: nowrap;
    box-sizing: border-box;
    overflow: visible;             /* badges/glows never clipped */
    color: #fff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
    transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow  0.18s ease,
                border-color 0.18s ease;
    /* Entry animation */
    animation: catSlideIn 0.3s ease both;
}

/* Shimmer sweep overlay */
.mobile-cat-pill::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        105deg,
        transparent 25%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 75%
    );
    background-size: 200%;
    background-position: -200% center;
    animation: catShimmer 4s ease infinite;
    pointer-events: none;
    z-index: 2;
}

/* Tap / click feedback */
.mobile-cat-pill:active {
    transform: scale(0.93) !important;
    transition-duration: 0.07s !important;
}

/* ── HOT badge — lives INSIDE the pill, zero clipping risk ─────── */
.pill-hot {
    font-size: 13px;
    line-height: 1;
    flex-shrink: 0;
    position: relative;
    z-index: 3;
    margin-right: -2px;
}

/* ── Icon inside pill ─────────────────────────────────────────── */
.pill-icon {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
    position: relative;
    z-index: 3;
}

/* ── Label inside pill ────────────────────────────────────────── */
.pill-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 3;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* ── Gradient fills ───────────────────────────────────────────── */
.grad-red    { background: linear-gradient(135deg, #ff6b6b, #ef4444, #991b1b) !important; }
.grad-blue   { background: linear-gradient(135deg, #60a5fa, #3b82f6, #1e3a8a) !important; }
.grad-purple { background: linear-gradient(135deg, #a78bfa, #8b5cf6, #4c1d95) !important; }
.grad-green  { background: linear-gradient(135deg, #34d399, #10b981, #065f46) !important; }
.grad-orange { background: linear-gradient(135deg, #fb923c, #f97316, #7c2d12) !important; }
.grad-teal   { background: linear-gradient(135deg, #2dd4bf, #14b8a6, #134e4a) !important; }
.grad-indigo { background: linear-gradient(135deg, #818cf8, #6366f1, #312e81) !important; }
.grad-pink   { background: linear-gradient(135deg, #f472b6, #ec4899, #831843) !important; }
.grad-default{ background: linear-gradient(135deg, #94a3b8, #64748b, #1e293b) !important; }

/* ── Active pill — per-color neon glow ring ───────────────────── */
.mobile-cat-pill.active {
    transform: scale(1.06);
    border-color: rgba(255, 255, 255, 0.65) !important;
    animation: catSlideIn 0.3s ease both, pillGlow 2.2s ease infinite;
}

/* Color-matched glow variables */
.grad-red.active    { --pill-glow: rgba(239, 68,  68,  0.65); }
.grad-blue.active   { --pill-glow: rgba(59,  130, 246, 0.65); }
.grad-purple.active { --pill-glow: rgba(139, 92,  246, 0.65); }
.grad-green.active  { --pill-glow: rgba(16,  185, 129, 0.65); }
.grad-orange.active { --pill-glow: rgba(249, 115, 22,  0.65); }
.grad-teal.active   { --pill-glow: rgba(20,  184, 166, 0.65); }
.grad-indigo.active { --pill-glow: rgba(99,  102, 241, 0.65); }
.grad-pink.active   { --pill-glow: rgba(236, 72,  153, 0.65); }

/* ── Fixed Left Sidebar ────────────────────────────────────────────── */
.main-sidebar {
    position: fixed !important;
    top: var(--header-height) !important;
    left: 0;
    width: var(--sidebar-width) !important;
    height: calc(100vh - var(--header-height)) !important;
    background-color: var(--bg-secondary) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding-top: 10px !important;
    z-index: 1025;
    transition: var(--transition) !important;
}

.sidebar-menu {
    list-style: none;
    padding: 0 8px !important;
    margin: 0;
}
.sidebar-menu li {
    margin-bottom: 4px;
}
.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 8px;
    color: var(--text-muted) !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: var(--transition);
}
.sidebar-menu li a i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}
.sidebar-menu li:hover a,
.sidebar-menu li.active a {
    color: #fff !important;
    background-color: var(--bg-card) !important;
}
.sidebar-menu li.active a i {
    color: var(--accent-purple) !important;
}

/* Collapsed Sidebar overrides via body class sidebar-collapse */
.sidebar-collapse .main-sidebar {
    width: var(--sidebar-collapsed-width) !important;
    transition: width var(--transition), box-shadow var(--transition) !important;
}

@media (min-width: 769px) {
    .sidebar-collapse .main-sidebar:hover {
        width: var(--sidebar-width) !important;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.4);
    }
    
    .sidebar-collapse .main-sidebar:hover .sidebar-menu li a span {
        display: inline !important;
    }
    
    .sidebar-collapse .main-sidebar:hover .sidebar-menu li a {
        justify-content: flex-start;
        padding: 10px 16px;
    }
}

.sidebar-collapse .content-wrapper {
    margin-left: var(--sidebar-collapsed-width) !important;
}
/* Note: category-quick-links removed — desktop uses sidebar only */
.sidebar-collapse .sidebar-menu li a span {
    display: none;
}
.sidebar-collapse .sidebar-menu li a {
    justify-content: center;
    padding: 12px;
}

/* ── Content Grid Sections (Global: Both Desktop & Mobile) ─────────── */
.game-row-container {
    position: relative;
    margin-bottom: 24px;
    padding: 0 16px;
}
.game-row-title-sec {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.game-row-title-sec h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}
.game-row-title-sec .view-all-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-purple);
    text-decoration: none !important;
}
.game-row-title-sec .view-all-link:hover {
    text-decoration: underline !important;
}

/* Navigation Arrow controls are unused as both views use grid */
.row-nav-btn {
    display: none !important;
}

/* Game Row wrapper: Standardized 2-Column Grid for BOTH Desktop & Mobile */
.game-row-wrapper {
    position: static;
    width: 100%;
}
.game-row-scroller {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    overflow-x: visible !important;
    width: 100% !important;
    padding: 5px 0 !important;
}

/* GLOBAL FEATURED CARD PATTERN: First card spans 2 columns at 190px height */
.game-row-scroller > :first-child {
    grid-column: span 2 !important;
    height: 190px !important;
    aspect-ratio: auto !important;
    border-radius: 14px !important;
}
.game-row-scroller > :first-child .game-card-media {
    border-radius: 14px !important;
}

/* ── 16:9 Game Card Structure (Standard & Featured) ──────────────── */
.game-card-wrapper {
    border-radius: var(--card-radius);
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    aspect-ratio: 16 / 9;
    width: 100% !important;
    height: auto !important;
    flex: 0 0 auto !important;
}

.game-card-wrapper:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: var(--accent-purple);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 15px var(--accent-purple-glow);
}

.game-card-media {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.game-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}
.game-card-media video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Desktop Hover Auto Play preview loop & Active playing state */
.game-card-wrapper:hover .game-card-media video,
.game-card-wrapper.playing .game-card-media video {
    opacity: 1;
}
.game-card-wrapper:hover .game-card-media img,
.game-card-wrapper.playing .game-card-media img {
    opacity: 0;
}

.game-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(11, 15, 26, 0.95) 0%, rgba(11, 15, 26, 0) 100%);
    padding: 12px 10px 8px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none;
    opacity: 0.85;
    transition: var(--transition);
}
.game-card-wrapper:hover .game-card-overlay {
    opacity: 1;
}
.game-card-title {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-card-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    font-size: 36px;
    color: #fff;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    filter: drop-shadow(0 0 10px var(--accent-purple-glow));
}
.game-card-wrapper:hover .game-card-play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.game-card-wrapper.playing .game-card-play-icon {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ── Listing Grids (Both) ────────────────────────────────────────── */
.game-listing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 8px 16px !important;
}
@media (min-width: 576px) {
    .game-listing-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
    }
}
@media (min-width: 992px) {
    .game-listing-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
    }
}

.listing-filters-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    background: var(--bg-secondary);
    border-radius: 8px;
    margin: 16px;
}
.filters-left {
    display: flex;
    gap: 8px;
}
.filter-btn {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
    color: #fff;
    background: var(--accent-purple);
    border-color: var(--accent-purple);
}

/* ── Theater-Mode Gameplay Page ─────────────────────────────────── */
.gameplay-layout-container {
    display: flex;
    gap: 20px;
    padding: 16px;
    box-sizing: border-box;
}
.gameplay-left-pane {
    flex: 1;
    min-width: 0;
}
.gameplay-right-pane {
    width: 300px;
    flex-shrink: 0;
}

.game-iframe-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--card-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.game-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.game-play-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.game-play-placeholder::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(11, 15, 26, 0.7);
}
.play-trigger-btn {
    position: relative;
    z-index: 5;
    background: var(--accent-purple);
    color: #fff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px var(--accent-purple-glow);
    transition: var(--transition);
}
.play-trigger-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px var(--accent-purple-glow);
}

.game-play-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.play-controls-left {
    display: flex;
    gap: 12px;
}
.control-action-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.control-action-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--accent-purple);
}

.gameplay-info-panel {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--card-radius);
    padding: 20px;
}
.gameplay-info-panel h1 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #fff;
}
.gameplay-meta-item {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.gameplay-meta-item span {
    color: #fff;
    font-weight: 600;
}
.panel-play-btn {
    margin-top: 16px;
    width: 100%;
}

.game-description-box {
    margin-top: 20px;
    background: var(--bg-secondary);
    border-radius: var(--card-radius);
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}
.game-description-box h3 {
    margin-top: 0;
    font-size: 16px;
    color: #fff;
}
.game-description-box p {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}

.related-games-column {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 16px;
}
.related-games-column .game-card-wrapper {
    width: 100% !important;
    height: auto !important;
}

/* Gameplay details structure (Gamiplex Style) */
.game-info-details-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 20px;
    margin-top: 24px;
}

.game-info-description-col, .game-info-metadata-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.game-controls-box, .game-metadata-box {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--card-radius);
    padding: 20px;
    box-sizing: border-box;
}

.game-controls-box h3, .game-metadata-box h3 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 16px;
    color: #fff;
    font-weight: 700;
}

/* Keycap Styling */
.controls-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.control-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.control-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.control-keys-wrapper {
    display: flex;
    gap: 6px;
    align-items: center;
}

.control-key-cap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1e293b;
    border: 1px solid #334155;
    border-bottom-width: 3px;
    border-radius: 6px;
    padding: 4px 10px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 800;
    color: #f1f5f9;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    min-width: 22px;
    height: 24px;
    box-sizing: border-box;
    text-transform: uppercase;
}

.control-key-cap.wide {
    min-width: 58px;
}

.control-action {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Details Table Styling */
.metadata-table {
    width: 100%;
    border-collapse: collapse;
}

.metadata-table td {
    padding: 10px 0;
    font-size: 13px;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.metadata-table tr:last-child td {
    border-bottom: none;
}

.metadata-table td:first-child {
    font-weight: 500;
}

.metadata-table td:first-child i {
    margin-right: 8px;
    color: var(--accent-purple);
    width: 16px;
    text-align: center;
}

.metadata-table td:last-child {
    text-align: right;
    color: #fff;
    font-weight: 700;
}

/* ── Mobile Bottom Nav ────────────────────────────────────────────── */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 56px;
    background-color: rgba(18, 24, 38, 0.8) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 1040;
    justify-content: space-around;
    align-items: center;
    box-sizing: border-box;
}

body.light-theme .mobile-bottom-nav {
    background-color: rgba(255, 255, 255, 0.8) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    text-decoration: none !important;
    font-size: 10px;
    font-weight: 600;
    gap: 4px;
}
.mobile-nav-item i {
    font-size: 18px;
}
.mobile-nav-item.active {
    color: var(--accent-purple);
}

/* ── Viewport Breakpoint Adaptations ───────────────────────────────── */
@media (max-width: 1024px) {
    .gameplay-layout-container {
        flex-direction: column;
    }
    .gameplay-right-pane {
        width: 100%;
    }
}

@media (max-width: 768px) {
    :root {
        --sidebar-width: 0px;
    }
    
    /* Sidebar hidden on mobile — pill row handles category navigation */
    .main-sidebar {
        display: none !important;
    }

    /* Prevent sidebar-collapse styles from shifting layout on mobile */
    .sidebar-collapse .content-wrapper {
        margin-left: 0 !important;
    }
    
    .sidebar-collapse .header-left {
        width: unset !important;
        padding-left: 16px !important;
        border-right: none !important;
    }

    .header-left-group,
    .sidebar-collapse .header-left-group {
        border-right: none !important;
        padding-right: 0 !important;
    }

    /* ── Mobile Header Fixes ── */
    /* Hide the sidebar toggle button — no sidebar on mobile */
    .menu-toggle-btn,
    .sidebar-toggle {
        display: none !important;
    }

    /* Hide desktop search bar by default on mobile — search overlay will be used instead */
    .header-center-search {
        display: none !important;
    }

    /* Make header-right-icons visible on mobile (profile/login icons) */
    .header-right-icons {
        display: flex !important;
        align-items: center;
        gap: 8px;
    }

    /* Show search button, profile, and language switcher on mobile */
    .header-right-icons .mobile-only-icon,
    .header-right-icons .profile-btn,
    .header-right-icons .inline-dropdown {
        display: flex !important;
    }

    /* Hide wider app button and multiplayer group button to avoid header overcrowding */
    .header-right-icons .multiplayer-btn,
    .header-right-icons .purple-app-btn {
        display: none !important;
    }

    /* Hide desktop-only elements in header (VIP badge, etc.) */
    .desktop-only-element {
        display: none !important;
    }

    /* Logo stays left-aligned on mobile (hamburger is hidden, logo takes left slot) */
    .header-left {
        flex: unset;
        justify-content: flex-start;
        gap: 0;
        width: unset !important;
        border-right: none !important;
        padding-left: 16px !important;
    }
    .header-logo {
        position: static;
        left: unset;
        transform: none;
    }
    .header-left .logo-full,
    .sidebar-collapse .header-left .logo-full {
        display: block !important;
        height: 38px !important;
        max-width: 170px !important;
    }
    .header-left .logo-mini,
    .sidebar-collapse .header-left .logo-mini {
        display: none !important;
    }

    /* Show Neon Pill Row on mobile */
    .mobile-cat-pill-row {
        display: flex !important;
    }

    /* Content wrapper: pill row is in document flow — only offset header */
    .content-wrapper {
        margin-left: 0 !important;
        padding-top: var(--header-height) !important;
        padding-bottom: 72px !important;
    }

    .main-footer,
    .sidebar-collapse .main-footer {
        margin-left: 0 !important;
    }

    .mobile-only-icon {
        display: none !important;
    }

    .purple-app-btn {
        height: 30px !important;
        font-size: 11px !important;
        padding: 0 10px !important;
        font-weight: 700 !important;
    }
    
    .search-container-center {
        display: none;
    }
    
    .mobile-bottom-nav {
        display: flex;
    }


    .game-card-play-icon {
        opacity: 1 !important;
        transform: translate(-50%, -50%) scale(1) !important;
    }

    /* Override mobile hover-disable rule when card is actively playing */
    .game-card-wrapper.playing .game-card-media video {
        display: block !important;
        opacity: 1 !important;
    }
    .game-card-wrapper.playing .game-card-media img {
        opacity: 0 !important;
    }
}

/* ── Login, Pricing and VIP Profiles ────────────────────────────────── */
.login-box-body, .register-box-body, .pricing-plan-card {
    background: var(--bg-card) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: var(--card-radius) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
}

.pricing-plan-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: var(--transition);
}
.pricing-plan-card.recommended {
    border-color: var(--accent-purple) !important;
    box-shadow: 0 8px 24px var(--accent-purple-glow) !important;
}
.pricing-plan-card:hover {
    transform: translateY(-4px);
}
.pricing-plan-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    color: #fff;
}
.pricing-plan-card .price {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-purple);
    margin-bottom: 20px;
}
.pricing-plan-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    text-align: left;
    width: 100%;
}
.pricing-plan-card ul li {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pricing-plan-card ul li i {
    color: var(--accent-purple);
}

/* Helper visibility classes */
.mobile-only { display: none !important; }
.desktop-only { display: block !important; }

/* Hide mobile drawer and overlay by default on desktop viewports */
.mobile-drawer, .mobile-drawer-overlay {
    display: none !important;
}

/* ── Gamiplex Mobile Homepage UI Redesign Overrides ──────────────── */
@media (max-width: 768px) {
    /* Display overrides */
    .mobile-only { display: block !important; }
    .desktop-only { display: none !important; }

    /* Sticky Header Height: 56px */
    .main-header {
        height: 56px !important;
        padding: 0 16px !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        background-color: var(--bg-secondary) !important;
        z-index: 1050 !important;
    }

    /* Left hamburger icon & Right search icon */
    .mobile-header-left, .mobile-header-right {
        display: flex !important;
        align-items: center;
        width: 40px;
    }
    .mobile-header-right {
        justify-content: flex-end;
    }
    
    .mobile-icon-btn {
        background: transparent;
        border: none;
        color: #fff;
        font-size: 20px;
        cursor: pointer;
        padding: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }
    
    .mobile-icon-btn:active {
        opacity: 0.7;
    }

    /* Center Logo */
    .main-header .logo {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
        padding: 0 !important;
        height: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Hide desktop actions / search */
    .main-header .navbar,
    .header-right-dock,
    .search-container-center {
        display: none !important;
    }

    /* Mobile Search Input Overlay */
    .mobile-search-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background-color: rgba(11, 15, 26, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        display: flex;
        flex-direction: column !important;
        padding: 0 !important;
        box-sizing: border-box;
        z-index: 2200 !important;
        gap: 0 !important;
    }
    
    body.light-theme .mobile-search-overlay {
        background-color: rgba(243, 244, 246, 0.98) !important;
    }

    .mobile-search-header {
        width: 100%;
        height: 56px;
        display: flex;
        align-items: center;
        padding: 0 16px;
        box-sizing: border-box;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        gap: 12px;
        background-color: var(--bg-secondary);
    }
    
    body.light-theme .mobile-search-header {
        border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
        background-color: #FFFFFF !important;
    }

    .mobile-search-results-area {
        flex: 1;
        width: 100%;
        overflow-y: auto;
        padding: 16px;
        box-sizing: border-box;
    }

    .mobile-search-loading {
        padding: 30px;
        text-align: center;
        color: var(--text-muted);
        font-size: 14px;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    
    .mobile-search-loading i {
        color: var(--accent-purple);
        font-size: 20px;
    }

    .mobile-suggest-list {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .mobile-suggest-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px;
        text-decoration: none !important;
        color: var(--text-main) !important;
        background: var(--bg-card);
        border: 1px solid rgba(255, 255, 255, 0.04);
        border-radius: 12px;
        transition: all 0.2s ease;
    }
    
    body.light-theme .mobile-suggest-item {
        background: #FFFFFF !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
        color: #111827 !important;
    }
    
    .mobile-suggest-item:active {
        transform: scale(0.97) !important;
        background-color: rgba(124, 58, 237, 0.08) !important;
    }
    
    body.light-theme .mobile-suggest-item:active {
        background-color: rgba(109, 40, 217, 0.05) !important;
    }

    .mobile-suggest-thumb {
        width: 64px;
        height: 36px;
        object-fit: cover;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        flex-shrink: 0;
    }
    
    body.light-theme .mobile-suggest-thumb {
        border-color: rgba(0, 0, 0, 0.08) !important;
    }

    .mobile-suggest-details {
        display: flex;
        flex-direction: column;
        flex: 1;
        min-width: 0;
    }

    .mobile-suggest-name {
        font-size: 14px;
        font-weight: 700;
        color: var(--text-main) !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    body.light-theme .mobile-suggest-name {
        color: #111827 !important;
    }

    .mobile-suggest-play-label {
        font-size: 11px;
        color: var(--accent-purple);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-top: 2px;
    }

    .mobile-suggest-play-btn {
        color: var(--accent-purple);
        font-size: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-suggest-no-results {
        padding: 40px;
        text-align: center;
        color: var(--text-muted);
        font-size: 14px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .mobile-suggest-no-results i {
        font-size: 32px;
        color: var(--text-muted);
        opacity: 0.7;
    }

    body.light-theme .mobile-search-close-btn {
        color: #111827 !important;
    }
    
    .mobile-search-close-btn {
        background: transparent;
        border: none;
        color: #fff;
        font-size: 18px;
        cursor: pointer;
        padding: 8px 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }

    .mobile-search-close-btn:active {
        opacity: 0.7;
    }
    
    .mobile-search-input-wrapper {
        flex: 1;
        position: relative;
    }
    
    .mobile-search-input-wrapper input {
        width: 100%;
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        border-radius: 20px !important;
        color: #fff !important;
        height: 38px;
        padding: 0 16px 0 36px;
        font-size: 14px;
        outline: none;
        box-sizing: border-box;
    }
    
    body.light-theme .mobile-search-input-wrapper input {
        background: rgba(0, 0, 0, 0.05) !important;
        border-color: rgba(0, 0, 0, 0.08) !important;
        color: #111827 !important;
    }
    
    .mobile-search-input-wrapper input:focus {
        border-color: var(--accent-purple) !important;
        box-shadow: 0 0 8px var(--accent-purple-glow) !important;
    }
    
    .mobile-search-input-wrapper .search-icon-inside {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-muted);
        font-size: 14px;
    }

    .mobile-search-clear-btn {
        background: transparent;
        border: none;
        color: var(--text-muted);
        font-size: 16px;
        cursor: pointer;
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 5;
        padding: 0;
    }

    /* Content Area: offset = header (56px) */
    .content-wrapper {
        margin-left: 0 !important;
        padding-top: var(--header-height) !important;
        padding-bottom: 72px !important; /* above mobile bottom nav */
    }

    .game-section {
        padding: 12px 16px !important;
        margin-bottom: 20px !important;
    }
    
    .game-section-title {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #fff !important;
        margin: 0 0 12px 0 !important;
        letter-spacing: 0.3px;
        text-transform: uppercase;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .game-section-title a {
        font-size: 12px;
        font-weight: 600;
        color: var(--accent-purple);
        text-decoration: none;
    }

    /* Featured Game Card Style */
    .featured-game-card {
        width: 100% !important;
        height: 190px !important;
        border-radius: 14px !important;
        margin-bottom: 14px !important;
        position: relative !important;
        overflow: hidden !important;
        background-color: #1A2233 !important;
        cursor: pointer !important;
    }
    
    .featured-game-card img, 
    .featured-game-card video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 14px !important;
    }
    
    .featured-game-card video {
        position: absolute;
        top: 0;
        left: 0;
    }
    
    .featured-game-card-overlay {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.85) 100%) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        padding: 16px 14px !important;
        box-sizing: border-box !important;
        pointer-events: none !important;
        z-index: 2 !important;
    }
    
    .featured-game-card-title {
        color: #fff !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        margin: 0 !important;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8) !important;
    }
    
    .featured-game-card-play {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        font-size: 48px !important;
        color: #fff !important;
        z-index: 3 !important;
        pointer-events: none !important;
        text-shadow: 0 0 15px rgba(0,0,0,0.6) !important;
        opacity: 0.9 !important;
        transition: transform 0.2s ease, opacity 0.2s ease !important;
    }
    
    .featured-game-card:active .featured-game-card-play {
        transform: translate(-50%, -50%) scale(1.1) !important;
        opacity: 1 !important;
    }

    /* 2-Column Grid Game Cards */
    .grid-game-cards-container {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    
    .grid-game-card {
        aspect-ratio: 16 / 9 !important;
        border-radius: 12px !important;
        background-color: #1A2233 !important;
        position: relative !important;
        overflow: hidden !important;
        text-decoration: none !important;
        border: 1px solid rgba(255, 255, 255, 0.04) !important;
        display: block !important;
    }
    
    .grid-game-card img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 12px !important;
        display: block !important;
    }
    
    .grid-game-card-overlay {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        background: linear-gradient(to top, rgba(11, 15, 26, 0.95) 0%, rgba(11, 15, 26, 0) 100%) !important;
        padding: 8px 8px 6px !important;
        box-sizing: border-box !important;
        pointer-events: none !important;
    }
    
    .grid-game-card-title {
        color: #fff !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        margin: 0 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    /* Mobile Drawer Navigation Menu */
    .mobile-drawer {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        height: 100vh !important;
        width: 270px !important;
        background-color: rgba(18, 24, 38, 0.9) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        z-index: 2100 !important;
        box-shadow: 5px 0 25px rgba(0,0,0,0.6) !important;
        display: flex !important;
        flex-direction: column !important;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-sizing: border-box;
        border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    }
    
    body.light-theme .mobile-drawer {
        background-color: rgba(255, 255, 255, 0.9) !important;
        border-right: 1px solid rgba(0, 0, 0, 0.06) !important;
    }
    
    body.light-theme .mobile-drawer-menu-list hr {
        border-top-color: rgba(0, 0, 0, 0.06) !important;
    }
    
    .mobile-drawer.open {
        transform: translateX(0) !important;
    }
    
    .mobile-drawer-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background-color: rgba(0, 0, 0, 0.6) !important;
        backdrop-filter: blur(4px) !important;
        z-index: 2090 !important;
        display: none;
    }
    
    .mobile-drawer-overlay.open {
        display: block !important;
    }
    
    .mobile-drawer-header {
        height: 56px;
        padding: 0 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .mobile-drawer-header-title {
        font-weight: 800;
        font-size: 18px;
        background: linear-gradient(135deg, #A78BFA, var(--accent-purple));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    
    .mobile-drawer-close-btn {
        background: transparent;
        border: none;
        color: var(--text-muted);
        font-size: 18px;
        cursor: pointer;
        padding: 8px;
    }
    
    .mobile-drawer-content {
        flex: 1;
        overflow-y: auto;
        padding: 16px 8px;
    }
    
    .mobile-drawer-menu-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .mobile-drawer-menu-list li {
        margin-bottom: 4px;
    }
    
    .mobile-drawer-menu-list li a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        border-radius: 8px;
        color: var(--text-muted) !important;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none !important;
        transition: var(--transition);
    }
    
    .mobile-drawer-menu-list li.active a,
    .mobile-drawer-menu-list li a:active {
        color: #fff !important;
        background-color: var(--bg-card) !important;
    }
    
    .mobile-drawer-menu-list li.active a i {
        color: var(--accent-purple) !important;
    }
    
    .mobile-drawer-menu-list hr {
        border: none;
        border-top: 1px solid rgba(255,255,255,0.05);
        margin: 8px 0;
    }
}

/* ──────────────────────────────────────────────────────────────────── */
/* ── Gamiplex Modernized Homepage Styles ───────────────────────────── */
/* ──────────────────────────────────────────────────────────────────── */

.header-left-group {
    display: flex;
    align-items: center;
    height: 100%;
    flex-shrink: 0;
    border-right: none;              /* removed vertical divider */
    padding-right: 8px;
}

.header-left {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--sidebar-width);
    height: 100%;
    transition: var(--transition);
    flex-shrink: 0;
    padding: 0 16px;
    box-sizing: border-box;
}

/* Keep header-left full width even when sidebar collapses on desktop */

/* Override AdminLTE 1000px wrapper restriction to allow full-width viewport stretching */
.wrapper {
    max-width: 100% !important;
}

/* ── Sticky Header Styles ── */
.new-sticky-header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 56px;
    background-color: var(--bg-secondary) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    z-index: 1050;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px 0 0;
    box-sizing: border-box;
}



/* Logo visibility is controlled by default styles (full logo on, mini logo off) */

/* 
.sidebar-collapse .menu-toggle-btn {
    display: none !important;
}
*/


.menu-toggle-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 4px;
    transition: var(--transition);
}

.sidebar-collapse .menu-toggle-btn {
    padding: 4px;
    font-size: 16px;
}

.menu-toggle-btn::before,
.sidebar-toggle::before {
    display: none !important;
}

.menu-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

.header-logo {
    text-decoration: none !important;
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-full {
    height: 44px;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.logo-mini {
    height: 38px;
    width: 38px;
    object-fit: contain;
    display: none;
}

.header-center-search {
    flex: 0 1 450px;
    margin: 0 16px;
    display: block !important;
}

.search-input-wrapper {
    position: relative;
    width: 100%;
}

.search-input-wrapper .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
}

.search-input {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px !important;
    color: #fff !important;
    height: 38px;
    padding: 0 16px 0 40px !important;
    font-size: 13px;
    width: 100%;
    box-sizing: border-box;
    transition: var(--transition);
}

.search-input:focus {
    border-color: var(--accent-purple) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 0 10px var(--accent-purple-glow) !important;
    outline: none;
}

.header-right-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.mobile-only-icon {
    display: none !important;
}

.purple-app-btn {
    background: linear-gradient(135deg, #7C3AED, #5b21b6) !important;
    color: #fff !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    padding: 0 16px !important;
    border-radius: 20px !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.4);
    border: none;
    height: 36px;
    box-sizing: border-box;
    white-space: nowrap;
}

.purple-app-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(124, 58, 237, 0.5);
}

.icon-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-purple);
}

.desktop-only-element {
    display: block;
}

/* ── Hero Slider Section ── */
.hero-slider-container {
    position: relative;
    width: calc(100% - 32px);
    height: 280px;
    border-radius: var(--card-radius);
    overflow: hidden;
    margin: 25px 16px 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background-color: var(--bg-secondary);
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    width: 65%;
    height: 100%;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: var(--card-radius);
    display: flex;
    align-items: flex-end;
    padding: 30px 40px;
    box-sizing: border-box;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.hero-slide.active {
    left: 17.5%;
    opacity: 1;
    transform: scale(1);
    z-index: 3;
    pointer-events: auto;
}

.hero-slide.prev-slide {
    left: -32.5%;
    opacity: 0.45;
    transform: scale(0.85);
    z-index: 2;
    pointer-events: auto;
    cursor: pointer;
}

.hero-slide.next-slide {
    left: 67.5%;
    opacity: 0.45;
    transform: scale(0.85);
    z-index: 2;
    pointer-events: auto;
    cursor: pointer;
}

.hero-slide.hidden-slide {
    left: 17.5%;
    opacity: 0;
    transform: scale(0.7);
    z-index: 1;
    pointer-events: none;
}

.hero-slide.prev-slide:hover,
.hero-slide.next-slide:hover {
    opacity: 0.75;
}

.hero-slide-content {
    max-width: 550px;
    z-index: 10;
}

.hero-slide-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 10px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.hero-slide-description {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 0 15px;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.hero-slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent-purple), #6D28D9);
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none !important;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px var(--accent-purple-glow);
    transition: var(--transition);
}

.hero-slide-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-purple-glow);
    filter: brightness(1.1);
    color: #fff !important;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(11, 15, 26, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 15;
    transition: var(--transition);
}

.slider-arrow:hover {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
    box-shadow: 0 0 15px var(--accent-purple-glow);
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 15;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--accent-purple);
    box-shadow: 0 0 8px var(--accent-purple-glow);
}

/* ── Category Sections ── */
.gaming-homepage-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.category-section {
    margin-bottom: 35px;
    padding: 0 16px;
    box-sizing: border-box;
}

.game-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.game-section-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 !important;
    position: relative !important;
    padding-left: 14px !important;
    text-transform: none !important;
}

.game-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: var(--accent-purple);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--accent-purple-glow);
}

.view-all-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-purple);
    text-decoration: none !important;
    transition: var(--transition);
}

.view-all-link:hover {
    color: #fff;
    text-shadow: 0 0 8px var(--accent-purple-glow);
}

.category-layout-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: min-content;
    gap: 12px;
}

/* Featured Game Card (Left, Spans 2x2 on desktop) */
.featured-card-wrapper {
    position: relative;
    grid-column: span 2;
    grid-row: span 2;
    border-radius: var(--card-radius);
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    aspect-ratio: 16 / 9;
    box-sizing: border-box;
}

.featured-card-wrapper:hover {
    transform: translateY(-4px);
    border-color: var(--accent-purple);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 15px var(--accent-purple-glow);
}

.featured-media {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(11, 15, 26, 0.95) 0%, rgba(11, 15, 26, 0) 100%);
    padding: 24px 16px 14px;
    box-sizing: border-box;
    z-index: 2;
    pointer-events: none;
}

.featured-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.featured-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--accent-purple);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    opacity: 0;
    z-index: 3;
    transition: var(--transition);
    pointer-events: none;
    box-shadow: 0 0 15px var(--accent-purple-glow);
}

.featured-card-wrapper:hover .featured-play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.small-card {
    position: relative;
    grid-column: span 1;
    grid-row: span 1;
    border-radius: var(--card-radius);
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16 / 9;
    transition: var(--transition);
    box-sizing: border-box;
}

.small-card:hover {
    transform: translateY(-4px) scale(1.03);
    border-color: var(--accent-purple);
    box-shadow: 0 10px 25px rgba(167, 139, 250, 0.25), 0 0 15px var(--accent-purple-glow);
}

/* Card Badges overlay */
.card-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 5;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    pointer-events: none;
}

.badge-top {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-high {
    background: linear-gradient(135deg, #A78BFA, var(--accent-purple));
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.badge-new {
    background: linear-gradient(135deg, #10B981, #059669);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.small-card-media-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.small-card-media-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.small-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(11, 15, 26, 0.95) 0%, rgba(11, 15, 26, 0) 100%);
    padding: 8px 12px;
    box-sizing: border-box;
}

.small-card-title {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.small-cards-grid {
    display: contents;
}

/* Skeletons */
.category-skeleton {
    display: grid;
    grid-template-columns: 0.6fr 0.6fr 1fr 1fr 1fr;
    grid-auto-rows: min-content;
    gap: 12px;
}

.skeleton-featured {
    grid-column: span 2;
    grid-row: span 2;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--bg-card) 25%, rgba(255,255,255,0.05) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: pulse-skeleton-loading 1.5s infinite;
    border-radius: var(--card-radius);
}

.skeleton-small {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 16 / 9;
    background: linear-gradient(90deg, var(--bg-card) 25%, rgba(255,255,255,0.05) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: pulse-skeleton-loading 1.5s infinite;
    border-radius: var(--card-radius);
}

@keyframes pulse-skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Alpine Transitions */
.transition-fade-in {
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.transition-fade-in-start {
    opacity: 0;
    transform: scale(0.98);
}
.transition-fade-in-end {
    opacity: 100;
    transform: scale(1);
}
.transition-fade-out {
    transition: opacity 0.3s ease-in, transform 0.3s ease-in;
}
.transition-fade-out-start {
    opacity: 100;
    transform: scale(1);
}
.transition-fade-out-end {
    opacity: 0;
    transform: scale(0.98);
}

/* ── Gaming Footer ── */
.gaming-footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 40px;
    color: var(--text-muted);
    box-sizing: border-box;
    margin-top: 30px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col.branding-col {
    max-width: 500px;
}

.footer-logo {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 6px;
    background: linear-gradient(135deg, #A78BFA, var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}

.footer-desc {
    font-size: 12px;
    line-height: 1.5;
    margin: 0 0 6px;
    max-width: 500px;
}

.footer-copyright-text {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
}

.footer-title {
    display: none;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.footer-links-list li a {
    color: var(--text-muted);
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 500;
    transition: var(--transition);
}

.footer-links-list li a:hover {
    color: #fff;
}

.social-desc {
    font-size: 13px;
    margin: 0 0 16px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted) !important;
    font-size: 15px;
    transition: var(--transition);
    text-decoration: none !important;
}

.social-icon-btn:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.social-icon-btn.facebook:hover { background-color: #1877F2; border-color: #1877F2; }
.social-icon-btn.twitter:hover { background-color: #1DA1F2; border-color: #1DA1F2; }
.social-icon-btn.instagram:hover { background: linear-gradient(45deg, #F09433 0%, #E6683C 25%, #DC2743 50%, #CC2366 75%, #BC1888 100%); border-color: #DC2743; }
.social-icon-btn.youtube:hover { background-color: #FF0000; border-color: #FF0000; }

/* Horizontal Scroll Categories Style */
.horizontal-games-scroller-container {
    position: relative;
    width: 100%;
}

.horizontal-games-scroll-track {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 10px 4px;
    scrollbar-width: none; /* Firefox */
    scroll-behavior: smooth;
}

.horizontal-games-scroll-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.horizontal-game-card {
    flex: 0 0 auto;
    width: 130px;
    cursor: pointer;
    transition: transform 0.25s var(--transition);
}

.horizontal-game-card:hover {
    transform: translateY(-4px);
}

.horizontal-game-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--card-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background-color: var(--bg-card);
}

.horizontal-game-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.horizontal-game-card:hover .horizontal-game-card-media img {
    transform: scale(1.05);
}

.horizontal-game-play-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 2;
}

.horizontal-game-card:hover .horizontal-game-play-hover {
    opacity: 1;
}
.horizontal-game-card.playing .horizontal-game-play-hover {
    opacity: 0 !important;
    pointer-events: none !important;
}

.horizontal-game-play-hover i {
    font-size: 28px;
    color: #fff;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.horizontal-game-card-title {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-main);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Scroll track navigation buttons on desktop */
.horizontal-games-scroller-container .scroller-btn {
    position: absolute;
    top: calc(50% - 18px - 10px); /* centered vertically matching square aspect-ratio */
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, background 0.25s, transform 0.25s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.horizontal-games-scroller-container:hover .scroller-btn {
    opacity: 1;
    pointer-events: auto;
}

.horizontal-games-scroller-container .scroller-btn:hover {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
    transform: scale(1.1);
}

.horizontal-games-scroller-container .scroller-btn.left-btn {
    left: -18px;
}

.horizontal-games-scroller-container .scroller-btn.right-btn {
    right: -18px;
}

/* Skeletons for scroller */
.horizontal-scroller-skeleton {
    display: flex;
    gap: 12px;
    overflow: hidden;
    padding: 10px 0;
}

.skeleton-horizontal-card {
    flex: 0 0 auto;
    width: 130px;
    aspect-ratio: 1 / 1;
    background: linear-gradient(90deg, var(--bg-card) 25%, rgba(255,255,255,0.05) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: pulse-skeleton-loading 1.5s infinite;
    border-radius: var(--card-radius);
}

/* ── Mobile Layout Media Queries ── */
@media (max-width: 768px) {
    .category-section {
        margin-bottom: 28px !important;
    }

    /* Neon tile — no override needed; tiles are fixed 62px wide */

    .game-section-header {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-top: 10px !important;
        gap: 8px !important;
    }

    .desktop-only-element {
        display: none !important;
    }
    
    .logo-text {
        font-size: 16px;
    }
    
    .header-center-search {
        display: none !important;
    }
    
    .search-input {
        height: 34px;
        font-size: 12px;
        padding-left: 32px !important;
    }
    
    .search-input-wrapper .search-icon {
        left: 10px;
        font-size: 12px;
    }
    
    .icon-action-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .hero-slider-container {
        height: 220px;
        margin: 0 !important;          /* flush — no gap after header */
        width: 100% !important;
        border-radius: 0 !important;   /* full-bleed like Gamiplex */
    }

    .hero-slide {
        width: 80%;
        padding: 20px;
        background-size: 100% 100%;
    }

    .hero-slide.active {
        left: 10%;
    }

    .hero-slide.prev-slide {
        left: -70%;
    }

    .hero-slide.next-slide {
        left: 90%;
    }

    .hero-slide.hidden-slide {
        left: 10%;
    }

    .hero-slide-title {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .hero-slide-description {
        font-size: 12px;
        margin-bottom: 15px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-slide-btn {
        padding: 8px 18px;
        font-size: 11px;
    }

    .slider-arrow {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .slider-arrow.prev { left: 10px; }
    .slider-arrow.next { right: 10px; }

    .category-layout-container {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .featured-card-wrapper {
        width: 100%;
        height: auto;
        min-height: unset;
        margin-bottom: 0;
        position: relative;
    }

    .featured-media {
        position: relative;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
        overflow: hidden;
    }

    .category-skeleton {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .skeleton-featured {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
        margin-bottom: 0;
    }

    .small-cards-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
    }

    @media (min-width: 481px) {
        .small-cards-grid {
            grid-template-columns: repeat(6, minmax(0, 1fr));
        }
    }

    .skeleton-small {
        aspect-ratio: 1 / 1 !important;
    }

    /* Mobile-only element display triggers */
    .desktop-hidden.small-card,
    .desktop-hidden.skeleton-small {
        display: block !important;
    }

    .mobile-only-block {
        display: block !important;
    }

    .mobile-only-block.featured-details-row {
        display: flex !important;
    }

    /* Mobile featured overlay bar styling */
    .featured-overlay {
        position: absolute !important;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(18, 24, 38, 0.9) !important;
        padding: 8px 10px !important;
        box-sizing: border-box;
        z-index: 2;
        pointer-events: auto !important;
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .featured-details-row {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .featured-game-icon {
        width: 32px;
        height: 32px;
        border-radius: 6px;
        border: 1px solid rgba(255, 255, 255, 0.15);
        object-fit: cover;
    }

    .featured-text-meta {
        display: flex;
        flex-direction: column;
        gap: 1px;
    }

    .featured-title {
        font-size: 13px !important;
        font-weight: 700 !important;
        margin: 0 !important;
        text-shadow: none !important;
    }

    .featured-category-tag {
        font-size: 9px;
        color: var(--text-muted);
        font-weight: 600;
        text-transform: capitalize;
    }

    .featured-mobile-play-btn {
        background: linear-gradient(135deg, #7C3AED, #5b21b6) !important;
        color: #fff !important;
        font-weight: 800 !important;
        font-size: 10px !important;
        padding: 5px 12px !important;
        border-radius: 12px !important;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 2px 6px rgba(124, 58, 237, 0.3);
    }

    .featured-play-btn {
        display: none !important;
    }

    /* Small card conversion to portrait/squarish with text label underneath */
    .small-card {
        display: flex;
        flex-direction: column;
        background: transparent !important;
        border: none !important;
        overflow: visible !important;
        aspect-ratio: unset !important;
        padding: 0 !important;
        min-width: 0;
    }

    .small-card-media-wrapper {
        width: 100%;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        position: relative;
        overflow: hidden;
        border-radius: var(--card-radius);
        border: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
        box-sizing: border-box !important;
    }

    .small-card-media-wrapper img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }

    .small-card-overlay {
        position: static !important;
        background: transparent !important;
        padding: 4px 0 0 !important;
        opacity: 1 !important;
        text-align: left;
        width: 100%;
        box-sizing: border-box;
    }

    .small-card-title {
        font-size: 11px !important;
        font-weight: 600 !important;
        color: #fff !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
    }

    .gaming-footer {
        padding: 20px 20px 76px;
        margin-top: 20px;
    }

    .footer-grid {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 16px;
    }

    .footer-col.branding-col {
        align-items: center;
    }

    .footer-links-list {
        justify-content: center;
    }

    /* Gameplay Mobile Responsive Overrides */
    .game-info-details-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .related-games-column {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 10px;
    }

    /* Mobile Featured Games Scroller Styles */
    .mobile-featured-scroller-sec {
        display: block;
        padding: 16px 12px 0;
        margin-bottom: 20px;
        background: linear-gradient(180deg, rgba(124, 58, 237, 0.05) 0%, rgba(11, 15, 26, 0) 100%);
    }

    .mobile-featured-header {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 12px;
    }

    .mobile-featured-header h2 {
        font-size: 16px;
        font-weight: 800;
        color: #fff;
        margin: 0;
        letter-spacing: 0.2px;
    }

    .mobile-featured-header .star-icon {
        color: #fbbf24;
        font-size: 16px;
    }

    .mobile-featured-scroller {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    .mobile-featured-scroller::-webkit-scrollbar {
        display: none;
    }

    .mobile-featured-card {
        position: relative;
        width: 105px;
        flex-shrink: 0;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        overflow: visible;
    }

    .mobile-featured-card img {
        width: 100%;
        aspect-ratio: 3 / 4;
        object-fit: cover;
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.35);
        transition: var(--transition);
    }

    .mobile-featured-card:active img {
        transform: scale(0.96);
    }

    .mobile-featured-card-title {
        font-size: 11px;
        font-weight: 600;
        color: #fff;
        margin-top: 6px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: left;
        width: 100%;
    }

    .mobile-featured-card .badge-tag.top-badge {
        position: absolute;
        top: -4px;
        left: -4px;
        background: #fbbf24;
        color: #000;
        font-size: 9px;
        font-weight: 800;
        padding: 2px 6px;
        border-radius: 6px;
        z-index: 3;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        text-transform: uppercase;
    }

    /* Mobile scroller custom overrides */
    .horizontal-games-scroller-container .scroller-btn {
        display: none !important;
    }
    
    .horizontal-games-scroll-track {
        gap: 10px;
        padding: 8px 0;
    }
    
    .horizontal-game-card {
        width: 100px;
    }
    
    .horizontal-game-card-title {
        font-size: 11px;
        margin-top: 6px;
    }
    
    .skeleton-horizontal-card {
        width: 100px;
    }

    .view-all-link {
        margin-top: 4px;
    }

    /* Tactile Active touch down feedbacks */
    .small-card:active, 
    .featured-card-wrapper:active, 
    .horizontal-game-card:active {
        transform: scale(0.96) !important;
        transition: transform 0.1s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    }

    /* Neon Pill — light theme: labels stay white (gradient bg provides contrast) */
    body.light-theme .pill-label,
    body.light-theme .pill-icon {
        color: rgba(255, 255, 255, 0.97);
    }

    /* Active pill on light theme — slightly brighter border */
    body.light-theme .mobile-cat-pill.active {
        border-color: rgba(255, 255, 255, 0.9) !important;
    }
}

/* ── Desktop Category Chips Strip ── */
.desktop-category-chips-container {
    margin: 20px 0 30px;
    padding: 0 4px;
    width: 100%;
    box-sizing: border-box;
}

.category-chips-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 4px 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-purple) rgba(255, 255, 255, 0.05);
}

.category-chips-scroll::-webkit-scrollbar {
    height: 5px;
}
.category-chips-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}
.category-chips-scroll::-webkit-scrollbar-thumb {
    background: rgba(167, 139, 250, 0.2);
    border-radius: 10px;
    transition: background 0.3s ease;
}
.category-chips-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--accent-purple);
}

.category-chip-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-muted) !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(10px);
}

.category-chip-btn i {
    font-size: 14px;
    color: var(--accent-purple);
    transition: transform 0.3s ease;
}

.category-chip-btn:hover {
    color: #fff !important;
    background: rgba(167, 139, 250, 0.08);
    border-color: var(--accent-purple);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(167, 139, 250, 0.15), 0 0 10px var(--accent-purple-glow);
}

.category-chip-btn:hover i {
    transform: scale(1.15);
}

/* ── Scroll to Top Button ── */
.scroll-to-top-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #A78BFA, var(--accent-purple));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(167, 139, 250, 0.4), 0 0 10px var(--accent-purple-glow);
    z-index: 1030;
    transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.25s ease, opacity 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.scroll-to-top-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 6px 20px rgba(167, 139, 250, 0.5), 0 0 15px var(--accent-purple-glow);
}

.scroll-to-top-btn:active {
    transform: translateY(-2px) scale(0.98);
}

/* ── Interactive Search Auto-Suggest Popover ── */
.search-suggest-popover {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background-color: var(--bg-card) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px var(--accent-purple-glow);
    z-index: 1100;
    overflow: hidden;
    padding: 6px 0;
    backdrop-filter: blur(20px);
    transition: var(--transition);
}

/* Light Theme overrides for search suggest popover */
body.light-theme .search-suggest-popover {
    background-color: var(--bg-secondary) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06), 0 0 15px rgba(109, 40, 217, 0.1) !important;
}

.suggest-loading {
    padding: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.suggest-loading i {
    color: var(--accent-purple);
    font-size: 16px;
}

.suggest-list {
    display: flex;
    flex-direction: column;
    max-height: 380px;
    overflow-y: auto;
}

.suggest-list::-webkit-scrollbar {
    width: 6px;
}

.suggest-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

.suggest-list::-webkit-scrollbar-thumb {
    background: rgba(167, 139, 250, 0.25);
    border-radius: 10px;
}

.suggest-list::-webkit-scrollbar-thumb:hover {
    background: var(--accent-purple);
}

.suggest-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    text-decoration: none !important;
    color: var(--text-main) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

body.light-theme .suggest-item {
    border-bottom-color: rgba(0, 0, 0, 0.03) !important;
}

.suggest-item:last-child {
    border-bottom: none;
}

.suggest-item:hover {
    background-color: rgba(124, 58, 237, 0.08);
    border-left-color: var(--accent-purple);
    padding-left: 19px; /* subtle shift right on hover */
}

body.light-theme .suggest-item:hover {
    background-color: rgba(109, 40, 217, 0.05) !important;
}

.suggest-thumb {
    width: 56px;
    height: 31.5px; /* 16:9 ratio */
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    transition: var(--transition);
}

body.light-theme .suggest-thumb {
    border-color: rgba(0, 0, 0, 0.08) !important;
}

.suggest-item:hover .suggest-thumb {
    transform: scale(1.05);
    border-color: var(--accent-purple);
}

.suggest-details {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.suggest-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main) !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.light-theme .suggest-name {
    color: #111827 !important;
}

.suggest-play-label {
    font-size: 10px;
    color: var(--accent-purple);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
    opacity: 0.8;
}

.suggest-play-btn {
    color: var(--text-muted);
    font-size: 20px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.suggest-item:hover .suggest-play-btn {
    color: var(--accent-purple);
    transform: scale(1.15);
    filter: drop-shadow(0 0 5px var(--accent-purple-glow));
}

.suggest-no-results {
    padding: 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.suggest-no-results i {
    font-size: 24px;
    color: var(--text-muted);
    opacity: 0.8;
}
/* ══════════════════════════════════════════════════════════════════════ */
/* ── Gamiplex Category Strip — mobile only, appears after banner ──── */
/* ══════════════════════════════════════════════════════════════════════ */

@keyframes gpChipIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Strip wrapper ─────────────────────────────────────────────────── */
.gp-cat-strip {
    display: none; /* mobile only — shown via media query */
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 14px 16px 16px;
    width: 100%;
    box-sizing: border-box;
    background: transparent;
}
.gp-cat-strip::-webkit-scrollbar { display: none; }

/* ── Individual card — Gamiplex style ────────────────────────────── */
.gp-cat-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    width: 110px;
    min-width: 110px;
    height: 110px;
    border-radius: 16px;            /* highly rounded like the screenshot */
    padding: 12px;
    box-sizing: border-box;
    text-decoration: none !important;
    flex-shrink: 0;
    position: relative;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease, border-color 0.2s ease;
    animation: gpChipIn 0.3s ease both;
}

/* Hover & Active/Tactile feedback */
.gp-cat-card:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35), 0 0 8px var(--accent-color);
}

.gp-cat-card:active {
    transform: scale(0.96);
    transition-duration: 0.08s;
}

/* Active / current page */
.gp-cat-card.active {
    border-color: #ffffff !important;
    box-shadow: 0 0 0 2px var(--accent-color), 0 4px 14px var(--accent-color);
    transform: scale(1.02);
}

/* ── Emoji representation ───────────────────────────────────────────── */
.gp-card-emoji-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    margin-top: 2px;
}
.gp-card-emoji {
    font-size: 38px;               /* huge emoji size like the screenshot */
    line-height: 1;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15));
    transition: transform 0.2s ease;
}
.gp-cat-card:hover .gp-card-emoji {
    transform: scale(1.15) rotate(4deg);
}

/* ── Label at bottom left ───────────────────────────────────────────── */
.gp-card-label {
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1.2;
    text-align: left;
    margin-top: auto;
    word-break: keep-all;
    white-space: normal;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

/* ── HOT badge ──────────────────────────────────────────────────────── */
.gp-chip-hot {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 11px;
    line-height: 1;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
    animation: cgPulsate 1.5s infinite alternate;
}

@keyframes cgPulsate {
    0% { transform: scale(0.95); }
    100% { transform: scale(1.15); }
}

/* ── Light theme overrides ──────────────────────────────────────────── */
body.light-theme .gp-cat-card {
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
body.light-theme .gp-card-label {
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
body.light-theme .gp-cat-card:hover {
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12), 0 0 6px var(--accent-color);
}
body.light-theme .gp-cat-card.active {
    border-color: #ffffff !important;
    box-shadow: 0 0 0 2px var(--accent-color), 0 4px 10px rgba(0, 0, 0, 0.12);
}

/* ── Show only on mobile ────────────────────────────────────────────── */
@media (max-width: 768px) {
    .gp-cat-strip {
        display: flex !important;
    }
}

/* ── Desktop Grid styling for Alternating Layout (design 2) ── */
.css-1uxnwi7 {
    display: grid !important;
    height: 100% !important;
    width: 100% !important;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: repeat(2, 1fr) !important;
    grid-gap: 4px 4px !important;
    grid-auto-flow: column !important;
}

/* ── Gamiplex Mobile Viewport & Sidebar Overrides ── */
@media (max-width: 874.95px) {
    /* Hide sidebar completely on mobile/tablet */
    #mainNav, .Sidebar_main___ex0V {
        display: none !important;
    }
    
    /* Make content area span full-width on mobile/tablet */
    #layoutMain, .Layout_styledMain__YQszE {
        margin-left: 0 !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Ensure the mobile bottom navigation is shown */
    .mobile-bottom-nav {
        display: flex !important;
    }

    .scroll-to-top-btn {
        bottom: 80px !important;
        z-index: 1101 !important;
    }
    
    /* Remove sidebar padding offsets on mobile/tablet */
    .Layout_hasCollapsedSidebar__AK3eb, .Layout_hasExpandedSidebar__bg72e {
        padding-left: 0 !important;
    }

    /* Mobile Header Overrides */
    #gpHeader .HeaderSidebarButton_root__Iij7Q,
    #gpHeader button[aria-label="Open/Close sidebar"] {
        display: none !important;
    }
    /* Hide the desktop search bar on mobile — the dock has a search icon */
    #gpHeader .TopSearch_topSearchForm__b9Z8c.TopSearch_isDesktop__2eSKm {
        display: none !important;
    }
    .logo-full-desktop {
        display: none !important;
    }
    .logo-small-mobile {
        display: block !important;
        border-radius: 50% !important;
    }
    .mobile-header-dock {
        display: flex !important;
        align-items: center;
        gap: 12px;
    }
    /* Hide non-dock items from the right section on mobile */
    .Header_rightSection__fcQ4k .UserPortalIcons_loaderWrapper__GQ52l > :not(.mobile-header-dock) {
        display: none !important;
    }
    .mobile-header-btn {
        background: transparent !important;
        border: none !important;
        color: #AAADBE !important;
        font-size: 18px !important;
        padding: 0 !important;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        text-decoration: none !important;
        width: 24px;
        height: 24px;
    }
    .mobile-header-btn:hover {
        color: #fff !important;
    }
    .notification-btn {
        position: relative;
    }
    .notification-badge {
        position: absolute;
        top: -4px;
        right: -4px;
        background-color: #EF4444;
        color: #fff;
        font-size: 9px;
        font-weight: 800;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1.5px solid #0C0D14;
    }
    .mobile-profile-circle {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background-color: #212233;
        border: 1.5px solid #2F3148;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff !important;
        font-size: 14px;
        text-decoration: none !important;
    }
    .mobile-app-pill-btn {
        background: linear-gradient(135deg, #6842FF, #8C52FF) !important;
        color: #fff !important;
        font-size: 12px !important;
        font-weight: 800 !important;
        height: 28px;
        padding: 0 12px;
        border-radius: 999px;
        display: flex;
        align-items: center;
        gap: 6px;
        text-decoration: none !important;
        box-shadow: 0 2px 8px rgba(104, 66, 255, 0.4);
    }

    /* Layout 1 Container Height (Fix bottom cutoff) */
    .layout-design-1 .CrazyCarousel_crazyCarouselRoot__l3JCg {
        height: calc(((((100vw - (76px)) / 1.6) - 4px) * .5617977528) + calc(var(--base-unit) * 3)) !important;
    }

    /* Layout 1 Mobile Sizing (Increase card sizes) */
    .layout-design-1 .CrazyCarousel_crazyCarouselContainer__63ph_ li {
        width: calc((100vw - 76px) / 1.6) !important;
        height: calc(((((100vw - (76px)) / 1.6) - 4px) * .5617977528) + calc(var(--base-unit) * .5)) !important;
    }

    /* For Category Vibe Selector (design 5) */
    .home-banner-section {
        margin-bottom: 0px !important;
    }
    .IntentSelectorCarousel_container__Mgbn7 {
        padding-top: 0px !important;
        padding-bottom: 0px !important;
    }
    .IntentSelectorCarousel_container__Mgbn7 .titleContainer {
        display: none !important;
    }
    .IntentSelectorCarousel_slidesContainer__7nGH1 {
        overflow-x: auto !important;
        white-space: nowrap !important;
        flex-wrap: nowrap !important;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
        -webkit-overflow-scrolling: touch;
        display: flex !important;
        gap: 8px !important;
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .IntentSelectorCarousel_slide__bvvvs {
        flex: none !important;
        flex-direction: column !important;
        height: 110px !important;
        width: 110px !important;
        padding: 12px !important;
        border-radius: 16px !important;
        justify-content: space-between !important;
        align-items: stretch !important;
        gap: 8px !important;
    }
    .IntentSelectorCarousel_slide__bvvvs .IntentSelectorCarousel_icon__Qa60K {
        width: 38px !important;
        height: 38px !important;
        align-self: flex-end !important;
        flex-shrink: 0 !important;
    }
    .IntentSelectorCarousel_slide__bvvvs .IntentSelectorCarousel_name__8_6VJ {
        text-align: left !important;
        font-size: 12.5px !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
        color: var(--intent-accent) !important;
        margin-top: auto !important;
        white-space: normal !important;
        word-break: keep-all !important;
    }
}

/* END Gamiplex Category Strip */

/* Cyberpunk Neon Glow Vibe Selector Styling (Global) */
.cyberpunk-neon-card {
    background-image: var(--intent-background-image) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    text-decoration: none !important;
    cursor: pointer;
}

/* Hover effects */
.cyberpunk-neon-card:hover {
    transform: translateY(-4px) scale(1.04) !important;
    border-color: var(--intent-accent) !important;
    box-shadow: 0 0 15px var(--intent-accent), 0 8px 25px rgba(0, 0, 0, 0.6) !important;
}

/* Micro-interaction for icon on hover */
.cyberpunk-neon-card:hover .IntentSelectorCarousel_icon__Qa60K {
    filter: drop-shadow(0 0 6px var(--intent-accent)) brightness(1.2) !important;
    transform: scale(1.08) rotate(3deg) !important;
}

/* Micro-interaction for name on hover */
.cyberpunk-neon-card:hover .IntentSelectorCarousel_name__8_6VJ {
    text-shadow: 0 0 4px var(--intent-accent) !important;
}

/* Base Transitions */
.IntentSelectorCarousel_icon__Qa60K {
    transition: transform 0.25s ease, filter 0.25s ease !important;
}

.category-icon-3d {
    object-fit: contain !important;
    width: 100% !important;
    max-height: 52px !important;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.45)) !important;
    transform: translateZ(0);
    will-change: transform, filter;
}

.cyberpunk-neon-card:hover .category-icon-3d {
    filter: drop-shadow(0 0 6px var(--intent-accent)) drop-shadow(0 6px 12px rgba(0, 0, 0, 0.5)) brightness(1.15) !important;
}

.IntentSelectorCarousel_name__8_6VJ {
    transition: text-shadow 0.25s ease !important;
}

/* Enforce layout across all viewports to ensure consistency */
.IntentSelectorCarousel_slidesContainer__7nGH1 {
    overflow-x: auto !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    padding-top: 16px !important;
    padding-bottom: 12px !important;
    -webkit-overflow-scrolling: touch;
    display: flex !important;
    gap: 12px !important;
    width: 100% !important;
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important;  /* IE and Edge */
}

/* Hide scrollbar completely to remove visual separator line */
.IntentSelectorCarousel_slidesContainer__7nGH1::-webkit-scrollbar {
    display: none !important; /* Chrome, Safari, Opera */
}

.IntentSelectorCarousel_slide__bvvvs {
    flex: none !important;
    height: 110px !important;
    width: 110px !important;
    padding: 12px !important;
    border-radius: 16px !important;
}


/* ── Scroll To Top Button ─────────────────────────────────────────── */
.scroll-to-top-btn {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #6842ff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    z-index: 1100;
    box-shadow: 0 4px 14px rgba(104, 66, 255, 0.5);
    transition: transform 0.2s, background 0.2s;
}
.scroll-to-top-btn:hover {
    background: #7c55ff;
    transform: translateY(-2px);
}

/* ── Mobile Drawer Overlay ─────────────────────────────────────────── */
.mobile-drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 999;
}
.mobile-drawer-overlay.open {
    display: block;
}

/* --- CSS Layout & Hover Overrides for Sidebar --- */

/* Ensure the sidebar nav is scroll-bounded and scrollable vertically */
.Sidebar_main___ex0V {
  max-height: calc(100vh - 56px) !important;
  height: calc(100vh - 56px) !important;
  position: fixed !important;
  top: 56px !important;
  bottom: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent !important;
  transition: width 0.2s ease, scrollbar-color 0.2s ease !important;
}

/* Custom premium scrollbar styling - visible only on hover */
.Sidebar_main___ex0V::-webkit-scrollbar {
  width: 5px !important;
  background: transparent !important;
}

.Sidebar_main___ex0V::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.0) !important;
  border-radius: 10px !important;
  transition: background 0.2s ease !important;
}

.Sidebar_main___ex0V:hover::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15) !important;
}

.Sidebar_main___ex0V::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.35) !important;
}

/* Ensure anchor links inside the sidebar behave as block containers so they don't collapse */
.Sidebar_container__CqXNx a {
  display: block !important;
  text-decoration: none !important;
  color: inherit !important;
}

/* Specific override to hide categories beyond the default limit of 8 */
.Sidebar_container__CqXNx a.sidebar-hidden-category {
  display: none !important;
}

/* Force hover expansion even on smaller screens */
.Sidebar_main___ex0V:hover {
  width: var(--sidebar-width) !important;
}

/* Force label visibility when main sidebar is hovered */
.Sidebar_main___ex0V:hover [class*=labelContainer] {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Keep labels hidden in collapsed state on screens < 1910px when not hovered */
@media (max-width: 1909.98px) {
  .Sidebar_main___ex0V:not(:hover) [class*=labelContainer] {
    opacity: 0 !important;
    visibility: hidden !important;
  }
}

/* Vibe Carousel Wrapper and Glassmorphic Buttons */
.vibe-carousel-wrapper {
    position: relative;
    width: 100%;
}

.vibe-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    background: rgba(18, 24, 38, 0.6) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 10 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease !important;
}

.vibe-carousel-wrapper:hover .vibe-nav-btn {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.vibe-nav-btn:hover {
    background: rgba(124, 58, 237, 0.8) !important; /* purple glow accent on hover */
    border-color: rgba(124, 58, 237, 0.5) !important;
    box-shadow: 0 0 12px rgba(124, 58, 237, 0.5), 0 4px 16px rgba(0, 0, 0, 0.4) !important;
    transform: translateY(-50%) scale(1.08) !important;
}

.vibe-nav-btn.prev-btn {
    left: -12px !important;
}

.vibe-nav-btn.next-btn {
    right: -12px !important;
}

/* Hide navigation buttons on mobile/tablet viewports where touch swipes are standard */
@media (max-width: 874.95px) {
    .vibe-nav-btn {
        display: none !important;
    }
}


/* ══════════════════════════════════════════════════════════════════════
   CATEGORY DETAIL PAGE  —  GamiPlex Redesign
   ══════════════════════════════════════════════════════════════════════ */

/* ── Page wrapper ── */
.gpcat-page {
    padding: 16px 16px 60px;
    max-width: 1600px;
    margin: 0 auto;
}

/* ── Breadcrumb ── */
.gpcat-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 14px;
    color: #AAADBE;
}
.gpcat-breadcrumb-link {
    color: #7C5AFF;
    text-decoration: none;
    transition: color 0.15s;
}
.gpcat-breadcrumb-link:hover { color: #A48EFF; }
.gpcat-breadcrumb-sep { color: #55566A; }
.gpcat-breadcrumb-current { color: #AAADBE; }

/* ── Header row (hero + sort) ── */
.gpcat-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

/* ── Hero ── */
.gpcat-hero-title {
    font-size: 26px;
    font-weight: 900;
    color: #F9FAFF;
    margin: 0 0 6px;
    line-height: 1.2;
}
.gpcat-hero-subtitle {
    font-size: 13px;
    color: #AAADBE;
    margin: 0;
    font-weight: 500;
}

/* ── Sort dropdown ── */
.gpcat-controls { flex-shrink: 0; }
.gpcat-sort-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.gpcat-sort-select {
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255,255,255,0.06);
    border: 1.5px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    color: #F9FAFF;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    padding: 9px 40px 9px 14px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: border-color 0.2s, background 0.2s;
    min-width: 150px;
}
.gpcat-sort-select:focus { outline: none; border-color: rgba(104,66,255,0.7); }
.gpcat-sort-select:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }
.gpcat-sort-select option { background: #1e1f32; color: #F9FAFF; }
.gpcat-sort-chevron {
    position: absolute;
    right: 12px;
    pointer-events: none;
    color: #AAADBE;
    font-size: 11px;
}

/* ── Game grid — Desktop: 6 columns ── */
.gpcat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

/* ── Card wrapper ── */
.gpcat-card-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}
.gpcat-card-wrap .GameThumb_gameThumbLinkDesktop__wcir5 {
    width: 100% !important;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
}

/* ── Mobile card title (hidden on desktop) ── */
.gpcat-card-title {
    display: none;
}

/* ── Load more ── */
.gpcat-load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}
.gpcat-load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 2px solid rgba(104,66,255,0.5);
    border-radius: 999px;
    color: #A48EFF;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    padding: 10px 28px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.gpcat-load-more-btn:hover {
    background: rgba(104,66,255,0.15);
    border-color: #6842FF;
    color: #fff;
}

.gpcat-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px;
    margin-top: 8px;
    border-radius: 14px;
    background: rgba(124, 58, 237, 0.06);
    border: 1px solid rgba(124, 58, 237, 0.15);
}

.gpcat-empty-icon {
    font-size: 28px;
    color: #7C5AFF;
    margin-bottom: 12px;
}

.gpcat-empty-text {
    margin: 0;
    color: #F9FAFF;
    font-size: 15px;
    font-weight: 600;
    max-width: 360px;
    line-height: 1.5;
}

/* ── GP CATEGORY PAGE — MOBILE  (≤ 874px) ── */
@media (max-width: 874.95px) {

    /* 3 columns on mobile */
    .gpcat-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    /* Square thumbnails on mobile */
    .gpcat-card-wrap .GameThumb_gameThumbLinkDesktop__wcir5 {
        aspect-ratio: 1 / 1 !important;
        border-radius: 8px;
    }

    /* Show game name BELOW the card on mobile */
    .gpcat-card-title {
        display: block;
        font-size: 10px;
        font-weight: 700;
        color: #F9FAFF;
        text-align: center;
        margin-top: 5px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.3;
    }

    /* Stack header vertically on mobile */
    .gpcat-header-row {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 14px;
    }
    .gpcat-controls { width: 100%; }
    .gpcat-sort-wrap { width: 100%; }
    .gpcat-sort-select { width: 100%; min-width: unset; }

    /* Smaller hero on mobile */
    .gpcat-hero-title { font-size: 20px; }
    .gpcat-hero-subtitle { font-size: 12px; }

    .gpcat-page { padding: 12px 10px 80px; }
}


/* ── GP CATEGORY PAGE — TOP FEATURED CARDS ── */

/* ── Section wrapper ── */
.gpfeat-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

/* ── Individual featured card ── */
.gpfeat-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 175px;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gpfeat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.6);
}

/* ── Blurred background image ── */
.gpfeat-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(3px) brightness(0.4);
    transform: scale(1.05); /* prevent blur edge bleed */
    z-index: 0;
    transition: filter 0.3s ease;
}
.gpfeat-card:hover .gpfeat-bg {
    filter: blur(2px) brightness(0.5);
}

/* ── Dark gradient overlay ── */
.gpfeat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 30%,
        rgba(0,0,0,0.55) 70%,
        rgba(0,0,0,0.82) 100%
    );
    z-index: 1;
}

/* ── Badge (top-left) ── */
.gpfeat-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.gpfeat-badge--orig {
    background: rgba(104, 66, 255, 0.85);
    color: #fff;
}
.gpfeat-badge--top {
    background: rgba(255, 193, 7, 0.9);
    color: #1a1a2e;
}

/* ── Bottom info row ── */
.gpfeat-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    width: 100%;
    box-sizing: border-box;
}

/* ── Small game icon ── */
.gpfeat-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.18);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

/* ── Name + category meta ── */
.gpfeat-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.gpfeat-name {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #F9FAFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.gpfeat-cat {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #AAADBE;
    text-transform: capitalize;
}

/* ── Play button ── */
.gpfeat-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    background: #6842FF;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    font-family: 'Nunito', sans-serif;
    padding: 9px 20px;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.18s, transform 0.12s;
    box-shadow: 0 4px 16px rgba(104,66,255,0.4);
    white-space: nowrap;
}
.gpfeat-card:hover .gpfeat-play-btn {
    background: #7C5AFF;
    transform: scale(1.04);
}

/* ── Mobile tweaks for featured cards ── */
@media (max-width: 874.95px) {
    .gpfeat-card { height: 200px; border-radius: 12px; }
    .gpfeat-icon { width: 48px; height: 48px; border-radius: 10px; }
    .gpfeat-name { font-size: 13px; }
    .gpfeat-play-btn { font-size: 12px; padding: 8px 16px; }
    .gpfeat-bottom { padding: 12px; gap: 10px; }
    
    /* Remove background blur on mobile for featured cards */
    .gpfeat-card .gpfeat-bg {
        filter: brightness(0.65);
        transform: scale(1);
    }
}

/* Desktop: Hide featured section completely */
@media (min-width: 875px) {
    .gpfeat-section {
        display: none !important;
    }
}

/* Mobile: Hide first 5 games in the small grid */
@media (max-width: 874.95px) {
    .gpcat-card-wrap--mobile-hidden {
        display: none !important;
    }
}

/* Video preview container inside featured cards */
.gpfeat-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: opacity 0.3s ease;
}

/* ══════════════════════════════════════════════════════════════════════
   HOME BANNER CAROUSEL — 3D COVER FLOW
   ══════════════════════════════════════════════════════════════════════ */
.home-banner-section {
    width: 100%;
    margin-top: 16px;
    margin-bottom: 24px;
    box-sizing: border-box;
    padding: 0 16px;
}

.banner-carousel-stage {
    position: relative;
    width: 100%;
    height: 360px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    overflow: hidden;
    box-sizing: border-box;
}

/* Individual slide */
.banner-slide {
    position: absolute;
    width: 640px;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    background-color: #0b0c16;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    z-index: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8) translateZ(-150px);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease, z-index 0.6s ease;
}

/* Slide states */
.banner-slide--center {
    opacity: 1;
    z-index: 3;
    pointer-events: auto;
    transform: translateX(0) scale(1) translateZ(0);
    cursor: pointer;
}

.banner-slide--left {
    opacity: 0.35;
    z-index: 2;
    pointer-events: auto;
    transform: translateX(-400px) scale(0.85) translateZ(-100px);
    cursor: pointer;
}

.banner-slide--right {
    opacity: 0.35;
    z-index: 2;
    pointer-events: auto;
    transform: translateX(400px) scale(0.85) translateZ(-100px);
    cursor: pointer;
}

.banner-slide--left:hover,
.banner-slide--right:hover {
    opacity: 0.65;
}

.banner-slide--hidden {
    opacity: 0;
    z-index: 0;
    pointer-events: none;
    transform: scale(0.7) translateZ(-200px);
}

/* Banner image & Ken Burns zoom effect */
.banner-img-wrap {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.banner-img {
    width: 100%;
    height: 100%;
    /*object-fit: contain;*/
    display: block;
    transform: scale(0.98);
    transition: transform 4s cubic-bezier(0.25, 1, 0.5, 1);
}

.banner-slide--center .banner-img {
    transform: scale(1.0);
}

/* Gradient dark overlay for text legibility */
.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(12, 13, 20, 0.85) 0%,
        rgba(12, 13, 20, 0.35) 45%,
        transparent 90%
    );
    z-index: 1;
}

/* Glassmorphic content overlay card */
.banner-content-card {
    position: absolute;
    bottom: 24px;
    left: 24px;
    z-index: 2;
    background: rgba(18, 24, 38, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 20px 24px;
    max-width: 380px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease 0.15s, transform 0.5s ease 0.15s;
}

.banner-slide--center .banner-content-card {
    opacity: 1;
    transform: translateY(0);
}

.banner-content-title {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    line-height: 1.25;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.banner-content-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #7C3AED, #2563EB);
    color: #fff !important;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    font-family: 'Nunito', sans-serif;
    padding: 8px 22px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(124, 58, 237, 0.35);
    text-decoration: none !important;
    width: fit-content;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.banner-content-btn:hover {
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 6px 22px rgba(124, 58, 237, 0.45);
}

.banner-content-btn i {
    font-size: 11px;
}

/* Nav arrows and indicator dots */
.banner-arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #EFF0F7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 16px;
    transition: background 0.2s, transform 0.2s;
}

.banner-arrow-btn:hover {
    background: rgba(104, 66, 255, 0.8);
    border-color: rgba(104, 66, 255, 0.9);
    transform: translateY(-50%) scale(1.05);
}

.banner-arrow-btn--prev { left: 24px; }
.banner-arrow-btn--next { right: 24px; }

.banner-dots {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.banner-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: background 0.25s, width 0.25s, border-radius 0.25s;
}

.banner-dot--active {
    width: 18px;
    border-radius: 3px;
    background: #6842FF;
}

/* Mobile responsive adjustments */
@media (max-width: 874.95px) {
    .home-banner-section {
        padding: 0 10px;
        margin-top: 10px;
        margin-bottom: 16px;
    }
    
    .banner-carousel-stage {
        height: 180px;
    }
    
    .banner-slide {
        width: 82%;
        border-radius: 12px;
    }
    
    .banner-slide--left {
        transform: translateX(-26%) scale(0.82) translateZ(-60px);
        opacity: 0.25;
    }
    
    .banner-slide--right {
        transform: translateX(26%) scale(0.82) translateZ(-60px);
        opacity: 0.25;
    }
    
    .banner-content-card {
        bottom: 12px;
        left: 12px;
        right: 12px;
        max-width: unset;
        padding: 12px 16px;
        gap: 8px;
        border-radius: 10px;
    }
    
    .banner-content-title {
        font-size: 16px;
    }
    
    .banner-content-btn {
        padding: 6px 16px;
        font-size: 11px;
    }
    
    .banner-arrow-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    .banner-arrow-btn--prev { left: 12px; }
    .banner-arrow-btn--next { right: 12px; }
}

/* ── Sidebar nav icon slot (Home, Recently Played, Categories) ──────── */
.Sidebar_link__Tbdup .sidebar-nav-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--sidebar-collapsed-width, 70px);
    height: var(--sidebar-item-height, 48px);
    margin-left: -6px;
    flex-shrink: 0;
}

.Sidebar_link__Tbdup .sidebar-nav-icon-wrap .sidebar-category-icon {
    display: block !important;
    width: var(--sidebar-icon-size, 22px) !important;
    height: var(--sidebar-icon-size, 22px) !important;
    padding: 0 !important;
    margin: 0 !important;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
    opacity: 0.85;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.Sidebar_link__Tbdup:hover .sidebar-nav-icon-wrap .sidebar-category-icon,
.Sidebar_link__Tbdup.Sidebar_active__bltDp .sidebar-nav-icon-wrap .sidebar-category-icon {
    opacity: 1;
    transform: scale(1.05);
}

.Sidebar_link__Tbdup .sidebar-nav-icon-wrap > i.fa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--sidebar-icon-size, 22px);
    height: var(--sidebar-icon-size, 22px);
    font-size: 17px;
    color: #AAADBE;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    transition: color 0.15s ease, transform 0.15s ease;
}

.Sidebar_link__Tbdup:hover .sidebar-nav-icon-wrap > i.fa,
.Sidebar_link__Tbdup.Sidebar_active__bltDp .sidebar-nav-icon-wrap > i.fa {
    color: #fff;
    transform: scale(1.05);
}

/* ══════════════════════════════════════════════════════════════════
   UNIFIED GAME DETAILS REDESIGN
   ══════════════════════════════════════════════════════════════════ */

/* --- Layout Sections --- */
.gp-details-page-layout {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.gp-details-hero-section {
    display: grid;
    max-width: 1200px;
    margin: 0 auto;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 16px;
    padding: 16px;
    box-sizing: border-box;
    align-items: start;
    width: 100%;
}

.gp-hero-left-pane {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.gp-hero-right-pane {
    display: flex;
    flex-direction: column;
    width: 300px;
    flex-shrink: 0;
    align-self: start;
    position: relative;
}

/* --- Theater Player --- */
.gp-theater-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #08090f;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.65);
}

.gp-theater-blur-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(0.4);
    transform: scale(1.15);
    z-index: 1;
    transition: opacity 0.4s ease;
}

.gp-theater-blur-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* No blur — video plays clear as a wallpaper behind the thumbnail */
    z-index: 2;
    transition: opacity 0.4s ease;
}

.gp-theater-overlay-dark {
    position: absolute;
    inset: 0;
    /* Solid dark overlay so thumbnail + title stay readable over clear video */
    background: rgba(0, 0, 0, 0.52);
    z-index: 3;
}

.gp-theater-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 4;
    padding: 20px;
    box-sizing: border-box;
}

.gp-theater-thumb {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.gp-theater-thumb:hover {
    transform: scale(1.05);
}

.gp-theater-name {
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    margin-top: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    text-align: center;
}

/* Loader & Progress */
.gp-progress-container {
    width: 60%;
    max-width: 320px;
    background: rgba(255, 255, 255, 0.1);
    height: 10px;
    border-radius: 6px;
    margin-top: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.gp-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #7C3AED, #C084FC);
    border-radius: 6px;
    width: 0%;
    transition: width 0.15s ease-out;
}

.gp-progress-text {
    font-size: 13px;
    color: #AAADBE;
    margin-top: 8px;
    font-weight: 700;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.gp-play-trigger-btn {
    background: #6842ff;
    border: none;
    color: #fff;
    font-size: 16px;
    padding: 12px 32px;
    border-radius: 24px;
    cursor: pointer;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(104,66,255,0.4);
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    margin-top: 20px;
}
.gp-play-trigger-btn:hover {
    background: #7c5aff;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(104,66,255,0.5);
}
.gp-play-trigger-btn:active {
    transform: translateY(0);
}

/* Control Bar */
.gp-theater-control-bar {
    height: 52px;
    background: #151624;
    border: 1px solid rgba(255,255,255,0.06);
    border-top: none;
    border-radius: 0 0 16px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    box-sizing: border-box;
    z-index: 5;
}

.control-bar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.control-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.control-logo-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #7C3AED, #C084FC);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #fff;
    font-size: 15px;
}

.control-rating-wrap {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    overflow: hidden;
    height: 32px;
}

.control-btn {
    background: transparent;
    border: none;
    color: #9CA3AF;
    cursor: pointer;
    font-size: 14px;
    height: 32px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: color 0.18s, background-color 0.18s;
}
.control-btn:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
}

.control-rating-wrap .control-btn {
    height: 100%;
}
.control-rating-wrap .like-btn {
    border-right: 1px solid rgba(255,255,255,0.08);
}

.control-btn-icon-only {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 0;
}
.control-btn-icon-only:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.control-btn.report-btn:hover {
    color: #ef4444;
}

/* Details Section Grid */
.gp-details-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 24px 16px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    width: 100%;
}

.gp-details-left-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.gp-details-mid-col {
    display: flex;
    flex-direction: column;
    width: 240px;
    flex-shrink: 0;
}

.gp-details-right-col {
    display: flex;
    flex-direction: column;
    width: 300px;
    flex-shrink: 0;
}

/* --- Breadcrumbs --- */
.gp-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
    color: #AAADBE;
    margin-bottom: 12px;
}

.gp-breadcrumbs-link {
    color: #8b68ff;
    text-decoration: none;
    font-weight: 600;
}
.gp-breadcrumbs-link:hover {
    text-decoration: underline;
}

.gp-breadcrumbs-sep {
    color: rgba(255,255,255,0.2);
}

/* --- Game Info Header --- */
.gp-details-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 24px;
}

.gp-details-title {
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    margin: 0;
}

.gp-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s;
}
.gp-share-btn:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.15);
}

/* --- Metadata Table --- */
.gp-details-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.gp-details-table tr {
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.gp-details-table tr:last-child {
    border-bottom: none;
}

.gp-details-table td {
    padding: 12px 0;
    font-size: 14px;
}

.gp-label-td {
    color: #5c5f78;
    font-weight: 600;
    width: 150px;
}

.gp-value-td {
    color: #fff;
    font-weight: 500;
}
.gp-value-td a {
    color: #8b68ff;
    text-decoration: none;
    font-weight: 600;
}
.gp-value-td a:hover {
    text-decoration: underline;
}

/* --- Tag Badges --- */
.gp-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.gp-tag-pill {
    display: inline-flex;
    align-items: center;
    background: #171824;
    border: 1px solid rgba(255,255,255,0.07);
    color: #AAADBE;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.gp-tag-pill:hover {
    background: rgba(104,66,255,0.1);
    color: #fff;
    border-color: rgba(104,66,255,0.3);
}

.gp-tag-count {
    color: #a78bfa;
    font-size: 11px;
    margin-left: 6px;
    font-weight: 800;
}

/* --- Recommended Sidebar (desktop right pane) --- */
.gp-recommended-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: none;
    height: auto;
}

.gp-recommended-sidebar h3 {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 10px;
}

.gp-recommended-sidebar-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    overflow-y: auto;
    flex-grow: 1;
    /* Scrollbar styling */
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}
.gp-recommended-sidebar-grid::-webkit-scrollbar {
    width: 4px;
}
.gp-recommended-sidebar-grid::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.12);
    border-radius: 4px;
}

.gp-sidebar-card-wrap {
    aspect-ratio: 1 / 1;
    position: relative !important;
    overflow: hidden;
    border-radius: 8px;
    width: 100%;
}
.gp-sidebar-card-wrap .GameThumb_gameThumbLinkDesktop__wcir5 {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

/* --- Bottom Recommended Section (all games, full-width grid) --- */
.gp-recommended-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 16px 32px;
    box-sizing: border-box;
    width: 100%;
}

.gp-recommended-section > h3 {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gp-recommended-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
}

.gp-recommended-card-wrap {
    aspect-ratio: 1 / 1;
    position: relative !important;
    overflow: hidden;
    border-radius: 10px;
    width: 100%;
}
.gp-recommended-card-wrap .GameThumb_gameThumbLinkDesktop__wcir5 {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}

/* --- Floating back to game button --- */
.gp-floating-back-btn {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: #6842ff;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    padding: 10px 22px;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(104,66,255,0.5);
    z-index: 1000;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none !important;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.gp-floating-back-btn:hover {
    background: #7c5aff;
    box-shadow: 0 10px 28px rgba(104,66,255,0.6);
}

/* --- Mock Ads --- */
.gp-ad-box {
    background: #131420;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.gp-ad-label {
    font-size: 10px;
    color: rgba(255,255,255,0.25);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    align-self: flex-start;
}

.gp-ad-logo {
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -1px;
    margin-bottom: 8px;
}
.gp-ad-logo span {
    color: #ef4444;
}

.gp-ad-title {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 6px;
}

.gp-ad-desc {
    font-size: 12px;
    color: #AAADBE;
    margin: 0 0 14px;
    line-height: 1.3;
}

.gp-ad-btn {
    background: #10b981;
    color: #fff;
    border: none;
    font-size: 12px;
    font-weight: 800;
    padding: 8px 24px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.18s;
    text-decoration: none !important;
}
.gp-ad-btn:hover {
    background: #059669;
}

/* --- Mobile Specific Recommendations --- */
.gp-mobile-recommendations-section {
    display: none;
    padding: 0;
    margin-bottom: 20px;
}

.gp-mobile-recommendations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 8px;
    padding: 0 12px;
    box-sizing: border-box;
}

.gp-mobile-rec-card-wrap {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
/* Give the inner game card a real height so images are visible */
.gp-mobile-rec-card-wrap .GameThumb_gameThumbLinkDesktop__wcir5 {
    aspect-ratio: 1 / 1;
    height: auto;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    display: block;
}

.gp-mobile-rec-card-title {
    display: block;
    font-size: 11px;
    color: #fff;
    margin-top: 6px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 700;
}

.gp-mobile-show-more-btn {
    display: none;
    width: calc(100% - 32px);
    margin: 0 auto 24px;
    height: 42px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1.5px dashed rgba(255,255,255,0.15);
    color: #AAADBE;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    gap: 6px;
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE LAYOUTS OVERRIDES
   ══════════════════════════════════════════════════════════════════ */
@media (min-width: 875px) {
    .gp-details-page-layout {
        position: relative;
        padding: 16px;
        padding-right: 332px;
        box-sizing: border-box;
    }

    .gp-details-main-column {
        min-width: 0;
    }

    .gp-details-page-layout .gp-details-row {
        margin: 0;
        max-width: none;
        padding: 24px 0 0;
    }

    .gp-details-page-layout .gp-hero-right-pane {
        position: absolute;
        top: 16px;
        right: 16px;
        bottom: auto;
        width: 300px;
        display: flex;
        flex-direction: column;
        min-height: 0;
        overflow: clip;
    }

    .gp-details-page-layout .gp-recommended-sidebar {
        flex: 1 1 0;
        min-height: 0;
        max-height: none;
        height: 100%;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .gp-details-page-layout .gp-recommended-sidebar h3 {
        flex-shrink: 0;
    }

    .gp-details-page-layout .gp-recommended-sidebar-scroll {
        flex: 1 1 0;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
    }

    .gp-details-page-layout .gp-recommended-sidebar-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .gp-details-page-layout .gp-recommended-sidebar-scroll::-webkit-scrollbar {
        width: 8px;
    }

    .gp-details-page-layout .gp-recommended-sidebar-scroll::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.2);
        border-radius: 4px;
    }
}

@media (max-width: 874.95px) {
    .gp-details-page-layout {
        padding: 8px;
        padding-right: 8px;
    }

    /* Hero section: single column, player fills full width */
    .gp-details-hero-section {
        grid-template-columns: 1fr;
        padding: 8px;
        gap: 0;
    }

    /* Hide desktop right pane sidebar */
    .gp-hero-right-pane {
        display: none !important;
    }

    .gp-theater-player {
        border-radius: 12px;
        min-height: 220px;
    }

    .gp-theater-control-bar {
        border-radius: 0 0 12px 12px;
    }

    /* Details row: single col, tighter padding */
    .gp-details-row {
        padding: 16px 12px;
    }

    .gp-theater-thumb {
        width: 100px;
        height: 100px;
        border-radius: 16px;
    }

    .gp-theater-name {
        font-size: 20px;
    }

    .gp-progress-container {
        width: 80%;
    }

    /* Recommended grid: 3 columns on mobile */
    .gp-recommended-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .gp-recommended-section {
        padding: 0 12px 24px;
    }

    /* Mobile: hide video previews — static cards only on touch devices */
    .GameThumb_gameThumbVideo__jgUDS {
        display: none !important;
    }
}

/* Force all game card thumbnails to cover the card area fully and match borders */
.GameThumb_gameThumbLinkDesktop__wcir5 picture {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.GameThumb_gameThumbLinkDesktop__wcir5 img.GameThumb_gameThumbImage__FSasr,
.GameThumb_gameThumbLinkMobile__J9FBe img.GameThumb_gameThumbImage__FSasr,
.GameThumb_gameThumbImage__FSasr {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: inherit !important;
}
