:root {
    --orange: #fc6136;
    --purple: #423d5a;
    --dark-purple: #0e0d2d;
    --light-bg: #fef9f4;
    --font-primary: 'Unbounded', sans-serif;
    --font-serif: 'Roboto Serif', serif;
    --font-condensed: 'Sofia Sans Extra Condensed', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: #f7f3f0;
    color: var(--dark-purple);
    line-height: 1.5;
    overflow-x: hidden;
    overflow-y: scroll;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Затемнение фона */
    z-index: 999; /* Убедитесь, что оверлей выше других элементов */
}

.upside {
    z-index: 99;
    position: relative;
}

.form__body {
    opacity: 1;
    transition: opacity 0.3s ease; /* Плавный переход для opacity */
}

.form__body.not-show {
    opacity: 0; /* Прозрачность при скрытии */
}

.cursor-dot,
.cursor-dot-outline {
    mix-blend-mode: normal;
    pointer-events: none;
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    opacity: 0;
    position: fixed;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: opacity 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}

.cursor-dot {
    z-index: 99999999;
    width: 10.0px;
    height: 10.0px;
    background-color: rgba(255, 130, 0, 0.72);
    border: solid;
    border-radius: 50%;
    border-width: 0px;
    border-color: #000;
}

.cursor-dot-outline {
    z-index: 99999998;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.2);
    border: solid;
    border-radius: 50%;
    border-width: 0px;
    border-color: #000;
}

.modal {
    display: none; /* Скрыто по умолчанию */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Затемнение фона */
    z-index: 1000; /* Поверх всех элементов */
    justify-content: center; /* Центрирование по горизонтали */
    align-items: center; /* Центрирование по вертикали */
}

.modal-content {
    background: white; /* Фон модального окна */
    padding: 20px;
    border-radius: 8px; /* Закругленные углы */
    text-align: center; /* Центрирование текста */
}

.hidden {
    display: none;
}

.text-upper {
    text-transform: uppercase;
}

.container {
    max-width: 1280px;
    margin: auto;
}

.head__wrapper {
    min-height: 850px;
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    overflow: hidden;
    padding: 40px 120px;
    background: var(--light-bg);
}

.head__wrapper::before {
    content: '';
    background: var(--light-bg) url(images/gradient021.webp) no-repeat top;
    background-size: 100% 850px;
    background-position-x: -90px;
    background-position-y: -2px;
    width: 1280px;
    height: 850px;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    filter: blur(20px);
}

.return-to-top {
    position: absolute;
    right: 0;
    bottom: 0;
    cursor: pointer; /* Курсор в виде указателя */
    color: #ff5c2d; /* Цвет текста */
    text-decoration: underline; /* Подчеркивание текста */
    margin: 0 -15% -10% 0;
    font-family: var(--font-condensed);
    font-weight: 400;
    font-size: 24px;
}

.return-to-top:hover {
    color: var(--dark-purple)!important;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 12px;
    color: var(--purple);
    font-family: 'unbounded', Arial, sans-serif;
    z-index: 1;
    position: relative;
}

.top-bar__item__logo {
    height: 25px;
    vertical-align: middle;
    margin-left: 9px;
}

.header {
    padding-top: 60px;
    position: relative;
}

.header__inner {
    position: relative;
    z-index: 2;
}

.header__title {
    font-family: var(--font-condensed);
    font-weight: 900;
    font-size: 120px;
    line-height: 0.955;
    letter-spacing: 0;
    color: #18192b;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.header__title-orange {
    color: #ff5c2d;
    display: inline-block;
}

.header__row-text {
    justify-content: space-between;
}

.header__text {
    font-family: 'unbounded', Arial, sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: var(--purple);
    line-height: 1.55;
}

.header__text--left {
    text-align: left;
}

.header__text--right {
    text-align: left;
}

.header__side-text {
    position: absolute;
    right: -18.4%;
    margin: auto;
    top: 31.3%;
    transform: rotate(90deg) translateY(-50%);
    font-size: 13px;
    font-weight: 300;
    color: #18192b;
    font-family: 'unbounded', Arial, sans-serif;
    letter-spacing: 0.01em;
    white-space: nowrap;
    z-index: 3;
}

.phrases {
    position: relative;
    overflow: hidden;
    background: var(--orange);
    padding: 9.9rem 0 13.9rem;
    background: linear-gradient(
        to bottom,
        var(--light-bg) 0px,
        var(--light-bg) 3px,
        var(--orange) 3px,
        var(--orange) calc(100% - 3px),
        var(--light-bg) calc(100% - 3px),
        var(--light-bg) 100%
    );
}

