0qwpifs commited on
Commit
c9f979e
·
verified ·
1 Parent(s): 7a92ae0

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. index.html +766 -19
index.html CHANGED
@@ -1,19 +1,766 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="ru">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Roblox Aero Theme - Stylus Preview</title>
7
+ <link href="https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&family=Caveat:wght@400;700&display=swap" rel="stylesheet">
8
+ <style>
9
+ * {
10
+ margin: 0;
11
+ padding: 0;
12
+ box-sizing: border-box;
13
+ }
14
+
15
+ :root {
16
+ --primary-black: #0a0a0a;
17
+ --secondary-black: #1a1a1a;
18
+ --glass-bg: rgba(20, 20, 20, 0.7);
19
+ --glass-border: rgba(255, 255, 255, 0.1);
20
+ --accent-yellow: #ffd700;
21
+ --accent-yellow-hover: #ffed4e;
22
+ --text-primary: #ffffff;
23
+ --text-secondary: #b0b0b0;
24
+ --handwritten: 'Kalam', cursive;
25
+ --cursive: 'Caveat', cursive;
26
+ }
27
+
28
+ body {
29
+ font-family: var(--handwritten);
30
+ background: var(--primary-black);
31
+ color: var(--text-primary);
32
+ min-height: 100vh;
33
+ background-image:
34
+ radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
35
+ radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
36
+ radial-gradient(circle at 40% 20%, rgba(255, 215, 0, 0.08) 0%, transparent 50%);
37
+ position: relative;
38
+ overflow-x: hidden;
39
+ }
40
+
41
+ body::before {
42
+ content: '';
43
+ position: fixed;
44
+ top: 0;
45
+ left: 0;
46
+ right: 0;
47
+ bottom: 0;
48
+ background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080"><defs><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/><feColorMatrix type="matrix" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.05 0"/></filter></defs><rect width="1920" height="1080" filter="url(%23noise)" opacity="0.4"/></svg>');
49
+ opacity: 0.03;
50
+ pointer-events: none;
51
+ z-index: 1;
52
+ }
53
+
54
+ .container {
55
+ position: relative;
56
+ z-index: 2;
57
+ }
58
+
59
+ /* Aero Glass Effect */
60
+ .glass {
61
+ background: var(--glass-bg);
62
+ backdrop-filter: blur(10px);
63
+ -webkit-backdrop-filter: blur(10px);
64
+ border: 1px solid var(--glass-border);
65
+ box-shadow:
66
+ 0 8px 32px rgba(0, 0, 0, 0.3),
67
+ inset 0 1px 0 rgba(255, 255, 255, 0.1),
68
+ 0 0 40px rgba(255, 215, 0, 0.05);
69
+ }
70
+
71
+ /* Navigation Bar */
72
+ nav {
73
+ position: sticky;
74
+ top: 0;
75
+ z-index: 1000;
76
+ padding: 15px 30px;
77
+ margin: 10px;
78
+ border-radius: 20px;
79
+ }
80
+
81
+ .nav-content {
82
+ display: flex;
83
+ justify-content: space-between;
84
+ align-items: center;
85
+ max-width: 1400px;
86
+ margin: 0 auto;
87
+ }
88
+
89
+ .logo {
90
+ font-size: 28px;
91
+ font-weight: 700;
92
+ color: var(--accent-yellow);
93
+ text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
94
+ cursor: pointer;
95
+ transition: all 0.3s ease;
96
+ }
97
+
98
+ .logo:hover {
99
+ transform: scale(1.05);
100
+ text-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
101
+ }
102
+
103
+ .nav-links {
104
+ display: flex;
105
+ gap: 30px;
106
+ list-style: none;
107
+ }
108
+
109
+ .nav-links a {
110
+ color: var(--text-primary);
111
+ text-decoration: none;
112
+ font-size: 16px;
113
+ transition: all 0.3s ease;
114
+ position: relative;
115
+ padding: 5px 10px;
116
+ }
117
+
118
+ .nav-links a::after {
119
+ content: '';
120
+ position: absolute;
121
+ bottom: -2px;
122
+ left: 0;
123
+ right: 0;
124
+ height: 2px;
125
+ background: var(--accent-yellow);
126
+ transform: scaleX(0);
127
+ transition: transform 0.3s ease;
128
+ }
129
+
130
+ .nav-links a:hover::after {
131
+ transform: scaleX(1);
132
+ }
133
+
134
+ .search-bar {
135
+ display: flex;
136
+ align-items: center;
137
+ gap: 10px;
138
+ padding: 10px 20px;
139
+ border-radius: 25px;
140
+ min-width: 300px;
141
+ }
142
+
143
+ .search-bar input {
144
+ background: none;
145
+ border: none;
146
+ color: var(--text-primary);
147
+ font-family: var(--handwritten);
148
+ font-size: 14px;
149
+ width: 100%;
150
+ outline: none;
151
+ }
152
+
153
+ .search-bar input::placeholder {
154
+ color: var(--text-secondary);
155
+ }
156
+
157
+ .search-icon {
158
+ color: var(--accent-yellow);
159
+ cursor: pointer;
160
+ transition: transform 0.3s ease;
161
+ }
162
+
163
+ .search-icon:hover {
164
+ transform: scale(1.2);
165
+ }
166
+
167
+ /* Hero Section */
168
+ .hero {
169
+ padding: 40px 30px;
170
+ margin: 20px;
171
+ border-radius: 20px;
172
+ text-align: center;
173
+ }
174
+
175
+ .hero h1 {
176
+ font-family: var(--cursive);
177
+ font-size: 48px;
178
+ margin-bottom: 20px;
179
+ background: linear-gradient(135deg, var(--accent-yellow), #fff);
180
+ -webkit-background-clip: text;
181
+ -webkit-text-fill-color: transparent;
182
+ animation: glow 2s ease-in-out infinite alternate;
183
+ }
184
+
185
+ @keyframes glow {
186
+ from { filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5)); }
187
+ to { filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.8)); }
188
+ }
189
+
190
+ .hero p {
191
+ font-size: 18px;
192
+ color: var(--text-secondary);
193
+ margin-bottom: 30px;
194
+ }
195
+
196
+ .cta-button {
197
+ display: inline-block;
198
+ padding: 15px 40px;
199
+ background: linear-gradient(135deg, var(--accent-yellow), #ffed4e);
200
+ color: var(--primary-black);
201
+ border: none;
202
+ border-radius: 30px;
203
+ font-family: var(--handwritten);
204
+ font-size: 18px;
205
+ font-weight: 700;
206
+ cursor: pointer;
207
+ transition: all 0.3s ease;
208
+ box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
209
+ }
210
+
211
+ .cta-button:hover {
212
+ transform: translateY(-2px);
213
+ box-shadow: 0 6px 30px rgba(255, 215, 0, 0.5);
214
+ }
215
+
216
+ .cta-button:active {
217
+ transform: translateY(0);
218
+ box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
219
+ }
220
+
221
+ /* Games Grid */
222
+ .games-section {
223
+ padding: 40px 30px;
224
+ margin: 20px;
225
+ border-radius: 20px;
226
+ }
227
+
228
+ .section-header {
229
+ display: flex;
230
+ justify-content: space-between;
231
+ align-items: center;
232
+ margin-bottom: 30px;
233
+ }
234
+
235
+ .section-header h2 {
236
+ font-family: var(--cursive);
237
+ font-size: 32px;
238
+ color: var(--accent-yellow);
239
+ }
240
+
241
+ .view-all {
242
+ color: var(--accent-yellow);
243
+ text-decoration: none;
244
+ font-size: 16px;
245
+ transition: all 0.3s ease;
246
+ }
247
+
248
+ .view-all:hover {
249
+ transform: translateX(5px);
250
+ }
251
+
252
+ .games-grid {
253
+ display: grid;
254
+ grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
255
+ gap: 20px;
256
+ }
257
+
258
+ .game-card {
259
+ border-radius: 15px;
260
+ padding: 15px;
261
+ cursor: pointer;
262
+ transition: all 0.3s ease;
263
+ position: relative;
264
+ overflow: hidden;
265
+ }
266
+
267
+ .game-card::before {
268
+ content: '';
269
+ position: absolute;
270
+ top: 0;
271
+ left: 0;
272
+ right: 0;
273
+ bottom: 0;
274
+ background: linear-gradient(135deg, transparent, rgba(255, 215, 0, 0.1));
275
+ opacity: 0;
276
+ transition: opacity 0.3s ease;
277
+ }
278
+
279
+ .game-card:hover {
280
+ transform: translateY(-5px);
281
+ border-color: var(--accent-yellow);
282
+ box-shadow: 0 10px 40px rgba(255, 215, 0, 0.2);
283
+ }
284
+
285
+ .game-card:hover::before {
286
+ opacity: 1;
287
+ }
288
+
289
+ .game-thumbnail {
290
+ width: 100%;
291
+ height: 150px;
292
+ background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
293
+ border-radius: 10px;
294
+ margin-bottom: 15px;
295
+ position: relative;
296
+ overflow: hidden;
297
+ }
298
+
299
+ .game-thumbnail img {
300
+ width: 100%;
301
+ height: 100%;
302
+ object-fit: cover;
303
+ opacity: 0.8;
304
+ }
305
+
306
+ .game-info h3 {
307
+ font-size: 18px;
308
+ margin-bottom: 5px;
309
+ color: var(--text-primary);
310
+ }
311
+
312
+ .game-info p {
313
+ font-size: 14px;
314
+ color: var(--text-secondary);
315
+ margin-bottom: 10px;
316
+ }
317
+
318
+ .game-stats {
319
+ display: flex;
320
+ gap: 15px;
321
+ font-size: 12px;
322
+ color: var(--accent-yellow);
323
+ }
324
+
325
+ /* User Profile Section */
326
+ .profile-section {
327
+ padding: 40px 30px;
328
+ margin: 20px;
329
+ border-radius: 20px;
330
+ }
331
+
332
+ .profile-card {
333
+ display: flex;
334
+ align-items: center;
335
+ gap: 30px;
336
+ padding: 30px;
337
+ border-radius: 15px;
338
+ }
339
+
340
+ .avatar {
341
+ width: 120px;
342
+ height: 120px;
343
+ border-radius: 50%;
344
+ background: linear-gradient(135deg, var(--accent-yellow), #ffed4e);
345
+ padding: 5px;
346
+ position: relative;
347
+ }
348
+
349
+ .avatar img {
350
+ width: 100%;
351
+ height: 100%;
352
+ border-radius: 50%;
353
+ object-fit: cover;
354
+ background: var(--secondary-black);
355
+ }
356
+
357
+ .profile-info h3 {
358
+ font-family: var(--cursive);
359
+ font-size: 28px;
360
+ margin-bottom: 10px;
361
+ color: var(--accent-yellow);
362
+ }
363
+
364
+ .profile-stats {
365
+ display: flex;
366
+ gap: 30px;
367
+ margin-top: 20px;
368
+ }
369
+
370
+ .stat-item {
371
+ text-align: center;
372
+ }
373
+
374
+ .stat-value {
375
+ font-size: 24px;
376
+ font-weight: 700;
377
+ color: var(--accent-yellow);
378
+ }
379
+
380
+ .stat-label {
381
+ font-size: 14px;
382
+ color: var(--text-secondary);
383
+ }
384
+
385
+ /* Buttons */
386
+ .btn {
387
+ padding: 10px 25px;
388
+ border: 1px solid var(--accent-yellow);
389
+ background: transparent;
390
+ color: var(--accent-yellow);
391
+ border-radius: 20px;
392
+ font-family: var(--handwritten);
393
+ font-size: 14px;
394
+ cursor: pointer;
395
+ transition: all 0.3s ease;
396
+ position: relative;
397
+ overflow: hidden;
398
+ }
399
+
400
+ .btn::before {
401
+ content: '';
402
+ position: absolute;
403
+ top: 50%;
404
+ left: 50%;
405
+ width: 0;
406
+ height: 0;
407
+ background: var(--accent-yellow);
408
+ border-radius: 50%;
409
+ transform: translate(-50%, -50%);
410
+ transition: width 0.3s ease, height 0.3s ease;
411
+ }
412
+
413
+ .btn:hover::before {
414
+ width: 300px;
415
+ height: 300px;
416
+ }
417
+
418
+ .btn:hover {
419
+ color: var(--primary-black);
420
+ transform: scale(1.05);
421
+ }
422
+
423
+ .btn span {
424
+ position: relative;
425
+ z-index: 1;
426
+ }
427
+
428
+ /* Footer */
429
+ footer {
430
+ padding: 40px 30px;
431
+ margin: 20px;
432
+ border-radius: 20px;
433
+ text-align: center;
434
+ }
435
+
436
+ .footer-links {
437
+ display: flex;
438
+ justify-content: center;
439
+ gap: 30px;
440
+ margin-bottom: 20px;
441
+ list-style: none;
442
+ }
443
+
444
+ .footer-links a {
445
+ color: var(--text-secondary);
446
+ text-decoration: none;
447
+ transition: color 0.3s ease;
448
+ }
449
+
450
+ .footer-links a:hover {
451
+ color: var(--accent-yellow);
452
+ }
453
+
454
+ /* Responsive Design */
455
+ @media (max-width: 768px) {
456
+ .nav-links {
457
+ display: none;
458
+ }
459
+
460
+ .search-bar {
461
+ min-width: auto;
462
+ }
463
+
464
+ .hero h1 {
465
+ font-size: 32px;
466
+ }
467
+
468
+ .games-grid {
469
+ grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
470
+ }
471
+
472
+ .profile-card {
473
+ flex-direction: column;
474
+ text-align: center;
475
+ }
476
+
477
+ .profile-stats {
478
+ justify-content: center;
479
+ }
480
+ }
481
+
482
+ /* Loading Animation */
483
+ .loading {
484
+ display: inline-block;
485
+ width: 20px;
486
+ height: 20px;
487
+ border: 3px solid var(--glass-border);
488
+ border-top-color: var(--accent-yellow);
489
+ border-radius: 50%;
490
+ animation: spin 1s linear infinite;
491
+ }
492
+
493
+ @keyframes spin {
494
+ to { transform: rotate(360deg); }
495
+ }
496
+
497
+ /* Tooltip */
498
+ .tooltip {
499
+ position: relative;
500
+ }
501
+
502
+ .tooltip::after {
503
+ content: attr(data-tooltip);
504
+ position: absolute;
505
+ bottom: 125%;
506
+ left: 50%;
507
+ transform: translateX(-50%);
508
+ padding: 8px 12px;
509
+ background: var(--glass-bg);
510
+ color: var(--accent-yellow);
511
+ border-radius: 8px;
512
+ font-size: 12px;
513
+ white-space: nowrap;
514
+ opacity: 0;
515
+ pointer-events: none;
516
+ transition: opacity 0.3s ease;
517
+ border: 1px solid var(--glass-border);
518
+ }
519
+
520
+ .tooltip:hover::after {
521
+ opacity: 1;
522
+ }
523
+ </style>
524
+ </head>
525
+ <body>
526
+ <div class="container">
527
+ <!-- Navigation -->
528
+ <nav class="glass">
529
+ <div class="nav-content">
530
+ <div class="logo">roblox</div>
531
+ <ul class="nav-links">
532
+ <li><a href="#discover">Discover</a></li>
533
+ <li><a href="#create">Create</a></li>
534
+ <li><a href="#marketplace">Marketplace</a></li>
535
+ <li><a href="#robux">Get Robux</a></li>
536
+ </ul>
537
+ <div class="search-bar glass">
538
+ <span class="search-icon">🔍</span>
539
+ <input type="text" placeholder="Искать игры, предметы и многое другое...">
540
+ </div>
541
+ </div>
542
+ </nav>
543
+
544
+ <!-- Hero Section -->
545
+ <section class="hero glass">
546
+ <h1>Добро пожаловать в Roblox</h1>
547
+ <p>Исследуй миллионы игр и создавай свои собственные миры</p>
548
+ <button class="cta-button" onclick="handlePlay()">Начать игру</button>
549
+ </section>
550
+
551
+ <!-- Games Section -->
552
+ <section class="games-section glass">
553
+ <div class="section-header">
554
+ <h2>Популярные игры</h2>
555
+ <a href="#" class="view-all">Смотреть все →</a>
556
+ </div>
557
+ <div class="games-grid" id="gamesGrid">
558
+ <!-- Games will be dynamically added -->
559
+ </div>
560
+ </section>
561
+
562
+ <!-- Profile Section -->
563
+ <section class="profile-section glass">
564
+ <div class="profile-card">
565
+ <div class="avatar">
566
+ <img src="https://picsum.photos/seed/avatar1/200/200" alt="Avatar">
567
+ </div>
568
+ <div class="profile-info">
569
+ <h3>ИгровойПрофиль</h3>
570
+ <p>Уровень 42 • Онлайн</p>
571
+ <div class="profile-stats">
572
+ <div class="stat-item">
573
+ <div class="stat-value">1.2K</div>
574
+ <div class="stat-label">Друзей</div>
575
+ </div>
576
+ <div class="stat-item">
577
+ <div class="stat-value">234</div>
578
+ <div class="stat-label">Следующие</div>
579
+ </div>
580
+ <div class="stat-item">
581
+ <div class="stat-value">89</div>
582
+ <div class="stat-label">Созданные игры</div>
583
+ </div>
584
+ </div>
585
+ <div style="margin-top: 20px;">
586
+ <button class="btn"><span>Редактировать профиль</span></button>
587
+ <button class="btn tooltip" data-tooltip="Настройки"><span>⚙️</span></button>
588
+ </div>
589
+ </div>
590
+ </div>
591
+ </section>
592
+
593
+ <!-- Categories -->
594
+ <section class="games-section glass">
595
+ <div class="section-header">
596
+ <h2>Категории</h2>
597
+ </div>
598
+ <div style="display: flex; gap: 15px; flex-wrap: wrap;">
599
+ <button class="btn"><span>😎 Приключения</span></button>
600
+ <button class="btn"><span>🏰 RPG</span></button>
601
+ <button class="btn"><span>🎯 Симуляторы</span></button>
602
+ <button class="btn"><span>⚔️ Боевые</span></button>
603
+ <button class="btn"><span>🏃 Спорт</span></button>
604
+ <button class="btn"><span>🎮 Аркады</span></button>
605
+ <button class="btn"><span>🎨 Творчество</span></button>
606
+ <button class="btn"><span>👥 Социальные</span></button>
607
+ </div>
608
+ </section>
609
+
610
+ <!-- Footer -->
611
+ <footer class="glass">
612
+ <ul class="footer-links">
613
+ <li><a href="#">О компании</a></li>
614
+ <li><a href="#">Карьера</a></li>
615
+ <li><a href="#">Блог</a></li>
616
+ <li><a href="#">Помощь</a></li>
617
+ <li><a href="#">Родители</a></li>
618
+ <li><a href="#">Безопасность</a></li>
619
+ </ul>
620
+ <p style="color: var(--text-secondary); font-size: 14px; margin-top: 10px;">
621
+ Built with <a href="https://huggingface.co/spaces/akhaliq/anycoder" style="color: var(--accent-yellow); text-decoration: none;">anycoder</a>
622
+ </p>
623
+ </footer>
624
+ </div>
625
+
626
+ <script>
627
+ // Game data
628
+ const games = [
629
+ { name: 'Adopt Me!', players: '150K+', image: 'adoptme' },
630
+ { name: 'Brookhaven', players: '120K+', image: 'brookhaven' },
631
+ { name: 'Tower of Hell', players: '85K+', image: 'tower' },
632
+ { name: 'MeepCity', players: '70K+', image: 'meepcity' },
633
+ { name: 'Royale High', players: '95K+', image: 'royale' },
634
+ { name: 'Jailbreak', players: '60K+', image: 'jailbreak' }
635
+ ];
636
+
637
+ // Populate games grid
638
+ function populateGames() {
639
+ const gamesGrid = document.getElementById('gamesGrid');
640
+ games.forEach(game => {
641
+ const gameCard = document.createElement('div');
642
+ gameCard.className = 'game-card glass';
643
+ gameCard.innerHTML = `
644
+ <div class="game-thumbnail">
645
+ <img src="https://picsum.photos/seed/${game.image}/300/200" alt="${game.name}">
646
+ </div>
647
+ <div class="game-info">
648
+ <h3>${game.name}</h3>
649
+ <p>🎮 Игра</p>
650
+ <div class="game-stats">
651
+ <span>👥 ${game.players}</span>
652
+ <span>⭐ 4.8</span>
653
+ </div>
654
+ </div>
655
+ `;
656
+ gameCard.onclick = () => handleGameClick(game.name);
657
+ gamesGrid.appendChild(gameCard);
658
+ });
659
+ }
660
+
661
+ // Handle play button click
662
+ function handlePlay() {
663
+ const button = event.target;
664
+ button.innerHTML = '<span class="loading"></span> Загрузка...';
665
+ button.disabled = true;
666
+
667
+ setTimeout(() => {
668
+ button.innerHTML = 'Начать игру';
669
+ button.disabled = false;
670
+ showNotification('Готово к игре! 🎮');
671
+ }, 2000);
672
+ }
673
+
674
+ // Handle game card click
675
+ function handleGameClick(gameName) {
676
+ showNotification(`Запускаем ${gameName}...`);
677
+ }
678
+
679
+ // Show notification
680
+ function showNotification(message) {
681
+ const notification = document.createElement('div');
682
+ notification.style.cssText = `
683
+ position: fixed;
684
+ top: 20px;
685
+ right: 20px;
686
+ padding: 15px 25px;
687
+ background: var(--glass-bg);
688
+ backdrop-filter: blur(10px);
689
+ border: 1px solid var(--accent-yellow);
690
+ border-radius: 10px;
691
+ color: var(--accent-yellow);
692
+ font-family: var(--handwritten);
693
+ z-index: 2000;
694
+ animation: slideIn 0.3s ease;
695
+ `;
696
+ notification.textContent = message;
697
+ document.body.appendChild(notification);
698
+
699
+ setTimeout(() => {
700
+ notification.style.animation = 'slideOut 0.3s ease';
701
+ setTimeout(() => notification.remove(), 300);
702
+ }, 3000);
703
+ }
704
+
705
+ // Add animations
706
+ const style = document.createElement('style');
707
+ style.textContent = `
708
+ @keyframes slideIn {
709
+ from { transform: translateX(100%); opacity: 0; }
710
+ to { transform: translateX(0); opacity: 1; }
711
+ }
712
+ @keyframes slideOut {
713
+ from { transform: translateX(0); opacity: 1; }
714
+ to { transform: translateX(100%); opacity: 0; }
715
+ }
716
+ `;
717
+ document.head.appendChild(style);
718
+
719
+ // Initialize
720
+ document.addEventListener('DOMContentLoaded', () => {
721
+ populateGames();
722
+
723
+ // Add search functionality
724
+ document.querySelector('.search-bar input').addEventListener('keypress', (e) => {
725
+ if (e.key === 'Enter') {
726
+ const searchTerm = e.target.value;
727
+ if (searchTerm) {
728
+ showNotification(`Поиск: "${searchTerm}"`);
729
+ e.target.value = '';
730
+ }
731
+ }
732
+ });
733
+
734
+ // Add smooth scroll
735
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
736
+ anchor.addEventListener('click', function (e) {
737
+ e.preventDefault();
738
+ const target = document.querySelector(this.getAttribute('href'));
739
+ if (target) {
740
+ target.scrollIntoView({ behavior: 'smooth' });
741
+ }
742
+ });
743
+ });
744
+
745
+ // Add interactive hover effects
746
+ document.querySelectorAll('.game-card').forEach(card => {
747
+ card.addEventListener('mouseenter', () => {
748
+ card.style.transform = 'translateY(-5px) scale(1.02)';
749
+ });
750
+ card.addEventListener('mouseleave', () => {
751
+ card.style.transform = 'translateY(0) scale(1)';
752
+ });
753
+ });
754
+ });
755
+
756
+ // Add keyboard shortcuts
757
+ document.addEventListener('keydown', (e) => {
758
+ // Ctrl/Cmd + K for search focus
759
+ if ((e.ctrlKey || e.metaKey) && e.key === 'k') {
760
+ e.preventDefault();
761
+ document.querySelector('.search-bar input').focus();
762
+ }
763
+ });
764
+ </script>
765
+ </body>
766
+ </html>