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

@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: #fff;
    text-overflow: ellipsis;
    font-family: Nunito;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    /* 125% */
}

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

header {
    background: #4D171C;
    box-shadow: 0 4px 8px 0 rgba(127, 22, 27, 0.50);
}

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

.logo {
    width: 100%;
}

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

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


.nav-links li {
    position: relative;
}

.nav-links li a {
    text-transform: capitalize;
    color: #FFE6E8;
    font-family: 'Nunito';
    font-size: 16px;
    font-style: normal;
    line-height: 24px;
    white-space: nowrap;
    padding: 12px 24px 12px;
    display: block;
}
.nav-links li.active a{
color: #FDFFC7;}
.nav-links li:hover a{
color: #FDFFC7;}
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 15px;
    z-index: 99999;
}

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

.h5-searbtn {
    display: none;
    margin-right: 20px;
    padding: 12px;
}

.h5-searbtn i {
    color: #FFF0A0;
}

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

.h5-searbtn i,
.h5-home i,
.burger i {
    font-size: 18px;
}

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

.h5-text {
    display: none;
}

.head-active {
    position: fixed;
    width: 100%;
    z-index: 99999;
    background-color: #622127;
}

@media screen and (max-width: 992px) {
    .logo {
        width: calc(100% - 300px);
    }

    .navbar {
        padding: 8px 0px;
        display: flex;
    }

    .nav-links {
        display: none;
        padding: 48px;
        position: absolute;
        top: 0px;
        left: 0;
        width: 100%;
        box-sizing: border-box;
        z-index: 9999;
        padding-top: 68px;
        /* height: 100vh; */
        flex-wrap: wrap;
        margin: 0;
        border-radius: 0;
        background-color: #622127;

    }


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

    .nav-links li {
        width: 100%;
        background: transparent;
    }

    .nav-links li a {
        width: 100%;
        display: block;
        color: #FFE6E8;
        text-align: left;
        font-size: 14px;
        line-height: 18px;
        font-weight: 500;
        padding: 8px 16px;
    }

    .nav-links li.hr {
        border-top: 1px solid #CCA3A6;
    }

    .nav-links li a i {
        padding-right: 16px;
    }

    .nav-links li:hover a,
    .nav-links li:hover a i,
    .nav-links li.active a,
    .nav-links li.active a i {
        color: #FDFFC7;
    }

    .pc-searbtn {
        display: none;
    }

    .burger {
        display: flex;
        margin-left: 24px;
    }

    .h5-home {
        display: flex;
        margin-left: auto;
    }

    .h5-searbtn {
        display: flex;
        margin-left: 24px;
    }

    .burger,
    .h5-searbtn,
    .h5-home {
        padding: 8px 16px;
        border-radius: 12px;
        background: linear-gradient(0deg, #E57C2E 0%, #E54545 51.8%);
        box-shadow: 1px -1px 5px 0 rgba(255, 255, 255, 0.20) inset, -1px -1px 5px 0 rgba(255, 255, 255, 0.20) inset, -2px -2px 5px 0 rgba(255, 255, 255, 0.20) inset, 2px -2px 5px 0 rgba(255, 255, 255, 0.20) inset;
    }

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

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

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

    .burger.toggle {
        background: transparent;
        box-shadow: none;
        position: absolute;
        right: 24px;
    }

    .burger.toggle i {
        color: #FFFFFF;
    }
}


@media (max-width:550px) {
    .nav-links.nav-active {
        padding-right: 16px;
        padding-left: 16px;
    }

    .burger {
        margin-left: 16px;
    }

    .burger.toggle {
        top: 24px;
    }

    .h5-searbtn {
        margin-left: 16px;
        margin-right: 16px;
    }

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

    .logo a {
        line-height: 24px;
        font-size: 22px;
    }

    .navbar {
        padding: 4px 0px;
        display: flex;
    }
}

.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 {
    font-size: 30px;
    color: #FB872E;
}


#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: #000;
    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: 12px;
    background: #D9D9D9;
}

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

.heading {
    color: #FFF;
    font-family: Nunito;
    font-size: 20px;
    font-style: normal;
    font-weight: 800;
    line-height: 24px;
    /* 120% */
    padding-bottom: 12px;
    padding-left: 12px;
}

.heading a {
    padding-left: 24px;
    color: #CCA3A6;
    font-family: Nunito;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 18px;
    /* 128.571% */
}

main {
    max-width: 1300px;
    margin: auto;
    padding: 24px 0;
    width: 100%;
}

.nav-list {
    width: 200px;
    list-style: none;
    display: flex;
    flex-direction: column;
    padding: 24px 12px;
}

.nav-list a {
    color: #FFE6E8;
    font-family: Nunito;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    padding: 12px 16px;
    width: 100%;
  text-transform: capitalize;
}

.nav-list .hr {
    border-top: 1px solid #CCA3A6;
    margin: 12px 0;
}

.nav-list a i {
    padding-right: 16px;
    font-size: 20px;
}
.nav-list a.active,
 .nav-list a:hover{
    color: #FDFFC7;
}

.game-main {
    width: calc(100% - 200px);
}

.g1,
.g2 {
    padding-bottom: 18px;
}

.g1 .flex,
.g3 .flex {
    padding: 0 6px;
    /* align-items: center; */
}

.g2 .flex {
    padding: 0 6px;
}

.g1 a {
    padding: 6px;
    display: flex;
    flex-direction: column;
}

.g1 .box-1 {
    width: 50%;
    flex-direction: initial;
}

.g1 .box-1 .item {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 24px;
    padding: 0 24px;
    border-radius: 12px;
    background: linear-gradient(83deg, #D76C5B 0.15%, #CC403D 99.85%);
}

.g1 .box-1 .item .cover {
    width: 30%;
    aspect-ratio: 1/1;
}

.g1 .box-1 .text {
    width: 70%;
    display: flex;
    flex-direction: column;
}

.g1 .box-1 .text .popular {
    border-radius: 19.5px;
    background: #FDFFC7;
    width: max-content;
    color: #333;
    padding: 8px 24px;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    margin-bottom: 12px;
}

.g1 .box-1 .text h2 {
    color: #FFF9E6;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 24px;
}

.g1 .box-1 .text .popular i {
    padding-right: 8px;
}

.g1 .box-1 .text .zan {
    display: flex;
    gap: 24px;
    align-items: center;
    position: relative;
}

.g1 .box-1 .text .zan .imgs {
    width: 90px;
}

.g1 .box-1 .text .zan img {
    width: 42px;
    display: inline-block;
    border-radius: 50%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border: 2px solid transparent;
}

.g1 .box-1 .text .zan img:nth-child(3),
.g1 .box-1 .text .zan img:nth-child(2) {
    border-radius: 100px;
    border: 2px solid #BE3A47;
    background: #030303;
}

.g1 .box-1 .text .zan img:nth-child(2) {
    position: absolute;
    left: 25px;
}

.g1 .box-1 .text .zan img:nth-child(3) {
    position: absolute;
    left: 50px;
}

.g1 .box-1 .text .zan .zanplayers {
    border-radius: 19.5px;
    background: #FEFEFF;
    padding: 8px 24px;
    color: #333;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
}

.g1 .box-1 .text .zan .zanplayers i {
    padding-right: 8px;
}

.g1 .right {
    width: 50%;
    display: flex;
    flex-wrap: wrap;
}

.g1 .right a {
    width: 50%;
}

.g1 .right a .item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: #4D171C;
    box-shadow: 0 1.75px 3px 0 rgba(255, 0, 0, 0.70);
}

.g1 .right a .item img {
    width: 86px;
    height: 86px;
    flex: 0 0 86px;
}

.g1 .right a .item i {
    color: #FFFFFF;
}

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

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

.g2 a .star {
    color: #CCA3A6;
    font-size: 14px;
}

.g2 a .star i {
    font-size: 16px;
    padding-right: 8px;
}

footer {
    width: calc(100% - 212px);
    margin-right: 12px;
    margin-left: auto;
    border-radius: 12px;
    border: 4px solid #683338;
    background: #4D171C;
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 30px;
}

footer .text p {
    font-size: 16px;
    line-height: 24px;
    /* 150% */
}

footer .text .head {
    font-size: 16px;
    font-weight: 800;
    line-height: 24px;
    padding-bottom: 12px;
}

footer .share {
    display: flex;
    gap: 24px;
}

footer .share a {
    border-radius: 12px;
    background: #622127;
    padding: 2px 4px;
}

footer .share i {
    font-size: 35px;
    line-height: 35px;
    color: #CCA3A6;
}

footer .pt {
    display: flex;
    flex-direction: row;
    gap: 64px;
}

footer .pt a {
    color: #FFF;
    font-size: 14px;
    line-height: 18px;
    font-weight: 700;
    text-decoration: underline;
}

footer .pb {
    color: #FFF;
    font-size: 14px;
    line-height: 18px;
    font-weight: 700;
}

.g1 .right a .item h2{
    color: #FFF9E6;
  margin-right: auto;
}

.g2 a h2 {
    color: #FFF9E6;
}

.g3 a {
    display: flex;
    flex-direction: column;
    width: 25%;
    padding: 6px;
}

.g3 a .item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: #4D171C;
    box-shadow: 0 1.75px 3px 0 rgba(255, 0, 0, 0.70);
}

