File size: 13,417 Bytes
a0e7795
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Settings - StreamSnatcher Pro</title>
    <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
        body {
            font-family: 'Inter', sans-serif;
        }
        .gradient-bg {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        .dark .gradient-bg {
            background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
        }
    </style>
</head>
<body class="min-h-screen gradient-bg">
    <div class="container mx-auto px-4 py-8 max-w-4xl">
        <!-- Header -->
        <div class="flex items-center justify-between mb-8">
            <div class="flex items-center space-x-3">
                <a href="index.html" class="text-white/70 hover:text-white transition-colors duration-200">
                    <i data-feather="arrow-left" class="w-6 h-6"></i>
                </a>
                <h1 class="text-3xl font-bold text-white">Settings</h1>
            </div>
            <button class="p-2 rounded-full bg-white/10 hover:bg-white/20 text-white transition-colors duration-200">
                <i data-feather="save" class="w-5 h-5"></i>
            </button>
        </div>

        <!-- Settings Cards -->
        <div class="grid gap-6">
            <!-- Download Settings -->
            <div class="bg-white/10 backdrop-blur-lg rounded-2xl p-6 border border-white/20">
                <div class="flex items-center space-x-3 mb-4">
                    <i data-feather="download" class="w-6 h-6 text-white"></i>
                    <h2 class="text-xl font-semibold text-white">Download Settings</h2>
                </div>
                
                <div class="space-y-4">
                    <div class="flex items-center justify-between">
                        <div>
                            <h3 class="text-white font-medium">Default Quality</h3>
                            <p class="text-white/70 text-sm">Set preferred video quality</p>
                        </div>
                        <select class="px-3 py-2 rounded-lg bg-white/10 border border-white/20 text-white focus:outline-none focus:ring-2 focus:ring-white/50">
                            <option>Auto (Highest)</option>
                            <option selected>720p</option>
                            <option>480p</option>
                            <option>360p</option>
                        </select>
                    </div>

                    <div class="flex items-center justify-between">
                        <div>
                            <h3 class="text-white font-medium">Download Location</h3>
                            <p class="text-white/70 text-sm">Choose where to save files</p>
                        </div>
                        <button class="px-4 py-2 bg-white/10 hover:bg-white/20 border border-white/20 text-white rounded-lg transition-colors duration-200">
                            Browse...
                        </button>
                    </div>

                    <div class="flex items-center justify-between">
                        <div>
                            <h3 class="text-white font-medium">Simultaneous Downloads</h3>
                            <p class="text-white/70 text-sm">Number of parallel downloads</p>
                        </div>
                        <input type="number" value="1" min="1" max="5" 
                               class="w-20 px-3 py-2 rounded-lg bg-white/10 border border-white/20 text-white text-center focus:outline-none focus:ring-2 focus:ring-white/50">
                    </div>
                </div>
            </div>

            <!-- Security Settings -->
            <div class="bg-white/10 backdrop-blur-lg rounded-2xl p-6 border border-white/20">
                <div class="flex items-center space-x-3 mb-4">
                    <i data-feather="shield" class="w-6 h-6 text-white"></i>
                    <h2 class="text-xl font-semibold text-white">Security & Privacy</h2>
                </div>
                
                <div class="space-y-4">
                    <div class="flex items-center justify-between">
                        <div>
                            <h3 class="text-white font-medium">Clear Download History</h3>
                            <p class="text-white/70 text-sm">Remove all download records</p>
                        </div>
                        <button class="px-4 py-2 bg-red-500/20 hover:bg-red-500/30 border border-red-500/30 text-red-300 rounded-lg transition-colors duration-200">
                            Clear All
                        </button>
                    </div>

                    <div class="flex items-center justify-between">
                        <div>
                            <h3 class="text-white font-medium">Auto-logout</h3>
                            <p class="text-white/70 text-sm">Logout after inactivity</p>
                        </div>
                        <label class="relative inline-flex items-center cursor-pointer">
                            <input type="checkbox" class="sr-only peer" checked>
                            <div class="w-11 h-6 bg-white/20 peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-green-500/30"></div>
                        </label>
                    </div>

                    <div class="flex items-center justify-between">
                        <div>
                            <h3 class="text-white font-medium">DRM Content Warning</h3>
                            <p class="text-white/70 text-sm">Show warning for protected content</p>
                        </div>
                        <label class="relative inline-flex items-center cursor-pointer">
                            <input type="checkbox" class="sr-only peer" checked>
                            <div class="w-11 h-6 bg-white/20 peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-green-500/30"></div>
                        </label>
                    </div>
                </div>
            </div>

            <!-- Platform Settings -->
            <div class="bg-white/10 backdrop-blur-lg rounded-2xl p-6 border border-white/20">
                <div class="flex items-center space-x-3 mb-4">
                    <i data-feather="tv" class="w-6 h-6 text-white"></i>
                    <h2 class="text-xl font-semibold text-white">Platform Configuration</h2>
                </div>
                
                <div class="space-y-4">
                    <div class="flex items-center justify-between">
                        <div class="flex items-center space-x-3">
                            <i data-feather="tv" class="w-5 h-5 text-white/70"></i>
                            <div>
                                <h3 class="text-white font-medium">JioCinema</h3>
                                <p class="text-white/70 text-sm">Not authenticated</p>
                            </div>
                        </div>
                        <button class="px-4 py-2 bg-white/10 hover:bg-white/20 border border-white/20 text-white rounded-lg transition-colors duration-200">
                            Login
                        </button>
                    </div>

                    <div class="flex items-center justify-between">
                        <div class="flex items-center space-x-3">
                            <i data-feather="tv" class="w-5 h-5 text-white/70"></i>
                            <div>
                                <h3 class="text-white font-medium">Hotstar</h3>
                                <p class="text-white/70 text-sm">Authenticated</p>
                            </div>
                        </div>
                        <button class="px-4 py-2 bg-red-500/20 hover:bg-red-500/30 border border-red-500/30 text-red-300 rounded-lg transition-colors duration-200">
                            Logout
                        </button>
                    </div>

                    <div class="flex items-center justify-between">
                        <div class="flex items-center space-x-3">
                            <i data-feather="tv" class="w-5 h-5 text-white/70"></i>
                            <div>
                                <h3 class="text-white font-medium">MX Player</h3>
                                <p class="text-white/70 text-sm">Not authenticated</p>
                            </div>
                        </div>
                        <button class="px-4 py-2 bg-white/10 hover:bg-white/20 border border-white/20 text-white rounded-lg transition-colors duration-200">
                            Login
                        </button>
                    </div>

                    <div class="flex items-center justify-between">
                        <div class="flex items-center space-x-3">
                            <i data-feather="tv" class="w-5 h-5 text-white/70"></i>
                            <div>
                                <h3 class="text-white font-medium">Zee5</h3>
                                <p class="text-white/70 text-sm">Authenticated</p>
                            </div>
                        </div>
                        <button class="px-4 py-2 bg-red-500/20 hover:bg-red-500/30 border border-red-500/30 text-red-300 rounded-lg transition-colors duration-200">
                            Logout
                        </button>
                    </div>
                </div>
            </div>

            <!-- Advanced Settings -->
            <div class="bg-white/10 backdrop-blur-lg rounded-2xl p-6 border border-white/20">
                <div class="flex items-center space-x-3 mb-4">
                    <i data-feather="settings" class="w-6 h-6 text-white"></i>
                    <h2 class="text-xl font-semibold text-white">Advanced</h2>
                </div>
                
                <div class="space-y-4">
                    <div class="flex items-center justify-between">
                        <div>
                            <h3 class="text-white font-medium">User Agent</h3>
                            <p class="text-white/70 text-sm">Custom browser identification</p>
                        </div>
                        <select class="px-3 py-2 rounded-lg bg-white/10 border border-white/20 text-white focus:outline-none focus:ring-2 focus:ring-white/50">
                            <option>Default</option>
                            <option>Chrome Desktop</option>
                            <option>Firefox Mobile</option>
                            <option>Custom...</option>
                        </select>
                    </div>

                    <div class="flex items-center justify-between">
                        <div>
                            <h3 class="text-white font-medium">Connection Timeout</h3>
                            <p class="text-white/70 text-sm">Request timeout in seconds</p>
                        </div>
                        <input type="number" value="30" min="10" max="120" 
                               class="w-20 px-3 py-2 rounded-lg bg-white/10 border border-white/20 text-white text-center focus:outline-none focus:ring-2 focus:ring-white/50">
                    </div>

                    <div class="flex items-center justify-between">
                        <div>
                            <h3 class="text-white font-medium">Debug Mode</h3>
                            <p class="text-white/70 text-sm">Show detailed logs</p>
                        </div>
                        <label class="relative inline-flex items-center cursor-pointer">
                            <input type="checkbox" class="sr-only peer">
                            <div class="w-11 h-6 bg-white/20 peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-green-500/30"></div>
                        </label>
                    </div>
                </div>
            </div>
        </div>

        <!-- Reset Section -->
        <div class="mt-8 text-center">
            <button class="px-6 py-3 bg-red-500/20 hover:bg-red-500/30 border border-red-500/30 text-red-300 rounded-lg transition-colors duration-200 font-medium">
                Reset All Settings to Default
            </button>
        </div>
    </div>

    <script>
        // Initialize Feather Icons
        feather.replace();
    </script>
</body>
</html>