.phrases__wrapper {
    position: relative;
    z-index: 1;
    width: 90%;
    text-align: center;
    margin: 0 auto;

    max-width: 1150px;
    overflow-wrap: break-word;
    word-break: break-word;
    font-size: 0;

    padding-top: 30px;
}

.phrases__toppattern {
    position: absolute;
    top: 0;
    z-index: 1;
}

.phrases__toppattern {
    width: 100vw;
    height: 152px;
    background: url('./images/toppattern.webp') repeat-x center top;
    background-size: auto 152px;
    display: block;
    background-position-y: bottom;
    transform-origin: left top;
}

.phrases__bottompattern {
    width: 100vw;
    height: 152px;
    position: absolute;
    bottom: 0;
    z-index: 1;
    background: url('./images/bottompattern.webp') repeat-x center top;
    background-size: auto 152px;
    display: block;
    transform-origin: left bottom;
}

.phrase {
    color: #fff;
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 4.3rem;
    line-height: 5.6rem;
    text-transform: uppercase;
    cursor: pointer;
    display: inline;
    transition: color 0.25s cubic-bezier(.4, 0, .2, 1),
    transform 0.25s cubic-bezier(.4, 0, .2, 1);
    will-change: transform, color;
    vertical-align: middle;
    margin: 0 37px 0 0;
    word-break: break-word; /* перенос слов внутри длинных фраз */
    white-space: normal; /* разрешить перенос строк внутри фразы */
    max-width: 100%;
}

.phrase:hover {
    color: var(--dark-purple);
    /*transform: scale(1.18);*/
    /*font-size: 5.3rem;*/
    z-index: 2;
}

.form-wrap {
    padding-bottom: 1rem;
    background: var(--light-bg);
}

.form {
    padding: 6rem 0;
    text-align: center;
    position: relative;
}

.symbols-100 {
    display: block;
    margin-top: -55px;
}

.form::before {
    content: '';
    background: url(images/gradient022.webp) no-repeat;
    background-position-x: center;
    width: 905px;
    height: 708px;
    display: block;
    position: absolute;
    left: 10%;
    top: 0;
    filter: blur(20px);
}

.form__title {
    position: relative;
    max-width: 40rem;
    margin: auto;
    font-family: var(--font-condensed);
    font-size: 4.5rem;
    line-height: 4.5rem;
    color: var(--orange);
    font-weight: 600;
    text-transform: uppercase;
}

.hidden-desk {
    display: none;
}

.form__text {
    color: var(--dark-purple);
    text-align: center;
    font-family: 'Roboto Serif', sans-serif;
    font-size: 1rem;
    font-style: italic;
    font-weight: 300;
    line-height: 5rem;
    letter-spacing: -0.06rem;
}

.form__body {
    max-width: 800px;
    margin: auto;
    /* margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;  */
    z-index: 1;
    position: relative;
}

.form__input {
    display: block;
    width: 100%;
    margin: auto;
    height: 105px;
    padding: 0.75rem 1rem;
    border: 2px solid #eeecec;
    border-radius: 15px;
    font-family: var(--font-condensed);
    font-weight: 600;
    font-size: 2rem;
    line-height: 3rem;
    color: var(--dark-purple);
    text-transform: uppercase;
}

.form__input:focus-visible, .form__input:focus, .form__input:active {
    border: 2px solid var(--orange);
}

.form__input:-webkit-autofill, .form__input:-webkit-autofill:focus {
    border: 2px solid var(--orange);
}

.form__input::-webkit-input-placeholder {
    font-family: var(--font-condensed);
    font-weight: 600;
    font-size: 2rem;
    line-height: 3rem;
    color: var(--dark-purple);
    text-transform: uppercase;
}

.form__input:focus::-webkit-input-placeholder {
    color: var(--dark-purple);
}

.form__button, .form__button:focus {
    display: inline-block;
    width: 274px;
    height: 82px;
    padding: 0.75rem 2rem;
    background: var(--orange);
    border: none;
    border-radius: 15px;
    color: #fff;
    font-family: var(--font-condensed);
    font-weight: 600;
    font-size: 2.2rem;
    line-height: 3rem;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.2s linear;
}

.form__button:hover {
    background: var(--dark-purple);
    color: #fff;
}

.form__button:active {
    background: #fff;
    color: var(--orange);
}

