.not-found {
    background: rgba(252, 245, 252, 1);
    position: relative;
}

.not-found__card {
    width: 100%;
    min-height: 626px;
    border-radius: 40px;
    background: rgba(252, 245, 252, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

.not-found__blur {
    position: absolute;
    width: 600px;
    height: 600px;
    background: rgba(213, 104, 216, 0.10);
    filter: blur(120px);
    border-radius: 50%;
    pointer-events: none;
}

.not-found__blur--top-left {
    top: -200px;
    left: -200px;
}

.not-found__blur--bottom-right {
    bottom: -200px;
    right: -200px;
}

.not-found__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.not-found__image-wrap {
    margin-bottom: 48px;
}

.not-found__image {
    max-width: 480px;
    width: 100%;
    height: auto;
    display: block;
}

.not-found__title {
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 45px;
    line-height: 64px;
    letter-spacing: -0.01em;
    text-align: center;
    color: rgba(141, 42, 143, 1);
    margin-bottom: 24px;
}

.not-found__description {
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 31px;
    letter-spacing: -0.01em;
    text-align: center;
    color: rgba(92, 7, 94, 1);
    max-width: 600px;
    margin: 0 auto 48px;
}

.not-found__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 32px;
    background: linear-gradient(180deg, #C05FC2 0%, #8D2A8F 100%);
    border-radius: 12px;
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 100%;
    color: rgba(255, 255, 255, 1);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
}

.not-found__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(141, 42, 143, 0.3);
}

@media (max-width: 1024px) {
    .not-found__card {
        min-height: 443px;
        border-radius: 30px;
        padding: 48px 0;
        margin-top: 20px;
    }

    .not-found__blur {
        width: 291px;
        height: 291px;
        background: rgba(213, 104, 216, 0.12);
    }

    .not-found__blur--top-left {
        top: -46px;
        left: -18px;
    }

    .not-found__blur--bottom-right {
        width: 381px;
        height: 381px;
        top: 116px;
        right: -93px;
        bottom: auto;
    }

    .not-found__image-wrap {
        margin-bottom: 40px;
    }

    .not-found__image {
        max-width: 387px;
    }

    .not-found__title {
        font-size: 34px;
        line-height: 40px;
        letter-spacing: -0.01em;
        margin-bottom: 15px;
    }

    .not-found__description {
        font-size: 14px;
        line-height: 24px;
        margin-bottom: 20px;
    }

    .not-found__button {
        font-size: 12px;
        padding: 10px 22px;
        border-radius: 8px;
    }
}

@media (max-width: 768px) {
    .not-found__card {
        min-height: auto;
        border-radius: 24px;
        padding: 40px 0;
    }

    .not-found__blur {
        width: 260px;
        height: 260px;
    }

    .not-found__blur--top-left {
        top: -60px;
        left: -60px;
    }

    .not-found__blur--bottom-right {
        width: 320px;
        height: 320px;
        top: auto;
        right: -60px;
        bottom: -60px;
    }

    .not-found__image-wrap {
        margin-bottom: 34px;
    }

    .not-found__image {
        max-width: 320px;
    }

    .not-found__title {
        font-size: 29px;
        line-height: 34px;
        margin-bottom: 15px;
    }

    .not-found__description {
        font-size: 13px;
        line-height: 22px;
        margin-bottom: 20px;
    }

    .not-found__button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    body.error404 {
        background: #FCF5FC;
    }

    body.error404 .header {
        background: #FCF5FC;
    }

    body.error404 .main {
        margin-top: 0;
    }

    body.error404 .cta-button {
        top: 73%;
    }

    body.error404 .footer {
        margin-top: 0;
    }

    .not-found {
        background: #FCF5FC;
        overflow: hidden;
        margin: 0 !important;
        padding-top: 0;
        padding-bottom: 180px;
    }

    .not-found .breadcrumbs-section {
        background: transparent;
        padding: 0;
        margin: 0;
    }

    .not-found .breadcrumbs-section__back {
        margin-left: 20px;
        padding: 24px 0 15px;
    }

    .not-found .container {
        padding-left: 0;
        padding-right: 0;
    }

    .not-found__card {
        border-radius: 0;
        padding: 30px 20px;
        background: transparent;
        overflow: visible;
    }

    .not-found__blur {
        background: rgba(213, 104, 216, 0.18);
        filter: blur(153.2px);
        position: fixed;
    }

    .not-found__blur--top-left {
        width: 241px;
        height: 306px;
        top: -104px;
        left: -102px;
        transform: rotate(12.42deg);
        position: absolute;
    }

    .not-found__blur--bottom-right {
        width: 285px;
        height: 285px;
        top: 289px;
        left: 126px;
        right: auto;
        bottom: auto;
        position: absolute;
    }

    .not-found__blur {
        background: rgba(213, 104, 216, 0.18);
        filter: blur(76.6px);
    }

    .not-found__blur--top-left {
        width: 241px;
        height: 306px;
        top: -104px;
        left: -102px;
        transform: rotate(12.42deg);
    }

    .not-found__blur--bottom-right {
        width: 285px;
        height: 285px;
        top: auto;
        right: auto;
        bottom: auto;
        left: 126px;
        top: 289px;
    }

    .not-found__content {
        gap: 30px;
    }

    .not-found__image-wrap {
        margin-bottom: 0;
    }

    .not-found__image {
        max-width: 261px;
    }

    .not-found__title {
        font-size: 24px;
        line-height: 27px;
        margin-bottom: 0;
    }

    .not-found__description {
        font-size: 12px;
        line-height: 20px;
        letter-spacing: -0.01em;
        margin-bottom: 0;
        max-width: 309px;
    }

    .not-found__button {
        width: 176px;
        max-width: none;
        font-size: 12px;
        padding: 10px 22px;
        border-radius: 8px;
    }
}