.registration-offer {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 371px;
    padding: 50px;
    gap: 50px;
    overflow: hidden;
    border-radius: 32px;
    background: #0C0C0C;
    color: #FFFFFF;
}

.registration-offer::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 10px;
    right: 115px;
    width: 455px;
    height: 455px;
    background: url("../image/registration-offer-bg.svg") center top / cover no-repeat;
    pointer-events: none;
}

.registration-offer__content,
.registration-offer__actions {
    position: relative;
    z-index: 1;
}

.registration-offer__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 660px;
}

.registration-offer__title {
    margin: 0;
    color: #FFFFFF;
    font-family: SouthGhetto, "Inter", "Roboto", sans-serif;
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 0;
    text-transform: uppercase;
}

.registration-offer__text {
    max-width: 520px;
    margin: 0;
    color: #FFFFFF;
    font-family: Involve, serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: 0;
}

.registration-offer__actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.registration-offer__button {
    display: flex;
    width: 309px;
    height: 90px;
    padding: 15px 30px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: 0;
    border-radius: 20px;
    background: #DC1117;
    color: #FFFFFF !important;
    font-family: "Inter", "Roboto", sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: 0;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    transition: background 0.2s ease;
}

.registration-offer__button:hover,
.registration-offer__button:focus {
    background: #E72E31;
    color: #FFFFFF !important;
}

@media (max-width: 1399px) {
    .registration-offer {
        min-height: 381px;
    }

    .registration-offer::before {
        right: 90px;
        width: 430px;
        height: 430px;
    }
}

@media (max-width: 1299px) {
    .registration-offer {
        min-height: 331px;
    }

    .registration-offer::before {
        right: 70px;
        width: 420px;
        height: 420px;
    }
}

@media (max-width: 991px) {
    .registration-offer {
        min-height: 331px;
        padding: 30px;
        gap: 54px;
    }

    .registration-offer::before {
        top: 39px;
        right: 35px;
        width: 250px;
        height: 313px;
    }

    .registration-offer__content {
        max-width: 520px;
    }

    .registration-offer__title {
        font-size: 40px;
    }

    .registration-offer__text {
        max-width: 510px;
        font-size: 24px;
    }

    .registration-offer__button {
        width: 100%;
    }

    .registration-offer__actions {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .registration-offer {
        min-height: 705px;
        padding: 313px 20px 20px;
        gap: 54px;
    }

    .registration-offer::before {
        top: 31px;
        left: 50%;
        right: auto;
        width: 362px;
        height: 270px;
        transform: translateX(-50%);
    }

    .registration-offer__content {
        max-width: none;
        gap: 20px;
    }

    .registration-offer__title {
        font-size: 36px;
    }

    .registration-offer__text {
        max-width: 100%;
    }

    .registration-offer__actions {
        width: 100%;
        flex-direction: column;
        gap: 20px;
    }

    .registration-offer__button {
        width: 100%;
    }
}

@media (max-width: 567px) {
    .registration-offer__title {
        font-size: 26px;
    }

    .registration-offer__text {
        font-size: 22px;
    }

    .registration-offer__button {
        font-size: 22px;
    }

    .registration-offer {
        min-height: 100%;
        padding: 300px 10px 10px;
        gap: 50px;
    }

    .registration-offer::before {
        top: 18px;
        width: 253px;
        height: 260px;
    }

    .registration-offer {
        justify-content: flex-end;
    }
}
