<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>网站维护中</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Microsoft YaHei", sans-serif;
        }

        body {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            color: #333;
            text-align: center;
            padding: 20px;
        }

        .container {
            max-width: 600px;
            width: 100%;
        }

        .icon {
            font-size: 80px;
            color: #409eff;
            margin-bottom: 20px;
        }

        h1 {
            font-size: 32px;
            margin-bottom: 15px;
            color: #222;
        }

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

        .countdown {
            display: inline-block;
            padding: 12px 24px;
            background: #409eff;
            color: #fff;
            border-radius: 50px;
            font-size: 18px;
            margin-bottom: 40px;
        }

        .tips {
            font-size: 14px;
            color: #888;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="icon">🔧</div>
        <h1>网站正在维护升级中</h1>
        <p>为了给您带来更好的使用体验，我们正在对系统进行维护升级，暂时无法访问。</p>
        
        <div class="countdown" id="countdown">预计恢复时间：2025-12-31 18:00</div>
        
        <div class="tips">
            给您带来不便，敬请谅解！<br>
            维护完成后我们将第一时间恢复服务，感谢您的耐心等待。
        </div>
    </div>

    <script>
        // 你可以在这里修改预计恢复时间
        const recoverTime = new Date("2025-12-31 18:00:00").getTime();

        function updateCountdown() {
            const now = new Date().getTime();
            const distance = recoverTime - now;

            if (distance < 0) {
                document.getElementById("countdown").innerText = "维护已完成，即将恢复访问！";
                return;
            }

            const hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
            const minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
            const seconds = Math.floor((distance % (1000 * 60)) / 1000);

            document.getElementById("countdown").innerText = 
                `预计恢复：${hours}小时 ${minutes}分 ${seconds}秒`;
        }

        setInterval(updateCountdown, 1000);
        updateCountdown();
    </script>
</body>
</html>