@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Baskervville:ital,wght@0,400..700;1,400..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: "Roboto", sans-serif;
    line-height: 1.2;
    font-size: 15px;
    color: #fff;
    background: #000 url("/event/assets/images/merdeka_4d_2026/bg.jpg")top center !important;
    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, select:focus { 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;
}
button:hover {
	transform: scale(0.98);
	filter: brightness(1.08);
}
.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: 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: 99;
    right: 2px;
    top: 100px;
	width: 100%;
    max-width: 58px;
	text-align: center;
}
button.float-btn {
    display: block;
    margin: 4px 0;
}
button.float-btn:hover {
	transform: scale(0.98);
	filter: brightness(1.08);
}
.dropdown-menu.language {
    min-width: 180px;
    background: none;
    border: none;
    width: 100%;
    padding: 0;
    margin: 0;
}
a.float-item {
    display: inline-block;
    max-width: 54px;
	margin: 0 1px;
}
a.float-item:hover {
	filter: brightness(1.07);
	transform: scale(1.03);
}
.top-sec {
	position: relative;
	text-align: center;
	padding: 0 0 30px;
}
button.home-btn {
    position: absolute;
    left: 5px;
    top: 5px;
    max-width: 58px;
    z-index: 9;
}
.logo {
	padding-top: 10px;
}
.title-top {
    position: relative;
}
.deco.bflag-1 {
    left: -38%;
    top: -25%;
    z-index: -1;
    max-width: 68%;
}
.deco.bflag-2 {
    right: -38%;
    top: -25%;
    z-index: -1;
    max-width: 68%;
}
.deco.ball-1 {
    left: 0%;
    top: 4%;
    max-width: 14%;
	animation: float 2.3s ease-in-out infinite;
}
.deco.ball-2 {
    right: 12%;
    top: -8%;
    max-width: 11%;
	animation: float 2.4s ease-in-out infinite;
}
.deco.coin-1 {
    left: 2%;
    bottom: -8%;
    max-width: 9%;
	animation: float 2.2s ease-in-out infinite;
}
.deco.coin-2 {
    right: 4%;
    bottom: -12%;
    max-width: 11%;
	animation: float 2.1s ease-in-out infinite;
}
@keyframes float {
    0% {
        transform: translatey(0px);
    }
    50% {
        transform: translatey(-13px);
    }
    100% {
        transform: translatey(0px);
    }
}
.subtitle {
    font-family: 'Baskervville';
    font-weight: 600;
    font-size: 22px;
}
.event-date {
    position: relative;
    max-width: 600px;
    margin: 15px auto 0;
}
.date-text {
    position: absolute;
    left: 0;
    right: 0;
    top: 44%;
    font-size: 30px;
    font-family: 'Baskervville';
    font-weight: 700;
    text-shadow: 0 0 5px #000;
    text-transform: uppercase;
}
.dayweek {
    font-family: 'Baskervville';
    font-weight: 500;
    font-size: 18px;
    letter-spacing: 1px;
    margin-bottom: 30px;
}
.step-wrapper {
    text-align: center;
    padding-bottom: 30px;
}
.stepbox {
    position: relative;
    vertical-align: top;
    display: inline-block;
    width: 24%;
    margin: 10px 0;
}
.step-info {
    position: relative;
    margin-top: -31px;
}
.sptext-1 {
    font-size: 28px;
    font-family: 'Baskervville';
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(180deg, rgba(248, 177, 61, 1) 0%, rgba(255, 210, 91, 1) 50%, rgba(255, 240, 120, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 1px 2px #000);
    margin-bottom: 5px;
}
.sptext-2 {
    padding: 0 10px;
}
.deco.wau {
    left: -10%;
    top: 64%;
    max-width: 18%;
	animation: float 2s ease-in-out infinite;
}
.deco.flag {
    right: -6%;
    top: 0%;
    max-width: 20%;
	animation: float 2.1s ease-in-out infinite;
}
.prediction-event {
    position: relative;
    margin-bottom: 45px;
}
.prediction-title {
    margin-bottom: 20px;
}
.token-date-wrapper {
    position: absolute;
    left: 0;
    right: 0;
    top: -1%;
}
.token-wrap {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}
.token-num {
    position: absolute;
    left: 0;
    right: 0;
    top: 23%;
    font-size: 44px;
    font-weight: 700;
    text-shadow: 0 0 7px #000;
}
.date-week {
    position: absolute;
    left: 0;
    right: 0;
    top: 67%;
    font-size: 28px;
    font-weight: 600;
}
.cutoff-note {
    font-family: 'Baskervville';
    font-size: 22px;
    font-weight: 600;
}
.predict-4d-wrapper {
    position: absolute;
    left: 0;
    right: 0;
    top: 44%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 67%;
    margin: 0 auto;
    grid-gap: 0 1%;
}
select.predict-input {
    width: 100%;
    height: 100%;
    background: none;
    border: none;
    color: #fff;
    text-align: center;
    appearance: none;
    font-size: 230px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}
.numbox {
	position: relative;
}
.numbox::after {
    content: '\f0d7';
    font-family: 'Font Awesome 5 Free';
    font-weight: 700;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    font-size: 24px;
	line-height: 0.5;
}
select.predict-input option {
	font-size: 18px;
	color: #000;
}
button.submit-btn {
    position: absolute;
    left: 0;
    right: 0;
    top: 88%;
    z-index: 3;
    background: url("/event/assets/images/merdeka_4d_2026/submit-btn.png") no-repeat;
    background-size: 100% 100%;
    width: 100%;
    max-width: 360px;
    height: 110px;
    margin: 0 auto;
    color: #fff;
    font-family: 'Baskervville';
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
}
.bottom-btn-wrap {
    position: relative;
    text-align: center;
    padding: 30px 0;
}
button.comm-btn {
    max-width: 400px;
    margin: 0 10px;
    position: relative;
}
.btn-text {
    position: absolute;
    left: 27%;
    right: 5%;
    top: 6%;
    bottom: 0;
    color: #fff;
    font-size: 22px;
    text-shadow: 0px -2px 4px #000;
    font-family: 'Baskervville';
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

/** Modal **/
.modal-dialog.popup {
	max-width: 700px;
}
.modal-content.popup {
	background: #002aa0;
    border-radius: 12px;
    border: 3px solid #e7c41e;
	color: #fff;
	padding: 15px 25px 20px;
}
button.close-x {
    position: absolute;
    right: 10px;
    top: 5px;
    z-index: 2;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}
.popup-title {
    font-family: 'Baskervville';
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-shadow: 1px 2px 4px rgb(0, 0, 0, 0.8);
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 15px;
}
ul.terms {
    padding-left: 17px;
}
table.table-timeline {
	text-align: center;
}
table.table-timeline tr th {
	background: #e6c21c;
	color: #000;
	padding: 8px 1px;
	border: 1px solid #fff;
}
table.table-timeline tr td {
	padding: 8px 1px;
	border: 1px solid #fff;
}

.result-date-text {
    border: 2px solid #ffeb90;
    background: #000;
    max-width: 200px;
    margin: 0 auto 15px;
    border-radius: 335px;
    padding: 8px 4px;
    font-size: 17px;
    font-weight: 600;
	text-align: center;
}
table.lotto-table {
    text-align: center;
}
.rstable {
    overflow: auto;
    color: #fff;
    text-transform: uppercase;
    max-width: 300px;
    margin: 0 auto 15px;
    width: 100%;
}
.lotto-table tr td {
    padding: 5px;
    background: #fff;
	color: #000;
	font-weight: 500;
}
.lotto-table tr th {
    padding: 3px 8px;
    font-weight: 600;
}
.toto .lotto-table tr th {
    background: #fec110;
    border: 1px solid #fec110;
    color: #000;
}
.toto .lotto-table tr td {
    border: 1px solid #fec110;
}

@media(max-width: 1100px) {
.floating-wrapper {
    transform: scale(0.8);
    transform-origin: right top;
}	
button.home-btn {
    max-width: 45px;
}	
.music-wrapper {
	transform: scale(0.8);
	transform-origin: right top;
}	
.logo {
    max-width: 43%;
    margin: 0 auto;
}	
.token-wrap {
    max-width: 50%;
}
.token-num {
    font-size: 4vw;
}	
.date-week {
    font-size: 2.5vw;
}	
.cutoff-note {
    font-size: 2vw;
}
select.predict-input {
    font-size: 20vw;
}		
button.submit-btn {
    max-width: 32%;
    height: 10vw;
    font-size: 2.8vw;
}	
	
}

@media(max-width: 767px) {
.floating-wrapper {
    transform: scale(0.7);
    transform-origin: right top;
}	
button.home-btn {
    max-width: 40px;
}		
.music-wrapper {
	transform: scale(0.7);
}
.subtitle {
    font-size: 17px;
}	
.event-date {
    max-width: 75%;
}	
.date-text {
    font-size: 3.8vw;
}	
.dayweek {
    font-size: 15px;
}
.stepbox {
    width: 48%;
    max-width: 300px;
    margin: 0 auto;
}
.deco.wau, .deco.flag {
	display: none;
}	
.numbox::after {
    font-size: 3vw;
}	
}

@media(max-width: 480px) {
.floating-wrapper {
    transform: scale(0.65);
    transform-origin: right top;
}	
button.home-btn {
    max-width: 35px;
}
.how-title {
    max-width: 85%;
    margin: 0 auto;
}
.prediction-title {
    max-width: 95%;
    margin: 0 auto 20px;
}
.bottom-btn-wrap {
    padding: 15px 0;
}	
button.comm-btn {
    max-width: 65%;
	margin: 5px 0;
}	
.btn-text {
    font-size: 3.5vw;
}
.step-info {
    margin-top: -13%;
}	
.sptext-1 {
    font-size: 5vw;
}
.sptext-2 {
    font-size: 14px;
}
.popup-title {
    font-size: 20px;
}	
.modal-content.popup {
	font-size: 14px;
	padding: 15px 15px 20px;
}	
}










