@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;500;600;700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

body { font-family: "Chakra Petch", sans-serif; line-height:1.2; font-size:15px; color:#fff; background: #0b1631 url("/event/assets/casinojr/images/duit-raya-drop/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;
}
#space {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    pointer-events: none;
}
.max-container {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 10px;
}
.music-wrapper {
    position: fixed;
    z-index: 99;
    right: 0;
    bottom: 10%;
    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;
}
#backtop {
    opacity: 0;
    visibility: hidden;
}
#backtop.show {
  opacity: 1;
  visibility: visible;
}
.floating-wrapper {
    position: fixed;
    z-index: 99;
    right: 2px;
    top: 100px;
	width: 100%;
    max-width: 70px;
	text-align: center;
}
.float-btn-wrap {
    position: absolute;
    top: 9%;
    left: 0;
    right: 0;
}
button.float-btn {
    display: block;
    margin: 10% 0;
}
button.float-btn:hover {
	transform: scale(0.98);
	filter: brightness(1.08);
}
.dropdown-menu.language {
    min-width: 160px;
    background: none;
    border: none;
    width: 100%;
    padding: 0;
    margin: 0;
    top: 14px !important;
}
a.float-item {
    display: inline-block;
    max-width: 50px;
}
a.float-item:hover {
	filter: brightness(1.07);
	transform: scale(1.03);
}
.top-sec {
	position: relative;
	text-align: center;
	padding: 0 0 45px;
}
.logo {
    max-width: 26%;
    margin: 0 auto -3%;
	padding-top: 10px;
}
.title-top {
    position: relative;
}
.deco.top-1 {
    left: -5%;
    top: 60%;
    max-width: 7%;
	animation: spining 5s linear infinite;
}
.deco.top-2 {
    right: -2%;
    top: 33%;
    max-width: 6%;
	animation: spining 6s linear infinite;
}
.deco.top-3 {
    right: -4%;
    top: 69%;
    max-width: 9%;
	animation: float 1.9s ease-in-out infinite;
}
.how-title {
    font-size: 30px;
    font-weight: 700;
    color: #d3fdc4;
    text-shadow: 0px 2px 5px rgb(0, 0, 0, 0.8);
}
.step-wrapper {
    position: relative;
    margin-bottom: 45px;
}
.stepbox {
    position: relative;
    display: inline-block;
    vertical-align: top;
	width: 32%;
    margin: 0 0.5%;
}
.token-wrap {
    position: relative;
    max-width: 336px;
    margin: 0 auto;
}
.token-text {
    position: absolute;
    left: 31%;
    right: 11%;
    top: 32%;
    font-size: 30px;
    font-weight: 700;
    color: #003200;
}
.max-play {
    font-size: 18px;
    font-weight: 600;
    color: #dbffdb;
}
.deco.deco-1 {
    left: -2%;
    top: 50%;
    max-width: 10%;
	animation: float 2s ease-in-out infinite;
}
.deco.deco-2 {
    left: 0%;
    top: 79%;
    max-width: 6%;
	animation: spining 5s linear infinite;
}
.deco.deco-3 {
    right: 0%;
    top: 63%;
    max-width: 7%;
	animation: spining 6s linear infinite;
}
@keyframes float {
  0% {
    transform: translateY(0);
  } 
	50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes spining {
  0% {
    transform: rotate(0deg);
  } 
  100% {
    transform: rotate(360deg);
  }
}
.event-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 25px auto 0;
    width: 100%;
    overflow: hidden;
}
.hujan-title {
    max-width: 68%;
    margin: 0px auto -9%;
    position: relative;
    z-index: 3;
}
.inner-wrapper {
	position: relative;
    height: 100%;
    width: 100%;
    margin: 0 auto;
}
.angpao {
	position: absolute;
	width: 100%;
	top: 0;
	left: -30%;
	right: 0;
	cursor: pointer;
	z-index: 1;
}
.gpbox {
    background: url(/event/assets/casinojr/images/duit-raya-drop/gp-1.png) no-repeat;
    background-size: 100%;
    width: 105px;
    height: 125px;
}
.star {
	position: absolute;
	top: -20px;
	animation: animate 4s linear forwards;
	background: url("/event/assets/casinojr/images/duit-raya-drop/gp-1.png")no-repeat;
	background-size: 100%;
	width: 105px;
    height: 125px;
}
.star-2 {
	position: absolute;
	top: -20px;
	animation: animate 4s linear forwards;
	background: url("/event/assets/casinojr/images/duit-raya-drop/gp-2.png")no-repeat;
	background-size: 100%;
	width: 105px;
    height: 125px;
}
.star-3 {
	position: absolute;
	top: -20px;
	animation: animate 4s linear forwards;
	background: url("/event/assets/casinojr/images/duit-raya-drop/gp-3.png")no-repeat;
	background-size: 100%;
	width: 105px;
    height: 125px;
}
.star-4 {
	position: absolute;
	top: -20px;
	animation: animate 4s linear forwards;
	background: url("/event/assets/casinojr/images/duit-raya-drop/gp-4.png")no-repeat;
	background-size: 100%;
	width: 105px;
    height: 125px;
}
.angpao div:hover {
	filter: drop-shadow(0 0 2px rgb(255,255,255,0.8)) drop-shadow(0 0 4px rgb(255,255,255,0.8));
}

