.g1 a {
    width: 25%;
}

.g1 a .item {
    background: #fff;
}

.g1 a h2{
text-align: center;}

.g1 a .item img {
    aspect-ratio: 1/0.85;
}

.g2 a {
    width: 33.33%;
}

.g2 a .item {
    background-color: #fff;
}

.g2 a .item img {
    aspect-ratio: 1/1;
    width: 45%;
}

.g2 a .item .text {
    width: 55%;
}

.g2 a .item .play-btn {
    width: 100%;
    padding: 8px 48px;
    text-align: center;
    border-radius: 100px;
    margin-top: 24px;
    font-weight: 800;
    font-size: 14px;
    line-height: 18px;
}

.g3 a {
    width: 20%;
}

.g3 a img {
    aspect-ratio: 1/1;
}

.g3 a .play-btn {
    width: fit-content;
    color: #fff;
    padding: 12px;
    border-radius: 100px;
    margin: -26px auto 0;
    position: relative;
    z-index: 9;
  font-weight: 800;
  font-size: 14px;
    line-height: 18px;
}

.g4 a {
    width: 20%;
}

.g4 a img {
    aspect-ratio: 1/1;
}

.g4 a h2 {
    bottom: 24px;
    right: 24px;
    left: 24px;
    padding: 8px 12px;
    border-radius: 100px;
    white-space: nowrap;
  text-align: center;
}



.play-game {
    aspect-ratio: 1 / 0.9;
    position: relative;
    border-radius: 24px;
    width: 90%;
    margin: auto;
}

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

    box-shadow: 0px 0px 20px 0 #e4e4e4;
    position: relative;
}

.play-game .top::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    border-radius: 24px 24px 0 0;
    /* background: rgba(0, 0, 0, 0.02); */
}

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

.play-game .top .top__shading .img-border {
    width: 200px;
    height: 200px;
    display: block;
    margin: 0 auto 24px;
    border-radius: 12px;
}


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

.play-game .top .palybtn {
    margin: auto;
    cursor: pointer;
    width: max-content;
    margin-top: 12px;
    padding: 12px 125px;
    text-align: center;

    font-family: Nunito;
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: 20px;
    border-radius: 100px;

    /* 125% */
}

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

.play-game .bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 32px;
    border-radius: 0 0 21px 21px;
    position: relative;
    z-index: 99;
}

.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 .img {
    width: 20%;
}

.dt .cover {
    aspect-ratio: 1/0.85;
    border-radius: 24px;
}

.dt .pc-text {
    width: 80%;
    background-color: #FFF;
    padding: 24px 48px;
}

.dt .pc-text .title {
    font-size: 20px;
    font-style: normal;
    font-weight: 800;
    line-height: 24px;
}

.category {
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: 20px;
    text-transform: capitalize;
}

.dt .pc-text .info img {
    width: 16px;
    height: 16px;
}

.dt .pc-text .info span {
    color: #999;
    font-size: 16px;
    font-style: normal;
    line-height: 20px;
    font-weight: 700;
    display: inline-block;
    padding-left: 8px;
}

.dt .desc {
    max-height: 96px;
    overflow: auto;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    color: #333;
    padding-right: 24px;
}

.dt .play-btn {
    width: 40%;
    margin: auto;
    text-align: center;
    border-radius: 100px;
    padding: 16px 0;
    font-weight: 800;
    font-size: 20px;
    line-height: 24px;
    margin-top: 12px;
}

.dt .go {
    left: 20%;
    top: 50%;
    transform: translate(-24px, -50%);
    border-radius: 100px;
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: 20px;
}

@media (max-width:1024px) {
    .dt .img {
        width: 25%;
    }

    .dt .pc-text {
        width: 75%;
    }

    .dt .go {
        left: 25%;
    }

}

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

    .g2 a {
        width: 50%;
    }

    .g3 a {
        width: 25%;
    }

    .g4 a {
        width: 25%;
    }

    .play-game {
        width: 100%;
        padding: 12px;
    }

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

    .dt .img {
        width: 35%;
    }

    .dt .pc-text {
        width: 65%;
    }

    .dt .go {
        left: 35%;
        transform: translate(-34px, -50%);
    }

    .dt .play-btn {
        width: 60%;
    }


}

.h5-desc {
    display: none;
}

@media (max-width:660px) {
    .dt .pc-text .desc {
        display: none;
    }

    .h5-desc {
        display: block;
        padding: 24px;
    }

    .h5-desc .head {
        font-size: 14px;
        font-style: normal;
        font-weight: 800;
        line-height: 22px;
        padding-bottom: 8px;
    }

}

@media (max-width:550px) {
    .g2 a {
        width: 100%;
    }

    .g3 a {
        width: 33.33%;
    }

    .g4 a {
        width: 33.33%;
    }

    .g1 a .item img {
        aspect-ratio: 1 / 1;
    }

    .g2 a .item img {
        width: 25%;
    }

    .g2 a .item .text {
        width: 75%;
    }

    .g2 a .gap-12 {
        gap: 12px;
    }

    .g2 a .item .play-btn {
        width: fit-content;
        font-size: 12px;
        line-height: 16px;
        margin-top: 12px;
    }

    .g2 a .item {
        padding: 12px;
    }

    .g3 a img {
        border-radius: 16px;
    }

    .g3 a .play-btn {
        padding: 4px 12px;
              font-size: 12px;
        line-height: 16px;
        margin: -20px auto 0;
    }

    .g4 a h2 {
        bottom: 18px;
        right: 12px;
        left: 12px;
        padding: 4px 8px;
        font-size: 12px;
        line-height: 16px;
    }

    .play-game {
        padding: 6px;
    }

    .play-game .top .palybtn {
        width: 80%;
        padding: 8px 0;
    }

    .play-game .top .top__shading .img-border,
    .play-game .top .bg {
        width: 150px;
        height: 150px;
    }

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

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

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

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

    #gameIframe {
        max-width: 100%;
    }

    .h5-desc {
        padding: 12px 6px;
    }

    .dt .pc-text {
        padding: 12px 24px;
    }

    .dt .go {
        left: 35%;
        transform: translate(-21px, -50%);
        font-size: 14px;
        font-weight: 800;
        line-height: 18px;
    }

    .dt .cover {
        border-radius: 16px;
    }

    .dt .pc-text .title {
        font-size: 16px;
        line-height: 20px;
    }

    .category,
    .dt .pc-text .info span {
        font-size: 14px;
        line-height: 18px;
    }

    .dt .desc {
        max-height: 72px;
        font-size: 14px;
        line-height: 18px;
    }

    .dt .play-btn {
        width: auto;
        margin: 6px 6px 0;
        padding: 12px 0;
        font-size: 16px;
        font-style: normal;
        font-weight: 800;
        line-height: 20px;
    }


}