/* ==============================================
   404 ERROR PAGE STYLES - RULE 304 COMPLIANT
   ============================================== */

.error-404-main {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.error-404-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.error-404-content {
    text-align: left;
}

.error-404-number {
    font-size: 8rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.error-404-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.error-404-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 500px;
}

.error-404-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.error-404-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.error-404-primary {
    background-color: var(--secondary-color);
    color: white;
}

.error-404-primary:hover {
    background-color: #e89611;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(248, 158, 24, 0.3);
}

.error-404-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.error-404-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 58, 64, 0.2);
}

.error-404-suggestions {
    border-top: 1px solid #e9ecef;
    padding-top: 1.5rem;
}

.error-404-suggestions-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.error-404-suggestions-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.error-404-suggestion-link {
    display: block;
    color: var(--secondary-color);
    text-decoration: none;
    padding: 0.5rem 0;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    padding-left: 0.75rem;
}

.error-404-suggestion-link:hover {
    color: var(--primary-color);
    border-left-color: var(--secondary-color);
    transform: translateX(5px);
}

/* Illustration Section */
.error-404-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 400px;
}

.error-404-icon {
    font-size: 12rem;
    color: var(--secondary-color);
    opacity: 0.3;
    animation: error-404-pulse 2s ease-in-out infinite;
}

.error-404-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.error-404-floating-item {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    opacity: 0.2;
}

.error-404-item-1 {
    top: 20%;
    left: 20%;
    animation: error-404-float-1 3s ease-in-out infinite;
}

.error-404-item-2 {
    top: 60%;
    right: 30%;
    animation: error-404-float-2 4s ease-in-out infinite;
}

.error-404-item-3 {
    bottom: 30%;
    left: 60%;
    animation: error-404-float-3 5s ease-in-out infinite;
}

/* Animations */
@keyframes error-404-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.5;
    }
}

@keyframes error-404-float-1 {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes error-404-float-2 {
    0%, 100% {
        transform: translateX(0px);
    }
    50% {
        transform: translateX(15px);
    }
}

@keyframes error-404-float-3 {
    0%, 100% {
        transform: translate(0px, 0px);
    }
    33% {
        transform: translate(10px, -10px);
    }
    66% {
        transform: translate(-5px, 5px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .error-404-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .error-404-content {
        text-align: center;
    }
    
    .error-404-number {
        font-size: 6rem;
    }
    
    .error-404-title {
        font-size: 2rem;
    }
    
    .error-404-actions {
        justify-content: center;
    }
    
    .error-404-suggestions-list {
        grid-template-columns: 1fr;
    }
    
    .error-404-icon {
        font-size: 8rem;
    }
}

@media (max-width: 480px) {
    .error-404-number {
        font-size: 4rem;
    }
    
    .error-404-title {
        font-size: 1.5rem;
    }
    
    .error-404-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .error-404-button {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}