﻿@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

body { font-family: "Roboto", sans-serif; line-height:1.2; font-size:15px; color:#fff; background: url("/event/assets/deluxewin/images/open-treasure-chest/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;
}
.floating-wrapper {
    position: fixed;
    right: 5px;
    bottom: 20px;
    z-index: 99;
    max-width: 80px;
}
.flaot-btn-wrapper {
    position: relative;
    text-align: center;
    margin-bottom: 10px;
}
.btn-wrap {
    position: absolute;
    left: 1px;
    right: 0;
    top: 6%;
    width: 70%;
    margin: 0 auto;
}
button.float-btn {
    margin: 2% 0;
}
#backtop {
	opacity: 0;
	visibility: hidden;
    z-index: 99;
}
#backtop.show {
	opacity: 1;
	visibility: visible;
}
.top-sec {
	text-align: center;
	position: relative;
	padding: 10px 0 45px;
}
.logo {
    filter: drop-shadow(0px 3px 5px rgb(0, 0, 0, 0.9));
    position: relative;
    margin-bottom: -4%;
    z-index: 2;
}
.title-top {
    position: relative;
    max-width: 727px;
    margin: 0 auto 20px;
}
.title-img {
    position: relative;
    z-index: 1;
}
.deco.deco-1 {
    left: 5%;
    top: 9%;
    max-width: 21%;
	animation: float 1.9s ease-in-out infinite;
}
.deco.deco-2 {
    right: 8%;
    top: 5%;
    max-width: 19%;
	animation: shake 1.8s ease-in-out infinite;
	transform-origin: bottom center;
}
@keyframes float {
    0% {
        transform: translateY(-12px);
    }
    50% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-12px);
    }
}
@keyframes shake {
    0% {
        transform: rotate(10deg);
    }
    50% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(10deg);
    }
}
.stepbox {
    position: relative;
    display: inline-block;
    max-width: 264px;
    vertical-align: text-top;
    margin: 5px 10px;
}
.steptext {
    position: absolute;
    left: 0;
    right: 0;
    top: 78%;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
	padding: 0 9%;
}
.token-wrapper {
    max-width: 600px;
    margin: 30px auto 0;
    position: relative;
}
.token-base {
    position: absolute;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 70% 30%;
    max-width: 68%;
    margin: 0 auto;
    align-items: center;
    height: 100%;
    padding-bottom: 3%;
}
.token-img {
    margin-bottom: -4%;
}
.token-img img {
    max-height: 63px;
}
.maxtext {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}
.tknum {
    font-size: 60px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgb(0,0,0,0.7);
}
.reward-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 15px;
    max-width: 1100px;
    margin: 0 auto;
}
.chestbox {
    position: relative;
    max-width: 333px;
    margin: 0 auto;
}
button.open-btn {
    margin-top: -6%;
    max-width: 66%;
}
button.open-btn:hover {
	transform: scale(0.98);
	filter: brightness(1.07);
}
.bg-btm {
    mix-blend-mode: screen;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 5%;
    z-index: -1;
}

/** Modal **/
button.close-x {
    background: none;
    border: none;
    padding: 0;
    color: #fff;
    position: absolute;
    right: 5px;
    top: 5px;
    z-index: 2;
}
.modal-content.reward {
    background: none;
    border: none;
	max-width: 300px;
    margin: 0 auto;
}
.reward-box {
    position: relative;
    max-width: 300px;
    margin: 0 auto;
    text-align: center;
	cursor: pointer;
}
.prize {
    position: absolute;
    left: -7%;
    right: 0;
    top: 53%;
    z-index: 3;
    font-size: 35px;
    color: #54240f;
    font-weight: 900;
    text-shadow: 0 0 5px #fff, 0 0 10px #fff;
    filter: drop-shadow(0px 0px 11px #fff);
    opacity: 0;
    visibility: 0;
    transform: scale(0.3);
}
img.open {
	position: absolute;
	left: 0;
	right: 0;
	transition: 0.2s;
}
img.open {
    opacity: 0;
    visibility: hidden;
	transition: 0.2s;
}
.reward-box.active img.closed {
    opacity: 0;
    visibility: hidden;
	transition: 0.2s;
}
.reward-box.active img.open {
    opacity: 1;
    visibility: visible;
	transition: 0.2s;
}
.reward-box.active .prize {
	opacity: 1;
	visibility: visible;
	transform: scale(1);
	transition: 0.3s;
	transition-delay: 0.3s;
}

.modal-dialog.terms {
    max-width: 750px;
}
.modal-content.popup {
    background: #3e2922;
    border: 1px solid #fe9b1b;
    padding: 15px 20px;
}
.terms-title {
    text-align: center;
    margin-bottom: 15px;
}
ul.terms {
    padding-left: 17px;
}
.language-wrapper {
	position: relative;
    text-align: center;
	padding: 15px 0;
}
.language-wrapper a {
	display: inline-block;
	margin: 0 1%;
	max-width: 30%;
}

@media(max-width: 991px) {
.floating-wrapper {
    max-width: 60px;
}
	
}
@media(max-width: 767px) {
.logo {
    max-width: 43%;
    margin: 0 auto -6%;
}	
}

@media(max-width: 600px) {
.floating-wrapper {
    max-width: 45px;
}	
.token-img img {
    max-height: 10.5vw;
}	
.tknum {
    font-size: 10vw;
}
.maxtext {
    font-size: 2.4vw;
}
}

@media(max-width: 480px) {
.stepbox {
    width: 48%;
    margin: 0.5%;
}
.steptext {
    height: 8vw;
    font-size: 3vw;
}
.reward-wrapper {
    grid-gap: 5px;
}	
.modal-content.popup {
    padding: 15px 15px;
    font-size: 14px;
}	
}









