/* Error Pages */

.error-page {
    background: linear-gradient(135deg, #fbf7ef 0%, #f6eefc 45%, #fffaf2 100%);
    min-height: 70vh;
}

.error-hero {
    max-width: 980px;
    margin: 0 auto;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.error-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(117, 68, 150, 0.16);
    border-radius: 24px;
    padding: 48px 36px;
    max-width: 720px;
    text-align: center;
    box-shadow: 0 18px 48px rgba(76, 45, 105, 0.14);
}

.error-code {
    display: inline-block;
    margin: 0 0 18px;
    padding: 8px 18px;
    border-radius: 999px;
    background: #f2e5ff;
    color: #6d3d91;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.error-card h1 {
    margin: 0 0 18px;
    color: #3f2455;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.1;
}

.error-card p {
    margin: 0 auto 28px;
    max-width: 600px;
    color: #5f5268;
    font-size: 1.08rem;
    line-height: 1.7;
}

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

.error-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.error-button:hover {
    transform: translateY(-2px);
}

.error-button.primary {
    background: #6d3d91;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(109, 61, 145, 0.22);
}

.error-button.primary:hover {
    background: #573073;
}

.error-button.secondary {
    background: #ffffff;
    color: #6d3d91;
    border: 1px solid rgba(109, 61, 145, 0.22);
}

.error-button.secondary:hover {
    background: #f7efff;
}

@media (max-width: 640px) {
    .error-hero {
        padding: 56px 16px;
    }

    .error-card {
        padding: 36px 22px;
        border-radius: 20px;
    }

    .error-actions {
        flex-direction: column;
    }

    .error-button {
        width: 100%;
    }
}