@charset "utf-8";

@font-face {
    font-family: Beryliub;
    src: url(../../fonts/Beryliub.56d5e74.ttf);
}

* {
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    margin: 0;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
}

html,
body {
    width: 100%;
    margin: 0;
    font-family: Beryliub, sans-serif;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    overflow-x: hidden;

}

a {
    font-weight: 500;
    text-decoration: none;
    color: rgb(0, 0, 24);
    cursor: pointer;
}

.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;
    margin-top: 0px;
    min-height: 250px;
    /* background-color: #ffffff; */

    width: 300px;
    margin: auto;
}

.ad-label {
    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;
    color: white;
}

.fav {
    width: 160px;
    height: 100%;
}

.fav .rootbg {
    display: inline-block;
    width: 160px;
    height: 100%;
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .5);
    z-index: 998;
    display: none;
}

.gba-bgi {
    background-position: center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-image: url(../../images/loading.e29b847.gif);
}

.gba-title {
    display: inline-block;
    width: 100%;
    margin: 10px 0;
    padding: 0 10px;
    height: 30px;
    line-height: 30px;
    font-size: 24px;
    font-weight: 600;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    color: #fff;
    text-shadow: 0 1px 3px #000;
}

/* 头部样式 */

header {
    position: relative;
    width: 100%;
    padding: 10px;
    background-color: #2d333b;
}

.header-pc,
.header-mobile {
    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: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
            justify-content: space-between;
    height: 50px;
}

/* 搜索框 */

.search-box {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    position: relative;
    width: 200px;
}

.search-input {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
    width: 200px;
    height: 40px;
    padding: 0 15px;
    font-size: 16px;
    border-radius: 20px;
    border: 1px solid #999;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
}

.search-btn {
    position: absolute;
    top: 50%;
    right: 10px;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-image: url(../../images/search-copy.64fa14a.png);
}

.header-mobile {
    display: none;
}

.header-mobile .menu-btn,
.header-mobile .mobile-search-btn {
    width: 30px;
    height: 30px;
}

.header-mobile .menu-btn {
    background-image: url(../../images/menu.7889495.png);

}

.header-mobile .mobile-search-btn {
    background-image: url(../../images/search.ae09478.png);
    background-size: 70%;
}

.mobile-search-box {
    display: none;
    position: absolute;
    top: 69px;
    padding: 4px 10px;
    left: 0;
    background-color: #2d333b;
    width: 100vw;
}

.mobile-search-box .search-input {
    margin: 0 auto;
    width: 100%;
}

.nav-list {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    max-width: 1312px;
    overflow-x: scroll;
    scrollbar-width: none;
}

.nav-list::-webkit-scrollbar {
    display: none;
}

.gba-item {
    margin: 5px 10px;
    padding: 5px 10px;
    border-radius: 15px;
    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: #000;
    -webkit-transition: all .2s;
    transition: all .2s;
}

.gba-item:hover {
    -webkit-transform: scale(1.2);
            transform: scale(1.2);
}

.gba-item .gba-icon {
    height: 30px;
    aspect-ratio: 1;
}

.gba-item .gba-icon-name {
    color: rgba(205, 217, 229, 0.7);
    margin: 0 5px;
}

/* 侧边栏 */

.sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100vh;
    background: #222;
    -webkit-transition: left 0.3s ease;
    transition: left 0.3s ease;
    z-index: 999;
    overflow: scroll;
}

.sidebar-container {
    padding: 20px;
}

.sidebar-container .fav {
    height: 60px;
}

.close-btn-box {
    position: absolute;
    top: 35px;
    right: 35px;
}

.close-btn {
    width: 30px;
    height: 30px;
    background-image: url(../../images/close-white.27d0d87.png);
    cursor: pointer;
}

.sidebar-container .list-canvas {
    width: 95%;
    margin: 10px auto;
    background-color: #2d333b;
    padding: 5px 10px;
    color: rgba(205, 217, 229, 0.7);
    border-radius: 10px;
}

.list-canvas .tag-icon,
.list-canvas .gba-icon {
    width: 30px;
    height: 30px;
    margin: 0 7px 0 0;
}