.form_success {
    left: 0;
    max-width: 1000px;
    height: 380px;
    padding: 45px;
    border-radius: 15px;
    border: 2px solid var(--orange);
    background: #fff;
    z-index: 9999;
    right: 0;
    margin: auto;
    text-align: center;
}

.form__input::placeholder {
    color: #999; /* Серый цвет для плейсхолдера */
    opacity: 1; /* Убедитесь, что плейсхолдер не полупрозрачный */
}

.form_success__arrow-left {
    position: relative;
    top: -5px;
    left: -35px;
    transform: scaleX(-1);
}

.form_success__arrow-right {
    position: relative;
    top: -5px;
    right: -35px;
}

.form_success .form__text {
    font-size: 1.4rem;
    line-height: 2rem;
}

.showcase-wrapper .container::before {
    content: '';
    background: url(images/gradient031.webp) no-repeat top;
    background-size: cover;
    background-position-x: -90px;
    background-position-y: -2px;
    width: 1070px;
    height: 1070px;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    filter: blur(20px);
}

.showcase {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 7.3rem 0 24.5rem;
    background: linear-gradient(to bottom, var(--light-bg) 0px, var(--light-bg) 3px, var(--dark-purple) 3px, var(--dark-purple) calc(100% - 3px), var(--light-bg) calc(100% - 3px), var(--light-bg) 100%);
}

.showcase__toppattern {
    width: 100vw;
    height: 112px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    background: url('./images/violetpattern-top.webp') repeat-x center top;
    background-size: auto 112px;
    display: block;
    background-position-y: bottom;
    transform-origin: left top;
}

.showcase__bottompattern {
    width: 100vw;
    height: 112px;
    position: absolute;
    bottom: 0;
    z-index: 0;
    background: url('./images/violetpattern-bottom.webp') repeat-x center top;
    background-size: auto 112px;
    display: block;
    transform-origin: left bottom;
    left: 0;
}

.showcase__gradient {
    position: absolute;
    top: -4rem;
}

.showcase__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
    justify-content: space-evenly;
    margin-top: 70px;
}

.showcase__poster {
    position: relative;
    text-align: center;
}

.showcase__poster .poster {
    position: relative;
    top: -11rem;
    z-index: 1;
    max-width: 459px;
}

.showcase__poster .hr {
    position: absolute;
    top: 0;
    right: -120px;
    width: 4px;
    height: 443px;
    background-color: var(--orange);
}

.showcase__text-block {
    padding-left: 55px;
}

.showcase__text {
    font-family: var(--font-primary);
    font-weight: 300;
}

h3.showcase__text {
    font-size: 2.2rem;
    line-height: 3.15rem;
    font-weight: 700;
    text-transform: uppercase;
}

.showcase__text-block p {
    max-width: 390px;
}

.showcase__partner {
    max-width: 720px;
    margin: auto;
    margin-top: -3rem;
    text-align: center;
}
.stickers-link{
    color: var(--light-bg) !important;
    text-decoration: underline !important;
}
.stickers-link:hover{
    color: var(--orange) !important;
}

.video {
    padding-bottom: 3rem;
    background: var(--light-bg);
    text-align: center;
}

.video-wrap {
    margin-top: -22.5rem;
    z-index: 1;
    border: 2px solid #737272;
    display: inline-block;
    padding: 0;
    max-width: 794px;
    height: 450px;
    position: relative;
    width: inherit;
}

.video-wrap iframe {
    width: 100%; /* Занимает всю ширину контейнера */
    height: 100%; /* Занимает всю высоту контейнера */
    border: none; /* Убираем стандартную обводку iframe */
}

.footer {
    position: relative;
    overflow: hidden;
    padding: 7.3rem 7.5rem 3rem;
    background: var(--dark-purple);
    background: linear-gradient(to bottom, var(--light-bg) 0px, var(--light-bg) 3px, var(--dark-purple) 3px, var(--dark-purple) 100%);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 300;
    line-height: 0.95rem;
}

.footer a {
    color: #fff !important;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
}

.repeat-form.form-wrap {
    padding-bottom: 0;
}

.animate-block {
    transition: opacity 2.3s ease, transform 1s ease, color 0.25s cubic-bezier(.4, 0, .2, 1);
}

.need-animate {
    opacity: 0; /* Начальная прозрачность */
    transform: translateY(20px); /* Сдвиг вниз */
}
.need-animate.animate-random{
    transform: translateY(0);
    transition: opacity 2.3s ease, color 0.35s cubic-bezier(.4, 0, .2, 1);
}
.animate-ok {
    opacity: 1; /* Конечная прозрачность */
    transform: translateY(0); /* Возврат в исходное положение */
}

