.g1 a {
    display: block;
    padding: 12px;
    width: 25%;
}

.g1 a .item {
    border-radius: 16px;
    border: 2px solid #333;
    position: relative;
}

.g1 a img {
    aspect-ratio: 1/0.75;
    border-radius: 16px;
}

.g1 a .title {
    position: absolute;
    width: auto;
    bottom: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 6px 12px;
    border-radius: 100px;
    border: 1px solid #333;
  justify-content: space-between;
}

.g1 a .title h2 {
    color: #fff;
}

.g1 a .title p {
    border-radius: 100px;
    border: 1px solid #333;
    background: #FFF;
    width: fit-content;
    padding: 6px 10px;
}

.g1 a .title p i {
    display: block;
}


.g2 a {
    display: block;
    padding: 12px;
    width: 20%;
}

.g2 a .item {
    position: relative;
    display: block;
}

.g2 a .item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(217, 217, 217, 0.00) 50%, rgba(0, 0, 0, 0.60) 100%);
    pointer-events: none;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.g2 a:nth-child(2n+1) .item img {
    aspect-ratio: 1/1;
}

.g2 a .item h2 {
    position: absolute;
    color: #FFF;
    z-index: 99;
    bottom: 12px;
    right: 12px;
    left: 12px;
    opacity: 0;
    transition: opacity 0.3s;
}

.g2 a:hover .item::after,
.g2 a:hover .item h2 {
    opacity: 1;
}

.g2 a:nth-child(7),
.g2 a:nth-child(9) {
    margin-top: -4.5%;
}

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

.g3 a .item {
    border-radius: 50%;
    border: 2px solid #333;
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.g3 a img {
    aspect-ratio: 1/1;
    border-radius: 50%;
}

.g3 a .title {
    position: absolute;
    bottom: 0;
    padding: 12px;

    width: 100%;
}

.g3 a .title h2 {
    color: #fff;
    width: 55%;
    margin: auto;
    text-align: center;
}

.dt-top a {
    display: block;
    padding: 12px;
    width: 12.5%;
}

.dt-top a img {
    border-radius: 50%;
    aspect-ratio: 1/1;
}

.dt .grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
}

.dt .grid .min-box,
.dt .grid .max-box1,
.dt .grid .max-box2 {
    display: block;
    padding: 12px;
}

.dt .grid .max-box1 {
    grid-column: 1/3;
    grid-row: 1/3;
}

.dt .grid .max-box2 {
    grid-column: 7/9;
    grid-row: 1/3;
}

.dt .grid .min-box img,
.dt .grid .max-box1 img,
.dt .grid .max-box2 img {
    aspect-ratio: 1/1;
    border: 1px solid #333;
}

.dt-main {
    padding: 12px;
    grid-column: 3/7;
    grid-row: 1/5;

}

.dt-main .gameLink {
    display: block;
    height: 100%;
    border-radius: 16px;
    border: 2px solid #333;
}

.dt-main .bg-cover {
    position: relative;
}

.dt-main .bg-cover img {
    position: relative;
    display: block;
    aspect-ratio: 1/0.65;
    border-radius: 16px 16px 0 0;
}

.dt-main .bg-cover::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.40);
    border-radius: 16px 16px 0 0;
}

.dt-main .bg-cover .play {
    position: absolute;
    width: 60%;
    top: 50%;
    left: 50%;
    transform: translate(-50%);
    z-index: 999;
    border-radius: 100px;
}

.dt-main .bg-cover .play p {
    text-align: center;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}

.dt-main .text {
    padding: 24px;
    display: flex;
    align-items: center;
}

.dt-main .text .cover {
    width: 30%;
    aspect-ratio: 1/1;
}

.dt-main .text .right {
    width: 70%;
    padding-left: 24px;
}

.dt-main .text .right .catename {
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    text-transform: capitalize;
}

.dt-main .text .right h2 {
    padding: 12px 0;
    font-size: 20px;
    line-height: 24px;
}

.dt-main .text .right .star img {
    width: 16px;
    height: 16px;
}

.dt-main .text .right .star span {
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    padding-left: 24px;
}

.dt .desc {
    margin: 12px;
    width: auto;
    padding: 24px 48px;

    border-radius: 16px;
    border: 2px solid #333;
}

