<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>404错误 - 页面未找到 - 绥中网</title>
    <link rel="icon" href="/favicon.ico" type="image/x-icon">
    <style>
        :root {
            --primary-color: #0066cc;
            --primary-hover: #f06000;
            --text-color: #333;
            --light-text: #666;
            --border-color: #e0e0e0;
            --bg-color: #fff;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
            font-size: 14px;
            line-height: 1.6;
            color: var(--text-color);
            background-color: var(--bg-color);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        
        .container {
            width: 100%;
            max-width: 800px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* Header */
        .header {
            border-bottom: 1px solid var(--border-color);
            padding: 20px 0;
        }
        
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            height: 50px;
            width: auto;
            max-width: 180px;
            border: 0;
        }
        
        @media (max-width: 480px) {
            .logo {
                height: 40px;
                max-width: 150px;
            }
        }
        
        .home-link {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 500;
            padding: 8px 16px;
            border-radius: 4px;
            transition: all 0.3s ease;
        }
        
        .home-link:hover {
            color: var(--primary-hover);
            background-color: #f5f5f5;
            text-decoration: none;
        }
        
        /* Main Content - 单列布局 */
        .main-content {
            flex: 1;
            padding: 40px 0;
            display: block;
        }
        
        .error-image {
            text-align: center;
            margin-bottom: 30px;
        }
        
        .error-image img {
            max-width: 100%;
            height: auto;
            max-height: 250px;
            display: inline-block;
        }
        
        .error-header {
            text-align: center;
            margin-bottom: 30px;
        }
        
        .error-code {
            display: block;
            font-size: 28px;
            font-weight: 700;
            color: #999;
            margin-bottom: 10px;
            letter-spacing: 2px;
            line-height: 1;
        }
        
        @media (max-width: 480px) {
            .error-code {
                font-size: 24px;
            }
        }
        
        .error-title {
            font-size: 28px;
            color: var(--primary-color);
            margin: 0;
            font-weight: 600;
            line-height: 1.2;
        }
        
        @media (max-width: 480px) {
            .error-title {
                font-size: 24px;
            }
        }
        
        .error-content {
            background-color: #f9f9f9;
            border-radius: 10px;
            padding: 30px;
            margin-bottom: 40px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }
        
        @media (max-width: 480px) {
            .error-content {
                padding: 20px;
            }
        }
        
        .error-info p {
            margin-bottom: 15px;
            color: var(--light-text);
        }
        .error-info p strong {
    color: #ff0000; /* 新增：将这部分文字改为红色 */
}
        .error-reasons {
            margin: 20px 0 25px 20px;
        }
        
        .error-reasons li {
            margin-bottom: 8px;
            position: relative;
            padding-left: 10px;
        }
        
        .error-reasons li:before {
            content: "•";
            color: var(--primary-color);
            font-weight: bold;
            position: absolute;
            left: -10px;
        }
        
        .actions {
            margin: 30px 0;
            text-align: center;
        }
        
        .action-button {
            display: inline-block;
            background-color: var(--primary-color);
            color: white;
            text-decoration: none;
            padding: 12px 24px;
            border-radius: 6px;
            margin: 0 10px 15px;
            font-weight: 500;
            transition: all 0.3s ease;
            border: 2px solid transparent;
            min-width: 160px;
        }
        
        .action-button:hover {
            background-color: var(--primary-hover);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            text-decoration: none;
            color: white;
        }
        
        .action-button.secondary {
            background-color: transparent;
            border-color: var(--border-color);
            color: var(--text-color);
        }
        
        .action-button.secondary:hover {
            border-color: var(--primary-color);
            color: var(--primary-color);
            background-color: transparent;
        }
        
        @media (max-width: 480px) {
            .action-button {
                display: block;
                margin: 0 auto 15px;
                width: 100%;
                max-width: 280px;
            }
        }
        
        .search-section {
            margin: 40px 0;
        }
        
        .search-section h3 {
            font-size: 18px;
            margin-bottom: 15px;
            color: var(--text-color);
            text-align: center;
        }
        
        .search-form {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            max-width: 600px;
            margin: 0 auto;
        }
        
        .search-input {
            flex: 1;
            min-width: 200px;
            padding: 14px 16px;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            font-size: 15px;
            transition: border-color 0.3s ease;
        }
        
        .search-input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
        }
        
        .search-button {
            padding: 14px 30px;
            background-color: var(--primary-color);
            color: white;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.3s ease;
            min-width: 100px;
        }
        
        .search-button:hover {
            background-color: var(--primary-hover);
        }
        
        @media (max-width: 480px) {
            .search-form {
                flex-direction: column;
            }
            
            .search-button {
                width: 100%;
            }
        }
        
        .quick-links {
            margin: 40px 0 0 0;
            text-align: center;
        }
        
        .quick-links h3 {
            font-size: 18px;
            margin-bottom: 15px;
            color: var(--text-color);
        }
        
        .link-grid {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 15px;
            margin-top: 15px;
        }
        
        .link-item {
            display: inline-block;
            padding: 8px 16px;
            background-color: #f0f8ff;
            color: var(--primary-color);
            text-decoration: none;
            border-radius: 4px;
            transition: all 0.3s ease;
        }
        
        .link-item:hover {
            background-color: var(--primary-color);
            color: white;
            text-decoration: none;
        }
        
        /* Skip to content for accessibility */
        .skip-to-content {
            position: absolute;
            top: -40px;
            left: 0;
            background: var(--primary-color);
            color: white;
            padding: 8px;
            z-index: 100;
            text-decoration: none;
        }
        
        .skip-to-content:focus {
            top: 0;
        }
    </style>
