@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
  font-family: Upheavtt;
  src: url("../fonts/upheavtt.ttf");
}

body {
    font-family: "Upheavtt", sans-serif;
    line-height: 1.2;
    font-size: 15px;
    color: #fff;
    background: url("/event/assets/eg33/images/merdeka_drop_2026/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;
	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: 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: 999;
    right: 4px;
    top: 100px;
    max-width: 75px;
}
.float-btn-wrap {
    position: absolute;
    top: 4%;
    left: 0;
    right: 0;
    max-width: 70%;
    margin: auto;
}
button.float-btn {
    margin: 3px 0;
    display: block;
    transition: 0.2s;
}
button.float-btn:hover {
	transform: rotate(5deg) scale(1.03);
	filter: brightness(1.07);
	transition: 0.2s;
}
.dropdown-menu.language {
    min-width: 180px;
    background: none;
    border: none;
    width: 100%;
    padding: 0;
    margin: 0;
    margin-top: 9px;
}
a.float-item {
    display: inline-block;
    max-width: 55px;
}
a.float-item:hover {
	filter: brightness(1.07);
	transform: scale(1.03);
}
.top-sec {
    position: relative;
    padding: 10px 0 100px;
    text-align: center;
}
.logo {
    margin: 0 auto -2%;
    max-width: 300px;
    position: relative;
    filter: drop-shadow(0px 4px 3px #000);
}
.title-top {
    max-width: 1000px;
    margin: 0 auto;
}
.subtitle {
    max-width: 700px;
    margin: 0 auto;
}
.how-wrapper {
    position: relative;
    padding: 15px 0;
}
.stepbox {
    display: inline-block;
    vertical-align: top;
    width: 32%;
	margin: 10px auto;
}
.depo-how {
    max-width: 930px;
    margin: 15px auto 30px;
}
.token-wrap {
    position: relative;
    max-width: 500px;
    margin: 10px auto;
}
.token-text {
    position: absolute;
    left: 52%;
    right: 7%;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Upheavtt';
    font-size: 47px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fbdc1a;
}
.deco.flower-1 {
    left: -16%;
    top: 65%;
    max-width: 22%;
    z-index: 11;
	animation: shake 2s ease-in-out infinite;
	transform-origin: bottom center;
}
.deco.flower-2 {
    right: -13%;
    top: 61%;
    max-width: 20%;
    z-index: 12;
	animation: shake 1.5s ease-in-out infinite;
}
.deco.flower-3 {
    right: -18%;
    top: 41%;
    max-width: 21%;
    z-index: 11;
	animation: shake 1.9s ease-in-out infinite;
	transform-origin: bottom center;
}
@keyframes shake {
    0% {
        transform: rotate(4deg);
    }
    50% {
        transform: rotate(-4deg);
    }
    100% {
        transform: rotate(4deg);
    }
}
@keyframes float {
    0% {
        transform: translatey(0px);
    }
    50% {
        transform: translatey(-13px);
    }
    100% {
        transform: translatey(0px);
    }
}
.frame-wrapper {
    position: relative;
    max-width: 900px;
    margin: 120px auto 0;
}
.frame-img {
    pointer-events: none;
    position: absolute;
    left: -7%;
    right: 0;
    top: -18%;
    width: 112%;
	z-index: 10;
}
.ap-event-wrapper {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    overflow: hidden;
}
#angpao-container {
    position: relative;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
}
/* --- Base Angpao Shape --- */
.angpao {
	position: absolute;
	width: 50px;
	height: 80px;
	border-radius: 5px;
	top: -100px; /* Start above screen */
	cursor: pointer;
}
.angpao:hover {
	filter: drop-shadow(0 0 5px #fce741) drop-shadow(0 0 1px #fce741) brightness(1.1);
}
.design-1 {
    background: url(/event/assets/eg33/images/merdeka_drop_2026/durian-1.png) no-repeat;
    background-size: 100%;
    width: 100px;
    height: 132px;
    margin: 0 auto;
}
.design-2 {
    background: url(/event/assets/eg33/images/merdeka_drop_2026/durian-2.png) no-repeat;
    background-size: 100%;
    width: 100px;
    height: 116px;
    margin: 0 auto;
    left: 15%;
}
.design-3 {
    background: url(/event/assets/eg33/images/merdeka_drop_2026/durian-3.png) no-repeat;
    background-size: 100%;
    width: 110px;
    height: 135px;
    margin: 0 auto;
    left: 30%;
}
/* --- Animation Keyframes --- */
@keyframes fall {
	0% {
		transform: translateY(-100px) rotate(0deg);
		opacity: 1;
	}
	100% {
		transform: translateY(110vh) rotate(360deg); /* Fall to bottom + rotate */
		opacity: 0.8;
	}
}


/** Modal **/
button.close-reward {
    background: none;
    border: none;
    padding: 0;
    color: #fff;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 3;
	font-size: 17px;
}
.modal-dialog.reward {
	top: 35px;
}
.modal-content.reward {
    background: none;
    border: none;
	max-width: 350px;
    margin: 0 auto;
}
.reward-box {
    position: relative;
    max-width: 350px;
    margin: 0 auto;
    text-align: center;
	cursor: pointer;
}
.prize {
    position: absolute;
    left: 0;
    right: 0;
    top: 43%;
    z-index: 3;
    font-size: 61px;
    font-weight: 500;
    text-transform: uppercase;
    text-shadow: 0px 2px 0 #8bc810;
    color: #155005;
    border-radius: 45px;
    margin: 0 auto;
    font-family: 'Upheavtt';
    opacity: 0;
    visibility: hidden;
    transform: scale(0.3);
}
.congratz {
    background: linear-gradient(180deg, rgba(248, 255, 65, 1) 0%, rgba(254, 193, 63, 1) 84%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    position: absolute;
    top: 0%;
    left: 0;
    right: 0;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
}
.light-prize {
    position: absolute;
    left: 0;
    right: 0;
    top: 13%;
	transform: scale(0.2);
	transition: 0.3s;
	opacity: 0;
	visibility: hidden;
	z-index: 2;
}
img.open {
	opacity: 0;
    visibility: hidden;
	z-index: 1;
}
img.closed {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
	opacity: 1;
	visibility: visible;
	z-index: 1;
}
.spark-img {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 0;
    mix-blend-mode: screen;
}
.show .reward-box .light-prize {
	opacity: 1;
	visibility: visible;
	transform: scale(1);
	transition: 0.3s;
	transition-delay: 0.7s;
	mix-blend-mode: screen;
}
.show .reward-box img.open {
    opacity: 1;
    visibility: visible;
	transition: 0.2s;
	transition-delay: 0.5s;
}
.show .reward-box img.closed {
    opacity: 0;
    visibility: hidden;
	transition: 0.2s;
	transition-delay: 0.5s;
}
.show .reward-box .prize, .reward-box .congratz {
	opacity: 1;
	visibility: visible;
	transform: scale(1);
	transition: 0.3s;
	transition-delay: 1s;
}

.modal-dialog.popup {
    max-width: 800px;
}
.modal-content.popup {
    border: none;
    background: #101436;
    border: 4px solid #000;
    padding: 15px 15px;
	font-family: 'Roboto';
}
ul.terms {
	padding-left: 17px;
}
ul.terms li {
	padding: 2px 0;
}
button.close-x {
    position: absolute;
    right: 7px;
    top: 5px;
    color: #fff;
    font-size: 16px;
    z-index: 1;
}
.how-title {
    text-align: center;
    max-width: 80%;
    margin: -5% auto 15px;
}


@media(max-width: 991px) {
.floating-wrapper {
    transform: scale(0.85);
	transform-origin: right top;
}
.music-wrapper {
	transform: scale(0.85);
	transform-origin: right bottom;
}	
.top-sec {
    padding: 10px 0 80px;
}	
.logo {
    margin: 0 auto -2%;
    max-width: 30%;
}	
.subtitle {
    max-width: 70%;
}
.frame-wrapper {
    margin: 14% auto 0;
}	
.frame-img {
    left: -4%;
    top: -18%;
    width: 107%;;
}	
.bg-img {
    max-width: 96%;
    margin: 0 auto;
}
.angpao.design-1 {
    width: 11vw;
    height: 15vw;
}	
.angpao.design-2 {
    width: 11vw;
    height: 13vw;
}	
.angpao.design-3 {
    width: 12vw;
    height: 15vw;
}
.deco {
	display: none;
}	
}

@media(max-width: 767px) {
.floating-wrapper {
    transform: scale(0.7);
}
.music-wrapper {
	transform: scale(0.75);
}	
.stepbox {
    width: 49%;
}	
.token-wrap {
    max-width: 80%;
}	
.token-text {
    font-size: 7.5vw;
}	
}


@media(max-width: 480px) {
.floating-wrapper {
    transform: scale(0.60);
}	
.music-wrapper {
	transform: scale(0.65);
}
.top-sec {
    padding: 10px 0 45px;
}	
.stepbox {
	width: 100%;
	margin: 0 0 0 -10%;
}	
}






















