@font-face {
    font-family: 'Inter';
    src: url("fonts/Inter400.ttf");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url("fonts/Inter500.ttf");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url("fonts/Inter700.ttf");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url("fonts/Inter900.ttf");
    font-weight: 900;
    font-style: normal;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-size: 14px;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    color: #ffffff;
    font-family: Inter, sans-serif;
    font-weight: 400;
    line-height: 1.33;  
    height: 100%; 
}

.global_wrapper {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(180deg, #FAFD6F 0%, #FBBC53 100%);
}

.green-button {
    font-size: 25px;
    color: #FFF;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    letter-spacing: 0.05em;
    background: linear-gradient(110.04deg, #3FBE00 -4.24%, #C6933F 49.4%, #3FBE00 88.96%);
    background-size: 175% 175%;
    padding: 15px 15px;
    border: none;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
    appearance: button;
    animation: button-gradient 8s cubic-bezier(0.46, 0.03, 0.52, 0.96) infinite;
}

@keyframes button-gradient {
    0% {
        background-position: 0;
    }

    60% {
        background-position: 0;
    }

    80% {
        background-position: 100%;
    }

    100% {
        background-position: 0;
    }
}

.logo_wrapper {
    position: relative;
    height: 13.5vh;
    padding-top: 5vh;
}

.logo_wrapper img {
    display: block;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
}

.first_screen {
    display: flex;
    justify-content: space-between;
    width: 97%;
    margin: 0 auto;
}

.bonus_club_wrapper {
    position: relative;
    width: 35vw;
    overflow: hidden;
}

.bonus_club_image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: -10%;
}

.bonus_club_image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.freebet_wrapper {
    position: relative;
    width: 35vw;
    overflow: hidden;
}

.freebet_image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: -30%;
}

.freebet_image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.form_wrapper {
    width: 20.83vw;
    color: #000;
    padding-top: 25px;
}

.form_header {
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-align: center;
    margin-bottom: 25px;
}

.form_label {
    display: block;
    position: relative;
}

.form_input_margin_error {
    margin-bottom: 16px; 
}

.form_input_header {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0.05em;
    text-align: center;
}

.form_input {
    width: 100%;
    font-size: 25px;
    text-align: center;
    padding: 14px 15px;
    margin-top: 3px;
    border: 1px solid #fff;
    border-radius: 1px;
    outline: none;
}

.form_input_error {
    position: absolute;
    font-size: 11px;
    color: red;
    text-align: center;
    width: 100%;
    top: 100%;
    left: 0;
    padding-top: 2px;
}

.form_button {
    width: 100%;
}

.form_label.loading {
    height: 60px;
}

.form_label.loading:before {
    content: '';
    position: absolute;
    top: 0;
    left: calc(50% - 30px);
    width: 60px;
    height: 60px;
    border-top: 3px solid #000;
    border-right: 3px solid transparent;
    border-bottom: 0 solid #000;
    border-left: 3px solid #000;
    border-radius: 50%;
    animation: rotation 1s linear 0s infinite;
}

.form_label.loading .form_button {
    display: none;
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.form_agree {
    font-size: 12px;
    color: #9A9898;
    margin-top: 3px;
}

.form_agree a {
    color: #9A9898;
}

.agree-mobile {
    display: none;
}

.form_open-rules {
    text-decoration: underline;
    cursor: pointer;
}

.second-step {
    display: none;
}

.success-step {
    display: none;
}

.content {
    display: none;
    color: #000;
    width: 95%;
    margin: 0 auto;
}

.copyright {
    font-size: 12px;
    color: #9A9898;
    width: 97%;
    padding-bottom: 2.67vh;
    margin: 0 auto;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(155, 155, 155, 0.8);
    visibility: hidden;
    opacity: 0;
    z-index: 20;
    transition: ease .5s;
}

.overlay.show {
    visibility: visible;
    opacity: 1;
}

.overlay_close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    /* background: #000; */
}

.overlay_close:before {
    content: '';
    position: absolute;
    top: 0;
    left: 14px;
    width: 2px;
    height: 30px;
    background: #9A9898;
    transform: rotate(-45deg);
}

.overlay_close:after {
    content: '';
    position: absolute;
    top: 0;
    left: 14px;
    width: 2px;
    height: 30px;
    background: #9A9898;
    transform: rotate(45deg);
}

.overlay_content_wrapper {
    position: relative;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 1200px;
    height: 90%;
    background: linear-gradient(180deg, #FAFD6F 0%, #FBBC53 100%);;
    border-radius: 5px;
    padding: 40px;
    transform: translate(-50%, -50%);
    visibility: hidden;
    opacity: 0;
    box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.1);
    transition: ease .5s;
}

.overlay_content_wrapper.show {
    visibility: visible;
    opacity: 1;
}

.rules_wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    background: #FFF;
}

.rules {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    color: #000;
    border-radius: 5px;
    padding: 20px;
    overflow-y: auto;
}

.rules h2 {
    font-weight: 700;
    font-size: 36px;
    text-align: left;
    text-transform: none;
    margin-bottom: 30px;
}

.rules h3 {
    font-size: 20px;
    margin-top: 15px;
}

.rules p {
    font-size: 14px;
    margin-top: 7px;
    margin-bottom: 7px;
}

.rules img {
    width: 600px;
    max-width: 100%;
}