/* 从cyberapk复制的基本样式 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

li, ul {
  list-style: none;
}

img {
  border: none;
  vertical-align: middle;
}

.main {
  margin: 0 auto;
  min-height: calc(100vh - 205px);
  width: calc(100% - 40px);
}

.main .item {
  margin-bottom: 10px;
  width: 100%;
  background-color: transparent !important;
}

.main .Category {
  display: flex !important;
  flex-wrap: wrap;
}

@media screen and (min-width: 600px) {
  .main {
    max-width: 600px;
  }
}

@media screen and (min-width: 900px) {
  .main {
    -moz-column-count: 1 !important;
    column-count: 1 !important;
    max-width: 100% !important;
  }
  
  .main .item {
    background-color: transparent !important;
    padding: 0 1vh;
  }
  
  .game-list-box .game-container .game-list {
    padding: 1vh .4vh 0;
    width: 10%;
  }
  
  .game-list-box .game-container .game-list .game-info .game-icon {
    aspect-ratio: 1;
    border: none;
    border-radius: 12px;
  }
  
  .game-list-box .game-container .game-list .game-info .game-icon img {
    aspect-ratio: 1;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  
  .game-list-box .game-container .game-list .game-info .game-name {
    font-size: 13px;
    margin-top: 10px;
  }
}

/* 字体导入 */
@font-face {
  font-family: Nunito;
  font-weight: 600;
  src: url(/fonts/Nunito-VariableFont_wght.ttf) format("truetype");
}

@font-face {
  font-family: Jua;
  font-weight: 900;
  src: url(/fonts/Jua-Regular.ttf) format("truetype");
}

@font-face {
  font-family: VarelaRound;
  font-weight: 400;
  src: url(/fonts/VarelaRound-Regular.ttf) format("truetype");
}

@font-face {
  font-family: site-title;
  font-weight: 900;
  src: url(/fonts/Mitr-Medium.ttf) format("truetype");
}

@font-face {
  font-family: Audiowide;
  font-weight: 900;
  src: url(/fonts/Audiowide.ttf) format("truetype");
}

@font-face {
  font-family: PressStart2P;
  font-weight: 900;
  src: url(/fonts/PressStart2P.ttf) format("truetype");
}

/* 主题样式 */
body {
  background-color: #000e40;
  color: #c9c4f4;
}

.main {
  min-height: calc(100vh - 175px);
}

/* 头部样式 */
#header-9 {
  align-items: center;
  color: #c9c4f4;
  display: flex;
  height: 4rem;
  justify-content: center;
  line-height: 4rem;
  padding: 0 1rem;
  text-align: center;
}

#header-9 .back, #header-9 .cate_img, #header-9 .search_img {
  align-items: center;
  display: flex;
  justify-content: center;
  width: 28px;
  cursor: pointer;
}

#header-9 .title {
  color: #c9c4f4;
  display: block;
  flex: 1;
  font-size: 1.3rem;
  font-weight: 700;
}

/* 搜索框样式 */
.search-container {
  align-items: center;
  display: flex;
  height: 2.5rem;
  justify-content: space-between;
  margin: 20px auto;
  padding: 0 .5rem;
  width: calc(100% - 40px);
}

.search-container .search-div {
  flex: 1;
  height: 100%;
  margin-right: 10px;
  position: relative;
}

.search-container .search-div svg {
  height: 24px;
  left: 12px;
  position: absolute;
  top: 50%;
  transform: translateY(-12px);
  width: 24px;
}

.search-container .search-div input {
  background-color: hsla(0, 0%, 93%, .667);
  border: none;
  border-radius: 20px;
  height: 100%;
  padding: 10px 10px 10px 40px;
  width: 100%;
}

.search-container span {
  text-align: center;
  width: 3rem;
  cursor: pointer;
}

/* 分类菜单样式 */
.classify-banner {
  background: rgba(0, 0, 0, .5);
  display: none;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000000;
}

.classify-banner .classify-banner-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 250px;
  height: 100%;
  background: linear-gradient(135deg, rgba(28, 35, 60, 0.98), rgba(40, 50, 80, 0.98));
  box-shadow: 4px 0 10px rgba(0, 0, 0, 0.3);
  padding: 20px 0;
  overflow-y: auto;
  border-right: 2px solid rgba(255, 215, 0, 0.3);
}

