.hero__section {
    padding-top: 5.8125rem;
    display: flex;
    justify-content: center;
}

.hero__bg-mobile {
    width: 100%;
    margin: auto;
    max-width: 550px;
    margin-top: -8vh;
}
.hero__bg-container {
    z-index: -1;
    position: absolute;
    width: 900px;
    right: -15%;
    top: -140px;
    pointer-events: none; /* Отключаем взаимодействие с изображением */
    transition: all 0.3s ease; /* Плавное изменение позиции при адаптации */
    overflow: hidden;
}
.mobile-hero{
    width: 115vw;
    padding-right: 70px;
    top: -12%;
    right: unset !important;
}
.hero__lootie-container {
    z-index: -1;
    position: absolute;
    width: 900px;
    right: -433px;
    top: 75px;
    pointer-events: none; /* Отключаем взаимодействие с изображением */
    transition: all 0.3s ease; /* Плавное изменение позиции при адаптации */
    overflow: hidden;
}
.hero__bg-desktop {
    width: 100%;
    height: auto;
    object-fit: contain; /* Гарантирует сохранение пропорций */
}
.hero__lootie-desktop {
    width: 450px;
}
.hero__text-container {
    width: 100%;
    max-width: 660px;
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
}
.hero__text-title {
    font-weight: 700;
    letter-spacing: 0.48px;
    line-height: 120%;
}
.hero__text-subtitle {
    font-weight: 400;
    line-height: 140%; /* 33.6px */
    letter-spacing: 0.24px;
}
.hero__button {
    margin-top: 1.25rem;
    display: flex;
    max-width: 300px;
    height: 60px;
    justify-content: center;
    align-items: center;
    border-radius: var(--border-radius);
    background: var(--gradient-color);
    box-shadow: 0px 0px 40px 0px rgba(70, 171, 249, 0.25);
    padding: var(--button-padding-vertical) var(--button-padding-horizontal);
    color: var(--text-color);
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
    font-size: var(--button-font-size);
    font-weight: 700;
    line-height: 100%;
    letter-spacing: 0.18px;
    transition: box-shadow 0.3s, transform 0.3s;
}
.research__popup-container:focus{
    border: none;
    outline: none;
}
.hero__button:focus,
.hero__button:hover {
    cursor: pointer;
    box-shadow: 0px 0px 40px 5px rgba(70, 171, 249, 0.4);
}
.section__title {
    font-weight: 700;
    letter-spacing: 0.48px;
    line-height: 120%;
    width: 100%;
    max-width: 660px;
}
.section__subtitle {
    color: var(--text-color);
    font-size: var(---body-font-size);
    font-weight: 400;
    line-height: 140%; /* 33.6px */
    letter-spacing: 0.24px;
    margin-top: 1.125rem;
    max-width: 660px;
}
.survey__section .section__title {
    max-width: 700px;
}
article {
    padding-top: 9.875rem;
    display: flex;
    justify-content: center;
}
.survey__wrapper,
.research__wrapper {
    margin-top: 1.625rem;
    display: flex;
    justify-content: center;
    background: var(--dark-accent-color);
    max-width: 100%;
    border-radius: var(--border-radius);
}

.research__container {
    display: grid;
    grid-template-columns: repeat(5, 230px);
    gap: 10px;
    max-height: 700px;
    overflow: hidden;
}

.research__container-сolumn {
    display: flex;
    flex-direction: column;
    gap: 0.3125rem;
}

.research__card {
    background: #341c55;
    border-radius: var(--border-radius);
    padding-bottom: 0.9375rem;
    position: relative;
    cursor: pointer;
    height: 370px;
    display: flex;
    gap: 0.625rem;
    flex-direction: column;
    z-index: 0;
}

