@font-face {
    font-family: 'Stolzl';
    src: url('../fonts/Stolzl/Stolzl-Regular.woff2') format('woff2'),
         url('../fonts/Stolzl/Stolzl-Regular.woff') format('woff'),
         url('../fonts/Stolzl/Stolzl-Regular.ttf') format('truetype'),
         url('../fonts/Stolzl/Stolzl-Regular.eot'); /* Для IE */
    font-weight: 400;
    font-style: normal;
}
/* Основные стили для страницы */
body {
    margin: 0;
    padding: 0;
    font-family: 'Stolzl', sans-serif;
    background-color: #111112;
    color: #ffffff;
    min-height: 100vh; /* Задаем минимальную высоту на весь экран */
    background-image: url('../img/bg.webp');
    background-size: cover; /* Фоновое изображение растягивается, чтобы заполнить весь экран */
    background-position: center; /* Центрирование изображения */
    background-repeat: no-repeat; /* Без повторения */
}


/* Общий контейнер */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px;
    display: flex;
    justify-content: flex-start;
    overflow-x: hidden;
}

/* Контейнер для контента */
.content-container {
    max-width: 575px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.text {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.logo {
    max-width: 200px;
    margin-bottom: 40px;
}

.text-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 40px;
}

/* Форма регистрации */
.registration-form {
    position: relative;
    background: rgba(17, 17, 18, 0.7);
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    max-width: 510px;
    backdrop-filter: blur(3px);
    z-index: 0;
}

.registration-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(0deg, rgba(73, 73, 73, 0.5), rgba(73, 73, 73, 0.5)),
                radial-gradient(46.72% 46.56% at 10.26% 0%, #FEF874 0%, rgba(250, 254, 9, 0) 100%),
                radial-gradient(31.33% 31.33% at 67.5% 101.29%, #FEF874 0%, rgba(250, 254, 9, 0) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

/* Заголовок формы */
.form-heading {
    font-family: 'Stolzl', sans-serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 43px;
    color: #ffffff;
    margin-bottom: 30px;
    text-align: center;
}

/* Враппер для инпутов и иконок */
.input-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    z-index: 10;
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 3px;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
}

.input-field {
    width: 100%;
    padding: 15px 20px 15px 75px;
    margin-bottom: 0px;
    border-radius: 50px;
    background: #1B1B1E;
    border: none;
    max-width: 415px;
    font-family: 'Stolzl', sans-serif;
    font-size: 20px;
    font-weight: 400;
    text-align: left;
    color: #ffffff;
    box-shadow: 0px 4px 8px 0px #00000033; /* Добавлена тень */
}

/* Чекбокс */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    margin-left: 5px;
}
.custom-checkbox {
    position: relative;
    width: 26px;
    height: 26px;
    background-color: #1C1C1F;
    box-shadow: 0px 4px 8px 0px #00000033; /* Добавлена тень */
    border-radius: 50%;
    margin-right: 10px;
    cursor: pointer;
}

.checkbox-input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.checkbox-circle {
    position: absolute;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background-color: #363636;
    border-radius: 50%;
}

.checkbox-input:checked + .checkbox-circle {
    background-color: #FBFE0B; /* Если чекбокс активен, цвет желтый */
}

/* Текст для чекбокса */
.checkbox-text {
    font-family: 'Stolzl', sans-serif;
    font-size: 12px;
    font-weight: 400;
    text-align: left;
    color: #ffffff;
}

/* Кнопка отправки с паттерном и прозрачностью */
.submit-btn {
    width: 100%;
    height: 90px;
    background: 
        radial-gradient(41.9% 100% at 50.09% 100%, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%), 
        #0E9EFC;
    background-blend-mode: plus-lighter, screen, normal;
    border-radius: 116px;
    box-shadow: 0px 0px 8px #3BADF8;
    border: none;
    font-family: 'Stolzl', sans-serif;
    text-transform: uppercase;
    font-size: 36px;
    cursor: pointer;
    color: #026DB2;
    font-weight: bold;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* Добавляем для позиционирования паттерна */
}

.submit-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/1.webp');
    opacity: 0.05; /* Прозрачность паттерна 2% */
    border-radius: 116px;
}

.submit-btn:hover {
    background: 
        radial-gradient(41.9% 100% at 50.09% 100%, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%), 
        #58C4FF; /* Более светлый оттенок */
    background-blend-mode: plus-lighter, screen, normal;
    box-shadow: 0px 0px 8px #3BADF8;
    color: #FFFFFF; /* Меняем цвет текста на белый при ховере */
}
.coin {
    position: absolute;
    top: -106px;
    right: -33px;
    width: 138px;
    height: auto;
    display: none;
}

@media (max-width: 768px) {
    body {
        background-image: url('../img/mobbg.webp');
    }
    .logo {
        max-width: 200px;
        margin-bottom: 20px;
    }
    .text-image {
        max-width: 85%;
        height: auto;
        margin-bottom: 120px;
    }
    .coin {
        display: block; /* Показываем монетку на мобильных устройствах */
    }
    .content-container {
        max-width: 575px;
        width: 100%;
        gap: 180px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .registration-form {
        max-width: 345px;
    }
    .input-field {
        width: 100%;
        padding: 10px 20px 10px 45px;
        margin-bottom: 0px;
        border-radius: 50px;
        background: #1B1B1E;
        border: none;
        max-width: 285px;
        font-family: 'Stolzl', sans-serif;
        font-size: 14px;
        font-weight: 400;
        text-align: left;
        color: #ffffff;
        box-shadow: 0px 4px 8px 0px #00000033;
    }
    .custom-checkbox {
        position: relative;
        width: 16px;
        height: 16px;
        background-color: #1C1C1F;
        box-shadow: 0px 4px 8px 0px #00000033;
        border-radius: 50%;
        margin-right: 10px;
        cursor: pointer;
    }
    .checkbox-circle {
        position: absolute;
        top: 52%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 10px;
        height: 10px;
        background-color: #363636;
        border-radius: 50%;
    }
    .checkbox-text {
        font-family: 'Stolzl', sans-serif;
        font-size: 9px;
        font-weight: 400;
        text-align: left;
        color: #ffffff;
    }
    .input-icon {
        position: absolute;
        top: 50%;
        left: 3px;
        transform: translateY(-50%);
        width: 31px;
        height: 31px;
    }
    .form-heading {
        font-family: 'Stolzl', sans-serif;
        font-size: 22px;
        font-weight: 400;
        line-height: 43px;
        color: #ffffff;
        margin-bottom: 15px;
        margin-top: 0px;
        text-align: center;
    }
    .submit-btn {
        height: 57px;
        font-size: 22px;
    }
}

@media (max-width: 460px) {
    .registration-form {
        padding: 20px;
    }
    .main-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 30px;
        display: flex;
        justify-content: flex-start;
    }
    .input-field {
        max-width: 250px;
    }
    .content-container {
        max-width: 575px;
        width: 100%;
        gap: 180px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .registration-form {
        max-width: 320px;
    }
}