.game-play-img {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1rem 15%;
    position: relative;
}

.game-play-img img {
    width: 100%;
    border-radius: 10px;
    height: auto;
    /* 自动高度，用于保持图片比例 */
    aspect-ratio: 1 / 1;
    object-fit: cover;
    /* 裁剪超出部分，确保图片始终充满容器 */
    object-position: center;
    /* 图片居中 */
    display: block
}

.game-name {
    width: 100%;
    bottom: 0px;
    border-radius: 0px 0px 10px 10px;
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: start;
    gap: 20px;
}

.game-cover{
    width: 100%;
}

.game-name p {
    color: #000;
    padding: 0px;
    font-size: 1.2rem;
    margin: 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 {
   
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* margin: 1rem 15%; */
    border-radius: 50px;
    bottom: 4px;
    right: 4px;
    color: #000;
}

.game-play-button img {
    width: 80px;
    height: 80px;
}

.game-play-info {
    margin: 0px 1rem;
    border-radius: 10px;
    padding: 1rem;
}

.play-game-ifraname {
    display: none;
    width: 100%;
    height: 100vh;
    position: relative;
}

.play-game-ifraname img {
    position: absolute;
    top: 10px;
    left: 10px;
}

.games-title-text-content {
    display: flex;
    justify-content: space-between;
    margin: 1rem;
    background-color: #fff;
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: bold;
}

.games-title-text-content p {
    margin: 5px;
}

.games-title-text-content img {
    width: 25px;
    height: 25px;
}

.games-secondary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
    /* 自动计算行高 */
    grid-gap: 10px;
    /* 间隔 */
    margin: 1rem;
    box-sizing: border-box;
}

#back-button {
    position: absolute;
    top: 4vh;
    left: 20px;
    z-index: 100;
}