|
|
<!DOCTYPE html> |
|
|
<html lang="en"> |
|
|
<head> |
|
|
<meta charset="UTF-8"> |
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|
|
<title>Loot Spin Bonanza</title> |
|
|
<link rel="stylesheet" href="style.css"> |
|
|
<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> |
|
|
<script> |
|
|
tailwind.config = { |
|
|
theme: { |
|
|
extend: { |
|
|
colors: { |
|
|
primary: '#ff8c00', |
|
|
secondary: '#ffcc66', |
|
|
dark: '#050505', |
|
|
light: '#f7f7f7', |
|
|
dim: '#a7a7a7', |
|
|
green: '#00c878', |
|
|
blue: '#50a0ff', |
|
|
purple: '#a050ff', |
|
|
gold: '#ffcc66' |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
</script> |
|
|
</head> |
|
|
<body class="min-h-screen flex items-center justify-center p-6 bg-gradient-to-b from-primary/10 to-dark"> |
|
|
<div class="w-full max-w-4xl rounded-3xl p-8 bg-gradient-to-br from-white/5 to-dark/95 backdrop-blur-lg shadow-xl shadow-primary/20 border border-white/10"> |
|
|
|
|
|
<header class="flex items-center justify-between mb-8"> |
|
|
<div class="flex items-center gap-2"> |
|
|
<i data-feather="gift" class="text-primary"></i> |
|
|
<h1 class="text-2xl font-bold text-light">Loot Spin Bonanza</h1> |
|
|
</div> |
|
|
<div class="flex items-center gap-2 text-dim"> |
|
|
<i data-feather="user" class="w-5 h-5"></i> |
|
|
<span>Player</span> |
|
|
</div> |
|
|
</header> |
|
|
|
|
|
|
|
|
<section class="mb-8"> |
|
|
<h2 class="text-xs uppercase tracking-widest text-dim mb-2">Loot Box Spin</h2> |
|
|
<div class="relative py-6 px-4 rounded-2xl bg-gradient-to-b from-dark/95 to-dark shadow-inner shadow-black/50 border border-white/5 overflow-hidden"> |
|
|
<div id="lootSelectionWindow" class="absolute top-6 left-1/2 -translate-x-1/2 w-24 h-32 rounded-xl border-2 border-primary shadow-lg shadow-primary/50 z-10 pointer-events-none"></div> |
|
|
<div id="lootWrapper" class="overflow-hidden px-12"> |
|
|
<div id="lootTrack" class="flex gap-4"> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</section> |
|
|
|
|
|
|
|
|
<section class="mb-8"> |
|
|
<h2 class="text-xs uppercase tracking-widest text-dim mb-2">Multiplier</h2> |
|
|
<div class="relative py-6 px-4 rounded-2xl bg-gradient-to-b from-dark/95 to-dark shadow-inner shadow-black/50 border border-white/5 overflow-hidden"> |
|
|
<div id="multiSelectionWindow" class="absolute top-6 left-1/2 -translate-x-1/2 w-24 h-14 rounded-full border-2 border-primary shadow-lg shadow-primary/50 z-10 pointer-events-none"></div> |
|
|
<div id="multiWrapper" class="overflow-hidden px-12"> |
|
|
<div id="multiTrack" class="flex gap-4"> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</section> |
|
|
|
|
|
|
|
|
<div class="flex justify-center"> |
|
|
<button id="spinBtn" class="px-12 py-4 rounded-full bg-gradient-to-b from-primary to-primary-dark text-dark font-bold uppercase tracking-wider shadow-lg shadow-primary/30 hover:shadow-primary/40 transition-all duration-200 hover:scale-105 active:scale-95"> |
|
|
Spin Now |
|
|
</button> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div id="popupBackdrop" class="fixed inset-0 bg-black/80 flex items-center justify-center hidden z-50"> |
|
|
<div class="w-80 max-w-full rounded-2xl p-6 bg-gradient-to-br from-dark/95 to-dark/90 backdrop-blur-lg border border-primary/30 shadow-2xl shadow-primary/30 text-center"> |
|
|
<h3 class="text-xs uppercase tracking-widest text-dim mb-2">Result</h3> |
|
|
<div id="popupTotal" class="text-4xl font-bold text-secondary mb-4">0 SC</div> |
|
|
<div id="popupBase" class="text-sm text-dim mb-1">Base: 0 SC</div> |
|
|
<div id="popupMulti" class="text-sm text-dim mb-6">Multiplier: ×1</div> |
|
|
<button id="popupClose" class="px-6 py-2 rounded-full bg-gradient-to-b from-primary to-primary-dark text-dark font-medium text-sm uppercase tracking-wider shadow-md shadow-primary/20"> |
|
|
Collect |
|
|
</button> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<script src="script.js"></script> |
|
|
<script> |
|
|
feather.replace(); |
|
|
</script> |
|
|
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script> |
|
|
</body> |
|
|
</html> |