.g1 {
    margin-bottom: 0;
}

.g1 .container {
    padding: 0 6px;
}
.g1 .topgame {
    margin-bottom: 0;
}
.g1 .topgame a {
    width: 12.5%;
    padding: 6px;
}

.g1 .topgame a::after {
    left: 0px;
    bottom: 6px;
}

.g3 .heading {
    margin: 0 12px 12px;
}

.g3 a {
    width: 20%;
    padding: 58px 12px 12px;
}

.g3 a .item {
    padding: 56px 12px 12px;
}

.g3 a .cover {
    width: 92px;
    height: 92px;
    top: -48px;
}

.g3 a .playbtn {
    position: relative;
    bottom: auto;
    margin-top: 10px;
}

.dt .text .heading {
    margin: 0 0 4px;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

.dt .text .desc {
    max-height: 88px;
    overflow: auto;
    padding-right: 12px;
}

.dt .top {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}


.dt .top .flex {
    width: 100%;
    align-items: center;
    padding-bottom: 16px;
}

.dt .catename {
    position: absolute;
    right: 12px;
    max-width: 200px;
    text-align: end;
    border-radius: 100px;
    background: #3946A0;
    color: #FFF;
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    padding: 8px 24px;
}

.dt .catename i {
    font-size: 12px;
    padding-left: 8px;
}

.dt .top .flex .cover {
    width: 152px;
    height: 152px;
}

.dt .top .flex .text {
    padding-left: 24px;
    width: calc(100% - 352px);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.dt .top .flex .text h2 {
    font-weight: 800;
}

.dt .top .flex .text .star {
    color: #8E8F90;
}

.dt .top .flex .text .playbtn {
    border-radius: 20px;
    background: #E60012;
    width: max-content;
    padding: 8px 96px;
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: 20px;
    display: flex;
    gap: 12px;
}


.play-game {
    width: 100%;
    aspect-ratio: 1/0.8;
    position: relative;
    border-radius: 24px;
    margin-top: 20px;
    margin-bottom: 00px;
    box-shadow: 0 0px 5px 0 rgba(0, 0, 0, 0.15);
    background: url(../images/gamebg.png) #FFF 50% / cover no-repeat;
}

.play-game .top {
    height: calc(100% - 60px);
    border-radius: 24px 24px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}


.play-game .top .top__shading {
    width: auto;
    border-radius: 24px 24px 0 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
}

#gameIframe {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 50%;
    top: 0px;
    z-index: 9;
}

.playmain .dt-deta {
    padding: 28px 12px 0;
    position: relative;
}


.play-game .top .bg {
    width: 164px;
    height: 164px;
    border-radius: 12px;
    background: #D9D9D9;
    margin: 0 auto 20px;
}

.play-game .top button {
    cursor: pointer;
    width: max-content;
    padding: 12px 96px;
    display: flex;
    gap: 12px;
    color: #FFF;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    border-radius: 100px;
    background: #E60012;
    border: none;
    /* 120% */
}

.play-game .bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 32px;
    background: #3946A0;
    border-radius: 0 0 21px 21px;
}

.play-game .bottom p {
    font-size: 20px;
    font-style: normal;
    font-weight: 800;
    line-height: 24px;
    color: #FFF;
}

.play-game .bottom .botton-full {
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.play-game .bottom .botton-full i {
    color: #fff;
    font-size: 24px;
}

.dt-deta,
.dt-game {
    width: 100%;
}

.playmain .catename {
    top: 0;
}

@media (max-width:768px) {
    .g1 .topgame a {
        width: 16.666%;
    }

    section {
        padding: 12px 0;
    }

    .dt {
        padding: 0 12px 12px;
    }

    .dt .top .flex .text {
        width: calc(100% - 152px);
    }

    .dt .catename {
        position: relative;
        order: -1;
        right: auto;
        margin-left: auto;
        max-width: none;
        margin-bottom: 12px;
    }

    .g3 a {
        width: 33.33%;
        padding: 58px 12px 28px;
    }

    .g3 a .cover {
        width: 120px;
        height: 120px;
        top: -48px;
    }

    .g3 a .item {
        padding: 84px 12px 32px;
    }

    .g3 a .playbtn {
        position: absolute;
        bottom: -19px;
    }

    .g3 .heading {
        margin: 0 12px 12px;
    }

    .playmain .dt-deta {
        padding: 28px 0px 0;
    }

    .dt-deta .catename {
        position: absolute;
        right: 0;
    }

    .play-game {
        aspect-ratio: 1/1;
    }

    #gameIframe {
        max-width: 70%;
    }

    .play-game .top .bg {
        width: 152px;
        height: 152px;
    }

}

@media (max-width:550px) {

    .g1 .topgame a {
        width: 25%;
        padding: 4px;
    }

    .g1 .topgame a::after {
        bottom: 4px;
    }

    .g1 {
        padding: 0px 0 6px;
    }

    .dt .catename {
        margin-left: 0;
        font-size: 12px;
        line-height: 16px;
    }

    .dt {
        padding: 0 6px 12px;
    }

    .dt .catename i {
        font-size: 10px;
    }

    .dt .top .flex .cover {
        width: 106px;
        height: 106px;
    }

    .dt .top .flex .text {
        width: calc(100% - 106px);
        padding-left: 12px;
        gap: 12px;
    }

    .dt .top .flex .text .playbtn {
        position: absolute;
        bottom: 16px;
        font-size: 14px;
        line-height: 18px;
        left: 0;
        width: 100%;
        justify-content: center;
        padding: 8px 0;
    }

    .dt .top .flex {
        padding-bottom: 60px;
        padding-top: 44px;
    }

    .dt .catename {
        position: absolute;
    }

    .g3 a {
        width: 50%;
    }

    .g3 .heading {
        margin: 0 4px 6px;
    }

    .g3 a .cover {
        width: 88px;
        height: 88px;
        top: -32px;
    }

    .g3 a .item {
        padding: 64px 8px 20px;
    }

    .g3 a .playbtn {
        position: absolute;
        bottom: -12px;
        margin-top: 0;
    }

    .g3 a {
        padding: 32px 6px 28px;
    }

    .play-game .top .bg {
        width: 122px;
        height: 122px;
    }

    .play-game {
        aspect-ratio: 1 / 1.4;
    }

    .playmain .dt-deta {
        padding: 20px 0px 0;
    }

    .dt-deta .catename {
        right: auto;
        left: 0;
    }

    #gameIframe {
        max-width: 100%;
    }

    .play-game .top button {
        padding: 8px 64px;
        font-size: 14px;
        line-height: 18px;
    }

    .play-game .bottom {
        padding: 0 12px;
    }

    .play-game .bottom p {
        font-size: 16px;
        line-height: 20px;
    }

    .play-game .bottom .botton-full i {
        font-size: 20px;
    }





}