.imagenes-verde {
  display: flex;
  gap: 30px;
  justify-content: flex-end;
  flex-wrap: wrap;
  flex: 1;
}

.ocultar-esc {
    display: none;
}

.ocultar-mov {
    display: block;
}

.imagen-cuadrada-verde {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
}

.btn-aleatorios {
    color: #fff;
    background-color: #C44BFF;
    border: none;
    font-size: 14px;
    cursor: pointer;
    font-family: 'arial', sans-serif;
    font-weight: 500;
    border-radius: 10px;
    padding-top: 3px;
    padding-bottom: 12px;
    padding-left: 15px;
    padding-right: 12px;
    transition: color 0.3s;
    cursor: pointer;
}

.dado-svg-2 {
    position: relative;
    top: 5px;
    margin-right: 5px;
}

.contenedor-verde {
  background-color: #560D7A;
  border-radius: 20px;
  padding: 40px;
  margin: 0 20px;
  color: white;
  text-align: center;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.texto-verde {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.titulo-verde {
  font-size: 30px;
  margin-bottom: 10px;
}

.subtitulo-verde {
  font-size: 16px;
  margin-bottom: 15px;
}

.imagen-completa-verde {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}


.contenedor-seccion {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; 
}

.linea-divisoria {
    border: none;
    border-top: 1px solid #868686;
    margin: 30px 0;
    width: 100%; /* se adapta al ancho del contenedor-seccion */
}

/*
.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
} */

.titulo-grupo {
    display: block;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    margin-top: 80px;
}

/* .contenedor-juegos {
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    padding:20px;
    padding-left:70px; Eliminado como potencial problema de centrado
    justify-content: center; Añadido como potencial solución de centrado
    margin-top: 10px;
} */

.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;
    border-radius: 15px;
    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:15px
}
.overlay-juegos {
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    border-radius: 15px;
    background:#381739b3;
    opacity:0;
    transition:opacity 0.3s ease;
    z-index:9;
}
.contenedor-imagen:hover img {
    transform: scale(1.02);
}
.contenedor-imagen .overlay-juegos {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color:#381739b3;
    display:flex;
    justify-content:center;
    align-items:center;
    opacity:0;
    transition:opacity 0.3s 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:#381739b3;
    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 {
    display: none;
    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:#dc390700;
    font-family:'Montserrat',sans-serif;
    text-transform: uppercase;
    font-weight: bolder;
    color:#fff;
    border:none;
    padding:10px 60px;
    border-radius:5px;
    font-size:18px;
    cursor:pointer;
    transition:background-color 0.3s ease
}

.ingresar-btn a {
    text-decoration: none;
    color: #eee;
}

.ingresar-btn:hover {
    background-color:#c6300600;
    color:#fff
}
@media (max-width:768px) {

    .ocultar-mov {
        display: none !important;
    }

    .ocultar-esc {
        display: block;
        margin-top: 15px;
    }

    .contenedor-verde {
        flex-direction: column;
        justify-content: space-between;
        text-align: center;
        align-items: center;
        max-width: 90%;
    }

    .texto-verde {
        align-items: center;
        max-width: 95%;
    }

    .imagenes-verde {
        justify-content: center;
        gap: 10px;
    }

    .imagen-cuadrada-verde {
        width: 100px;
        height: 100px;
    }

    .titulo-grupo {
        margin-left:10px;
        margin-top: 0px;
    }
    .titulo-juego {
        font-size:14px
    }
    .contenedor-juegos {
        display:grid !important;
        grid-template-columns:repeat(3,1fr);
        gap:10px;
        padding-left:10px;
        margin-top:10px;
        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
    }
}