.classify-banner .classify-banner-box .classify-banner-homes {
  align-items: center;
  background: var(--gradient-victory);
  border: 2px solid var(--victory-gold);
  border-radius: 17px;
  color: #ffffff;
  display: flex;
  font-weight: 700;
  justify-content: center;
  padding: 6px;
  width: 100%;
}

.classify-banner .classify-banner-box .classify-banner-homes .iconfont {
  color: #ffffff;
  font-size: 19px;
  margin-right: 4px;
}

.classify-banner .classify-banner-box .classify-specific li {
  margin-top: 12px;
  width: 100%;
}

.classify-banner .classify-banner-box .classify-specific li a {
  color: #ffffff;
  display: block;
  padding: 10px 15px;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: capitalize;
  width: 100%;
  overflow: hidden;
  transition: all 0.2s ease;
}

.classify-banner .classify-banner-box .classify-specific li a:hover {
  background: rgba(255, 215, 0, 0.2);
  transform: translateY(-2px);
}

.classify-banner.act {
  display: block;
}

/* 游戏列表样式 */
.game-list-box {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.game-list-box .game-list-name {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: .5px;
  padding-left: .5rem;
}

.game-list-box .game-play, .game-list-box .game-star {
  display: none;
}

.game-list-box .game-container {
  display: flex;
  flex-wrap: wrap;
  gap: 5%;
  width: 100%;
}

.game-list-box .game-container .game-list {
  box-sizing: border-box;
  padding-bottom: 15px;
  width: 30%;
}

.game-list-box .game-container .game-list .game-box {
  box-shadow: none;
}

.game-list-box .game-container .game-list .game-info .game-icon {
  aspect-ratio: 1;
  border: 3px solid #fff;
  border-radius: 24px;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .2);
  overflow: hidden;
  width: 100%;
  position: relative;
}

.game-list-box .game-container .game-list .game-info .game-icon img {
  aspect-ratio: 1;
  height: 100%;
  width: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.game-list-box .game-container .game-list .game-info .game-name {
  color: #ccc;
  font-size: 12px;
  margin-top: 8px;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 5px;
}

/* 轮播图样式 */
.banner-title {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: .5px;
  margin-bottom: 10px;
}

.swiper {
  border-radius: 15px;
  box-shadow: 0 3px 18px rgba(0, 0, 0, .161);
  height: 20vh;
  width: 100%;
  background-color: hsla(0, 0%, 100%, .667);
}

.swiper .swiper-slide {
  align-items: center;
  display: flex;
  justify-content: center;
}

.swiper .swiper-slide .swiper-slide-link {
  display: block;
  height: 100%;
  width: 100%;
}

.swiper .swiper-slide .swiper-slide-img {
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  width: 100%;
}

/* 页脚样式 */
#footer-9 {
  font-size: 14px;
  padding: 30px 0;
  width: 100%;
}

#footer-9 .foot-link {
  display: flex;
  justify-content: space-around;
  margin-bottom: 10px;
  padding: 0 4rem;
}

#footer-9 .foot-link a {
  color: #c9c4f4;
  text-decoration: underline;
}

#footer-9 p {
  color: #c9c4f4 !important;
  text-align: center;
  width: 100%;
}

/* 响应式样式 */
@media screen and (min-width: 600px) and (max-width: 899px) {
  .game-list-box .game-container .game-list {
    width: 20%;
  }
  
  .game-list-box .game-container {
    gap: 6.66%;
  }
  
  .game-list-box .game-container .game-list .game-info .game-icon {
    border-radius: 16px;
  }
}

@media screen and (min-width: 1440px) {
  .game-list-box .game-container {
    gap: 1.5%;
  }
  
  .game-list-box .game-container .game-list {
    width: 7%;
  }

  .game-list-box .game-container .game-list .game-info .game-icon {
    border-radius: 16px;
  }
  
  .game-list-box .game-container .game-list .game-info .game-name {
    font-size: 14px;
  }
} 