html,
body {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    color: #333;
    position: relative;
    z-index: 99;
}

@font-face {
    font-family: 'Nunito';
    src: url('../fonts/Nunito-VariableFont_wght.ttf') format('truetype');
    font-style: normal;
}

.container {
    max-width: 1000px;
    margin: auto;
    padding: 0 0;
    width: 100%;
}

*,
::after,
::before {
    box-sizing: border-box;
}

.t_1l {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.t_12 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.t_13 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.t_14 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

a {
    text-decoration: none;
}

h1,
h2,
h3,
h4,
p {
    margin: 0%;
    padding: 0;
}

h2 {
    overflow: hidden;
    color: #333;
    text-overflow: ellipsis;
    font-family: Nunito;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    /* 125% */
}

p {
    color: #333;
    font-family: Nunito;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px;
    /* 157.143% */
}

.g1 .topgame a::after {
  display: none !important;
}

.navbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
    max-width: 1200px;
    margin: auto;
}

.logo a {
    font-family: 'Nunito';
    font-size: 32px;
    font-weight: 800;
    line-height: 40px;
    padding: 15px 20px;
    display: block;
    color: #E60012;
}

.nav-links {
    width: auto;
    display: flex;
    margin: 10px 0;
    padding: 0;
    list-style-type: none;
}


.nav-links li {
    position: relative;
}

.nav-links li a {
    text-transform: capitalize;
    color: #333;
    font-family: 'Nunito';
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    white-space: nowrap;
    padding: 15px 24px 15px 16px;
    display: block;
}

.nav-links li a:hover {
    color: #E60012;
}


.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 15px;
}

.line1,
.line2,
.line3 {
    width: 22px;
    height: 2px;
    margin: 2px;
    background: #f87e10;
}

.burger,
.h5-searbtn,
.h5-close,
.h5-home {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.h5-text {
    display: none;
}

.burger a, .h5-home a, .h5-searbtn a{display: contents;}

@media screen and (max-width: 768px) {

    .navbar {
        padding: 8px 0px;
    }

    .nav-links {
        display: none;
        background-color: #fff;
        padding: 10px;
        position: absolute;
        top: 0px;
        left: 0;
        width: 100%;
        box-sizing: border-box;
        z-index: 9999;
        padding-top: 60px;
        height: 100vh;
        flex-wrap: wrap;
          margin: 0px 0;
    }


    .nav-links.nav-active {
        display: flex;
        gap: 16px;
        position: fixed;
        flex-wrap: wrap;
        padding-bottom: calc(100vh - 340px);
    }

  .nav-links li a:hover {
    color: #fff;
    background-color: #E60012;
}
    .nav-links li {
        width: calc(50% - 8px);
    }

    .nav-links li a {
        display: block;
        color: #333;
        padding: 8px 0px;
        border-radius: 100px;
        border: 1px solid #E60012;
        text-align: center;
        font-size: 14px;
        line-height: 18px;
    }


    .pc-searbtn {
        display: none;
    }

    .burger {
        display: flex;
        padding: 8px 20px;
        border-radius: 8px;
        background: #F8F8F8;
        margin-left: 24px;
    }

    .h5-home {
        display: flex;
        padding: 8px 20px;
        border-radius: 8px;
        background: #F8F8F8;
        margin-left: auto;
    }

    .h5-close {
        display: block;
        width: auto !important;
        margin-left: 0 !important;
        text-align: center;
        padding: 20px;
        position: absolute !important;
        top: -10px;
        right: 10px;

    }

    .h5-close i {
        font-size: 20px;
        color: #999;
    }

    .h5-searbtn {
        display: flex;
        padding: 8px 20px;
        border-radius: 8px;
        margin-left: 24px;
        background: #F8F8F8;
    }

    .burger i,
    .h5-searbtn i,
    .h5-home i {
        color: #333;
        font-size: 20px;
    }

    .toggle i {
        color: #999999;
    }

    .toggle {
        position: fixed;
        z-index: 9999;
        right: 20px;
        font-size: 24px;
        top: 0px;
        padding: 20px;
    }

    .logo a {
        padding: 2px 20px;
    }

    .h5-text {
        display: block;
        width: 100% !important;
    }

}



.back-to-top {
    border: none;
    position: fixed;
    bottom: 160px;
    right: 65px;
    z-index: 99;
    cursor: pointer;
    display: none;
    border-radius: 50%;
    background-color: transparent;
}

.back-to-top i {
    color: #E60012;
    font-size: 30px;
}


#copy-message {
    position: fixed;
    z-index: 999;
    bottom: 30%;
    width: 60px;
    height: 28px;
    left: 50%;
    transform: translate(-50%, 0);
    background: #fff;
    border: 1px solid #d9d9d9;
    color: #333;
    font-size: 12px;
    text-align: center;
    line-height: 28px;
    border-radius: 20px;
}


