Spaces:
Running

boostara / index.html
deokrgfer's picture
Make me an online game like Free Fire. - Initial Deployment
6dad999 verified
Raw History Blame Contribute Delete
28.6 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Battle Royale Arena</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
<style>
#game-container {
position: relative;
overflow: hidden;
background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
}
#vanta-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 0;
}
.game-content {
position: relative;
z-index: 1;
}
.player-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}
.weapon-icon {
transition: all 0.3s ease;
}
.weapon-icon:hover {
transform: scale(1.2);
}
</style>
</head>
<body class="bg-gray-900 text-white font-sans antialiased">
<div id="game-container" class="min-h-screen">
<div id="vanta-bg"></div>
<div class="game-content">
<!-- Navigation -->
<nav class="px-6 py-4 border-b border-gray-800">
<div class="flex justify-between items-center max-w-7xl mx-auto">
<div class="flex items-center space-x-2">
<span class="text-yellow-400 text-2xl font-bold">BATTLE ROYALE</span>
<span class="text-xs bg-red-600 px-2 py-1 rounded-full">ULTIMATE</span>
</div>
<div class="hidden md:flex space-x-6">
<a href="#" class="hover:text-yellow-400 transition">Home</a>
<a href="#" class="hover:text-yellow-400 transition">Battle Pass</a>
<a href="#" class="hover:text-yellow-400 transition">Weapons</a>
<a href="#" class="hover:text-yellow-400 transition">Characters</a>
<a href="#" class="hover:text-yellow-400 transition">Store</a>
</div>
<div class="flex items-center space-x-4">
<button class="bg-yellow-600 hover:bg-yellow-700 px-4 py-2 rounded-full text-sm font-semibold transition">
PLAY NOW
</button>
<button class="md:hidden">
<i data-feather="menu"></i>
</button>
</div>
</div>
</nav>
<!-- Hero Section -->
<section class="relative py-20 md:py-32 overflow-hidden">
<div class="max-w-7xl mx-auto px-6">
<div data-aos="fade-right" class="max-w-2xl">
<h1 class="text-4xl md:text-6xl font-bold leading-tight mb-6">
THE ULTIMATE <span class="text-yellow-400">WAR ZONE</span> EXPERIENCE
</h1>
<p class="text-gray-300 text-lg md:text-xl mb-8">
Join millions of players worldwide in this intense battle royale shooter. Survive, loot, and be the last one standing!
</p>
<div class="flex flex-wrap gap-4">
<button class="bg-yellow-600 hover:bg-yellow-700 px-8 py-3 rounded-full font-bold transition shadow-lg">
PLAY FREE NOW
</button>
<button class="bg-transparent border-2 border-gray-600 hover:border-yellow-400 px-8 py-3 rounded-full font-bold transition hover:text-yellow-400">
WATCH TRAILER
</button>
</div>
</div>
</div>
<div data-aos="fade-left" class="absolute right-0 top-1/2 transform -translate-y-1/2 hidden lg:block w-1/3">
<img src="http://static.photos/gaming/1200x630/5" alt="Battle Royale Character" class="rounded-xl shadow-2xl">
</div>
</section>
<!-- Game Mode Section -->
<section class="py-20 bg-gray-800 bg-opacity-50 backdrop-blur-sm">
<div class="max-w-7xl mx-auto px-6">
<div class="text-center mb-16">
<h2 class="text-3xl md:text-4xl font-bold mb-4" data-aos="fade-up">CHOOSE YOUR BATTLE</h2>
<p class="text-gray-300 max-w-2xl mx-auto" data-aos="fade-up" data-aos-delay="100">
Experience different game modes with unique challenges and rewards
</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<!-- Classic Mode -->
<div class="bg-gray-900 rounded-xl p-6 border border-gray-700 hover:border-yellow-400 transition-all" data-aos="zoom-in">
<div class="bg-gradient-to-r from-red-600 to-yellow-500 w-16 h-16 rounded-lg flex items-center justify-center mb-6">
<i data-feather="award" class="w-8 h-8"></i>
</div>
<h3 class="text-xl font-bold mb-3">Classic Mode</h3>
<p class="text-gray-300 mb-4">
The original battle royale experience. Drop into the island with 49 other players and fight for survival.
</p>
<button class="text-yellow-400 hover:text-yellow-300 flex items-center">
Play Mode <i data-feather="arrow-right" class="ml-2 w-4"></i>
</button>
</div>
<!-- Ranked Mode -->
<div class="bg-gray-900 rounded-xl p-6 border border-gray-700 hover:border-yellow-400 transition-all" data-aos="zoom-in" data-aos-delay="150">
<div class="bg-gradient-to-r from-blue-500 to-purple-600 w-16 h-16 rounded-lg flex items-center justify-center mb-6">
<i data-feather="trending-up" class="w-8 h-8"></i>
</div>
<h3 class="text-xl font-bold mb-3">Ranked Mode</h3>
<p class="text-gray-300 mb-4">
Compete against players of similar skill level and climb the ranks to prove you're the best.
</p>
<button class="text-yellow-400 hover:text-yellow-300 flex items-center">
Play Mode <i data-feather="arrow-right" class="ml-2 w-4"></i>
</button>
</div>
<!-- Zombie Survival -->
<div class="bg-gray-900 rounded-xl p-6 border border-gray-700 hover:border-yellow-400 transition-all" data-aos="zoom-in" data-aos-delay="300">
<div class="bg-gradient-to-r from-green-500 to-teal-500 w-16 h-16 rounded-lg flex items-center justify-center mb-6">
<i data-feather="zap" class="w-8 h-8"></i>
</div>
<h3 class="text-xl font-bold mb-3">Zombie Survival</h3>
<p class="text-gray-300 mb-4">
Team up with friends to survive waves of the undead in this intense cooperative mode.
</p>
<button class="text-yellow-400 hover:text-yellow-300 flex items-center">
Play Mode <i data-feather="arrow-right" class="ml-2 w-4"></i>
</button>
</div>
</div>
</div>
</section>
<!-- Weapons Section -->
<section class="py-20">
<div class="max-w-7xl mx-auto px-6">
<div class="text-center mb-16">
<h2 class="text-3xl md:text-4xl font-bold mb-4" data-aos="fade-up">ARM YOURSELF</h2>
<p class="text-gray-300 max-w-2xl mx-auto" data-aos="fade-up" data-aos-delay="100">
Choose from a vast arsenal of weapons to dominate the battlefield
</p>
</div>
<div class="grid grid-cols-2 md:grid-cols-4 lg:grid-cols-5 gap-6">
<!-- Assault Rifle -->
<div class="bg-gray-800 rounded-lg p-4 text-center weapon-icon" data-aos="zoom-in">
<div class="bg-gray-900 rounded-lg p-6 mb-4">
<img src="http://static.photos/technology/200x200/10" alt="Assault Rifle" class="mx-auto h-20">
</div>
<h3 class="font-bold mb-1">M4A1</h3>
<p class="text-sm text-gray-300">Assault Rifle</p>
<div class="flex justify-center mt-2">
<div class="h-1 w-full bg-gray-700 rounded-full overflow-hidden">
<div class="h-full bg-green-500" style="width: 85%"></div>
</div>
</div>
</div>
<!-- Sniper -->
<div class="bg-gray-800 rounded-lg p-4 text-center weapon-icon" data-aos="zoom-in" data-aos-delay="100">
<div class="bg-gray-900 rounded-lg p-6 mb-4">
<img src="http://static.photos/technology/200x200/11" alt="Sniper" class="mx-auto h-20">
</div>
<h3 class="font-bold mb-1">AWM</h3>
<p class="text-sm text-gray-300">Sniper Rifle</p>
<div class="flex justify-center mt-2">
<div class="h-1 w-full bg-gray-700 rounded-full overflow-hidden">
<div class="h-full bg-red-500" style="width: 95%"></div>
</div>
</div>
</div>
<!-- Shotgun -->
<div class="bg-gray-800 rounded-lg p-4 text-center weapon-icon" data-aos="zoom-in" data-aos-delay="200">
<div class="bg-gray-900 rounded-lg p-6 mb-4">
<img src="http://static.photos/technology/200x200/12" alt="Shotgun" class="mx-auto h-20">
</div>
<h3 class="font-bold mb-1">SPAS-12</h3>
<p class="text-sm text-gray-300">Shotgun</p>
<div class="flex justify-center mt-2">
<div class="h-1 w-full bg-gray-700 rounded-full overflow-hidden">
<div class="h-full bg-yellow-500" style="width: 70%"></div>
</div>
</div>
</div>
<!-- SMG -->
<div class="bg-gray-800 rounded-lg p-4 text-center weapon-icon" data-aos="zoom-in" data-aos-delay="300">
<div class="bg-gray-900 rounded-lg p-6 mb-4">
<img src="http://static.photos/technology/200x200/13" alt="SMG" class="mx-auto h-20">
</div>
<h3 class="font-bold mb-1">MP5</h3>
<p class="text-sm text-gray-300">SMG</p>
<div class="flex justify-center mt-2">
<div class="h-1 w-full bg-gray-700 rounded-full overflow-hidden">
<div class="h-full bg-blue-500" style="width: 75%"></div>
</div>
</div>
</div>
<!-- Pistol -->
<div class="bg-gray-800 rounded-lg p-4 text-center weapon-icon hidden lg:block" data-aos="zoom-in" data-aos-delay="400">
<div class="bg-gray-900 rounded-lg p-6 mb-4">
<img src="http://static.photos/technology/200x200/14" alt="Pistol" class="mx-auto h-20">
</div>
<h3 class="font-bold mb-1">Desert Eagle</h3>
<p class="text-sm text-gray-300">Pistol</p>
<div class="flex justify-center mt-2">
<div class="h-1 w-full bg-gray-700 rounded-full overflow-hidden">
<div class="h-full bg-purple-500" style="width: 65%"></div>
</div>
</div>
</div>
</div>
<div class="text-center mt-10">
<button class="bg-gray-800 hover:bg-gray-700 px-8 py-3 rounded-full font-bold transition border border-gray-700 flex items-center mx-auto">
VIEW ALL WEAPONS <i data-feather="chevron-down" class="ml-2 w-4"></i>
</button>
</div>
</div>
</section>
<!-- Characters Section -->
<section class="py-20 bg-gray-800 bg-opacity-50 backdrop-blur-sm">
<div class="max-w-7xl mx-auto px-6">
<div class="text-center mb-16">
<h2 class="text-3xl md:text-4xl font-bold mb-4" data-aos="fade-up">MEET THE LEGENDS</h2>
<p class="text-gray-300 max-w-2xl mx-auto" data-aos="fade-up" data-aos-delay="100">
Play as unique characters with special abilities to gain the edge in battle
</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Character 1 -->
<div class="bg-gray-900 rounded-xl overflow-hidden border border-gray-700 hover:border-yellow-400 transition-all player-card" data-aos="fade-up">
<div class="relative h-64 bg-gradient-to-b from-gray-800 to-gray-900">
<img src="http://static.photos/gaming/640x360/1" alt="Character" class="w-full h-full object-cover">
<div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-6">
<span class="text-xs bg-yellow-600 px-2 py-1 rounded-full">NEW</span>
<h3 class="text-2xl font-bold mt-2">Nova</h3>
</div>
</div>
<div class="p-6">
<div class="flex justify-between mb-4">
<div>
<p class="text-sm text-gray-400">Role</p>
<p class="font-bold">Assault</p>
</div>
<div>
<p class="text-sm text-gray-400">Ability</p>
<p class="font-bold">Stealth Dash</p>
</div>
<div>
<p class="text-sm text-gray-400">Difficulty</p>
<div class="flex space-x-1">
<i data-feather="star" class="w-4 text-yellow-400 fill-current"></i>
<i data-feather="star" class="w-4 text-yellow-400 fill-current"></i>
<i data-feather="star" class="w-4 text-gray-600"></i>
</div>
</div>
</div>
<p class="text-gray-300 mb-4">
A former black ops agent with enhanced agility. Can dash through enemies while becoming temporarily invisible.
</p>
<button class="w-full bg-gray-800 hover:bg-gray-700 py-2 rounded-lg font-medium transition flex items-center justify-center">
SELECT CHARACTER <i data-feather="plus" class="ml-2 w-4"></i>
</button>
</div>
</div>
<!-- Character 2 -->
<div class="bg-gray-900 rounded-xl overflow-hidden border border-gray-700 hover:border-yellow-400 transition-all player-card" data-aos="fade-up" data-aos-delay="150">
<div class="relative h-64 bg-gradient-to-b from-gray-800 to-gray-900">
<img src="http://static.photos/gaming/640x360/2" alt="Character" class="w-full h-full object-cover">
<div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-6">
<h3 class="text-2xl font-bold">Tank</h3>
</div>
</div>
<div class="p-6">
<div class="flex justify-between mb-4">
<div>
<p class="text-sm text-gray-400">Role</p>
<p class="font-bold">Defense</p>
</div>
<div>
<p class="text-sm text-gray-400">Ability</p>
<p class="font-bold">Iron Shield</p>
</div>
<div>
<p class="text-sm text-gray-400">Difficulty</p>
<div class="flex space-x-1">
<i data-feather="star" class="w-4 text-yellow-400 fill-current"></i>
<i data-feather="star" class="w-4 text-gray-600"></i>
<i data-feather="star" class="w-4 text-gray-600"></i>
</div>
</div>
</div>
<p class="text-gray-300 mb-4">
A heavily armored warrior who can deploy a frontal shield that blocks all incoming damage for a short duration.
</p>
<button class="w-full bg-gray-800 hover:bg-gray-700 py-2 rounded-lg font-medium transition flex items-center justify-center">
SELECT CHARACTER <i data-feather="plus" class="ml-2 w-4"></i>
</button>
</div>
</div>
<!-- Character 3 -->
<div class="bg-gray-900 rounded-xl overflow-hidden border border-gray-700 hover:border-yellow-400 transition-all player-card" data-aos="fade-up" data-aos-delay="300">
<div class="relative h-64 bg-gradient-to-b from-gray-800 to-gray-900">
<img src="http://static.photos/gaming/640x360/3" alt="Character" class="w-full h-full object-cover">
<div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-6">
<h3 class="text-2xl font-bold">Echo</h3>
</div>
</div>
<div class="p-6">
<div class="flex justify-between mb-4">
<div>
<p class="text-sm text-gray-400">Role</p>
<p class="font-bold">Support</p>
</div>
<div>
<p class="text-sm text-gray-400">Ability</p>
<p class="font-bold">Healing Drone</p>
</div>
<div>
<p class="text-sm text-gray-400">Difficulty</p>
<div class="flex space-x-1">
<i data-feather="star" class="w-4 text-yellow-400 fill-current"></i>
<i data-feather="star" class="w-4 text-yellow-400 fill-current"></i>
<i data-feather="star" class="w-4 text-yellow-400 fill-current"></i>
</div>
</div>
</div>
<p class="text-gray-300 mb-4">
A tech specialist who can deploy a drone that automatically heals nearby teammates over time.
</p>
<button class="w-full bg-gray-800 hover:bg-gray-700 py-2 rounded-lg font-medium transition flex items-center justify-center">
SELECT CHARACTER <i data-feather="plus" class="ml-2 w-4"></i>
</button>
</div>
</div>
</div>
</div>
</section>
<!-- CTA Section -->
<section class="py-32 relative">
<div class="absolute inset-0 bg-gradient-to-r from-yellow-600 to-red-600 opacity-10 z-0"></div>
<div class="max-w-7xl mx-auto px-6 text-center relative z-10">
<h2 class="text-3xl md:text-5xl font-bold mb-6" data-aos="fade-up">
READY TO <span class="text-yellow-400">DROP IN</span>?
</h2>
<p class="text-xl text-gray-300 max-w-3xl mx-auto mb-10" data-aos="fade-up" data-aos-delay="100">
Download now and join the world's largest battle royale community
</p>
<div class="flex flex-wrap justify-center gap-6">
<button class="bg-white text-gray-900 hover:bg-gray-200 px-10 py-4 rounded-full font-bold text-lg flex items-center transition shadow-lg" data-aos="zoom-in">
<i data-feather="download" class="mr-3 w-5"></i> DOWNLOAD FOR PC
</button>
<button class="bg-gray-900 text-white hover:bg-gray-800 border border-gray-700 px-10 py-4 rounded-full font-bold text-lg flex items-center transition" data-aos="zoom-in" data-aos-delay="150">
<i data-feather="smartphone" class="mr-3 w-5"></i> PLAY ON MOBILE
</button>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-900 border-t border-gray-800 py-12">
<div class="max-w-7xl mx-auto px-6">
<div class="grid grid-cols-1 md:grid-cols-4 gap-10">
<div>
<h3 class="text-xl font-bold mb-6 text-yellow-400">BATTLE ROYALE</h3>
<p class="text-gray-400">
The ultimate free-to-play battle royale experience. Join millions of players worldwide.
</p>
</div>
<div>
<h4 class="font-bold mb-4">Game</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">Modes</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Maps</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Weapons</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Characters</a></li>
</ul>
</div>
<div>
<h4 class="font-bold mb-4">Community</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">Forums</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Leaderboards</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Events</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Support</a></li>
</ul>
</div>
<div>
<h4 class="font-bold mb-4">Follow Us</h4>
<div class="flex space-x-4">
<a href="#" class="text-gray-400 hover:text-white transition">
<i data-feather="facebook" class="w-5"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition">
<i data-feather="twitter" class="w-5"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition">
<i data-feather="instagram" class="w-5"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition">
<i data-feather="youtube" class="w-5"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition">
<i data-feather="twitch" class="w-5"></i>
</a>
</div>
</div>
</div>
<div class="border-t border-gray-800 mt-12 pt-8 text-center text-gray-500 text-sm">
<p>© 2023 Battle Royale Ultimate. All rights reserved.</p>
</div>
</div>
</footer>
</div>
</div>
<script>
VANTA.GLOBE({
el: "#vanta-bg",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
scaleMobile: 1.00,
color: 0xff9900,
color2: 0xdd4400,
backgroundColor: 0x0f172a,
size: 0.8
});
</script>
<script>AOS.init();</script>
<script>feather.replace();</script>
</body>
</html>