﻿@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&family=Roboto+Slab:wght@400;500;600;700;800&display=swap');

body { font-family: "Roboto Slab", sans-serif; line-height:1.2; font-size:15px; color:#fff; background: url("/event/assets/casinojr/images/lucky-angpao/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; padding:0; border: none; }
.t-body {
	overflow: hidden;
}
.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;
}
.deco {
	position: absolute;
	pointer-events: none;
}
.max-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 10px;
	position: relative;
}
.full-container {
	position: relative;
}
.top-sec {
	background: url("/event/assets/casinojr/images/lucky-angpao/cloud-bg.png")no-repeat bottom center;
	background-size: 100%;
    position: relative;
    text-align: center;
    padding: 20px 0 45px;
}
button.home-btn {
	max-width: 70px;
	position: absolute;
	top: 5px;
	left: 5px;
	color: #fff;
	z-index: 99;
}
.floating-wrap {
	position: fixed;
	right: 5px;
	top: 50px;
	z-index: 999;
}
button.float-btn {
	color: #fff;
	position: relative;
	text-align: center;
	display: block;
	margin: 10px 0;
}
button.float-btn img {
	max-width: 70px;
}
button.float-btn:hover {
	transform: scale(0.97);
	filter: brightness(1.07);
}
.btn-text {
	font-size: 15px;
	font-weight: 800;
	text-shadow: 0 2px 3px rgb(0,0,0,0.8);
	text-transform: uppercase;
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1%;
}
.dropdown-menu.language {
    min-width: auto;
    background: rgb(0,0,0,0.3);
    padding: 0;
}
.logo {
    position: relative;
    max-width: 340px;
    margin: 0 auto -13%;
}
.title-top-wrapper {
    position: relative;
    margin-bottom: -12%;
}
.deco.tdeoc-1 {
    left: 2%;
    top: 19%;
    max-width: 11%;
	animation: float 2.1s ease-in-out infinite;
}
.deco.tdeoc-2 {
    right: 27%;
    top: 19%;
    max-width: 8%;
	animation: float 1.9s ease-in-out infinite;
}
.deco.tdeoc-3 {
    left: 23%;
    top: 13%;
    max-width: 7%;
	animation: shake 1.8s ease-in-out infinite;
}
.deco.tdeoc-4 {
    right: 6%;
    top: 18%;
    max-width: 11%;
	animation: shake 2s ease-in-out infinite;
}
.deco.tdeoc-5 {
    left: 14%;
    top: 8%;
    max-width: 6%;
	animation: float 2s ease-in-out infinite;
}
.deco.tdeoc-6 {
    right: 15%;
    top: 7%;
    max-width: 8%;
	animation: float 2.2s ease-in-out infinite;
}
@-webkit-keyframes float {
0% {
	transform: translateY(0);
}
50% {
	transform: translateY(-15px);
}
100% {
	transform: translateY(0);
}
}
@-webkit-keyframes shake {
0% {
	transform: rotate(0);
	transform-origin: center;
}
50% {
	transform: rotate(-15deg);
	transform-origin: center;
}
100% {
	transform: rotate(0);
	transform-origin: center;
}
}

