@charset "utf-8";
@import "/public/new20198/css/integration/commom.css";
@import "/public/new20198/css/integration/swiper.min.css";
@import "/public/new20198/css/integration/_modal_success.css";
@import "/public/new20198/css/integration/_modal_rule.css";
@keyframes hammer-move {
  100% {
    transform: rotate(-10deg);
  }
}
@keyframes hammer-hit {
  100% {
    transform: rotate(-25deg);
  }
}
@keyframes egg-jump {
  100% {
    top: 10px;
  }
}
body {
  // background: #fe8227;
}
.eggtest{
width: 100px;
height: 100px;
background-color: red;
}
#container {
  width: 750px;
  height: 1200px;
  margin: 0 auto;
  background: url(/new20198/images/index/integration/egg/egg-bg.jpg) no-repeat center;
  background-size: 100% auto;
}
.header .rules,
.header .personal {
  position: relative;
  z-index: 3;
  margin-top: 52px;
  width: 82px;
  height: 56px;
  background-color: #ff9d1b;
  text-align: center;
  line-height: 56px;
  font-size: 24px;
  color: #fff;
}
.header .rules {
  background: #ff9e9d;
  float: left;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}
.header .personal {
  float: right;
  background-color: #fdc434;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}
.main {
  width: 100%;
  // height: 950px;
  position: absolute;
  left: 0;
  bottom: 0;
}
.main .tips {
  width: 250px;
  margin: 45px auto 0;
  background-color: #ff6d69;
  text-align: center;
  font-size: 20px;
  line-height: 40px;
  color: #fff;
  border-radius: 20px;
}
.main .tips #count {
  display: inline-block;
  margin: 0 5px;
}
.main #hammer {
  position: absolute;
  // right: 50px;
  top: -50px;
  left: 700px;
  z-index: 5;
  width: 110px;
  height: 120px;
  background: url(/new20198/images/index/integration/egg/hammer.png) no-repeat center;
  background-size: contain;
  transform-origin: right bottom;
  transition: 0.5s ease-in-out;
}
.main #hammer.shake {
  animation: hammer-move 0.5s linear infinite alternate;
}
.main #hammer.hit {
  animation: hammer-hit 0.2s 1s alternate;
}
.main .eggs-wrap {
  width: 100%;
  margin: 0 auto;
  // position: relative;
  margin-top: 58px;
  top: 100px;
  margin-left: 51px;
}
.main .eggs-wrap:after {
  content: "";
  clear: both;
  display: block;
  visibility: hidden;
  height: 0;
}
.main .eggs-wrap li {
  position: relative;
  float: left;
  width: 443px;
  height: 297px;
  // margin: 16px 45px;
  margin-right: -148px;

}
.main .eggs-wrap li img {
    width: 443px;
  cursor: pointer;

  // height: 51px;
}
.main .eggs-wrap .win-msg{
text-align: center;
width: 119px;
margin: 0 auto;
font-size: 22px;
color: #fff;
position: absolute;
z-index: 9;
left: 44%;
top: 5%;
font-family: ' Source Han Serif SC';

}
.main .eggs-wrap .again-bit{
position: absolute;
display: none;
z-index: 9;
left: 40%;
top: 77%;
text-align: center;
font-size: 22px;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
color: #FFFFFF;
cursor: pointer;
line-height: 39px;
width: 150px;
height: 39px;
background: #DC362F;
box-shadow: 0px 4px 15px 1px #D22720;
border-radius: 50px 50px 50px 50px;
opacity: 1;
border: 1px solid #F3B678;
}
.main .eggs-wrap li img.gold-egg {
  width: 212px;
  height: 297px;
  position: relative;
  left: 150px;
  // top: 20px;
  transform-origin: center bottom;
  transition: top 0.5s linear;
}
.main .eggs-wrap li img.mingold-egg{
    width: 443px;
    height: 547px;
    position: relative;
    top: -195px;
    left: 33px;
  // top: 20px;
  transform-origin: center bottom;
  transition: top 0.5s linear;
}


.main .eggs-wrap li img.gold-egg.broken {
  width: 443px;
  height: 519px;
  position: relative;
  top: -223px;
  left: 33px;
  // transform: translate3d(0, 4px, 0);
}
.main .egg-bit{
  width: 405px;
  margin: 0 auto;
  cursor: pointer;

}
.main .eggs-wrap li .info {
  display: none;
  position: absolute;
  left: -12px;
  top: 25px;
  width: 73px;
  height: 44px;
  background: url(/new20198/images/index/integration/egg/tips.png) no-repeat center;
  background-size: contain;
}
.main .eggs-wrap li.jump img.gold-egg {
  animation: egg-jump 0.5s infinite alternate;
}
.main .eggs-wrap li.jump .info {
  display: block;
}
.main .awards {
  position: absolute;
  left: 0;
  bottom: -10px;
  padding-top: 25px;
  width: 100%;
  height: 200px;
  z-index: 1;
  background-color: #fe8227;
}
.main .awards .prize {
  position: absolute;
  left: 0;
  top: 0;
  width: 96px;
  height: 102px;
}
.main .awards .swiper-container {
  margin-left: 60px;
  width: 100%;
  height: 175px;
}
.main .awards .swiper-container .swiper-slide {
  position: relative;
  margin: 0;
  width: 130px;
  height: 180px;
  background-image: none;
  padding: 15px 15px 0;
  flex-shrink: 0;
}
.main .awards .swiper-container .swiper-slide img {
  display: block;
  width: 70px;
  height: 70px;
  padding: 15px;
  margin-bottom: 10px;
  background-color: #fff;
  border: 2px solid #c86400;
  box-sizing: content-box;
}
.main .awards .swiper-container .swiper-slide p {
  text-align: center;
  font-size: 20px;
  white-space: nowrap;
  color: #fff;
}
