|
<!DOCTYPE html> |
|
<html lang="en"> |
|
<head> |
|
<meta charset="UTF-8"> |
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|
<title>Slime War - Battle Arena</title> |
|
<script src="https://cdn.tailwindcss.com"></script> |
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> |
|
<style> |
|
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap'); |
|
|
|
.pixel-font { |
|
font-family: 'Press Start 2P', cursive; |
|
} |
|
|
|
.glow { |
|
animation: glow 2s ease-in-out infinite alternate; |
|
} |
|
|
|
@keyframes glow { |
|
from { |
|
text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #00ff00, 0 0 20px #00ff00; |
|
} |
|
to { |
|
text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #00ff00, 0 0 40px #00ff00; |
|
} |
|
} |
|
|
|
.slime-btn { |
|
position: relative; |
|
overflow: hidden; |
|
transition: all 0.3s; |
|
} |
|
|
|
.slime-btn:hover { |
|
transform: scale(1.05); |
|
} |
|
|
|
.slime-btn::after { |
|
content: ''; |
|
position: absolute; |
|
top: -50%; |
|
left: -50%; |
|
width: 200%; |
|
height: 200%; |
|
background: rgba(255, 255, 255, 0.2); |
|
transform: rotate(45deg); |
|
transition: all 0.3s; |
|
opacity: 0; |
|
} |
|
|
|
.slime-btn:hover::after { |
|
opacity: 1; |
|
animation: slime 1.5s infinite; |
|
} |
|
|
|
@keyframes slime { |
|
0% { |
|
transform: rotate(45deg) translate(-30%, -30%); |
|
} |
|
100% { |
|
transform: rotate(45deg) translate(30%, 30%); |
|
} |
|
} |
|
|
|
.bounce { |
|
animation: bounce 2s infinite; |
|
} |
|
|
|
@keyframes bounce { |
|
0%, 100% { |
|
transform: translateY(0); |
|
} |
|
50% { |
|
transform: translateY(-10px); |
|
} |
|
} |
|
</style> |
|
</head> |
|
<body class="bg-gray-900 text-white min-h-screen"> |
|
|
|
<header class="bg-gradient-to-r from-green-900 to-purple-900 py-6 px-4 shadow-lg"> |
|
<div class="container mx-auto flex flex-col md:flex-row justify-between items-center"> |
|
<div class="flex items-center mb-4 md:mb-0"> |
|
<i class="fas fa-ghost text-4xl text-green-400 mr-3 bounce"></i> |
|
<h1 class="text-3xl md:text-4xl font-bold pixel-font glow">SLIME WAR</h1> |
|
</div> |
|
<div class="flex space-x-4"> |
|
<button class="slime-btn bg-green-600 hover:bg-green-700 px-4 py-2 rounded-lg font-bold flex items-center"> |
|
<i class="fas fa-trophy mr-2"></i> Leaderboard |
|
</button> |
|
<button class="slime-btn bg-purple-600 hover:bg-purple-700 px-4 py-2 rounded-lg font-bold flex items-center"> |
|
<i class="fas fa-cog mr-2"></i> Settings |
|
</button> |
|
</div> |
|
</div> |
|
</header> |
|
|
|
|
|
<main class="container mx-auto px-4 py-8"> |
|
|
|
<section class="mb-8 bg-gray-800 bg-opacity-70 rounded-xl p-6 shadow-lg"> |
|
<h2 class="text-2xl font-bold mb-4 text-green-400 pixel-font">Welcome to Slime War!</h2> |
|
<div class="grid grid-cols-1 md:grid-cols-3 gap-6"> |
|
<div class="bg-gray-700 p-4 rounded-lg hover:bg-gray-600 transition-all"> |
|
<h3 class="text-xl font-bold mb-2 text-purple-400 flex items-center"> |
|
<i class="fas fa-gamepad mr-2"></i> Gameplay |
|
</h3> |
|
<p class="text-gray-300">Control your slime army and conquer the battlefield. Merge slimes to create more powerful units!</p> |
|
</div> |
|
<div class="bg-gray-700 p-4 rounded-lg hover:bg-gray-600 transition-all"> |
|
<h3 class="text-xl font-bold mb-2 text-green-400 flex items-center"> |
|
<i class="fas fa-chess-queen mr-2"></i> Strategy |
|
</h3> |
|
<p class="text-gray-300">Plan your moves carefully. The right strategy will lead your slimes to victory!</p> |
|
</div> |
|
<div class="bg-gray-700 p-4 rounded-lg hover:bg-gray-600 transition-all"> |
|
<h3 class="text-xl font-bold mb-2 text-yellow-400 flex items-center"> |
|
<i class="fas fa-medal mr-2"></i> Achievements |
|
</h3> |
|
<p class="text-gray-300">Unlock special rewards and achievements as you progress through the game.</p> |
|
</div> |
|
</div> |
|
</section> |
|
|
|
|
|
<section class="mb-8"> |
|
<div class="relative overflow-hidden rounded-xl shadow-2xl border-4 border-green-500"> |
|
<div class="absolute inset-0 bg-gradient-to-br from-green-900 to-purple-900 opacity-20 z-0"></div> |
|
<div class="relative z-10"> |
|
<iframe |
|
src="https://slime-war.netlify.app/" |
|
class="w-full h-[70vh] border-none" |
|
allowfullscreen> |
|
</iframe> |
|
</div> |
|
</div> |
|
</section> |
|
|
|
|
|
<section class="bg-gray-800 bg-opacity-70 rounded-xl p-6 shadow-lg"> |
|
<h2 class="text-2xl font-bold mb-6 text-center text-purple-400 pixel-font">GAME CONTROLS</h2> |
|
<div class="grid grid-cols-2 md:grid-cols-4 gap-4"> |
|
<div class="bg-gray-700 p-4 rounded-lg text-center"> |
|
<div class="bg-green-600 w-12 h-12 rounded-full flex items-center justify-center mx-auto mb-2"> |
|
<i class="fas fa-mouse-pointer text-xl"></i> |
|
</div> |
|
<h3 class="font-bold">Click</h3> |
|
<p class="text-sm text-gray-300">Select slimes</p> |
|
</div> |
|
<div class="bg-gray-700 p-4 rounded-lg text-center"> |
|
<div class="bg-purple-600 w-12 h-12 rounded-full flex items-center justify-center mx-auto mb-2"> |
|
<i class="fas fa-arrows-alt text-xl"></i> |
|
</div> |
|
<h3 class="font-bold">Drag</h3> |
|
<p class="text-sm text-gray-300">Move slimes</p> |
|
</div> |
|
<div class="bg-gray-700 p-4 rounded-lg text-center"> |
|
<div class="bg-yellow-600 w-12 h-12 rounded-full flex items-center justify-center mx-auto mb-2"> |
|
<i class="fas fa-object-group text-xl"></i> |
|
</div> |
|
<h3 class="font-bold">Merge</h3> |
|
<p class="text-sm text-gray-300">Combine slimes</p> |
|
</div> |
|
<div class="bg-gray-700 p-4 rounded-lg text-center"> |
|
<div class="bg-red-600 w-12 h-12 rounded-full flex items-center justify-center mx-auto mb-2"> |
|
<i class="fas fa-crosshairs text-xl"></i> |
|
</div> |
|
<h3 class="font-bold">Attack</h3> |
|
<p class="text-sm text-gray-300">Target enemies</p> |
|
</div> |
|
</div> |
|
</section> |
|
</main> |
|
|
|
|
|
<footer class="bg-gray-800 py-6 px-4 mt-8"> |
|
<div class="container mx-auto"> |
|
<div class="flex flex-col md:flex-row justify-between items-center"> |
|
<div class="mb-4 md:mb-0"> |
|
<h3 class="text-lg font-bold text-green-400 flex items-center"> |
|
<i class="fas fa-slime-hazard mr-2"></i> SLIME WAR |
|
</h3> |
|
<p class="text-gray-400 text-sm">Battle for slime supremacy!</p> |
|
</div> |
|
<div class="flex space-x-6"> |
|
<a href="#" class="text-gray-400 hover:text-green-400 transition"> |
|
<i class="fab fa-twitter text-xl"></i> |
|
</a> |
|
<a href="#" class="text-gray-400 hover:text-purple-400 transition"> |
|
<i class="fab fa-discord text-xl"></i> |
|
</a> |
|
<a href="#" class="text-gray-400 hover:text-red-400 transition"> |
|
<i class="fab fa-youtube text-xl"></i> |
|
</a> |
|
</div> |
|
</div> |
|
<div class="mt-6 text-center text-gray-500 text-sm"> |
|
<p>© 2023 Slime War Battle Arena. All rights reserved.</p> |
|
</div> |
|
</div> |
|
</footer> |
|
|
|
|
|
<div class="fixed bottom-6 right-6"> |
|
<button class="slime-btn bg-green-500 hover:bg-green-600 w-16 h-16 rounded-full flex items-center justify-center shadow-xl"> |
|
<i class="fas fa-question text-2xl"></i> |
|
</button> |
|
</div> |
|
|
|
<script> |
|
|
|
document.addEventListener('DOMContentLoaded', function() { |
|
|
|
const slimeBtns = document.querySelectorAll('.slime-btn'); |
|
slimeBtns.forEach(btn => { |
|
btn.addEventListener('click', function() { |
|
this.classList.add('animate-ping'); |
|
setTimeout(() => { |
|
this.classList.remove('animate-ping'); |
|
}, 300); |
|
}); |
|
}); |
|
|
|
|
|
const header = document.querySelector('header'); |
|
const colors = ['from-green-900', 'from-purple-900', 'from-blue-900', 'from-red-900']; |
|
const toColors = ['to-purple-900', 'to-blue-900', 'to-red-900', 'to-green-900']; |
|
|
|
setInterval(() => { |
|
const randomFrom = colors[Math.floor(Math.random() * colors.length)]; |
|
const randomTo = toColors[Math.floor(Math.random() * toColors.length)]; |
|
header.className = header.className.replace(/from-\w+-\d+/g, randomFrom); |
|
header.className = header.className.replace(/to-\w+-\d+/g, randomTo); |
|
}, 5000); |
|
}); |
|
</script> |
|
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Xacodavt/sasd" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> |
|
</html> |