.list-canvas .menu-tag,
.list-canvas .gba-item {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    height: 40px;
    margin: 5px;
    background-color: transparent;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    width: 100%;
}

.menu-tag .all-icon {
    background-image: url(../../images/all-icon.79b19ab.png);
}

.menu-tag .latest-icon {
    background-image: url(../../images/latest-icon.97d9185.png);
}

.menu-tag .popular-icon {
    background-image: url(../../images/popular-icon.abcc4e2.png);
}

.menu-tag .trending-icon {
    background-image: url(../../images/trending-icon.762ad6c.png);
}

/* 返回顶部按钮 */

.scroll-top-btn {
    position: fixed;
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    bottom: 15%;
    right: 5%;
    display: none;
    cursor: pointer;
    background-image: url(../../images/top-arrow.d196adc.png);
    background-size: 50%;
    z-index: 2;
}

.gba-main {
    max-width: 1300px;
    min-height: -webkit-calc(100vh - 70px);
    min-height: calc(100vh - 70px);
    margin: auto;
    padding: 20px;
    color: #fff;
    border-radius: 10px;
}

/* 网页声明 */

.gba-bottom {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    width: 100%;
    min-height: 60px;
    margin: 70px auto 0;
    padding: 20px;
    color: #fff;
    background-color: #2d333b;
}

.gba-bottom-container {
    width: 95%;
    margin: 5px;
    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;
}

.gba-bottom-container .fav {
    height: 60px;
}

.gba-cp-box,
.gba-policy-box {
    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;
}

.gba-cp-box {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
            flex-direction: column
}

.gba-policy-box a {
    margin: 0 10px;
    color: #fff;
    font-size: 12px;
}

.gba-child {
    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;
    width: 7.64%;
    margin: 0.345%;
    aspect-ratio: 1;
    border-radius: 15px;
    background-color: #fff;
    overflow: hidden;
    -webkit-transition: -webkit-transform .2s;
    transition: -webkit-transform .2s;
    transition: transform .2s;
    transition: transform .2s, -webkit-transform .2s;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .3);
    position: relative;
}

.gba-child .game-img {
    width: 100%;
    aspect-ratio: 1;
    background-position: center;
    background-size: 100% cover;
    background-image: url(../../images/loading.e29b847.gif);

}

.gba-child .game-name {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    margin: 0 auto;
    font-size: 12px;
    max-height: 30px;
    line-height: 30px;
    text-wrap: nowrap;
    text-overflow: ellipsis;
    text-align: center;
    z-index: 1;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(55%, transparent), to(rgba(0, 0, 0, .5)));
    background: -webkit-linear-gradient(transparent 55%, rgba(0, 0, 0, .5));
    background: linear-gradient(transparent 55%, rgba(0, 0, 0, .5));
    -webkit-transition: bottom 0.2s ease-in-out;
    transition: bottom 0.2s ease-in-out;
}

.gba-child:hover .game-name {
    bottom: 0;
}

@media screen and (max-width:1200px) {

    .gba-child {
        width: 12%;
        margin: 0.25%;
    }

}

@media screen and (max-width:900px) {
    .gba-bottom {
        -moz-box-sizing: border-box;
             box-sizing: border-box;
        padding: 0 20px;
    }

}

@media screen and (max-width:470px) {
    .gba-main {
        margin-top: 30px;
    }

    .gba-aside {
        width: 90%;
    }

    .popular-game-list .gba-child,
    .gba-child {
        width: 30%;
        margin: 1.667%;
    }

    .main-category-list {
        -webkit-flex-wrap: wrap;
                flex-wrap: wrap;
    }

    .gba-item {
        width: 30%;
        margin: 1.667%;
        padding: 0 5px;
        margin: 8px 5px;
    }



    .gba-bottom .fav {
        height: 60px;
    }

    .sidebar {
        width: 90%;
    }

    .header-pc {
        display: none;
    }

    .header-mobile {
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: flex;
    }
}
.gba-main {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    padding: 0px;

}

.ad-label {
    color: white;
}

