/* Home Page Specific Styles */
.home-page {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.home-hero {
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.home-hero .container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

.home-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 100%;
}

.home-games-grid .game-card {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.home-features {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.home-features .container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

.home-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 100%;
}

.home-features-grid .feature-card {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* Responsive styles for home page */
@media (max-width: 768px) {
    .home-hero .container,
    .home-features .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .home-games-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .home-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .home-hero .container,
    .home-features .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .home-games-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }
}
