@charset "utf-8";

* {
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    margin: 0;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    font-family: 'Cinzel', serif;
}

html,
body {
    width: 100%;
    margin: 0;
    font-family: pala, sans-serif;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    overflow-x: hidden;
    color: rgb(51, 51, 51);
}

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: #00000073; */

    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: rgb(0, 0, 0);
}

.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;
}

.gba-bgi {
    background-position: center;
    background-size: cover;
    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;
    color: #333;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
}

/* 头部样式 */

header {
    position: relative;
    width: 100%;
    padding: 0 5px;
    color: #fff;
}

.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: 60px;
}

.header-pc {
    max-width: 1300px;
    margin: 0 auto;
}

.branch-nav {
    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-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
    height: 60px;
}

.nav-home,
.nav-list,
.category-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;
    margin: 0 20px;
    height: 60px;
    line-height: 60px;
    width: auto;
}

.category-label {
    height: 60px;
    line-height: 60px;
    width: 100px;
}

.nav-home .home-icon,
.category-icon,
.category-down-icon {
    margin: 0 10px;
    height: 20px;
    width: 20px;
}

.nav-home .home-icon {
    background-image: url(../../images/home-white.55236a3.png);
}

.nav-list .category-icon {
    background-image: url(../../images/category.1fab945.png);
}

.nav-list .category-down-icon {
    background-image: url(../../images/down.33f7b6b.png);
}

.category-down-icon {
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease;
    display: inline-block;
}

.category-wrapper:hover .category-down-icon {
    -webkit-transform: rotateX(180deg);
            transform: rotateX(180deg);
}

.category-wrapper {
    position: relative;
    display: inline-block;
}

.nav-category-list {
    display: none;
    position: absolute;
    min-width: 250px;
    top: 100%;
    left: 0;
    background: white;
    color: #666666;
    border: 1px solid #ccc;
    z-index: 10;
    padding: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.category-wrapper:hover .nav-category-list {
    display: block;
}

.gba-item {
    height: 40px;
    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;
    -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 {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
    padding-left: 10px;
    font-weight: 600;
}

.gba-item .gba-count {
    width: 20px;
    margin: 0 10px;
    text-align: right;
    color: #9f9f9f;
}

/* 搜索框 */

.search-box {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    position: relative;
    max-width: 400px;
}

.search-input {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
    text-indent: 30px;
    max-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-input:focus {
    outline: none;
}

.header-pc .search-btn {
    position: absolute;
    width: 25px;
    height: 25px;
    top: 50%;
    left: 10px;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    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-btn.menu-icon {
    background-image: url(../../images/search.ae09478.png);
}

.mobile-search-btn.close-icon {
    background-image: url(../../images/close-white.27d0d87.png);
    background-size: 100%;
}

.mobile-search-box {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    padding: 10px 20px;
    background-color: #fff;
    width: 100vw;
    z-index: 100;
}

.mobile-search-box .search-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    height: 40px;
    line-height: 40px;
    padding: 0 20px;
    color: white;
    cursor: pointer;
    border-radius: 25px;
    -webkit-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease;
}

.mobile-search-box .search-input {
    text-indent: 0;
    border: none;
    margin: 0 auto;
    width: 100%;
    border-radius: 25px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 6px 0px;
}

.mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .5);
    z-index: 998;
    display: none;
}

body.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.search-mask {
    position: fixed;
    top: 120px;
    left: 0;
    width: 100vw;
    height: -webkit-calc(100vh - 120px);
    height: calc(100vh - 120px);
    background: rgba(0, 0, 0, .5);
    z-index: 998;
    display: none;
}

/* 侧边栏 */

.sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100vh;
    background: #fff;
    -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.3979c2f.png);
    cursor: pointer;
}

.sidebar-container .list-canvas {
    width: 95%;
    margin: 10px auto;
    padding: 5px 10px;
    color: rgba(205, 217, 229, 0.7);
    border-radius: 10px;
    color: #333968;
}

