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

a.box1 .item {
    border-radius: 16px;
    background: #FFF;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.25);
    padding: 12px;
}

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

a.box1 .item .text {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-top: 8px;
      justify-content: space-between;
}

a.box1 .item .text .play {
    padding: 1px;
    border-radius: 100px;
    display: flex;
    padding: 3px;

}

a.box1 .item .text .play i {
    border-radius: 100px;
    font-size: 12px;
    line-height: 12px;
    padding: 6px 4px 6px 8px;
}

a.box2 {
    display: block;
    padding: 12px;
    width: 33.33%;
}

a.box2 .item {
    padding: 12px;
    border-radius: 16px 100px 100px 16px;
    background: #FFF;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
}

a.box2 .item .star {
    padding-top: 10px;
}

a.box2 .item .star img {
    width: 18px;
  height: 18px;
    padding-right: 4px;
}

a.box2 .item .text {
    width: 70%;
    padding-right: 12px;
}

a.box2 .item .cover {
    width: 30%;
    aspect-ratio: 1/1;
    border-radius: 100px;
}

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

a.box3 .item {
    border-radius: 16px;
    padding: 12px 12px 48px;
    position: relative;
}

a.box3 .item .cover {
    aspect-ratio: 1/0.66;
}

a.box3 .item .text {
    position: absolute;
    width: calc(100% - 18px);
    left: 6px;
    bottom: 12px;
    right: 12px;
    display: flex;
    align-items: flex-end;
}

a.box3 .item .text img {
    width: 72px;
    height: 72px;
    background: #D9D9D9;
    border-radius: 100px;
}

a.box3 .item .text h2 {
    margin-bottom: 6px;
}

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

.dt-top-game a img {
    aspect-ratio: 1/1;
}

.gameLink {
    display: flex;
    padding: 12px;
    align-items: center;
}

.gameLink .cover {
    width: 30%;
    aspect-ratio: 1/0.75;
}

.gameLink .text {
    width: 70%;
    padding-left: 24px;
}

.gameLink .text .title {
    display: flex;
    align-items: center;
    gap: 24px;
}

.gameLink .text .title h2 {
    color: #333;
    font-size: 20px;
    font-weight: 800;
    line-height: 24px;
}

.gameLink .text .title span {
    color: #999;
    line-height: 24px;
    font-size: 20px;
}

.gameLink .text .title .catename {
    font-size: 20px;
    font-weight: 800;
    line-height: 24px;
    text-transform: capitalize;
    white-space: nowrap;
}

.gameLink .text .star {
    padding: 24px 0;
}

.gameLink .text .star img {
    width: 16px;
    margin-right: 4px;
}

.gameLink .text .star span {
    color: #8E8F90;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
}

.gameLink .text .play {
    border-radius: 20px;
    display: inline-flex;
    padding: 8px 96px;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 800;
}

.dt-top-game .flex {
    padding: 0 6px;
}

.dt .desc {
    margin-top: 24px;
}

.dt .desc .text {
    padding: 6px 12px 0;
    color: #333;
    font-family: Nunito;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    max-height: 96px;
    overflow: auto;
}

.dt .desc .text::-webkit-scrollbar {
    background-color: #D9D9D9;
    width: 6px;
}

.dt-top-game {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}


.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: 8px 125px;
    text-align: center;

    color: #333;
    font-family: Nunito;
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: 20px;
    /* 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:768px) {

    a.box1,
    a.box2,
    a.box3 {
        width: 50%;
    }

    .g3 a.box3 {
        width: 33.33%;
    }

    .dt-top-game a {
        width: 20%;
    }

    .gameLink .cover {
        width: 40%;
    }

    .gameLink .text {
        width: 60%;
    }

    .gameLink .text .star {
        padding: 20px 0;
    }

    .gameLink .text .play {
        padding: 8px 72px;
    }

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

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

@media (max-width:550px) {
    header {
        padding: 6px 12px;
    }

    section {
        padding: 6px 0;
    }

    a.box1,
    a.box2,
    a.box3 {
        padding: 6px;
    }

    a.box1 .item,
    a.box2 .item {
        padding: 8px;
    }

    a.box1 .item .text .play i {
        font-size: 10px;
        line-height: 10px;
        padding: 4px 2px 4px 6px;
    }

    a.box1 .item .text {
        gap: 8px;
    }

    .container {
        padding: 0 6px;
    }

    a.box2 .item .text {
        padding-right: 8px;
    }

    a.box2 .item .star {
        padding-top: 6px;
    }

    a.box2 .item .star img {
        width: 12px;
      height: 12px;
        padding-right: 0px;
        margin-right: 2px;
    }

    a.box3 .item {
        padding: 8px 8px 33px;
    }

    a.box3 .item .text img {
        width: 50px;
        height: 50px;
    }

    a.box3 .item .text {
        left: 4px;
        right: 8px;
        bottom: 8px;
        width: calc(100% - 12px);
    }

    a.box3 .item .text h2 {
        margin-bottom: 2px;
    }

    .g3 a.box3 {
        width: 50%;
    }

    .dt-top-game .flex {
        padding: 2px;
    }

    .dt-top-game a {
        width: 25%;
        padding: 4px;
    }

    .gameLink {
        position: relative;
        padding: 6px;
        padding-bottom: 50px;
    }

    .gameLink .text {
        padding-left: 12px;
    }

    .gameLink .text .title {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .gameLink .text .title span {
        display: none;
    }

    .gameLink .text .title h2 {
        font-size: 16px;
        line-height: 20px;
    }

    .gameLink .text .title .catename,
    .gameLink .text .star span {
        font-size: 14px;
        line-height: 18px;
    }

    .gameLink .text .star img {
        width: 14px;
    }

    .gameLink .text .star {
        padding: 8px 0 0;
    }

   .gameLink .text .play {
        position: absolute;
        width: auto;
        bottom: 6px;
        left: 6px;
        right: 6px;
        padding: 8px 0;
        justify-content: center;
        font-size: 14px;
        line-height: 18px;
    }

    .dt .desc {
        margin-top: 12px;
        margin-bottom: 12px;
    }

    .dt .desc .text {
        font-size: 14px;
        line-height: 20px;
        max-height: 80px;
        padding: 0px 12px 0 6px;
    }

    .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;
    }
  .gameLink .text .play{             width: auto;justify-content: center;   padding: 8px 0;}
  #gameIframe {    max-width: 100%;}
  .search input{    padding: 8px 16px;
        font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
  }
  .search input::placeholder {
     font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
}
  .search_btn a{padding: 7px 24px;}
  
}

@media (max-width:360px) {

    a.box2,
    a.box1,
    a.box3 {
        width: 100%;
    }

}