
html {
    overflow: scroll;
    overflow-x: hidden;
}
::-webkit-scrollbar {
    width: 0;  /* Remove scrollbar space */
    background: transparent;  /* Optional: just make scrollbar invisible */
}
/* Optional: show position indicator in red */
::-webkit-scrollbar-thumb {
    background: #000;
}
body {
    font-family: 'Nunito', sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    background-color: #150035;
}

header {
    background-color: #0b001b;
    position: relative;
    background-image: url('media/header-border.png');
    background-position: 100% 99%;
    background-repeat: no-repeat;
    background-size: 100%;
    overflow: hidden;
    padding-bottom: 40px;
}

header::before {
    content: "";
    background: url('media/bg-layer.png');
    background-repeat: no-repeat;
    background-size: cover;
    height: 430px;
    width: 1173px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

header .wrap {
    max-width: 1173px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.subtitle {
    width: 590px;
    position: relative;
    z-index: 2;
}

.title {
    width: 445px;
    position: relative;
    z-index: 2;
    top: -60px;
}

.title_for_form {
    width: 245px;
    position: relative;
    z-index: 2;
    top: -60px;
}
form.main-form{
    margin-top: -10px;
}
form {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 3;
    margin-top: 10px;
    max-width: 380px;
    width: 100%;
}

form input {
    border: none;
    border-radius: 15px;
    padding: 15px 0 15px 30px;
    margin: 10px 0;
    width: 100%;
    font-family: 'Nunito', sans-serif;
    color: #150035;
    box-sizing: border-box;
}

form input::-webkit-input-placeholder {font-family: 'Nunito', sans-serif; color: #150035;}
form input::-moz-placeholder {font-family: 'Nunito', sans-serif; color: #150035;}
form input:-moz-placeholder {font-family: 'Nunito', sans-serif; color: #150035;}
form input:-ms-input-placeholder {font-family: 'Nunito', sans-serif; color: #150035;}

form input:focus {
    outline: none;
}

form button {
    display: inline-block;
    width: 191px;
    height: 78px;
    background-image: url('media/btn-bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    margin: 10px auto 0;
    border: none;
    background-color: transparent;
    cursor: pointer;
    position: relative;
}

form button::before {
    content: '';
    position: absolute;
    top: 53%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url('media/btn-text.png');
    background-size: contain;
    background-repeat: no-repeat;
    height: 28px;
    width: 106px;
}

.text_form {
    text-align: center;
    color: #fff;
    font-family: 'Anton', sans-serif;
    max-width: 480px;
    width: 100%;
    position: relative;
    z-index: 300;
    margin: 20px 0 40px;
}

.image_1 {
    position: absolute;
    bottom: 40px;
    left: 0;
    background: url('media/bg.png');
    background-size: cover;
    height: 400px;
    width: 425px
}

.image_2 {
    position: absolute;
    bottom: 150px;
    right: 0;
    background: url('media/coins.png');
    background-size: cover;
    height: 342px;
    width: 200px
}

.image_3 {    
    position: absolute;
    bottom: 20px;
    right: 140px;
    background: url('media/coins-img.png');
    background-size: cover;
    height: 170px;
    width: 260px;
}
.games{
    margin: -15px 0 0 0;
    background: #150035;
    position: relative;
}
.games .wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 60px 0 0 0;
}

.game {
    position: relative;
    margin: 20px;
    border: 3px solid #d719d8;
    /*background-image: url('media/pink-border.png');
    background-size: cover;
    background-repeat: no-repeat;
    */
    z-index: 2;
    border-radius: 6px;
    overflow: hidden;
}

.game .img_game {
    display: block;
    /*
    width: 96%;
    transform: translate(2%, 1%)
    */
}

.game:hover .hover_effect {
    opacity: 1;
}

.hover_effect {
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.3s;
    z-index: 20;
}

.hover_effect img {
    width: 100px;
    height: 100px;
}

.card_game {
    position: relative;
    text-decoration: none;
    margin: 0 0 20px;
}

.card_game p {
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    font-size: 20px;
    margin: 40px 0px 0 0;
}

.btn {
    width: 192px;
    height: 60px;
    display: block;
    opacity: 0;
    z-index: -200;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: url('media/button.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.game:hover + .btn {
    opacity: 1;
    z-index: 20;
}

.licensing .wrap {
    max-width: 1200px;
    margin: 50px auto 100px;
    background-color: #11002b;
    background-position: top;
    background-repeat: no-repeat;
    border-radius: 6px;
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
}
/*
.licensing .wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background-image: url('media/license-border.png');
    background-size: cover;
    height: 42px;
    width: 100%;
}
*/
.licensing .licensing-ribbon {
    width: 140%;
    margin: -7px 0 0 0;
}
.licensing .logo {
    display: flex;
    justify-content: center;
    margin-top: 60px;
    align-items: center;
}

.licensing .logo img:first-child {
    height: 28px;
    width: 28px;
    margin-right: 10px;
}

.licensing p {
    color: #fff;
    padding: 0 40px 100px 40px;
    text-align: center;
}

.footer {
    
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0 30px;
    background: url('media/footer-border.png') no-repeat center top;
}

.footer ul {
    list-style: none;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    display: flex;
}

.footer ul li {
    margin: 0 20px;
    font-size: 12px;
}

.footer ul li a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.footer ul li a:hover {
    color: #ba70ff;
}

@media screen and (max-width: 900px) {
    .image_1 {
        width: 300px;
        height: 285px;
    }

    .image_3 {
        right: 50px;
    }
}

@media screen and (max-width: 670px) {
    .image_1 {
        display: none;
    }

    .image_2 {
        display: none;
    }

    .image_3 {
        display: none;
    }
}
@media screen and (max-width: 480px) {
    .subtitle{
        width: 100%;
    }
    .title{
        width: 100%;
        top: -30px;
    }
    .title{
        width: 100%;
        top: -35px;
    }
    .login.main-form{
        max-width: 90%;
    }
    .text_form{
        max-width: 90%;
    }
    .footer ul{
        flex-direction: column;
    }
    .footer ul li{
        margin: 0 0 10px;
    }
}
.blocker {
    z-index: 331 !important;
}
.modal{
    background: #000 !important;
    border: 2px solid #fff !important;
    height: 60vh !important;
    width: 70vw !important;
    overflow: scroll;
}
.modal form{
    margin: 0 auto;
}
.modal iframe{
    width: 100%;
    height: 100%;
}
.modal a.close-modal{
    top: 0 !important;
    right: 0 !important;
}
.terms-modal, .policy-modal {
    color: #fff !important;
}