@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: 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;
}

.bgi {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(../../images/loading.e29b847.gif);
}

.title p {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
}

.title {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    width: 100%;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    margin: 10px 0;
    padding: 0 10px;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    border-radius: 20px;
    padding: 5px 20px;
}

.more {
    display: inline-block;
    margin: 0 auto;
    padding: 8px 24px;
    background-color: #ee5239;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.more:hover {
    -webkit-transform: translateY(-2px);
            transform: translateY(-2px);
}

.main-game-box {
    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;
}

/* 头部样式 */

header {
    position: relative;
    width: 100%;
    color: #fff;
}

.header-box {
    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;
}

.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;
}

.search-enter {
    width: 40px;
    aspect-ratio: 1;
    background-image: url(../../images/search.5757dec.png);
    background-size: 70%;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    cursor: pointer;
}

.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: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
            justify-content: space-between;
    border-radius: 0 0 30px 0;
}

.header-menu {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    margin: 0 20px;
    color: #333;
    font-weight: 600;
}

.nav-item {
    margin: 0 5px;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
    padding-bottom: 5px;
    border-bottom: 1px solid transparent;
    border-bottom-color: #5d5d5d;
}

.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: 15%;
    right: 10%;
    width: 40px;
    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;
    width: 80%;
    top: 20%;
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    display: none;
    width: 60%;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    height: 40px;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    background-color: #fff;
    margin: 10px auto;
    border-radius: 20px;
    z-index: 999;
}

.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 20px;
    height: 90%;
    margin-right: 2px;
    background-color: #796acf;
    border-radius: 20px;
}

.search-btn {
    width: 25px;
    aspect-ratio: 1;
    background-image: url(../../images/search.5757dec.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: 0;
    display: inline-block;
    margin: 0 1em;
    text-decoration: none;
}

#search-suggestions {
    position: absolute;
    width: 92%;
    top: 39px;
    left: 4%;
    /* transform: translateX(-50%); */
    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;
}

.aside-menu {
    /* display: none; */
    width: 60px;
    aspect-ratio: 1;
    background-image: url(../../images/menu.7889495.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 80%;
    background-color: #e93737;
}

.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%;
}

/* 侧边栏 */

.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;
    border-radius: 10px;
    color: #fff;
}

.list-canvas .tag-icon,
.list-canvas .icon {
    width: 30px;
    height: 30px;
    margin: 0 7px;
    border-radius: 5px;
}

.list-canvas .menu-tag,
.list-canvas .item {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    width: 100%;
    height: 45px;
    margin: 10px;
    background-color: rgba(0, 0, 0, 0.514);
    -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);
}

/* 网页声明 */

.bottom {
    background-color: #333;
    color: #fff;
    padding: 30px;
    font-family: Arial, sans-serif;
}

.bottom-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;
    margin-bottom: 30px;
}

.mission-section {
    width: 55%;
}

.mission-section h2 {
    color: #ff5722;
    font-size: 20px;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid #ff5722;
}

.mission-section p {
    line-height: 1.6;
    font-size: 14px;
}

.most-clicked-section {
    width: 30%;
}

.most-clicked-section h2 {
    color: #ff5722;
    font-size: 20px;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid #ff5722;
}

.most-clicked-section ul {
    list-style: none;
    padding: 0;
}

.most-clicked-section li {
    margin-bottom: 5px;
    font-size: 14px;
}

.bottom-footer {
    height: 60px;
    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;
    padding-top: 20px;
}

.bottom-footer p {
    font-size: 14px;
    color: #aaa;
}

.footer-links a {
    color: #ff5722;
    text-decoration: none;
    margin: 0 5px;
    font-size: 14px;
}

.footer-links .awebsite {
    color: #626262;
    margin-right: 30px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-links span {
    color: #aaa;
}

.footer-logo img {
    height: 40px;
}

.main-game-list,
.gamebox,
.game-recommend-list,
.recommend-list {
    width: 100%;
    display: grid;
    gap: 8px;
    padding: 0 15px;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-flow: row dense;
    padding-bottom: 20px;

}

.common-card {
    border-radius: 8px;
    position: relative;
    cursor: pointer;
    box-shadow: 0 12px 12px rgba(0, 0, 0, 0.1);
    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-card-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: 3px solid #000;
}

.common-card .game-name {
    color: #fff;
    font-size: 10px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
}

.common-card .game-info {
    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;
}

.common-card:hover .game-info {
    opacity: 1;
}

.main {
    width: 90%;
    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:900px) {
    .main {
        width: 100%;
    }

    .header-box .header-menu {
        display: none;
    }

    .main-game-list,
    .gamebox,
    .game-recommend-list,
    .recommend-list {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media screen and (max-width:470px) {

    .aside,
    .search-box {
        width: 90%;
    }

    .bottom .fav {
        height: 60px;
    }

    .sidebar {
        width: 90%;
    }

    .bottom-container,
    .bottom-footer {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
           -moz-box-orient: vertical;
           -moz-box-direction: normal;
                flex-direction: column;
        margin: 0;
        height: auto;
    }

    .mission-section,
    .most-clicked-section,
    .footer-links {
        width: 100%;
        margin-bottom: 20px;
    }

    .main-game-list,
    .gamebox,
    .game-recommend-list,
    .recommend-list {
        grid-template-columns: repeat(3, 1fr);
    }
}
.main-game-box:nth-child(5) {
  background-color: #323232;
  padding: 10px 20px;
  border-radius: 8px;
  margin-top: 30px;
}

.category-box {
  background-color: #323232;
  margin: 10px 0;
  padding: 20px;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-auto-flow: row dense;
}

.category-box .item {
  background-color: #fff;
  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;
  padding: 10px;
}

.category-box .item .icon {
  width: 80%;
  aspect-ratio: 1;
}

.category-box .item .icon-name {
  font-size: 12px;
  color: #333;
  text-align: center;
  margin-top: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media screen and (max-width:900px) {}

@media screen and (max-width:470px) {}
