File size: 11,185 Bytes
26db713
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Slime War - Battle Arena</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
        
        .pixel-font {
            font-family: 'Press Start 2P', cursive;
        }
        
        .glow {
            animation: glow 2s ease-in-out infinite alternate;
        }
        
        @keyframes glow {
            from {
                text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #00ff00, 0 0 20px #00ff00;
            }
            to {
                text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #00ff00, 0 0 40px #00ff00;
            }
        }
        
        .slime-btn {
            position: relative;
            overflow: hidden;
            transition: all 0.3s;
        }
        
        .slime-btn:hover {
            transform: scale(1.05);
        }
        
        .slime-btn::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: rgba(255, 255, 255, 0.2);
            transform: rotate(45deg);
            transition: all 0.3s;
            opacity: 0;
        }
        
        .slime-btn:hover::after {
            opacity: 1;
            animation: slime 1.5s infinite;
        }
        
        @keyframes slime {
            0% {
                transform: rotate(45deg) translate(-30%, -30%);
            }
            100% {
                transform: rotate(45deg) translate(30%, 30%);
            }
        }
        
        .bounce {
            animation: bounce 2s infinite;
        }
        
        @keyframes bounce {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-10px);
            }
        }
    </style>
</head>
<body class="bg-gray-900 text-white min-h-screen">
    <!-- Header Section -->
    <header class="bg-gradient-to-r from-green-900 to-purple-900 py-6 px-4 shadow-lg">
        <div class="container mx-auto flex flex-col md:flex-row justify-between items-center">
            <div class="flex items-center mb-4 md:mb-0">
                <i class="fas fa-ghost text-4xl text-green-400 mr-3 bounce"></i>
                <h1 class="text-3xl md:text-4xl font-bold pixel-font glow">SLIME WAR</h1>
            </div>
            <div class="flex space-x-4">
                <button class="slime-btn bg-green-600 hover:bg-green-700 px-4 py-2 rounded-lg font-bold flex items-center">
                    <i class="fas fa-trophy mr-2"></i> Leaderboard
                </button>
                <button class="slime-btn bg-purple-600 hover:bg-purple-700 px-4 py-2 rounded-lg font-bold flex items-center">
                    <i class="fas fa-cog mr-2"></i> Settings
                </button>
            </div>
        </div>
    </header>

    <!-- Main Content -->
    <main class="container mx-auto px-4 py-8">
        <!-- Game Info Section -->
        <section class="mb-8 bg-gray-800 bg-opacity-70 rounded-xl p-6 shadow-lg">
            <h2 class="text-2xl font-bold mb-4 text-green-400 pixel-font">Welcome to Slime War!</h2>
            <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
                <div class="bg-gray-700 p-4 rounded-lg hover:bg-gray-600 transition-all">
                    <h3 class="text-xl font-bold mb-2 text-purple-400 flex items-center">
                        <i class="fas fa-gamepad mr-2"></i> Gameplay
                    </h3>
                    <p class="text-gray-300">Control your slime army and conquer the battlefield. Merge slimes to create more powerful units!</p>
                </div>
                <div class="bg-gray-700 p-4 rounded-lg hover:bg-gray-600 transition-all">
                    <h3 class="text-xl font-bold mb-2 text-green-400 flex items-center">
                        <i class="fas fa-chess-queen mr-2"></i> Strategy
                    </h3>
                    <p class="text-gray-300">Plan your moves carefully. The right strategy will lead your slimes to victory!</p>
                </div>
                <div class="bg-gray-700 p-4 rounded-lg hover:bg-gray-600 transition-all">
                    <h3 class="text-xl font-bold mb-2 text-yellow-400 flex items-center">
                        <i class="fas fa-medal mr-2"></i> Achievements
                    </h3>
                    <p class="text-gray-300">Unlock special rewards and achievements as you progress through the game.</p>
                </div>
            </div>
        </section>

        <!-- Game Container -->
        <section class="mb-8">
            <div class="relative overflow-hidden rounded-xl shadow-2xl border-4 border-green-500">
                <div class="absolute inset-0 bg-gradient-to-br from-green-900 to-purple-900 opacity-20 z-0"></div>
                <div class="relative z-10">
                    <iframe 
                        src="https://slime-war.netlify.app/" 
                        class="w-full h-[70vh] border-none"
                        allowfullscreen>
                    </iframe>
                </div>
            </div>
        </section>

        <!-- Controls Section -->
        <section class="bg-gray-800 bg-opacity-70 rounded-xl p-6 shadow-lg">
            <h2 class="text-2xl font-bold mb-6 text-center text-purple-400 pixel-font">GAME CONTROLS</h2>
            <div class="grid grid-cols-2 md:grid-cols-4 gap-4">
                <div class="bg-gray-700 p-4 rounded-lg text-center">
                    <div class="bg-green-600 w-12 h-12 rounded-full flex items-center justify-center mx-auto mb-2">
                        <i class="fas fa-mouse-pointer text-xl"></i>
                    </div>
                    <h3 class="font-bold">Click</h3>
                    <p class="text-sm text-gray-300">Select slimes</p>
                </div>
                <div class="bg-gray-700 p-4 rounded-lg text-center">
                    <div class="bg-purple-600 w-12 h-12 rounded-full flex items-center justify-center mx-auto mb-2">
                        <i class="fas fa-arrows-alt text-xl"></i>
                    </div>
                    <h3 class="font-bold">Drag</h3>
                    <p class="text-sm text-gray-300">Move slimes</p>
                </div>
                <div class="bg-gray-700 p-4 rounded-lg text-center">
                    <div class="bg-yellow-600 w-12 h-12 rounded-full flex items-center justify-center mx-auto mb-2">
                        <i class="fas fa-object-group text-xl"></i>
                    </div>
                    <h3 class="font-bold">Merge</h3>
                    <p class="text-sm text-gray-300">Combine slimes</p>
                </div>
                <div class="bg-gray-700 p-4 rounded-lg text-center">
                    <div class="bg-red-600 w-12 h-12 rounded-full flex items-center justify-center mx-auto mb-2">
                        <i class="fas fa-crosshairs text-xl"></i>
                    </div>
                    <h3 class="font-bold">Attack</h3>
                    <p class="text-sm text-gray-300">Target enemies</p>
                </div>
            </div>
        </section>
    </main>

    <!-- Footer -->
    <footer class="bg-gray-800 py-6 px-4 mt-8">
        <div class="container mx-auto">
            <div class="flex flex-col md:flex-row justify-between items-center">
                <div class="mb-4 md:mb-0">
                    <h3 class="text-lg font-bold text-green-400 flex items-center">
                        <i class="fas fa-slime-hazard mr-2"></i> SLIME WAR
                    </h3>
                    <p class="text-gray-400 text-sm">Battle for slime supremacy!</p>
                </div>
                <div class="flex space-x-6">
                    <a href="#" class="text-gray-400 hover:text-green-400 transition">
                        <i class="fab fa-twitter text-xl"></i>
                    </a>
                    <a href="#" class="text-gray-400 hover:text-purple-400 transition">
                        <i class="fab fa-discord text-xl"></i>
                    </a>
                    <a href="#" class="text-gray-400 hover:text-red-400 transition">
                        <i class="fab fa-youtube text-xl"></i>
                    </a>
                </div>
            </div>
            <div class="mt-6 text-center text-gray-500 text-sm">
                <p>© 2023 Slime War Battle Arena. All rights reserved.</p>
            </div>
        </div>
    </footer>

    <!-- Floating Slime Button -->
    <div class="fixed bottom-6 right-6">
        <button class="slime-btn bg-green-500 hover:bg-green-600 w-16 h-16 rounded-full flex items-center justify-center shadow-xl">
            <i class="fas fa-question text-2xl"></i>
        </button>
    </div>

    <script>
        // Add some interactive elements
        document.addEventListener('DOMContentLoaded', function() {
            // Add click effect to all slime buttons
            const slimeBtns = document.querySelectorAll('.slime-btn');
            slimeBtns.forEach(btn => {
                btn.addEventListener('click', function() {
                    this.classList.add('animate-ping');
                    setTimeout(() => {
                        this.classList.remove('animate-ping');
                    }, 300);
                });
            });
            
            // Random slime color animation for header
            const header = document.querySelector('header');
            const colors = ['from-green-900', 'from-purple-900', 'from-blue-900', 'from-red-900'];
            const toColors = ['to-purple-900', 'to-blue-900', 'to-red-900', 'to-green-900'];
            
            setInterval(() => {
                const randomFrom = colors[Math.floor(Math.random() * colors.length)];
                const randomTo = toColors[Math.floor(Math.random() * toColors.length)];
                header.className = header.className.replace(/from-\w+-\d+/g, randomFrom);
                header.className = header.className.replace(/to-\w+-\d+/g, randomTo);
            }, 5000);
        });
    </script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Xacodavt/sasd" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>