@charset "UTF-8";
/* 404页面内容 */
.error-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.error-content {
    max-width: 1000px;
    text-align: center;
    padding: 60px 40px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.error-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
}

.error-icon {
    font-size: 120px;
    color: #dc3545;
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
}

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

.error-title {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.error-subtitle {
    font-size: 22px;
    color: #6c757d;
    margin-bottom: 30px;
    line-height: 1.5;
}

.error-message {
    font-size: 16px;
    color: #495057;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

/* 错误代码显示 */
.error-code {
    display: inline-block;
    background-color: #f8f9fa;
    padding: 10px 20px;
    border-radius: 30px;
    font-family: monospace;
    font-size: 18px;
    color: #dc3545;
    border: 1px solid #e1e5e9;
    margin-bottom: 40px;
}

/* 操作按钮区域 */
.error-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.action-btn {
    padding: 15px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    min-width: 180px;
}

.btn-primary {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0052a3 0%, #003d7a 100%);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.btn-secondary {
    background-color: white;
    color: #495057;
    border: 1px solid #e1e5e9;
}

.btn-secondary:hover {
    background-color: #f8f9fa;
    border-color: #0066cc;
    color: #0066cc;
    transform: translateY(-3px);
}

/* 搜索框 */
.error-search {
    max-width: 500px;
    margin: 0 auto 40px;
}

.search-box {
    display: flex;
    width: 100%;
}

.search-box input {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid #e1e5e9;
    border-radius: 6px 0 0 6px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
    background-color: white;
    color: #333;
}

.search-box input:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.search-box button {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: white;
    border: none;
    padding: 0 25px;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 14px;
}

.search-box button:hover {
    background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
}
/* 响应式设计 */
@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
        flex-direction: column;
        align-items: center;
        padding: 20px;
        transition: left 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 12px;
    }
    
    .error-content {
        padding: 40px 20px;
    }
    
    .error-icon {
        font-size: 80px;
    }
    
    .error-title {
        font-size: 36px;
    }
    
    .error-subtitle {
        font-size: 18px;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .error-title {
        font-size: 28px;
    }
    
    .error-subtitle {
        font-size: 16px;
    }
    
    .error-message {
        font-size: 14px;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .search-box input, .search-box button {
        width: 100%;
        border-radius: 6px;
        margin-bottom: 10px;
    }
    
    .search-box button {
        padding: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* 动画效果 */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}