.list-canvas .tag-icon,
.list-canvas .gba-icon {
    width: 30px;
    height: 30px;
    margin: 0 7px;
}

.list-canvas .menu-tag,
.list-canvas .gba-item {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    width: 100%;
    height: 45px;
    margin: 10px;
    background-color: transparent;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 6px 0px;
}

.menu-tag .home-icon {
    background-image: url(../../images/home.fa9d205.png);
}

.menu-tag .picks-icon {
    background-image: url(../../images/EditorPicks.3e8dc5e.png);
}

.menu-tag .top-icon {
    background-image: url(../../images/TopGames.338d612.png);
}

.menu-tag .hot-icon {
    background-image: url(../../images/HotGames.3b1bd29.png);
}

.menu-tag .new-icon {
    background-image: url(../../images/NewGames.3f1a5ca.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-bottom {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    width: 100%;
    min-height: 60px;
    margin: 70px auto 0;
    padding: 20px;
    font-size: 12px;
    color: #fff;
}

.gba-bottom-container {
    max-width: 1300px;
    margin: 5px auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
}

.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 {
    width: 500px;
    -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 {
    text-wrap: nowrap;
    margin: 0 10px;
    color: #fff;
}

/* 游戏常规盒子样式 */

.common-card {
    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: 13%;
    margin: 0.643%;
    padding: 5px;
    border-radius: 15px;
    overflow: hidden;
    -webkit-transition: -webkit-transform .2s;
    transition: -webkit-transform .2s;
    transition: transform .2s;
    transition: transform .2s, -webkit-transform .2s;
    position: relative;
    color: #464d4e;
}

.common-card .game-card-item {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 25px;
    background-position: center;
    background-size: cover;
    background-image: url(../../images/loading.e29b847.gif);
    -webkit-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease;

}

.common-card .game-container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    width: 100%;
}

.common-card .game-info {
    width: 100%;
    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;
}

.common-card .game-icon,
.common-card .game-btn,
.common-card .game-play {
    display: none;
}

.common-card .game-name {
    max-width: 100%;
    margin: 5px 0;
    line-height: 18px;
    padding-left: 5px;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.game-list-box3 .common-card .game-name {
    height: 20px;
}

.common-card .game-score {
    width: 100%;
    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-left: 5px;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
            justify-content: space-between;
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
}

.game-score .sdiv {
    min-width:50%;
    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;
}

.common-card .game-score .star-icon {
    width: 15px;
    height: 15px;
    margin: 3px;
    background-image: url(../../images/star-icon.8607cc3.png);
    background-position: center;
}

.common-card:hover {
    background-color: #f2f2f2;
}

.common-card:hover .game-img {
    background-size: 120%;
}

.common-card:hover .game-name {
    color: #8411fb;
    font-weight: 600;
}

/* 游戏卡片样式 */

.box-top-image-card .game-card-item {
    aspect-ratio: 1.3;
}

.box-top-image-card .game-icon {
    display: inline-block;
    width: 50px;
    aspect-ratio: 1;
    border-radius: 12px;
}

.box-top-image-card .game-container {
    margin-top: 10px;
    -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;
}

.box-top-image-card .game-container .game-btn {
    color: #484848;
    border: 1px solid #484848;
}

.box-top-image-card:hover .game-btn {
    background-color: #8411fb;
    color: #fff;
}

.gba-main {
    max-width: 1300px;
    min-height: -webkit-calc(100vh - 70px);
    min-height: calc(100vh - 70px);
    margin: 10px auto 0;
    padding: 5px 20px;
    color: #fff;
    border-radius: 10px;
}

@media screen and (max-width:1200px) {
    .common-card {
        width: 18%;
        margin: 1%;
    }

    .desc-text .desc-game-name {
        font-size: 16px;
    }
}

@media screen and (max-width:900px) {

    .gba-main {
        margin-top: 0px;
    }

    .gba-bottom-container {
        -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 {
        -moz-box-sizing: border-box;
             box-sizing: border-box;
        padding: 0 20px;
    }

    .gba-item .gba-icon-name {
        font-size: 14px;
    }

    .gba-cp-box {
        width: 100%;
    }

    .nav-home,
    .nav-list,
    .category-menu {
        margin: 0 5px;
    }
}

@media screen and (max-width:470px) {

    .gba-aside {
        width: 90%;
    }

    .common-card {
        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;
    }

    .common-card .game-name {
        font-size: 15px;
    }
}
.main-game-list,
.main-category-list {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
}

.gba-title {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
}

.gba-title p {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
     -moz-box-flex: 1;
          flex: 1;
}

.gba-title .gba-more {
  font-size: 14px;
}

.game-list-box3 .game-card {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
}

.full-background-card {
  position: relative;
  border: 1px solid #ccc;
  border-radius: 25px;
  overflow: hidden;
  width: 23%;
  margin: 1%;
  aspect-ratio: 1.3;
}

.full-background-card .game-card-item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-transition: background-size 0.3s ease;
  transition: background-size 0.3s ease;
  z-index: 0;
}

.full-background-card .game-container {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 64px;
  background-color: rgba(0, 0, 0, .7);
  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: 0 12px;
}

.full-background-card .game-container .game-icon {
  min-width: 78px;
  aspect-ratio: 1;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, .3);
  border-radius: 25px;
  overflow: hidden;
  border: 2px solid rgba(0, 0, 0, 0);
  position: relative;
  bottom: 12px;
  margin-right: 8px;
  border: 2px solid transparent;
  -webkit-transition: border-color 0.3s ease;
  transition: border-color 0.3s ease;
}

.box-top-image-card .game-container .game-info,
.full-background-card .game-container .game-info {
  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;
}

.box-top-image-card .game-info .game-name,
.full-background-card .game-info .game-name {
  font-size: 12px;
  font-weight: bold;
  text-wrap: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.box-top-image-card .game-container .game-rating,
.full-background-card .game-container .game-rating {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  gap: 2px;
}

.box-top-image-card .game-container .game-score,
.full-background-card .game-container .game-score {
  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;
  gap: 2px;
}

.full-background-card .game-container .star-icon {
  width: 20px;
  height: 20px;
  background-image: url(../../images/star-white.baed6d6.png);
}

.game-container .game-btn {
  display: inline-block;
  color: #d2d2d2;
  padding: 0 10px;
  border-radius: 14px;
  -webkit-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
  text-align: center;
  line-height: 20px;
  height: 20px;
  width: 40px;
  border: 1px solid #d2d2d2;
  margin: 10px 2px;
}

.full-background-card .game-play {
  display: none;
}

.box-top-image-card:hover .game-card-item,
.full-background-card:hover .game-card-item {
  background-size: 110%;
}

.full-background-card:hover .game-icon {
  border-color: #8411fb;
}

.full-background-card:hover .game-btn {
  background-color: #8411fb;
}

.full-background-card:hover {
  cursor: pointer;
}

.box-top-image-card {
  width: 23%;
  margin: 1%;
}

.btxt {
  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;
}

.bt_iframe {
  width: 1300px;
  height: 1860px;
  overflow: hidden;
  margin-bottom: 0;
}

@media screen and (max-width:900px) {

  .full-background-card,
  .box-top-image-card {
    min-width: 200px;
  }

  .game-list-box1,
  .game-list-box3 {
    -webkit-flex-wrap: nowrap;
            flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media screen and (max-width:470px) {

  .main-menu {
    top: 25px;
    left: 15px;
  }

  .main-category-list .gba-item,
  .main-game-list .gba-child {
    width: 30% !important;
    margin: 1.667% !important;
  }
}
