﻿@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

@font-face {
  font-family: Heavitas;
  src: url("../fonts/Heavitas.ttf");
}

body { font-family: "Montserrat", sans-serif; line-height:1.2; font-size:15px; color:#191919; background: url("/event/assets/eg33/images/flip-for-surprise/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%;
}
@-webkit-keyframes float {
0% {
	transform: translateY(0);
}

50% {
	transform: translateY(-15px);
}

100% {
	transform: translateY(0);
}
}
.deco {
	position: absolute;
	pointer-events: none;
	z-index: -1;
}
.deco.coin-1 {
    left: 1%;
    top: 7%;
    max-width: 12%;
	animation: 2.5s float ease-in-out infinite;
}
.deco.coin-2 {
    top: 63%;
    left: -2%;
    max-width: 8%;
    animation: 3s float ease-in-out infinite;
}
.deco.coin-3 {
    right: -3%;
    top: 10%;
    max-width: 11%;
	animation: 2.8s float ease-in-out infinite;
}
.deco.coin-4 {
    right: -8%;
    top: 49%;
    max-width: 17%;
    animation: 2.6s float ease-in-out infinite;
}
.top-sec {
	text-align: center;
	position: relative;
	overflow: hidden;
	padding-bottom: 10px;
}
.max-container {
	max-width: 1200px;
	padding: 0 10px;
	margin: 0 auto;
	position: relative;
}
.logo {
	position: absolute;
	left: 0;
	right: 0;
	top: 10px;
}
.step-wrapper {
	padding-bottom: 30px;
}
.stepbox {
    display: inline-block;
}
.hint-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}
.token-wrapper {
    position: relative;
    max-width: 284px;
    margin: 0 auto 15px;
}
.token-text {
    position: absolute;
    left: 0;
    right: 0;
    top: 34%;
    font-size: 23px;
    font-family: 'Heavitas';
    color: #6e3828;
    text-transform: uppercase;
}
.game-sec {
	position: relative;
	background: url("/event/assets/eg33/images/flip-for-surprise/minigame-bg.png")no-repeat top center;
	background-size: auto;
	text-align: center;
	padding-bottom: 10px;
	overflow: hidden;
}
.game-wrapper {
    position: relative;
    cursor: pointer;
    max-width: 535px;
    margin: 0 auto;
}
img.minigame {
	position: relative;
	z-index: 2;
}
.deco-game.float-1 {
    top: 19%;
    left: -28%;
    animation: 2.5s float ease-in-out infinite;
}
.deco-game.float-2 {
    top: 32%;
    right: -36%;
    animation: 3s float ease-in-out infinite;
}
.deco-game {
	position: absolute;
	z-index: 0;
}
.btn-wrap {
    margin-top: 30px;
}
button.tnc-btn {
    background: none;
    border: none;
    max-width: 380px;
	margin: 0 auto;
}
button.tnc-btn:hover {
    transform: scale(0.97);
	filter: brightness(1.05);
}
.copyright {
	padding: 30px 0 0 0;
	font-size: 13px;
	font-weight: 500;
}

/** Modal **/
.modal-dialog.terms {
    max-width: 850px;
    top: 8%;
}
.modal-content.terms {
    background: url(/event/assets/eg33/images/flip-for-surprise/popup-bg.png)no-repeat top center;
    background-size: 100% 100%;
    padding: 0 25px 15px;
    color: #fff;
    font-size: 14px;
    border: none;
}
button.close-x {
    background: none;
    border: none;
    padding: 0;
    position: absolute;
    right: 15px;
    top: 10px;
    color: #fff;
    font-size: 18px;
    z-index: 2;
}
.tnc-title {
    text-align: center;
    max-width: 75%;
    margin: -8% auto 15px;
}
.deco.pop1 {
    top: -5%;
    left: -10%;
    max-width: 21%;
	animation: 2.5s float ease-in-out infinite;
}
.deco.pop2 {
    right: -10%;
    top: -5%;
    max-width: 21%;
	animation: 2.8s float ease-in-out infinite;
}
ul.terms {
    padding-left: 17px;
}

@media(max-width: 1080px) {
.logo {
    max-width: 230px;
    margin: 0 auto;
}
}
@media(max-width: 991px) {
.deco {
	display: none;
}	
}

@media(max-width: 767px) {
.logo {
    max-width: 32%;
    top: 2%;
}	
.title-top {
    height: 65vw;
    margin: 0 -10px;
}	
.title-top img {
    object-fit: cover;
    height: 100%;
}	
.hint-wrapper {
    display: block;
}
.modal-dialog.terms {
    top: 5%;
}
.modal-content.terms {
    background: #6549ab;
    border: 2px solid #f4e7fe;
    border-radius: 12px;
    box-shadow: inset 0 0 7px #4c339e;
}	
}
@media(max-width: 560px) {
.game-sec {
    background-size: 200%;
}
.deco-game {
	display: none;
}	
}
@media(max-width: 480px) {
.how-title {
    width: 90%;
    margin: 0 auto;
}	
.stepbox {
    width: 49%;
}
.hintbox {
    margin-left: -6%;
}
.hintbox img {
    height: 32vw;
}	
.token-wrapper {
    width: 70%;
}
.token-text {
    font-size: 5vw;
}	
button.tnc-btn {
    max-width: 75%;
}
.modal-content.terms {
    padding: 0 15px 15px;
}	
.tnc-title {
    max-width: 85%;
}	
}









