/* ============================================================
   CCG MOBILE LITE — PERFORMANCE OVERRIDES
   Desktop untouched. Mobile stability first.
============================================================ */

html.ccg-mobile-lite {
    scroll-behavior: auto !important;
}

html.ccg-mobile-lite[data-ccg-page="single-game"],
html.ccg-mobile-lite[data-ccg-page="single-game"] body {
    scroll-behavior: auto !important;
}

/* Kill continuous animations/transitions on mobile */
html.ccg-mobile-lite *,
html.ccg-mobile-lite *::before,
html.ccg-mobile-lite *::after {
    animation: none !important;
    transition: none !important;
}

/* Disable heavy background layers used site-wide */
html.ccg-mobile-lite .ccg-bg-starfield,
html.ccg-mobile-lite .ccg-bg-grid,
html.ccg-mobile-lite .ccg-bg-crt-overlay,
html.ccg-mobile-lite .ccg-effect-gridlines,
html.ccg-mobile-lite .ccg-effect-scanlines,
html.ccg-mobile-lite .ccg-bg-particles {
    display: none !important;
}

/* Remove backdrop-filter blur (major mobile GPU cost) */
html.ccg-mobile-lite .ccg-header::before,
html.ccg-mobile-lite .ccg-nav,
html.ccg-mobile-lite .ccg-nav__more-menu,
html.ccg-mobile-lite .ccg-hud-dock {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Flatten very expensive shadows/glows */
html.ccg-mobile-lite .ccg-header,
html.ccg-mobile-lite .ccg-card,
html.ccg-mobile-lite .ccg-game-card,
html.ccg-mobile-lite .ccg-btn,
html.ccg-mobile-lite .ccg-brand,
html.ccg-mobile-lite .ccg-hud-dock {
    box-shadow: none !important;
}

html.ccg-mobile-lite .ccg-brand__logo {
    filter: none !important;
}

/* Single-game performance trim */
html.ccg-mobile-lite[data-ccg-page="single-game"] .game-hero,
html.ccg-mobile-lite[data-ccg-page="single-game"] .game-section,
html.ccg-mobile-lite[data-ccg-page="single-game"] .game-media {
    box-shadow: none !important;
}

html.ccg-mobile-lite[data-ccg-page="single-game"] .game-hero__bg {
    filter: none !important;
}

/* Disable section reveal animation used in ccg-master.css */
html.ccg-mobile-lite .ccg-page main > section {
    opacity: 1 !important;
    transform: none !important;
}

/* Avoid compositor issues */
html.ccg-mobile-lite * {
    background-attachment: scroll !important;
}

/* Home page vertical spacing trim */
html.ccg-mobile-lite .home-support-cta {
    margin: 24px auto 28px !important;
}

html.ccg-mobile-lite .ccg-main--home {
    padding-top: 12px !important;
}
