@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body { font-family: "Montserrat", sans-serif; line-height:1.2; font-size:15px; color:#fff; background: #000 url("/event/assets/betasia/images/raya_claw_bonanza/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;
    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: 60px;
	text-align: center;
}
button.float-btn {
    display: block;
    margin: 5px 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: 8px;
}
a.float-item {
    display: inline-block;
    max-width: 45px;
}
a.float-item:hover {
	filter: brightness(1.07);
	transform: scale(1.03);
}
.top-sec {
	background: url("/event/assets/betasia/images/raya_claw_bonanza/bg-top.png"), url("/event/assets/betasia/images/raya_claw_bonanza/bg-btm.png");
	background-repeat: no-repeat, no-repeat;
	background-position: top center, bottom center;
	background-size: 100%, 100%;
    position: relative;
    text-align: center;
    padding: 0 0 45px;
}
.logo {
    position: absolute;
    left: 0;
    right: 0;
    top: 10px;
}
.title-top {
    position: relative;
    margin: 0 auto;
}
.deco.top-1 {
    left: 20%;
    top: 12%;
    max-width: 7%;
	animation: float 2.1s ease-in-out infinite;
}
.deco.top-2 {
    right: 23%;
    top: 10%;
    max-width: 9%;
	animation: float 2.2s ease-in-out infinite;
}
@keyframes float {
    0% {
        transform: translatey(0px);
    }
    50% {
        transform: translatey(-12px);
    }
    100% {
        transform: translatey(0px);
    }
}
.date-wrap {
    position: relative;
    max-width: 580px;
    margin: 0 auto 30px;
    font-size: 38px;
    font-weight: 700;
    color: #000;
}
.date-text {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.how-title {
    margin-bottom: 15px;
}
.stepbox {
    position: relative;
    max-width: 268px;
    margin: 0 10px 10px;
    display: inline-block;
    vertical-align: top;
}
.step-info {
    position: absolute;
    left: 0;
    right: 0;
    top: 70%;
    max-width: 85%;
    margin: 0 auto;
    font-size: 20px;
}
.sptext-1 {
    color: #ffb700;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2%;
}
.sptext-2 {
    font-size: 95%;
}
.divider-line {
    margin: 15px 0;
}
.redeem-note {
    color: #ffb700;
    font-size: 20px;
    font-weight: 600;
	margin-bottom: 15px;
}
.mission-wrapper {
    position: relative;
    padding: 15px 0 30px;
}
.mission-wrapper {
	position: relative;
}
.msbox {
    position: relative;
    display: inline-block;
    vertical-align: top;
    max-width: 254px;
    margin: 0 1% 30px;
}
.gp-img {
    margin-bottom: -44%;
	filter: grayscale(1);
}
.msbox.active .gp-img ,.msbox.done .gp-img {
	filter: none;
}
.msbase {
    position: relative;
	margin-bottom: 15px;
}
.mstext-1 {
    position: absolute;
    left: 0;
    right: 0;
    top: 0%;
    font-size: 20px;
    font-weight: 500;
    max-width: 83%;
    height: 100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.mstext-2 {
    position: absolute;
    left: 0;
    right: 0;
    top: 77%;
    font-size: 20px;
    font-weight: 700;
    color: #033600;
    text-transform: uppercase;
}
span.gold-text {
    color: #ffd200;
}
button.redeem-btn {
    background: linear-gradient(180deg, rgba(255, 222, 0, 1) 0%, rgba(0, 255, 126, 1) 100%);
    width: 85%;
    margin: 0 auto;
    border-radius: 45px;
    height: 45px;
    color: #033600;
    font-size: 21px;
    font-weight: 700;
    text-transform: uppercase;
	position: relative;
	filter: grayscale(1);
}
.btn-icon {
    margin-right: 6px;
}
.btn-icon img {
    max-height: 30px;
}
.done button.redeem-btn {
	background: linear-gradient(180deg,rgba(255, 222, 0, 1) 0%, rgba(255, 144, 0, 1) 100%);
	pointer-events: none;
	filter: none;
}
.active button.redeem-btn {
	filter: none;
}
.active button.redeem-btn:hover {
	transform: scale(0.98);
	filter: brightness(1.07);
}
.token-wrapper {
    padding: 10px 0;
}
.token-base {
    position: relative;
    max-width: 260px;
    margin: 0 auto;
}
.token-text {
    position: absolute;
    left: 23%;
    right: 0;
    top: 0;
    bottom: 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 500;
}
.max-note {
    font-size: 20px;
}
.modal-dialog.popup {
    max-width: 750px;
}
.modal-content.terms {
    background: rgb(0, 0, 0, 0.9);
    border: 2px solid #eec901;
    border-radius: 10px;
    padding: 15px 15px;
}
button.close-x {
    position: absolute;
    right: 10px;
    top: 5px;
    z-index: 1;
    color: #fff;
}
.rules-title {
    text-align: center;
    color: #ffb700;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}
ul.terms {
    padding-left: 17px;
}
ul.terms li {
    padding: 1px 0;
}


/** Claw Machine **/
.machine-wrapper {
    position: relative;
    max-width: 420px;
    margin: 0 auto;
}
.machine-base {
    position: relative;
    z-index: 3;
    pointer-events: none;
}
.machine-back {
    position: absolute;
    left: 0;
    right: 0;
    top: 38%;
    max-width: 75%;
    margin: 0 auto;
    z-index: 0;
	pointer-events: none;
}
.window-wrap {
    position: absolute;
    height: 450px;
    max-width: 83%;
    margin: 0 auto;
    background: url(/event/assets/betasia/images/raya_claw_bonanza/claw-machine/bg.png) no-repeat top center;
    background-size: cover;
    overflow: hidden;
    left: 0;
    right: 0;
    top: 29%;
}
.crane-wrap {
    position: absolute;
    left: 19%;
    top: -62%;
    width: 13%;
	z-index: 2;
}
.crane {
    background: url("/event/assets/betasia/images/raya_claw_bonanza/claw-machine/crane.png")repeat;
	background-size: 100%;
    height: 380px;
    width: 20%;
    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(-10deg);
}
.crane-wrap.top-16 .claw-part.right {
    transform-origin: top left;
    transform: rotate(10deg);
}

@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: 90%;
    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%;
    z-index: 1;
}
.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/betasia/images/raya_claw_bonanza/claw-machine/item-1.png") no-repeat top center;
    background-size: 100%;
    width: 125%;
    height: 90px;
    margin: 0 auto;
    position: absolute;
    left: -12%;
    right: 0;
    top: 130%;
}
.crane-wrap.active-2 .prize-toy {
    background: url(/event/assets/betasia/images/raya_claw_bonanza/claw-machine/item-2.png) no-repeat top center;
    background-size: 100%;
    width: 125%;
    height: 90px;
    margin: 0 auto;
    position: absolute;
    left: -12%;
    right: 0;
    top: 130%;
}
.crane-wrap.active-3 .prize-toy {
    background: url(/event/assets/betasia/images/raya_claw_bonanza/claw-machine/item-3.png) no-repeat top center;
    background-size: 100%;
    width: 125%;
    height: 90px;
    margin: 0 auto;
    position: absolute;
    left: -12%;
    right: 0;
    top: 130%;
}
.control-btn {
    position: absolute;
    z-index: 4;
    left: 0;
    right: 0;
    bottom: 6%;
    text-align: center;
    filter: drop-shadow(0px 5px 5px rgb(0, 0, 0, 0.8));
}
button.ctrl-btn {
    max-width: 16%;
    margin: 0 1%;
}
button.drop-btn {
    max-width: 37%;
    margin: 0 2%;
}
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: 42%;
    z-index: 2;
    font-size: 34px;
    font-weight: 700;
    color: #000;
    text-shadow: 0 1px 12px #fff;
    filter: drop-shadow(0px 0px 8px #fff);
    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: url(/event/assets/betasia/images/raya_claw_bonanza/claw-machine/claim-btn.png) no-repeat;
    background-size: 100% 100%;
    width: 100%;
    height: 66px;
    max-width: 200px;
    color: #ffbb01;
    text-shadow: 0 2px 3px rgb(0, 0, 0, 0.6);
    font-size: 21px;
    font-weight: 800;
    border-radius: 10px;
    text-transform: uppercase;
    margin: 10px auto;
    display: none;
}
button.claim-btn:hover {
	transform: scale(0.98);
	filter: brightness(1.07);
}
.note-open {
	background: linear-gradient(180deg,rgba(255, 222, 0, 1) 0%, rgba(255, 144, 0, 1) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    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: 420px) {
.window-wrap {
	height: 109vw;
}
.crane {
    height: 90vw;
}
.fg-item {
    bottom: 17%;
}	
.bg-item {
    bottom: 16%;
}	
}



@media(max-width: 1080px) {
.floating-wrapper {
	transform: scale(0.8);
	transform-origin: right top;
}	
.music-wrapper {
	transform: scale(0.8);
	transform-origin: right bottom;
}	
.logo {
    max-width: 29%;
    margin: 0 auto;
}
.mission-wrapper {
    max-width: 700px;
    margin: 0 auto;
}	
}

@media(max-width: 767px) {
.floating-wrapper {
	transform: scale(0.7);
}		
.music-wrapper {
	transform: scale(0.7);
}		
.date-wrap {
    max-width: 70%;
    font-size: 4.5vw;
}
}

@media(max-width: 610px) {
.how-title img {
    max-height: 8vw;
}	
.stepbox {
    width: 48%;
    margin: 0 0.5% 10px;
}
.step-info {
    font-size: 3.3vw;
}	
}

@media(max-width: 560px) {
.msbox {
    width: 47%;
}	
.msbase {
    margin-bottom: 6%;
}	
.mstext-1 {
	font-size: 4vw;
	height: 19vw;
}	
.mstext-2 {
    font-size: 4vw;
}
button.redeem-btn {
    font-size: 4vw;
    height: 8vw;
}	
.btn-icon img {
    max-height: 5.2vw;
}	
}

@media(max-width: 480px) {
.music-wrapper {
	transform: scale(0.65);
}
.floating-wrapper {
	top: 50px;
	transform: scale(0.6);
}	
.redeem-note {
    font-size: 15px;
    margin-bottom: 15px;
}
.max-note {
    font-size: 16px;
}
.modal-content.terms {
	font-size: 14px;
}
.rules-title {
    font-size: 18px;
}	
}








