<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>域名已迁移 - tokenn.online</title>
    <style>
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            text-align: center;
            padding: 60px 20px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .container {
            max-width: 600px;
            width: 100%;
            background: rgba(255,255,255,0.1);
            padding: 50px 40px;
            border-radius: 16px;
            backdrop-filter: blur(10px);
            box-shadow: 0 8px 32px rgba(0,0,0,0.1);
        }
        h1 {
            font-size: 2.5em;
            margin-bottom: 20px;
            font-weight: 700;
        }
        .subtitle {
            font-size: 1.1em;
            opacity: 0.9;
            margin-bottom: 10px;
        }
        .new-domain {
            font-size: 1.8em;
            font-weight: 600;
            margin: 20px 0;
            padding: 15px;
            background: rgba(255,255,255,0.2);
            border-radius: 8px;
        }
        .countdown {
            font-size: 4em;
            font-weight: bold;
            margin: 40px 0 20px;
            color: #ffd700;
        }
        .info {
            font-size: 1.1em;
            opacity: 0.95;
        }
        a {
            color: #ffd700;
            text-decoration: none;
            font-weight: 600;
            border-bottom: 2px solid #ffd700;
            padding-bottom: 2px;
            transition: all 0.3s;
        }
        a:hover {
            opacity: 0.8;
            padding-bottom: 4px;
        }
        @media (max-width: 600px) {
            h1 { font-size: 2em; }
            .new-domain { font-size: 1.4em; }
            .countdown { font-size: 3em; }
        }
    </style>
</head>
<body>
    <div class="container">
        <h1>🚀 域名已迁移</h1>
        <p class="subtitle">我们的服务已迁移至新域名</p>
        <div class="new-domain">tokenn.online</div>
        <div class="countdown" id="timer">5</div>
        <p class="info">秒后自动跳转，或 <a href="https://tokenn.online" id="link">立即访问</a></p>
    </div>
    <script>
        let count = 5;
        const timer = document.getElementById("timer");
        const link = document.getElementById("link");
        const currentPath = window.location.pathname + window.location.search + window.location.hash;
        const target = "https://tokenn.online" + currentPath;
        link.href = target;

        const countdown = setInterval(() => {
            count--;
            timer.textContent = count;
            if (count <= 0) {
                clearInterval(countdown);
                window.location.href = target;
            }
        }, 1000);
    </script>
</body>
</html>