<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Error</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
            color: #2d3748;
        }
        
        .error-container {
            max-width: 700px;
            width: 100%;
            text-align: center;
            padding: 40px;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 20px;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
            backdrop-filter: blur(10px);
            animation: fadeIn 0.8s ease-out;
        }
        
        .error-header {
            margin-bottom: 30px;
        }
        
        .primary-code {
            font-size: 120px;
            font-weight: 800;
            line-height: 1;
            margin-bottom: 5px;
            background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            opacity: 0.9;
            position: relative;
            display: inline-block;
            animation: pulse 3s infinite ease-in-out;
        }
        
        .secondary-code {
            font-size: 24px;
            font-weight: 600;
            color: #718096;
            background: rgba(113, 128, 150, 0.1);
            padding: 8px 20px;
            border-radius: 50px;
            display: inline-block;
            margin-top: 10px;
        }
        
        .error-icon {
            margin: 30px auto;
            width: 100px;
            height: 100px;
            position: relative;
        }
        
        .error-icon::before,
        .error-icon::after {
            content: '';
            position: absolute;
            background: #667eea;
            border-radius: 3px;
        }
        
        .error-icon::before {
            width: 70px;
            height: 10px;
            top: 45px;
            left: 15px;
            transform: rotate(45deg);
            background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
        }
        
        .error-icon::after {
            width: 70px;
            height: 10px;
            top: 45px;
            left: 15px;
            transform: rotate(-45deg);
            background: linear-gradient(90deg, #764ba2 0%, #667eea 100%);
        }
        
        .error-message {
            font-size: 24px;
            line-height: 1.4;
            margin: 25px 0;
            color: #4a5568;
            font-weight: 500;
        }
        
        .error-details {
            background: rgba(102, 126, 234, 0.1);
            padding: 20px;
            border-radius: 12px;
            margin-top: 30px;
            border-left: 4px solid #667eea;
            text-align: left;
        }
        
        .error-details p {
            font-size: 16px;
            color: #4a5568;
            line-height: 1.6;
            margin-bottom: 10px;
        }
        
        .error-details ul {
            padding-left: 20px;
            margin-top: 10px;
        }
        
        .error-details li {
            margin-bottom: 8px;
            color: #4a5568;
        }
        
        /* 动画效果 */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes pulse {
            0% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
            100% {
                transform: scale(1);
            }
        }
        
        /* 响应式设计 */
        @media (max-width: 600px) {
            .error-container {
                padding: 30px 20px;
            }
            
            .primary-code {
                font-size: 80px;
            }
            
            .secondary-code {
                font-size: 18px;
            }
            
            .error-message {
                font-size: 20px;
            }
            
            .error-icon {
                width: 80px;
                height: 80px;
            }
            
            .error-icon::before,
            .error-icon::after {
                height: 8px;
            }
            
            .error-icon::before {
                width: 60px;
                top: 36px;
                left: 10px;
            }
            
            .error-icon::after {
                width: 60px;
                top: 36px;
                left: 10px;
            }
        }
    </style>
</head>
<body>
    <div class="error-container">
        <div class="error-header">
            <div class="primary-code">404</div>
            <!-- <div class="secondary-code">ERR_BUSINESS_002</div>-->
        </div>
        
        <div class="error-icon"></div>
        
        <div class="error-message">Page Not Found</div>
        
        <!-- <div class="error-details">
            <p>错误详情：</p>
            <ul>
                <li>主错误码: 404 - 页面未找到</li>
                <li>二级错误码: ERR_BUSINESS_002 - 商品库存不足</li>
                <li>时间: 2023-11-05 14:30:25</li>
                <li>请求ID: req_89f72a6c5d</li>
            </ul>
        </div> -->
    </div>

    <script>
        // 简单的交互效果
        document.addEventListener('DOMContentLoaded', function() {
            const errorContainer = document.querySelector('.error-container');
            
            // 添加鼠标悬停效果
            errorContainer.addEventListener('mouseover', function() {
                this.style.transform = 'translateY(-5px)';
                this.style.transition = 'transform 0.3s ease';
            });
            
            errorContainer.addEventListener('mouseout', function() {
                this.style.transform = 'translateY(0)';
            });
            
            // 动态更新时间
            const timeElement = document.querySelector('.error-details li:nth-child(3)');
            if (timeElement) {
                const now = new Date();
                const formattedTime = now.toLocaleString('zh-CN');
                timeElement.textContent = '时间: ' + formattedTime;
            }
        });
    </script>
</body>
</html>