/* Performance Optimization Styles */

/* Enable content-visibility to skip rendering off-screen content */
.game-slide, .hero-slider, .featured-slide, .games-review-section, .trending-games-section {
    content-visibility: auto;
    contain-intrinsic-size: 1000px;
}

/* Optimize image rendering */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Use will-change sparingly for animated elements */
.single-game:hover .game-img img,
.single-games-review:hover .review-img img,
.single-trending-game:hover .trending-img img {
    will-change: transform;
}

/* Reduce paint complexity for scroll */
body {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Optimize font display - Note: Use font-display: swap in actual @font-face rules */
@font-face {
    font-display: swap;
    src: local('Arial'), local('Helvetica'), local('sans-serif');
}
