.game-play {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1rem 15%;
    position: relative;
}

.game-play img {
    width: 100%;
    border-radius: 10px;
    height: auto;
    /* 自动高度，用于保持图片比例 */
    aspect-ratio: 1 / 1;
    object-fit: cover;
    /* 裁剪超出部分，确保图片始终充满容器 */
    object-position: center;
    /* 图片居中 */
    display: block
}

.game-name {
    position: absolute;
    width: 100%;
    bottom: 0px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 100%);
    border-radius: 0px 0px 10px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.game-name p {
    color: #fff;
    margin: 5px 5%;
    padding: 0px;
}

.game-star {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.game-star img {
    width: 15px;
    height: 15px;
}
.game-star p{
    color: #fff;
    margin: 5px 5%;
    padding: 0px;
    flex-wrap: nowrap;
}

.game-play-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #592AD9;
    margin: 1rem 15%;
    border-radius: 10px;
    color: #fff;
    padding: 5px 0px;
}

.game-play-button p {
    font-weight: bold;
    text-align: center;
    margin: 0.5rem;
}

.game-info {
    background-color: #fff;
    margin: 1rem;
    border-radius: 10px;
    padding: 1rem;
}

.game {
    display: none;
    width: 100%;
    height: 90vh;
    position: relative;
}

.game img {
    position: absolute;
    top: 10px;
    left: 10px;
}

.games-recommend-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem;
    background-color: #fff;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
}

.games-recommend-title p {
    margin: 5px;
}

.games-recommend-title img {
    width: 25px;
    height: 25px;
}

.games-below {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
    /* 自动计算行高 */
    grid-gap: 10px;
    /* 间隔 */
    margin: 1rem;
    box-sizing: border-box;
}

.fruit-game-iframe {
    /* width: 100%; */
    /* max-width: 560px; */
    /* margin: 1rem 0; */
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 95vh;
    position: relative;
}

#iframe-back-btn {
    margin-top: 20px;
    margin-left: 20px;
    position: absolute;
    height: 40px;
    height: 40px;
}