/* Base styles for all screens */
.games-container {
    width: 100%;
    max-width: 100%;
    padding: 20px;
    gap: 30px;
}

.game-card {
    width: 100% !important;
    height: auto !important;
}

#games h2 {
    font-size: 4rem;
    margin-bottom: 2rem;
}

#games .card-title {
    font-size: 2.5rem !important;
    margin-bottom: 1rem !important;
}

#games .card-text {
    font-size: 1.2rem !important;
    max-width: 100% !important;
}

.card-img-top {
    max-height: none !important;
    margin-bottom: 10px !important;
}

#games .card {
    padding: 20px !important;
}

/* Mobile screens (up to 575px) */
@media (max-width: 575px) {
    .games-container {
        gap: 20px;
        padding: 15px;
    }
    
    .game-card {
        width: 100% !important;
        height: auto !important;
    }
    
    #games h2 {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }
    
    #games .card-title {
        font-size: 2rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    #games .card-text {
        font-size: 1.1rem !important;
    }
    
    .card-img-top {
        max-height: none !important;
        margin-bottom: 8px !important;
    }
    
    #games .card {
        padding: 15px !important;
    }
}

/* Extra small screens (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .games-container {
        gap: 25px;
        padding: 20px;
    }
    
    .game-card {
        width: 100% !important;
        height: auto !important;
    }
    
    #games h2 {
        font-size: 3.5rem;
        margin-bottom: 1.8rem;
    }
    
    #games .card-title {
        font-size: 2.2rem !important;
    }
    
    #games .card-text {
        font-size: 1.15rem !important;
    }
    
    .card-img-top {
        max-height: none !important;
    }
}

/* Small screens (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .games-container {
        gap: 30px;
        padding: 25px;
        max-width: 100%;
    }
    
    .game-card {
        width: 100% !important;
        height: auto !important;
    }
    
    #games h2 {
        font-size: 4rem;
        margin-bottom: 2rem;
    }
    
    #games .card-title {
        font-size: 2.5rem !important;
    }
    
    .card-img-top {
        max-height: none !important;
    }
}

/* Medium screens (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .games-container {
        gap: 35px;
        padding: 30px;
        max-width: 100%;
    }
    
    .game-card {
        width: 100% !important;
        height: auto !important;
    }
    
    #games h2 {
        font-size: 4.5rem;
    }
}

/* Large screens (1200px and up) */
@media (min-width: 1200px) {
    .games-container {
        gap: 40px;
        padding: 40px;
        max-width: 100%;
    }
    
    .game-card {
        width: 100% !important;
        height: auto !important;
    }
    
    #games h2 {
        font-size: 5rem !important;
    }
    
    #games .card-title {
        font-size: 3rem !important;
    }
    
    #games .card-text {
        font-size: 1.4rem !important;
    }
    
    .card-img-top {
        max-height: none !important;
    }
}

/* Extra large screens (1600px and up) */
@media (min-width: 1600px) {
    .games-container {
        max-width: 100%;
    }
    
    .game-card {
        width: 100% !important;
        height: auto !important;
    }
    
    #games h2 {
        font-size: 5.5rem !important;
    }
    
    #games .card-title {
        font-size: 3.5rem !important;
    }
    
    #games .card-text {
        font-size: 1.6rem !important;
    }
    
    .card-img-top {
        max-height: none !important;
    }
} 