.linea-divisoria {
    border: none;
    border-top: 1px solid #868686;
    margin: 30px 0;
    margin-left: 70px;
    margin-right: 70px
}

.titulo-grupo {
    font-family: 'Montserrat',sans-serif;
    font-size: 16;
    font-weight: 700;
    margin-left: 70px;
    color: #fff;
    margin-top: 80px
}

.contenedor-seccion {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 20px; 
}

.contenedor-juegos {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px
}

.contenedor-juego {
    position: relative;
    width: 185px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgb(0 0 0 / .2);
    transition: transform 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column
}

.contenedor-imagen {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden
}

.contenedor-juego-2 {
    position: relative;
    width: 185px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgb(0 0 0 / .2);
    transition: transform 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column
}

.contenedor-imagen-2 {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden
}

.imagen-juego {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 10px
}

.overlay-juegos {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / .7);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 9
}

.contenedor-imagen:hover .imagen-juego {
    transform: scale(1.02)
}

.contenedor-imagen .overlay-juegos {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / .5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease
}

.contenedor-imagen:hover .overlay-juegos {
    opacity: 1
}

.contenedor-imagen-2:hover .imagen-juego {
    transform: scale(1.02)
}

.contenedor-imagen-2 .overlay-juegos {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / .5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease
}

.contenedor-imagen-2:hover .overlay-juegos {
    opacity: 1
}

.informacion-juego {
    margin-top: 10px;
    width: 100%
}

.titulo-juego {
    font-size: 15px;
    color: #fff;
    font-family: 'Montserrat',sans-serif;
    font-weight: 600;
    text-align: left
}

.detalles {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 5px
}

.proveedor {
    font-size: 14px;
    font-weight: 600;
    color: #bbb;
    font-family: 'Montserrat',sans-serif;
    text-align: left
}

.estrella {
    transform: scale(1.1)
}

.estrella:hover {
    transform: scale(1.2)
}

.ingresar-btn {
    background-color: #c49832;
    font-family: 'Montserrat',sans-serif;
    font-weight: 600;
    color: #fff;
    border: none;
    padding: 10px 60px;
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease
}

.ingresar-btn:hover {
    background-color: #dfaf40;
    color: #fff
}

@media (max-width: 768px) {

    .contenedor-seccion {
        justify-content: center;
        padding: 20px 0x;
    }
    .titulo-grupo {
        margin-left:20px !important;
        padding-top:20px
    }
    .titulo-juego {
        font-size:14px
    }
    .contenedor-juegos {
        display:grid !important;
        grid-template-columns:repeat(3,1fr);
        gap:10px;
        padding: 0 20px !important;
        margin-bottom:15px
    }
    .contenedor-imagen-2 {
        width:100%;
        height:auto
    }
    .contenedor-juego-2 {
        width:100%;
        display:flex;
        flex-direction:column
    }
    .contenedor-imagen-2 img.imagen-juego {
        width:100%;
        height:100%;
        object-fit:cover
    }
    .contenedor-imagen {
        width:auto;
        height:100%
    }
    .contenedor-juego {
        width:100%;
        display:flex;
        flex-direction:column
    }
    .contenedor-imagen img.imagen-juego {
        width:100%;
        height:100%;
        object-fit:cover
    }
    .linea-divisoria {
        display:none
    }
}

/* Estilos actualizados para el botón */
.mostrar-mas-btn {
    color: #fff;
    background-color: #c49832;
    border: none;
    font-size: 14px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    border: 1px solid #c49832;
    border-radius: 25px;
    padding: 8px 25px;
    margin-left: auto;
    margin-right: 70px;
    margin-bottom: 15px;
    display: block;
    transition: all 0.3s ease;
    width: fit-content;
}

.mostrar-mas-btn:hover {
    background-color: #dfaf40;
    color: #000;
}

/* Ajustes para la sección completa */
.titulo-grupo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 80px 70px 20px;
    padding: 0;
}

.contenedor-juegos {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 0 70px 20px;
}

/* Versión móvil */
@media (max-width: 768px) {

    .mostrar-mas-btn {
        margin: 15px -45px 15px 50px; /* Empuja el botón a la derecha */
        order: 2;
        width: 90%;
        max-width: 150px;
        text-align: center;
        padding: 10px 10px;
        display: block; /* Asegura el comportamiento del margin auto */
    }
}