.dt .desc .text {
    color: #333;
    font-feature-settings: 'liga' off;
    font-family: Nunito;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    max-height: 96px;
    overflow: auto;
    padding-right: 24px;
}

.dt .desc .text::-webkit-scrollbar {
    background-color: #e9ecef;
    width: 6px;
    border-radius: 5px;
}

.dt .desc .text::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: #333;
}



.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;

    color: #333;
    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;
}


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

    .g3 a {
        width: 25%;
    }
}

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

    .g2 a:nth-child(5),
    .g2 a:nth-child(10) {
        margin-top: -7.5%;
    }

    .g2 a:nth-child(7),
    .g2 a:nth-child(9) {
        margin-top: 0
    }

    .g2 a:nth-child(8) {
        margin-right: 1px;
    }

    .g2 a:nth-child(9) img {
        aspect-ratio: 1/0.75 !important;
    }

    .g2 a:nth-child(10) img {
        aspect-ratio: 1/1
    }

    .g3 a {
        width: 33.33%;
    }

    .dt-top a {
        width: 25%;
    }

    .dt .grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .dt-main {
        grid-column: 1 / 5;
        grid-row: 1 / 4;
    }

    .dt .grid .max-box1 {
        grid-column: 1 / 3;
        grid-row: 4/6;
    }

    .dt .grid .max-box2 {
        grid-column: 3 / 5;
        grid-row: 4/6;
    }

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

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

@media (max-width:550px) {
    section {
        padding: 6px 0;
    }

    .g1 a,
    .g2 a,
    .g3 a,
    .dt-top a,
    .dt-main,
    .dt .grid .min-box,
    .dt .grid .max-box1,
    .dt .grid .max-box2,
    .play-game {
        padding: 6px;
    }

    .g3 a {
        width: 50%;
    }

    .container {
        padding: 0 6px;
    }

    .g1 a .title p i {
        font-size: 12px;
    }

    .g1 a .title {
        padding: 4px 12px;
    }

    .g1 a .title h2 {
        -webkit-line-clamp: 2;
    }

    .g1 a .item {
        border: 1px solid #333;
    }

    .g3 a .title {
        padding: 8px 12px 12px;
    }

    .dt .grid {
        display: flex;
        flex-wrap: wrap;
    }

    .dt-main {
        width: 100%;
    }

    .dt .grid .max-box1,
    .dt .grid .max-box2 {
        width: 50%;
    }

    .dt .grid .min-box {
        width: 33.33%;
    }

    .dt-main .bg-cover .play {
        width: 70%;
    }

    .dt-main .bg-cover .play p {
        font-size: 14px;
        line-height: 18px;
    }

    .dt-main .text {
        padding: 12px;
    }

    .dt-main .text .right .catename,
    .dt-main .text .right .star span {
        font-size: 14px;
        line-height: 18px;
    }

    .dt-main .text .right h2 {
        font-size: 16px;
        line-height: 20px;
    }

    .dt-main .text .right {
        padding-left: 12px;
        width: 65%;
    }

    .dt-main .text .cover {
        width: 35%;
    }
    .dt .desc{
        margin: 6px;
    }
    .dt .desc {
        padding: 12px;
    }
    .dt .desc .text{
        font-size: 14px;
        line-height: 18px;
        font-weight: 600;
        max-height: 90px;
        padding-right: 12px;
    }

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

    .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;
    }
  #gameIframe{max-width: 100%;}

}

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

    .g2 a:nth-child(2n+1) .item img {
        aspect-ratio: 1/0.75;
    }

    .g2 a:nth-child(3n+1) .item img {
        aspect-ratio: 1/1;
    }

    .g2 a:nth-child(4),
    .g2 a:nth-child(10) {
        margin-top: -11.5%;
    }

    .g2 a:nth-child(5) {
        margin-top: 0;
    }

    .g2 a:nth-child(8) {
        margin-right: 0;
    }
    .dt-main .text .right .catename, .dt-main .text .right .star span {
        font-size: 12px;
        line-height: 18px;
    }
    .dt-main .text .right h2 {
        font-size: 14px;
        line-height: 18px;
        padding: 6px 0;
    }






}