/* ========================================
   MODERN 404 PAGE
   ======================================== */

.modern-404-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.error-404-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Error Animation */
.error-animation {
    margin-bottom: 40px;
}

.error-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 120px;
    font-weight: 900;
    color: #002052;
}

.number-4, .number-0 {
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

.number-4:first-child {
    animation-delay: 0s;
}

.number-0 {
    animation-delay: 0.2s;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #ff5e15 0%, #e54d0a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 60px;
    box-shadow: 0 12px 40px rgba(255, 94, 21, 0.4);
}

.number-4:last-child {
    animation-delay: 0.4s;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Error Content */
.error-title {
    font-size: 48px;
    font-weight: 800;
    color: #002052;
    margin-bottom: 20px;
}

.error-description {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Search Form */
.error-search {
    max-width: 500px;
    margin: 0 auto 40px;
}

.search-form {
    display: flex;
    gap: 12px;
    background: white;
    padding: 8px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.search-input {
    flex: 1;
    border: none;
    padding: 16px 24px;
    font-size: 16px;
    outline: none;
    background: transparent;
}

.search-btn {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #ff5e15 0%, #e54d0a 100%);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.search-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(255, 94, 21, 0.4);
}

/* Action Buttons */
.error-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #ff5e15 0%, #e54d0a 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(255, 94, 21, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 94, 21, 0.5);
    color: white;
}

.btn-secondary {
    background: white;
    color: #002052;
    border: 2px solid #002052;
}

.btn-secondary:hover {
    background: #002052;
    color: white;
    transform: translateY(-3px);
}

/* Quick Links */
.quick-links {
    margin-top: 60px;
}

.quick-links h3 {
    font-size: 24px;
    font-weight: 700;
    color: #002052;
    margin-bottom: 24px;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 700px;
    margin: 0 auto;
}

.quick-link-item {
    background: white;
    padding: 24px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.quick-link-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.quick-link-item i {
    font-size: 32px;
    color: #ff5e15;
    transition: all 0.3s ease;
}

.quick-link-item:hover i {
    transform: scale(1.2);
}

.quick-link-item span {
    font-size: 14px;
    font-weight: 600;
    color: #002052;
    text-align: center;
}

/* Background Animation */
.bg-animation {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    font-size: 40px;
    color: rgba(255, 94, 21, 0.1);
    animation: float 6s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    animation-delay: 1.5s;
}

.floating-icon:nth-child(3) {
    animation-delay: 3s;
}

.floating-icon:nth-child(4) {
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .error-number {
        font-size: 100px;
        gap: 16px;
    }
    
    .number-0 {
        width: 100px;
        height: 100px;
        font-size: 50px;
    }
    
    .error-title {
        font-size: 40px;
    }
    
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .modern-404-section {
        padding: 60px 0;
    }
    
    .error-number {
        font-size: 80px;
        gap: 12px;
    }
    
    .number-0 {
        width: 80px;
        height: 80px;
        font-size: 40px;
    }
    
    .error-title {
        font-size: 32px;
    }
    
    .error-description {
        font-size: 16px;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .error-number {
        font-size: 60px;
        gap: 8px;
    }
    
    .number-0 {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
    
    .error-title {
        font-size: 28px;
    }
    
    .error-description {
        font-size: 14px;
    }
    
    .search-input {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .search-btn {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-link-item {
        padding: 20px;
    }
}
