* {
    margin: 0;
    padding: 0;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
}

@font-face {
    font-family: "Ebrima";
    src: url(../../fonts/ebrima.99ced7d.ttf) format("truetype");
    font-display: swap;
}

body {
    font-family: Ebrima;
}

.gptslot {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    margin: 16px auto;
    margin-top: 0px;
    min-height: 250px;
    max-width: 300px;
}

.ad-label {
    color: rgba(255, 255, 255, 0.52);
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    position: relative;
    padding: 5px 0px 2px 0px;
    font-size: 14px;
}

a {
    text-decoration: none;
}

a:link,
a:visited {
    color: inherit;
    text-decoration: none;
}

.ad p {
    width: 100%;
    line-height: 50px;
    text-align: center;
    height: 50px;
}

header {
    width: 100%;
}

.header-box {
    width: 90%;
    margin: 0 auto;
    padding: 0 30px;
    height: 60px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
            justify-content: space-between;
}

.fav {
    width: 160px;
    height: 60px;
    border-radius: 0 0 10px 10px;
    padding: 0 10px;
}

.main {
    max-width: 1700px;
    margin: 10px auto;
    padding: 10px;
    color: #fff;
}

.rootbg {
    display: inline-block;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    cursor: pointer;
}

.header-right {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    height: 60px;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
       -moz-box-pack: start;
            justify-content: flex-start;
    padding-right: 30px;
    border-radius: 0 0 0 30px;
}

.header-left {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    height: 60px;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
       -moz-box-pack: start;
            justify-content: flex-start;
    border-radius: 0 0 30px 0;
}

.header-menu {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    background-color: #fff;
    border-radius: 20px;
    padding: 0 10px;
    box-shadow: 0 3px 0 0 rgba(0, 0, 0, 0.3);
}

.header-menu-item {
    background-color: #fff;
    font-size: 14px;
    font-weight: 600;
    height: 40px;
    line-height: 30px;
    padding: 20px;
    border-radius: 20px;
    cursor: pointer;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -moz-inline-box;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    border: none;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    text-wrap: nowrap;
    position: relative;
}

.header-menu-item:not(:last-child)::after {
    content: "";
    width: 1px;
    height: 40px;
    background-color: #e5e7eb;
    position: absolute;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
}

.header-menu-item .item-icon {
    width: 20px;
    aspect-ratio: 1;
    background-position: center;
    background-size: 100% auto;
    background-repeat: no-repeat;
}

.header-menu-item:nth-child(1) .item-icon {
    background-image: url(../../images/home.8567f28.png);
}

.header-menu-item:nth-child(2) .item-icon {
    background-image: url(../../images/search.a6bb35b.png);
}

.header-menu-item:nth-child(3) .item-icon {
    background-image: url(../../images/hot.b5f7288.png);
}

.header-menu-item:nth-child(4) .item-icon {
    background-image: url(../../images/New.6e7566b.png);
}

.header-home,
.header-online-game,
.aside-about-list a {
    height: 60px;
    font-weight: normal;
    font-size: 1rem;
    padding: 5px;
    color: #fff;
    cursor: pointer;
    -webkit-transition: all .3s;
    transition: all .3s;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    word-break: keep-all;
    white-space: nowrap;
}

.about-box {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
}

.play-item p,
.header-home p {
    margin: 0 20px;
}

.play-item .icon {
    display: inline-block;
    width: 25px;
    height: 25px;
    margin: auto 0;
    margin-right: 5px;
    background-size: cover;
    background-position: center;
}

.mask {
    position: fixed;
    top: 0;
    left: 0;
    float: left;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    z-index: 199;
}

.search-cancel {
    position: absolute;
    top: 25%;
    right: 10%;
    width: 30px;
    aspect-ratio: 1;
    background-image: url(../../images/close-white.27d0d87.png);
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 999;
    display: none;
}

.search-box {
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    position: absolute;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    width: 80%;
    top: 30%;
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    height: 40px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 999;
    display: none;
}

.search-btn-box {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    padding: 5px 10px;
    height: 90%;
    margin-right: 2%;
}

.search-btn {
    width: 25px;
    aspect-ratio: 1;
    background-image: url(../../images/search.a6bb35b.png);
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    cursor: pointer;
    background-color: transparent;
}

