body,
html {
  height: 100%;
  overflow: hidden;
  position: relative;
}

body {
  background: url(//game.gtimg.cn/images/wmsj/m/m201806/page-bg.jpg) no-repeat 0 0/100% 100%;
}

#view {
  height: 100%;
  position: relative;
  overflow: hidden;
  -webkit-perspective: 300px;
  perspective: 300px;
}

#mian,
#panoBg,
#tZ,
#sky,
#cloud,
#pano,
.pano {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}


#mian {
  will-change: transform;
}

#tZ {
  transform: translateZ(-150px) rotateY(80deg);
}

#panoBg span,
#key span,
#cloud span {
  position: absolute;
  left: 0;
  top: 0;
  margin: -585px 0 0 -67.5px;
  width: 135px;
  height: 1170px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}


.pano span,
.cloud span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 135px;
  margin-left: -67.5px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#sky span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 135px;
  height: 791px;
  margin-left: -67.5px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#cloud span {
  height: 651px;
}

/* 播放按钮 */
span.play-btn {
  width: 110px;
  height: 102px;
  margin-left: -55px;
  background: url(//game.gtimg.cn/images/wmsj/m/m201806/play_btn.png) no-repeat 0 0/100% 100%;
}

span.play-btn1 {
  transform: translateY(76px) rotateY(-36deg) translateZ(-408px) scale(1);
  animation: scale1 1s linear infinite alternate;
}

span.play-btn2 {
  transform: translateY(-240px) rotateY(-56deg) translateZ(-408px) scale(.8);
  animation: scale2 1s linear infinite alternate;
}

span.play-btn3 {
  transform: translateY(-160px) rotateY(-18deg) translateZ(-408px) scale(1);
  animation: scale3 1s linear infinite alternate;
}

span.play-text {
  width: 0;
  line-height: 30px;
  font-size: 21px;
  margin-left: -75px;
  text-align: center;
  color: #fff;
  background: url(//game.gtimg.cn/images/wmsj/m/m201806/play_text_bg.png) no-repeat 0 0/100% 100%;
  transition: all .3s cubic-bezier(0, 0, 0.29, 1.24);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.play-text.open {
  width: 150px;
}

/* menu-ico */
.menu-ico {
  position: fixed;
  top: .87rem;
  right: .48rem;
  height: .32rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 3;
}

.menu-ico li {
  width: .36rem;
  height: .06rem;
  border-top: .01rem solid #c0c6cc;
  background-color: #fff;
}

.menu-ico li:nth-child(1) {
  animation: menuClose1 .5s cubic-bezier(0.77, 2.05, 0.87, 0.1) forwards;
  -webkit-animation: menuClose1 .5s cubic-bezier(0.77, 2.05, 0.87, 0.1) forwards;
  transform-origin: .3rem center;
}

.menu-ico.open li:nth-child(1) {
  animation: menuOpen1 .5s cubic-bezier(0.77, 2.05, 0.87, 0.1) forwards;
  -webkit-animation: menuOpen1 .5s cubic-bezier(0.77, 2.05, 0.87, 0.1) forwards;
}

.menu-ico li:nth-child(2) {
  transition: opacity .5s cubic-bezier(0.77, 2.05, 0.87, 0.1) forwards;
  opacity: 1;
}

.menu-ico.open li:nth-child(2) {
  opacity: 0;
}

.menu-ico li:nth-child(3) {
  animation: menuClose3 .5s cubic-bezier(0.77, 2.05, 0.87, 0.1) forwards;
  -webkit-animation: menuClose3 .5s cubic-bezier(0.77, 2.05, 0.87, 0.1) forwards;
  transform-origin: .3rem center;
}

.menu-ico.open li:nth-child(3) {
  animation: menuOpen3 .5s cubic-bezier(0.77, 2.05, 0.87, 0.1) forwards;
  -webkit-animation: menuOpen3 .5s cubic-bezier(0.77, 2.05, 0.87, 0.1) forwards;
}

/* 菜单列表 */
.menu-list {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000;
  opacity: .8;
  z-index: 2;
  transform: translateX(100vw);
  transition: transform .5s cubic-bezier(0, 0.23, 0, 0.9);
  z-index: 4;
  display: flex;
}

.menu-list.open {
  transform: translateX(0);
}

.menu-list-close {
  position: absolute;
  top: .4rem;
  left: .4rem;
  width: .7rem;
  height: .75rem;
  text-indent: -9999rem;
  background: url(//game.gtimg.cn/images/wmsj/m/m201806/menu-close.png) no-repeat 0 0/100% 100%;
  animation: move 3s linear infinite alternate;
  -webkit-animation: move 3s linear infinite alternate;
}

.menu-list ul {
  margin: auto 0 auto 1.5rem;
  height: 5.98rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-list ul:before {
  content: "";
  position: absolute;
  top: -3.52rem;
  right: -.86rem;
  width: .09rem;
  height: 12.93rem;
  background: url(//game.gtimg.cn/images/wmsj/m/m201806/line1.png) no-repeat 0 0/100% 100%;
}

.menu-list ul > li {
  color: #fdfcfd;
  line-height: 1.02rem;
  letter-spacing: .1rem;
  font-size: .3rem;
  position: relative;
  text-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: all .3s;
}

.menu-list ul > li:after {
  content: "";
  position: absolute;
  right: -1.3rem;
  top: 0;
  width: 1.02rem;
  height: 1.02rem;
  background: url(//game.gtimg.cn/images/wmsj/m/m201806/icons.png) no-repeat 0 0/8rem 8rem;
}

.menu-list ul > li.active {
  text-shadow: 0 0 .2rem #f7bb0a;
}

.menu-list ul > li.active:before {
  content: "";
  position: absolute;
  top: 50%;
  left: -.56rem;
  width: .36rem;
  height: .1rem;
  transform: translateY(-50%);
  background: url(//game.gtimg.cn/images/wmsj/m/m201806/icons.png) no-repeat -4.68rem -.05rem/8rem 8rem;
}

.menu-list ul > li.active:after {
  width: 1.22rem;
  height: 1.22rem;
  right: -1.4rem;
  top: -.1rem;
}

.menu-list ul > li:nth-child(1):after {
  background-position: -.1rem -.1rem;
}

.menu-list ul > li:nth-child(2):after {
  background-position: -1.32rem -.1rem;
}

.menu-list ul > li:nth-child(3):after {
  background-position: -2.44rem -.1rem;
}

.menu-list ul > li:nth-child(4):after {
  background-position: -3.56rem -.1rem;
}

.menu-list ul > li.active:nth-child(1):after {
  background-position: -.1rem -1.27rem;
}

.menu-list ul > li.active:nth-child(2):after {
  background-position: -1.4rem -1.27rem;
}

.menu-list ul > li.active:nth-child(3):after {
  background-position: -2.67rem -1.27rem;
}

.menu-list ul > li.active:nth-child(4):after {
  background-position: -3.94rem -1.27rem;
}

.menu-list ul a {
  display: block;
  color: inherit;
}

.menu-list ol {
  position: absolute;
  flex-direction: column;
  justify-content: space-between;
  top: -.94rem;
  right: -3.5rem;
  font-size: .24rem;
}

.menu-list ol.role {
  height: 5rem;
}

.menu-list ol.feature {
  height: 3.5rem;
  top: -.45rem
}

.menu-list ol.feature:before {
  top: .05rem;
  height: 3.4rem;
}

.menu-list ol:before {
  content: "";
  position: absolute;
  left: -1rem;
  top: .1rem;
  width: 1rem;
  height: 4.9rem;
  background: url(//game.gtimg.cn/images/wmsj/m/m201806/line2.png) no-repeat 0 0/100% 100%;
}

.menu-list ol > li {
  width: 1.34rem;
  text-align: center;
  letter-spacing: .06rem;
  line-height: 1;
  text-shadow: initial;
}

.menu-list ol > li:not(:first-child) {
  margin: 1.38rem auto 0;
}

.menu-list ol > li.active {
  text-shadow: 0 0 .2rem #f7bb0a;
}

/* 音量 */
.volume-ico {
  position: fixed;
  top: 1.76rem;
  right: .48rem;
  width: .38rem;
  height: .45rem;
  background: url(//game.gtimg.cn/images/wmsj/m/m201806/volume.png) no-repeat 0 0/100% 100%;
  z-index: 3;
}

.volume-ico.play:before {
  content: "";
  position: absolute;
  left: -60%;
  top: -20%;
  width: 160%;
  height: .06rem;
  background-color: #fff;
  transform-origin: right center;
  transform: rotateZ(-60deg);
}

/* 提示层 */
.prompt {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000;
  opacity: .8;
  z-index: 2;
  display: flex;
}

.prompt div {
  margin: 4rem auto 0;
}

.prompt.hide {
  display: none;
}

.prompt p {
  color: #fff;
  font-size: .28rem;
  line-height: .3rem;
}

.prompt i {
  display: block;
  width: 1.5rem;
  height: 1.43rem;
  margin: 0 auto;
  background: url(//game.gtimg.cn/images/wmsj/m/m201806/prompt-ico.png) no-repeat 0 0/100% 100%;
  transition: transform 1.2s;
}

/* 弹窗 */
.dia {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, .8);
  z-index: 4;
  display: flex;
  display: none;
}

.dia-video {
  margin: auto;
  width: 100vw;
  height: 40vh;
  background-color: #000;
  position: relative;
  display: none;
}

.dia-video-box {
  width: 100%;
  height: 100%;
}

.dia-video-close {
  position: absolute;
  right: .1rem;
  top: -.6rem;
  font-size: .7rem;
  line-height: .5rem;
  color: #fff;
  font-style: normal;
}

/* 侧边栏 */
.aside {
  width: 1.04rem;
  height: 3.95rem;
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: url(//game.gtimg.cn/images/wmsj/m/m201806/aside-bg.png) no-repeat 0 0/100% 100%;
  transition: transform .3s;
  transition-timing-function: cubic-bezier(0, 1.24, 0.58, 1);;
}

.aside-in {
  position: absolute;
  left: .34rem;
  top: 1.22rem;
  width: .45rem;
  height: 1.3rem;
  text-indent: -9999rem;
}

.aside-btn {
  text-indent: -9999rem;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: .31rem;
  height: .45rem;
  background: url(//game.gtimg.cn/images/wmsj/m/m201806/aside-btn.png) no-repeat 0 0/100% 100%;
  transition: transform .3s;
}

.aside.in {
  transform: translateY(-50%) translateX(.92rem);
}

.aside.in .aside-btn {
  transform: translateY(-50%) translateX(-.16rem) rotateZ(180deg);
}


.eyes {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 4;
  width: 100vw;
  height: 100vh;
  background: #000;
}

.eyes.bg {
  background: #000 url(//game.gtimg.cn/images/wmsj/m/m201806/eyes-bg.jpg) no-repeat 0 0/100vw 100vh;
}

.eyes-ani {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 5;
  transition-timing-function: cubic-bezier(0.3, 1.05, 0.49,-0.28);
  animation: eyes 2s steps(15) infinite alternate;
  -webkit-animation: eyes 2s steps(15) infinite alternate;
  background-size: 100vw 100vh;
}

.eyes-ani.paused {
  -webkit-animation-play-state: paused;
}

.eyes-ani.running {
  -webkit-animation-play-state: running;
}

.eyes-skip {
  font-size: .26rem;
  color: #fff;
  position: absolute;
  right: .2rem;
  top: .2rem;
  z-index: 5;
  opacity: 0;
  transition: opacity .3s;
}

.eyes-skip.show {
  opacity: 1;
}