.research__card-image {
    position: relative;
    max-height: 138px;
    max-width: 230px;
    z-index: -2;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.research__card-text {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    padding: 0px var(--border-radius);
}

.research__card-title {
    font-size: var(--link-font-size);
    font-weight: 700;
    color: var(--text-color);
    overflow: hidden;
    white-space: wrap;
    text-overflow: ellipsis;
}

.research__card-subtext {
    font-size: var(--small-text-size);
    font-weight: 400;
    color: var(--text-color);
    max-height: 125px;
    overflow: hidden;
}
.research__card-button {
    font-size: var(--small-text-size);
    padding: 0 var(--border-radius);
    font-weight: 700;
    line-height: 130%;
    letter-spacing: -0.02em;
    background: var(--gradient-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}
.survey__wrapper {
    padding: 3.125rem;
    padding-bottom: 2.5rem;
}
.survey__container {
    display: flex;
    width: 100%;
    gap: 1.5rem;
    flex-direction: column;
    align-items: center;
}
.submit__button {
    display: flex;
    width: 100%;
    height: 60px;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    background: var(--gradient-color);
    padding: var(--button-padding-vertical) var(--button-padding-horizontal);
    color: var(--text-color);
    font-size: var(--button-font-size);
    font-weight: 700;
    line-height: 100%;
    letter-spacing: 0.18px;
    transition: box-shadow 0.3s, transform 0.3s;
}
.submit__button:focus,
.submit__button:active,
.submit__button:hover {
    cursor: pointer;
    box-shadow: 0px 0px 20px 5px rgba(70, 171, 249, 0.4);
}
.survey__undertext {
    opacity: 0.5;
    color: var(--text-color);
    font-size: var(--small-text-size);
    font-weight: 400;
    line-height: 150%; /* 21px */
    letter-spacing: 0.14px;
}

.goro__section .section__title {
    max-width: 26.875rem;
}

.goro_container {
    margin-top: 1.875rem;
    gap: 1.875rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 255px);
}

.goro__name {
    margin: 1.875rem 0 10px;
    font-size: var(---body-font-size);
    font-weight: bold;
    line-height: 1;
}

.goro__date {
    opacity: 0.5;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1;
}
.goro__card-img {
    width: 120px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    pointer-events: none;
}
.goro__card {
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.875rem;
    border-radius: 20px;
    background: var(--dark-accent-color);
    overflow: hidden;
    text-align: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 2;
    border: 2px solid transparent; /* Начальная граница */
}
.goro__card::before {
    border-radius: 20px;
}
.goro__card-back {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.features__wrapper {
    display: flex;
    position: relative;
    flex-direction: row;
    gap: 50px;
}
.features__wrapper .hero__button {
    margin-top: 2.5rem;
}
.features__image {
    position: absolute;
    top: -300px;
    right: -28%;
    animation: 3.5s infinite animateImage;
}
.device__section {
    margin-top: 9.825rem;
}
.device__wrapper {
    display: flex;
    justify-content: space-between;
}
.device__container {
    display: grid;
    grid-template-columns: repeat(3, 190px);
    grid-template-rows: repeat(2, 120px);
    gap: 30px;
}
.device__card {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    width: 100%;
    z-index: 1;
    overflow: hidden;
    height: 100%;
    max-height: 116px;
    transition: 0.2s all ease;
    border: 2px solid transparent; /* Начальная граница */
}
.device__card::before {
    border-radius: 20px;
}

.device__card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.device__card svg {
    width: 60px;
}

.device__card:hover svg path {
    fill: #46abf9; /* Новый цвет SVG при наведении */
}

.reviews__container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.875rem;
    position: relative; /* Для сохранения контекста позиционирования */
    /* scroll-snap-type: x mandatory; */
    margin-top: 1.5rem;
    width: 100%;
    left: 50%; /* Центрируем по горизонтали */
    transform: translateX(-50%); /* Выравниваем */
    overflow-x: scroll; /* Горизонтальная прокрутка */
    transition: width 0.5s ease;
    user-select: none; /* Отключает выделение текста */
    -webkit-user-select: none;
    -ms-user-select: none;
    cursor: grab; /* Курсор "хватай" */
}
.reviews__container.grabbing {
    cursor: grabbing; /* Курсор "держу" при захвате */
}
.reviews__container::-webkit-scrollbar {
    display: none; /* Убираем видимый ползунок */
}

.review__card {
    position: relative;
    width: 630px;
    height: 400px;
    flex-shrink: 0;
    border-radius: var(--border-radius);
    display: flex;
    gap: 25px;
    flex-direction: column;
    padding: 1.875rem;
    z-index: 0;
    scroll-snap-align: center; /* Карточка центрируется при скролле */
    background: var(--dark-accent-color);
    transition: width 0.3s ease;
}
.review__card-img {
    display: flex;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.02) 0%,
        rgba(255, 255, 255, 0.1) 100%
    );
    align-items: center;
    justify-content: center;
}
.review__card-img span {
    opacity: 0.5;
    color: var(--text-color);
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    line-height: 100%; /* 32px */
    letter-spacing: 0.32px;
}
.review__card-head {
    display: flex;
    gap: 20px;
    align-items: center;
}
.review__card-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.review__card-user {
    display: flex;
    flex-direction: column;
}
.review__card-name {
    color: var(--text-color);
    font-size: var(---body-font-size);
    font-weight: 700;
    line-height: 140%; /* 33.6px */
    letter-spacing: 0.24px;
}
.review__card-bdate {
    opacity: 0.5;
    color: var(--text-color);
    font-size: var(--small-text-size);
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 21px */
    letter-spacing: 0.14px;
}
.review__card-bdate span {
    margin-left: 5px;
}
.review__card-text {
    color: var(--text-color);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 0.18px;
}

