@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css?family=Lato:300,400,700,900');

body { font-family: "Lato", sans-serif; line-height:1.2; font-size:15px; color:#fff; background: #0d0127 url("../images/bg.jpg")no-repeat top center; background-size: cover;}

a { text-decoration: none; cursor:pointer; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; -o-transition: all 0.3s; transition: all 0.3s; }

a:hover, a:focus, button:focus, button:hover { text-decoration: none; outline: none; }

img { max-width:100%;}

input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"], input[type="number"], textarea, select {
    color: #666;
    width: 100%;
}
button {
	background: none;
	border: none;
	padding: 0;
}
.t-body {
	overflow: hidden;
}
.deco {
	position: absolute;
}
.max-container {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 10px;
}
.music-wrapper {
    position: fixed;
    z-index: 99;
    right: 0;
    top: 50px;
    opacity: 1;
    transition: 0.3s;
    overflow: hidden;
    height: 40px;
    width: 40px;
    background: #fff;
    border-radius: 10px 0 0 10px;
}
.music-wrapper audio {
    position: absolute;
    left: -6px;
    top: -7px;
}
audio:focus {
	outline: none;
}
.top-sec {
	text-align: center;
	position: relative;
	padding: 30px 0 45px;
}
.gashapon-wrapper {
    position: relative;
    max-width: 670px;
    margin: 0 auto 25px;
}
.gsp-cover {
    position: absolute;
    left: 0;
    right: 0;
    top: -0.5%;
    pointer-events: none;
    z-index: 3;
    max-width: 96%;
    margin: 0 auto;
}
.spin-btn {
    position: absolute;
    left: 1.5%;
    right: 0;
    top: 53%;
    z-index: 3;
    max-width: 20%;
    margin: 0 auto;
}
.btn-wrap {
    position: absolute;
    left: 0;
    right: 0;
    top: 66.5%;
    z-index: 3;
    max-width: 90%;
    margin: 0 auto;
}
button.draw-btn {
    margin: 0px 2%;
    width: 44%;
}
.ball {
	position: absolute;
	max-width: 22%;
}
.ball.red-1 {
    left: 28%;
    top: 34%;
}
.ball.red-2 {
    right: 22%;
    top: 45%;
    z-index: 3;
}
.ball.red-3 {
    right: 15%;
    top: 25%;
    transform: rotate(10deg);
    z-index: 1;
}
.ball.blue-1 {
    left: 15%;
    top: 41%;
}
.ball.blue-2 {
    right: 30%;
    top: 35%;
    z-index: 2;
}
.ball.blue-3 {
    left: 22%;
    top: 22%;
    z-index: 1;
    transform: rotate(-30deg);
}
.ball.yellow-1 {
    left: 34%;
    right: 0;
    top: 46%;
}
.ball.yellow-2 {
    left: 8%;
    top: 30%;
    z-index: 1;
    transform: rotate(49deg);
}
.ball.yellow-3 {
    right: 9%;
    top: 35%;
    z-index: 1;
    transform: rotate(25deg);
}
.ball.yellow-4 {
    left: 6%;
    right: 0;
    top: 23%;
    margin: 0 auto;
    z-index: 1;
    transform: rotate(21deg);
}

.modal-dialog.popup {
    max-width: 800px;
}
.modal-content.terms {
    background: none;
    border: none;
    padding: 0;
}
button.close-x {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
    color: #fff;
}
button.draw-btn:hover {
	filter: brightness(1.07) drop-shadow(0 0 5px rgb(255,255,255,0.5));
}
button.draw-btn:focus {
	transform: scale(0.95);
	filter: brightness(1.07);
}
.spin-img {
    transition: transform 1s ease;
}
.rotate {
    transform: rotate(270deg);
}