.myInput {
    color: #000;
    height: 30px;
    width: 100%;
    outline: 0;
    font-size: 1rem;
    border-radius: 6px;
    border: 0;
    display: inline-block;
    padding: 0 1em;
    text-decoration: none;
    border-radius: 4px;
}

#search-suggestions {
    position: absolute;
    width: 92%;
    top: 39px;
    left: 4%;
    max-height: 250px;
    overflow-y: auto;
    background-color: rgb(252, 252, 252);
    border: 0 1px 1px 1px solid #e6e6e69e;
    z-index: 1;
    border-radius: 0 0 10px 10px;
}

#search-suggestions div {
    padding: 6px 12px;
    cursor: pointer;
}

#search-suggestions div:hover {
    background-color: #555555b5;
}

.header-nav {
    margin-top: 10px;
    border-bottom: 10px solid #898a8c;
}

.header-nav .nav-container {
    height: 30px;
    width: 90%;
    margin: 0 auto;
    padding: 0 30px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
            justify-content: space-between;
    color: #fff;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
}

.nav-container::-webkit-scrollbar {
    display: none;
}

.nav-container .nav-item {
    background-color: #3fc5e2;
    min-width: 100px;
    text-align: center;
    padding: 4px 12px;
    white-space: nowrap;
    -webkit-flex-shrink: 0;
            flex-shrink: 0;
    margin: 0 5px;
    font-weight: 600;
    text-shadow: 1px 2px 0 rgba(0, 0, 0, .3);
    border-radius: 6px 6px 0 0;
}

.aside-menu {
    display: none;
    width: 40px;
    height: 40px;
    background-image: url(../../images/menu.7889495.png);
    background-position: center;
    background-size: 100%;
}

aside {
    width: 80%;
    position: fixed;
    left: 0;
    height: 100vh;
    background-color: #000000ed;
    z-index: 200;
    display: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
            flex-direction: column;
    padding: 20px;
    overflow-y: scroll;
    box-shadow: 0 0 15px #ffffff55;
}

.close {
    width: 100%;
    position: relative;
    height: 40px;
    margin-bottom: 10px;
}

