:root {
    --bg: #101820;
    --bg2: #16202b;
    --panel: #1b2836;
    --line: #2c3e50;
    --green: #3dff73;
    --green-dk: #1d9e46;
    --cyan: #33e0ff;
    --yellow: #ffe14d;
    --red: #ff4757;
    --text: #d5e8d8;
    --muted: #7a9484;
    --pixel: "Press Start 2P", "Courier New", monospace;
}

/** background color **/
/** color **/
html,
body {
    -webkit-overflow-scrolling: touch;
}

input:focus {
    outline-offset: 0;
}

button:focus,
input[type=text]:focus {
    outline: 0;
}

button {
    border: none;
    border-radius: 0;
    padding: 0;
    background: none;
}

input[type=checkbox] {
    opacity: 0;
    cursor: pointer;
}

body {
    font-size: 16px;
    font-weight: 400;
    min-height: 100vh;
    font-family: "Courier New", monospace;
    background: var(--bg);
    color: var(--text);
}

article,
aside,
body,
dd,
div,
dl,
dt,
footer,
h1,
h2,
h3,
h4,
h5,
h6,
header,
img,
li,
main,
nav,
p,
section,
span,
table,
td,
tr,
ul {
    margin: 0;
    padding: 0;
}

img {
    border: none;
    width: 100%;
    vertical-align: middle;
}

a {
    text-decoration: none;
    color: black;
    vertical-align: middle;
}

a,
ul li {
    list-style: none;
}

.main .wrapper {
    display: block;
}

.wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 20px 0;
    box-sizing: border-box;
    display: flex;
}

.main .wrapper2 {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 22px;
    align-items: start;
}

.hd-menu-wrapper {
    position: absolute;
    width: calc(100% - 40px);
    padding: 0 20px;
}

.nav_li .icon_hot {
    width: 24px;
    height: 64px;
    fill: #999;
    vertical-align: middle;
    /*transition: all ease 0.5s;*/
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--bg2);
    border-bottom: 3px solid var(--green);
    box-shadow: 0 3px 0 rgba(61, 255, 115, 0.25);
}

.header #wrappers {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0 auto;
    padding: 12px 20px;
}

.logo a {
    font-family: var(--pixel);
    font-size: 18px;
    color: var(--green);
    text-shadow:
        0 0 8px rgba(61, 255, 115, 0.7),
        3px 3px 0 #0a3d1a;
    letter-spacing: 2px;
}

.nav-ul {
    margin-left: auto;
}

.nav_li {
    cursor: pointer;
}

.nav_li img {
    width: 32px;
    height: 32px;
}

.hd-menu-box {
    width: 100%;
    height: fit-content;
    background-color: #ffffff;
    box-shadow: 0px 2px 9px 1px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    margin-top: 8px;
    padding: 16px;
    box-sizing: border-box;
    display: none;
}

footer {
    margin-top: 20px;
    background: var(--bg2);
    border-top: 3px solid var(--green);
}

.container li:not(:last-child) a:after {
    content: "";
    width: 1px;
    height: 10px;
    display: inline-block;
    background: #999;
    margin: 0 16px;
}

.container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 16px;
    max-width: 1280px;
}

.container li a,
.container li {
    font-size: 13px;
    font-weight: normal;
    font-stretch: normal;
    line-height: 32px;
    letter-spacing: 0px;
    color: #ff3333;
}

.container li:hover a {
    color: #ff5b5b;
}

input::input-placeholder {
    color: #aaa;
}

::-webkit-input-placeholder {
    color: #aaa;
}

:-moz-placeholder {
    color: #aaa;
}

input:-internal-autofill-selected {
    background-color: #fff !important;
}

.banner_box {
    text-align: center;
}

.banner_box h1 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

.play_img {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
}

.trendbox {
    margin-bottom: 26px;
    background: var(--panel);
    border: 2px solid var(--line);
    padding: 16px;
}

