﻿@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

body { font-family: "Montserrat", sans-serif; line-height:1.2; font-size:15px; color:#275950; background: url("/event/assets/betasia/images/pick-n-win/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%;
}
.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;
}
.t-body {
	overflow: hidden;
}
.deco {
	position: absolute;
	pointer-events: none;
}
.max-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 10px;
	position: relative;
}
.floating-wrapper {
    position: fixed;
    right: 0px;
    top: 100px;
    z-index: 99;
    background: url(/event/assets/betasia/images/pick-n-win/floating-base.png)no-repeat;
    background-size: 100% 100%;
    width: 100%;
    max-width: 110px;
    text-align: center;
    padding: 30px 15px 45px;
}
button.float-btn {
    background: none;
    padding: 0;
    border: none;
    display: block;
    max-width: 70px;
    margin: 6px auto;
    font-size: 9px;
    font-weight: 500;
    text-transform: uppercase;
    color: #f9f1ab;
}
.btn-text {
    margin-top: 5px;
}
button.float-btn:hover {
	filter: brightness(1.07);
	transform: scale(0.97);
}
.top-sec {
	background: url("/event/assets/betasia/images/pick-n-win/btm-bg.png")no-repeat bottom center;
	background-size: 100%;
	text-align: center;
	position: relative;
	padding: 10px 0 60px;
}
.how-wrap {
    margin-right: -5%;
    position: relative;
}
.deco.sakura-1 {
    left: 1%;
    top: 13%;
    max-width: 15%;
	animation: float 2.4s ease-in-out infinite;
}
.deco.sakura-2 {
    right: 4%;
    top: 6%;
    max-width: 16%;
	animation: float 2.2s ease-in-out infinite;
}
.accum-depo {
    position: relative;
    max-width: 453px;
    margin: 30px auto;
}
.depo-amount {
    position: absolute;
    left: 0;
    right: 0;
    top: 35%;
    color: #fff;
    font-size: 44px;
    font-weight: 700;
}
.deco.crane {
    right: -44%;
    top: -5%;
    max-width: 37%;
	animation: float 2s ease-in-out infinite;
}
.depo-reward-wrapper {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-gap: 10px;
    max-width: 1080px;
    margin: 0 auto;
}
.rwdepo-box {
    position: relative;
    max-width: 257px;
    margin: 0 auto;
	filter: grayscale(1);
}
button.redeem-btn {
    background: url(/event/assets/betasia/images/pick-n-win/btn.png)no-repeat center;
    background-size: 100%;
    width: 100%;
    max-width: 192px;
    height: 66px;
    border: none;
    padding: 5px;
    margin: 0 auto;
    color: #fde39e;
    font-weight: 700;
    font-size: 20px;
    text-shadow: 0 2px 2px rgb(0,0,0,0.70);
    padding-bottom: 4%;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 7%;
	z-index: 2;
	pointer-events: none;
}
.rwdepo-box.redeem button.redeem-btn {
	background: url("/event/assets/betasia/images/pick-n-win/btn-dark.png")no-repeat center;
    background-size: 100%;
	color: #48ff17;
}
.rwdepo-box.redeem, .rwdepo-box.active {
	filter: none;
}
.rwdepo-box.active button.redeem-btn {
	pointer-events: auto;
}
.rwdepo-box.active button.redeem-btn:hover {
	transform: scale(0.97);
	filter: brightness(1.07);
}
.token-redeem-note {
    font-size: 16px;
    font-weight: 700;
    padding: 8px 0;
}
.title-fortune-wrapper {
    max-width: 916px;
    margin: 30px auto -6%;
    position: relative;
    z-index: 2;
}
.token-wrapper {
    position: absolute;
    left: 0;
    right: 0;
    top: 73%;
    z-index: 2;
    font-size: 30px;
    font-weight: 700;
    color: #fde39e;
    text-shadow: 0 2px 2px rgb(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}
.token-wrapper img {
    margin-right: 10px;
}
.angpao-container {
    position: relative;
    max-width: 934px;
    margin: 0 auto;
}
.angpao-wrapper {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-gap: 40px 10px;
    position: absolute;
    left: 0;
    right: 0;
    top: 8%;
    max-width: 75%;
    margin: 0 auto;
	z-index: 3;
}
.angpao-box {
    display: inline-block;
    position: relative;
    max-width: 227px;
    margin: 0 auto;
	cursor: pointer;
	transition: 0.2s;
}
.angpao-box:hover {
	transform: scale(1.03);
	filter: brightness(1.07);
	transition: 0.2s;
}
.angpao-box.active {
	filter: grayscale(1);
	pointer-events: none;
}
.deco.deco-1 {
    left: -23%;
    top: -10%;
    max-width: 20%;
	animation: shake1 2.2s ease-in-out infinite;
}
.deco.deco-2 {
    right: -22%;
    top: -11%;
    max-width: 20%;
	animation: shake 2.4s ease-in-out infinite;
}
.deco.deco-3 {
    left: -33%;
    top: 35%;
    max-width: 28%;
	animation: float 2.7s ease-in-out infinite;
}
.deco.deco-4 {
    right: -33%;
    top: 28%;
    max-width: 30%;
	animation: float 2.5s ease-in-out infinite;
}
.deco.deco-5 {
    left: -23%;
    top: 67%;
    max-width: 19%;
	animation: float 2.2s ease-in-out infinite;
}
.deco.deco-6 {
    right: -23%;
    top: 72%;
    max-width: 18%;
	animation: float 2s ease-in-out infinite;
}
.deco.deco-6 img {
	transform: rotate(-47deg);
}
@-webkit-keyframes float {
0% {
	transform: translateY(0);
}
50% {
	transform: translateY(-15px);
}
100% {
	transform: translateY(0);
}
}
@-webkit-keyframes shake {
0% {
	transform: rotate(12deg);
}
50% {
	transform: rotate(0);
}
100% {
	transform: rotate(12deg);
}
}
@-webkit-keyframes shake1 {
0% {
	transform: rotate(0);
}
50% {
	transform: rotate(-12deg);
}
100% {
	transform: rotate(0);
}
}

/** Modal **/
button.close-x {
    background: none;
    padding: 0;
    color: #fff;
    border: none;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
}
.modal-content.reward {
    max-width: 270px;
    margin: 0 auto;
    background: none;
    border: none;
}
.angpao-reward {
    position: relative;
    text-align: center;
	cursor: pointer;
}
.prize-text {
    position: absolute;
    left: 5%;
    right: 0;
    top: 29%;
    z-index: 2;
    font-size: 26px;
    font-weight: 700;
    color: #000;
    transition: 0.3s;
    transform: scale(0.3);
    opacity: 0;
    visibility: hidden;
}
img.open-img {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    opacity: 0;
    visibility: hidden;
}
.angpao-reward.active .prize-text {
	visibility: visible;
	opacity: 1;
	transform: scale(1);
	transition: 0.4s;
	transition-delay: 0.2s;
}
.angpao-reward.active img.open-img {
	opacity: 1;
    visibility: visible;
}
.angpao-reward.active img.close-img {
    opacity: 0;
    visibility: hidden;
}
.modal-content.rules button.close-x {
    right: 6px;
    top: 5px;
}
.modal-dialog.rules {
    max-width: 700px;
}
.modal-content.rules {
    background: linear-gradient(240deg, rgba(242,113,20,1) 0%, rgba(220,58,17,1) 100%);
    border: 4px solid #5eb1b4;
    border-radius: 16px;
    padding: 20px;
    color: #fff2c6;
    font-size: 14px;
    font-weight: 500;
}
.title-rules {
    text-align: center;
    color: #bcfafc;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    padding-bottom: 6px;
    text-shadow: 0 3px 3px rgb(0,0,0,0.5);
    border-bottom: 1px solid #ffe5b8;
    margin-bottom: 20px;
}
ul.terms {
    padding-left: 17px;
}
ul.terms li {
    padding: 2px 0;
}
.language-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}
a.flag-btn {
    display: inline-block;
    max-width: 100px;
}