.g3 a .item h2 {
    color: #FFF9E6;    margin-right: auto;
}

.g3 a .item i {
    font-size: 14px;
    color: #fff;
}

.g3 a img {
    width: 88px;
    height: 88px;
}

.search {
    margin: 0 12px 24px;
    position: relative;
}

.search input {
    width: 100%;
    border-radius: 100px;
    background: #4D171C;
    border: none;
    outline: none;
    padding: 12px 48px;
    color: #fff;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    font-family: Nunito;
    line-height: 20px;
}

.search input::placeholder {
    color: #fff;
    font-family: Nunito;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
}

.search_btn {
    position: absolute;
    right: 0;
    top: 12px;
}

.search_btn a {
    padding: 12px 48px;
}

.search_btn a i {
    color: #fff;
}

.game-main.pt{
    width: calc(100% - 212px);
    padding: 24px;
    border-radius: 24px;
    border: 4px solid #683338;
    background: #4D171C;
}

@media screen and (max-width: 1200px) and (min-width: 992px) {
    .g1 .right a .item img {
        width: 70px;
        height: 70px;
        flex: 0 0 70px;
    }

    .g1 .right a .item {
        padding: 12px 6px;
        gap: 6px;
    }

    .g1 .box-1 .item {
        padding: 0 12px;
        gap: 12px;
    }

    .g1 .box-1 .text .zan .zanplayers {
        padding: 8px;
    }

    .g1 .box-1 .text .zan .zanplayers i {
        padding-right: 4px;
    }

    .g1 .box-1 .text .zan {
        gap: 12px;
    }

    .g3 a {
        width: 33.33%;
    }
}