section {
    padding: 20px 0;
}

.cover {
    display: block;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    background: #D9D9D9;
}

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

.heading {
    width: max-content;
    color: #333;
    text-align: center;
    font-family: Nunito;
    font-size: 20px;
    font-style: normal;
    font-weight: 800;
    line-height: 24px;
    margin: 0 auto 12px;
}

.g1 .topgame {
    margin-bottom: 12px;
}

.g1 .topgame a {
    display: block;
    padding: 12px;
    width: 25%;
    position: relative;
    overflow: hidden;
}

.g1 .topgame .cover {
    aspect-ratio: 1/1;
    border-radius: 0;
    z-index: 9;
    position: relative;
  height: 99%;
}

.g1 .topgame a::after {
    position: absolute;
    content: '';
    background: url(../images/bg.svg);
    background-repeat: repeat;
    width: 100%;
    height: 14px;
    left: 12px;
    bottom: 12px;
    z-index: 99;
}

.g1 .text {
    padding: 0 12px;
}

.g1 .text .heading {
    margin: 0 0 8px;
}

.g1 .text .info {
    width: 55%;
}

.g1 .text .list {
    width: 45%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 24px;
}

.g1 .text .list a {
    border-radius: 100px;
    background: #E60012;
    color: #FFF;
    font-family: Nunito;
    font-size: 14px;
    font-style: normal;
    font-weight: 800;
    line-height: 18px;
    padding: 8px 24px;
    /* 128.571% */
}

.g2 {
    background: linear-gradient(180deg, #E60012 0%, #C00 100%);
}

.g2 a {
    display: flex;
    flex-direction: column;
    padding: 12px;
    width: 20%;
    gap: 8px;
}

.g2 .heading {
    color: #fff;
}

.g2 a:nth-child(1),
.g2 a:nth-child(2),
.g2 a:nth-child(3),
.g2 a:nth-child(4) {
    width: 25%;
}

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

.g2 a:nth-child(1) img,
.g2 a:nth-child(2) img,
.g2 a:nth-child(3) img,
.g2 a:nth-child(4) img {
    aspect-ratio: 1/0.75;
}

.g2 a h2 {
    color: #fff;
}

.g2 a .playbtn {
    border-radius: 4px;
    background: #FFF;
    padding: 4px 24px;
    color: #3946A0;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 18px;
    width: max-content;
}

.g3 a {
   
    padding: 72px 12px 30px;
    width: 25%;
    gap: 8px;
}

.g3 a .item {
   display: flex;
    flex-direction: column;
   gap: 8px;
    border-radius: 8px;
    border: 1px solid #DADADA;
    background: #FFF;
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.10);
    padding: 72px 24px 28px;
    position: relative;
    text-align: center;
}

.g3 a .cover {
    width: 120px;
    height: 120px;
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
}

.g3 a .playbtn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -19px;
    padding: 8px 24px;
    width: max-content;
    text-align: center;
    color: #fff;
    border-radius: 4px;
    background: #3946A0;
    box-shadow: 0 2px 4px 0 rgba(57, 70, 160, 0.50);
}

.g4 a {
    display: flex;
    flex-direction: column;
    padding: 12px;
    width: 20%;
    gap: 12px;
}

.g4 a img {
    aspect-ratio: 1/1;
    border-radius: 100%;
}

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

.g5 a .item {
    border-radius: 8px;
    border: 1px solid #DADADA;
}

.g5 a .item .star {
    text-align: center;
    background: #E60012;
    border-radius: 8px 8px 0 0;
    padding: 4px 0;
    ;
}

.star img {
    vertical-align: text-top;
}

.g5 a .item .star span {
    color: #fff;
}

.g5 a .item .cover {
    aspect-ratio: 1/1;
    border-radius: 0;
}

.g5 a .item h2 {
    margin: 12px;
}


footer {
    background: #242424;
    padding: 20px 0;
}

footer .share {
    width: 50%;
    display: flex;
    justify-content: center;
}

footer .share a {
    padding: 3px;
    margin: 0 12px;
    display: flex;
    border-radius: 80px;
    border: 0.8px solid #FFF;
}

footer .share i {
    color: #FFFFFF;
    font-size: 25px;
}