@keyframes tilt-shaking {
	0% { transform: translate(0, 0) rotate(0deg); }
	25% { transform: translate(5px, 5px) rotate(5deg); }
	50% { transform: translate(0, 0) rotate(0eg); }
	75% { transform: translate(-5px, 5px) rotate(-5deg); }
	100% { transform: translate(0, 0) rotate(0deg); }
}
.shaking .ball.blue-3 img, .shaking .ball.yellow-1 img, .shaking .ball.red-3 img {
	animation: tilt-shaking infinite 0.3s;
}
.shaking .ball.blue-1 img, .shaking .ball.yellow-2 img, .shaking .ball.red-2 img {
	animation: tilt-shaking infinite 0.3s;
}
.shaking .ball.blue-2 img, .shaking .ball.yellow-3 img, .shaking .ball.yellow-4 img, .shaking .ball.red-1 img {
	animation: tilt-shaking infinite 0.5s;
}

.dropball {
    position: absolute;
    left: 0;
    right: 0;
    top: 87%;
    max-width: 53%;
    height: 105px;
    margin: 0 auto;
    overflow: hidden;
}
.reward-ball {
    max-width: 30%;
    margin: 0 auto;
	opacity: 0;
	visibility: hidden;
	display: none;
	transform-origin: center;
	animation: dropshake 1.5s ease-in-out;
}
.reward-ball.ball-1.active, .reward-ball.ball-2.active  {
	visibility: visible;
	opacity: 1;
	display: block;
}

@keyframes dropshake {
	0% { transform: translateY(-100%) }
	20% {transform: translateY(0) }
	30% {transform: translateY(-8px)}
	40% {transform: translateY(0px) }
	50% {transform: translateY(0) translateX(10px) rotate(10deg)}
	60% { transform: rotate(-10px) translateX(-10px)}
	70% { transform: rotate(10px) translateX(10px)}
	100% { transform: rotate(0) translateX(0px)}
}



/** Modal **/
.modal-content.reward {
    background: none;
    border: none;
	max-width: 350px;
    margin: 0 auto;
}
.reward-box {
    position: relative;
    max-width: 350px;
    margin: 0 auto;
    text-align: center;
	cursor: pointer;
	animation: glowing infinite linear 1.5s;
}
img.open {
	position: absolute;
	left: 0;
	right: 0;
	transition: 0.2s;
}
img.open {
    opacity: 0;
    visibility: hidden;
	transition: 0.2s;
}
.reward-box.active img.closed {
    opacity: 0;
    visibility: hidden;
	transition: 0.2s;
}
.reward-box.active img.open {
    opacity: 1;
    visibility: visible;
	transition: 0.2s;
}
@keyframes glowing {
	0% { filter: drop-shadow(0 0 3px rgb(255,255,255,1))}
	50% { filter: drop-shadow(0 0 10px rgb(255,255,255,1)) brightness(1.1)}
	100% { filter: drop-shadow(0 0 3px rgb(255,255,255,1))}
}

button.close-btn {
    color: #fff;
    max-width: max-content;
    margin: 0 auto;
    font-size: 28px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
	opacity: 0;
	visibility: hidden;
	transition: linear 0.3s;
}
.reward-box.active ~ button.close-btn {
	opacity: 1;
	visibility: visible;
	transition: linear 0.3s;
}

@media(max-width: 480px) {
.music-wrapper {
    transform: scale(0.8);
    transform-origin: right top;
}			
}

.home-ico {
    position: absolute;
    top: 4%;
    left: 4%;
    background: #fcf907;
    padding: 10px;
    border-radius: 50px;
    font-size: 18px;
    animation: zoom-in-zoom-out 1.5s ease infinite;
    z-index: 1;
    color: #000;
}
.home-ico:hover {
    color: #000;
}
@keyframes zoom-in-zoom-out {
  0% {
    scale: 100%
  }
  50% {
    scale: 120%;
  }
  100% {
    scale: 100%;
  }
}
 

@media(max-width: 1200px) {
    .animation1, .animation2 {
        display: none;
    }   
}

@media(max-width: 767px) {
    .animation3 img,
    .animation4 img {
        max-width: 55%;
    }

    .animation3 {
        bottom: 80%;
        left: 5%;
    }

    .animation4 {
        bottom: 80%;
        right: 5%;
    }

    .reward-desc {
        font-size: 2.6vw;
    }

}