.common_title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.common_title .label {
    font-size: 12px;
    font-family: var(--pixel);
    color: #0a1218;
    background: var(--green);
    padding: 8px 12px;
    box-shadow: 4px 4px 0 rgba(61, 255, 115, 0.3);
    text-shadow: none;
}

.trendbox:nth-of-type(2) .label {
    background: var(--cyan);
    box-shadow: 4px 4px 0 rgba(51, 224, 255, 0.3);
}

.trendbox:nth-of-type(3) .label {
    background: var(--yellow);
    box-shadow: 4px 4px 0 rgba(255, 225, 77, 0.3);
}

.trendbox:nth-of-type(4) .label {
    background: var(--red);
    color: #fff;
    box-shadow: 4px 4px 0 rgba(255, 71, 87, 0.3);
}

.common_title a {
    font-size: 9px;
    font-family: var(--pixel);
    color: var(--green);
    border: 2px solid var(--green-dk);
    padding: 8px 12px;
    transition: 0.15s;
    background: transparent;
    cursor: pointer;
}

.common_title a:hover {
    background: var(--green);
    color: #0a1218;
    box-shadow: 0 0 12px rgba(61, 255, 115, 0.5);
}

.common_title .iconlinear {
    width: 24px;
    height: 24px;
    margin-right: 4px;
    transform: translateY(4px);
    vertical-align: baseline;
}

.category_box {
    position: sticky;
    top: 96px;
    padding: 0;
}

.category_box .common_title {
    margin-bottom: 0;
}

.category_box .common_title .label {
    color: #0a1218;
    background: var(--green);
    width: 100%;
    box-shadow: none;
}

.category_list {
    display: flex;
    flex-direction: column;
    padding: 8px;
}

.category_list a {
    font-size: 13px;
    font-weight: 700;
    padding: 9px 12px;
    color: var(--muted);
    border: 2px solid transparent;
    transition: 0.15s;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

.category_list a::after {
    content: "▸";
    opacity: 0;
    transition: 0.15s;
}

.category_list a:hover {
    color: var(--green);
    background: rgba(61, 255, 115, 0.08);
    border-color: var(--green-dk);
}

.category_list a:hover::after {
    opacity: 1;
}

.pop_games {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 14px;
}

.pop_games#list1 {
    grid-template-columns: repeat(1, 1fr);
}

.pop_games#list1 .pop_li_box a {
    color: var(--text);
}

.pop_li_box {
    cursor: pointer;
    border: 2px solid var(--line);
    background: var(--bg2);
    transition: 0.15s;
    position: relative;
}

.pop_li_box:hover {
    border-color: var(--green);
    box-shadow: 0 0 14px rgba(61, 255, 115, 0.35);
    transform: translateY(-3px);
}

.pop_li_box video.preview {
    position: absolute;
    z-index: 9;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.game_img {
    display: block;
    position: relative;
    overflow: hidden;
}

.game_img .flag {
    position: absolute;
    right: 0;
    top: 0;
}

.game_img .flag .icon {
    background: #fff;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
    border-radius: 0 14px 14px 0;
    padding-right: 8px;
}

.game_img .flag img {
    width: 30px;
}

.game_img img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
}

