.last-container {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f4f2ff 100%);
    padding-top: 40px;
}

.last-container-mobile {
    display: none;
}

.last-header {
    display: flex;
    max-width: 740px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 39px;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
    box-sizing: border-box;
    margin: 0 auto;
    z-index: 2;
}

.last-header-title-normal {
    color: #1C1C1C;
    text-align: center;
    font-family: Manrope, serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 500;
    line-height: 110%;
}

.last-header-title-italic {
    color: #1C1C1C;
    font-family: "PT Serif", serif;
    font-size: 40px;
    font-style: italic;
    font-weight: 400;
    line-height: 110%;
}

.last-header-title {
    text-align: center;
}

.bonuses {
    flex-direction: column;
    display: grid;
    gap: 12px;
}

.bonus-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.bonus-card {
    display: flex;
    width: 361px;
    padding: 16px 24px 16px 16px;
    align-items: center;
    gap: 24px;
    border-radius: 16px;
    background: #FFF;
}

.bonus-icon {
    display: flex;
    width: 56px;
    height: 56px;
    padding: 14px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border-radius: 56px;
    background: #E5E4FF;
}

.bonus-text {
    color: #1C1C1C;
    font-family: Manrope, serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
}

.form-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    padding: 0 16px;
    position: relative;
    z-index: 2;
    align-items: center;
}

.form-box {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.06);
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
    width: 1200px;
    padding: 64px 0px;
    flex-direction: column;
    gap: 44px;
    flex-shrink: 0;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

.form-input {
    width: 470px;
}

.form input {
    padding: 12px;
    font-size: 14px;
    border-radius: 999px;
    border: 1px solid #9CA3AF;
}

.form button {
    background: #BFF404;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.form button:hover {
    background: #d4ff41;
}

.form-title-normal {
    color: #1C1C1C;
    text-align: center;
    font-family: Manrope, serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
}

.form-title-italic {
    color: #1C1C1C;
    font-family: "PT Serif", serif;
    font-size: 24px;
    font-style: italic;
    font-weight: 400;
    line-height: 140%;
}

.submit {
    display: flex;
    padding: 12px 24px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border-radius: 48px;
    background: #BFF404;
    width: 460px;
    color: #1C1C1C;
    text-align: center;
    font-family: Manrope, serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%;
}

.telegram-icon-box {
    display: flex;
    padding: 14px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border-radius: 56px;
}


.telegram-icon {
    width: 56px;
    height: 56px;
}

#last-header-submitted {
    display: none;
}

.last-header-submitted {
    display: flex;
    max-width: 740px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 39px;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
    box-sizing: border-box;
    margin: 0 auto;
    z-index: 2;
    height: 450px;
}

@media (max-width: 768px) {
    .last-container {
        display: none;
    }

    #last-header-submitted-mobile {
        display: none;
    }

    .last-container-mobile {
        display: flex;
        position: relative;
        overflow: hidden;
        z-index: 1;
        background: linear-gradient(180deg, #ffffff 0%, #f4f2ff 100%);
        flex-direction: column;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .last-container-text-mobile-normal {
        color: #1C1C1C;
        text-align: center;
        font-family: Manrope, serif;
        font-size: 24px;
        font-style: normal;
        font-weight: 400;
        line-height: 110%;
    }

    .last-container-text-mobile-italic {
        color: #1C1C1C;
        font-family: "PT Serif", serif;
        font-size: 24px;
        font-style: italic;
        font-weight: 300;
        line-height: 110%;
    }

    .last-content-mobile {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 32px;
        flex: 1 0 0;
        padding: 0px 16px;
        z-index: 2;
    }

    .bonuses-mobile {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 12px;
        align-self: stretch;
    }

    .bonus-icon-mobile {
        display: flex;
        width: 24px;
        height: 24px;
        padding: 14px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
        border-radius: 24px;
        background: #E5E4FF;
    }

    .bonus-mobile {
        display: flex;
        padding: 16px;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 16px;
        align-self: stretch;
        border-radius: 16px;
        background: #FFF;
    }

    .bonus-text-mobile {
        color: #1C1C1C;
        font-family: Manrope, serif;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 140%;
        align-items: flex-start;

    }

    .form-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 32px 16px;
        gap: 24px;
        background: #fff;
        border-radius: 24px;
        bottom: -20px;
        margin: 32px 16px -20px 16px;
        z-index: 2;
    }

    .form-title-mobile {
        text-align: center;
    }

    .form-title-mobile-normal {
        color: #1C1C1C;
        font-family: Manrope, sans-serif;
        font-size: 20px;
        font-style: normal;
        font-weight: 500;
        line-height: 140%;
    }

    .form-title-mobile-italic {
        color: #1C1C1C;
        font-family: "PT Serif", serif;
        font-size: 20px;
        font-style: italic;
        font-weight: 400;
        line-height: 140%;
    }

    .form-fields-mobile {
        display: flex;
        flex-direction: column;
        gap: 16px;
        justify-content: center;
    }

    .form-input-mobile {
        padding: 12px 24px;
        gap: 8px;
        border-radius: 999px;
        border: 1px solid #9CA3AF;
        font-family: Manrope, serif;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 150%;
        width: 100%;
        box-sizing: border-box;
    }

    .form-fields-mobile {
        flex-direction: column;
        padding: 12px;
        gap: 16px;
        align-self: stretch;
    }

    .submit-mobile {
        display: flex;
        padding: 12px 24px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        align-self: stretch;
        border-radius: 48px;
        background: #BFF404;
        color: #1C1C1C;
        text-align: center;
        font-family: Manrope, serif;
        font-size: 16px;
        font-style: normal;
        font-weight: 600;
        line-height: 140%;
        border: none;
        cursor: pointer;
        width: 100%;
    }

    #last-header-submitted-mobile {
        text-align: center;
    }

    #telegram-icon-mobile {
        justify-content: center;
        align-items: center;
    }
}