.error-page {
    min-height: calc(100vh - 320px);
    padding: 150px 16px 96px;
    background:
        radial-gradient(circle at 18% 22%, rgba(0, 125, 65, 0.08), transparent 34%),
        radial-gradient(circle at 84% 74%, rgba(193, 39, 45, 0.08), transparent 30%),
        #f8fafc;
}

.error-page__panel {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 56px 40px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
    text-align: center;
}

.error-page__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 24px;
    border-radius: 50%;
    background: rgba(0, 125, 65, 0.1);
    color: #007d41;
    font-size: 32px;
}

.error-page h1 {
    margin: 0 0 18px;
    color: #0f172a;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.35;
}

.error-page p {
    margin: 0;
    color: #64748b;
    font-size: 18px;
    line-height: 1.8;
}

.error-page__actions {
    margin-top: 34px;
}

.error-page__home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 148px;
    min-height: 48px;
    padding: 12px 28px;
    border-radius: 999px;
    background: #007d41;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(0, 125, 65, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.error-page__home:hover,
.error-page__home:focus {
    background: #005a30;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0, 125, 65, 0.28);
}

@media (max-width: 767.98px) {
    .error-page {
        min-height: calc(100vh - 420px);
        padding: 124px 16px 72px;
    }

    .error-page__panel {
        padding: 40px 24px;
        border-radius: 18px;
    }

    .error-page__icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
        font-size: 26px;
    }

    .error-page h1 {
        font-size: 26px;
    }

    .error-page p {
        font-size: 16px;
    }
}
