@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

body { font-family: "Fredoka", sans-serif; line-height:1.2; font-size:15px; color:#fff; background: #081847 url("../images/bg.jpg") center 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;
	pointer-events: none;
}
.max-container {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 10px;
}
#space {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    pointer-events: none;
}
.music-wrapper {
    position: fixed;
    z-index: 99;
    right: 0;
    bottom: 100px;
    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;
}
.deco.star-1 {
    position: absolute;
    top: 6%;
    left: 2%;
    max-width: 12%;
    mix-blend-mode: screen;
    animation: falling 3s infinite;
}
.deco.star-2 {
    top: 22%;
    left: -8%;
    max-width: 16%;
    mix-blend-mode: screen;
	animation: falling 2.8s infinite;
}
.deco.star-3 {
    top: 20%;
    right: -13%;
    max-width: 29%;
    mix-blend-mode: screen;
	animation: falling 3s infinite;
}
@-webkit-keyframes falling {
  0% {
	transform: translate(-106px, -90px) scale(0.3);
	transform-origin: top left;
	opacity: 0.1;
  }
  50% {
	opacity: 1
  }
  100% {
	transform: translate(0, 0) scale(1);
	transform-origin: top left;
	opacity: 0;
  }
}
.top-sec {
	position: relative;
	padding: 10px 0 30px;
	text-align: center;
}
@keyframes float {
    0% {
        transform: translatey(0px);
    }
    50% {
        transform: translatey(-13px);
    }
    100% {
        transform: translatey(0px);
    }
}
button.home-btn {
    position: absolute;
    left: 5px;
    top: 0;
    max-width: 70px;
    z-index: 9;
}
.title-top {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 15px;
}
.subtitle {
   margin-bottom: 30px;
}
.how-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}
.stepbox {
    display: inline-block;
    position: relative;
    vertical-align: top;
    margin: 10px 0.5%;
    width: 48%;
}
.mytoken-wrap {
    position: relative;
    max-width: 500px;
    margin: 15px auto 5px;
}
.token-num {
    position: absolute;
    left: 31%;
    right: 14%;
    top: 58%;
    font-size: 44px;
	font-weight: 600;
    text-shadow: 0 1px 5px rgb(0, 0, 0, 0.8);
}
.deco.box-1 {
    left: -42%;
    bottom: 5%;
    max-width: 49%;
}
.deco.box-2 {
    right: -39%;
    bottom: 5%;
    max-width: 50%;
}
.deco.planet {
    left: 9%;
    top: 14%;
    max-width: 13%;
	animation: spin 11s linear infinite;
}
.deco.star {
    right: 12%;
    top: 25%;
    max-width: 10%;
	animation: spin 8s linear infinite reverse;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}



/** Claw Machine **/
.machine-wrapper {
    position: relative;
    max-width: 400px;
    margin: 30px auto;
}
.machine-base {
    position: relative;
    z-index: 2;
    pointer-events: none;
}
.window-wrap {
    position: absolute;
    height: 452px;
    background: url(../images/claw-machine/bg.png) no-repeat top center;
    background-size: 100%;
    overflow: hidden;
    left: 0;
    right: 0;
    top: 27%;
    max-width: 77%;
    margin: 0 auto;
}
.crane-wrap {
    position: absolute;
    left: 19%;
    top: -75%;
    width: 20%;
	z-index: 1;
}
.crane {
    background: url("../images/claw-machine/crane.png")repeat;
	background-size: 100%;
    height: 380px;
    width: 15%;
    margin: 0 auto;
}
.claw {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
	transform-origin: top center;
}
.claw-center {
    position: relative;
    z-index: 1;
	max-width: 100%;
}
.claw-part {
    position: absolute;
	max-width: 70%;
}
.claw-part.left {
    left: -31%;
    top: 32%;
}
.claw-part.right {
    right: -31%;
    top: 32%;
}
.crane-wrap.top-16 .claw-part.left {
    transform-origin: top right;
    transform: rotate(-24deg);
}
.crane-wrap.top-16 .claw-part.right {
    transform-origin: top left;
    transform: rotate(24deg);
}

