from zipfile import ZipFile import os
site_folder = "/mnt/data/ryan_zurith_site" os.makedirs(site_folder, exist_ok=True)
html_content = """
<title>Ryan Zurith</title> <style> body { background: linear-gradient(135deg, #2e3b4e, #3b4f71); font-family: 'Arial', sans-serif; color: white; overflow-x: hidden; } .card {
background: #1f2937;
border-radius: 12px;
padding: 24px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
transform: scale(1.03);
box-shadow: 0 10px 30px rgba(0, 204, 255, 0.4);
}
iframe {
width: 100%;
height: 500px;
border-radius: 12px;
border: none;
}
.fullscreen-button {
background: #00c2cb;
color: white;
font-weight: bold;
padding: 10px 16px;
border-radius: 6px;
margin-top: 10px;
cursor: pointer;
transition: background 0.3s ease;
}
.fullscreen-button:hover {
background: #009f9f;
}
.footer {
background-color: #1a202c;
padding: 20px;
text-align: center;
margin-top: 40px;
border-radius: 10px;
}
</style>
Explore os Mapas de Subway Surfers
<!-- Zurich (sem ads) -->
<div class="card">
<h2 class="text-4xl font-semibold text-cyan-400 mb-4">Zurich</h2>
<p class="text-lg mb-4">Explore a cidade de Zurich no Subway Surfers!</p>
<iframe id="zurichGame" src="https://ad-freegames.github.io/subway-surfers/zurich.html" allowfullscreen></iframe>
<button class="fullscreen-button" onclick="openFullscreen('zurichGame')">Tela Cheia</button>
</div>
<!-- Tokyo -->
<div class="card">
<h2 class="text-4xl font-semibold text-cyan-400 mb-4">Tóquio</h2>
<p class="text-lg mb-4">Desafie-se nas ruas de Tóquio!</p>
<iframe id="tokyoGame" src="https://ad-freegames.github.io/subway-surfers/tokyo.html" allowfullscreen></iframe>
<button class="fullscreen-button" onclick="openFullscreen('tokyoGame')">Tela Cheia</button>
</div>
</div>
</main>
<footer class="footer">
<p class="text-gray-400">© 2025 Ryan Zurith. Todos os direitos reservados.</p>
</footer>
<script>
function openFullscreen(id) {
const iframe = document.getElementById(id);
if (iframe.requestFullscreen) {
iframe.requestFullscreen();
} else if (iframe.webkitRequestFullscreen) {
iframe.webkitRequestFullscreen();
} else if (iframe.msRequestFullscreen) {
iframe.msRequestFullscreen();
}
}
</script>
html_file_path = os.path.join(site_folder, "index.html") with open(html_file_path, "w", encoding="utf-8") as f: f.write(html_content)
zip_path = "/mnt/data/ryan_zurith_site.zip" with ZipFile(zip_path, "w") as zipf: zipf.write(html_file_path, arcname="index.html")
zip_path