/* Responsive */
@media (max-width: 932px){
    .touch-device .cursor-dot,
    .touch-device .cursor-dot-outline {
        opacity: 0 !important; /* Скрыть курсорные точки */
    }
}
/*@media (max-width: 1150px) {*/
@media (max-width: 499px) {
    .head__wrapper {
        padding: 10px 40px;
    }
}

@media (max-width: 499px) {
    html, body {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow-x: hidden; /* Запретить горизонтальную прокрутку */
        touch-action: pan-y; /* Запретить жесты прокрутки по горизонтали */
        max-width: 100vw; /* Запретить превышение ширины экрана */
        /*touch-action: manipulation;*/
        overscroll-behavior: none;
    }

    iframe {
        touch-action: none;
    }

    .top-bar__item:nth-child(1) {
        margin-left: -10px;
    }

    .return-to-top {
        right: 0;
        bottom: 0;
        margin: 0 auto -18%;
        font-size: 18px;
    }

    .oops-size {
        flex: 0 0 auto;
        width: 100%;
    }

    .oops-second {
        margin-top: 3rem !important;
    }

    .form::before {
        left: -50%;
    }

    .symbols-100 {
        display: block;
        margin-top: 0;
        margin-bottom: 15px;
    }

    .container {
        max-width: 100vw;
    }

    .head__wrapper {
        padding: 10px 0;
    }

    .head__wrapper::before {
        max-width: 650px;
        max-height: 87%;
        background-position-x: 90%;
        background-size: cover;
    }

    .top-bar {
        font-size: 0.4rem;
    }

    .third-top-bar {
        margin-top: -3px;
        margin-right: -15px;
    }

    .top-bar {
        justify-content: space-evenly;
        justify-content: space-around;
    }

    .header__inner {
        padding: 60px 38px 0;
    }

    .header__title {
        font-size: 3.45rem;
        margin-bottom: 60px;
    }

    .header__side-text {
        font-size: 0.48rem;
        top: 25%;
        right: -23%;
    }

    .head__wrapper {
        min-height: 600px;
    }

    .phrases {
        padding: 6.3rem 0 9.9rem;
    }

    .phrases__toppattern {
        top: -1%;
    }

    .phrase {
        margin-right: 15px;
        font-size: 2.6rem;
        line-height: 2.5rem;
    }

    .phrase:hover {
        font-size: 2.6rem;
    }

    .form-wrap {
        padding-bottom: 0;
    }

    .form {
        z-index: 2;
        position: relative;
        padding: 5rem 0 5rem;
        margin-top: -140px;
        background-position-y: -7px;
    }

    .first-form {
        padding: 9rem 0 5rem;
    }

    .form__title {
        font-size: 3.15rem;
        line-height: 3.15rem;
    }

    .hidden-desk {
        display: inline;
    }

    .form__body {
        max-width: 320px;
        z-index: 1;
        position: relative;
    }

    .form__input {
        height: 64px;
    }

    .form__text {
        margin-top: 25px;
        margin-bottom: 2rem;
        font-size: 0.75rem;
        line-height: 1.1rem;
        letter-spacing: 0;
    }

    .form_success .form__text {
        font-size: 0.75rem;
        line-height: 1.1rem;
        letter-spacing: 0;
    }

    .form__button, .form__button:focus {
        width: 163px;
        height: 48px;
        font-size: 1.25rem;
        line-height: 1.2rem;
    }

    .showcase {
        padding: 7.3rem 20px 11.5rem;
    }

    .showcase__gradient {
        top: 12rem;
        width: 800px;
    }

    .showcase__inner {
        gap: 0;
        margin-top: 0;
    }

    .showcase__poster .poster {
        top: -7rem;
        width: 318px;
    }

    .showcase__text-block {
        padding: 0;
        margin-top: -3.5rem;
        text-align: center;
    }

    .showcase__text-block p {
        margin: auto;
        padding: 0 10px;
    }

    .showcase__text {
        font-size: 0.75rem;
        line-height: 1.15rem;
    }

    h3.showcase__text {
        font-size: 1.4rem;
        line-height: 1.95rem;
    }

    .showcase__partner {
        margin-top: 3.5rem;
    }

    .video-wrap {
        padding-bottom: 0;
        margin-top: -9.5rem;
        height: 180px;
        width: 320px;
        z-index: 999;
        position: relative;
        margin-bottom: 5rem;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-inner img {
        margin-top: 40px;
    }

    .footer {
        margin-top: -1.5rem;
    }
    .head__wrapper {
        padding: 57px 0 0;
    }

    .phrases__wrapper {
        padding: 0 0;
        padding-top: 30px;
        max-width: 90%;
    }

    .header {
        padding-top: 37px;
    }

    .header__text {
        font-size: 0.75rem;
        line-height: 2.2;
        max-width: 300px;
    }

    .head__wrapper {
        min-height: 400px;
    }

    .top-bar__item__logo {
        height: 15px;
        margin-left: -1px;
    }

    .footer {
        padding: 7.3rem 0.5rem 3rem;
        font-size: 10px;
        line-height: 20px;
    }

    .footer-inner img {
        margin-top: 30px;
    }
}
@media (min-width: 500px) and (max-width: 1279px) {
    .main-wrapper {
        transform-origin: top left!important;
    }
    .phrases__toppattern, .phrases__bottompattern, .showcase__toppattern, .showcase__bottompattern{
        width: 300vw;
    }
}
@media (min-width: 500px) and (max-width: 575px) {
    .oops-size, .showcase__poster,.showcase__text-block {
        flex: 0 0 auto;
        width: 33.33333333%;
    }
    .oops-second{
        margin-top: 0!important;
    }
}
/*@media (min-width: 1200px) and (max-width: 1280px) {*/
/*    .showcase__text-block {*/
/*        margin-top: 4.5rem;*/
/*    }*/
/*}*/
/*@media (min-width: 1230px) and (max-width: 1280px) {*/
/*    .header__side-text {*/
/*        right: -11%;*/
/*    }*/
/*}*/
/*@media (min-width: 1060px) and (max-width: 1230px) {*/
/*    .header__side-text {*/
/*        right: -13%;*/
/*    }*/
/*}*/
/*@media (min-width: 910px) and (max-width: 1060px) {*/
/*    .header__side-text {*/
/*        right: -18%;*/
/*    }*/
/*}*/
/*@media (min-width: 860px) and (max-width: 910px) {*/
/*    .header__side-text {*/
/*        right: -21%;*/
/*    }*/
/*}*/
/*@media (min-width: 769px) and (max-width: 1280px) {*/
/*    .header__inner.container {*/
/*        padding: 60px 0 0;*/
/*        max-width: 75vw;*/
/*    }*/
/*}*/
/*@media (min-width: 500px) and (max-width: 768px) {*/
/*    .header__inner.container {*/
/*        max-width: 600px;*/
/*        padding: 60px 15px 0;*/
/*    }*/
/*}*/
/*@media (min-width: 500px) and (max-width: 1280px) {*/
/*    .header__side-text {*/
/*        top: 30%;*/
/*    }*/

/*    .header__title {*/
/*        font-size: 4.45rem;*/
/*    }*/

/*    .oops-size {*/
/*        flex: 0 0 auto;*/
/*        width: 43.333333%;*/
/*        margin-top: 0 !important;*/
/*    }*/
/*}*/

@media (min-width: 391px) and (max-width: 430px) {
    .top-bar {
        justify-content: space-around;
    }

    .header__title {
        font-size: 3.25rem;
        margin-bottom: 0;
    }

    .header__side-text {
        font-size: 0.35rem;
        top: 19.5%;
        right: -15%;
    }
    .top-bar__item:nth-child(1) {
        margin-left: -20px;
    }
    .third-top-bar {
        margin-right: -20px;
    }
    .head__wrapper {
        padding: 25px 0 0;
    }
    .header__inner {
        padding: 20px 38px 0;
    }
}

@media (min-width: 320px) and (max-width: 499px) {
    .top-bar {
        /*justify-content: space-evenly;*/
    }

    .form {
        padding: 5rem 30px 5rem;
    }

    .first-form {
        padding: 9rem 30px 5rem;
    }
}

@media (max-width: 480px) {
    .return-to-top {
        margin: 0 auto -25%;
    }

    .form_success {
        padding: 15px 40px;
        width: 319px;
        height: 217px;
    }

    .form_success .form__text {
        margin-bottom: 0;
    }

    .form_success__arrow-right,
    .form_success__arrow-left {
        display: none;
    }
}

.main-wrapper {
    width: 390px;
    transition: transform 0.2s;
    transform-origin: top center;
    position: relative;
}

@media (min-width: 1280px) {
    .main-wrapper {
        width: 1280px;
        margin: 0 auto;
        transition: transform 0.2s;
        transform-origin: top center;
        position: relative;
    }
}