header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  margin-bottom: 0;
  z-index: 30;
}

.banner {
  height: 12.52rem;
  background: url("../images/banner-bg.png") center 0 no-repeat;
  background-size: cover;
}
.banner .slogan {
  max-width: 96%;
  margin: 2.5rem auto 0;
  display: block;
}
.banner .btn-video {
  display: block;
  margin: 1rem auto 2rem;
  width: 1rem;
  height: 1rem;
  background: url("../images/btn-video.png") 0 0 no-repeat;
  background-size: contain;
}
.banner .btn-register {
  display: block;
  width: 4.81rem;
  height: 0.74rem;
  line-height: 0.74rem;
  text-align: center;
  font-size: 0.36rem;
  color: #ffeab3;
  margin: 0 auto;
  background: url("../images/btn-pre.png") 0 0 no-repeat;
  background-size: contain;
}
.banner .btn-gift {
  position: absolute;
  right: 10px;
  top: 4.54rem;
  cursor: pointer;
}
.banner .btn-gift img {
  display: block;
  margin: 0 auto;
}
.banner .btn-gift .gift-img {
  width: 1.3rem;
  margin-bottom: -0.25rem;
  animation: shake 0.4s ease-out infinite;
}
.banner .btn-gift .gift-txt {
  width: 1.71rem;
  transition: transform 0.3s linear;
}
.banner .btn-gift .gift-txt:hover {
  transform: translateZ(0) scale(1.02);
}

.container {
  background: url("../images/bg.jpg") center 0 repeat-y fixed;
  background-size: cover;
}

.p1 {
  position: relative;
  margin-bottom: 0.8rem;
  overflow: hidden;
}
.p1 .tit {
  position: relative;
  width: 4.98rem;
  margin-top: 1.9rem;
  margin-left: 0.5rem;
  z-index: 1;
}
.p1 .img {
  position: absolute;
  right: -0.8rem;
  top: 0;
  height: 5.95rem;
}
.p1 .swiper {
  position: relative;
  width: 7rem;
  height: 3.97rem;
  padding: 0.06rem 0.07rem 0.07rem 0.07rem;
  margin: 1.85rem auto 0;
  box-sizing: border-box;
}
.p1 .swiper::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url("//www.mythofempires.cn/static/web202603/images/swiper-border.png") 0 0 no-repeat;
  background-size: 100%;
}
.p1 .swiper img {
  width: auto;
  height: 100%;
  margin: 0 auto;
}
.p1 .swiper-container {
  width: 100%;
  height: 100%;
}
.p1 .swiper-pagination {
  position: relative;
  margin-top: 10px;
}

.newsArea {
  padding: 0 0.3rem;
  margin-bottom: 1.6rem;
}
.newsArea ol {
  font-size: 0.36rem;
  color: #666;
  vertical-align: middle;
  margin-bottom: 0.4rem;
}
.newsArea ol li {
  display: inline-block;
  margin: 0 5px;
  padding: 6px 15px;
}
.newsArea ol li.active {
  color: #000;
  background: url("//www.mythofempires.cn/static/web202603/images/news-tab-activebg.png") center no-repeat;
  background-size: contain;
}
.newsArea .sub {
  margin-bottom: 10px;
}
.newsArea .sub i {
  display: inline-block;
  margin: 0 5px;
}
.newsArea .date {
  color: #999;
}
.newsArea .tag {
  color: #7e6d4d;
}
.newsArea ul {
  display: none;
}
.newsArea ul.show {
  display: block;
}
.newsArea ul li {
  margin-bottom: 0.9rem;
}
.newsArea ul h3 {
  font-size: 0.3rem;
  line-height: 1.6;
  margin-bottom: 10px;
  max-height: 1rem;
  overflow: hidden;
  text-overflow: unset;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.newsArea ul h3 a {
  color: #ccc;
}
.newsArea ul p {
  line-height: 1.8;
  max-height: 1.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.newsArea ul p a {
  color: #999;
}
.newsArea .btn-more {
  display: block;
  width: 3.01rem;
  height: 0.66rem;
  line-height: 0.66rem;
  text-align: center;
  background: url("../images/btn-more.png") 0 0 no-repeat;
  background-size: contain;
  font-size: 0.3rem;
  color: #cbbfa6;
  margin: 0 auto;
}

.feature {
  margin-bottom: 1.8rem;
}
.feature .swiper {
  position: relative;
  height: 4.17rem;
  text-align: center;
}
.feature .swiper-container {
  width: 100%;
  height: 100%;
}
.feature .swiper-button-next,
.feature .swiper-button-prev {
  position: relative;
  top: auto;
  opacity: 1;
  margin-top: 0.35rem;
  margin-left: 5px;
  margin-right: 5px;
  display: inline-block;
  left: auto;
  width: 0.95rem;
  height: 0.95rem;
  background-repeat: no-repeat;
  background-size: contain;
}
.feature .swiper-button-prev {
  background-image: url("../images/pn-left.png");
}
.feature .swiper-button-next {
  background-image: url("../images/pn-right.png");
}
.feature .swiper-button-prev.swiper-button-disabled {
  background-image: url("../images/pn-left-no.png");
}
.feature .swiper-button-next.swiper-button-disabled {
  background-image: url("../images/pn-right-no.png");
}
.feature .imgSlogan img {
  width: 6rem;
  margin: 0 auto 0.8rem;
  display: none;
}
.feature .imgSlogan img.show {
  display: block;
  animation: fadeInRight 0.9s 0.2s both;
}

.giftBox .wrap {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  padding: 0.5rem 0.25rem 0.4rem 0.25rem;
  overflow-y: scroll;
}
.giftBox .cont {
  position: relative;
  margin: 0 auto;
}
.giftBox .close {
  /*left: .42rem;
  top: .82rem;
  background-image: url("../images/gift/close.png");*/
  position: absolute;
  right: 0.27rem;
  top: 0.27rem;
  width: 0.81rem;
  height: 0.81rem;
}
.giftBox {
  /*.gift-tit{
      margin-top: .82rem;
      margin-left: 1.4rem;
      height: .62rem;
  }
  p{
      color: #978364;
      margin-left: .42rem;
      line-height: 1.8;
      margin-top: .35rem;
      padding-bottom: 13px;
  }
  .gift-img{
      padding: .4rem;
      background-color: rgba(0,0,0,.2);
  }*/
}
.giftBox .swiper .swiper-pagination-bullet {
  background-image: url("//www.mythofempires.cn/static/web202603/images/dot1.png");
}
.giftBox .swiper .swiper-pagination-bullet-active {
  background-image: url("//www.mythofempires.cn/static/web202603/images/dot_active1.png");
}
@keyframes shake {
  0%, 100% {
    transform: rotate(-3deg);
  }
  50% {
    transform: rotate(3deg);
  }
}/*# sourceMappingURL=index.css.map */