.date-wrap {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}
.date-text {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    font-weight: 800;
    padding-bottom: 1%;
    text-shadow: 0 2px 4px rgb(0,0,0,0.7);
}
.subtitle-wrap {
    padding: 10px 0 45px;
    font-size: 26px;
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 0 2px 7px rgb(0,0,0,0.85);
}
.deco.lantern-1 {
    left: -1%;
    max-width: 14%;
	animation: hang-shake 2.4s ease-in-out infinite;
	transform-origin: left top;
}
.deco.lantern-2 {
    right: -1%;
    max-width: 14%;
	animation: hang-shake2 2.4s ease-in-out infinite;
	transform-origin: right top;
}
@-webkit-keyframes hang-shake {
0% {
	transform: rotate(0);
}
50% {
	transform: rotate(-8deg);
}
100% {
	transform: rotate(0);
}
}
@-webkit-keyframes hang-shake2 {
0% {
	transform: rotate(0);
}
50% {
	transform: rotate(8deg);
}
100% {
	transform: rotate(0);
}
}
.event-wrapper {
    position: relative;
    max-width: 1070px;
    margin: 15px auto;
}
.angpao {
	position: absolute;
	filter: drop-shadow(0 0 4px #ffc705) drop-shadow(0 0 15px #ffc705);
	cursor: pointer;
	transition: 0.2s;
}
.angpao:hover {
	transform: scale(1.03);
	transition: 0.2s;
	filter: drop-shadow(0 0 4px #ffc705) drop-shadow(0 0 25px #ffc705);
}
.angpao.ap-1 {
    left: 15%;
    top: 68%;
    max-width: 22%;
    z-index: 1;
}
.angpao.ap-2 {
    left: 4%;
    top: 50%;
    max-width: 28%;
}
.angpao.ap-3 {
    left: 13%;
    top: 31%;
    max-width: 13%;
}
.angpao.ap-4 {
    top: 0%;
    left: 26%;
    max-width: 12%;
}
.angpao.ap-5 {
    right: 40%;
    top: -2%;
    max-width: 10%;
}
.angpao.ap-6 {
    right: 18%;
    top: 7%;
    max-width: 19%;
}
.angpao.ap-7 {
    right: 16%;
    top: 38%;
    max-width: 16%;
}
.angpao.ap-8 {
    right: 11%;
    top: 64%;
    max-width: 12%;
}
.token-wrapper {
    max-width: 550px;
    margin: -10% auto 0;
    position: relative;
    z-index: 3;
}
.token-num {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    font-size: 80px;
    font-weight: 800;
}
.deco.coin-1 {
    left: -8%;
    top: 13%;
    max-width: 23%;
    z-index: -1;
}
.deco.coin-2 {
    right: -8%;
    top: 13%;
    max-width: 23%;
    z-index: -1;
    transform: scaleX(-1);
}
.click-note {
    font-size: 22px;
    text-transform: uppercase;
    font-weight: 800;
    padding: 6px 0;
    text-shadow: 0 1px 9px rgb(0,0,0,0.8);
}
.deco.big-coin-1 {
    left: 0;
    bottom: 4%;
    max-width: 13%;
	animation: float 2.3s ease-in-out infinite;
}
.deco.big-coin-2 {
    right: 0;
    bottom: 4%;
    max-width: 12%;
	animation: float 2.1s ease-in-out infinite;
}
.deco.fw-1 {
    left: 5%;
    top: -3%;
    max-width: 16%;
    mix-blend-mode: screen;
    animation: blink 2.3s ease-in-out infinite;
}
.deco.fw-2 {
    right: 0%;
    top: 3%;
    max-width: 13%;
    mix-blend-mode: screen;
	animation: blink 2.3s ease-in-out infinite;
	opacity: 0;
	animation-delay: 0.5s;
}
@keyframes blink {
0% {
	transform: scale(0.2);
	opacity: 0;
}
50% {
	transform: scale(1);
	opacity: 1;
}
100% {
	transform: scale(1);
	opacity: 0;
}
}


/** Modal **/
.modal-dialog.how {
    max-width: 900px;
	top: 7%;
}
.modal-content.how {
	background: url("/event/assets/casinojr/images/lucky-angpao/popup-bg.jpg")no-repeat;
	background-size: cover;
	border: 4px solid #c3921c;
	border-radius: 15px;
	padding: 0 30px 20px;
}
button.close-x {
    color: #fff;
    position: absolute;
    right: 10px;
    top: 7px;
    z-index: 2;
    font-size: 16px;
}
.popup-title {
    position: relative;
    max-width: 400px;
    margin: -45px auto 15px;
}
.title-text {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 0 1px 11px rgb(0,0,0,0.95);
}
.how-wrapper {
    text-align: center;
}
.stepbox {
    display: inline-block;
    position: relative;
    text-align: center;
    vertical-align: text-top;
    width: 31%;
    margin: 0.5% 0.5%;
}
.stepimg {
    margin-bottom: 10px;
}
.htext-1 {
    text-transform: uppercase;
    font-weight: 800;
    font-size: 28px;
    text-shadow: 0 1px 8px rgb(0,0,0,0.85);
}
.htext-2 {
    font-size: 18px;
    text-shadow: 0 1px 6px rgb(0,0,0,0.5);
}
ul.terms {
    padding-left: 17px;
}
ul.terms li {
	padding: 2px 0;
}
.modal-content.reward {
    background: none;
    padding: 0;
    border: none;
    max-width: 350px;
    margin: 0 auto;
}
.angpao-reward {
    position: relative;
    max-width: 300px;
    margin: 0 auto;
	cursor: pointer;
}
img.open-img {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
	visibility: hidden;
	opacity: 0;
}
.prize-text {
    position: absolute;
    left: 0;
    right: 0;
    top: 34%;
    text-align: center;
    z-index: 2;
    font-size: 30px;
    font-weight: 800;
    text-shadow: 0 1px 8px #000;
	visibility: hidden;
	opacity: 0;
	transition: 0.3s;
	transform: scale(0.3);
}
.angpao-reward.active .prize-text {
	visibility: visible;
	opacity: 1;
	transform: scale(1);
	transition: 0.3s;
	transition-delay: 0.3s;
}
.angpao-reward.active img.open-img {
	visibility: visible;
	opacity: 1;
}
.angpao-reward.active img.close-img {
	visibility: hidden;
	opacity: 0;
}

@media(max-width: 991px) {
.top-sec {
    padding: 10px 0 45px;
}	
.logo {
    max-width: 33%;
}
.token-wrapper {
    max-width: 55%;
}	
.token-num {
    font-size: 8.5vw;
}	
}

@media(max-width: 767px) {
.subtitle-wrap {
    font-size: 20px;
}		
.click-note {
    font-size: 18px;
}
button.float-btn {
    margin: 5px 0;
}
button.home-btn {
	transform: scale(0.8);
	transform-origin: left top;	
}
.floating-wrap {
    transform: scale(0.8);
	transform-origin: right top;
}
.dropdown-menu.language.show {
    transform: initial !important;
    top: 100% !important;
}	
.modal-content.how {
    padding: 0 15px 20px;
}	
.stepbox {
    width: 48%;
}
.htext-1 {
    font-size: 20px;
}	
.htext-2 {
    font-size: 15px;
}	
}

@media(max-width: 600px) {
.date-text {
    font-size: 4.2vw;
}	
}

@media(max-width: 480px) {
.music-wrapper {
    transform: scale(0.8);
    transform-origin: right top;
}	
.subtitle-wrap {
    font-size: 16px;
}
.click-note {
    font-size: 14px;
}	
button.home-btn {
	transform: scale(0.6);
	transform-origin: left top;	
}
.floating-wrap{
    transform: scale(0.6);
	transform-origin: right top;
}	
.popup-title {
    max-width: 300px;
    margin: -37px auto 15px;
}	
.title-text {
    font-size: 18px;
}
}







