* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

a {
    -webkit-text-decoration: none;
    text-decoration: none;
    color: inherit
}

html {
    font-size: 48px
}

body {
    font-family: Arial,sans-serif;
    line-height: 1.2;
    padding: 0!important
}

.nav-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: .2rem 0;
    background-color: #000000b3
}

.nav-section .logo {
    height: 30px
}

.nav-section .logo img {
    display: block;
    height: 100%
}

.app {
    min-width: 314px;
    min-height: 100vh;
    display: flex;
    flex-direction: column
}

.ads-title {
    color: #fff;
    line-height: 20px;
    margin-bottom: 5px;
    font-size: 12px
}

.page-banner {
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: 50px;
    margin-bottom: 50px;
    min-height: 300px
}

.overflow {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -999;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: #000000b3
}

.overflow .dialog {
    z-index: 2000;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100%;
    overflow: hidden;
    font-size: 4.08163vw;
    background-color: #fff;
    color: #ccc;
    border-radius: 2vw;
    transform: translate3d(-50%,-50%,0);
    backface-visibility: hidden;
    transition: .3s;
    transition-property: transform,opacity
}

.overflow .dialog .ads-close {
    display: flex;
    justify-content: right;
    padding-right: 3.06122vw;
    color: #dbdbdb;
    font-size: .6rem;
    width: 8%;
    float: right
}

.overflow .dialog #dialogAd {
    font-size: .42rem;
    text-align: center
}

.overflow-2 {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -9999;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: #000000b3
}

.overflow-2 .dialog {
    z-index: 2000;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100%;
    overflow: hidden;
    font-size: 4.08163vw;
    background-color: #fff;
    color: #ccc;
    border-radius: 2vw;
    transform: translate3d(-50%,-50%,0);
    backface-visibility: hidden;
    transition: .3s;
    transition-property: transform,opacity
}

.overflow-2 .dialog .ads-close {
    display: none;
    justify-content: right;
    padding-right: 3.06122vw;
    color: #dbdbdb;
    font-size: .4rem;
    width: 8%;
    float: right
}

.overflow-2 .dialog .gads {
    font-size: .42rem;
    text-align: center
}

.bottom-banner {
    width: 100%;
    height: 100px;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100
}

.home-banner {
    text-align: center;
    color: #b9b9b9;
    font-size: .2rem
}

.game-list {
    flex: 1;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative
}

.game-list .pointer-img {
    position: absolute;
    top: 20px;
    left: 20px;
    pointer-events: none;
    display: none
}

.grid-container {
    display: grid;
    width: 90%;
    grid-template-columns: repeat(16,1fr);
    grid-auto-rows: 1fr;
    grid-gap: 10px;
    gap: 10px;
    grid-auto-flow: row dense
}

.grid-item {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    aspect-ratio: 1/1;
    background-color: #ffffff80;
    border-radius: 5%
}

.grid-item-1 {
    grid-column: span 1;
    grid-row: span 1
}

.grid-item-2 {
    grid-column: span 2;
    grid-row: span 2
}

.grid-item-3 {
    grid-column: span 3;
    grid-row: span 3
}

.game-item img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    border-radius: 5%
}

.bottom-btn-section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 1rem;
    padding: 0 .2rem
}

.bottom-btn-section .bottom-btn-item {
    width: 300px;
    height: 60px;
    border-radius: 30px;
    margin: 0 .3rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-size: .5rem;
    font-weight: 700
}

.bottom-btn-section .bottom-btn-item img {
    height: .5rem;
    margin-right: .2rem
}

.bottom-btn-section .random-game-btn {
    border: 1px solid #fff;
    background-color: #fff3;
    color: #fff
}

.bottom-btn-section .random-game-btn:hover {
    background-color: #ffffffb3;
    color: #000
}

.bottom-btn-section .back-to-top-btn {
    border: 1px solid #000;
    background-color: #0009;
    color: #fff
}

.bottom-btn-section .back-to-top-btn:hover {
    background-color: #000
}

@media (max-width: 480px) {
    .bottom-btn-section {
        flex-direction:column
    }

    .bottom-btn-section .bottom-btn-item {
        width: 100%;
        margin: 0;
        margin-bottom: .3rem
    }
}

.footer {
    color: #fff;
    text-align: center;
    padding: .2rem;
    font-size: .24rem
}

.footer .footer-nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center
}

.footer .footer-nav a {
    padding: .1rem .4rem;
    -webkit-text-decoration: underline;
    text-decoration: underline
}

@keyframes breathing {
    0% {
        transform: scale(.88)
    }

    50% {
        transform: scale(1)
    }

    to {
        transform: scale(.88)
    }
}

.detail-banner,.detail-banner-2,.loading-banner,.loading-banner-2 {
    color: #b9b9b9;
    text-align: center;
    font-size: .2rem
}

.game-header {
    display: flex;
    align-items: flex-start;
    padding: .2rem
}

