﻿:root {
    --font-family: 'TTHoves', Tahoma, Geneva, Verdana, sans-serif;
    --block-gap: 66px;
}


html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    position: relative;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 50px;
    line-height: 131%;
    color: #fff;
    background: #080201;
    overflow: hidden;
}

*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body,
html,
.screen {
    width: 1080px;
    height: 1920px;
    margin: 0;
    padding: 0;
}

/* Стилизация скроллбара */
/* Для браузеров на WebKit (Chrome, Safari, Opera) */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #180C06; /* Цвет трека */
    border-radius: 0;
}

::-webkit-scrollbar-thumb {
    background: #2B170D; /* Цвет бегунка */
    border-radius: 35px;
    border: 1px solid #FFFFFF;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #3C251C; /* Цвет бегунка при наведении */
    }
/* Для Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #2B170D #FFFFFF;
}

.screen {
    position: absolute;
    top: 0;
    left: 0;
    padding: 60px 50px;
    display: none;
    flex-direction: column;
    gap: var(--block-gap);
    background-image: url(/img/bg.webp);
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: cover;
}

    .screen#home {
        background-image: url(/img/home.webp);
    }

    .screen#scr2 {
        background-image: url(/img/scr2.webp);
    }

    .screen#scr3 {
        background-image: url(/img/scr3.webp);
    }

    .screen#scr4 {
        background-image: url(/img/scr4.webp);
    }

    .screen#scr5 {
        background-image: url(/img/scr5.webp);
    }

    .screen#scr6 {
        background-image: url(/img/scr6.webp);
    }

    .screen.active {
        display: flex;
    }

header {
    display: flex;
    flex-direction: column;
    gap: var(--block-gap);
    flex-shrink: 0;
}

.logo img {
    width: 340px;
}

h1 {
    font-weight: 500;
    font-size: 70px;
    line-height: 113%;
    color: #fff;
    margin: 0;
}

main {
    flex: 1; /* Занимает всё доступное пространство */
    overflow-y: auto; /* Вертикальный скролл, если содержимое не помещается */
    display: flex;
    flex-direction: column;
    gap: var(--block-gap);
    padding-right: 20px;
}

    main ul,
    main ol {
        margin: 0;
        padding-left: 64px;
    }

    main p {
        margin: 0;
    }

    main a {
        color: #FFF;
    }

footer {
    flex-shrink: 0; /* Не сжимаем футер */
}

.hidden {
    visibility: hidden;
}

.btn {
    font-weight: 400;
    font-size: 60px;
    line-height: 99%;
    letter-spacing: -0.01em;
    color: #fff;
    text-decoration: none;
    padding: 20px 50px 26px;
    border: 3px solid #fff;
    border-radius: 29px;
    display: inline-block;
    align-self: flex-start;
}

.btn-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}


#home .btn-list {
    gap: 38px;
}

    #home .btn-list .btn {
        font-weight: 400;
        font-size: 45px;
        line-height: 100%;
        color: #fff;
        display: block;
        align-self: stretch;
    }

.btn.send-request,
.btn.accept-rules {
    font-weight: 400;
    font-size: 60px;
    line-height: 132%;
    text-align: center;
    color: #000;
    border-radius: 100px;
    padding: 40px 31px;
    width: 976px;
    height: 159px;
    background: #fff;
}


