.gamelist-div,
.gamelist-div-unlimited{
    display: flex;
    flex-direction: row;
    height: fit-content;
    width: inherit;
    gap: 5%;
    justify-content: space-between;
    padding-inline: 5%;

}
.column1-gamelist, 
.column2-gamelist, 
.column1-gamelist-unlimited, 
.column2-gamelist-unlimited{
    display: flex;
    flex-direction: column;
    width: 45%;
    gap: 8px;
    margin-bottom: 8px;
}

.game{
    cursor: pointer;
    display: flex;
    background-color: #00000014;
    border: 2px solid;
    border-color: #53535335;
    border-radius: 5px;
    height: 90px;
    align-items: center;
    padding-inline: 10px;
}


.game-img{
    width: 70px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 10px;
}

.game-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* elimina espacio inferior fantasma */
}
.game-title{
    max-width: 50%;
    text-overflow: clip;
    margin-right: 10px;

}
.game-price{
    margin-left: auto;
    margin-right: 10px;
}

/* Juegos premiados */
.gameawarded-div{
        display: flex;
        flex-direction: row;
        height: fit-content;
        width: inherit;
        gap: 5%;
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
}
.gameawarded-div::-webkit-scrollbar {
    display: none;
}

.option1-gameawarded, .option2-gameawarded, .option3-gameawarded{
    display: flex;
    flex-direction: column;
    flex: 0 0 100%;
    box-sizing: border-box;
    gap: 8px;
    padding-inline: 18px;
    scroll-snap-align: start;
}

.gameA{
    display: flex;
    flex-direction: row;
    background-color: #00000014;
    border: 2px solid;
    border-color: #53535335;
    height: 400px;
    width: 90%;
    margin: 10px auto;
}

.gameA-img{
    display: flex;
    height: inherit;
    width: 50%;
    overflow: hidden;
}

.gameA img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.gameA-info{
    display: flex;
    flex-direction: column;
    padding: 20px;
    width: 50%;
}

.gameA-award{
    max-width: 100%;
}

.gameA-title{
    margin-left: 20px;
    max-width: 100%;
    font-size: x-large;
    text-overflow: clip;
}
.gameA-description{
    margin-left: 20px;
    max-width: 100%;
    text-overflow: clip;
}

/* Contenedor y botones del carrusel de juegos premiados */
.gameawarded-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: inherit;
    scroll-behavior: none;
    margin-top: 20px;
    margin-bottom: 10px;
}

.carousel-btn{
    position: relative;
    background-color: #0000002f;
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    min-width: 30px;
    min-height: 30px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background-color 0.2s, transform 0.2s;
}
.carousel-btn:hover{
    background-color: #00000073;
    transform: scale(1.012);
    transition: background-color 0.2s, transform 0.2s;
}
.carousel-btn.left{ margin-left:8px; }
.carousel-btn.right{ margin-right:8px; }

.carousel-btn:disabled{
    opacity: 0.45;
    cursor: default;
}

/* Juegos Destacados Catálogo */
.gamehighlight-container{
    display: flex;
    width: inherit;
    height: fit-content;
    overflow-x: auto; 
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}
.gamehighlight{
    display: flex;
    flex-direction: row;
    width: inherit;
    height: fit-content;
    gap: 2%;
    padding-inline: 2%;
    overflow-x: auto; 
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}
/* Cartas Carrusel */
.gameH {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    padding: 15px 20px;
    background-color: #00000014;
    border: 2px solid #53535335;
    border-radius: 10px;
}
.gameH-img {
    aspect-ratio: 1/1;
    height: 200px;
    width: fit-content;
    max-width: 200px;
    object-fit: cover;
    background-color: #000000;
    border-radius: 10px;
}
.gameH-title {
    margin: 10px 5px;
    font-size: larger;
    overflow: hidden;
}
.gameH-price {
    margin-left: 10px;
    margin-bottom: 10px;
    font-size: medium;
}

@media (max-width:900px) {
     .gamelist-div{
    flex-direction: column;
    }
    .column1-gamelist, 
    .column2-gamelist, 
    .column1-gamelist-unlimited, 
    .column2-gamelist-unlimited{
        width: 100%;
    }
    .game{
        width: 80%;
    }
    .gameawarded-div{
    flex-direction: row;
    }
    /* keep flex-direction row so buttons stay at sides */
    .gameawarded-container{
        flex-direction: row;
    }
    .carousel-btn {
        width: 30px;
        height: 30px;
        min-width: 30px;
        min-height: 30px;
        aspect-ratio: 1/1;
    }
    .gameA{
        flex-direction: column;
        width: 80%;
    }
    .gameA-img{
        flex-direction: column;
        width: 100%;
        height: 70%;
    }
    .gameA-info{
        height: 30%;
        width: auto;
        flex-direction: column;
        gap: 5%;
    }
    .gameA-award{
        margin-block: 0;
    }
    .gameA-title{
        margin-block: 5px;
        font-size: large;
    }
    .gameA-description{
        display: none;
    }
    .gameH-img{
        height: 150px;
    }
    .gameH-title{
        font-size: medium;
    }
    .gameH-price{
        font-size: small;
    }
}