@keyframes animate {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  80% {
    opacity: 1;
  	}	
  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

button.close-x {
    background: none;
    border: none;
    padding: 0;
    color: #fff;
    position: absolute;
    right: 5px;
    top: 5px;
    font-size: 18px;
    z-index: 2;
}
.modal-content.reward {
    background: none;
    border: none;
    text-align: center;
    max-width: 450px;
    margin: 0 auto;
}
.reward-box {
    position: relative;
	cursor: pointer;
}
.prize {
    position: absolute;
    left: -7%;
    right: 0;
    top: 34%;
    font-size: 30px;
    font-weight: 700;
    color: #000;
    z-index: 2;
    transform: none;
    transition: 0.3s;
	visibility: hidden;
    opacity: 0;
	transform: scale(0.3);
}
img.open {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    visibility: hidden;
    opacity: 0;
}
.reward-box.active img.closed {
    opacity: 0;
    visibility: hidden;
	transition: 0.2s;
}
.reward-box.active img.open {
    opacity: 1;
    visibility: visible;
	transition: 0.2s;
}
.reward-box.active .prize {
	opacity: 1;
	visibility: visible;
	transform: scale(1);
	transition: 0.3s;
	transition-delay: 0.3s;
}
.modal-dialog.terms {
	max-width: 750px;
	top: 5%;
}
.modal-content.terms {
    background: #0c2709;
    border: 3px solid #0d532d;
	box-shadow: inset 0 0 4px 1px rgb(0,0,0,0.85);
    border-radius: 15px;
    color: #f0ffeb;
    padding: 15px 20px 15px;
}
.title-popup{
    font-size: 30px;
	font-weight: 700;
	text-align: center;
	padding-bottom: 15px;
}
ul.terms {
	padding-left: 17px;
}
ul.terms li {
	padding: 2px 0;
}

@media(max-width: 991px) {
.floating-wrapper {
    transform: scale(0.7);
    transform-origin: right top;
}	
.music-wrapper {
	transform: scale(0.7);
	transform-origin: right bottom;
}	
.star,.star-1, .star-2, .star-3, .star-4 {
    width: 11%;
    height: 13vw;
}	
}

@media(max-width: 767px) {
.stepbox {
    width: 48%;
}	
}

@media(max-width: 480px) {
.floating-wrapper {
    transform: scale(0.60);
}	
.logo {
    max-width: 34%;
    padding-top: 5px;
}	
.title-img {
	margin: 0 -10px;
	height: 40vw;
}
.title-img img {
	object-fit: cover;
	height: 100%;
}	
.token-wrap {
    max-width: 300px;
}	
.token-text {
    font-size: 26px;
}
.how-title {
    font-size: 23px;
}	
.max-play {
    font-size: 15px;
}
.modal-content.terms {
    padding: 15px 15px 15px;
	font-size: 14px;
}	
.title-popup {
    font-size: 22px;
}
}















