File size: 4,668 Bytes
f2768a5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!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>