@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body { font-family: "Montserrat", sans-serif; line-height:1.2; font-size:15px; color:#fff; background: #000 url("/event/assets/images/raya_4d_meriah/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, 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;
}
#space {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    pointer-events: none;
}
.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: 68px;
    text-align: center;
}
.float-btn-wrap {
    position: absolute;
    width: 100%;
    left: -13px;
}
button.float-btn {
    display: block;
    margin: 2px 0;
	transition: 0.2s;
}
button.float-btn:hover {
	transform: scale(0.98) rotate(8deg);
	filter: brightness(1.08);
	transition: 0.2s;
}
.dropdown-menu.language {
    min-width: 180px;
    background: none;
    border: none;
    width: 100%;
    padding: 0;
    margin: 0;
	margin-top: 5px;
}
a.float-item {
    display: inline-block;
    max-width: 57px;
}
a.float-item:hover {
	filter: brightness(1.07);
	transform: scale(1.03);
}
button.home-btn {
    position: absolute;
    z-index: 9;
    left: 5px;
    top: 5px;
    max-width: 58px;
}
.top-sec {
    position: relative;
    text-align: center;
    padding: 0 0 45px;
}
.logo {
    position: absolute;
    left: 0;
    right: 0;
    top: 8px;
    z-index: 2;
    max-width: 20%;
    margin: 0 auto;
}
.title-top {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}
.date-sub {
    background: linear-gradient(180deg, rgba(255, 255, 202, 1) 16%, rgba(237, 155, 96, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 18px;
    font-weight: 600;
    filter: drop-shadow(0px 1px 1px black);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1%;
}
.step-wrapper {
    padding-bottom: 45px;
}
.how-box {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    max-width: 190px;
}	
.step-info {
    position: absolute;
    left: 0;
    right: 0;
    top: 70%;
    color: #ffc342;
    font-size: 11px;
    font-weight: 600;
    max-width: 73%;
    margin: 0 auto;
}
.spt-1 {
    color: #ffeb90;
    font-size: 135%;
    font-weight: 600;
    text-transform: uppercase;
}
.token-base {
    position: relative;
    max-width: 350px;
    margin: 5px auto;
}
.tktext {
    position: absolute;
    left: 0;
    right: 0;
    top: 25%;
    color: #ffc342;
    font-size: 30px;
    font-weight: 600;
    text-transform: uppercase;
}
.event-wrapper {
	position: relative;
}

.predict-number-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
    max-width: 600px;
    margin: 15px auto;
}
.numberbox {
    position: relative;
    background: url(/event/assets/images/raya_4d_meriah/numbox.png) no-repeat;
    background-size: 100% 100%;
    max-width: 130px;
    height: 170px;
    margin: 0 auto;
    width: 100%;
}
select.number-input {
    background: none;
    border: none;
    height: 100%;
    width: 100%;
    color: #ffeb90;
    text-align: center;
    font-size: 100px;
    font-weight: 700;
    appearance: none;
    cursor: pointer;
}
.numberbox::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 700;
    position: absolute;
    right: 10%;
    top: 44%;
    font-size: 20px;
}
select.number-input option {
    font-size: 18px;
    color: #000;
}
.btn-bottom {
	padding: 10px 0;
}
button.btm-btn {
	background: url("/event/assets/images/raya_4d_meriah/btn-2.png")no-repeat;
	background-size: 100% 100%;
	width: 100%;
	max-width: 165px;
	height: 40px;
	color: #000;
	font-weight: 600;
    font-size: 16px;
	text-transform: uppercase;
    margin: 5px 10px;
}
button.btm-btn.submit {
    background: url("/event/assets/images/raya_4d_meriah/btn-1.png")no-repeat;
	background-size: 100% 100%;
}
.date-period {
    position: relative;
    max-width: 470px;
    margin: 0 auto;
}
.date-result {
    position: absolute;
    left: 0;
    right: 0;
    top: 15%;
    color: #e7cb85;
    font-size: 25px;
    font-weight: 500;
	letter-spacing: 1px;
}
.cutoff-note {
    position: absolute;
    left: 0;
    right: 0;
    top: 67%;
    color: #ffeb90;
    font-size: 14px;
}
.deco.leaves {
    left: 0;
    right: 0;
    top: 0;
    z-index: -1;
    pointer-events: none;
    margin: 0 auto;
}

/** Modal **/
.modal-dialog.how {
    max-width: 750px;
}
.modal-content.popup {
	background: #0d1c20;
	border: 2px solid #fee6b0;
	padding: 15px 25px;
	border-radius: 15px;
	box-shadow: inset 0 0 6px rgb(0, 0, 0, 0.6);
	text-align: center;
}
button.close-x {
    position: absolute;
    right: 9px;
    top: 6px;
    z-index: 2;
    color: #fff;
}
.popup-title {
    color: #ffeb90;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    text-transform: uppercase;
}
table.prize-table {
	text-transform: uppercase;
}
table.prize-table tr th {
    background: #ffeb90;
	color: #000;
	padding: 8px 2px;
	border: 2px solid #000;
}
table.prize-table tr td {
    background: #222627;
    padding: 8px 2px;
    border: 2px solid #000;
}
ul.terms {
	text-align: left;
	padding-left: 17px;
}
.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;
}
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: 991px) {
.floating-wrapper {
    transform: scale(0.8);
    transform-origin: right top;
}	
.music-wrapper {
    transform: scale(0.8);
    transform-origin: right top;
}	
}

@media(max-width: 767px) {
.floating-wrapper {
    transform: scale(0.7);
	top: 50px;
}	
.music-wrapper {
    transform: scale(0.7);
}
button.home-btn {
    max-width: 45px;
}
.date-sub {
    font-size: 2vw;
}	
.step-wrapper {
    max-width: 600px;
    margin: 0 auto;
}	
}

@media(max-width: 600px) {
.predict-number-wrapper {
    grid-gap: 1%;
}	
.numberbox {
    height: 28vw;
}
.numberbox::after {
    font-size: 3vw;
}
select.number-input {
    font-size: 17vw;
}	
.how-title {
    max-width: 87%;
    margin: 0 auto;
}	
}

@media(max-width: 480px) {
.floating-wrapper {
	transform: scale(0.6);
}	
button.home-btn {
	max-width: 40px;
}	
.logo {
    top: 5px;
    max-width: 30%;
}	
.title-top {
    margin: 0 -10px;
    height: 63vw;
}	
.title-top img {
    object-fit: cover;
    height: 100%;
}
.date-sub {
	font-size: 3vw;
}	
.token-base {
    max-width: 75%;
}	
.tktext {
    font-size: 6.5vw;
}
.date-period {
    max-width: 90%;
}	
.date-result {
    font-size: 5vw;
}	
.cutoff-note {
    font-size: 2.7vw;
}
.modal-content.popup {
	padding: 15px 15px;
    font-size: 14px;
}	
.popup-title {
    font-size: 20px;
}
		
}

@media(max-width: 430px) {
.how-box {
    width: 48%;
    margin: 0 0.5%;
}
.step-info {
    font-size: 2.6vw;
}
}