</head>
<body>
    <!-- Skip to content link for accessibility -->
    <a href="#main-content" class="skip-to-content">跳转到主要内容</a>
    
    <header class="header" role="banner">
        <div class="container header-content">
            <a href="http://ubwpd.cn/" aria-label="绥中网首页">
                <img src="/tp/image/logo.gif?v=2023" alt="绥中网|绥中信息网" class="logo">
            </a>
            <a href="http://ubwpd.cn/" class="home-link">返回首页</a>
        </div>
    </header>
    
    <main id="main-content" class="main-content" role="main">
        <div class="container">
            
            <!-- 错误内容 -->
            <div class="error-content">
                <div class="error-info">
                    <p><strong>抱歉，您访问的页面不存在或已被移除</strong></p>
                    
                    <ul class="error-reasons">
                        <li>信息已过期或已被删除</li>
                        <li>网址输入错误</li>
                        <li>页面暂时无法访问</li>
                    </ul>
                    
                    <p>绥中网致力于为用户提供最新鲜的本地信息，所有信息仅保留最短时间以确保时效性。</p>
                </div>
                
                <!-- 操作按钮 -->
                <div class="actions">
                    <a href="http://ubwpd.cn/fabu.aspx" class="action-button">免费发布信息</a>
                    <a href="http://ubwpd.cn/" class="action-button secondary">浏览首页</a>
                </div>
            </div>
            
            <!-- 搜索区域 -->
            <div class="search-section">
                <h3>没有找到您需要的信息？</h3>
                <form action="http://ubwpd.cn/classad/" method="get" class="search-form" role="search">
                    <input type="text" 
                           name="key" 
                           class="search-input" 
                           placeholder="输入关键词搜索信息..."
                           aria-label="搜索信息">
                    <input type="hidden" name="lbid" value="0">
                    <input type="hidden" name="abc" value="s">
                    <button type="submit" class="search-button">搜索</button>
                </form>
            </div>
            
            <!-- 快速链接 -->
            <div class="quick-links">
                <h3>快速访问</h3>
                <div class="link-grid">
                    <a href="http://ubwpd.cn/job" class="link-item">绥中招聘</a>
                    <a href="http://ubwpd.cn/house" class="link-item">绥中房产</a>
                    <a href="http://ubwpd.cn/fuwu" class="link-item">生活服务</a>
                    <a href="http://ubwpd.cn/2shou" class="link-item">二手信息</a>
                </div>
            </div>
        </div>
    </main>

    <script>
        // 表单提交优化
        document.addEventListener('DOMContentLoaded', function() {
            const searchForm = document.querySelector('.search-form');
            if (searchForm) {
                searchForm.addEventListener('submit', function(e) {
                    const searchInput = this.querySelector('input[name="key"]');
                    if (!searchInput.value.trim()) {
                        e.preventDefault();
                        searchInput.focus();
                        searchInput.style.borderColor = '#f00';
                        setTimeout(() => {
                            searchInput.style.borderColor = '';
                        }, 2000);
                        return false;
                    }
                });
            }
            
            // 添加加载优化
            const images = document.querySelectorAll('img');
            images.forEach(img => {
                if (img.complete) {
                    img.style.opacity = '1';
                } else {
                    img.style.opacity = '0';
                    img.style.transition = 'opacity 0.3s ease';
                    img.addEventListener('load', function() {
                        this.style.opacity = '1';
                    });
                }
            });
            
            // 移动端优化：调整快速链接间距
            function adjustLinks() {
                const linkGrid = document.querySelector('.link-grid');
                if (window.innerWidth <= 480px && linkGrid) {
                    linkGrid.style.gap = '10px';
                } else if (linkGrid) {
                    linkGrid.style.gap = '15px';
                }
            }
            
            window.addEventListener('resize', adjustLinks);
            adjustLinks();
        });
    </script>
</body>
</html>