.odds__container {
    display: flex;
    justify-content: space-between; /* Разделяем левую, центральную и правую части */
    align-items: center; /* Центруем элементы вертикально */
    position: relative; /* Для работы с центральным фоном */
    gap: 1.5rem;
}

.odds__column {
    display: flex;
    flex-direction: column;
    gap: 0.625rem; /* Расстояние между карточками */
}
.odds_section {
    position: relative;
}
.odds__card {
    display: flex;
    gap: 1.5rem;
    flex-direction: column;

    background: rgba(30, 3, 66, 0.5);
    padding: clamp(18px, 3px, 30px);
    border-radius: var(--border-radius);
    width: 300px; /* От 160px до 300px с динамическим изменением */
}

.odds__card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.odds__card-number .front-number {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.3); /* Параметры контура */
    color: transparent;
    position: relative;
    z-index: 10;
}
.odds__card-text {
    color: var(--text-color);
    font-size: var(---body-font-size);
    font-weight: 400;
    line-height: 140%; /* 33.6px */
    letter-spacing: 0.24px;
}
.odds__card-number .back-number {
    position: absolute;
    top: 13px;
    right: -5px;
    z-index: -1;
    font-size: 32px;
    font-weight: bold;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.1); /* Параметры контура */
    color: transparent;
}

.odds__center {
    align-self: start;
    text-align: center;
    position: relative;
}

.odds__title {
    margin-top: -4rem;
    margin-bottom: 1rem;
    font-size: var(--heading-font-size);
}

.odds__background {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1; /* Уводим фон под контент */
    width: 120vw;
    max-width: 1600px;
}
.odds__background-circle {
    position: absolute;
    top: 63%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1; /* Уводим фон под контент */
    max-width: 540px;
    width: 40vw;
}
.odds__bg-image {
    width: 100%;
    height: 100%; /* Подстраивается под высоту родительского блока */
    object-fit: cover; /* Обеспечивает корректное отображение изображения */
}
.survey__form-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
}
.survey__form-container .survey__form-block:first-child {
    flex: 3; /* Первый блок занимает 3 части */
}

.survey__form-block {
    flex: 1; /* Остальные блоки занимают 1 часть */
    background: rgb(51, 26, 86);
    border-radius: var(--border-radius);
    padding: 24px 30px 30px;
    box-shadow: 0px 2px 13px 0px rgba(0, 0, 0, 0.1);
}
.form__block-head {
    color: var(--text-color);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.875rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}
