:root {
    --color-bg: #000000;
    --color-text: #ffffff;
    --color-accent-soft: #3be09d;

    --space-8: 8px;
    --space-16: 16px;
    --space-32: 32px;

    --radius-12: 12px;

    --font-body: "Outfit", Tahoma, Geneva, Verdana, sans-serif;

    --page-gutter: var(--space-16);
}

@media (min-width: 768px) {
    :root {
        --page-gutter: var(--space-32);
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    background: var(--color-bg);
    overflow-x: clip;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    overflow-x: hidden;
    overflow-x: clip;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 22px;
}

h1,
h2,
h3,
p,
ul {
    margin: 0;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
}

[hidden] {
    display: none !important;
}

:focus-visible {
    outline: 2px solid var(--color-accent-soft);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: var(--space-16);
    z-index: 100;
    padding: var(--space-8) var(--space-16);
    border-radius: var(--radius-12);
    background: var(--color-text);
    color: var(--color-bg);
}

.skip-link:focus {
    top: var(--space-8);
}

.site-main {
    position: relative;
    z-index: 1;
}



@media (max-width: 767px) {
    .modal--terms {
        padding: 0;
    }
    
    
    
    
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}


.auth {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 96px 24px 48px;
    background: #000;
    color: #fff;
    font-family: var(--font-body);
}

.auth *,
.auth *::before,
.auth *::after { box-sizing: border-box; }

.auth__logo {
    position: absolute;
    top: 28px;
    left: 32px;
    display: block;
}

.auth__logo img { display: block; width: auto; height: 40px; }

.auth__panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(100%, 600px);
    min-height: 600px;
}

.banner { position: relative; width: 100%; margin-bottom: 22px; }

.banner__viewport { overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }

.banner.is-dragging .banner__viewport { cursor: grabbing; }

.banner__track { display: flex; transition: transform 0.45s ease; }

.banner__slide { flex: 0 0 100%; min-width: 0; aspect-ratio: 600 / 170; }

.banner__slide img { display: block; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; user-drag: none; pointer-events: none; }

.banner__nav {
    position: absolute;
    top: 60%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #333;
    color: #ccc;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%);
    transition: opacity 0.2s ease, visibility 0.2s ease, color 0.2s ease;
}

.banner__nav--prev { left: -20px; }

.banner__nav--next { right: -20px; }

.banner__nav:hover { color: #fff; }

.banner__nav:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

@media (hover: hover) {
    .banner:hover .banner__nav,
    .banner__nav:focus-visible { opacity: 1; visibility: visible; }
}

.banner__dots {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 8px;
}

.banner__dot {
    width: 8px;
    height: 15px;
    padding: 6px 0;
    border: 0;
    border-radius: 2px;
    background: #666 content-box;
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.banner__dot.is-active { width: 24px; background-color: #fff; }

.banner__dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.auth__title {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.auth__form { display: flex; flex-direction: column; }

.auth__label {
    margin: 0 0 7px 2px;
    color: #d6d6d6;
    font-size: 13px;
    line-height: 18px;
}

.auth__field { position: relative; }

.auth__field + .auth__label { margin-top: 18px; }

.auth__input {
    width: 100%;
    height: 48px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: #2c2c2e;
    color: #fff;
    font: inherit;
    font-size: 15px;
}

.auth__input::placeholder { color: #8a8a8a; opacity: 1; }

.auth__input:focus { outline: 0; border-color: #5b6b86; }

.auth__input--password { padding-right: 50px; }

.auth__eye {
    position: absolute;
    top: 50%;
    right: 14px;
    display: flex;
    padding: 0;
    border: 0;
    background: none;
    color: #cfcfcf;
    transform: translateY(-50%);
    cursor: pointer;
}

.auth__eye svg { width: 24px; height: 24px; }

.auth__eye[aria-pressed="true"] { color: #fff; }

.auth__hint {
    margin: 9px 0 0 2px;
    color: #9a9a9a;
    font-size: 12.5px;
    line-height: 16px;
}

.auth__check {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 20px;
    color: #9a9a9a;
    font-size: 12px;
    line-height: 17px;
    cursor: pointer;
}

.auth__check input {
    appearance: none;
    -webkit-appearance: none;
    flex: none;
    width: 22px;
    height: 22px;
    margin: 0;
    border: 1px solid #4a4a4e;
    border-radius: 6px;
    background: #2c2c2e center / 15px no-repeat;
    cursor: pointer;
}

.auth__check input:checked {
    border-color: #a01f43;
    background-color: #a01f43;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.4l3 3 6-6.3' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.auth__check input:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.auth__check a {
    color: #e2e2e2;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.auth__check a:hover { color: #fff; }

.auth__submit {
    width: 100%;
    height: 48px;
    margin-top: 24px;
    padding: 0 16px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(180deg, #b02149 0%, #8c1839 100%);
    color: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.15s ease;
}

.auth__submit:hover { filter: brightness(1.08); }

.auth__submit:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.auth__submit:disabled {
    background: #43242e;
    color: #8f8f8f;
    filter: none;
    cursor: not-allowed;
}

.auth__submit.is-loading { display: flex; align-items: center; justify-content: center; gap: 10px; cursor: wait; }

.auth__submit.is-loading::before, .auth__submit.is-loading::after { content: ""; flex: none; width: .8em; height: .8em; box-sizing: border-box; }

.auth__submit.is-loading::before { border: .14em solid currentColor; border-right-color: transparent; border-radius: 50%; animation: auth-spin .7s linear infinite; }

@keyframes auth-spin { to { transform: rotate(360deg); } }

[data-captcha] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }



.auth__note {
    margin: 16px 0 0;
    color: #8a8a8a;
    font-size: 10px;
    line-height: 13px;
    text-align: center;
}

.auth__note a { color: inherit; }

.auth__field.is-invalid .auth__input { border-color: #e05260; }
.auth__label.is-invalid { color: #e05260; }
.auth__errors {
    margin: 16px 0 0;
    color: #e05260;
    font-size: 13px;
    line-height: 17px;
    text-align: center;
}
.auth__errors:not([hidden]) + .auth__submit { margin-top: 12px; }

@media (pointer: coarse) { .auth__input { font-size: 16px; } }

@media (max-width: 760px) {
    html, body { height: 100%; overflow: hidden; }
    .auth {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        height: 100vh;
        height: var(--vvh, 100dvh);
        min-height: 0;
        padding: 92px 20px 40px;
        align-items: flex-start;
        overflow-y: auto;
        overscroll-behavior: contain;
        transform: translateY(var(--vvt, 0px));
    }
    .auth__logo { top: 22px; left: 20px; }
    .auth__logo img { height: 32px; }
    .auth__panel { width: 100%; min-height: 0; }
}

@media (max-width: 760px) {
    html.is-short .auth { padding-top: 52px; padding-bottom: 16px; }
    html.is-short .auth__logo { top: 12px; }
    html.is-short .auth__logo img { height: 26px; }
    html.is-short .banner { display: none; }
}
