<!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>
<style>
  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Microsoft YaHei UI', Arial, sans-serif;
    background: #fff; color: #666;
    display: flex; align-items: center; justify-content: center;
    min-height: 100vh; text-align: center;
  }
  .c-404 { padding: 48px 20px; }
  .c-404 img { width: min(560px, 86vw); height: auto; }
  .c-404 .c-text { margin-top: 40px; font-size: 18px; line-height: 2; }
  .c-404 .c-jump { margin-top: 8px; font-size: 14px; color: #999; }
  .c-404 .c-jump span { color: #11467f; font-weight: 600; }
  .c-404 .c-btn {
    display: inline-block; margin-top: 28px; padding: 10px 38px;
    background: #11467f; color: #fff; border-radius: 999px;
    text-decoration: none; font-size: 15px; transition: background .25s;
  }
  .c-404 .c-btn:hover { background: #0d3560; }
</style>
</head>
<body>
<div class="c-404">
  <img src="/public/static/modules/cms/images/404.png" alt="404">
  <div class="c-text">很抱歉！您访问的页面出错了！</div>
  <div class="c-jump"><span id="sec">3</span>秒后跳转到首页...</div>
  <a class="c-btn" href="/">返回首页</a>
</div>
<script>
(function () {
  var n = 3, el = document.getElementById('sec');
  var t = setInterval(function () {
    n--;
    if (n <= 0) { clearInterval(t); location.href = '/'; return; }
    el.textContent = n;
  }, 1000);
})();
</script>
</body>
</html>