.form__block-head button {
    width: 40px;
    height: 40px;
    border: none;
    background: none;
}
.frorm__block-title {
    font-size: var(---body-font-size);
    font-weight: 700;
    line-height: 1.4;
    padding-bottom: 9px;
    position: relative;
    top: 2px;
}
.frorm__block-title::before {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0px;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, rgb(235, 87, 234) 0%, rgb(70, 171, 249) 100%);
}
.form__block-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 81px 81px;
    gap: 19px;
}
.form__block-content-simple {
    display: flex;
    flex-direction: column;
    gap: 19px;
}
.payment-input{
    width: 100%;
    padding: 16px;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}
@keyframes animateImage {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-30px);
    }
    100% {
        transform: translateY(0);
    }
}

@media screen and (1200px < width <= 1400px) {
    .hero__bg-container {
        right: -15%;
    }
    .hero__lootie-container {
        right: -35.5%;
    }
    .features__image {
        right: -30%;
    }
}
@media screen and (1050px < width <= 1200px) {
    .hero__bg-container {
        right: -20%;
    }
    .hero__lootie-container {
        right: -43%;
    }
    .research__section {
        margin-bottom: 0;
        padding-top: 3.75rem;
    }
    .research__container {
        grid-template-columns: repeat(4, 1fr);
        height: 455px;
        padding: 0 var(--border-radius);
    }
    .features__image {
        right: -27%;
        top: -33%;
        width: 90%;
    }
}

