File size: 19,096 Bytes
e1557e8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Free Fire MAX - Headshot Pro Panel</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>
        .glow-effect {
            box-shadow: 0 0 15px rgba(59, 130, 246, 0.7);
        }
        .progress-bar {
            height: 8px;
            border-radius: 4px;
            background-color: #1e293b;
        }
        .progress-fill {
            height: 100%;
            border-radius: 4px;
            background: linear-gradient(90deg, #3b82f6, #8b5cf6);
            transition: width 0.3s ease;
        }
        .switch {
            position: relative;
            display: inline-block;
            width: 60px;
            height: 30px;
        }
        .switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }
        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #1e293b;
            transition: .4s;
            border-radius: 34px;
        }
        .slider:before {
            position: absolute;
            content: "";
            height: 22px;
            width: 22px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }
        input:checked + .slider {
            background-color: #3b82f6;
        }
        input:checked + .slider:before {
            transform: translateX(30px);
        }
        .headshot-target {
            animation: pulse 1.5s infinite;
        }
        @keyframes pulse {
            0% { transform: scale(1); opacity: 0.8; }
            50% { transform: scale(1.1); opacity: 1; }
            100% { transform: scale(1); opacity: 0.8; }
        }
    </style>
</head>
<body class="bg-gray-900 text-white min-h-screen">
    <div class="container mx-auto px-4 py-8">
        <!-- Header -->
        <header class="flex justify-between items-center mb-8">
            <div class="flex items-center">
                <img src="https://via.placeholder.com/50" alt="Free Fire MAX Logo" class="w-12 h-12 rounded-full mr-3">
                <div>
                    <h1 class="text-2xl font-bold bg-gradient-to-r from-blue-500 to-purple-600 bg-clip-text text-transparent">Headshot Pro Panel</h1>
                    <p class="text-gray-400 text-sm">Optimize your Free Fire MAX experience</p>
                </div>
            </div>
            <div class="relative">
                <div class="headshot-target bg-red-600 w-10 h-10 rounded-full flex items-center justify-center">
                    <i class="fas fa-crosshairs text-white"></i>
                </div>
                <div class="absolute -top-2 -right-2 bg-red-500 text-xs px-2 py-1 rounded-full">PRO</div>
            </div>
        </header>

        <!-- Permission Request -->
        <div id="permissionSection" class="bg-gray-800 rounded-xl p-6 mb-8 glow-effect">
            <div class="flex items-start">
                <div class="bg-blue-500/20 p-3 rounded-full mr-4">
                    <i class="fas fa-shield-alt text-blue-400 text-xl"></i>
                </div>
                <div class="flex-1">
                    <h2 class="text-lg font-semibold mb-2">Storage Permission Required</h2>
                    <p class="text-gray-300 mb-4">To optimize your Free Fire MAX settings for maximum headshot accuracy, we need storage access to save configuration files and apply optimizations.</p>
                    <button id="grantPermissionBtn" class="bg-blue-600 hover:bg-blue-700 text-white px-6 py-2 rounded-lg font-medium transition-all">
                        Grant Permission
                    </button>
                </div>
            </div>
        </div>

        <!-- Main Panel (hidden until permission granted) -->
        <div id="mainPanel" class="hidden">
            <!-- Sensitivity Controls -->
            <div class="bg-gray-800 rounded-xl p-6 mb-6">
                <div class="flex items-center mb-4">
                    <div class="bg-purple-500/20 p-2 rounded-full mr-3">
                        <i class="fas fa-bullseye text-purple-400"></i>
                    </div>
                    <h2 class="text-xl font-semibold">Sensitivity Optimization</h2>
                </div>
                
                <div class="space-y-5">
                    <!-- General Sensitivity -->
                    <div>
                        <div class="flex justify-between mb-1">
                            <span class="font-medium">General Sensitivity</span>
                            <span id="generalValue" class="font-mono">75%</span>
                        </div>
                        <div class="progress-bar">
                            <div id="generalFill" class="progress-fill" style="width: 75%"></div>
                        </div>
                        <input type="range" min="0" max="100" value="75" class="w-full mt-2 accent-blue-500" id="generalSensitivity">
                    </div>
                    
                    <!-- ADS Sensitivity -->
                    <div>
                        <div class="flex justify-between mb-1">
                            <span class="font-medium">ADS Sensitivity</span>
                            <span id="adsValue" class="font-mono">68%</span>
                        </div>
                        <div class="progress-bar">
                            <div id="adsFill" class="progress-fill" style="width: 68%"></div>
                        </div>
                        <input type="range" min="0" max="100" value="68" class="w-full mt-2 accent-blue-500" id="adsSensitivity">
                    </div>
                    
                    <!-- Scope Sensitivity -->
                    <div>
                        <div class="flex justify-between mb-1">
                            <span class="font-medium">Scope Sensitivity</span>
                            <span id="scopeValue" class="font-mono">72%</span>
                        </div>
                        <div class="progress-bar">
                            <div id="scopeFill" class="progress-fill" style="width: 72%"></div>
                        </div>
                        <input type="range" min="0" max="100" value="72" class="w-full mt-2 accent-blue-500" id="scopeSensitivity">
                    </div>
                </div>
            </div>
            
            <!-- Headshot Aim Assist -->
            <div class="bg-gray-800 rounded-xl p-6 mb-6">
                <div class="flex items-center mb-4">
                    <div class="bg-red-500/20 p-2 rounded-full mr-3">
                        <i class="fas fa-skull text-red-400"></i>
                    </div>
                    <h2 class="text-xl font-semibold">Headshot Aim Assist</h2>
                </div>
                
                <div class="space-y-5">
                    <!-- Headshot Priority -->
                    <div class="flex items-center justify-between">
                        <div>
                            <h3 class="font-medium">Headshot Priority Mode</h3>
                            <p class="text-sm text-gray-400">Focus aim assist exclusively on head area</p>
                        </div>
                        <label class="switch">
                            <input type="checkbox" id="headshotPriority" checked>
                            <span class="slider"></span>
                        </label>
                    </div>
                    
                    <!-- Aggressiveness -->
                    <div>
                        <div class="flex justify-between mb-1">
                            <span class="font-medium">Aim Aggressiveness</span>
                            <span id="aggressiveValue" class="font-mono">85%</span>
                        </div>
                        <div class="progress-bar">
                            <div id="aggressiveFill" class="progress-fill" style="width: 85%"></div>
                        </div>
                        <input type="range" min="0" max="100" value="85" class="w-full mt-2 accent-red-500" id="aggressiveSlider">
                    </div>
                    
                    <!-- Auto Headshot -->
                    <div class="flex items-center justify-between">
                        <div>
                            <h3 class="font-medium">Auto Headshot Assist</h3>
                            <p class="text-sm text-gray-400">Automatically adjust crosshair when near head</p>
                        </div>
                        <label class="switch">
                            <input type="checkbox" id="autoHeadshot" checked>
                            <span class="slider"></span>
                        </label>
                    </div>
                </div>
            </div>
            
            <!-- Advanced Settings -->
            <div class="bg-gray-800 rounded-xl p-6 mb-6">
                <div class="flex items-center mb-4">
                    <div class="bg-yellow-500/20 p-2 rounded-full mr-3">
                        <i class="fas fa-cog text-yellow-400"></i>
                    </div>
                    <h2 class="text-xl font-semibold">Advanced Settings</h2>
                </div>
                
                <div class="space-y-4">
                    <!-- Recoil Control -->
                    <div class="flex items-center justify-between">
                        <div>
                            <h3 class="font-medium">Enhanced Recoil Control</h3>
                            <p class="text-sm text-gray-400">Reduce weapon recoil for better headshot accuracy</p>
                        </div>
                        <label class="switch">
                            <input type="checkbox" id="recoilControl" checked>
                            <span class="slider"></span>
                        </label>
                    </div>
                    
                    <!-- Quick Scope -->
                    <div class="flex items-center justify-between">
                        <div>
                            <h3 class="font-medium">Quick Scope Assist</h3>
                            <p class="text-sm text-gray-400">Faster scope-in for sniper headshots</p>
                        </div>
                        <label class="switch">
                            <input type="checkbox" id="quickScope" checked>
                            <span class="slider"></span>
                        </label>
                    </div>
                    
                    <!-- Movement Prediction -->
                    <div class="flex items-center justify-between">
                        <div>
                            <h3 class="font-medium">Movement Prediction</h3>
                            <p class="text-sm text-gray-400">Predict enemy movement for headshots</p>
                        </div>
                        <label class="switch">
                            <input type="checkbox" id="movementPrediction">
                            <span class="slider"></span>
                        </label>
                    </div>
                </div>
            </div>
            
            <!-- Apply Button -->
            <div class="text-center">
                <button id="applySettings" class="bg-gradient-to-r from-blue-600 to-purple-600 hover:from-blue-700 hover:to-purple-700 text-white px-8 py-3 rounded-full font-bold text-lg transition-all transform hover:scale-105 shadow-lg">
                    <i class="fas fa-bolt mr-2"></i> Apply Optimized Settings
                </button>
                <p class="text-gray-400 text-sm mt-2">Settings will be applied to Free Fire MAX configuration</p>
            </div>
        </div>
        
        <!-- Status Message -->
        <div id="statusMessage" class="hidden fixed bottom-4 left-1/2 transform -translate-x-1/2 bg-green-600 text-white px-6 py-3 rounded-lg shadow-lg">
            <i class="fas fa-check-circle mr-2"></i>
            <span>Settings applied successfully!</span>
        </div>
    </div>

    <script>
        // DOM Elements
        const permissionSection = document.getElementById('permissionSection');
        const mainPanel = document.getElementById('mainPanel');
        const grantPermissionBtn = document.getElementById('grantPermissionBtn');
        const statusMessage = document.getElementById('statusMessage');
        const applySettingsBtn = document.getElementById('applySettings');
        
        // Slider elements
        const generalSensitivity = document.getElementById('generalSensitivity');
        const adsSensitivity = document.getElementById('adsSensitivity');
        const scopeSensitivity = document.getElementById('scopeSensitivity');
        const aggressiveSlider = document.getElementById('aggressiveSlider');
        
        // Value displays
        const generalValue = document.getElementById('generalValue');
        const adsValue = document.getElementById('adsValue');
        const scopeValue = document.getElementById('scopeValue');
        const aggressiveValue = document.getElementById('aggressiveValue');
        
        // Progress fills
        const generalFill = document.getElementById('generalFill');
        const adsFill = document.getElementById('adsFill');
        const scopeFill = document.getElementById('scopeFill');
        const aggressiveFill = document.getElementById('aggressiveFill');
        
        // Toggle switches
        const headshotPriority = document.getElementById('headshotPriority');
        const autoHeadshot = document.getElementById('autoHeadshot');
        const recoilControl = document.getElementById('recoilControl');
        const quickScope = document.getElementById('quickScope');
        const movementPrediction = document.getElementById('movementPrediction');
        
        // Grant permission button click
        grantPermissionBtn.addEventListener('click', function() {
            // Simulate permission granted
            permissionSection.classList.add('hidden');
            mainPanel.classList.remove('hidden');
            
            // Show brief loading effect
            grantPermissionBtn.innerHTML = '<i class="fas fa-spinner fa-spin mr-2"></i> Processing...';
            setTimeout(() => {
                grantPermissionBtn.innerHTML = 'Permission Granted';
                grantPermissionBtn.classList.remove('bg-blue-600', 'hover:bg-blue-700');
                grantPermissionBtn.classList.add('bg-green-600', 'hover:bg-green-700');
            }, 1500);
        });
        
        // Update slider values in real-time
        generalSensitivity.addEventListener('input', function() {
            generalValue.textContent = this.value + '%';
            generalFill.style.width = this.value + '%';
        });
        
        adsSensitivity.addEventListener('input', function() {
            adsValue.textContent = this.value + '%';
            adsFill.style.width = this.value + '%';
        });
        
        scopeSensitivity.addEventListener('input', function() {
            scopeValue.textContent = this.value + '%';
            scopeFill.style.width = this.value + '%';
        });
        
        aggressiveSlider.addEventListener('input', function() {
            aggressiveValue.textContent = this.value + '%';
            aggressiveFill.style.width = this.value + '%';
        });
        
        // Apply settings button click
        applySettingsBtn.addEventListener('click', function() {
            // Show loading state
            applySettingsBtn.innerHTML = '<i class="fas fa-spinner fa-spin mr-2"></i> Applying...';
            applySettingsBtn.disabled = true;
            
            // Simulate applying settings
            setTimeout(() => {
                // Show success message
                statusMessage.classList.remove('hidden');
                statusMessage.classList.add('flex', 'items-center');
                
                // Reset button
                applySettingsBtn.innerHTML = '<i class="fas fa-bolt mr-2"></i> Apply Optimized Settings';
                applySettingsBtn.disabled = false;
                
                // Hide message after 3 seconds
                setTimeout(() => {
                    statusMessage.classList.add('hidden');
                }, 3000);
                
                // Log applied settings (for demo)
                console.log('Settings Applied:');
                console.log('General Sensitivity:', generalSensitivity.value);
                console.log('ADS Sensitivity:', adsSensitivity.value);
                console.log('Scope Sensitivity:', scopeSensitivity.value);
                console.log('Aim Aggressiveness:', aggressiveSlider.value);
                console.log('Headshot Priority:', headshotPriority.checked);
                console.log('Auto Headshot:', autoHeadshot.checked);
                console.log('Recoil Control:', recoilControl.checked);
                console.log('Quick Scope:', quickScope.checked);
                console.log('Movement Prediction:', movementPrediction.checked);
                
                // Optimize for headshots (simulated)
                if (headshotPriority.checked) {
                    console.log('Optimizing all settings for maximum headshot accuracy...');
                    // In a real app, this would modify game configuration files
                }
            }, 2000);
        });
        
        // Initialize tooltips for all info icons
        document.querySelectorAll('.info-icon').forEach(icon => {
            icon.addEventListener('mouseover', function() {
                const tooltip = this.nextElementSibling;
                tooltip.classList.remove('hidden');
            });
            
            icon.addEventListener('mouseout', function() {
                const tooltip = this.nextElementSibling;
                tooltip.classList.add('hidden');
            });
        });
    </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=Pnkj01/test" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>