body {
	font-family: "Droid Sans", Roboto, Arial, sans-serif,;
	background: #000;
	font-size: 0.3rem;
	color: #fff;
	padding: 0;
	margin: 0;

}


	
a{

	text-decoration: none;
}


.on_left{
	float: left !important;
}
.on_right{
	float: right !important;
}

.on_center{
	margin: 0.2rem auto !important;
}

.t_center{
	text-align: center !important;
}



.t_left{
	text-align: left !important;
}

	
.t_yellow{
    color: #fecb1e !important}
	
	



/*外层容器*/
.wrap{
	width: 100%;
	height: auto;
	overflow: hidden;
	padding: 0;
	margin: 0;
}






.cash_gift_box_bg{background: url(../images/cash_gift_box_bg.jpg) no-repeat center 0.7rem / 100% auto;
}



/*旋转礼盒*/
.flex {
  display: flex;
  align-items: center;
  justify-content: space-arround;
}

.flex h1 {
	width: 100%;
	margin: -5rem 0 0 0;
	padding: 0;
	font-family: Oswald_Bold;
	text-align: center;
	font-size: 0.7rem;
	color: #fff;
    line-height: 0;
    letter-spacing: 0.03rem;
    white-space: nowrap;
    text-shadow: -0.03rem 0.03rem 0 #cb48ea, 0.03rem 0.03rem 0 #fecb1e, 0.03rem -0.03rem 0 #fecb1e, -0.03rem -0.03rem 0 #cb48ea;
    transform: rotate(-8deg) skew(-15deg);
	position: absolute;

}

@keyframes animate {
			0% {
				background-position: 0% 100%;
			}

			50% {
				background-position: 100% 0%;
			}

			100% {
				background-position: 0% 100%;
			}
}

.present {
	height: 2.8rem;
	width: 2.8rem;
	left: 0;
	margin: 3rem auto 1.5rem auto;
	perspective: 8rem;

}


.name {
  position: absolute;
  text-align: center;
  text-shadow: -0.05rem 0.05rem 0 rgba(0, 0, 0, 1);
  top: 30%;
  transform: translate3d(0, -50%, 0) rotateY(0) rotateX(0);
  transition: transform 2.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.name h2{
	font-size: 0.4rem;
	color: #ea90ff;
	text-align: center;
	margin: 0;
}
  
  
.name h3{
	font-family: Oswald_Bold;
	color: #fecb1e;
	font-size: 0.6rem;
	text-align: center;
	margin: 0;
	white-space:nowrap;
}

.name span{display: inline-block;
	border-radius: 0.28rem;
	background-color: #ce9a2b;
	text-align: center;
	font-weight: bold;
	font-size: 0.3rem;
	color: #fff;
	text-decoration: none;
	text-shadow: 0.01rem 0.01rem rgba(0, 0, 0, 0.4);
	box-shadow: 0 0.03rem #7a5b19, 0 0.04rem #6d5117, 0 0.05rem #604814, 0 0.06rem #543f11, 0 0.07rem #47350f, 0 0.08rem #36280b, 0 0.12rem 0.06rem -0.01rem rgba(0, 0, 0, 0.5), inset 0 0.01rem 0.01rem rgba(255, 255, 255, 0.7), inset 0 0 0.03rem rgba(252, 252, 252, 0.6);
	border: solid 0.01rem #7a5b19;
	background-image: linear-gradient(to top, rgba(0, 0, 0, 0.14), rgba(255, 255, 255, 0.14));
	width: 2.8rem;
	margin: 0;
	padding: 0.08rem 0;
}

.instruction {
	font-size: 0.36rem;
	line-height: 0.4rem;
	padding: 0.1rem 0;
	bottom: 1rem;
	left: 0;
	opacity: 1;
	position: absolute;
	text-align: center;
	transition: opacity 0.5s;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.4);
	border: 0.02rem solid #fff;
	border-radius: 0.35rem;
	text-shadow: 0 0 0.005rem #cb48ea,
               0 0 0.01rem #cb48ea,
               0 0 0.015rem #cb48ea,
               0 0 0.02rem #cb48ea,
               0 0 0.04rem #cb48ea,
               0 0 0.06rem #cb48ea,
               0 0 0.08rem #cb48ea;
	box-shadow: 0 0 0.005rem #cb48ea,
               0 0 0.01rem #cb48ea,
               0 0 0.015rem #cb48ea,
               0 0 0.02rem #cb48ea,
               0 0 0.04rem #cb48ea,
               0 0 0.08rem #cb48ea,
               0 0 0.12rem #cb48ea;
}

.rotate-container {
  -webkit-animation: present-rotate 30s infinite linear;
  animation: present-rotate 30s infinite linear;
  height: 100%;
  transform: rotateY(170deg);
  transform-style: preserve-3d;
}

@-webkit-keyframes present-rotate {
  0% {
    transform: rotateY(0);
  }
  100% {
    transform: rotateY(360deg);
  }
}

@keyframes present-rotate {
  0% {
    transform: rotateY(0);
  }
  100% {
    transform: rotateY(360deg);
  }
}
.bottom,
.front,
.left,
.back,
.right {
  background: linear-gradient(145deg, #cb48ea 10%, #8700a2 50%, #3d0037 100%);
  border: 0.01rem solid rgba(0, 0, 0, 0.2);
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.bottom {
  transform: translateY(50%) rotateX(90deg);
}

.front,
.left,
.back,
.right {
  transition: transform 0.5s;
  transform-origin: bottom;
  transform-style: preserve-3d;
}

.front:after,
.left:after,
.back:after,
.right:after,
.lid-top:after,
.lid-front:after,
.lid-left:after,
.lid-back:after,
.lid-right:after {
  background: linear-gradient(145deg, #f5e6b0 10%, #cfa138 70%, #f5dd77 100%);
  box-shadow: 0 0 0.05rem rgba(0, 0, 0, 0.4);
  content: "";
  height: 100%;
  left: calc(50% - 0.3rem);
  position: absolute;
  transform: translateZ(0.002rem);
  width: 0.6rem;
}

.lid-top:before {
  background: linear-gradient(145deg, #f5e6b0 10%, #cfa138 70%, #f5dd77 100%);
  box-shadow: 0 0 0.05rem rgba(0, 0, 0, 0.4);
  content: "";
  height: 0.4rem;
  left: 0;
  position: absolute;
  top: calc(50% - 0.3rem);
  transform: translateZ(0.002rem);
  width: 100%;
}

.left {
  transform: translateX(-50%) rotateY(-90deg);
}

.back {
  transform: translateZ(-1.4rem) rotateY(180deg) rotateX(0);
}

.right {
  transform: translateX(50%) rotateY(90deg);
}

.front {
  transform: translateZ(1.4rem);
}

.lid {
  -webkit-animation: lid-animation 3.5s 1s infinite;
  animation: lid-animation 3.5s 1s infinite;
  transform: translate3d(0, 0, 0);
  transform-style: preserve-3d;
  transition: transform 0.5s;
}

@-webkit-keyframes lid-animation {
  0% {
    transform: translate3d(0, 0, 0) rotateX(0);
  }
  5% {
    transform: translate3d(0, -0.1rem, -0.05rem) rotateX(5deg);
  }
  10% {
    transform: translate3d(0, -0.1rem, 0.05rem) rotateX(-5deg);
  }
  15% {
    transform: translate3d(0, -0.1rem, -0.05rem) rotateX(5deg);
  }
  20% {
    transform: translate3d(0, -0.1rem, 0.05rem) rotateX(-5deg);
  }
  25% {
    transform: translate3d(0, -0.1rem, -0.05rem) rotateX(5deg);
  }
  30% {
    transform: translate3d(0, 0, 0) rotateX(0);
  }
}

@keyframes lid-animation {
  0% {
    transform: translate3d(0, 0, 0) rotateX(0);
  }
  5% {
    transform: translate3d(0, -0.1rem, -0.05rem) rotateX(5deg);
  }
  10% {
    transform: translate3d(0, -0.1rem, 0.05rem) rotateX(-5deg);
  }
  15% {
    transform: translate3d(0, -0.1rem, -0.05rem) rotateX(5deg);
  }
  20% {
    transform: translate3d(0, -0.1rem, 0.05rem) rotateX(-5deg);
  }
  25% {
    transform: translate3d(0, -0.1rem, -0.05rem) rotateX(5deg);
  }
  30% {
    transform: translate3d(0, 0, 0) rotateX(0);
  }
}
.lid-top,
.lid-left,
.lid-back,
.lid-right,
.lid-front {
  background: linear-gradient(145deg, #cb48ea 10%, #8700a2 50%, #3d0037 100%);
  border: 0.01rem solid rgba(0, 0, 0, 0.2);
  left: -0.05rem;
  opacity: 1;
  position: absolute;
  top: 0;
  width: 2.9rem;
}

.lid-top {
  height: 2.9rem;
  top: -0.05rem;
  transform: translateY(-50%) rotateX(90deg);
  transform-style: preserve-3d;
}

.lid-left,
.lid-back,
.lid-right,
.lid-front {
  height: 0.4rem;
  top: -0.05rem;
  transform-style: preserve-3d;
}

.lid-left {
  transform: translateX(-50%) rotateY(-90deg);
}

.lid-back {
  transform: translateZ(-1.45rem) rotateY(180deg);
}

.lid-right {
  transform: translateX(50%) rotateY(90deg);
}

.lid-front {
  transform: translateZ(1.45rem);
}

.present:hover .lid {
  -webkit-animation: none;
  animation: none;
  transform: translate3d(0, -0.4rem, -0.1rem) rotateX(10deg);
}

.present.open .name {
  transform: translate3d(0, -50%, 0.1rem) rotateY(1080deg) rotateX(10deg);
}
.present.open .instruction {
  opacity: 0;
}
.present.open .left {
  transform: translateX(-50%) rotateY(-90deg) rotateX(-90deg);
}
.present.open .back {
  transform: translateZ(-1.4rem) rotateY(180deg) rotateX(-90deg);
}
.present.open .right {
  transform: translateX(50%) rotateY(90deg) rotateX(-90deg);
}
.present.open .front {
  transform: translateZ(1.4rem) rotateX(-90deg);
}
.present.open .lid {
  -webkit-animation: none;
  animation: none;
  transform: translate3d(0, -1.5rem, -1.5rem) rotateX(50deg);
}


/*旋转礼盒END*/







/*中奖展示*/
.winning{
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	overflow: hidden;}

.winning ul{width: 12rem;}


.winning ul li{
	text-align: center;
	width: 3rem;
	height: auto;
	border-radius: 0.16rem;
	background-color: #500050;
	display: block;
	margin: 0.1rem;
	padding: 0.15rem 0.2rem;
	float: left;
	color: #f6d1ff;
}

.winning ul li p{
	margin: 0;
	font-size: 0.24rem;
	float: left;
}

.winning ul li p i{
	font-size: 0.24rem;
	margin-right: 0.1rem;
}

.winning ul li h2{
	font-size: 0.3rem;
	font-family: Oswald_Bold;
	width: 100%;
	margin: 0;
}


/*中奖展示END*/

/*活动说明*/
.describe{
	padding: 0;
	width: 90%;
	height: 100%;
	margin: 5%;
	overflow: hidden;
	color: #f6d1ff;

}
	
.describe h2{
	font-size: 0.4rem;
}	
.describe li{
	list-style-position: inside;
	list-style-type: square;
	margin: 4% 0;
}	

/*活动说明END*/