@media screen and (width <= 1050px) {
    .hero__section {
        display: flex;
        flex-direction: column;
        padding-top: 0px;
        align-items: center;
    }
    .hero__bg-container {
        right: -25%;
    }
    .hero__text-container {
        margin: 0 1.25rem;
        margin-top: -10vh;
    }
    .hero__button {
        max-width: 100%;
    }
    .hero__section-content {
        display: flex;
        justify-content: center;
    }
    article {
        margin-bottom: 0;
        padding-top: 3.75rem;
    }

    .research__container {
        grid-template-columns: repeat(3, 1fr);
        height: 455px;
        padding: 0 var(--border-radius);
    }
    .survey__wrapper {
        padding: 20px;
    }
    .survey__container {
        gap: var(--border-radius);
    }
    .submit__button,
    .hero__button {
        height: 40px;
    }
    .goro_container {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(6, 1fr);
        gap: 1rem;
    }
    .goro__card {
        padding: 13px 16px;
    }
    .goro__card-img {
        width: 4rem;
    }
    .goro__name {
        margin-top: 1rem;
        font-size: 14px;
        margin-bottom: 0;
    }
    .goro__date {
        margin-top: 5px;
        font-size: var(--small-text-size);
    }
    .features__section {
        padding-bottom: 50px;
        overflow: hidden;
    }

    .features__wrapper {
        flex-direction: column;
    }
    .features__wrapper .hero__button {
        display: none;
    }

    .features__image {
        display: block;
        position: relative;
        bottom: 0;
        right: 0;
        width: 90vw;
        height: 100%;
        top: 10px;
        margin-top: -20vw;
        margin-bottom: -20vw;
        align-self: center;
    }
    .device__section {
        margin: 0;
    }
    .device__wrapper {
        justify-content: flex-start;
        flex-direction: column;
        gap: 17px;
        align-items: flex-start;
        width: auto;
    }
    .device__section .section__title {
        margin-bottom: 1.5rem;
    }
    .device__container {
        width: 100%;
        gap: 13px;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 65px;
    }
    .device__card {
        max-height: 65px;
    }
    .device__card svg {
        width: 20%;
    }
    .review__card {
        width: 260px;
        height: 360px;
        gap: 0.75rem;
        padding: 0.9375rem;
    }
    .review__card-img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
    }
    .review__card-img span {
        font-size: 1rem;
    }
    .review__card-head {
        gap: 10px;
    }
    .review__card-text {
        font-size: 14px;
    }
    .reviews__wrapper {
        padding: 0 1.25rem;
    }

    .odds__container {
        display: grid; /* Используем Grid для организации карточек */
        grid-template-columns: 1fr 1fr; /* Две равные колонки */
        gap: 1rem; /* Расстояние между карточками */
    }

    .odds__center {
        grid-column: span 2; /* Заголовок занимает обе колонки */
        text-align: center; /* Центрируем текст заголовка */
        margin-bottom: 7.5rem;
        order: -1;
    }
    .odds__background-circle {
        max-width: 270px;
        top: 35%;
        width: 65vw;
    }
    .odds__card-head img {
        width: 40px;
        opacity: 0.8;
    }
    /* .odds__card-text {
        word-wrap: break-word;
        white-space: normal;
        hyphens: auto;
        overflow-wrap: break-word;
    } */
    .odds__card {
        width: 100%;
        min-height: 160px;
        background: rgba(255, 255, 255, 0.05);
    }
    .odds__card-number .front-number {
        font-size: 18px;
        font-weight: bold;
        line-height: 1;
        -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3); /* Параметры контура */
        color: transparent;
        position: relative;
        z-index: 10;
    }
    .odds__card-number .back-number {
        position: absolute;
        top: 13px;
        right: -5px;
        z-index: -1;
        font-size: 18px;
        font-weight: bold;
        -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1); /* Параметры контура */
        color: transparent;
    }
    .odds__title {
        margin-top: 0rem;
    }
    .survey__form-container {
        display: flex;
        flex-direction: column;
    }
    .survey__wrapper {
        gap: 20px;
    }
    .survey__form-container {
        gap: 20px;
    }
    .survey__form-block {
        padding: 16px 20px;
    }
    .form__block-content {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Один столбец по умолчанию */
        gap: 15px; /* Отступы между блоками */
        grid-template-rows: unset;
        /* Настройка макета */
        grid-template-areas:
            "block1 block1 "
            "block2 block3"
            "block4 block4"
            "block5 block6";
    }
    .form__block-input:nth-child(1) {
        grid-area: block1;
    }

    .form__block-input:nth-child(2) {
        grid-area: block2;
    }

    .form__block-input:nth-child(3) {
        grid-area: block3;
    }

    .form__block-input:nth-child(4) {
        grid-area: block4;
    }

    .form__block-input:nth-child(5) {
        grid-area: block5;
    }

    .form__block-input:nth-child(6) {
        grid-area: block6;
    }
    .input__icon {
        display: none;
    }
    .reviews__container {
        scroll-snap-type: none; /* Убираем эффект привязки */
    }

    .review__card {
        scroll-snap-align: none; /* Убираем центрирование карточек */
    }
}
@media screen and (768px < width <= 1050px) {
    .odds__background {
        top: 0%;
        left: 0%;
        transform: none;
    }
    .research__container {
        grid-template-columns: repeat(2, 1fr);
        height: 455px;
        padding: 0 var(--border-radius);
    }
}
@media screen and (width <= 768px) {
    .odds__background {
        text-align: center;
        top: 13%;
        left: 0%;
        transform: scale(2);
    }
    .research__card-title {
        margin-bottom: 10px;
    }
    .research__card-subtext {
        font-size: 11px;
    }
    .research__card-button {
        position: absolute;
        bottom: 20px;
        width: 100%;
        text-align: center;
        font-size: 12px;
    }
    .research__container {
        grid-template-columns: repeat(2, 1fr);
        height: 455px;
        padding: 0 var(--border-radius);
    }
    .frorm__block-title::before {
        content: "";
        position: absolute;
        bottom: -1.8vh;
        left: 0px;
        height: 3px;
        width: 100%;
        background: linear-gradient(90deg, rgb(235, 87, 234) 0%, rgb(70, 171, 249) 100%);
    }
    .research__card-image {
        max-width: unset;
    }
}