footer .pt {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer .pt a {
    padding: 0 24px;
    color: #FFF;
    font-family: Nunito;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    position: relative;
    text-decoration: underline;
    /* 125% */
}

footer .pb {
    width: 100%;
    color: #FFF;
    text-align: center;
    font-family: Nunito;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    padding-top: 24px;
    /* 125% */
}

.search {
    position: relative !important;
    top: auto;
    margin: 0 auto;
    padding: 0 12px 24px;
}

.sear-input {
    width: 100%;
    border-bottom: 2px solid #CCCED7;
    position: relative;
}

.sear-input i {
    color: #E60012;
    font-weight: 600;
    position: absolute;
    top: 14px;
}

.search input {
    border: none;
    height: auto;
    background: #FFF;
    border-radius: 8px;
    padding: 12px 0 12px 30px;
    outline: none;
    width: 100%;
    color: #333;
    font-family: Nunito;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

.search input::placeholder {
    color: #333;
    font-family: Nunito;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    /* 120% */
}

.search_btn {
    border-radius: 8px;
    position: absolute;
    right: 0px;
    top: 10px;
}

.search_btn a {
    display: block;
    padding: 0px 12px;
}

.search_btn i {
    font-size: 24px;
    color: #E60012;
    line-height: 30px;
    text-align: center;
    display: inline-block;
    margin: auto;
    width: -webkit-fill-available;
}

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

.sear .flex a {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    width: 20%;
}

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

.sear .flex a .playbtn {
    border-radius: 4px;
    color: #FFF;
    font-family: Nunito;
    font-size: 14px;
    font-style: normal;
    font-weight: 800;
    line-height: 18px;
    /* 128.571% */
    background: #3946A0;
    padding: 4px 24px;
    width: max-content;
}

.sear{ min-height: calc(100vh - 373px);}

.star span{color: #8E8F90;}
@media (max-width:768px) {
    footer .share {
        width: 100%;
    }

    footer .pt {
        width: 100%;
        order: -1;
        padding-bottom: 10px;
    }

    footer .pb {
        padding-top: 10px;
    }

    footer .pt a,
    footer .pb {
        font-size: 14px;
    }

    footer .share a {
        padding: 0px;
        margin: 0 10px;
    }

    .g1 .text {
        display: none;
    }

    .g2 a {
        width: 25%;
    }

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

    .g2 a:nth-child(1),
    .g2 a:nth-child(2),
    .g2 a:nth-child(3) {
        width: 33.33%;
    }

    .g3 a {
        width: 33.33%;
    }
    .g4 a {
        width: 25%;
    }

    .g5 a {
        width: 25%;
    }

    .h5-searbtn {
        margin-right: 12px;
    }

    .g1 .topgame {
        margin-bottom: 0;
    }

    .sear .flex a {
        width: 25%;
    }
}


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

.sear{ min-height: calc(100ch - 300px);}
    .burger i,
    .h5-home i,
    .h5-searbtn i {
        color: #333;
        font-size: 18px;
    }

    .burger,
  .h5-home,
    .h5-searbtn {
        padding: 6px 14px;
    }

    .navbar {
        padding: 4px 0px;
    }

    .logo a {
        width: 100%;
        display: block;
        font-size: 24px;
        line-height: 30px;
    }

    .logo {
        width: calc(100% - 220px);
    }

    section {
        padding: 10px 0;
    }

    .g1 .topgame a {
        display: block;
        padding: 4px;
    }

    .g1 .topgame a::after {
        position: absolute;
        content: '';
        background: url(../images/h5bg.svg);
        background-repeat: repeat;
        width: 100%;
        height: 7px;
        left: 4px;
        bottom: 3px;
        z-index: 99;
    }

    .container {
        padding: 0 4px;
    }

    .heading {
        font-size: 16px;
        line-height: 20px;
        margin: 0 auto 6px;
    }

    .g2 a:nth-child(4),
    .g2 a {
        padding: 4px;
        gap: 4px;
        width: 33.33%;
    }

    h2 {
        font-size: 14px;
        line-height: 18px;
    }

   

    .g2 a .playbtn {
        padding: 4px 16px;
        border-radius: 2.917px;
        font-size: 12px;
        line-height: 16px;
    }

    .cover {
        border-radius: 4px;
    }

    .g3 a {
        width: 50%;
        padding: 36px 4px 20px;
        gap: 4px;
    }

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

    .g3 a .playbtn {
        bottom: -12px;
        padding: 4px 32px;
        font-size: 12px;
        line-height: 16px;
    }

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

    .g4 a {
        padding: 4px;
        gap: 4px;
    }

   

    .g5 a {
        width: 33.33%;
        padding: 4px;
    }

    .g5 a .item h2 {
        margin: 4px;
    }

    .h5-searbtn {
        margin-left: 12px;
    }

    .cate .topgame a {
        width: 50%;
    }

    .star {
        font-size: 12px;
        line-height: 16px;
    }

    .burger {
        margin-left: 12px;
    }

    .sear .flex a {
        width: 33.33%;
        padding: 4px;
        gap: 4px;
    }

    .sear .flex a .playbtn {
        padding: 4px 16px;
        line-height: 16px;
        font-size: 12px;
    }

   

    .search input {
        padding: 6px 0 6px 30px;
        font-size: 16px;
        line-height: 20px;
    }

    .search input::placeholder {
        font-size: 16px;
        line-height: 20px;
    }

    .sear-input i {
        top: 6px;
    }

    .search_btn {
        top: 0px;
    }

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

}