@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Teko:wght@300..700&display=swap');

body { font-family: "Montserrat", sans-serif; line-height:1.2; font-size:15px; color:#16213c; background: url("/event/assets/eg33/images/ketupat-rush/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: 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;
}
.floating-wrapper {
    position: fixed;
    z-index: 999;
    right: 4px;
    top: 100px;
    max-width: 77px;
}
.float-btn-wrap {
    position: absolute;
    top: 11px;
    left: -12px;
    max-width: 65px;
}
button.float-btn {
    margin: 5px 0;
    display: block;
	transition: 0.2s;
}
button.float-btn:hover {
	transform: rotate(-15deg) scale(0.98);
	filter: brightness(1.07);
	transition: 0.2s;
}
.top-sec {
	position: relative;
	text-align: center;
	padding: 0 0 45px;
}
.deco.lantern-1 {
    left: -3%;
    top: -2px;
    max-width: 9%;
	animation: hanging 2.3s ease-in-out infinite;
}
.deco.lantern-2 {
    top: -2px;
    left: 12%;
    max-width: 7%;
	animation: hanging 2.2s ease-in-out infinite;
}
.deco.lantern-3 {
    top: -2px;
    right: 12%;
    max-width: 7%;
	animation: hanging 2.2s ease-in-out infinite;
}
.deco.lantern-4 {
    right: -3%;
    top: -2px;
    max-width: 9%;
	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 {
    padding-top: 10px;
    max-width: 260px;
    margin: 0 auto -2%;
}
.title-top {
    max-width: 741px;
    margin: 0 auto 30px;
    position: relative;
}
.top-btn-wrap {
    position: relative;
	padding-bottom: 15px;
}
.token-wrap {
    position: relative;
    display: inline-block;
    max-width: 406px;
    margin: 4px 15px;
    vertical-align: top;
}
.tktext {
    position: absolute;
    left: 32%;
    right: 5%;
    top: 31%;
    font-family: 'Teko';
    font-size: 42px;
    font-weight: 600;
    font-style: italic;
}
button.how-btn {
    position: relative;
    max-width: 379px;
    margin: 5px 15px;
    vertical-align: top;
}
button.how-btn:hover {
	transform: scale(0.98);
	filter: brightness(1.07);
}
.how-text {
    position: absolute;
    left: 31%;
    right: 5%;
    top: 35%;
    font-family: 'Teko';
    font-size: 38px;
    font-weight: 600;
    font-style: italic;
}
.event-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    height: 853px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.frame-img {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
	z-index: 2;
	pointer-events: none;
}
.inner-wrapper {
	position: relative;
    background: url(/event/assets/eg33/images/ketupat-rush/event-bg.png) no-repeat;
    background-size: cover;
    height: 83%;
    width: 85%;
    margin: auto;
	overflow: hidden;
}
.angpao {
	position: absolute;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	cursor: pointer;
}
.star {
	position: absolute;
	top: -20px;
	animation: animate 5s linear forwards;
	background: url("/event/assets/eg33/images/ketupat-rush/ketupat-1.png")no-repeat;
	background-size: 100%;
	width: 186px;
	height: 254px;
}
.star: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;
  }
}
.max-play {
    font-size: 20px;
    font-weight: 700;
}