@media(max-width: 991px) {
.floating-wrapper {
    max-width: 75px;
	padding: 20px 15px 35px;
}
button.float-btn {
    font-size: 7px;
}
.depo-reward-wrapper {
    grid-template-columns: repeat(2,1fr);
    max-width: 525px;
}	
.token-wrapper {
    font-size: 3.2vw;
}	
.token-wrapper img {
    margin-right: 1vw;
    max-width: 4vw;
}	
}

@media(max-width: 767px) {
.logo {
    max-width: 33%;
    margin: 0 auto;
}	
.angpao-container {
    background: #880b09;
    border-radius: 12px;
    border: 5px solid #df3a31;
    box-shadow: inset 0 0 7px rgb(0,0,0,0.5);
    padding: 10% 2% 5%;
}
.angpao-wrapper {
    position: initial;
    max-width: 95%;
}	
img.frame-img {
	display: none;
}
.floating-wrapper {
    max-width: 60px;
	top: 20px;
    padding: 15px 10px 30px;
}	
button.float-btn {
    font-size: 6px;
    margin: 4px auto;
}	
.deco.sakura-1, .deco.sakura-2 {
	display: none;
}	
}

@media(max-width: 540px) {
button.redeem-btn {
    max-width: 77%;
    height: 12vw;
    font-size: 3.8vw;
}	
}

@media(max-width: 480px) {
.music-wrapper {
    transform: scale(0.8);
    transform-origin: right top;
}	
.how-wrap {
    margin-right: -12%;
}
.accum-depo {
    max-width: 85%;
}
.depo-amount {
    font-size: 8vw;
}
.token-redeem-note {
    font-size: 14px;
}
.token-wrapper {
    font-size: 4vw;
    top: 72%;
}
.token-wrapper img {
    max-width: 4.5vw;
}
.floating-wrapper {
    max-width: 50px;
    padding: 15px 8px 25px;
}	
button.float-btn {
    font-size: 5px;
}
.title-rules {
    font-size: 20px;
}
	
}




