﻿@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: "Noto Serif", sans-serif;
    line-height: 1.2;
    font-size: 15px;
    color: #fff;
    background: url("../images/redemption/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;
    pointer-events: none;
}

.max-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

#particles-js {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    width: 100%;
    pointer-events: none;
}

.top-sec {
    position: relative;
    text-align: center;
    padding: 10px 0 30px;
}

.logo {
    max-width: 300px;
    margin: 0 auto -5%;
}

.title-wrap {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.deco.deco-1 {
    left: -5%;
    top: 22%;
    max-width: 13%;
    animation: float 2s ease-in-out infinite;
}

.deco.deco-2 {
    right: 0%;
    top: 10%;
    max-width: 11%;
    animation: float 2.2s ease-in-out infinite;
}

.deco.coin-1 {
    left: 13%;
    top: 2%;
    max-width: 13%;
    animation: float 2.4s ease-in-out infinite;
}

.deco.coin-2 {
    right: 19%;
    top: 13%;
    max-width: 11%;
    animation: float 2s ease-in-out infinite;
}

.deco.coin-3 {
    right: -19%;
    top: 35%;
    max-width: 21%;
    animation: float 2.2s ease-in-out infinite;
}

.deco.coin-4 {
    right: 5%;
    top: 67%;
    max-width: 14%;
    mix-blend-mode: screen;
}

.date-wrap {
    position: absolute;
    left: 0;
    right: 0;
    top: 86%;
    font-size: 21px;
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 0 2px 5px rgb(0, 0, 0, 0.8);
}

.token-wrap {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.token-text {
    position: absolute;
    left: 0;
    right: 0;
    top: 44%;
    font-size: 57px;
    font-weight: 800;
    text-shadow: 1px 1px 4px rgb(0, 0, 0, 0.8);
}

.game-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
    max-width: 1000px;
    margin: 0 auto 30px;
}

.gamebox {
    position: relative;
    cursor: pointer;
}

.how-get-wrapper {
    position: relative;
    max-width: 740px;
    margin: 0 auto 30px;
}

.how-text {
    position: absolute;
    left: 0;
    right: 0;
    top: 32%;
    font-size: 23px;
    font-weight: 700;
    text-shadow: 1px 2px 4px rgb(0, 0, 0, 0.5);
    max-width: 66%;
    height: 96px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.term-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.tnc-title {
    position: absolute;
    left: 0;
    right: 0;
    top: 23%;
    max-width: 41%;
    margin: 0 auto;
}

ul.terms {
    position: absolute;
    left: 0;
    right: 0;
    top: 45%;
    padding-left: 17px;
    max-width: 60%;
    margin: 0 auto;
    text-align: left;
    font-size: 16px;
}

.deco.mummy-1 {
    left: -17%;
    bottom: -7%;
    max-width: 28%;
    z-index: -1;
}

.deco.mummy-2 {
    right: -28%;
    bottom: 0;
    max-width: 37%;
    z-index: -1;
}

.deco.goldsand {
    left: 0;
    right: 0;
    bottom: 13%;
    z-index: -1;
    margin: 0 -25%;
}

.deco.deco-3 {
    left: -4%;
    top: -6%;
    max-width: 15%;
    animation: float 2.1s ease-in-out infinite;
}

.deco.deco-4 {
    right: 1%;
    top: -9%;
    max-width: 11%;
    animation: float 2.4s ease-in-out infinite;
}

.deco.deco-5 {
    left: -3%;
    top: 37%;
    max-width: 13%;
    animation: float 2s ease-in-out infinite;
}

.deco.deco-6 {
    right: -2%;
    top: 25%;
    max-width: 13%;
    animation: float 2.2s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translatey(0px);
    }

    50% {
        transform: translatey(-12px);
    }

    100% {
        transform: translatey(0px);
    }
}

/** Modal **/
button.close-x {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
    color: #fff;
}

.modal-content.reward {
    background: none;
    border: none;
    max-width: 320px;
    margin: 0 auto;
}

.reward-box {
    position: relative;
    max-width: 320px;
    margin: 0 auto;
    text-align: center;
    cursor: pointer;
}

.prize {
    position: absolute;
    left: 18%;
    right: 0;
    top: 40%;
    z-index: 999998;
    font-size: 31px;
    font-weight: 800;
    color: #fff;
    text-shadow: 1px 1px 2px rgb(0, 0, 0, 0.9);
    filter: drop-shadow(0px 0px 0px #000);
    opacity: 1;
    width: 100%;
    visibility: visible;
}

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;
}

.home-ico {
    position: absolute;
    top: 4%;
    left: 4%;
    background: #006c5c;
    padding: 10px;
    border-radius: 50px;
    font-size: 18px;
    animation: zoom-in-zoom-out 1.5s ease infinite;
    z-index: 1;
    color: #fff;
}

    .home-ico:hover {
        color: #fff;
    }

@keyframes zoom-in-zoom-out {
    0% {
        scale: 100%
    }

    50% {
        scale: 120%;
    }

    100% {
        scale: 100%;
    }
}

@media(max-width: 1080px) {
    .date-wrap {
        font-size: 2vw;
    }
}

@media(max-width: 991px) {
    .logo {
        max-width: 29%;
    }

    ul.terms {
        font-size: 1.6vw;
    }
}

@media(max-width: 767px) {
    .how-text {
        font-size: 3vw;
        height: 12.5vw;
    }

    .token-wrap {
        max-width: 85%;
    }

    .token-text {
        font-size: 7.2vw;
    }

    .tnc-base {
        display: none;
    }

    ul.terms {
        position: initial;
        font-size: 14px;
        max-width: 100%;
    }

    .tnc-title {
        position: initial;
    }

    .how-container {
        margin-bottom: 70px;
    }

    .term-wrapper {
        background: #325247;
        border: 3px solid #eec64d;
        border-radius: 10px;
        padding: 0 15px 30px;
        box-shadow: inset 0 0 10px rgb(0, 0, 0, 0.7);
    }

    .tnc-title {
        position: initial;
        margin: -50px auto 10px;
        max-width: 300px;
    }

    .deco.deco-3, .deco.deco-4, .deco.deco-5, .deco.deco-6 {
        display: none;
    }
}

@media(max-width: 480px) {
    .logo {
        max-width: 36%;
    }

    .game-wrapper {
        grid-gap: 5px;
    }
}