.close-icon {
    position: absolute;
    right: 10px;
    width: 30px;
    height: 30px;
    background-image: url(../../images/close-white.27d0d87.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
}

.aside-home,
.aside-play-online,
.aside-played-games,
.aside-about {
    margin: 15px 0;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
}

.aside-list,
.aside-about-list {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
    width: 100%;
}

.awebsite {
    cursor: pointer;
}

.bottom-text {
    width: 90%;
    margin: 0 auto;
    color: #000;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
            flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.bottom-text .bottom-title {
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 22px;
}

.bottom-text-box {
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
            justify-content: space-between;
}

#bottom_desc {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
            flex-direction: column;
    text-align: left;
    gap: 10px;
}

.bottomfav {
    width: 160px;
    height: 70px;
}

.bottom-footer {
    margin-top: 30px;
    padding: 0 20px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    color: #fff;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
}

.bottom-game-list {
    border-radius: 10px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
            flex-direction: column;
    padding: 10px 0;
    gap: 5px;
    -webkit-justify-content: space-around;
            justify-content: space-around;
}

.bottom-game-list .game-bottom-item {
    margin: 0 10px;
}

.bottom-game-list span {
    font-weight: 600;
}

.bottom-footer-left {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
}

.btxt {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    gap: 20px;
    margin-left: 20px;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
}

.bt_iframe {
    width: 100%;
    min-height: 1900px;
    overflow-y: auto;
}

.self_B_00_title {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    padding: 10px 20px;
}

.self_B_00_title .text-box {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
    height: 40px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    font-weight: bold;
    color: #000;
}

.self_B_00_title .more-btn {
    padding: 5px 15px;
    background-color: #ffef80;
    color: #000;
    font-weight: 600;
    border-radius: 25px;
    box-shadow: 0 3px 0 0 rgba(0, 0, 0, 0.3);
}

.text-box p {
    height: 40px;
    line-height: 40px;
    padding: 0 10px;
    font-size: 24px;
    margin: 0;
}

.game-list {
    display: grid;
    gap: 10px;
    padding: 0 15px;
    grid-template-columns: repeat(10, 1fr);
    grid-auto-flow: row dense;
}

.self-game-title {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
            flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
}

.self-game-title .title-icon {
    width: 40%;
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.self-game-title p {
    text-align: center;
    text-wrap: wrap;
}

.game-list {
    max-width: 100%;
    display: grid;
    gap: 10px;
    padding: 0 15px;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    grid-auto-flow: row dense;
    padding-bottom: 20px;
}

.game-child-item {
    border-radius: 8px;
    position: relative;
    cursor: pointer;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
            flex-direction: column;
}

.game-child-item .game-img {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
    border-radius: 10px;
}

.game-child-item .game-name {
    width: 100%;
    color: #fff;
    font-size: 14px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    text-wrap: nowrap;
}

.game-child-item .game-text-box {
    width: 100%;
    padding: 8px;
    border-radius: 0 0 8px 8px;
}

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

    .bottom,
    .header-box {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .header-menu-item:nth-child(2),
    .header-menu-item:nth-child(3) {
        display: none;
    }

    .game-list {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }

    .header-right {
        margin: 0;
        padding: 0;
    }

    .header-left {
        width: 35%;
    }

    .header-left .fav {
        width: 100%;
        margin-left: 10px;
    }

    .bottomfav {
        margin: 10px auto;
        height: 70px;
    }

    .btxt {
        -webkit-flex-wrap: wrap;
                flex-wrap: wrap;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
           -moz-box-pack: center;
                justify-content: center;
        gap: 5px 10px;
    }

    .aside-menu {
        display: block;
    }

    .aside-list .play-item {
        width: auto;
        padding: 5px 10px;
        font-size: 14px;
    }

    .bottom-text-box,
    .game-container {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
           -moz-box-orient: vertical;
           -moz-box-direction: normal;
                flex-direction: column;
        text-wrap: wrap;
        gap: 10px;
    }


    #bottom_desc {
        text-wrap: wrap;
        text-align: center;
    }

    .text-box p {
        font-size: 20px;
    }
}

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

    .bottom-footer,
    .bottom-footer-left {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
           -moz-box-orient: vertical;
           -moz-box-direction: normal;
                flex-direction: column;
        gap: 10px;
    }

}
body {
    min-height: 100vh;
}

.more-games-btn {
    width: 100%;
    margin: 0 auto;
    background-color: #419bb5;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
}

.header-nav .nav-container #NavHome {
    background-color: #898a8c;
}

.game-container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
            justify-content: space-between;
}

.game-container-box {
    padding: 15px;
    border-radius: 10px;
}

.game-container-box .game-list {
    padding-bottom: 0;
}

.game-container .game-child-item .game-text-box {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 8px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 0 0 8px 8px;
    opacity: 0;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

.game-container .game-child-item:hover .game-text-box {
    opacity: 1;
}

.game-container .game-box:nth-child(1) {
    width: 65%;
}

.game-container .game-box:nth-child(2) {
    width: 33.7%;
}

.game-container .game-box:nth-child(1) .game-list {
    grid-template-columns: repeat(8, 1fr);
}

.game-container .game-box:nth-child(2) .game-list {
    grid-template-columns: repeat(4, 1fr);
}

.all-game-list {
    margin-top: 10px;
}

.game-list.category-list {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    gap: 10px;
    padding: 10px;
    -webkit-justify-content:space-around;
            justify-content:space-around
}

.category-item {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 0 0 rgba(0, 0, 0, 0.3);
}

.category-icon {
    margin: 8px;
    width: 24px;
    height: 24px;
    background-size: cover;
    background-position: center;
    margin-right: 8px;
}

.category-name {
    font-size: 14px;
    color: #333;
    margin-right: 8px;
}

.view-btn {
    width: 25px;
    height: 40px;
    line-height: 40px;
    border-radius: 0 8px 8px 0;
    font-size: 16px;
    color: #fff;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    background-color: #6197ef;
}

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

    .game-container .game-box:nth-child(1),
    .game-container .game-box:nth-child(2) {
        width: 100%;
    }

    .game-container .game-box:nth-child(1) .game-list {
        grid-template-columns: repeat(4, 1fr);
    }

}
