<?php
// Forçamos o PHP a dizer ao site de destino que somos um navegador comum (Chrome)
$opts = [
    "http" => [
        "method" => "GET",
        "header" => "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36\r\n"
    ]
];
$context = stream_context_create($opts);
?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <style>
        body, html { margin: 0; padding: 0; height: 100%; overflow: hidden; background: #000; }
        iframe { width: 100%; height: 100vh; border: none; }
    </style>
</head>
<body>

    <iframe id="sportsFrame" src="https://resultado.zyx.lat"></iframe>

    <script>
        const frame = document.getElementById('sportsFrame');
        
        function startScroll() {
            // No WebView, precisamos rolar o conteúdo de dentro do iframe
            // Nota: Se o domínio zyx.lat bloquear "Cross-Origin", a rolagem via JS pode falhar.
            setInterval(() => {
                window.scrollBy(0, 1);
                if ((window.innerHeight + window.scrollY) >= document.body.offsetHeight) {
                    window.scrollTo(0, 0);
                }
            }, 50);
        }

        window.onload = startScroll;
    </script>
</body>
</html>
