body {
    box-sizing: border-box;
}

.footer-waitlist {
    display: flex;
    padding: 32px 20px;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    background: linear-gradient(141deg, #410A88 0%, #00091A 100%);
    position: relative;
    overflow: hidden;
}

.footer-waitlist-container {
    display: flex;
    gap: 60px;
    position: relative;
    z-index: 2;
    align-items: center;
}

.footer-waitlist-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-waitlist-content-title {
    -webkit-background-clip: text;
    background-clip: text;
    color: #FFF;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
    text-align: left;
}

.footer-waitlist-text-gradient {
    background: linear-gradient(92deg, #FF6FD4 0%, #9E67FF 52.7%, #3C9CFF 100%);
    display: inline;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-waitlist-content-subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
}

.footer-waitlist-join {
    display: flex;
}

.footer-waitlist-join-button {
    display: flex;
    max-width: 169px;
    height: 50px;

    max-height: 50px;
    padding: 0 24px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
    background: linear-gradient(85deg, #BE4CFF 0%, #3863FF 99.67%);
    color: #FFF;
    text-align: center;

    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px; /* 150% */

    text-decoration: none;
}


.footer-waitlist {
    flex-grow: 0;
    flex-shrink: 0;
}

.footer-waitlist-side {
    position: absolute;
    display: flex;
    top: auto;
    bottom: 0;
    transform: translateY(-25%) scale(1.6);
}


.footer-waitlist-side--left {
    left: 91px;
    justify-content: flex-start;
}

.footer-waitlist-side--right {
    right: 91px;
    justify-content: flex-end;
}

.safari .footer-waitlist-side--left {
    left: 15px;
    justify-content: flex-start;
}

.safari .footer-waitlist-side--right {
    right: 15px;
    justify-content: flex-end;
}


.footer-waitlist-side img {
    width: 100%;
    height: auto;
    max-height: 120px; /* подбери нужную высоту */
}

.footer-waitlist-container {
    position: relative;
    z-index: 2;
}

.footer-waitlist {
    display: flex;
}

.zh .footer-waitlist-text-gradient {
    margin-left: -5px;
}

@media (max-width: 992px) {
    .footer-waitlist-container {
        gap: 40px;
    }

    .footer-waitlist-side--left {
        left: 32px;
    }

    .footer-waitlist-side--right {
        right: 32px;
    }
}

@media (max-width: 768px) {
    .footer-waitlist-side--left {
        left: -100px;
    }

    .footer-waitlist-side {
        transform: translateY(-40%) scale(1.6); /* либо без translate — по вкусу */
    }

    .footer-waitlist-side--right {
        right: -100px;
    }

    .footer-waitlist-content-title {
        width: 315px;
    }

    .safari .footer-waitlist-side--left {
        left: -38px;
        justify-content: flex-start;
    }

    .safari .footer-waitlist-side--right {
        right: -38px;
        justify-content: flex-end;
    }

}

@media (max-width: 575px) {
    .footer-waitlist-content-title::after {
        content: "\a";
        white-space: pre;
    }

    .zh .footer-waitlist-text-gradient {
        margin-left: 0;
    }

    .footer-waitlist-content-subtitle {
        font-size: 14px;
        line-height: 20px; /* 142.857% */
    }

    .footer-waitlist-container {
        gap: 16px;
        flex-direction: column;
        align-items: center;
    }

    .footer-waitlist-content {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .footer-waitlist {
        padding: 20px 48px;
    }

    .footer-waitlist-content-title {
        text-align: center;
    }

    .footer-waitlist-content-subtitle {
        text-align: center;
    }

    .footer-waitlist-join {
        flex-direction: column;
    }

    .footer-waitlist-side {
        transform: translateY(-40%) scale(1.6); /* либо без translate — по вкусу */
    }

    .footer-waitlist-side--left {
        left: -125px;
    }

    .footer-waitlist-side--right {
        right: -125px;
    }

    .footer-waitlist-join {
        width: 100%;
        align-items: center;
    }

    .footer-waitlist-join-button {
        max-width: 100%;
        width: 294px;
        height: 48px;
        padding: 0;
    }

    .safari .footer-waitlist-side--left {
        left: -104px;
        /*background: red;*/
        justify-content: flex-start;
    }

    .safari .footer-waitlist-side--right {
        right: -104px;
        /*background: red;*/
        justify-content: flex-end;
    }
}

@media (max-width: 320px) {
    .footer-waitlist-container {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .footer-waitlist-content-title {
        display: flex;
        flex-direction: column;
        font-size: 18px;
        line-height: 28px; /* 155.556% */
    }

    .footer-waitlist-content-subtitle {
        font-size: 14px;
        line-height: 20px; /* 142.857% */
    }

    .footer-waitlist-side {
        transform: translateY(-25%) scale(1.6); /* либо без translate — по вкусу */
    }

    .footer-waitlist-side--left {
        left: -105px;
    }

    .footer-waitlist-side--right {
        right: -105px;
    }

    .footer-waitlist-content-title::after {
        content: none;
        white-space: none;
    }
}

/* iOS Safari / Chrome */
@supports (-webkit-touch-callout: none) {
    .footer-waitlist-side--left {
        margin-left: -50px;
    }

    .footer-waitlist-side--right {
        margin-right: -50px;
    }
}
