html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    font-size: 100%;
    vertical-align: baseline;
}

*, ::after, ::before {
    box-sizing: unset;
}

html {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

caption,
th,
td {
    text-align: left;
    font-weight: normal;
    vertical-align: middle;
}

q,
blockquote {
    quotes: none;
}

q:before,
q:after,
blockquote:before,
blockquote:after {
    content: "";
    content: none;
}

a img {
    border: none;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
    display: block;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Kanit', sans-serif;
    position: relative;
    background-position: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: url(images/mbg.jpg) no-repeat top center;
    background-size: 100%;
}

@media only screen and (min-width: 768px) {
    body {
        background: url(images/bg.jpg) no-repeat bottom center; 
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		background-size: cover;
    }
}

strong {
    font-weight: 900;
}

a, a:link, a:visited { color: #fff; }

.logo {
	display: block;
	max-width: 268px;
	margin: 0 auto;
	position: relative;
	bottom: 0;
}

@media only screen and (min-width: 768px) {
	.logo {
		display: block;
		max-width: 268px;
		margin: 15px auto 0;
		position: relative;
		top: -20px;
	}
}

.couten {
    width: 100%;
    height: 100%;
    overflow: hidden;
    overflow-y: hidden;
}

.couten li {
    position: absolute;
    animation: all 3s linear;
    top: -100px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.couten li a {
    display: block;
}

.mo {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    display: none;
	background: -moz-linear-gradient(top, rgba(0,0,0,0.88) 68%, rgba(0,0,0,0) 100%);
	background: -webkit-linear-gradient(top, rgba(0,0,0,0.88) 68%,rgba(0,0,0,0) 100%);
	background: linear-gradient(to bottom, rgba(0,0,0,0.88) 68%,rgba(0,0,0,0) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=0 );
}

.mo:has(.sen) {
	background: unset;
}

.mo .sen,
.mo .notoken {
    position: relative;
    top: 125px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    margin: auto;
}

.mo .sen img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: block;
    width: 250px;
    margin: 0 auto;
}

.mo .sen h3 {
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
    text-align: center;
    font-size: 3.8em;
    color: #fff;
    font-weight: 600;
    line-height: 100%;
}

.mo .sen h3 span.currency {
	font-size: 0.5em;
	font-weight: 300;
}

.mo .sen p {
    position: absolute;
    top: 150px;
    left: 0;
    right: 0;
	color: #fff;
	text-align: center;
}

.mo .sen a {
    position: absolute;
    top: 212px;
    left: 0;
    right: 0;
    display: block;
    margin: 0 auto;
    font-size: 1.68em;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
	text-shadow: -1px -2px 2px rgba(255,255,255,.1), 1px 2px 2px rgba(0,0,0,.5);
}

.mo .notoken p {
    position: absolute;
    top: 150px;
    left: 0;
    right: 0;
	color: #fff;
	text-align: center;
}

.mo .notoken a {
    position: absolute;
    top: 212px;
    left: 0;
    right: 0;
    display: block;
    margin: 0 auto;
    font-size: 1.68em;
    text-decoration: none;
    text-align: center;
}

button {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.btn-main a {
	padding: 6px 0 16px;
	width: 150px;
	font-weight: 900 !important;
	line-height: 100%;
	background: rgb(157,17,17);
	background: -moz-linear-gradient(0deg, rgba(157,17,17,1) 0%, rgba(190,22,21,1) 35%, rgba(253,39,39,1) 100%);
	background: -webkit-linear-gradient(0deg, rgba(157,17,17,1) 0%, rgba(190,22,21,1) 35%, rgba(253,39,39,1) 100%);
	background: linear-gradient(0deg, rgba(157,17,17,1) 0%, rgba(190,22,21,1) 35%, rgba(253,39,39,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#9d1111",endColorstr="#fd2727",GradientType=1);
	box-shadow: rgba(0, 0, 0, 0.28) 0px -4px 0px inset;
	border-radius: 8px;
}

@media only screen and (min-width: 768px) {
	.mo .sen {
		top: 200px;
	}

	.mo .sen img {
		width: 350px;
	}

	.mo .sen h3 {
		top: 125px;
		font-size: 5em;
	}

	.mo .sen a {
		top: 290px;
		font-size: 1.88em;
		width: 250px;
		padding: 10px;
	}
	.btn-main a {
		padding: 6px 0 16px;
		font-weight: 900 !important;
	}	
}

.backward {
    width: 100%;
    background: rgba(0,0,0,0.88);
    position: absolute;
    top: 0;
}

.backward span {
    display: inline-block;
    color: #fff;
    font-weight: bold;
    position: absolute;
    top: 250px;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    text-align: center;
    font-size: 1000%;
}

.gameset {
    padding: 15px;
    color: #fff;
    font-size: 1.2em;
	position: relative;
	z-index: 99;
}

span.tkremain {
    position: fixed;
    bottom: 15px;
    margin: 0 auto;
    left: 0;
    right: 0;
	height: 28px;
    display: block;
    width: 150px;
    text-align: center;
	line-height: 28px;
    padding: 8px 16px;
	border: 1px solid #fff;
    border-radius: 50px;
    background: #fff;
    color: rgb(187, 14, 14);
}

@media only screen and (min-width: 768px) {
	.gameset {
		font-size: 1.4em;
		padding: 30px;
	}
	
	span.tkremain {
		position: fixed;
		top: 30px;
		margin: 0;
		left: 30px;
		padding: 8px 16px;
	}
}