/* ========================================
   ERROR 404 PAGE
   ======================================== */

.error-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 60px;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a0a2e 50%, #0a0a1a 100%);
    position: relative;
    overflow: hidden;
}

.error-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(138, 43, 226, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.error-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.error-code {
    font-size: clamp(120px, 20vw, 200px);
    font-weight: 900;
    background: linear-gradient(135deg, #00ffff 0%, #8a2be2 50%, #ff00ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 0 0 80px rgba(0, 255, 255, 0.3);
    animation: glitchCode 3s ease-in-out infinite;
}

@keyframes glitchCode {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(2px, -2px); }
    60% { transform: translate(-2px, -2px); }
    80% { transform: translate(2px, 2px); }
}

.error-title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    color: #00ffff;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.error-message {
    font-size: clamp(16px, 2vw, 18px);
    color: #b8b8d1;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-message strong {
    color: #00ffff;
    font-weight: 600;
}

.error-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 50px 0;
    flex-wrap: wrap;
}

.error-btn {
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
}

.error-btn.btn-primary2 {
    background: linear-gradient(135deg, #00ffff 0%, #8a2be2 100%);
    color: #0a0a1a;
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.error-btn.btn-primary2::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.error-btn.btn-primary2:hover::before {
    left: 100%;
}

.error-btn.btn-primary2:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 255, 255, 0.4);
}

.error-btn.btn-secondary {
    background: transparent;
    color: #00ffff;
    border: 2px solid #00ffff;
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.error-btn.btn-secondary:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 255, 255, 0.2);
}

/* Quick Links */
.quick-links {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.quick-links-title {
    font-size: 20px;
    color: #00ffff;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.quick-link {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    padding: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.quick-link:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: #00ffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.2);
}

.quick-link-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.quick-link-text {
    font-size: 14px;
    color: #b8b8d1;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quick-link:hover .quick-link-text {
    color: #00ffff;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
    .error-container {
        padding: 80px 20px 40px;
    }

    .error-code {
        font-size: 100px;
    }

    .error-title {
        font-size: 20px;
    }

    .error-message {
        font-size: 15px;
    }

    .error-actions {
        flex-direction: column;
        gap: 15px;
    }

    .error-btn {
        width: 100%;
        max-width: 300px;
    }

    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .error-code {
        font-size: 80px;
    }

    .quick-links-grid {
        grid-template-columns: 1fr;
        max-width: 250px;
    }
}