:root {
    --gapi-green: #74A05D;
    --gapi-green-dark: #5a8a45;
    --gapi-dark: #1e1e1e;
    --muted: #6b7280;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

.error-page {
    font-family: 'Outfit', system-ui, sans-serif;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(ellipse 70% 50% at 100% 0%, rgba(116, 160, 93, 0.18), transparent 55%),
        radial-gradient(ellipse 50% 40% at 0% 100%, rgba(116, 160, 93, 0.1), transparent 50%),
        #f4f6f3;
    color: var(--gapi-dark);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.error-card {
    background: #fff;
    border-radius: 20px;
    padding: 48px 36px;
    text-align: center;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 1px 2px rgba(30, 30, 30, 0.04), 0 16px 40px rgba(30, 30, 30, 0.06);
}

.error-brand {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    border-radius: 14px;
    background: var(--gapi-green);
    color: #fff;
    font-weight: 700;
    font-size: 1.35rem;
    display: grid;
    place-items: center;
}

.error-code {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--gapi-green);
    letter-spacing: -0.04em;
    margin-bottom: 8px;
}

.error-card h1 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.error-text {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 28px;
}

.error-text:last-child {
    margin-bottom: 0;
}

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

.btn-primary,
.btn-ghost,
.error-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: opacity 0.15s, background 0.15s;
    font-family: inherit;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gapi-green);
    color: #fff;
}

.btn-primary:hover { background: var(--gapi-green-dark); }

.btn-ghost {
    background: #eef2eb;
    color: var(--gapi-dark);
}

.btn-ghost:hover { background: #e2e9de; }
