@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&amp;family=Teko:wght@300..700&amp;display=swap');

body { font-family: "Teko", sans-serif; line-height:1.2; font-size:15px; color:#fff; background: #b1d8ff url("../images/main-bg.jpg")no-repeat 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;
}
.machine-wrapper {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}
.machine-base {
    position: relative;
    z-index: 2;
    pointer-events: none;
}
.window-wrap {
    position: absolute;
    height: 509px;
    background: url("../images/bg.png")no-repeat top center;
	background-size: cover;
    overflow: hidden;
    left: 0;
    right: 0;
    top: 17%;
}
.crane-wrap {
    position: absolute;
    left: 19%;
    top: -62%;
    width: 17%;
	z-index: 1;
}
.crane {
    background: url("../images/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: 80%;
}
.claw-part.left {
    left: -38%;
    top: 68%;
}
.claw-part.right {
    right: -38%;
    top: 68%;
}
.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: -10%;
    left: 0;
    right: 0;
    z-index: 2;
    max-width: 86%;
    margin: 0 auto;
}
.center-item {
    position: absolute;
    bottom: 0%;
    left: 0;
    right: 0;
    max-width: 95%;
    margin: 0 auto;
    z-index: 1;
}
.bg-item {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10%;
}
.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/item-1.png) no-repeat top center;
    background-size: 100%;
    width: 125%;
    height: 125px;
    margin: 0 auto;
    position: absolute;
    left: -12%;
    right: 0;
    top: 130%;
}
.crane-wrap.active-2 .prize-toy {
    background: url(../images/item-2.png) no-repeat top center;
    background-size: 100%;
    width: 125%;
    height: 125px;
    margin: 0 auto;
    position: absolute;
    left: -12%;
    right: 0;
    top: 130%;
}
.crane-wrap.active-3 .prize-toy {
    background: url(../images/item-3.png) no-repeat top center;
    background-size: 100%;
    width: 125%;
    height: 125px;
    margin: 0 auto;
    position: absolute;
    left: -12%;
    right: 0;
    top: 130%;
}

.control-btn {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: 7%;
    text-align: center;
    filter: drop-shadow(0px 5px 5px rgb(0, 0, 0, 0.8));
}
button.ctrl-btn {
    max-width: 21%;
    margin: 0 1%;
}
button.drop-btn {
    max-width: 27%;
    margin: 0 2%;
}
button.ctrl-btn:active, button.drop-btn:active  {
	transform: scale(0.97);
	transform-origin: bottom center;
}
.after-img {
	display: none;
}
button.ctrl-btn:active .after-img {
	display: initial;
}
button.ctrl-btn:active .before-img {
	display: none;
}


.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: 52%;
    z-index: 2;
    font-size: 36px;
    font-weight: 700;
	color: #000;
	opacity: 0;
	visibility: hidden;
	transition: 0.2s;
	transform: scale(0.2);
}
.light-prize {
    position: absolute;
    top: 17%;
    left: 0;
    right: 0;
	animation: spinning 6s linear infinite;
	transform-origin: center;
	opacity: 0;
	visibility: hidden;
	transition: 0.2s;
}
@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.claim-btn {
    background: #ffbf00;
    color: #000;
    font-size: 22px;
    font-weight: 700;
    border-radius: 10px;
    text-transform: uppercase;
    min-width: 150px;
    height: 42px;
    margin: 10px auto;
	display: none;
}
.note-open {
    color: #fff;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.1;
    text-transform: uppercase;
	margin-top: 10px;
}
.reward-box.active ~ button.claim-btn {
	display: block;	
}
.reward-box.active ~ .note-open {
	display: none;
}


@media(max-width: 400px) {
.window-wrap {
	height: 128vw;
}
.crane {
    height: 95vw;
}	
}

