/** Modal **/
.modal-dialog.how {
    max-width: 850px;
	top: 4%;
}
.modal-content.how {
	background: url("/event/assets/eg33/images/ketupat-rush/popup-base-2.png")no-repeat;
	background-size: 100% 100%;
	border: none;
	padding: 0 30px 30px;
	min-height: 290px;
}
button.close-x {
    position: absolute;
    color: #000;
    right: 24px;
    top: 17px;
    z-index: 2;
    font-size: 16px;
    font-weight: 700;
}
.how-title {
    text-align: center;
    margin: -55px auto 15px;
}
.how-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
	margin-top: -20px;
}
.stepbox {
    position: relative;
    display: inline-block;
    max-width: 247px;
    margin: 5px auto;
}
.modal-content.terms {
	background: url("/event/assets/eg33/images/ketupat-rush/popup-base-1.png")no-repeat;
	background-size: 100% 100%;
	border: none;
	padding: 15px 30px 15px;
	color: #2e120c;
}
ul.terms {
    padding-left: 17px;
    font-weight: 600;
}
ul.terms li {
	padding: 2px 0;
}
.modal-content.language {
    background: url("/event/assets/eg33/images/ketupat-rush/popup-base-2.png") no-repeat;
    background-size: 100% 100%;
    border: none;
    padding: 15px 20px 30px;
}
.title-1 {
    font-size: 32px;
	font-weight: 600;
    font-family: 'Teko';
    text-align: center;
	text-transform: uppercase;
    color: #2e120c;
    margin-bottom: 10px;
}
.lang-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
    max-width: 70%;
    margin: 0 auto;
}
.modal-content.reward {
    background: none;
    border: none;
	max-width: 330px;
    margin: 0 auto;
}
.reward-box {
    position: relative;
    max-width: 330px;
    margin: 0 auto;
    text-align: center;
	cursor: pointer;
}
.prize {
    position: absolute;
    left: 0;
    right: 0;
    top: 46%;
	z-index: 3;
    font-size: 34px;
    color: #000;
    font-weight: 700;
    text-shadow: 0 0 5px #fff, 0 0 10px #fff;
    filter: drop-shadow(0px 0px 11px #fff);
	opacity: 0;
	visibility: hidden;
	transform: scale(0.3);
}
img.open {
	position: absolute;
	left: 0;
	right: 0;
	transition: 0.2s;
}
img.open {
    opacity: 0;
    visibility: hidden;
	transition: 0.2s;
}
.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;
}

@media(max-width: 1020px) {
.event-wrapper {
    height: 82vw;
}
.star {
	max-width: 20%;
	height: 24vw;
}	
	
}


@media(max-width: 991px) {
.music-wrapper {
	transform: scale(0.8);
	transform-origin: right bottom;
}	
.floating-wrapper {
	transform: scale(0.65);
	transform-origin: right top;
}	
}

@media(max-width: 767px) {
.floating-wrapper {
	transform: scale(0.5);
}	
.modal-dialog.how {
    top: 6%;
}	
button.close-x {
    right: 12px;
    top: 7px;
}		
.modal-content.how, .modal-content.terms {
    background: linear-gradient(180deg, rgba(255, 230, 84, 1) 0%, rgba(247, 177, 51, 1) 30%, rgba(244, 155, 37, 1) 100%);
    border-radius: 15px;
    border: 2px solid #fcde69;
    box-shadow: inset 0 0 14px 5px #f9cb42;
    padding: 0 15px 20px;
}	
.logo {
    max-width: 38%;
	margin: 0 auto -4%;
}	
.how-title {
	max-width: 85%;
	margin: -10% auto 4%;
}	
.how-wrapper {
    display: block;
    margin: 0 auto;
    text-align: center;
}
.stepbox {
    width: 49%;
}
.modal-content.language {
	background: linear-gradient(180deg, rgba(255, 230, 84, 1) 0%, rgba(247, 177, 51, 1) 30%, rgba(244, 155, 37, 1) 100%);
    border-radius: 15px;
    border: 2px solid #fcde69;
    box-shadow: inset 0 0 14px 5px #f9cb42;
    padding: 15px 15px 20px;
}	
.title-1 {
    font-size: 26px;
}		
}

@media(max-width: 480px) {
.floating-wrapper {
	transform: scale(0.45);
}	
.token-wrap, button.how-btn {
    max-width: 80%;
}	
.tktext {
    font-size: 8.6vw;
}	
.how-text {
    font-size: 8vw;
}	
	
.modal-content.how, .modal-content.terms {
	font-size: 14px;	
}
.max-play {
    font-size: 17px;
}
.music-wrapper {
	transform: scale(0.7);
}	
}


















