/* =====================================================
   404 PAGE - New Yorker × Gotham City Style
   Dark, Elegant, Mysterious, Premium
   ===================================================== */

.erc-404 {
     background: linear-gradient(rgba(15,20,25,0.85), rgba(15,20,25,0.9)), url('https://erciran.ir/wp-content/uploads/2026/05/car-4.webp') center/cover no-repeat;
    padding-block: var(--space-7);
    min-height: 100vh;
    min-width:100vw;
    color: var(--text-primary);
    display: flex;
    flex-direction:column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top:0;
    left:0;
    overflow: hidden;
    font-family: var(--font-base);
    z-index:99999;
}

 
/*.erc-404::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    inset: 0;*/
/*    background-image: */
/*        linear-gradient(rgba(8, 130, 203, 0.03) 1px, transparent 1px),*/
/*        linear-gradient(90deg, rgba(8, 130, 203, 0.03) 1px, transparent 1px);*/
/*    background-size: 60px 60px;*/
/*    pointer-events: none;*/
/*    z-index: 1;*/
/*}*/


.erc-404__title {
    font-size: clamp(8rem, 18vw, 16rem);
    font-weight: 700;
    line-height: 0.75;
    letter-spacing: -0.05em;
    color: transparent;
    -webkit-text-stroke: 3px var(--brand-blue);
    text-shadow: 0 0 60px rgba(8, 130, 203, 0.3);
    margin: 0 0 var(--space-3) 0;
    user-select: none;
}

.erc-404__subtitle {
    font-size: var(--fs-2);
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
    line-height: 1.5;
}

.erc-404__message {
    font-size: var(--fs-3);
    max-width: 560px;
    margin: 0 auto var(--space-7);
     color: var(--text-primary);
    text-shadow: 1px 1px 2px blue;
}

.erc-404__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    justify-content: center;
}

.erc-404-btn {
    padding: 1.1rem 2.4rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.erc-404-btn-primary {
    background: var(--brand-blue);
    color: white;
}

.erc-404-btn-primary:hover {
    background: var(--brand-blue-hover);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(8, 130, 203, 0.4);
}

.erc-404-btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-default);
}

.erc-404-btn-secondary:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue);
}

.erc-404__svg {
    width: 180px;
    height: 180px;
    margin: 0 auto var(--space-5);
    opacity: 0.7;
}

.fade-in-up {
    animation: fadeInUp 1.2s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}