@media (max-width:992px) {
    .game-main.pt{
        width: 100%;
        margin: 0 12px;
    }
    .nav-list {
        display: none;
    }

    .game-main {
        width: 100%;
    }

    footer {
        width: calc(100% - 25px);
        margin: 30px auto 12px;
        padding: 24px 24px;
    }

    .g1 .box-1,
    .g1 .right {
        width: 100%;
    }

    .g1 .box-1 .item {
        padding: 24px;
    }

    .g1 .box-1 .item .cover {
        width: 22%;
    }

    .g1 .box-1 .text {
        width: 78%;
    }

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

    .g3 a {
        width: 50%;
    }
}

@media (max-width:768px) {
    main {
        padding: 12px 0;
    }
}

@media (max-width:550px) {
    .game-main.pt{
        width: 100%;
        margin: 0 12px;
        padding: 12px;
    }
    main {
        padding: 6px 0;
    }

    .heading {
        font-size: 16px;
        font-weight: 800;
        line-height: 20px;
        padding-left: 10px;
        padding-bottom: 7px;
    }

    .g1 .box-1 .item {
        padding: 8px;
        gap: 12px;
    }

    .g1 .box-1 .item .cover {
        width: 30%;
    }

    .g1 .box-1 .text {
        width: 70%;
    }

    .g1 .box-1 .text .popular {
        padding: 4px 16px;
        font-size: 12px;
        line-height: 16px;
        margin-bottom: 8px;
    }

    .g1 .box-1 .text .popular i {
        font-size: 14px;
    }

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

    .g1 .box-1 .text h2 {
        font-size: 14px;
        font-weight: 700;
        line-height: 18px;
        margin-bottom: 16px;
    }

    .g1 .box-1 .text .zan .zanplayers {
        font-size: 12px;
        padding: 4px 16px;
        line-height: 16px;
    }

    .g1 .box-1 .text .zan .zanplayers i {
        font-size: 14px;
    }

    .g1 .box-1 .text .zan .imgs {
        width: 75px;
    }

    .g1 .box-1 .text .zan img {
        width: 35px;
    }

    .g1 .box-1 .text .zan img:nth-child(2) {
        left: 20px;
    }

    .g1 .box-1 .text .zan img:nth-child(3) {
        left: 40px;
    }

    .g1 .box-1 .text .zan {
        gap: 16px
    }

    .g1 a {
        padding: 5px;
    }

    .g1 .flex,
    .g3 .flex {
        padding: 0 5px;
    }

    .cover {
        border-radius: 8px;
    }

    .g1 .right a .item {
        padding: 8px;
        gap: 8px;
        border-radius: 8px;
        background: #4D171C;
        box-shadow: 0 1px 2px 0 rgba(255, 0, 0, 0.50);
    }

    .g1 .right a .item img {
        width: 52px;
        height: 52px;
        flex: 0 0 52px;
    }

    .g1 .right a .item i {
        display: none;
    }

    .g1 {
        padding-bottom: 10px;
    }

    .g2 {
        padding-bottom: 12px;
    }

    .g2 .flex {
        padding: 0 5px;
    }

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

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

    .g2 a .star i {
        font-size: 12px;
        padding-right: 4px;
    }

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

    footer {
        width: calc(100% - 20px);
        margin: 0 10px;
        padding: 16px;
        gap: 16px;
        border-radius: 8px;
        border: 2px solid #683338;
        background: #4D171C;
        margin-top: 60px;
    }

    footer .text p {
        font-size: 12px;
        line-height: 16px;
    }

    footer .text .head {
        font-size: 14px;
        font-weight: 800;
        line-height: 18px;
        padding-bottom: 8px;
    }

    footer .share i {
        font-size: 25px;
        line-height: 25px;
    }

    footer .share {
        gap: 12px;
    }

    footer .share a {
        border-radius: 8px;
    }

    footer .pt a,
    footer .pb {
        font-size: 12px;
        line-height: 16px;
    }

    .back-to-top {
        right: 40px;
        bottom: 245px;
    }

    .back-to-top svg {
        width: 30px;
    }

    .g3 a {
        padding: 5px;
    }

    .g3 a .item {
        gap: 8px;
        padding: 8px;
        border-radius: 8px;
        background: #4D171C;
        box-shadow: 0 1px 2px 0 rgba(255, 0, 0, 0.50);
    }

    .g3 a img {
        width: 52px;
        height: 52px;
    }

    .g3 a .item i {
        display: none;
    }

    .search input {
        padding: 10px 24px;
    }

    .search {
        margin: 0 10px 12px;
    }

    .search_btn {
        top: 10px;
    }

    .search_btn a {
        padding: 10px 32px;
    }


}

@media (max-width:375px) {
    .g1 .box-1 .text .zan {
        gap: 6px;
    }

    .g1 .box-1 .text .zan img:nth-child(2) {
        left: 15px;
    }

    .g1 .box-1 .text .zan img:nth-child(3) {
        left: 30px;
    }

    .g1 .box-1 .text .zan .imgs {
        width: 70px;
    }

    .g1 .box-1 .text .zan .zanplayers {
        font-size: 12px;
        padding: 4px 6px;
    }
}