:root {
    --error-gradient: linear-gradient(135deg, var(--color-dark-blue), var(--color-navy));
}
html, body {
    height: 100%;
}
body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
.animated-bg {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 0;
    pointer-events: none;
}
.bodySectionsNavy {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--error-gradient);
    color: white;
    z-index: 1;
}
.error-content {
    text-align: center;
    padding: 3rem;
    border-radius: 28px;
    box-shadow: 0 12px 48px 0 rgba(0,0,0,0.18), 0 1.5px 8px 0 rgba(0,0,0,0.10);
    border: 2.5px solid rgba(255,255,255,0.18);
    position: relative;
    z-index: 2;
    max-width: 750px;
    width: 90%;
}
.error-icon {
    font-size: 6rem;
    color: var(--color-teal);
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}
.error-code {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--color-teal), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    line-height: 1;
}
.error-message {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}
.error-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}
.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.action-button {
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(.4,2,.6,1);
    min-width: 160px;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.08);
}
.btn-primary {
    background: var(--color-teal);
    border: none;
}
.btn-primary:hover {
    background: #fff;
    color: var(--color-navy);
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 4px 16px 0 rgba(0,0,0,0.12);
}
.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 4px 16px 0 rgba(0,0,0,0.12);
}
#redirect-message {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 576px) {
    .error-content {
        padding: 2rem 1rem;
    }
    .error-code {
        font-size: 4rem;
    }
    .error-message {
        font-size: 1.5rem;
    }
    .action-button {
        width: 100%;
    }
} 