@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
  font-family: 'Wonder';
  src: url("../fonts/8-BIT-WONDER.TTF");
}

body { font-family: "Montserrat", sans-serif; line-height:1.2; font-size:15px; color:#fff; background: #7f0807 url("../images/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;
}
.top-sec {
	position: relative;
	background: url("../images/top-bg.png")no-repeat top center;
	background-size: 100%;
	padding: 5px 0 45px;
	text-align: center;
}
.logo {
    max-width: 260px;
    margin: 0px auto -2%;
}
.title-top {
    position: relative;
	margin-bottom: 45px;
}
.deco.fw-1 {
    left: 4%;
    top: -8%;
    max-width: 35%;
	opacity: 0;
	animation: blink 2.3s ease-in-out infinite;
	animation-delay: 0.3s;
}
.deco.fw-2 {
    max-width: 20%;
    margin: 0 auto;
    top: 12%;
    left: 38%;
    z-index: -1;
	opacity: 0;
	animation: blink 2.3s ease-in-out infinite;
	animation-delay: 1s;
}
.deco.fw-3 {
    right: 13%;
    top: -12%;
    max-width: 24%;
    z-index: -1;
	opacity: 0;
	animation: blink 2.3s ease-in-out infinite;
	animation-delay: 0.8s;
}
.deco.top-ap-1 {
    left: 18%;
    top: 9%;
    max-width: 14%;
	animation: float 2.2s ease-in-out infinite;
}
.deco.top-ap-2 {
    right: -8%;
    top: 30%;
    max-width: 10%;
	animation: float 2.1s ease-in-out infinite;
}
.deco.yuanbao-1 {
    left: -4%;
    top: 39%;
    max-width: 21%;
    animation: float 2.3s ease-in-out infinite;
}
.deco.yuanbao-2 {
    right: -3%;
    top: 74%;
    max-width: 20%;
	animation: float 2.4s ease-in-out infinite;
}
.deco.top-coin-1 {
    right: -2%;
    top: -12%;
    max-width: 19%;
	animation: float 2s ease-in-out infinite;
}
@keyframes float {
    0% {
        transform: translatey(0px);
    }
    50% {
        transform: translatey(-12px);
    }
    100% {
        transform: translatey(0px);
    }
}
@keyframes blink {
    0% {
        transform: scale(0.2);
		opacity: 0;
    }
    50% {
        transform: scale(1);
		opacity: 1;
    }
    100% {
        transform: scale(1);
		opacity: 0;
    }
}
.top-winner-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
	padding-bottom: 45px;
}
.winnerbox {
    position: relative;
    max-width: 390px;
    margin: 0 auto;
}
.winnerbox {
    position: relative;
    max-width: 390px;
    margin: 0 auto;
}
.winner-info {
    position: absolute;
    left: 0;
    right: 0;
    top: 70%;
    font-size: 25px;
    font-weight: 600;
}
.wntext-1 {
    margin-bottom: 4px;
}
.wntext-2 {
    font-size: 90%;
}
.winnerbox.active .wntext-1 {
	color: #ffc133;
}
.winnerbox.first {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
    bottom: 35px;
}
.leaderboard-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}
.table-responsive.leaderboard {
    position: absolute;
    left: 0;
    right: 0;
    top: 9%;
    max-width: 77%;
    margin: 0 auto;
}
table.leaderboard-table tr th {
    background: linear-gradient(180deg, rgba(231, 220, 134, 1) 0%, rgba(128, 89, 42, 1) 100%);
    border: 2px solid #ffba1d;
    font-family: 'Wonder';
    padding: 12px 1px;
    font-weight: 400;
}
table.leaderboard-table tr td {
    background: #da0800;
    border: 2px solid #ffba1d;
    padding: 11px 1px;
    font-size: 15px;
}
table.leaderboard-table tr.active td {
	background: #ffc133;
	color: #000;
	font-weight: 600;
}
.mypoint-wrap {
    position: relative;
    max-width: 500px;
    margin: 15px auto;
}
.pts-text {
    position: absolute;
    left: 0;
    right: 0;
    top: 45%;
    font-size: 38px;
    font-weight: 600;
}
button.tnc-btn {
    position: relative;
    max-width: 320px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}
button.tnc-btn:hover {
	transform: scale(0.98);
	filter: brightness(1.07);
}
.btn-text {
    position: absolute;
    left: 26%;
    right: 5%;
    top: 35%;
}
.deco.ap-1 {
    left: -3%;
    top: 14%;
    max-width: 13%;
	animation: float 2.1s ease-in-out infinite;
}
.deco.ap-2 {
    right: -3%;
    top: 50%;
    max-width: 11%;
	animation: float 2.4s ease-in-out infinite;
}
.deco.deco-yb {
    top: 41%;
    left: -5%;
    max-width: 20%;
	animation: float 2.3s ease-in-out infinite;
}
.deco.deco-coin {
    right: -3%;
    top: 22%;
    max-width: 20%;
	animation: float 2s ease-in-out infinite;
}

/** Modal **/
button.close-x {
    position: absolute;
    right: 9px;
    top: 5px;
    color: #fff;
    font-size: 16px;
    z-index: 2;
}
.modal-dialog.terms {
    max-width: 700px;
}
.modal-content.terms {
    background: linear-gradient(180deg,rgba(216, 7, 0, 1) 0%, rgba(199, 8, 1, 1) 100%);
    border: 3px solid #fcc97b;
    border-radius: 15px;
    box-shadow: inset 0 0 3px 1px rgb(0, 0, 0, 0.6);
    padding: 15px 20px;
	font-size: 17px;
}
.tnc-title {
	font-family: 'Wonder';
    text-align: center;
    font-size: 18px;
    margin-bottom: 15px;
	color: #fff;
}
ul.terms {
	padding-left: 17px;
}


@media(max-width: 1080px) {
.logo {
    max-width: 25%;
}
.winner-info {
    font-size: 2.3vw;
}
.wntext-1 {
    margin-bottom: 1%;
}	
table.leaderboard-table tr th {
    padding: 1.1vw 1px;
    font-size: 1.4vw;
}	
table.leaderboard-table tr td {
    padding: 1.1vw 1px;
    font-size: 1.4vw;
}	
}

@media(max-width: 767px) {
.title-top {
    margin-bottom: 2%;
}	
.top-winner-wrapper {
    grid-template-columns: repeat(2, 1fr);
    padding-bottom: 30px;
}	
.winnerbox.first {
    grid-row: 1 / 2;
    grid-column: 1 / 3;
    bottom: 0;
	width: 50%;
}
.winner-info {
	font-size: 3.3vw;
}	
.table-responsive.leaderboard {
    position: initial;
	max-width: 100%;
}	
.frame-img {
    display: none;
}	
table.leaderboard-table tr th {
	padding: 10px 1px;
	font-size: 13px;
}	
table.leaderboard-table tr td {
	padding: 8px 1px;
	font-size: 14px;
}
.mypoint-wrap {
    max-width: 68%;
}	
.pts-text {
    font-size: 5vw;
}	
}

@media(max-width: 480px) {		
.deco.top-ap-1 {
    max-width: 19%;
}		
.mypoint-wrap {
	max-width: 75%;
}	
button.tnc-btn {
    max-width: 270px;
    font-size: 14px;
}
.modal-content.terms {
	font-size: 14px;
	padding: 15px 15px;
}	
	
}









