loot-spin-royale / index.html
ProjectGenesis's picture
<!DOCTYPE html>
f2768a5 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Loot Spin Royale 🎰</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 text-white">
<custom-header></custom-header>
<main class="container mx-auto px-4 py-12">
<div class="max-w-4xl mx-auto bg-gray-800 rounded-2xl shadow-2xl overflow-hidden">
<!-- Game Module -->
<div class="p-8">
<h1 class="text-3xl font-bold text-center mb-8 text-orange-400">Loot Spin Royale</h1>
<!-- Loot Box Section -->
<div class="mb-12">
<h2 class="text-xl font-semibold mb-4 text-gray-300">LOOT BOX SPIN <i data-feather="gift" class="inline"></i></h2>
<div class="relative bg-gray-900 rounded-xl p-6 shadow-inner">
<div class="overflow-hidden">
<div class="flex gap-6 transition-transform duration-1000" id="lootTrack">
<!-- Loot boxes will be generated by JS -->
</div>
</div>
<div class="absolute inset-0 flex items-center justify-center pointer-events-none">
<div class="w-24 h-24 border-2 border-orange-400 rounded-xl shadow-lg shadow-orange-500/20"></div>
</div>
</div>
</div>
<!-- Multiplier Section -->
<div class="mb-12">
<h2 class="text-xl font-semibold mb-4 text-gray-300">MULTIPLIER <i data-feather="zap" class="inline"></i></h2>
<div class="relative bg-gray-900 rounded-xl p-6 shadow-inner">
<div class="overflow-hidden">
<div class="flex gap-4 transition-transform duration-1000" id="multiTrack">
<!-- Multipliers will be generated by JS -->
</div>
</div>
<div class="absolute inset-0 flex items-center justify-center pointer-events-none">
<div class="w-20 h-12 border-2 border-orange-400 rounded-full shadow-lg shadow-orange-500/20"></div>
</div>
</div>
</div>
<!-- Spin Button -->
<div class="text-center">
<button id="spinBtn" class="bg-gradient-to-br from-orange-400 to-orange-600 hover:from-orange-500 hover:to-orange-700 text-gray-900 font-bold py-3 px-8 rounded-full shadow-lg hover:shadow-xl transition-all duration-300 transform hover:scale-105 focus:outline-none focus:ring-2 focus:ring-orange-500 focus:ring-opacity-50">
SPIN NOW <i data-feather="rotate-cw" class="inline ml-2"></i>
</button>
</div>
</div>
</div>
</main>
<!-- Result Modal -->
<div id="resultModal" class="fixed inset-0 bg-black bg-opacity-80 flex items-center justify-center z-50 hidden">
<div class="bg-gray-800 rounded-2xl p-8 max-w-md w-full mx-4 shadow-2xl border border-orange-400">
<div class="text-center">
<h2 class="text-2xl font-bold mb-2 text-orange-400">YOU WON!</h2>
<div id="resultAmount" class="text-5xl font-extrabold my-6 text-white">0 SC</div>
<div id="resultDetails" class="text-gray-300 mb-6">
<p>Base: <span id="baseAmount">0</span> SC</p>
<p>Multiplier: ×<span id="multiplier">1</span></p>
</div>
<button id="closeModal" class="bg-orange-500 hover:bg-orange-600 text-white font-bold py-2 px-6 rounded-full transition-colors duration-300">
CLAIM PRIZE <i data-feather="check" class="inline ml-2"></i>
</button>
</div>
</div>
</div>
<custom-footer></custom-footer>
<!-- Web Components -->
<script src="components/header.js"></script>
<script src="components/footer.js"></script>
<script src="script.js"></script>
<script>
feather.replace();
</script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html>