.game-header .game-icon {
    width: 2rem;
    height: 2rem;
    margin-right: .2rem;
    border-radius: .15rem
}

.game-header .game-info {
    flex: 1
}

.game-header .game-info .detail-title {
    font-size: .42rem;
    margin: 0;
    margin-bottom: .1rem;
    color: #696969
}

.game-header .game-info .detail-description {
    color: #a5a5a5;
    font-size: .18rem;
    margin-bottom: .2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.2
}

.game-header .game-info .game-tags {
    display: flex;
    flex-wrap: wrap;
    height: .52rem;
    overflow: hidden
}

.game-header .game-info .game-tags .tag {
    padding: .05rem .1rem;
    margin-right: .2rem;
    font-size: .2rem;
    margin-bottom: .5rem;
    border: 2px dashed #C5C5C5;
    color: #828080
}

.game-section {
    padding: 0 .2rem
}

.game-content {
    width: 100%;
    max-width: 700px;
    margin: 10px auto 0;
    overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    position: relative
}

.game-content .game-btn {
    position: absolute;
    cursor: pointer;
    z-index: 1;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5);
    width: 100%;
    height: 0px;
    padding-bottom: 100%;
    border-radius: 4px;
    overflow: hidden
}

.game-content .game-btn:before {
    content: "Play";
    position: absolute;
    width: 180px;
    height: 50px;
    margin-left: -90px;
    margin-top: -25px;
    top: 50%;
    left: 50%;
    z-index: 1;
    font-size: 22px;
    text-align: center;
    line-height: 50px;
    color: #fff;
    font-weight: 700;
    border-radius: 6px;
    box-shadow: 2px 4px 10px #0006;
    animation: breathing 1.5s ease-in-out infinite
}

.game-content .game-play-mask {
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
    z-index: 1;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5);
    width: 100%;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center
}

.game-content .game-play-mask .play-btn {
    display: block;
    cursor: pointer;
    font-size: 22px;
    color: #fff;
    font-weight: 700;
    border-radius: 6px;
    width: 180px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    box-shadow: 2px 4px 10px #0006;
    animation: breathing 1.5s ease-in-out infinite
}

.game-content .game-play {
    width: 100%;
    position: relative;
    height: 0px;
    padding-bottom: 100%;
    background-color: var(--block-background-color);
    border-radius: 4px;
    overflow: hidden
}

.game-content .game-play iframe,.game-content .game-play img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%
}

.fixed-game {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #000;
    left: 0;
    top: 0;
    z-index: 999;
    display: none
}

.fixed-game .game-back {
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    width: 1.2rem;
    height: .7rem;
    position: absolute;
    left: 0;
    top: 10%;
    background-color: #000c;
    border-radius: 0px .35rem .35rem 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0rem .05rem
}

.fixed-game .game-back .back {
    width: .4rem;
    height: .4rem
}

.fixed-game .game-back .icon {
    width: .6rem;
    height: .6rem;
    border-radius: 50%
}

.play-game {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #000;
    left: 0;
    top: 0;
    z-index: 999
}

.play-game .game-back {
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    width: 1.2rem;
    height: .7rem;
    position: absolute;
    left: 0;
    top: 10%;
    background-color: #000c;
    border-radius: 0px .35rem .35rem 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0rem .05rem
}

.play-game .game-back .back {
    width: .4rem;
    height: .4rem
}

.play-game .game-back .icon {
    width: .6rem;
    height: .6rem;
    border-radius: 50%
}

.play-game .game-play-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center
}

.play-game .game-play-mask .play-now-btn {
    cursor: pointer;
    width: 200px;
    height: 50px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    line-height: 50px;
    animation: breathing 1.5s ease-in-out infinite
}

.page-container {
    padding: .4rem;
    min-height: calc(100vh - 70px);
    font-size: 18px
}

.page-container h1 {
    text-align: center;
    line-height: 1.5;
    font-size: 30px;
    margin-bottom: 10px
}

.page-container p {
    font-size: 18px;
    line-height: 1.5
}

@media screen and (max-width: 1260px) {
    .grid-container {
        display:grid;
        width: 90%;
        grid-template-columns: repeat(3,1fr);
        grid-auto-rows: 1fr;
        grid-gap: 10px;
        gap: 10px;
        margin-bottom: 20px;
        grid-auto-flow: row dense
    }

    .grid-item-large {
        grid-column: span 2;
        grid-row: span 2
    }

    .hot_game {
        width: 100%;
        flex-direction: column;
        align-items: center
    }

    .hot_game_item {
        width: 95%;
        flex-direction: row;
        align-items: center
    }

    .game-icon {
        margin-left: .1rem
    }

    .game-description {
        margin-right: 0
    }

    .pcPlay {
        display: none
    }

    .game-header-ad {
        display: flex;
        flex-direction: column;
        width: 100%
    }

    .banner-ad-pc,.detail-banner-ad-pc {
        display: none
    }
}

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