@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
  font-family: aAhaWow;
  src: url("../fonts/aAhaWow.otf");
}

body { font-family: "Roboto", sans-serif; line-height:1.2; font-size:15px; color:#000; background: #bfdaf2 url("/event/assets/casinojr/images/santa-claw-machine/bg.jpg") 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;
    bottom: 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;
}
.floating-wrapper {
    position: fixed;
    z-index: 99;
    right: 2px;
    top: 100px;
	width: 100%;
    max-width: 70px;
	text-align: center;
}
button.float-btn {
    display: block;
    margin: 3px 0;
}
button.float-btn:hover {
	transform: scale(0.98);
	filter: brightness(1.08);
}
.dropdown-menu.language {
    min-width: 155px;
    background: none;
    border: none;
    width: 100%;
    padding: 0;
    margin: 0;
	margin-top: 13px;
}
a.float-item {
    display: inline-block;
    max-width: 45px;
}
a.float-item:hover {
	filter: brightness(1.07);
	transform: scale(1.03);
}
.top-sec {
	background-image: url("/event/assets/casinojr/images/santa-claw-machine/top-bg.png"),  url("/event/assets/casinojr/images/santa-claw-machine/bg-btm.png");
	background-position: top center, bottom center;
	background-repeat: no-repeat, no-repeat;
	background-size: 100%, 100%;
	position: relative;
	text-align: center;
	padding: 0 0 60px;
}
.deco.bell-1 {
    top: 0;
    left: 18%;
    max-width: 7%;
	animation: hanging 2.3s ease-in-out infinite;
}
.deco.flake-1 {
    top: 0;
    left: 26%;
    max-width: 6%;
	animation: hanging 2.1s ease-in-out infinite;
}
.deco.flake-2 {
    top: 0;
    right: 26%;
    max-width: 6%;
	animation: hanging 2.1s ease-in-out infinite;
}
.deco.bell-2 {
    top: 0;
    right: 18%;
    max-width: 7%;
	animation: hanging 2.3s ease-in-out infinite;
}
@keyframes hanging {
    0% {
        transform: rotate(5deg);
		transform-origin: top center;
    }
	50% {
        transform: rotate(-5deg);
		transform-origin: top center;
    }
    100% {
        transform: rotate(5deg);
		transform-origin: top center;
    }
}
.logo {
    max-width: 300px;
    margin: 0 auto;
    padding-top: 15px;
}
.title-top {
    position: relative;
}
.deco.top-coin-1 {
    left: 38%;
    top: 5%;
    max-width: 9%;
	animation: float 2.1s ease-in-out infinite;
}
.deco.top-coin-2 {
    right: -5%;
    top: 23%;
    max-width: 8%;
	animation: float 2.3s ease-in-out infinite;
}
.deco.top-gift {
    right: -6%;
    max-width: 14%;
    top: 69%;
	animation: float 2s ease-in-out infinite;
}
.deco.top-star {
    left: 25%;
    top: 17%;
    max-width: 6%;
	animation: float 1.9s ease-in-out infinite;
}
.deco.top-light-1 {
    left: 27%;
    top: -12%;
    max-width: 30%;
    mix-blend-mode: screen;
	animation: float 2.1s ease-in-out infinite;
}
.deco.top-light-2 {
    right: -14%;
    top: 6%;
    max-width: 30%;
    mix-blend-mode: screen;
	animation: float 2.3s ease-in-out infinite;
}
@keyframes float {
  0% {
    transform: translateY(0);
  } 
	50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes shake {
  0% {
    transform: rotate(-7deg);
  } 
	50% {
    transform: rotate(7deg);
  }
  100% {
    transform: rotate(-7deg);
  }
}
.event-date {
    position: relative;
    max-width: 600px;
    margin: -2% auto 10px;
}
.date-text {
    position: absolute;
    left: 0;
    right: 0;
    top: 43%;
    font-family: aAhaWow;
    color: #fff;
    font-size: 24px;
}
.step-wrapper {
    position: relative;
	padding: 15px 0;
}
.stepbox {
    position: relative;
    display: inline-block;
    vertical-align: top;
    margin: 10px 10px;
}
.step-info {
    max-width: 90%;
    margin: 0 auto;
    font-size: 18px;
    font-family: 'aAhaWow';
}
.token-base {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
}
.token-text {
    position: absolute;
    left: 0;
    right: 0;
    top: 37%;
    font-size: 44px;
    color: #fff;
    font-family: 'aAhaWow';
}
.max-play {
    font-family: 'aAhaWow';
    font-size: 20px;
    padding: 5px 0;
}
.deco.claw-1 {
    left: 0px;
    top: 29%;
    max-width: 20%;
}
.deco.claw-2 {
    right: 0;
    top: 59%;
    max-width: 20%;
}
.deco.deco-flake-1 {
    left: -2%;
    bottom: 1%;
    max-width: 15%;
	animation: shake 2s ease-in-out infinite;
}
.deco.deco-flake-2 {
    right: -2%;
    bottom: 7%;
    max-width: 14%;
	animation: shake 1.8s ease-in-out infinite;
}
.deco.deco-toy-1 {
    left: -1%;
    top: 10%;
    max-width: 17%;
	animation: float 2.4s ease-in-out infinite;
}
.deco.deco-toy-2 {
    right: -3%;
    bottom: 11%;
    max-width: 19%;
	animation: float 2.3s ease-in-out infinite;
}

.modal-dialog.popup {
    max-width: 750px;
}
.modal-content.popup {
	background: linear-gradient(180deg, rgba(53, 28, 111, 1) 0%, rgba(95, 42, 156, 1) 100%);
	border: 2px solid #fdbb4b;
	padding: 15px 25px;
	border-radius: 15px;
	color: #fff;
	box-shadow: inset 0 0 6px rgb(0, 0, 0, 0.6);
}
button.close-x {
    position: absolute;
    right: 9px;
    top: 6px;
    z-index: 2;
    color: #fff;
}
.poptitle {
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}
ul.terms {
    padding-left: 17px;
}

@media(max-width: 1080px) {
.floating-wrapper {
    transform: scale(0.8);
    transform-origin: right top;
}	
.logo {
    max-width: 30%;
}	
}

@media(max-width: 767px) {
.music-wrapper {
    transform: scale(0.8);
    transform-origin: right bottom;
}	
.floating-wrapper {
	top: 50px;
    transform: scale(0.7);
}		
.event-date {
    max-width: 80%;
}
.date-text {
    font-size: 3.2vw;
}
.stepbox {
    width: 47%;
    margin: 10px 1%;
}
.step-info {
    font-size: 2.5vw;
}
.deco.deco-toy-1, .deco.deco-toy-2,.deco.claw-2 {
	display: none;
}	
.deco.claw-1 {
    top: 44%;
}		
}

@media(max-width: 480px) {
.music-wrapper {
    transform: scale(0.7);
}	
.floating-wrapper {
    transform: scale(0.6);
}	
.logo {
	max-width: 40%;
}	
.title-img {
    height: 81vw;
    margin: 0 -10px;
}	
.title-img img {
    object-fit: cover;
    height: 100%;
}
.deco.top-star {
    left: 13%;
    top: 16%;
    max-width: 11%;
}
.deco.top-coin-1 {
    left: 31%;
    top: 6%;
    max-width: 14%;
}	
.deco.top-light-1 {
    top: -7%;
}
.deco.top-gift {
    right: -7%;
    max-width: 15%;
    top: 93%;
}
.how-title {
    max-width: 90%;
    margin: 0 auto;
}	
.token-base {
    max-width: 85%;
}	
.token-text {
    font-size: 8vw;
}
.max-play {
    font-size: 15px;
}
.modal-content.popup {
    padding: 15px 15px;
	font-size: 14px;
}	
.poptitle {
    font-size: 20px;
}
}



/** Claw Machine **/
.machine-wrapper {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
}
.machine-base {
    position: relative;
    z-index: 2;
    pointer-events: none;
}
.window-wrap {
    position: absolute;
    height: 480px;
    max-width: 85%;
    margin: 0 auto;
    background: url(/event/assets/casinojr/images/santa-claw-machine/machine/bg.png) no-repeat top center;
    background-size: cover;
    overflow: hidden;
    left: 0;
    right: 0;
    top: 20%;
}
.crane-wrap {
    position: absolute;
    left: 19%;
    top: -62%;
    width: 19%;
	z-index: 1;
}
.crane {
    background: url("/event/assets/casinojr/images/santa-claw-machine/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: 80%;
}
.claw-part.left {
    left: -27%;
    top: 66%;
}
.claw-part.right {
    right: -27%;
    top: 66%;
}
.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: -11%;
    left: 0;
    right: 0;
    z-index: 2;
    max-width: 86%;
    margin: 0 auto;
}
.center-item {
    position: absolute;
    bottom: -3%;
    left: 0;
    right: 0;
    max-width: 95%;
    margin: 0 auto;
    z-index: 1;
}
.bg-item {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8%;
}
.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(/event/assets/casinojr/images/santa-claw-machine/machine/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(/event/assets/casinojr/images/santa-claw-machine/machine/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(/event/assets/casinojr/images/santa-claw-machine/machine/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%;
}
.crane-wrap.active-4 .prize-toy {
    background: url(/event/assets/casinojr/images/santa-claw-machine/machine/item-4.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 {
	filter: brightness(1.07);
	transform: scale(0.97);
}


.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;
	filter: drop-shadow(0px 0px 3px #fff) drop-shadow(0px 0px 6px #fff) drop-shadow(0px 0px 10px #fff) drop-shadow(0px 0px 2px #fff);
}
.reward-box.active .light-prize {
	visibility: visible;
	opacity: 1;
	transition: 0.2s;
}
button.claim-btn {
	background: linear-gradient(180deg, rgba(255, 89, 254, 1) 0%, rgba(155, 39, 253, 1) 100%);
    border: 2px solid #fbd01e;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    border-radius: 10px;
    text-transform: uppercase;
    min-width: 150px;
    height: 42px;
    margin: 10px auto;
	display: none;
}
button.claim-btn:hover {
	transform: scale(0.97);
	filter: brightness(1.07);
}
.note-open {
	font-family: aAhaWow;
    color: #fff;
    font-weight: 500;
    font-size: 20px;
    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: 500px) {
.window-wrap {
	height: 96vw;
}
.crane {
	height: 76vw;
}
}






