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

html, body {
    height: 100%;
    font-family: Segoe UI, sans-serif;
}

/* ══════════════════════════════════════
   Full-page error layout
══════════════════════════════════════ */

.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #07193d, #0c2b66, #09142c);
    position: relative;
    overflow: hidden;
}

.error-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23dca84d' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Decorative blobs */

.error-deco,
.error-deco-2 {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    background: #dca84d;
}

.error-deco {
    width: 520px;
    height: 520px;
    top: -200px;
    right: -200px;
    opacity: .07;
}

.error-deco-2 {
    width: 360px;
    height: 360px;
    bottom: -120px;
    left: -160px;
    background: #ffd76d;
    opacity: .05;
}

/* ══════════════════════════════════════
   Card content
══════════════════════════════════════ */

.error-card {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding: 64px 48px;
    max-width: 620px;
    width: 90%;
}

.error-logo {
    width: 64px;
    margin-bottom: 32px;
    opacity: .9;
}

.error-code {
    font-size: clamp(5rem, 15vw, 9rem);
    font-weight: 900;
    line-height: 1;
    color: #ffd76d;
    text-shadow: 0 0 80px rgba(255, 215, 109, 0.25);
    letter-spacing: -4px;
}

.error-divider {
    width: 56px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #dca84d, #ffd76d);
    margin: 20px auto;
}

.error-title {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: .3px;
}

.error-desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: .98rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

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

/* ── Buttons ── */

.btn-error-primary {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 30px;
    background: linear-gradient(135deg, #dca84d, #ffd76d);
    color: #0a1f45;
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    transition: transform .25s, box-shadow .25s;
}

.btn-error-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 168, 77, .4);
    text-decoration: none;
}

.btn-error-ghost {
    display: inline-block;
    padding: 11px 26px;
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    transition: border-color .25s, color .25s, transform .25s;
}

.btn-error-ghost:hover {
    border-color: #ffd76d;
    color: #ffd76d;
    transform: translateY(-2px);
    text-decoration: none;
}

/* ══════════════════════════════════════
   WIP  (work-in-progress)  section
   — sits inside base.html layout
══════════════════════════════════════ */

.wip-section {
    margin-top: 60px;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    background: #eef2f8;
}

.wip-card {
    text-align: center;
    max-width: 560px;
    width: 100%;
}

.wip-icon-wrap {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, #07193d, #0c2b66);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    box-shadow: 0 8px 32px rgba(7, 25, 61, .18);
}

.wip-icon-wrap i {
    color: #ffd76d;
    width: 40px;
    height: 40px;
}

.wip-icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.wip-tag {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #dca84d;
    background: rgba(220, 168, 77, .12);
    border: 1px solid rgba(220, 168, 77, .35);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.wip-card h1 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 700;
    color: #07193d;
    line-height: 1.2;
    margin-bottom: 16px;
}

.wip-card h1 em {
    font-style: normal;
    color: #dca84d;
}

.wip-card p {
    color: #5a6a82;
    font-size: .97rem;
    line-height: 1.7;
    margin-bottom: 36px;
}

.wip-divider {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, #dca84d, #ffd76d);
    border-radius: 2px;
    margin: 0 auto 28px;
}

/* Progress bar */

.wip-progress {
    background: #d8e1ee;
    border-radius: 20px;
    height: 6px;
    overflow: hidden;
    margin-bottom: 36px;
    position: relative;
}

.wip-progress-bar {
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(90deg, #dca84d, #ffd76d);
    width: 45%;
    animation: wip-shimmer 2s ease-in-out infinite alternate;
}

@keyframes wip-shimmer {
    from { opacity: .7; }
    to   { opacity: 1; }
}

.wip-progress-label {
    font-size: .78rem;
    color: #8a98ad;
    margin-bottom: 36px;
    margin-top: -28px;
    text-align: right;
    padding-right: 4px;
}

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