<div id="splash-screen" style="position:fixed;top:0;left:0;width:100%;height:100%;background:#0b0e1a;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:9999;transition:opacity 0.5s;">
<div id="splash-logo" style="font-family:sans-serif;color:#a29bfe;font-size:48px;font-weight:700;opacity:0;transform:scale(0.5);transition:all 0.3s;">FormFix Pro</div>
<div id="splash-sub" style="font-family:sans-serif;color:#8b93b0;font-size:16px;margin-top:12px;opacity:0;transition:all 0.3s;">Welcome, Champion. Your arena is ready.</div>
<button id="splash-btn" style="margin-top:24px;padding:12px 32px;background:#6c5ce7;color:#fff;border:none;border-radius:30px;font-size:14px;cursor:pointer;opacity:0;transition:all 0.3s;">Enter the Arena</button>
</div>
<script>
(function(){
const el = document.getElementById('splash-screen');
const logo = document.getElementById('splash-logo');
const sub = document.getElementById('splash-sub');
const btn = document.getElementById('splash-btn');
// 音效:用 Web Audio 模拟低沉的爆炸音
function playBang() {
try {
const ctx = new (window.AudioContext || window.webkitAudioContext)();
const osc = ctx.createOscillator();
const gain = ctx.createGain();
osc.connect(gain);
gain.connect(ctx.destination);
osc.frequency.setValueAtTime(100, ctx.currentTime);
osc.frequency.exponentialRampToValueAtTime(30, ctx.currentTime + 0.3);
gain.gain.setValueAtTime(0.4, ctx.currentTime);
gain.gain.exponentialRampToValueAtTime(0.01, ctx.currentTime + 0.3);
osc.start(ctx.currentTime);
osc.stop(ctx.currentTime + 0.3);
} catch(e){}
}
// 阶段 1:Logo 炸出(0.5秒)
setTimeout(() => {
playBang();
logo.style.opacity = '1';
logo.style.transform = 'scale(1.2)';
setTimeout(() => { logo.style.transform = 'scale(1)'; }, 300);
}, 500);
// 阶段 2:标语浮现(2秒)
setTimeout(() => {
sub.style.opacity = '1';
}, 2000);
// 阶段 3:按钮出现(3秒)
setTimeout(() => {
btn.style.opacity = '1';
}, 3000);
// 阶段 4:点击按钮,入场(5秒后自动消失)
btn.onclick = function() {
el.style.opacity = '0';
setTimeout(() => { el.style.display = 'none';window.location.href = 'https://longjieqimingmedia.cn/downloads/formfix-pro-lifetime-ai-fitness-coach/';}, 500);
};
setTimeout(() => {
if (el.style.display !== 'none') {
el.style.opacity = '0';
setTimeout(() => { el.style.display = 'none'; }, 500);
}
}, 6000);
})();
</script>
<div style="font-family:sans-serif; color:#a29bfe; font-size:14px; margin-top:12px; text-align:center; opacity:0; animation:fadeIn 1s ease 3.5s forwards;">
Price: $20.00 (Lifetime Access)
</div>