Gostik321 commited on
Commit
cb39bb4
·
verified ·
1 Parent(s): 72e3d33

сделай сайт с топом самых страшных мест в мире - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +357 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Monsters
3
- emoji: 🚀
4
- colorFrom: purple
5
- colorTo: pink
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: monsters
3
+ emoji: 🐳
4
+ colorFrom: gray
5
+ colorTo: gray
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,357 @@
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>Топ 10 самых страшных мест в мире</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ .card:hover .card-image {
11
+ transform: scale(1.05);
12
+ filter: brightness(0.7);
13
+ }
14
+ .card-image {
15
+ transition: all 0.3s ease;
16
+ }
17
+ .parallax {
18
+ background-attachment: fixed;
19
+ background-position: center;
20
+ background-repeat: no-repeat;
21
+ background-size: cover;
22
+ }
23
+ .fade-in {
24
+ animation: fadeIn 1s ease-in;
25
+ }
26
+ @keyframes fadeIn {
27
+ from { opacity: 0; }
28
+ to { opacity: 1; }
29
+ }
30
+ .scary-text {
31
+ text-shadow: 0 0 5px #ff0000, 0 0 10px #ff0000;
32
+ }
33
+ </style>
34
+ </head>
35
+ <body class="bg-gray-900 text-gray-200 font-sans">
36
+ <!-- Hero Section -->
37
+ <header class="parallax h-screen flex items-center justify-center" style="background-image: url('https://images.unsplash.com/photo-1518709268805-4e9042af9f23?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2048&q=80');">
38
+ <div class="text-center px-4">
39
+ <h1 class="text-5xl md:text-7xl font-bold mb-6 scary-text fade-in">ТОП 10 САМЫХ СТРАШНЫХ МЕСТ В МИРЕ</h1>
40
+ <p class="text-xl md:text-2xl mb-8 max-w-3xl mx-auto">От заброшенных психиатрических больниц до древних кладбищ - места, где смельчаки решаются ступить</p>
41
+ <button id="exploreBtn" class="bg-red-700 hover:bg-red-800 text-white font-bold py-3 px-8 rounded-full text-lg transition-all duration-300 transform hover:scale-105">
42
+ Исследовать ужасы
43
+ </button>
44
+ </div>
45
+ <div class="absolute bottom-10 left-0 right-0 text-center">
46
+ <i class="fas fa-chevron-down text-2xl animate-bounce"></i>
47
+ </div>
48
+ </header>
49
+
50
+ <!-- Main Content -->
51
+ <main class="container mx-auto px-4 py-16">
52
+ <div class="text-center mb-16">
53
+ <h2 class="text-3xl md:text-4xl font-bold mb-4">Готовы ли вы узнать правду?</h2>
54
+ <p class="text-lg md:text-xl max-w-3xl mx-auto">Эти места окутаны тайнами, легендами и необъяснимыми явлениями. Многие посетители утверждают, что ощущали присутствие чего-то сверхъестественного...</p>
55
+ </div>
56
+
57
+ <!-- Places Grid -->
58
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 mb-16">
59
+ <!-- Place 1 -->
60
+ <div class="card bg-gray-800 rounded-lg overflow-hidden shadow-xl hover:shadow-2xl transition-shadow duration-300 h-full flex flex-col">
61
+ <div class="overflow-hidden">
62
+ <img src="https://avatars.mds.yandex.net/i?id=a21a0ade9d25e7b9619e1312c180af73_l-5211841-images-thumbs&n=13" alt="Остров кукол" class="card-image w-full h-64 object-cover">
63
+ </div>
64
+ <div class="p-6 flex-grow">
65
+ <div class="flex justify-between items-start mb-2">
66
+ <h3 class="text-2xl font-bold">1. Остров кукол, Мексика</h3>
67
+ <span class="bg-red-700 text-white px-3 py-1 rounded-full text-sm font-bold">#1</span>
68
+ </div>
69
+ <p class="text-gray-400 mb-4">Заброшенный остров, увешанный сотнями искалеченных кукол. Создатель острова утверждал, что куклы защищают его от духа утонувшей девочки.</p>
70
+ <div class="flex items-center text-yellow-400 mb-4">
71
+ <i class="fas fa-skull mr-2"></i>
72
+ <span class="font-bold">Уровень страха: 10/10</span>
73
+ </div>
74
+ <button class="place-details-btn w-full bg-gray-700 hover:bg-gray-600 text-white py-2 px-4 rounded transition-colors duration-300" data-place="1">
75
+ Подробнее <i class="fas fa-arrow-right ml-2"></i>
76
+ </button>
77
+ </div>
78
+ </div>
79
+
80
+ <!-- Place 2 -->
81
+ <div class="card bg-gray-800 rounded-lg overflow-hidden shadow-xl hover:shadow-2xl transition-shadow duration-300 h-full flex flex-col">
82
+ <div class="overflow-hidden">
83
+ <img src="https://avatars.mds.yandex.net/i?id=41c9846077ceed2f69ba11bb00458354_l-4598925-images-thumbs&n=13" alt="Лес самоубийц" class="card-image w-full h-64 object-cover">
84
+ </div>
85
+ <div class="p-6 flex-grow">
86
+ <div class="flex justify-between items-start mb-2">
87
+ <h3 class="text-2xl font-bold">2. Аокигахара, Япония</h3>
88
+ <span class="bg-red-700 text-white px-3 py-1 rounded-full text-sm font-bold">#2</span>
89
+ </div>
90
+ <p class="text-gray-400 mb-4">Печально известный "Лес самоубийц" у подножия Фудзи. Местные власти ежегодно находят здесь десятки тел.</p>
91
+ <div class="flex items-center text-yellow-400 mb-4">
92
+ <i class="fas fa-skull mr-2"></i>
93
+ <span class="font-bold">Уровень страха: 9.5/10</span>
94
+ </div>
95
+ <button class="place-details-btn w-full bg-gray-700 hover:bg-gray-600 text-white py-2 px-4 rounded transition-colors duration-300" data-place="2">
96
+ Подробнее <i class="fas fa-arrow-right ml-2"></i>
97
+ </button>
98
+ </div>
99
+ </div>
100
+
101
+ <!-- Place 3 -->
102
+ <div class="card bg-gray-800 rounded-lg overflow-hidden shadow-xl hover:shadow-2xl transition-shadow duration-300 h-full flex flex-col">
103
+ <div class="overflow-hidden">
104
+ <img src="https://cdnn1.img.sputnik.tj/img/07e6/02/03/1045455671_0:0:3640:2048_1920x0_80_0_0_310e8dd718933eadaf5b1b680e260f2c.jpg" alt="Припять" class="card-image w-full h-64 object-cover">
105
+ </div>
106
+ <div class="p-6 flex-grow">
107
+ <div class="flex justify-between items-start mb-2">
108
+ <h3 class="text-2xl font-bold">3. Припять, Украина</h3>
109
+ <span class="bg-red-700 text-white px-3 py-1 rounded-full text-sm font-bold">#3</span>
110
+ </div>
111
+ <p class="text-gray-400 mb-4">Заброшенный город-призрак рядом с Чернобыльской АЭС. Радиация и пустые здания создают жуткую атмосферу апокалипсиса.</p>
112
+ <div class="flex items-center text-yellow-400 mb-4">
113
+ <i class="fas fa-skull mr-2"></i>
114
+ <span class="font-bold">Уровень страха: 9/10</span>
115
+ </div>
116
+ <button class="place-details-btn w-full bg-gray-700 hover:bg-gray-600 text-white py-2 px-4 rounded transition-colors duration-300" data-place="3">
117
+ Подробнее <i class="fas fa-arrow-right ml-2"></i>
118
+ </button>
119
+ </div>
120
+ </div>
121
+
122
+ <!-- Place 4 -->
123
+ <div class="card bg-gray-800 rounded-lg overflow-hidden shadow-xl hover:shadow-2xl transition-shadow duration-300 h-full flex flex-col">
124
+ <div class="overflow-hidden">
125
+ <img src="https://avatars.mds.yandex.net/i?id=cc59f03515928c4f702c1baea0535b13de486794-5166135-images-thumbs&n=13" alt="Катакомбы Парижа" class="card-image w-full h-64 object-cover">
126
+ </div>
127
+ <div class="p-6 flex-grow">
128
+ <div class="flex justify-between items-start mb-2">
129
+ <h3 class="text-2xl font-bold">4. Катакомбы Парижа, Франция</h3>
130
+ <span class="bg-red-700 text-white px-3 py-1 rounded-full text-sm font-bold">#4</span>
131
+ </div>
132
+ <p class="text-gray-400 mb-4">Подземные туннели с останками более 6 миллионов человек. Черепа и кости сложены в декоративные узоры на протяжении километров.</p>
133
+ <div class="flex items-center text-yellow-400 mb-4">
134
+ <i class="fas fa-skull mr-2"></i>
135
+ <span class="font-bold">Уровень страха: 8.5/10</span>
136
+ </div>
137
+ <button class="place-details-btn w-full bg-gray-700 hover:bg-gray-600 text-white py-2 px-4 rounded transition-colors duration-300" data-place="4">
138
+ Подробнее <i class="fas fa-arrow-right ml-2"></i>
139
+ </button>
140
+ </div>
141
+ </div>
142
+
143
+ <!-- Place 5 -->
144
+ <div class="card bg-gray-800 rounded-lg overflow-hidden shadow-xl hover:shadow-2xl transition-shadow duration-300 h-full flex flex-col">
145
+ <div class="overflow-hidden">
146
+ <img src="https://avatars.mds.yandex.net/i?id=8e6d04e6343cefdadbecd85310db94eabd1a7275-10153545-images-thumbs&n=13" alt="Замок Лип" class="card-image w-full h-64 object-cover">
147
+ </div>
148
+ <div class="p-6 flex-grow">
149
+ <div class="flex justify-between items-start mb-2">
150
+ <h3 class="text-2xl font-bold">5. Замок Лип, Ирландия</h3>
151
+ <span class="bg-red-700 text-white px-3 py-1 rounded-full text-sm font-bold">#5</span>
152
+ </div>
153
+ <p class="text-gray-400 mb-4">Средневековый замок с кровавой историей. Считается одним из самых населенных призраками мест в мире.</p>
154
+ <div class="flex items-center text-yellow-400 mb-4">
155
+ <i class="fas fa-skull mr-2"></i>
156
+ <span class="font-bold">Уровень страха: 8/10</span>
157
+ </div>
158
+ <button class="place-details-btn w-full bg-gray-700 hover:bg-gray-600 text-white py-2 px-4 rounded transition-colors duration-300" data-place="5">
159
+ Подробнее <i class="fas fa-arrow-right ml-2"></i>
160
+ </button>
161
+ </div>
162
+ </div>
163
+
164
+ <!-- Place 6 -->
165
+ <div class="card bg-gray-800 rounded-lg overflow-hidden shadow-xl hover:shadow-2xl transition-shadow duration-300 h-full flex flex-col">
166
+ <div class="overflow-hidden">
167
+ <img src="https://avatars.mds.yandex.net/i?id=f480d2495543041abb091c8024a51d599339d415-5656606-images-thumbs&n=13" alt="Психиатрическая больница" class="card-image w-full h-64 object-cover">
168
+ </div>
169
+ <div class="p-6 flex-grow">
170
+ <div class="flex justify-between items-start mb-2">
171
+ <h3 class="text-2xl font-bold">6. Психиатрическая больница Уэверли-Хиллс, США</h3>
172
+ <span class="bg-red-700 text-white px-3 py-1 rounded-full text-sm font-bold">#6</span>
173
+ </div>
174
+ <p class="text-gray-400 mb-4">Заброшенная больница с мрачной историей экспериментов над пациентами. Посетители сообщают о голосах, тенях и необъяснимых явлениях.</p>
175
+ <div class="flex items-center text-yellow-400 mb-4">
176
+ <i class="fas fa-skull mr-2"></i>
177
+ <span class="font-bold">Уровень страха: 8/10</span>
178
+ </div>
179
+ <button class="place-details-btn w-full bg-gray-700 hover:bg-gray-600 text-white py-2 px-4 rounded transition-colors duration-300" data-place="6">
180
+ Подробнее <i class="fas fa-arrow-right ml-2"></i>
181
+ </button>
182
+ </div>
183
+ </div>
184
+ </div>
185
+
186
+ <!-- Load More Button -->
187
+ <div class="text-center">
188
+ <button id="loadMoreBtn" class="bg-red-700 hover:bg-red-800 text-white font-bold py-3 px-8 rounded-full text-lg transition-all duration-300 transform hover:scale-105">
189
+ Показать больше ужасов <i class="fas fa-ghost ml-2"></i>
190
+ </button>
191
+ </div>
192
+ </main>
193
+
194
+ <!-- Place Details Modal -->
195
+ <div id="placeModal" class="fixed inset-0 bg-black bg-opacity-80 z-50 flex items-center justify-center hidden px-4">
196
+ <div class="bg-gray-800 rounded-lg max-w-4xl w-full max-h-[90vh] overflow-y-auto">
197
+ <div class="sticky top-0 bg-gray-800 p-4 flex justify-between items-center border-b border-gray-700">
198
+ <h3 id="modalTitle" class="text-2xl font-bold"></h3>
199
+ <button id="closeModal" class="text-gray-400 hover:text-white text-2xl">&times;</button>
200
+ </div>
201
+ <div class="p-6">
202
+ <img id="modalImage" src="" alt="" class="w-full h-96 object-cover rounded-lg mb-6">
203
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-6">
204
+ <div class="bg-gray-700 p-4 rounded-lg">
205
+ <h4 class="font-bold text-lg mb-2 flex items-center"><i class="fas fa-skull mr-2 text-red-500"></i> Уровень страха</h4>
206
+ <p id="fearLevel" class="text-yellow-400 font-bold"></p>
207
+ </div>
208
+ <div class="bg-gray-700 p-4 rounded-lg">
209
+ <h4 class="font-bold text-lg mb-2 flex items-center"><i class="fas fa-map-marker-alt mr-2 text-red-500"></i> Расположение</h4>
210
+ <p id="location"></p>
211
+ </div>
212
+ <div class="bg-gray-700 p-4 rounded-lg">
213
+ <h4 class="font-bold text-lg mb-2 flex items-center"><i class="fas fa-calendar-alt mr-2 text-red-500"></i> Год основания</h4>
214
+ <p id="year"></p>
215
+ </div>
216
+ </div>
217
+ <h4 class="font-bold text-xl mb-3">История</h4>
218
+ <p id="history" class="mb-6"></p>
219
+ <h4 class="font-bold text-xl mb-3">Паранормальные явления</h4>
220
+ <p id="paranormal" class="mb-6"></p>
221
+ <div class="bg-red-900 bg-opacity-30 p-4 rounded-lg border border-red-700">
222
+ <h4 class="font-bold text-lg mb-2 flex items-center"><i class="fas fa-exclamation-triangle mr-2"></i> Предупреждение</h4>
223
+ <p id="warning"></p>
224
+ </div>
225
+ </div>
226
+ </div>
227
+ </div>
228
+
229
+ <!-- Footer -->
230
+ <footer class="bg-gray-800 py-12">
231
+ <div class="container mx-auto px-4">
232
+ <div class="text-center mb-8">
233
+ <h2 class="text-2xl font-bold mb-4">Хотите больше ужасов?</h2>
234
+ <p class="max-w-2xl mx-auto mb-6">Подпишитесь на нашу рассылку и получайте новые страшные места каждый месяц</p>
235
+ <div class="max-w-md mx-auto flex">
236
+ <input type="email" placeholder="Ваш email" class="flex-grow px-4 py-2 rounded-l-lg bg-gray-700 text-white focus:outline-none focus:ring-2 focus:ring-red-500">
237
+ <button class="bg-red-700 hover:bg-red-800 px-6 py-2 rounded-r-lg font-bold transition-colors duration-300">Подписаться</button>
238
+ </div>
239
+ </div>
240
+ <div class="border-t border-gray-700 pt-8 flex flex-col md:flex-row justify-between items-center">
241
+ <div class="mb-4 md:mb-0">
242
+ <p>&copy; 2023 Топ страшных мест. Все права защищены.</p>
243
+ </div>
244
+ <div class="flex space-x-4">
245
+ <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-facebook-f"></i></a>
246
+ <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-twitter"></i></a>
247
+ <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-instagram"></i></a>
248
+ <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-youtube"></i></a>
249
+ </div>
250
+ </div>
251
+ </div>
252
+ </footer>
253
+
254
+ <script>
255
+ // Smooth scroll to content
256
+ document.getElementById('exploreBtn').addEventListener('click', () => {
257
+ document.querySelector('main').scrollIntoView({
258
+ behavior: 'smooth'
259
+ });
260
+ });
261
+
262
+ // Modal functionality
263
+ const modal = document.getElementById('placeModal');
264
+ const closeModal = document.getElementById('closeModal');
265
+ const placeButtons = document.querySelectorAll('.place-details-btn');
266
+
267
+ // Place data
268
+ const places = {
269
+ 1: {
270
+ title: "Остров кукол, Мексика",
271
+ image: "https://avatars.mds.yandex.net/i?id=699c956944fb4ab30530374418e2541397c9011f-12538251-images-thumbs&n=13",
272
+ fearLevel: "10/10",
273
+ location: "Шочимилько, Мехико, Мексика",
274
+ year: "1950-е годы",
275
+ history: "Дон Хулиан Сантана Баррера начал собирать кукол после того, как якобы стал свидетелем утопления маленькой девочки в каналах. Он вешал кукол на деревья, чтобы успокоить ее дух. В 2001 году его тело нашли в том же канале, где, по его словам, утонула девочка.",
276
+ paranormal: "Посетители сообщают, что куклы шевелят глазами, поворачивают головы и даже шепчут. Многие чувствуют, что за ними наблюдают, и испытывают непреодолимое чувство тревоги.",
277
+ warning: "Это место не рекомендуется людям со слабой психикой. Многие посетители испытывают панические атаки и необъяснимый страх."
278
+ },
279
+ 2: {
280
+ title: "Аокигахара, Япония",
281
+ image: "https://i.pinimg.com/originals/f5/b4/32/f5b4329ca2eeafc97902044cb50176e9.jpg",
282
+ fearLevel: "9.5/10",
283
+ location: "У подножия горы Фудзи, Япония",
284
+ year: "Известен с XIX века",
285
+ history: "Лес Аокигахара стал печально известен как место, куда люди приходят, чтобы покончить с жизнью. Ежегодно здесь находят от 50 до 100 тел. Власти установили знаки с телефонами доверия и регулярно патрулируют лес.",
286
+ paranormal: "Местные жители утверждают, что в лесу обитают юрэй - духи самоубийц, которые не могут найти покой. Компасы здесь часто выходят из строя, а люди слышат голоса и видят фигуры среди деревьев.",
287
+ warning: "Посещение этого места может быть опасным как физически, так и психологически. Настоятельно рекомендуется не ходить в лес в одиночку."
288
+ },
289
+ 3: {
290
+ title: "Припять, Украина",
291
+ image: "https://i.pinimg.com/736x/9e/cc/ea/9eccea54545087b0b15f1cfcbb67684c.jpg",
292
+ fearLevel: "9/10",
293
+ location: "Чернобыльская зона отчуждения, Украина",
294
+ year: "1970 (эвакуирован в 1986)",
295
+ history: "Город был полностью эвакуирован после катастрофы на Чернобыльской АЭС в 1986 году. За несколько часов 50 000 жителей навсегда покинули свои дома, оставив все как было.",
296
+ paranormal: "Сталкеры и исследователи сообщают о странных звуках в пустых зданиях, ощущении присутствия и даже видениях людей, которые якобы исчезают при приближении. Некоторые утверждают, что слышат детский смех в заброшенных детских садах.",
297
+ warning: "Радиационный фон в некоторых местах до сих пор повышен. Посещение возможно только с официальными экскурсиями и дозиметром."
298
+ }
299
+ };
300
+
301
+ // Load more places
302
+ document.getElementById('loadMoreBtn').addEventListener('click', () => {
303
+ alert('Больше страшных мест скоро будет добавлено! Следите за обновлениями.');
304
+ });
305
+
306
+ // Open modal with place details
307
+ placeButtons.forEach(button => {
308
+ button.addEventListener('click', () => {
309
+ const placeId = button.getAttribute('data-place');
310
+ const place = places[placeId];
311
+
312
+ if (place) {
313
+ document.getElementById('modalTitle').textContent = place.title;
314
+ document.getElementById('modalImage').src = place.image;
315
+ document.getElementById('modalImage').alt = place.title;
316
+ document.getElementById('fearLevel').textContent = place.fearLevel;
317
+ document.getElementById('location').textContent = place.location;
318
+ document.getElementById('year').textContent = place.year;
319
+ document.getElementById('history').textContent = place.history;
320
+ document.getElementById('paranormal').textContent = place.paranormal;
321
+ document.getElementById('warning').textContent = place.warning;
322
+
323
+ modal.classList.remove('hidden');
324
+ document.body.style.overflow = 'hidden';
325
+ }
326
+ });
327
+ });
328
+
329
+ // Close modal
330
+ closeModal.addEventListener('click', () => {
331
+ modal.classList.add('hidden');
332
+ document.body.style.overflow = 'auto';
333
+ });
334
+
335
+ // Close modal when clicking outside
336
+ modal.addEventListener('click', (e) => {
337
+ if (e.target === modal) {
338
+ modal.classList.add('hidden');
339
+ document.body.style.overflow = 'auto';
340
+ }
341
+ });
342
+
343
+ // Scary effect on scroll
344
+ window.addEventListener('scroll', () => {
345
+ const scrollPosition = window.scrollY;
346
+ const heroSection = document.querySelector('header');
347
+ const heroHeight = heroSection.offsetHeight;
348
+
349
+ if (scrollPosition > heroHeight / 2) {
350
+ heroSection.style.filter = 'brightness(0.6)';
351
+ } else {
352
+ heroSection.style.filter = 'brightness(1)';
353
+ }
354
+ });
355
+ </script>
356
+ <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=Gostik321/monsters" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
357
+ </html>