/* ============================================================
   Claritas Academics — 404 Error Page Styles
   ============================================================ */

body.error-page {
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

body.error-page::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

body.error-page::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(15, 76, 117, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
}

.error-container {
    text-align: center;
    padding: 3rem 2rem;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.error-container .logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 2px;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.error-container .logo-image {
    height: 60px;
    width: auto;
    display: block;
}

.error-code {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 300;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    opacity: 0.9;
}

.error-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.error-message {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.action-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    letter-spacing: 1px;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(15, 76, 117, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-secondary:hover {
    background: var(--accent);
    color: white;
    transform: scale(1.05);
}

.helpful-links {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.helpful-links h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.links-grid {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.link-item {
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.link-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    color: var(--accent);
}

@media (max-width: 768px) {
    .error-container {
        padding: 2rem 1.5rem;
    }
}
