ProjectGenesis's picture
<!DOCTYPE html>
0dfe679 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LootBox Bonanza Spinner</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<link rel="stylesheet" href="style.css">
</head>
<body class="bg-gray-900 min-h-screen flex items-center justify-center p-6">
<div class="max-w-4xl w-full rounded-3xl p-8 bg-gradient-to-br from-gray-800 to-gray-900 border border-gray-700 shadow-2xl">
<!-- Header -->
<div class="flex justify-between items-center mb-8">
<h1 class="text-3xl font-bold text-orange-400 flex items-center">
<i data-feather="gift" class="mr-2"></i> LootBox Bonanza
</h1>
<div class="flex items-center space-x-4">
<div class="bg-gray-700 px-4 py-2 rounded-full flex items-center">
<i data-feather="star" class="text-yellow-400 mr-2"></i>
<span class="font-bold text-white">5,000</span>
</div>
<button class="bg-orange-500 hover:bg-orange-600 text-white px-4 py-2 rounded-full transition-all">
<i data-feather="plus" class="mr-1"></i> Add Funds
</button>
</div>
</div>
<!-- Main Game Area -->
<div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
<!-- Loot Box Section -->
<div class="bg-gray-800 rounded-2xl p-6 border border-gray-700 shadow-lg">
<h2 class="text-xl font-semibold text-white mb-4 flex items-center">
<i data-feather="box" class="mr-2 text-orange-400"></i> Loot Boxes
</h2>
<div class="relative h-40 overflow-hidden">
<div class="absolute inset-0 flex items-center">
<div class="w-full h-32 bg-gray-900 rounded-xl border-2 border-orange-500 shadow-[0_0_20px_rgba(255,140,0,0.5)]"></div>
</div>
<div id="lootBoxTrack" class="absolute inset-0 flex items-center space-x-6 px-4">
<!-- Loot boxes will be added here by JavaScript -->
</div>
</div>
<div class="mt-6 flex justify-center">
<button id="spinLootBtn" class="bg-gradient-to-r from-orange-500 to-yellow-500 hover:from-orange-600 hover:to-yellow-600 text-white font-bold py-3 px-8 rounded-full shadow-lg transition-all transform hover:scale-105">
Spin Loot Box (10 coins)
</button>
</div>
</div>
<!-- Multiplier Section -->
<div class="bg-gray-800 rounded-2xl p-6 border border-gray-700 shadow-lg">
<h2 class="text-xl font-semibold text-white mb-4 flex items-center">
<i data-feather="zap" class="mr-2 text-yellow-400"></i> Multiplier
</h2>
<div class="relative h-24 overflow-hidden">
<div class="absolute inset-0 flex items-center">
<div class="w-full h-16 bg-gray-900 rounded-xl border-2 border-yellow-500 shadow-[0_0_20px_rgba(255,215,0,0.3)]"></div>
</div>
<div id="multiplierTrack" class="absolute inset-0 flex items-center space-x-4 px-4">
<!-- Multipliers will be added here by JavaScript -->
</div>
</div>
<div class="mt-6 flex justify-center">
<button id="spinMultiplierBtn" class="bg-gradient-to-r from-yellow-500 to-orange-500 hover:from-yellow-600 hover:to-orange-600 text-white font-bold py-3 px-8 rounded-full shadow-lg transition-all transform hover:scale-105">
Spin Multiplier (5 coins)
</button>
</div>
</div>
</div>
<!-- Result Display -->
<div class="mt-8 bg-gray-800 rounded-2xl p-6 border border-gray-700 shadow-lg">
<h2 class="text-xl font-semibold text-white mb-4 flex items-center">
<i data-feather="award" class="mr-2 text-yellow-400"></i> Your Prize
</h2>
<div class="flex flex-col items-center">
<div id="prizeDisplay" class="text-5xl font-bold text-yellow-400 mb-2">0</div>
<div class="text-gray-300 mb-4">SC</div>
<div id="prizeDetails" class="text-gray-400 text-center">
Spin to win amazing prizes!
</div>
<button id="claimBtn" class="mt-4 bg-green-600 hover:bg-green-700 text-white font-bold py-2 px-6 rounded-full shadow transition-all transform hover:scale-105 hidden">
Claim Prize
</button>
</div>
</div>
</div>
<!-- Modal -->
<div id="winModal" class="fixed inset-0 bg-black bg-opacity-80 flex items-center justify-center hidden z-50">
<div class="bg-gradient-to-br from-gray-800 to-gray-900 rounded-3xl p-8 max-w-md w-full border-2 border-yellow-500 shadow-[0_0_40px_rgba(255,215,0,0.5)]">
<div class="text-center">
<i data-feather="award" class="text-yellow-400 w-16 h-16 mx-auto mb-4"></i>
<h3 class="text-2xl font-bold text-white mb-2">Congratulations!</h3>
<p class="text-gray-300 mb-6">You won <span id="modalPrize" class="text-yellow-400 font-bold">0</span> SC!</p>
<button id="modalCloseBtn" class="bg-orange-500 hover:bg-orange-600 text-white font-bold py-2 px-6 rounded-full transition-all">
Awesome!
</button>
</div>
</div>
</div>
<script src="script.js"></script>
<script>
feather.replace();
</script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html>