.navigation {
    display: flex;
    flex-direction: row;
    border: 3px solid #fff;
    border-radius: 35px;
    backdrop-filter: blur(54px);
    background: rgba(217, 217, 217, 0.1);
    transition: background 0.3s ease;
}

    .navigation .back-btn,
    .navigation .forvard-btn,
    .navigation .home-btn {
        display: block;
        flex-shrink: 0;
        background-position: 50% 50%;
        background-repeat: no-repeat;
    }

    .navigation .back-btn,
    .navigation .forvard-btn {
        flex-basis: 250px;
        background-size: 148px;
    }

    .navigation .home-btn {
        flex: 1;
        background-image: url('/img/ico-home.svg');
        background-size: 52.2px;
        height: 100px;
    }

    .navigation .back-btn {
        background-image: url('/img/ico-back.svg');
    }

    .navigation .forvard-btn {
        background-image: url('/img/ico-forvard.svg');
    }

    .navigation.transparent {
        background: transparent;
    }

    .navigation a {
        /* Убираем рамку фокуса (в т. ч. в Chrome) */
        outline: none;
        outline-offset: 0;
        /* Убираем стандартные эффекты нажатия */
        -webkit-tap-highlight-color: transparent; /* iOS Safari: убираем подсветку при тапе */
        -webkit-touch-callout: none; /* iOS: запрещаем вызов контекстного меню при долгом тапе */
        -webkit-user-select: none; /* Запрещаем выделение текста */
        user-select: none; /* То же для других браузеров */
        /* Отключаем стандартные эффекты :active и :focus */
        border: none;
    }

        /* Гарантированно убираем все состояния фокуса и нажатия */
        .navigation a:focus,
        .navigation a:active,
        .navigation a:hover {
            outline: none !important;
            box-shadow: none !important;
            border: none !important;
        }



.form-group-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
}

.form-control {
    display: block;
    width: 100%;
    border: 2.69px solid #fff;
    border-radius: 100px;
    padding: 20px 47px;
    width: 970px;
    height: 110px;
    background-clip: padding-box;
    background: transparent;
    font-size: 60px;
    color: #FFFFFF;
}

    .form-control:focus {
        outline: 0;
        background: rgba(255, 255, 255, 0.05);
    }

.has-error .form-control {
    border-color: #fd5b55;
    color: #fd5b55;
}


.custom-control {
    position: relative;
    display: block;
    min-height: 56px;
    padding-left: 80px;
}

.custom-control-inline {
    display: -ms-inline-flexbox;
    display: inline-flex;
    margin-right: 1em;
}

.custom-control-input {
    position: absolute;
    left: 0;
    z-index: -1;
    width: 56px;
    height: 56px;
    opacity: 0;
}

    .custom-control-input:checked ~ .custom-control-label::before {
        color: #fff;
        border-color: #fff;
        background-color: rgba(255, 255, 255, 0.05);
    }

    .custom-control-input:focus ~ .custom-control-label::before {
        box-shadow: 0 0 0 0.2rem rgba(255,255,255, 0.25);
    }

    /*.custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
        border-color: #80bdff;
    }*/

    .custom-control-input:not(:disabled):active ~ .custom-control-label::before {
        color: #fff;
        border-color: #fff;
        background-color: rgba(255, 255, 255, 0.05);
    }

/*.custom-control-input[disabled] ~ .custom-control-label, .custom-control-input:disabled ~ .custom-control-label {
        color: #6c757d;
    }

        .custom-control-input[disabled] ~ .custom-control-label::before, .custom-control-input:disabled ~ .custom-control-label::before {
            background-color: #e9ecef;
        }*/

.custom-control-label {
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
    font-size: 50px;
    line-height: 1.1;
    margin-bottom: 0;
}

    .custom-control-label::before {
        position: absolute;
        top: 0;
        left: -80px;
        display: block;
        width: 56px;
        height: 56px;
        pointer-events: none;
        content: "";
        background-color: transparent;
        border: 2px solid #fff;
    }

    .custom-control-label::after {
        position: absolute;
        top: 0;
        left: -80px;
        display: block;
        width: 56px;
        height: 56px;
        content: "";
        background: no-repeat 50% / 50% 50%;
    }

.custom-checkbox .custom-control-label::before {
    border-radius: 7px;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e");
}

.has-error .custom-control-label,
.form-alert {
    color: #fd5b55;
}

/*.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before {
    border-color: rgba(0, 123, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.05);
}

.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3e%3cpath stroke='%23fff' d='M0 2h4'/%3e%3c/svg%3e");
}

.custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before {
    background-color: rgba(0, 123, 255, 0.5);
}

.custom-checkbox .custom-control-input:disabled:indeterminate ~ .custom-control-label::before {
    background-color: rgba(0, 123, 255, 0.5);
}*/
