@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    background: #070917;

    @media (min-width: 768px) {
        height: 100vh;
    }
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #070917;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9999999999;

    @media (min-width: 768px) {
        padding: 12px 30px;
    }

    @media (min-width: 1200px) {
        padding: 12px 100px;
    }
}

.header > .logo {
    display: none;

    @media (min-width: 768px) {
        display: block;
    }
}

.header > .logo-mobile {
    @media (min-width: 768px) {
        display: none;
    }
}


.custom-select {
    position: relative;
    width: 140px;
    font-size: 14px;
    color: #9F9CBE;
    cursor: pointer;
    user-select: none;
}

.lang__arrow {
    transition: transform .2s ease;
}

.custom-select:has(.lang__list:not([hidden])) .lang__current {
    background: #1B1D2A;
    border-color: #20222E;
}
.custom-select:has(.lang__list:not([hidden])) .lang__arrow {
    transform: rotate(180deg);
}

.lang__current {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 2px solid #20222E;
    border-radius: 10px;
    padding: 8px 12px;
    background: #070917;
    gap: 6px;
}

.lang__current > .lang__flag {
    width: 20px;
    height: 20px;
}

.lang__arrow {
    margin-left: auto;
    width: 12px;
    height: 7px;
}

.lang__list {
    position: absolute;
    top: calc(100% + 8px);
    left: auto;
    right: 0;
    background: #1B1D2A;
    border: 2px solid #20222E;
    border-radius: 8px;
    list-style: none;
    padding: 10px;
    margin: 0;
    z-index: 999;
    width: 200px;
}

.lang__list li {
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 10px;
}

.lang__list li > img, svg {
    width: 24px;
    height: 24px;
}

.lang__list li:hover {
    background: #09B0FD1A;
}

.main {
    padding: 0 16px 24px;
    display: flex;
    flex-direction: column;
    height: 100%;

    @media (min-width: 768px) {
        padding: 0 30px 24px;
    }

    @media (min-width: 1200px) {
        padding: 0 100px 24px;
    }
}

.hero {
    margin-bottom: 64px;

    @media (min-width: 768px) {
        margin-bottom: 45px;
    }
}

.hero__img,
.hero__img-mob {
    position: absolute;
    top: 64px;
    left: 0;
    z-index: -1;
    object-fit: cover;
    object-position: top;
    width: 100%;
}

.hero__img {
    height: 100vh;
    display: none;

    @media (min-width: 768px) {
        display: block;
    }
}

.hero__img-mob {
    max-height: 884px;

    @media (min-width: 768px) {
        display: none;
    }
}

.hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-top: 80px;

    @media (min-width: 768px) {
        margin-top: 128px;
        max-width: 400px;
    }
}

.hero__title {
    color: #F9FFF9;
    font-size: 33px;
    font-weight: 500;
    line-height: 40px;
    letter-spacing: -1.6px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    margin: 0;

    @media (min-width: 360px) {
        font-size: 36px;
    }

    @media (min-width: 768px) {
        font-size: 56px;
        line-height: 64px;
    }
}

.hero__subtitle {
    font-size: 56px;
    line-height: 50px;
    letter-spacing: -2.88px;

    @media (min-width: 360px) {
        font-size: 64px;
    }

    @media (min-width: 768px) {
        font-size: 80px;
    }
}

.hero__bonuses {
    display: inline-flex;
    transform: rotate(-3deg);
    padding: 12px;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    border: 2px solid #78CFFF;
    background: linear-gradient(180deg, #165ECA -21.88%, #5EB3E2 100%);
    color: #FFF;
    font-size: 28px;
    font-weight: 600;
    line-height: 27px;
    text-transform: uppercase;
    margin: 0;

    @media (min-width: 360px) {
        font-size: 32px;
        line-height: 40px;
    }

    @media (min-width: 768px) {
        font-size: 48px;
        line-height: 56px;
    }
}

.form {
    display: flex;
    width: 100%;
    max-width: 400px;
    padding: 20px 20px 12px 20px;
    flex-direction: column;
    border-radius: 16px;
    background: #20222E;
    box-shadow: 0 16px 64px 0 rgba(0, 0, 0, 0.32);
    margin: 0 auto 24px;

    @media (min-width: 768px) {
        margin: 0 0 auto 0;
    }
}

.form > label {
    color: #FFF;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    margin-bottom: 8px;
}

.form > input,
.form__password-field {
    display: flex;
    height: 40px;
    padding: 10px 12px;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    background: #2E3141;
    color: #FFF;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    outline: none;
    margin-bottom: 16px;
    cursor: pointer;
}

.form__password-field > input {
    outline: none;
    width: 100%;
    background: transparent;
    border: none;
    color: #FFF;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.form > input::placeholder,
.form__password-field > input::placeholder {
    color: #9F9CBE;
}

.form__checkbox {
    display: block;
    margin-top: 20px;
}

.form__checkbox input {
    padding: 0;
    height: initial;
    width: initial;
    margin-bottom: 0;
    display: none;
    cursor: pointer;
}

.form__checkbox label {
    position: relative;
    cursor: pointer;
    color: #FFF;
    font-size: 14px;
    line-height: 20px;
}

.form__checkbox label > a {
    color: #09B0FD;
}

.form__checkbox label:before {
    content:'';
    -webkit-appearance: none;
    background-color: #2A2D3C;
    border: 2px solid #454859;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);
    padding: 10px;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    cursor: pointer;
    margin-right: 5px;
    border-radius: 6px;
}

.form__checkbox input:checked + label:before {
    border-color: #CF359C;
    background-color: #CF359C;
    background-image: url("/uploads/checkbox-icon.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

.form__button {
    margin-top: 20px;
    border-radius: 12px;
    border: 2px solid #D69FFF;
    background: linear-gradient(180deg, #932EFF -21.88%, #CF359C 100%);
    display: flex;
    height: 48px;
    padding: 12px 16px;
    justify-content: center;
    align-items: center;
    color: #FFF;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    cursor: pointer;
}

.form__button:disabled {
    opacity: .2;
    pointer-events: none;
}

.form__login-text {
    color: #9F9CBE;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    margin: 20px auto 0;
    padding: 10px 14px;
}

.form__login-text > a {
    color: #FFF;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.form__password-field {
    position: relative;
    margin-bottom: 0;
}

.form__password-field .form__toggle-btn {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.form__password-field .form__toggle-btn .form__icon-hide {
    display: none;
}

.form__password-field.show .form__toggle-btn .form__icon-show {
    display: none;
}
.form__password-field.show .form__toggle-btn .form__icon-hide {
    display: inline;
}

.form__error {
    display: none;
    font-size: 12px;
    color: #e5004d;
    margin: 5px 0;
}

.is-invalid {
    border: 1px solid #e5004d !important;
    margin-bottom: 0 !important;
}

.benefits {
    padding: 0;
    margin: 20px 0 0 0;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 8px;
    width: 100%;

    @media (min-width: 768px) {
        grid-template-columns: repeat(3, 1fr);
    }
}

.benefit {
    border-radius: 16px;
    background: #20222E;
    display: flex;
    padding: 12px;
    align-items: center;
    gap: 12px;
    align-self: stretch;
}

.benefit__title {
    color: #FFF;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;

    @media (min-width: 360px) {
        font-size: 16px;
    }
}

.benefit__text {
    color: #9996B8;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}