@keyframes swingClaw1 {
  from, to {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(10deg);
  }
  75% {
    transform: rotate(-10deg);
  }
}
@keyframes swingClaw2 {
  from, 20%, 30%, 50%, to {
    transform: rotate(0deg);
  }
  5%, 35% {
    transform: rotate(5deg);
  }
  15%, 45% {
    transform: rotate(-5deg);
  }
}
.fg-item {
    position: absolute;
    bottom: 20%;
    left: 0;
    right: 0;
    z-index: 2;
    max-width: 100%;
    margin: 0 auto;
}
.center-item {
    position: absolute;
    bottom: 23%;
    left: 0;
    right: 0;
    max-width: 100%;
    margin: 0 auto;
    z-index: 1;
}
.bg-item {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 28%;
    max-width: 100%;
    margin: 0 auto;
}
.display-item {
    position: absolute;
    max-width: 19%;
    z-index: 2;
}
.display-item.gift-1 {
    left: 15%;
    bottom: -4%;
    transform: rotate(-22deg);
}
.display-item.gift-2 {
    right: 19%;
    bottom: -4%;
    transform: rotate(22deg);
}
.display-item.gift-3 {
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: -2%;
    transform: rotate(9deg);
}

/** Reward Item Grabing **/
.crane-wrap.active-1 .prize-toy {
    background: url(../images/claw-machine/item-1.png) no-repeat top center;
    background-size: 100%;
    width: 170%;
    height: 68px;
    margin: 0 auto;
    position: absolute;
    left: -37%;
    right: 0;
    top: 77%;
}
.crane-wrap.active-2 .prize-toy {
    background: url(../images/claw-machine/item-2.png) no-repeat top center;
    background-size: 100%;
    width: 170%;
    height: 68px;
    margin: 0 auto;
    position: absolute;
    left: -37%;
    right: 0;
    top: 77%;
}
.crane-wrap.active-3 .prize-toy {
    background: url(../images/claw-machine/item-3.png) no-repeat top center;
    background-size: 100%;
    width: 170%;
    height: 68px;
    margin: 0 auto;
    position: absolute;
    left: -37%;
    right: 0;
    top: 77%;
}
.control-btn {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: 11.5%;
    text-align: center;
}
button.ctrl-btn {
    max-width: 16%;
    margin: 0 1%;
}
button.drop-btn {
    max-width: 24%;
    margin: 0 0%;
}
button.ctrl-btn:active, button.drop-btn:active  {
	transform: scale(0.97);
	transform-origin: bottom center;
}

.modal-backdrop.show {
    opacity: 0.8;
}
.modal-content.reward {
    background: none;
    border: none;
    max-width: 200px;
    text-align: center;
    margin: 0 auto;
}
.reward-box {
	position: relative;
	cursor: pointer;
}
.prize-text {
    position: absolute;
    left: 0;
    right: 0;
    top: 39%;
    z-index: 2;
    font-size: 32px;
    font-weight: 700;
	color: #000;
	opacity: 0;
	visibility: hidden;
	transition: 0.2s;
	transform: scale(0.2);
}
.light-prize {
    position: absolute;
    top: -15%;
    left: 0;
    right: 0;
	animation: spinning 6s linear infinite;
	transform-origin: center;
	opacity: 0;
	visibility: hidden;
	transition: 0.2s;
	pointer-events: none;
}
@keyframes spinning {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.reward-box.active .prize-text {
	visibility: visible;
	opacity: 1;
	transform: scale(1);
	transition: 0.2s;
	transition-delay: 0.3s;
}
.reward-box.active .light-prize {
	visibility: visible;
	opacity: 1;
	transition: 0.2s;
}
button.claimnow-btn {
    background: linear-gradient(180deg, rgba(255, 115, 255, 1) 15%, rgba(118, 63, 255, 1) 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 10px;
    text-transform: uppercase;
    min-width: 160px;
    height: 50px;
    margin: 10px auto;
    display: none;
}
.note-open {
    color: #fff;
    font-weight: 600;
    font-size: 17px;
    line-height: 1.1;
    text-transform: uppercase;
    margin-top: 10px;
}
.reward-box.active ~ button.claimnow-btn {
	display: block;	
}
.reward-box.active ~ .note-open {
	display: none;
}



@media(max-width: 991px) {	
.music-wrapper {
	transform: scale(0.85);
	transform-origin: right bottom;
}	
button.home-btn {
    max-width: 70px;
}
	
}

@media(max-width: 767px) {
.music-wrapper {
	transform: scale(0.75);
}	
button.home-btn {
    max-width: 55px;
}	
}


@media(max-width: 480px) {	
.music-wrapper {
	transform: scale(0.65);
}
button.home-btn {
    max-width: 40px;
}	
.mytoken-wrap {
    max-width: 85%;
}		
.token-num {
    font-size: 7vw;
}	
.how-title {
	max-width: 90%;
	margin: 0 auto;
}		
	
}


@media(max-width: 400px) {		
.window-wrap {
	height: 108vw;
}
.crane {
    height: 96vw;
}	
}
















