File size: 28,009 Bytes
7789e0d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
<!DOCTYPE html>
<html lang="ru">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Математическая олимпиада | Возрастные категории</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>
        .category-card {
            transition: all 0.3s ease;
        }
        .category-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
        }
        .tab-button {
            transition: all 0.2s ease;
        }
        .tab-button.active {
            border-bottom-width: 3px;
            border-color: #3b82f6;
            color: #3b82f6;
        }
    </style>
</head>
<body class="bg-gray-50 font-sans">
    <div class="container mx-auto px-4 py-8 max-w-6xl">
        <!-- Заголовок -->
        <div class="text-center mb-12">
            <h1 class="text-4xl font-bold text-gray-800 mb-3">Математическая олимпиада</h1>
            <p class="text-xl text-gray-600 max-w-3xl mx-auto">Проверьте свои знания и решите интересные задачи в своей возрастной категории</p>
        </div>

        <!-- Навигация по категориям -->
        <div class="flex justify-center mb-10">
            <div class="inline-flex rounded-md shadow-sm" role="group">
                <button onclick="showCategory('junior')" class="tab-button active px-6 py-3 text-sm font-medium rounded-l-lg border focus:outline-none focus:ring-2 focus:ring-blue-500">
                    <i class="fas fa-child mr-2"></i> Младшие классы
                </button>
                <button onclick="showCategory('middle')" class="tab-button px-6 py-3 text-sm font-medium border-t border-b border-gray-200 focus:outline-none focus:ring-2 focus:ring-blue-500">
                    <i class="fas fa-user-graduate mr-2"></i> Средние классы
                </button>
                <button onclick="showCategory('senior')" class="tab-button px-6 py-3 text-sm font-medium border-t border-b border-gray-200 focus:outline-none focus:ring-2 focus:ring-blue-500">
                    <i class="fas fa-user-tie mr-2"></i> Старшие классы
                </button>
                <button onclick="showCategory('student')" class="tab-button px-6 py-3 text-sm font-medium rounded-r-lg border focus:outline-none focus:ring-2 focus:ring-blue-500">
                    <i class="fas fa-graduation-cap mr-2"></i> Студенты
                </button>
            </div>
        </div>

        <!-- Контент для младших классов (по умолчанию активен) -->
        <div id="junior" class="category-content">
            <div class="grid md:grid-cols-2 gap-8">
                <div class="category-card bg-white p-8 rounded-xl shadow-md border border-gray-100">
                    <div class="flex items-center mb-4">
                        <div class="bg-blue-100 p-3 rounded-full mr-4">
                            <i class="fas fa-calendar-alt text-blue-600 text-xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold text-gray-800">Даты проведения</h3>
                    </div>
                    <p class="text-gray-600 mb-4">Олимпиада проводится в два этапа:</p>
                    <ul class="space-y-2 text-gray-600">
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
                            <span>Отборочный тур: 15-20 октября 2023</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
                            <span>Финальный тур: 10-12 декабря 2023</span>
                        </li>
                    </ul>
                </div>

                <div class="category-card bg-white p-8 rounded-xl shadow-md border border-gray-100">
                    <div class="flex items-center mb-4">
                        <div class="bg-purple-100 p-3 rounded-full mr-4">
                            <i class="fas fa-tasks text-purple-600 text-xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold text-gray-800">Темы заданий</h3>
                    </div>
                    <p class="text-gray-600 mb-4">Задания охватывают следующие темы:</p>
                    <div class="flex flex-wrap gap-2">
                        <span class="px-3 py-1 bg-blue-50 text-blue-600 rounded-full text-sm">Арифметика</span>
                        <span class="px-3 py-1 bg-blue-50 text-blue-600 rounded-full text-sm">Геометрия</span>
                        <span class="px-3 py-1 bg-blue-50 text-blue-600 rounded-full text-sm">Логика</span>
                        <span class="px-3 py-1 bg-blue-50 text-blue-600 rounded-full text-sm">Задачи на смекалку</span>
                    </div>
                </div>

                <div class="category-card bg-white p-8 rounded-xl shadow-md border border-gray-100">
                    <div class="flex items-center mb-4">
                        <div class="bg-yellow-100 p-3 rounded-full mr-4">
                            <i class="fas fa-award text-yellow-600 text-xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold text-gray-800">Награды</h3>
                    </div>
                    <p class="text-gray-600 mb-4">Победители получат:</p>
                    <ul class="space-y-2 text-gray-600">
                        <li class="flex items-start">
                            <i class="fas fa-medal text-yellow-500 mt-1 mr-2"></i>
                            <span>Дипломы и грамоты</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-gift text-pink-500 mt-1 mr-2"></i>
                            <span>Подарочные сертификаты в книжные магазины</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-trophy text-amber-700 mt-1 mr-2"></i>
                            <span>Возможность участия в летней математической школе</span>
                        </li>
                    </ul>
                </div>

                <div class="category-card bg-white p-8 rounded-xl shadow-md border border-gray-100">
                    <div class="flex items-center mb-4">
                        <div class="bg-green-100 p-3 rounded-full mr-4">
                            <i class="fas fa-info-circle text-green-600 text-xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold text-gray-800">Дополнительная информация</h3>
                    </div>
                    <p class="text-gray-600 mb-4">Для учащихся 1-4 классов. Продолжительность олимпиады - 60 минут.</p>
                    <p class="text-gray-600">Задания разработаны с учётом возрастных особенностей и направлены на развитие логического мышления и математической интуиции.</p>
                </div>
            </div>
        </div>

        <!-- Контент для средних классов (скрыт по умолчанию) -->
        <div id="middle" class="category-content hidden">
            <div class="grid md:grid-cols-2 gap-8">
                <div class="category-card bg-white p-8 rounded-xl shadow-md border border-gray-100">
                    <div class="flex items-center mb-4">
                        <div class="bg-blue-100 p-3 rounded-full mr-4">
                            <i class="fas fa-calendar-alt text-blue-600 text-xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold text-gray-800">Даты проведения</h3>
                    </div>
                    <p class="text-gray-600 mb-4">Олимпиада проводится в три этапа:</p>
                    <ul class="space-y-2 text-gray-600">
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
                            <span>Школьный тур: 1-5 октября 2023</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
                            <span>Городской тур: 15-20 ноября 2023</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
                            <span>Финальный тур: 10-15 января 2024</span>
                        </li>
                    </ul>
                </div>

                <div class="category-card bg-white p-8 rounded-xl shadow-md border border-gray-100">
                    <div class="flex items-center mb-4">
                        <div class="bg-purple-100 p-3 rounded-full mr-4">
                            <i class="fas fa-tasks text-purple-600 text-xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold text-gray-800">Темы заданий</h3>
                    </div>
                    <p class="text-gray-600 mb-4">Задания охватывают следующие темы:</p>
                    <div class="flex flex-wrap gap-2">
                        <span class="px-3 py-1 bg-blue-50 text-blue-600 rounded-full text-sm">Алгебра</span>
                        <span class="px-3 py-1 bg-blue-50 text-blue-600 rounded-full text-sm">Геометрия</span>
                        <span class="px-3 py-1 bg-blue-50 text-blue-600 rounded-full text-sm">Комбинаторика</span>
                        <span class="px-3 py-1 bg-blue-50 text-blue-600 rounded-full text-sm">Теория чисел</span>
                        <span class="px-3 py-1 bg-blue-50 text-blue-600 rounded-full text-sm">Логические задачи</span>
                    </div>
                </div>

                <div class="category-card bg-white p-8 rounded-xl shadow-md border border-gray-100">
                    <div class="flex items-center mb-4">
                        <div class="bg-yellow-100 p-3 rounded-full mr-4">
                            <i class="fas fa-award text-yellow-600 text-xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold text-gray-800">Награды</h3>
                    </div>
                    <p class="text-gray-600 mb-4">Победители получат:</p>
                    <ul class="space-y-2 text-gray-600">
                        <li class="flex items-start">
                            <i class="fas fa-medal text-yellow-500 mt-1 mr-2"></i>
                            <span>Дипломы и грамоты</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-gift text-pink-500 mt-1 mr-2"></i>
                            <span>Подарочные сертификаты на образовательные курсы</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-trophy text-amber-700 mt-1 mr-2"></i>
                            <span>Путевки в математический лагерь</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-book text-blue-500 mt-1 mr-2"></i>
                            <span>Научно-популярные книги по математике</span>
                        </li>
                    </ul>
                </div>

                <div class="category-card bg-white p-8 rounded-xl shadow-md border border-gray-100">
                    <div class="flex items-center mb-4">
                        <div class="bg-green-100 p-3 rounded-full mr-4">
                            <i class="fas fa-info-circle text-green-600 text-xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold text-gray-800">Дополнительная информация</h3>
                    </div>
                    <p class="text-gray-600 mb-4">Для учащихся 5-8 классов. Продолжительность каждого тура - 90 минут.</p>
                    <p class="text-gray-600">Задания направлены на развитие аналитического мышления, умения работать с абстрактными понятиями и решать нестандартные задачи.</p>
                </div>
            </div>
        </div>

        <!-- Контент для старших классов (скрыт по умолчанию) -->
        <div id="senior" class="category-content hidden">
            <div class="grid md:grid-cols-2 gap-8">
                <div class="category-card bg-white p-8 rounded-xl shadow-md border border-gray-100">
                    <div class="flex items-center mb-4">
                        <div class="bg-blue-100 p-3 rounded-full mr-4">
                            <i class="fas fa-calendar-alt text-blue-600 text-xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold text-gray-800">Даты проведения</h3>
                    </div>
                    <p class="text-gray-600 mb-4">Олимпиада проводится в три этапа:</p>
                    <ul class="space-y-2 text-gray-600">
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
                            <span>Школьный тур: 1-10 октября 2023</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
                            <span>Региональный тур: 20-25 ноября 2023</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
                            <span>Финальный тур: 15-20 февраля 2024</span>
                        </li>
                    </ul>
                </div>

                <div class="category-card bg-white p-8 rounded-xl shadow-md border border-gray-100">
                    <div class="flex items-center mb-4">
                        <div class="bg-purple-100 p-3 rounded-full mr-4">
                            <i class="fas fa-tasks text-purple-600 text-xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold text-gray-800">Темы заданий</h3>
                    </div>
                    <p class="text-gray-600 mb-4">Задания охватывают следующие темы:</p>
                    <div class="flex flex-wrap gap-2">
                        <span class="px-3 py-1 bg-blue-50 text-blue-600 rounded-full text-sm">Алгебра</span>
                        <span class="px-3 py-1 bg-blue-50 text-blue-600 rounded-full text-sm">Геометрия</span>
                        <span class="px-3 py-1 bg-blue-50 text-blue-600 rounded-full text-sm">Тригонометрия</span>
                        <span class="px-3 py-1 bg-blue-50 text-blue-600 rounded-full text-sm">Комбинаторика</span>
                        <span class="px-3 py-1 bg-blue-50 text-blue-600 rounded-full text-sm">Теория чисел</span>
                        <span class="px-3 py-1 bg-blue-50 text-blue-600 rounded-full text-sm">Математический анализ</span>
                    </div>
                </div>

                <div class="category-card bg-white p-8 rounded-xl shadow-md border border-gray-100">
                    <div class="flex items-center mb-4">
                        <div class="bg-yellow-100 p-3 rounded-full mr-4">
                            <i class="fas fa-award text-yellow-600 text-xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold text-gray-800">Награды</h3>
                    </div>
                    <p class="text-gray-600 mb-4">Победители получат:</p>
                    <ul class="space-y-2 text-gray-600">
                        <li class="flex items-start">
                            <i class="fas fa-medal text-yellow-500 mt-1 mr-2"></i>
                            <span>Дипломы, дающие право на льготы при поступлении в вузы</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-gift text-pink-500 mt-1 mr-2"></i>
                            <span>Денежные премии</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-trophy text-amber-700 mt-1 mr-2"></i>
                            <span>Возможность участия в международных олимпиадах</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-laptop text-blue-500 mt-1 mr-2"></i>
                            <span>Ноутбуки или планшеты для победителей</span>
                        </li>
                    </ul>
                </div>

                <div class="category-card bg-white p-8 rounded-xl shadow-md border border-gray-100">
                    <div class="flex items-center mb-4">
                        <div class="bg-green-100 p-3 rounded-full mr-4">
                            <i class="fas fa-info-circle text-green-600 text-xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold text-gray-800">Дополнительная информация</h3>
                    </div>
                    <p class="text-gray-600 mb-4">Для учащихся 9-11 классов. Продолжительность каждого тура - 120 минут.</p>
                    <p class="text-gray-600">Олимпиада входит в перечень Минобрнауки РФ, что дает победителям и призерам льготы при поступлении в вузы. Задания высокого уровня сложности, соответствующие международным стандартам.</p>
                </div>
            </div>
        </div>

        <!-- Контент для студентов (скрыт по умолчанию) -->
        <div id="student" class="category-content hidden">
            <div class="grid md:grid-cols-2 gap-8">
                <div class="category-card bg-white p-8 rounded-xl shadow-md border border-gray-100">
                    <div class="flex items-center mb-4">
                        <div class="bg-blue-100 p-3 rounded-full mr-4">
                            <i class="fas fa-calendar-alt text-blue-600 text-xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold text-gray-800">Даты проведения</h3>
                    </div>
                    <p class="text-gray-600 mb-4">Олимпиада проводится в два этапа:</p>
                    <ul class="space-y-2 text-gray-600">
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
                            <span>Отборочный онлайн-тур: 1-15 ноября 2023</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
                            <span>Финальный тур: 10-12 марта 2024</span>
                        </li>
                    </ul>
                </div>

                <div class="category-card bg-white p-8 rounded-xl shadow-md border border-gray-100">
                    <div class="flex items-center mb-4">
                        <div class="bg-purple-100 p-3 rounded-full mr-4">
                            <i class="fas fa-tasks text-purple-600 text-xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold text-gray-800">Темы заданий</h3>
                    </div>
                    <p class="text-gray-600 mb-4">Задания охватывают следующие темы:</p>
                    <div class="flex flex-wrap gap-2">
                        <span class="px-3 py-1 bg-blue-50 text-blue-600 rounded-full text-sm">Высшая алгебра</span>
                        <span class="px-3 py-1 bg-blue-50 text-blue-600 rounded-full text-sm">Математический анализ</span>
                        <span class="px-3 py-1 bg-blue-50 text-blue-600 rounded-full text-sm">Дифференциальные уравнения</span>
                        <span class="px-3 py-1 bg-blue-50 text-blue-600 rounded-full text-sm">Теория вероятностей</span>
                        <span class="px-3 py-1 bg-blue-50 text-blue-600 rounded-full text-sm">Дискретная математика</span>
                        <span class="px-3 py-1 bg-blue-50 text-blue-600 rounded-full text-sm">Теория функций</span>
                    </div>
                </div>

                <div class="category-card bg-white p-8 rounded-xl shadow-md border border-gray-100">
                    <div class="flex items-center mb-4">
                        <div class="bg-yellow-100 p-3 rounded-full mr-4">
                            <i class="fas fa-award text-yellow-600 text-xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold text-gray-800">Награды</h3>
                    </div>
                    <p class="text-gray-600 mb-4">Победители получат:</p>
                    <ul class="space-y-2 text-gray-600">
                        <li class="flex items-start">
                            <i class="fas fa-medal text-yellow-500 mt-1 mr-2"></i>
                            <span>Дипломы и сертификаты</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-gift text-pink-500 mt-1 mr-2"></i>
                            <span>Денежные премии (1 место - 50 000 руб, 2 место - 30 000 руб, 3 место - 20 000 руб)</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-trophy text-amber-700 mt-1 mr-2"></i>
                            <span>Стажировки в ведущих IT-компаниях</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-book-open text-blue-500 mt-1 mr-2"></i>
                            <span>Гранты на участие в международных конференциях</span>
                        </li>
                    </ul>
                </div>

                <div class="category-card bg-white p-8 rounded-xl shadow-md border border-gray-100">
                    <div class="flex items-center mb-4">
                        <div class="bg-green-100 p-3 rounded-full mr-4">
                            <i class="fas fa-info-circle text-green-600 text-xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold text-gray-800">Дополнительная информация</h3>
                    </div>
                    <p class="text-gray-600 mb-4">Для студентов 1-4 курсов бакалавриата. Продолжительность финального тура - 180 минут.</p>
                    <p class="text-gray-600">Олимпиада проводится при поддержке ведущих математических факультетов страны. Задания высокого уровня сложности, многие из них требуют творческого подхода и глубоких знаний математических дисциплин.</p>
                </div>
            </div>
        </div>

        <!-- Кнопка регистрации -->
        <div class="text-center mt-12">
            <button class="bg-blue-600 hover:bg-blue-700 text-white font-bold py-3 px-8 rounded-full text-lg transition duration-300 transform hover:scale-105 shadow-lg">
                <i class="fas fa-pencil-alt mr-2"></i> Зарегистрироваться на олимпиаду
            </button>
        </div>
    </div>

    <script>
        function showCategory(categoryId) {
            // Скрываем все категории
            document.querySelectorAll('.category-content').forEach(el => {
                el.classList.add('hidden');
            });
            
            // Показываем выбранную категорию
            document.getElementById(categoryId).classList.remove('hidden');
            
            // Обновляем активную кнопку
            document.querySelectorAll('.tab-button').forEach(btn => {
                btn.classList.remove('active');
            });
            
            // Находим кнопку, соответствующую выбранной категории
            const activeButton = Array.from(document.querySelectorAll('.tab-button')).find(btn => {
                return btn.getAttribute('onclick').includes(categoryId);
            });
            
            if (activeButton) {
                activeButton.classList.add('active');
            }
        }
    </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=evgenii89/efeff" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>