<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Error 404</title>
    <style>
        /* 全局重置 */
        * { margin: 0; padding: 0; box-sizing: border-box; }

        /* 【关键修改】背景图必须设置在 body 上 */
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            
            /* 这里填写你的背景图路径，建议用绝对路径 */
            background: url("/error-assets/sn-error.png") no-repeat center center fixed; 
            
            /* 确保背景图覆盖全屏 */
            background-size: cover; 
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #333;
        }

        /* 弹窗卡片样式 - 保持纯白 */
        .error-card {
            background: #ffffff; /* 强制设为白色 */
            width: 90%;
            max-width: 500px;
            padding: 60px 40px;
            border-radius: 20px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.1); /* 增加阴影让它浮起来 */
            text-align: center;
            position: relative;
        }

        /* 错误码大标题 */
        .error-code {
            font-size: 80px;
            font-weight: 800;
            /* 使用渐变色文字，呼应之前的紫色风格 */
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            line-height: 1;
            margin-bottom: 20px;
        }

        /* 提示文字 */
        h2 {
            font-size: 24px;
            margin-bottom: 15px;
            color: #2d3748;
        }

        p {
            color: #718096;
            line-height: 1.6;
            margin-bottom: 30px;
            font-size: 16px;
        }

        /* 按钮样式 */
        .btn-home {
            display: inline-block;
            padding: 12px 30px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .btn-home:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(118, 75, 162, 0.3);
        }
        

    </style>
</head>
<body>
    <div class="error-card">
        <!-- 动态显示状态码 -->
        <div class="error-code">404</div>
        <h2>Oops! Something went wrong</h2>
        <p>We encountered an unexpected error while processing your request.<br>Please try again later, or return to the homepage.</p>
        <a href="/" class="btn-home">← Back to Home</a>
    </div>
</body>
</html>