.pop_name {
    font-size: 11px;
    font-weight: 700;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

span.pop_name {
    padding: 8px;
    border-top: 2px solid var(--line);
    background: var(--bg2);
    color: var(--text);
}

.pop_li_box:hover span.pop_name {
    color: var(--green);
}

.pop_li p {
    font-size: 13px;
    font-weight: normal;
    font-stretch: normal;
    line-height: 16px;
    letter-spacing: 0px;
    color: #aaaaaa;
    margin-top: 6px;
    height: 16px;
    overflow: hidden;
}

.category li {
    width: 12.5%;
}

.more_btn {
    display: block;
    width: 48%;
    padding: 11px 8px;
    margin: 20px auto 0;
    color: #fff;
    font-family: "Roboto Slab";
    font-size: 19px;
    font-weight: 700;
    border-radius: 10px;
    text-align: center;
    background-color: #FB6207;
    border: 1px solid #fff;
    outline: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    text-decoration-line: underline;
}

.loading {
    width: 25px;
}

.lists_cate {
    display: flex;
    flex-direction: row;
    margin-right: -16px;
    flex-wrap: wrap;
}

.index .lists_cate {
    margin-right: -16px;
}

.category li {
    width: 25%;
    padding-right: 16px;
}

.list .lists_cate {
    margin-top: 32px;
}

.lists_li {
    width: 25%;
    margin: 4px 0;
    padding-right: 16px;
    box-sizing: border-box;
}

.lists_cate li a {
    font-size: 14px;
    float: left;
    clear: both;
    display: block;
    color: #333333;
    line-height: 50px;
    text-transform: capitalize;
    height: 50px;
    width: calc(100% - 6px);
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0px 2px 9px 1px rgba(0, 0, 0, 0.05);
    padding: 3px 0;
    /*margin: 5px 12px 5px 0;*/
    overflow: hidden;
    width: 100%;
    word-break: break-all;
}

.lists_cate li a img {
    float: left;
    border-radius: 3px;
    margin-right: 8px;
    width: 50px;
    height: 50px;
    margin-left: 3px;
}

.lists_cate li a svg {
    float: left;
    border-radius: 3px;
    margin-right: 8px;
    width: 25px;
    height: 50px;
    margin-left: 21px;
}

/** ads **/
ins.adsbygoogle[data-ad-status=unfilled] {
    display: none !important;
}

@media only screen and (max-width: 768px) {
    .category li {
        width: 50%;
    }

    .more_btn {
        padding: 10px 0px;
        margin-top: 20px;
    }
}

@media only screen and (max-width: 767px) {
    .nav_li {
        margin-left: 20px;
    }

    .list .lists_cate {
        margin-top: 16px;
    }

    .container {
        justify-content: center;
        margin-top: 16px;
        margin-bottom: 16px;
        flex-wrap: wrap;
    }

    .container li a,
    .container li {
        line-height: 24px;
        text-align: center;
    }
}

@media only screen and (max-width: 600px) {
    .category li {
        width: 100%;
    }

    .play_img {
        height: 56px;
        width: 56px;
    }

    .container li:not(:last-child) a:after {
        display: none;
    }

    .hd-menu-wrapper {
        padding: 0 10px;
        width: calc(100% - 20px);
    }

    .lists_li {
        width: 50%;
    }

    .more_btn {
        width: 100%;
    }

    .games {
        width: 100%;
    }

    .page {
        width: 66%;
    }

    .category_box {
        display: none;
    }

    header .searchBox {
        display: none;
    }

    .main .wrapper2 {
        grid-template-columns: 1fr;
    }
}

.blogs_games {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    display: flex;
}

.blogs_games a {
    width: 49%;

}

.blogs_games a li {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    margin-top: 15px;
    border-radius: 5px;
}

.blogs_games li .bg-img {
    width: 26%;
    margin: 2%;
}

.blogs_games li .bg-desc {
    width: 64%;
    margin: 0 3% 0 3%;
}

.blogs_games li .bg-desc h3 {
    font-size: 1.1em;
    line-height: 1.5em;
    height: 3em;
    overflow: hidden;
}

.blogs_games li .bg-desc h3:hover {
    color: #ff6633;
}

@media only screen and (max-width: 719px) {
    .blogs_games a {
        width: 100%;
    }
}

.adx {
    width: 100%;
    color: #AAA;
    font-size: 12px;
    margin: 0 auto;
    text-align: center;
}

.center_adv {
    width: 300px;
    height: 250px !important;
    text-align: center;
    margin: auto;
}