/* #region 伪元素清除浮动 */
.clearfix::after {
  content: '';
  display: bolck;
  height: 0;
  clear: both;
  visibility: hidder;
}

.clearfix {
  *zoom: 1;
}

/* #endregion */

/* #region 首页-游戏分类样式 */
#index ul {}

#index ul>li {
  margin-bottom: 4vw;
}

#index ul>li>a {
  position: relative;
}

#index ul>li>a>.text {
  width: 95%;
  box-sizing: content-box;
  position: absolute;     /* 添加 position 以配合 left+transform */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#index ul>li>a>.background_img {
  width: 100%;
  height: 20vw;
  overflow: hidden;
}

#index ul>li>.game_category {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  padding-bottom: 4vw;
  border-bottom-left-radius: 4vw;
  border-bottom-right-radius: 4vw;
}

#index ul>li>.game_category .game_category_item {
  box-sizing: border-box;
  padding-left: 3.5vw;
  padding-top: 3.5vw;
  height: calc(100vw / 3);
  width: calc(100% / 3);
  min-width: calc(100% / 3);
  max-width: calc(100vw / 3);
}

#index ul>li>.game_category .game_category_item .img_box {
  height: 100%;
  border-radius: 2vw;
  overflow: hidden;
}


#index ul>li>.game_category .game_category_item img {
  max-width: 100%;
  height: 100%;
}

#index ul>li>.game_category .game_category_item:nth-child(3n) {
  padding-right: 3.5vw;
}

/* #endregion */

/* #region 详情页-样式 */
.detail {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding-bottom: 5vw;
}

.detail .item {
  width: 100vw;
  margin: 0 auto;
  padding: 2vw;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  box-sizing: border-box;
  border-radius: 2.8vw;
  background: rgba(33, 42, 82, 0.75);
}

.detail .item .icon {
  -webkit-box-shadow: 2px 2px 5px rgba(153, 153, 153, .5);
  -moz-box-shadow: 2px 2px 5px rgba(153, 153, 153, .5);
  box-shadow: 2px 2px 5px rgba(153, 153, 153, .5);
}

.detail .item .icon {
  width: 28vw;
  height: 28vw;
  overflow: hidden;
}

.detail .item .icon img {
  width: 100%;
}

.detail .item .contents {
  box-sizing: border-box;
  width: 57vw;
  position: relative;
  padding-left: 3vw;
}

.detail .item .contents h1 {
  font-size: 4.72vw;
  color: #fff;
  margin-bottom: 2vw;
}

.detail .item .contents .view {
  font-size: 3.888888vw;
  color: #8f78f1;
  background: url("view.png") no-repeat center left;
  padding: 1vw 0;
  padding-left: 5vw;
  background-size: 4vw;
  margin-bottom: 2vw;
}

.detail .item .contents p {
  font-size: 3.3333333vw;
  color: #424C79;
  margin-bottom: 2vw;
}

.detail .item .contents .btn img {
  width: 100%;
}

.detail .item .contents li {
  float: left;
  width: 5vw;
  list-style: none;
}

.detail .item .contents li img {
  width: 100%;
}

.detail .item .contents .btn {
  right: 1vw;
  width: 14vw;
  bottom: 4.2vw;
  height: 9vw;
  border-radius: 5vw;
}

.content .advertisement {
  width: 100vw;
  height: 10vw;
}

.footer .playBtn {
  display: inline-block;
  height: 12vw;
}

.footer {
  text-align: center;
}

.footer .playBtn .toplay img {
  width: 20vw;
}

.footer .toplay>a {
  color: #fff;
  text-decoration: none;
  border-radius: 2vw;
  font-weight: 600;
  font-size: 5.4vw;
}

.footer .describe {
  padding: 0 2vw;
}

.footer .describe .describe_box {
  text-align: left;
  padding: 2vw 2.5vw;
  border: 2px solid rgba(204, 204, 204, 0.6);
  border-radius: 2vw;
}

.footer .describe .describe_box .sub_title {
  color: #ffff;
  font-weight: bold;
  font-size: 3.6vw;
  margin-bottom: 2vw;
}

.footer .describe .describe_box .describe_txt {
  word-break: break-all;
  font-size: 2.8vw;
  margin-bottom: 2vw;
  color: #b7b7b7;
}

/* #endregion */