/* ── Root variables ── */
:root {
    --gl-bg: #FFF5F0;
}

body, #app {
    background-color: var(--gl-bg) !important;
}

.gl-background {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #FFF5F0 0%, #FFF0E6 50%, #FFE8D9 100%);
    pointer-events: none;
    z-index: 0;
}

.gl-shape {
    position: absolute;
    border-radius: 50%;
}

.gl-shape-1 {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, #E84E1B, #D04317);
    top: calc(50% - 260px);
    left: calc(50% - 240px);
    animation: gl-drift1 8s ease-in-out infinite alternate;
    opacity: 0.5;
}

.gl-shape-2 {
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, #E84E1B, #FF6B3D);
    bottom: calc(50% - 220px);
    right: calc(50% - 220px);
    animation: gl-drift2 9s ease-in-out infinite alternate;
    opacity: 0.45;
}

.gl-shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #FF8C5A, #FFB399);
    bottom: calc(50% - 320px);
    left: calc(50% + 60px);
    opacity: 0.4;
    animation: gl-drift3 11s ease-in-out infinite alternate;
}

@keyframes gl-drift1 {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(30px, 20px) scale(1.05);
    }
}

@keyframes gl-drift2 {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(-20px, -30px) scale(1.08);
    }
}

@keyframes gl-drift3 {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(15px, 25px) scale(0.95);
    }
}

/* ── Card ── */
.gl-card {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 360px;
    padding: 52px 40px 44px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 60px rgba(232, 78, 27, 0.1);
    text-align: center;
    animation: gl-fadeUp 0.65s cubic-bezier(.22,.68,0,1.2) forwards;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

@keyframes gl-fadeUp {
    from {
        opacity: 0;
        transform: translate(-50%, calc(-50% + 30px)) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.gl-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 24px;
    display: block;
}

.gl-404 {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -2px;
    color: #D04317;
    margin-bottom: 8px;
}

.gl-eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(43, 43, 43, 0.6);
    margin-bottom: 16px;
}

.gl-card h2 {
    font-size: 1.65rem;
    font-weight: 700;
    color: #D04317;
    letter-spacing: -0.3px;
    margin-bottom: 8px;
}

.gl-card > p {
    font-size: 0.82rem;
    color: rgba(43, 43, 43, 0.8);
    line-height: 1.6;
    margin-bottom: 36px;
}

/* ── Action buttons ── */
.gl-actions {
    display: flex;
    gap: 10px;
}

.gl-btn-primary {
    flex: 1;
    height: 52px;
    background: #ffffff;
    color: #2B2B2B;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.18s, box-shadow 0.18s;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.gl-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    color: #2B2B2B;
    text-decoration: none;
}

.gl-btn-primary:active {
    transform: translateY(0);
}

.gl-btn-secondary {
    flex: 1;
    height: 52px;
    background: rgba(232, 78, 27, 0.1);
    color: #D04317;
    border: 1.5px solid rgba(232, 78, 27, 0.2);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s, border-color 0.2s, transform 0.18s;
}

.gl-btn-secondary:hover {
    background: rgba(232, 78, 27, 0.15);
    border-color: rgba(232, 78, 27, 0.3);
    transform: translateY(-2px);
    color: #D04317;
}

.gl-btn-secondary:active {
    transform: translateY(0);
}

/* ── Divider ── */
.gl-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 28px 0 0;
}

.gl-divider span {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.gl-divider p {
    font-size: 0.7rem;
    color: rgba(43, 43, 43, 0.6);
    white-space: nowrap;
}

