.error-page {
    min-height: calc(100vh - 280px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 80px;
    background: linear-gradient(160deg, #faf7fc 0%, #f3ebf8 45%, #fff9e8 100%);
}

[data-theme="dark"] .error-page {
    background: linear-gradient(160deg, #1a0f20 0%, #2a1a33 50%, #1f1528 100%);
}

.error-card {
    max-width: 560px;
    width: 100%;
    text-align: center;
    background: #fff;
    border-radius: 24px;
    padding: 48px 36px 40px;
    box-shadow: 0 20px 50px rgba(61, 30, 74, 0.12);
    border: 1px solid rgba(61, 30, 74, 0.08);
}

[data-theme="dark"] .error-card {
    background: #2a1a33;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.error-code {
    font-size: clamp(4rem, 12vw, 6.5rem);
    font-weight: 800;
    line-height: 1;
    margin: 0;
    background: linear-gradient(135deg, #7b3f9e 0%, #FABB0E 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.error-card h2 {
    font-size: clamp(1.25rem, 3vw, 1.65rem);
    font-weight: 700;
    margin: 12px 0 14px;
    color: #3D1E4A !important;
}

[data-theme="dark"] .error-card h2 {
    color: #FABB0E !important;
}

.error-card p {
    font-size: 1rem;
    line-height: 1.65;
    color: #5c4a66 !important;
    margin-bottom: 28px;
}

[data-theme="dark"] .error-card p {
    color: #d4b3e3 !important;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.error-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(250, 187, 14, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7b3f9e;
    font-size: 1.6rem;
}