.game-sidebar {
    padding: 5px;
    width: 50%;
    height: auto;
    background-color: #2d333b;
    border-radius: 12px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 一行 3 列 */
    gap: 2.5px;

}

.game-sidebar .gba-child {
    width: 100%;
    aspect-ratio: 1;
}

.gba-desc-game {
    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;
    max-width: 1200px;
    color: rgb(51, 174, 211);
    border-radius: 10px;
    overflow: hidden;
}

.desc-detail {
    width: 95%;
    position: relative;
    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;
    background-color: rgb(18, 18, 18);
    border-radius: 10px 10px 0 0;
    padding: 30px 0 50px;
}

.desc-detail .desc-img {
    width: 300px;
    aspect-ratio: 1;
    border-radius: 10px;
    margin: 20px;
    position: relative;
}

.desc-detail .desc-pbutton {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    color: #fff;
    font-size: 16px;
    width: 210px;
    line-height: 46px;
    background: transparent;
    border-radius: 23px;
    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-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;
    font-weight: 600;
    z-index: 2;
}

.desc-detail .desc-pbutton .play-icon {
    width: 45px;
    height: 45px;
    background-image: url(../../images/play-icon.00cf342.png);
    margin: 0 5px;
    background-color: #fff;
    border-radius: 50%;
    background-size: 70%;
    -webkit-animation: scaleBox 2s infinite alternate ease-in-out;
            animation: scaleBox 2s infinite alternate ease-in-out;
}

.related-game-list {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
}

.related-game-list .gba-child {
    width: 16%;
    margin: 0.3333%;
}

@-webkit-keyframes scaleBox {
    0% {
        -webkit-transform: scale(1);
                transform: scale(1);
    }

    100% {
        -webkit-transform: scale(1.4);
                transform: scale(1.4);
    }
}

@keyframes scaleBox {
    0% {
        -webkit-transform: scale(1);
                transform: scale(1);
    }

    100% {
        -webkit-transform: scale(1.4);
                transform: scale(1.4);
    }
}

.desc-detail .desc-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.gba-desc-game .desc-text {
    width: 95%;
    height: 60px;
    background-color: #fff;
    border-radius: 0 0 10px 10px;
    color: rgb(51, 51, 51);
    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;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
}

.desc-text .desc-game-name {
    font-size: 24px;
    font-weight: 600;
}

.desc-text-name-box {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    padding: 0 20px;
    height: 60px;
    -webkit-box-pack: space-evenly;
    -webkit-justify-content: space-evenly;
       -moz-box-pack: space-evenly;
            justify-content: space-evenly;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
}

.desc-text-name-box .desc-img-icon {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    margin-right: 20px;
}

.desc-play-box,
.related-game-box {
    background-color: #2d333b;
    width: 95%;
    margin: 20px auto;
    padding: 20px;
    border-radius: 20px;
    color: #fff;
}

.desc-play-box div {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
}

.desc-play-box .gba-title {
    font-size: 18px;
    text-align: left;
}

.desc-play-box .gba-title.first-title {
    color: #fdb713;
    min-height: 40px;
    height: auto;
    padding-bottom: 10px;
    line-height: 30px;
    border-bottom: 2px solid #495057;
}

.desc-play-box .game-instructions {
    margin: 5px 10px;
}

.desc-play-box .game-description,
.desc-play-box .game-play-device {
    font-size: 14px;
    margin: 5px 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #495057;
   
}

.instructions{
    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;
}

.desc-play-box .game-play-device {
    font-weight: 600;
}

.desc-play-box .desc-game-category {
    display: inline-block;
    padding: 6px 10px;
    border: 1px solid rgb(204, 204, 204);
    border-radius: 20px;
    font-weight: 600;
    margin-left: 10px;

}

@media screen and (max-width:480px) {
    .gba-main {
        -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;
    }

    .game-sidebar {
        width: 95%;
    }

    .desc-text-name-box {
        padding: 5px 10px;
    }

    .main-menu {
        top: 0;
    }

    .related-game-list .gba-child {
        width: 30%;
        margin: 1.667%;
    }
}
