.error-wrapper {
    min-height: calc(100vh - var(--header-h));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 60px;
    position: relative;
    background: linear-gradient(135deg, rgba(56, 189, 248, .1) 0%, rgba(14, 165, 233, .05) 100%);
    overflow: hidden;
}

.error-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(56,189,248,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.error-wrapper .page-hero {
    background: transparent;
}

.error-wrapper .page-hero::before {
    display: none;
}

.error-hero {
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.error-hero .hero-content {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.error-hero .hero-title span {
    display: block;
    font-size: clamp(4rem, 10vw, 6rem);
    font-weight: 900;
    line-height: 1;
}

.hero-actions {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .error-wrapper {
        padding-bottom: 40px;
    }

    .error-hero {
        padding: 56px 0 40px;
    }

    .error-hero .hero-title {
        font-size: 1.8rem;
    }

    .error-hero .hero-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .hero-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .error-hero {
        padding: 40px 0 32px;
    }

    .error-hero .hero-title span {
        font-size: 3.2rem;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
}