.recommend-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
    margin: 15px 0px;
    position: relative;
}

.recommend-item a {
    align-items: center;
    justify-self: center;
    text-decoration: none;

}

.recommend-item img {
    width: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.recommend-item-info {
    display: flex;
    flex-direction: column;
    padding: 10px;
    /* align-items:flex-start; */
    flex-wrap: wrap;
    position: relative;
}

.recommend-item-info h3 {
    color: #fff;
    font-size: 1rem;
    margin: 0px 10px;
}

.recommend-item-info p {
    display: flex;
    color: #5A5A5A;
    font-size: 0.8rem;
    margin: 10px 10px;
}

.recommend-item-btn a {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

}

.recommend-item-btn {
    display: flex;
    width: 100%;
    height: 25px;
    background: linear-gradient(to bottom, #4BACEC, #3B0DAA);
    border-radius: 5px;
    right: 0px;

}

.recommend-item-btn img {
    width: 28px;
    height: 16px;

}

.forame-recommend-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Two columns layout */
    gap: 15px;
    /* Gap between items */
    /* padding: 0.5rem 1rem; */
    margin: 10px 0px 0px 0px;
}

.forame-recommend-content-col {

    margin: 0px 20px ;
}

.forame-recommend-content img {
    width: 100%;
}

.forame-recommend-content-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Two columns layout */
    gap: 10px;
    /* Gap between items */
    /* padding: 0.5rem 1rem; */
    margin: 10px 0px;
}

.forame-recommend-content-4 img {
    width: 100%;
}

.forame-nav-game-info {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 4vh;
    bottom: 0px;
    position: absolute;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 1%, rgba(0, 0, 0,0.6) 100%);
    border-radius: 0px 0px 10px 10px;
}


.forame-nav-game-info p {
    color: #fff;
    margin: 0px;
    font-size: 0.8rem;
    padding: 5px;
}

/*js轮播图*/
.forame-carousel {
    position: relative;
    margin: 10px 20px;
    overflow: hidden;
}

.forame-carousel-inner {
    display: flex;
    width: 100%;
    transition: transform 0.6 ease-in-out;
    
}

.forame-carousel-item {
    flex: 0 0 100%;
    position: relative;
    text-decoration: none;
    

}

.forame-carousel-item img {
    width: 100%;
    height: 100%;
    aspect-ratio: 5 / 3;
    object-fit: cover;
    border-radius: 10px;
    
}


.forame-carousel-item h5 {
    position: absolute;
    z-index: 50;
    bottom: 0px;
    color: #fff;
    margin: 0px;
    width: 100%;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #000 100%);
    line-height: 1.5rem;
    border-radius: 0px 0px 10px 10px;

}

.forame-carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 80px;
    z-index: 10;
    cursor: pointer;
}

.left {
    left: 25px;
}

.right {
    right: 25px;
}

.forame-carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    z-index: 15;
    width: 60%;
    padding-left: 0;
    margin-left: -30%;
    text-align: center;
    list-style: none;

}

.forame-carousel-dots>li {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0px;
    cursor: pointer;
    background-color: #fff;
    border: 0px solid #fff;
    border-radius: 10px;
}

.forame-carousel-dots .forame-active {
    width: 12px;
    height: 12px;
    margin: 0;
    background-color: #FFFF00;
}