Onttraders commited on
Commit
32d03a3
·
verified ·
1 Parent(s): f590a43

🐳 13/04 - 17:53 - Fix the mobile version of the website.Issue:The website is going off-screen on mobile (horizontal overflow)Content does not fit properly on small screensFix requirements:Make the si

Browse files
Files changed (9) hide show
  1. analytics.html +45 -2
  2. artist.html +50 -7
  3. discover.html +44 -1
  4. index.html +47 -3
  5. library.html +47 -4
  6. mobile-nav.js +31 -0
  7. responsive.css +273 -0
  8. track.html +48 -5
  9. upload.html +1 -0
analytics.html CHANGED
@@ -7,6 +7,7 @@
7
  <script src="https://cdn.tailwindcss.com"></script>
8
  <script src="https://unpkg.com/lucide@latest"></script>
9
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
 
10
  <style>
11
  * {
12
  font-family: 'Inter', sans-serif;
@@ -92,6 +93,9 @@
92
  PRO
93
  </div>
94
 
 
 
 
95
  <div class="w-10 h-10 rounded-full bg-gradient-to-br from-cyan-400 to-purple-600 cursor-pointer hover:scale-105 transition avatar-ring">
96
  <img src="http://static.photos/people/200x200/77" alt="Profile" class="w-full h-full rounded-full object-cover">
97
  </div>
@@ -99,6 +103,44 @@
99
  </div>
100
  </nav>
101
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
102
  <!-- Main Layout -->
103
  <div class="max-w-[1600px] mx-auto pt-20 pb-12 px-6 min-h-screen">
104
 
@@ -112,7 +154,7 @@
112
  <p class="text-gray-400">Track your performance, earnings, and audience growth</p>
113
  </div>
114
 
115
- <div class="flex items-center gap-3">
116
  <select class="bg-white/5 border border-white/10 rounded-xl px-4 py-2 text-sm text-white focus:outline-none focus:border-orange-500/50">
117
  <option>Last 7 days</option>
118
  <option>Last 30 days</option>
@@ -121,7 +163,7 @@
121
  </select>
122
  <button class="px-4 py-2 bg-white/10 hover:bg-white/20 border border-white/20 rounded-xl text-sm transition flex items-center gap-2">
123
  <i data-lucide="download" class="w-4 h-4"></i>
124
- Export
125
  </button>
126
  </div>
127
  </div>
@@ -321,6 +363,7 @@
321
 
322
  </div>
323
 
 
324
  <script>
325
  lucide.createIcons();
326
 
 
7
  <script src="https://cdn.tailwindcss.com"></script>
8
  <script src="https://unpkg.com/lucide@latest"></script>
9
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
10
+ <link rel="stylesheet" href="responsive.css">
11
  <style>
12
  * {
13
  font-family: 'Inter', sans-serif;
 
93
  PRO
94
  </div>
95
 
96
+ <button id="mobileMenuBtn" class="md:hidden w-10 h-10 rounded-full bg-white/5 border border-white/10 flex items-center justify-center hover:bg-white/10 transition" onclick="toggleMobileMenu()">
97
+ <i data-lucide="menu" class="w-5 h-5 text-gray-300"></i>
98
+ </button>
99
  <div class="w-10 h-10 rounded-full bg-gradient-to-br from-cyan-400 to-purple-600 cursor-pointer hover:scale-105 transition avatar-ring">
100
  <img src="http://static.photos/people/200x200/77" alt="Profile" class="w-full h-full rounded-full object-cover">
101
  </div>
 
103
  </div>
104
  </nav>
105
 
106
+ <!-- Mobile Nav Overlay -->
107
+ <div id="mobileNavOverlay" class="mobile-nav-overlay" onclick="closeMobileMenu()"></div>
108
+ <div id="mobileNavPanel" class="mobile-nav-panel">
109
+ <div class="flex items-center justify-between mb-8">
110
+ <div class="flex items-center gap-2">
111
+ <div class="w-8 h-8 rounded-lg flex items-center justify-center bg-white/10 border border-white/20">
112
+ <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-5 h-5 text-white">
113
+ <rect x="4" y="2" width="16" height="20" rx="2"/>
114
+ <line x1="4" y1="9" x2="20" y2="9"/>
115
+ <line x1="15" y1="5" x2="15" y2="7"/>
116
+ <line x1="15" y1="12" x2="15" y2="18"/>
117
+ </svg>
118
+ </div>
119
+ <span class="text-xl font-bold">BeatFridge</span>
120
+ </div>
121
+ <button onclick="closeMobileMenu()" class="w-10 h-10 rounded-full bg-white/5 border border-white/10 flex items-center justify-center hover:bg-white/10 transition">
122
+ <i data-lucide="x" class="w-5 h-5"></i>
123
+ </button>
124
+ </div>
125
+ <nav class="space-y-1">
126
+ <a href="index.html" class="flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-white/5 transition text-gray-300 hover:text-white">
127
+ <i data-lucide="home" class="w-5 h-5"></i> Home
128
+ </a>
129
+ <a href="discover.html" class="flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-white/5 transition text-gray-300 hover:text-white">
130
+ <i data-lucide="compass" class="w-5 h-5"></i> Discover
131
+ </a>
132
+ <a href="library.html" class="flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-white/5 transition text-gray-300 hover:text-white">
133
+ <i data-lucide="library" class="w-5 h-5"></i> Library
134
+ </a>
135
+ <a href="upload.html" class="flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-white/5 transition text-gray-300 hover:text-white">
136
+ <i data-lucide="upload-cloud" class="w-5 h-5"></i> Upload
137
+ </a>
138
+ <a href="analytics.html" class="flex items-center gap-3 px-4 py-3 rounded-xl bg-white/5 text-orange-400 font-medium">
139
+ <i data-lucide="bar-chart-2" class="w-5 h-5"></i> Analytics
140
+ </a>
141
+ </nav>
142
+ </div>
143
+
144
  <!-- Main Layout -->
145
  <div class="max-w-[1600px] mx-auto pt-20 pb-12 px-6 min-h-screen">
146
 
 
154
  <p class="text-gray-400">Track your performance, earnings, and audience growth</p>
155
  </div>
156
 
157
+ <div class="flex flex-wrap items-center gap-3">
158
  <select class="bg-white/5 border border-white/10 rounded-xl px-4 py-2 text-sm text-white focus:outline-none focus:border-orange-500/50">
159
  <option>Last 7 days</option>
160
  <option>Last 30 days</option>
 
163
  </select>
164
  <button class="px-4 py-2 bg-white/10 hover:bg-white/20 border border-white/20 rounded-xl text-sm transition flex items-center gap-2">
165
  <i data-lucide="download" class="w-4 h-4"></i>
166
+ <span class="hidden sm:inline">Export</span>
167
  </button>
168
  </div>
169
  </div>
 
363
 
364
  </div>
365
 
366
+ <script src="mobile-nav.js"></script>
367
  <script>
368
  lucide.createIcons();
369
 
artist.html CHANGED
@@ -7,6 +7,7 @@
7
  <script src="https://cdn.tailwindcss.com"></script>
8
  <script src="https://unpkg.com/lucide@latest"></script>
9
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
 
10
  <style>
11
  * {
12
  font-family: 'Inter', sans-serif;
@@ -163,6 +164,9 @@
163
  <i data-lucide="search" class="w-4 h-4 absolute left-3 top-1/2 -translate-y-1/2 text-gray-400"></i>
164
  </div>
165
 
 
 
 
166
  <button class="w-10 h-10 rounded-full bg-white/5 border border-white/10 flex items-center justify-center hover:bg-white/10 transition relative">
167
  <i data-lucide="bell" class="w-5 h-5 text-gray-300"></i>
168
  <span class="absolute top-2 right-2 w-2 h-2 bg-orange-500 rounded-full"></span>
@@ -175,6 +179,44 @@
175
  </div>
176
  </nav>
177
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
178
  <!-- Main Layout -->
179
  <div class="max-w-[1600px] mx-auto pt-16 min-h-screen">
180
 
@@ -208,7 +250,7 @@
208
  </div>
209
  <p class="text-gray-400 text-sm mb-3">@auroravoid • Electronic Producer • Berlin, DE</p>
210
 
211
- <div class="flex items-center gap-6 text-sm text-gray-300">
212
  <span class="flex items-center gap-1">
213
  <i data-lucide="map-pin" class="w-4 h-4 text-cyan-400"></i>
214
  Berlin, Germany
@@ -225,18 +267,18 @@
225
  </div>
226
 
227
  <!-- Actions -->
228
- <div class="flex items-center gap-3 mb-4">
229
- <button class="px-8 py-3 bg-cyan-500 hover:bg-cyan-400 text-black font-semibold rounded-full transition glow-cyan flex items-center justify-center gap-2" onclick="toggleFollow(this)">
230
  <i data-lucide="user-plus" class="w-4 h-4"></i>
231
  <span>Follow</span>
232
  </button>
233
- <button class="px-8 py-3 bg-gradient-to-r from-orange-500 to-red-500 hover:from-orange-400 hover:to-red-400 text-white font-semibold rounded-full transition glow-orange flex items-center justify-center gap-2" onclick="openSupportModal()">
234
  <i data-lucide="heart-handshake" class="w-4 h-4"></i>
235
  <span>Support</span>
236
  </button>
237
- <button class="px-6 py-3 bg-white/10 hover:bg-white/20 border border-white/20 font-medium rounded-full transition flex items-center gap-2">
238
  <i data-lucide="message-circle" class="w-4 h-4"></i>
239
- Message
240
  </button>
241
  <button class="w-12 h-12 rounded-full bg-white/10 border border-white/20 flex items-center justify-center hover:bg-white/20 transition">
242
  <i data-lucide="more-horizontal" class="w-5 h-5"></i>
@@ -245,7 +287,7 @@
245
  </div>
246
 
247
  <!-- Stats -->
248
- <div class="flex items-center gap-8 mt-6 pt-6 border-t border-white/10 max-w-2xl">
249
  <div>
250
  <p class="text-3xl font-bold neon-text">247</p>
251
  <p class="text-sm text-gray-500 uppercase tracking-wider mt-1">Tracks</p>
@@ -542,6 +584,7 @@
542
  </div>
543
  </div>
544
 
 
545
  <script>
546
  lucide.createIcons();
547
 
 
7
  <script src="https://cdn.tailwindcss.com"></script>
8
  <script src="https://unpkg.com/lucide@latest"></script>
9
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
10
+ <link rel="stylesheet" href="responsive.css">
11
  <style>
12
  * {
13
  font-family: 'Inter', sans-serif;
 
164
  <i data-lucide="search" class="w-4 h-4 absolute left-3 top-1/2 -translate-y-1/2 text-gray-400"></i>
165
  </div>
166
 
167
+ <button id="mobileMenuBtn" class="md:hidden w-10 h-10 rounded-full bg-white/5 border border-white/10 flex items-center justify-center hover:bg-white/10 transition" onclick="toggleMobileMenu()">
168
+ <i data-lucide="menu" class="w-5 h-5 text-gray-300"></i>
169
+ </button>
170
  <button class="w-10 h-10 rounded-full bg-white/5 border border-white/10 flex items-center justify-center hover:bg-white/10 transition relative">
171
  <i data-lucide="bell" class="w-5 h-5 text-gray-300"></i>
172
  <span class="absolute top-2 right-2 w-2 h-2 bg-orange-500 rounded-full"></span>
 
179
  </div>
180
  </nav>
181
 
182
+ <!-- Mobile Nav Overlay -->
183
+ <div id="mobileNavOverlay" class="mobile-nav-overlay" onclick="closeMobileMenu()"></div>
184
+ <div id="mobileNavPanel" class="mobile-nav-panel">
185
+ <div class="flex items-center justify-between mb-8">
186
+ <div class="flex items-center gap-2">
187
+ <div class="w-8 h-8 rounded-lg flex items-center justify-center bg-white/10 border border-white/20">
188
+ <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-5 h-5 text-white">
189
+ <rect x="4" y="2" width="16" height="20" rx="2"/>
190
+ <line x1="4" y1="9" x2="20" y2="9"/>
191
+ <line x1="15" y1="5" x2="15" y2="7"/>
192
+ <line x1="15" y1="12" x2="15" y2="18"/>
193
+ </svg>
194
+ </div>
195
+ <span class="text-xl font-bold">BeatFridge</span>
196
+ </div>
197
+ <button onclick="closeMobileMenu()" class="w-10 h-10 rounded-full bg-white/5 border border-white/10 flex items-center justify-center hover:bg-white/10 transition">
198
+ <i data-lucide="x" class="w-5 h-5"></i>
199
+ </button>
200
+ </div>
201
+ <nav class="space-y-1">
202
+ <a href="index.html" class="flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-white/5 transition text-gray-300 hover:text-white">
203
+ <i data-lucide="home" class="w-5 h-5"></i> Home
204
+ </a>
205
+ <a href="discover.html" class="flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-white/5 transition text-gray-300 hover:text-white">
206
+ <i data-lucide="compass" class="w-5 h-5"></i> Discover
207
+ </a>
208
+ <a href="library.html" class="flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-white/5 transition text-gray-300 hover:text-white">
209
+ <i data-lucide="library" class="w-5 h-5"></i> Library
210
+ </a>
211
+ <a href="upload.html" class="flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-white/5 transition text-gray-300 hover:text-white">
212
+ <i data-lucide="upload-cloud" class="w-5 h-5"></i> Upload
213
+ </a>
214
+ <a href="analytics.html" class="flex items-center gap-3 px-4 py-3 rounded-xl bg-white/5 text-orange-400 font-medium">
215
+ <i data-lucide="bar-chart-2" class="w-5 h-5"></i> Analytics
216
+ </a>
217
+ </nav>
218
+ </div>
219
+
220
  <!-- Main Layout -->
221
  <div class="max-w-[1600px] mx-auto pt-16 min-h-screen">
222
 
 
250
  </div>
251
  <p class="text-gray-400 text-sm mb-3">@auroravoid • Electronic Producer • Berlin, DE</p>
252
 
253
+ <div class="flex flex-wrap items-center gap-2 md:gap-6 text-sm text-gray-300">
254
  <span class="flex items-center gap-1">
255
  <i data-lucide="map-pin" class="w-4 h-4 text-cyan-400"></i>
256
  Berlin, Germany
 
267
  </div>
268
 
269
  <!-- Actions -->
270
+ <div class="flex flex-wrap items-center gap-3 mb-4">
271
+ <button class="px-6 py-3 bg-cyan-500 hover:bg-cyan-400 text-black font-semibold rounded-full transition glow-cyan flex items-center justify-center gap-2" onclick="toggleFollow(this)">
272
  <i data-lucide="user-plus" class="w-4 h-4"></i>
273
  <span>Follow</span>
274
  </button>
275
+ <button class="px-6 py-3 bg-gradient-to-r from-orange-500 to-red-500 hover:from-orange-400 hover:to-red-400 text-white font-semibold rounded-full transition glow-orange flex items-center justify-center gap-2" onclick="openSupportModal()">
276
  <i data-lucide="heart-handshake" class="w-4 h-4"></i>
277
  <span>Support</span>
278
  </button>
279
+ <button class="px-4 py-3 bg-white/10 hover:bg-white/20 border border-white/20 font-medium rounded-full transition flex items-center gap-2">
280
  <i data-lucide="message-circle" class="w-4 h-4"></i>
281
+ <span class="hidden sm:inline">Message</span>
282
  </button>
283
  <button class="w-12 h-12 rounded-full bg-white/10 border border-white/20 flex items-center justify-center hover:bg-white/20 transition">
284
  <i data-lucide="more-horizontal" class="w-5 h-5"></i>
 
287
  </div>
288
 
289
  <!-- Stats -->
290
+ <div class="flex flex-wrap items-center gap-4 md:gap-8 mt-6 pt-6 border-t border-white/10 max-w-2xl">
291
  <div>
292
  <p class="text-3xl font-bold neon-text">247</p>
293
  <p class="text-sm text-gray-500 uppercase tracking-wider mt-1">Tracks</p>
 
584
  </div>
585
  </div>
586
 
587
+ <script src="mobile-nav.js"></script>
588
  <script>
589
  lucide.createIcons();
590
 
discover.html CHANGED
@@ -7,6 +7,7 @@
7
  <script src="https://cdn.tailwindcss.com"></script>
8
  <script src="https://unpkg.com/lucide@latest"></script>
9
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
 
10
  <style>
11
  * {
12
  font-family: 'Inter', sans-serif;
@@ -125,6 +126,9 @@
125
  <i data-lucide="search" class="w-4 h-4 absolute left-3 top-1/2 -translate-y-1/2 text-gray-400"></i>
126
  </div>
127
 
 
 
 
128
  <button class="w-10 h-10 rounded-full bg-white/5 border border-white/10 flex items-center justify-center hover:bg-white/10 transition relative">
129
  <i data-lucide="bell" class="w-5 h-5 text-gray-300"></i>
130
  <span class="absolute top-2 right-2 w-2 h-2 bg-orange-500 rounded-full"></span>
@@ -137,6 +141,44 @@
137
  </div>
138
  </nav>
139
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
140
  <!-- Main Content -->
141
  <div class="max-w-[1600px] mx-auto pt-20 pb-12 px-6 min-h-screen">
142
 
@@ -205,7 +247,7 @@
205
  <i data-lucide="trending-up" class="w-5 h-5 text-cyan-400"></i>
206
  Trending Now
207
  </h2>
208
- <div class="flex items-center gap-2">
209
  <button class="px-4 py-2 rounded-full bg-white/5 border border-white/10 text-sm hover:bg-white/10 transition text-cyan-400">Today</button>
210
  <button class="px-4 py-2 rounded-full bg-white/5 border border-white/10 text-sm hover:bg-white/10 transition text-gray-400">This Week</button>
211
  <button class="px-4 py-2 rounded-full bg-white/5 border border-white/10 text-sm hover:bg-white/10 transition text-gray-400">This Month</button>
@@ -306,6 +348,7 @@
306
  </div>
307
  </div>
308
 
 
309
  <script>
310
  lucide.createIcons();
311
 
 
7
  <script src="https://cdn.tailwindcss.com"></script>
8
  <script src="https://unpkg.com/lucide@latest"></script>
9
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
10
+ <link rel="stylesheet" href="responsive.css">
11
  <style>
12
  * {
13
  font-family: 'Inter', sans-serif;
 
126
  <i data-lucide="search" class="w-4 h-4 absolute left-3 top-1/2 -translate-y-1/2 text-gray-400"></i>
127
  </div>
128
 
129
+ <button id="mobileMenuBtn" class="md:hidden w-10 h-10 rounded-full bg-white/5 border border-white/10 flex items-center justify-center hover:bg-white/10 transition" onclick="toggleMobileMenu()">
130
+ <i data-lucide="menu" class="w-5 h-5 text-gray-300"></i>
131
+ </button>
132
  <button class="w-10 h-10 rounded-full bg-white/5 border border-white/10 flex items-center justify-center hover:bg-white/10 transition relative">
133
  <i data-lucide="bell" class="w-5 h-5 text-gray-300"></i>
134
  <span class="absolute top-2 right-2 w-2 h-2 bg-orange-500 rounded-full"></span>
 
141
  </div>
142
  </nav>
143
 
144
+ <!-- Mobile Nav Overlay -->
145
+ <div id="mobileNavOverlay" class="mobile-nav-overlay" onclick="closeMobileMenu()"></div>
146
+ <div id="mobileNavPanel" class="mobile-nav-panel">
147
+ <div class="flex items-center justify-between mb-8">
148
+ <div class="flex items-center gap-2">
149
+ <div class="w-8 h-8 rounded-lg flex items-center justify-center bg-white/10 border border-white/20">
150
+ <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-5 h-5 text-white">
151
+ <rect x="4" y="2" width="16" height="20" rx="2"/>
152
+ <line x1="4" y1="9" x2="20" y2="9"/>
153
+ <line x1="15" y1="5" x2="15" y2="7"/>
154
+ <line x1="15" y1="12" x2="15" y2="18"/>
155
+ </svg>
156
+ </div>
157
+ <span class="text-xl font-bold">BeatFridge</span>
158
+ </div>
159
+ <button onclick="closeMobileMenu()" class="w-10 h-10 rounded-full bg-white/5 border border-white/10 flex items-center justify-center hover:bg-white/10 transition">
160
+ <i data-lucide="x" class="w-5 h-5"></i>
161
+ </button>
162
+ </div>
163
+ <nav class="space-y-1">
164
+ <a href="index.html" class="flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-white/5 transition text-gray-300 hover:text-white">
165
+ <i data-lucide="home" class="w-5 h-5"></i> Home
166
+ </a>
167
+ <a href="discover.html" class="flex items-center gap-3 px-4 py-3 rounded-xl bg-white/5 text-cyan-400 font-medium">
168
+ <i data-lucide="compass" class="w-5 h-5"></i> Discover
169
+ </a>
170
+ <a href="library.html" class="flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-white/5 transition text-gray-300 hover:text-white">
171
+ <i data-lucide="library" class="w-5 h-5"></i> Library
172
+ </a>
173
+ <a href="upload.html" class="flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-white/5 transition text-gray-300 hover:text-white">
174
+ <i data-lucide="upload-cloud" class="w-5 h-5"></i> Upload
175
+ </a>
176
+ <a href="analytics.html" class="flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-white/5 transition text-gray-300 hover:text-white">
177
+ <i data-lucide="bar-chart-2" class="w-5 h-5"></i> Analytics
178
+ </a>
179
+ </nav>
180
+ </div>
181
+
182
  <!-- Main Content -->
183
  <div class="max-w-[1600px] mx-auto pt-20 pb-12 px-6 min-h-screen">
184
 
 
247
  <i data-lucide="trending-up" class="w-5 h-5 text-cyan-400"></i>
248
  Trending Now
249
  </h2>
250
+ <div class="flex flex-wrap items-center gap-2">
251
  <button class="px-4 py-2 rounded-full bg-white/5 border border-white/10 text-sm hover:bg-white/10 transition text-cyan-400">Today</button>
252
  <button class="px-4 py-2 rounded-full bg-white/5 border border-white/10 text-sm hover:bg-white/10 transition text-gray-400">This Week</button>
253
  <button class="px-4 py-2 rounded-full bg-white/5 border border-white/10 text-sm hover:bg-white/10 transition text-gray-400">This Month</button>
 
348
  </div>
349
  </div>
350
 
351
+ <script src="mobile-nav.js"></script>
352
  <script>
353
  lucide.createIcons();
354
 
index.html CHANGED
@@ -7,6 +7,7 @@
7
  <script src="https://cdn.tailwindcss.com"></script>
8
  <script src="https://unpkg.com/lucide@latest"></script>
9
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
 
10
  <style>
11
  * {
12
  font-family: 'Inter', sans-serif;
@@ -212,6 +213,9 @@
212
  <i data-lucide="search" class="w-4 h-4 absolute left-3 top-1/2 -translate-y-1/2 text-gray-400"></i>
213
  </div>
214
 
 
 
 
215
  <button class="w-10 h-10 rounded-full bg-white/5 border border-white/10 flex items-center justify-center hover:bg-white/10 transition relative">
216
  <i data-lucide="bell" class="w-5 h-5 text-gray-300"></i>
217
  <span class="absolute top-2 right-2 w-2 h-2 bg-orange-500 rounded-full"></span>
@@ -224,6 +228,45 @@
224
  </div>
225
  </nav>
226
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
227
  <!-- Main Layout -->
228
  <div class="max-w-[1600px] mx-auto pt-16 flex gap-6 px-6 min-h-screen">
229
 
@@ -319,7 +362,7 @@
319
  </div>
320
  <p class="text-gray-400 text-sm mb-2">@auroravoid • Electronic Producer • Berlin, DE</p>
321
 
322
- <div class="flex items-center gap-4 text-sm text-gray-300">
323
  <span class="flex items-center gap-1">
324
  <i data-lucide="map-pin" class="w-4 h-4 text-cyan-400"></i>
325
  Berlin, Germany
@@ -344,7 +387,7 @@
344
  </div>
345
 
346
  <!-- Stats -->
347
- <div class="flex items-center gap-8 mt-6 pt-6 border-t border-white/10">
348
  <div class="text-center sm:text-left">
349
  <p class="text-2xl font-bold neon-text">247</p>
350
  <p class="text-xs text-gray-500 uppercase tracking-wider mt-1">Tracks</p>
@@ -375,7 +418,7 @@
375
  <i data-lucide="disc" class="w-5 h-5 text-cyan-400"></i>
376
  Latest Releases
377
  </h2>
378
- <div class="flex items-center gap-2">
379
  <button class="px-4 py-2 rounded-full bg-white/5 border border-white/10 text-sm hover:bg-white/10 transition">All</button>
380
  <button class="px-4 py-2 rounded-full bg-white/5 border border-white/10 text-sm hover:bg-white/10 transition text-gray-400">Popular</button>
381
  <button class="px-4 py-2 rounded-full bg-white/5 border border-white/10 text-sm hover:bg-white/10 transition text-gray-400">Albums</button>
@@ -1105,6 +1148,7 @@
1105
  progress = (x / rect.width) * 100;
1106
  });
1107
  </script>
 
1108
  <script src="https://deepsite.hf.co/deepsite-badge.js"></script>
1109
  </body>
1110
  </html>
 
7
  <script src="https://cdn.tailwindcss.com"></script>
8
  <script src="https://unpkg.com/lucide@latest"></script>
9
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
10
+ <link rel="stylesheet" href="responsive.css">
11
  <style>
12
  * {
13
  font-family: 'Inter', sans-serif;
 
213
  <i data-lucide="search" class="w-4 h-4 absolute left-3 top-1/2 -translate-y-1/2 text-gray-400"></i>
214
  </div>
215
 
216
+ <button id="mobileMenuBtn" class="md:hidden w-10 h-10 rounded-full bg-white/5 border border-white/10 flex items-center justify-center hover:bg-white/10 transition" onclick="toggleMobileMenu()">
217
+ <i data-lucide="menu" class="w-5 h-5 text-gray-300"></i>
218
+ </button>
219
  <button class="w-10 h-10 rounded-full bg-white/5 border border-white/10 flex items-center justify-center hover:bg-white/10 transition relative">
220
  <i data-lucide="bell" class="w-5 h-5 text-gray-300"></i>
221
  <span class="absolute top-2 right-2 w-2 h-2 bg-orange-500 rounded-full"></span>
 
228
  </div>
229
  </nav>
230
 
231
+ <!-- Mobile Nav Overlay -->
232
+ <div id="mobileNavOverlay" class="mobile-nav-overlay" onclick="closeMobileMenu()"></div>
233
+ <!-- Mobile Nav Panel -->
234
+ <div id="mobileNavPanel" class="mobile-nav-panel">
235
+ <div class="flex items-center justify-between mb-8">
236
+ <div class="flex items-center gap-2">
237
+ <div class="w-8 h-8 rounded-lg flex items-center justify-center bg-white/10 border border-white/20">
238
+ <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-5 h-5 text-white">
239
+ <rect x="4" y="2" width="16" height="20" rx="2"/>
240
+ <line x1="4" y1="9" x2="20" y2="9"/>
241
+ <line x1="15" y1="5" x2="15" y2="7"/>
242
+ <line x1="15" y1="12" x2="15" y2="18"/>
243
+ </svg>
244
+ </div>
245
+ <span class="text-xl font-bold">BeatFridge</span>
246
+ </div>
247
+ <button onclick="closeMobileMenu()" class="w-10 h-10 rounded-full bg-white/5 border border-white/10 flex items-center justify-center hover:bg-white/10 transition">
248
+ <i data-lucide="x" class="w-5 h-5"></i>
249
+ </button>
250
+ </div>
251
+ <nav class="space-y-1">
252
+ <a href="index.html" class="flex items-center gap-3 px-4 py-3 rounded-xl bg-white/5 text-cyan-400 font-medium">
253
+ <i data-lucide="home" class="w-5 h-5"></i> Home
254
+ </a>
255
+ <a href="discover.html" class="flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-white/5 transition text-gray-300 hover:text-white">
256
+ <i data-lucide="compass" class="w-5 h-5"></i> Discover
257
+ </a>
258
+ <a href="library.html" class="flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-white/5 transition text-gray-300 hover:text-white">
259
+ <i data-lucide="library" class="w-5 h-5"></i> Library
260
+ </a>
261
+ <a href="upload.html" class="flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-white/5 transition text-gray-300 hover:text-white">
262
+ <i data-lucide="upload-cloud" class="w-5 h-5"></i> Upload
263
+ </a>
264
+ <a href="analytics.html" class="flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-white/5 transition text-gray-300 hover:text-white">
265
+ <i data-lucide="bar-chart-2" class="w-5 h-5"></i> Analytics
266
+ </a>
267
+ </nav>
268
+ </div>
269
+
270
  <!-- Main Layout -->
271
  <div class="max-w-[1600px] mx-auto pt-16 flex gap-6 px-6 min-h-screen">
272
 
 
362
  </div>
363
  <p class="text-gray-400 text-sm mb-2">@auroravoid • Electronic Producer • Berlin, DE</p>
364
 
365
+ <div class="flex flex-wrap items-center gap-2 md:gap-4 text-sm text-gray-300">
366
  <span class="flex items-center gap-1">
367
  <i data-lucide="map-pin" class="w-4 h-4 text-cyan-400"></i>
368
  Berlin, Germany
 
387
  </div>
388
 
389
  <!-- Stats -->
390
+ <div class="flex flex-wrap items-center gap-4 md:gap-8 mt-6 pt-6 border-t border-white/10">
391
  <div class="text-center sm:text-left">
392
  <p class="text-2xl font-bold neon-text">247</p>
393
  <p class="text-xs text-gray-500 uppercase tracking-wider mt-1">Tracks</p>
 
418
  <i data-lucide="disc" class="w-5 h-5 text-cyan-400"></i>
419
  Latest Releases
420
  </h2>
421
+ <div class="flex flex-wrap items-center gap-2">
422
  <button class="px-4 py-2 rounded-full bg-white/5 border border-white/10 text-sm hover:bg-white/10 transition">All</button>
423
  <button class="px-4 py-2 rounded-full bg-white/5 border border-white/10 text-sm hover:bg-white/10 transition text-gray-400">Popular</button>
424
  <button class="px-4 py-2 rounded-full bg-white/5 border border-white/10 text-sm hover:bg-white/10 transition text-gray-400">Albums</button>
 
1148
  progress = (x / rect.width) * 100;
1149
  });
1150
  </script>
1151
+ <script src="mobile-nav.js"></script>
1152
  <script src="https://deepsite.hf.co/deepsite-badge.js"></script>
1153
  </body>
1154
  </html>
library.html CHANGED
@@ -7,6 +7,7 @@
7
  <script src="https://cdn.tailwindcss.com"></script>
8
  <script src="https://unpkg.com/lucide@latest"></script>
9
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
 
10
  <style>
11
  * {
12
  font-family: 'Inter', sans-serif;
@@ -147,6 +148,9 @@
147
  <i data-lucide="search" class="w-4 h-4 absolute left-3 top-1/2 -translate-y-1/2 text-gray-400"></i>
148
  </div>
149
 
 
 
 
150
  <button class="w-10 h-10 rounded-full bg-white/5 border border-white/10 flex items-center justify-center hover:bg-white/10 transition relative">
151
  <i data-lucide="bell" class="w-5 h-5 text-gray-300"></i>
152
  <span class="absolute top-2 right-2 w-2 h-2 bg-orange-500 rounded-full"></span>
@@ -159,6 +163,44 @@
159
  </div>
160
  </nav>
161
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
162
  <!-- Main Layout -->
163
  <div class="max-w-[1600px] mx-auto pt-20 pb-12 px-6 min-h-screen">
164
 
@@ -169,7 +211,7 @@
169
  </div>
170
 
171
  <!-- Wallet Summary -->
172
- <div class="glass-panel rounded-2xl p-4 mb-6 flex items-center justify-between">
173
  <div class="flex items-center gap-4">
174
  <div class="w-10 h-10 rounded-full bg-green-500/20 flex items-center justify-center">
175
  <i data-lucide="wallet" class="w-5 h-5 text-green-400"></i>
@@ -179,12 +221,12 @@
179
  <p class="text-xl font-bold text-white" id="walletBalance">€50.00</p>
180
  </div>
181
  </div>
182
- <div class="flex items-center gap-4">
183
  <div class="text-right">
184
  <p class="text-sm text-gray-400">Total Supported</p>
185
  <p class="text-sm font-semibold text-cyan-400" id="totalSupported">€0.00</p>
186
  </div>
187
- <div class="text-right border-l border-white/10 pl-4">
188
  <p class="text-sm text-gray-400">Membership</p>
189
  <p class="text-sm font-semibold text-orange-400" id="membershipStatus">Free</p>
190
  </div>
@@ -208,7 +250,7 @@
208
  </div>
209
 
210
  <!-- Tabs -->
211
- <div class="flex items-center gap-8 border-b border-white/10 mb-8">
212
  <button class="px-4 py-3 text-sm font-medium tab-active" onclick="switchTab('liked')">
213
  <i data-lucide="heart" class="w-4 h-4 inline mr-2"></i>
214
  Liked Tracks
@@ -346,6 +388,7 @@
346
  </div>
347
  </div>
348
 
 
349
  <script>
350
  lucide.createIcons();
351
 
 
7
  <script src="https://cdn.tailwindcss.com"></script>
8
  <script src="https://unpkg.com/lucide@latest"></script>
9
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
10
+ <link rel="stylesheet" href="responsive.css">
11
  <style>
12
  * {
13
  font-family: 'Inter', sans-serif;
 
148
  <i data-lucide="search" class="w-4 h-4 absolute left-3 top-1/2 -translate-y-1/2 text-gray-400"></i>
149
  </div>
150
 
151
+ <button id="mobileMenuBtn" class="md:hidden w-10 h-10 rounded-full bg-white/5 border border-white/10 flex items-center justify-center hover:bg-white/10 transition" onclick="toggleMobileMenu()">
152
+ <i data-lucide="menu" class="w-5 h-5 text-gray-300"></i>
153
+ </button>
154
  <button class="w-10 h-10 rounded-full bg-white/5 border border-white/10 flex items-center justify-center hover:bg-white/10 transition relative">
155
  <i data-lucide="bell" class="w-5 h-5 text-gray-300"></i>
156
  <span class="absolute top-2 right-2 w-2 h-2 bg-orange-500 rounded-full"></span>
 
163
  </div>
164
  </nav>
165
 
166
+ <!-- Mobile Nav Overlay -->
167
+ <div id="mobileNavOverlay" class="mobile-nav-overlay" onclick="closeMobileMenu()"></div>
168
+ <div id="mobileNavPanel" class="mobile-nav-panel">
169
+ <div class="flex items-center justify-between mb-8">
170
+ <div class="flex items-center gap-2">
171
+ <div class="w-8 h-8 rounded-lg flex items-center justify-center bg-white/10 border border-white/20">
172
+ <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-5 h-5 text-white">
173
+ <rect x="4" y="2" width="16" height="20" rx="2"/>
174
+ <line x1="4" y1="9" x2="20" y2="9"/>
175
+ <line x1="15" y1="5" x2="15" y2="7"/>
176
+ <line x1="15" y1="12" x2="15" y2="18"/>
177
+ </svg>
178
+ </div>
179
+ <span class="text-xl font-bold">BeatFridge</span>
180
+ </div>
181
+ <button onclick="closeMobileMenu()" class="w-10 h-10 rounded-full bg-white/5 border border-white/10 flex items-center justify-center hover:bg-white/10 transition">
182
+ <i data-lucide="x" class="w-5 h-5"></i>
183
+ </button>
184
+ </div>
185
+ <nav class="space-y-1">
186
+ <a href="index.html" class="flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-white/5 transition text-gray-300 hover:text-white">
187
+ <i data-lucide="home" class="w-5 h-5"></i> Home
188
+ </a>
189
+ <a href="discover.html" class="flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-white/5 transition text-gray-300 hover:text-white">
190
+ <i data-lucide="compass" class="w-5 h-5"></i> Discover
191
+ </a>
192
+ <a href="library.html" class="flex items-center gap-3 px-4 py-3 rounded-xl bg-white/5 text-cyan-400 font-medium">
193
+ <i data-lucide="library" class="w-5 h-5"></i> Library
194
+ </a>
195
+ <a href="upload.html" class="flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-white/5 transition text-gray-300 hover:text-white">
196
+ <i data-lucide="upload-cloud" class="w-5 h-5"></i> Upload
197
+ </a>
198
+ <a href="analytics.html" class="flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-white/5 transition text-gray-300 hover:text-white">
199
+ <i data-lucide="bar-chart-2" class="w-5 h-5"></i> Analytics
200
+ </a>
201
+ </nav>
202
+ </div>
203
+
204
  <!-- Main Layout -->
205
  <div class="max-w-[1600px] mx-auto pt-20 pb-12 px-6 min-h-screen">
206
 
 
211
  </div>
212
 
213
  <!-- Wallet Summary -->
214
+ <div class="glass-panel rounded-2xl p-4 mb-6 flex flex-wrap items-center justify-between gap-3">
215
  <div class="flex items-center gap-4">
216
  <div class="w-10 h-10 rounded-full bg-green-500/20 flex items-center justify-center">
217
  <i data-lucide="wallet" class="w-5 h-5 text-green-400"></i>
 
221
  <p class="text-xl font-bold text-white" id="walletBalance">€50.00</p>
222
  </div>
223
  </div>
224
+ <div class="flex flex-wrap items-center gap-3 md:gap-4">
225
  <div class="text-right">
226
  <p class="text-sm text-gray-400">Total Supported</p>
227
  <p class="text-sm font-semibold text-cyan-400" id="totalSupported">€0.00</p>
228
  </div>
229
+ <div class="text-right border-l border-white/10 pl-3 md:pl-4">
230
  <p class="text-sm text-gray-400">Membership</p>
231
  <p class="text-sm font-semibold text-orange-400" id="membershipStatus">Free</p>
232
  </div>
 
250
  </div>
251
 
252
  <!-- Tabs -->
253
+ <div class="flex items-center gap-4 md:gap-8 border-b border-white/10 mb-8 mobile-tabs-scroll">
254
  <button class="px-4 py-3 text-sm font-medium tab-active" onclick="switchTab('liked')">
255
  <i data-lucide="heart" class="w-4 h-4 inline mr-2"></i>
256
  Liked Tracks
 
388
  </div>
389
  </div>
390
 
391
+ <script src="mobile-nav.js"></script>
392
  <script>
393
  lucide.createIcons();
394
 
mobile-nav.js ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // BeatFridge - Mobile Navigation Toggle
2
+ (function() {
3
+ function toggleMobileMenu() {
4
+ const panel = document.getElementById('mobileNavPanel');
5
+ const overlay = document.getElementById('mobileNavOverlay');
6
+ if (panel && overlay) {
7
+ panel.classList.toggle('open');
8
+ overlay.classList.toggle('open');
9
+ document.body.style.overflow = panel.classList.contains('open') ? 'hidden' : '';
10
+ }
11
+ }
12
+
13
+ function closeMobileMenu() {
14
+ const panel = document.getElementById('mobileNavPanel');
15
+ const overlay = document.getElementById('mobileNavOverlay');
16
+ if (panel && overlay) {
17
+ panel.classList.remove('open');
18
+ overlay.classList.remove('open');
19
+ document.body.style.overflow = '';
20
+ }
21
+ }
22
+
23
+ // Expose globally
24
+ window.toggleMobileMenu = toggleMobileMenu;
25
+ window.closeMobileMenu = closeMobileMenu;
26
+
27
+ // Close on Escape key
28
+ document.addEventListener('keydown', function(e) {
29
+ if (e.key === 'Escape') closeMobileMenu();
30
+ });
31
+ })();
responsive.css ADDED
@@ -0,0 +1,273 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* BeatFridge - Mobile Responsive Fixes */
2
+
3
+ /* ===== Global Overflow Prevention ===== */
4
+ html, body {
5
+ max-width: 100vw;
6
+ overflow-x: hidden;
7
+ }
8
+
9
+ img {
10
+ max-width: 100%;
11
+ height: auto;
12
+ }
13
+
14
+ /* ===== Mobile Navigation Panel ===== */
15
+ @media (max-width: 767px) {
16
+ .mobile-nav-panel {
17
+ position: fixed;
18
+ top: 0;
19
+ right: 0;
20
+ bottom: 0;
21
+ width: 280px;
22
+ max-width: 85vw;
23
+ background: #111111;
24
+ border-left: 1px solid rgba(255, 255, 255, 0.1);
25
+ z-index: 55;
26
+ padding: 1.5rem;
27
+ transform: translateX(100%);
28
+ transition: transform 0.3s ease;
29
+ overflow-y: auto;
30
+ }
31
+
32
+ .mobile-nav-panel.open {
33
+ transform: translateX(0);
34
+ }
35
+
36
+ .mobile-nav-overlay {
37
+ position: fixed;
38
+ inset: 0;
39
+ background: rgba(0, 0, 0, 0.7);
40
+ backdrop-filter: blur(4px);
41
+ -webkit-backdrop-filter: blur(4px);
42
+ z-index: 54;
43
+ opacity: 0;
44
+ pointer-events: none;
45
+ transition: opacity 0.3s ease;
46
+ }
47
+
48
+ .mobile-nav-overlay.open {
49
+ opacity: 1;
50
+ pointer-events: all;
51
+ }
52
+ }
53
+
54
+ /* ===== Sticky Player Mobile ===== */
55
+ @media (max-width: 767px) {
56
+ .sticky-player {
57
+ padding-left: 0.5rem !important;
58
+ padding-right: 0.5rem !important;
59
+ padding-top: 0.375rem !important;
60
+ padding-bottom: 0.375rem !important;
61
+ }
62
+
63
+ /* Inner flex container */
64
+ .sticky-player > div {
65
+ flex-wrap: wrap;
66
+ gap: 0.25rem;
67
+ }
68
+
69
+ /* Track info - responsive */
70
+ .sticky-player > div > div:first-child {
71
+ width: auto !important;
72
+ max-width: 55% !important;
73
+ flex: 1 1 0 !important;
74
+ min-width: 0 !important;
75
+ gap: 0.5rem !important;
76
+ }
77
+
78
+ /* Smaller art on mobile */
79
+ .sticky-player > div > div:first-child > div:first-child {
80
+ width: 2.5rem !important;
81
+ height: 2.5rem !important;
82
+ }
83
+
84
+ /* Hide maximize overlay on mobile */
85
+ .sticky-player .group:hover .opacity-0.group-hover\:opacity-100 {
86
+ display: none !important;
87
+ }
88
+
89
+ /* Volume section - hidden on mobile */
90
+ .sticky-player > div > div:last-child {
91
+ display: none !important;
92
+ }
93
+
94
+ /* Controls section */
95
+ .sticky-player > div > div:nth-child(2) {
96
+ flex: 0 0 auto !important;
97
+ max-width: 45% !important;
98
+ width: auto !important;
99
+ }
100
+
101
+ /* Hide progress bar on mobile */
102
+ .sticky-player > div > div:nth-child(2) > div:last-child {
103
+ display: none !important;
104
+ }
105
+
106
+ /* Compact buttons */
107
+ .sticky-player > div > div:nth-child(2) > div:first-child {
108
+ gap: 0.375rem !important;
109
+ margin-bottom: 0 !important;
110
+ }
111
+
112
+ /* Smaller play button */
113
+ .sticky-player .w-10.h-10.rounded-full.bg-white {
114
+ width: 2.25rem !important;
115
+ height: 2.25rem !important;
116
+ }
117
+
118
+ .sticky-player .w-10.h-10.rounded-full.bg-white svg,
119
+ .sticky-player .w-10.h-10.rounded-full.bg-white i {
120
+ width: 1rem !important;
121
+ height: 1rem !important;
122
+ }
123
+
124
+ /* Hide shuffle/repeat on very small screens */
125
+ @media (max-width: 374px) {
126
+ .sticky-player > div > div:nth-child(2) > div:first-child > button:first-child,
127
+ .sticky-player > div > div:nth-child(2) > div:first-child > button:last-child {
128
+ display: none !important;
129
+ }
130
+ }
131
+ }
132
+
133
+ /* ===== General Mobile Layout Fixes ===== */
134
+ @media (max-width: 767px) {
135
+ /* Ensure main layout containers don't overflow */
136
+ .max-w-\[1600px\] {
137
+ padding-left: 1rem !important;
138
+ padding-right: 1rem !important;
139
+ }
140
+
141
+ /* Prevent flex children from overflowing */
142
+ .flex {
143
+ min-width: 0;
144
+ }
145
+
146
+ /* Filter buttons wrap */
147
+ .flex.items-center.gap-2:not(.flex-shrink-0) {
148
+ flex-wrap: wrap;
149
+ }
150
+
151
+ /* Action buttons wrap */
152
+ .flex.items-center.gap-3.mb-2,
153
+ .flex.items-center.gap-3.mb-4 {
154
+ flex-wrap: wrap;
155
+ }
156
+
157
+ /* Stats rows wrap */
158
+ .flex.items-center.gap-8.mt-6.pt-6,
159
+ .flex.items-center.gap-6.mt-6.pt-6 {
160
+ flex-wrap: wrap;
161
+ gap: 1rem !important;
162
+ }
163
+
164
+ /* Artist info links wrap */
165
+ .flex.items-center.gap-4.text-sm.text-gray-300,
166
+ .flex.items-center.gap-6.text-sm.text-gray-300 {
167
+ flex-wrap: wrap;
168
+ gap: 0.5rem !important;
169
+ }
170
+
171
+ /* Smaller heading sizes on mobile */
172
+ .text-3xl {
173
+ font-size: 1.5rem !important;
174
+ }
175
+
176
+ .text-4xl {
177
+ font-size: 1.75rem !important;
178
+ }
179
+
180
+ .text-5xl {
181
+ font-size: 2rem !important;
182
+ }
183
+ }
184
+
185
+ /* ===== Tabs Scrollable ===== */
186
+ @media (max-width: 767px) {
187
+ .mobile-tabs-scroll {
188
+ overflow-x: auto;
189
+ -webkit-overflow-scrolling: touch;
190
+ scrollbar-width: none;
191
+ -ms-overflow-style: none;
192
+ }
193
+
194
+ .mobile-tabs-scroll::-webkit-scrollbar {
195
+ display: none;
196
+ }
197
+ }
198
+
199
+ /* ===== Analytics Specific ===== */
200
+ @media (max-width: 767px) {
201
+ .flex.items-end.justify-between {
202
+ flex-direction: column;
203
+ align-items: flex-start;
204
+ gap: 1rem;
205
+ }
206
+
207
+ .flex.items-center.gap-3:not(.flex-shrink-0) {
208
+ flex-wrap: wrap;
209
+ }
210
+ }
211
+
212
+ /* ===== Track Page Mobile ===== */
213
+ @media (max-width: 767px) {
214
+ .h-24.bg-white\/5 {
215
+ height: 4rem;
216
+ }
217
+
218
+ /* Comment input responsive */
219
+ .flex.gap-4.mb-6 {
220
+ gap: 0.75rem;
221
+ }
222
+ }
223
+
224
+ /* ===== Upload Page Mobile ===== */
225
+ @media (max-width: 767px) {
226
+ .flex.items-start.gap-6 {
227
+ flex-direction: column;
228
+ gap: 1rem;
229
+ }
230
+
231
+ .w-32.h-32,
232
+ .w-40.h-40 {
233
+ width: 100% !important;
234
+ height: auto !important;
235
+ aspect-ratio: 1;
236
+ }
237
+ }
238
+
239
+ /* ===== Wallet Summary Mobile ===== */
240
+ @media (max-width: 767px) {
241
+ .glass-panel.rounded-2xl.p-4.mb-6.flex.items-center.justify-between {
242
+ flex-wrap: wrap;
243
+ gap: 0.75rem;
244
+ }
245
+
246
+ .glass-panel.rounded-2xl.p-4.mb-6 .flex.items-center.gap-4 {
247
+ flex-wrap: wrap;
248
+ }
249
+ }
250
+
251
+ /* ===== Discover Filter Buttons ===== */
252
+ @media (max-width: 480px) {
253
+ .flex.items-center.gap-2 .px-4 {
254
+ padding-left: 0.75rem;
255
+ padding-right: 0.75rem;
256
+ }
257
+ }
258
+
259
+ /* ===== Prevent Any Fixed-Width Element from Overflowing ===== */
260
+ @media (max-width: 767px) {
261
+ [class*="w-64"] {
262
+ max-width: 100% !important;
263
+ }
264
+
265
+ input[type="text"],
266
+ input[type="email"],
267
+ input[type="password"],
268
+ input[type="number"],
269
+ select,
270
+ textarea {
271
+ max-width: 100% !important;
272
+ }
273
+ }
track.html CHANGED
@@ -7,6 +7,7 @@
7
  <script src="https://cdn.tailwindcss.com"></script>
8
  <script src="https://unpkg.com/lucide@latest"></script>
9
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
 
10
  <style>
11
  * {
12
  font-family: 'Inter', sans-serif;
@@ -170,6 +171,9 @@
170
  <i data-lucide="search" class="w-4 h-4 absolute left-3 top-1/2 -translate-y-1/2 text-gray-400"></i>
171
  </div>
172
 
 
 
 
173
  <button class="w-10 h-10 rounded-full bg-white/5 border border-white/10 flex items-center justify-center hover:bg-white/10 transition relative">
174
  <i data-lucide="bell" class="w-5 h-5 text-gray-300"></i>
175
  <span class="absolute top-2 right-2 w-2 h-2 bg-orange-500 rounded-full"></span>
@@ -182,6 +186,44 @@
182
  </div>
183
  </nav>
184
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
185
  <!-- Main Layout -->
186
  <div class="max-w-[1600px] mx-auto pt-16 flex gap-6 px-6 min-h-screen">
187
 
@@ -208,7 +250,7 @@
208
 
209
  <h1 class="text-4xl sm:text-5xl font-bold mb-3">Midnight Synthesis</h1>
210
 
211
- <div class="flex items-center gap-3 mb-6">
212
  <div class="w-10 h-10 rounded-full overflow-hidden avatar-ring">
213
  <img src="http://static.photos/people/200x200/77" class="w-full h-full object-cover">
214
  </div>
@@ -216,7 +258,7 @@
216
  <a href="artist.html" class="text-lg font-medium hover:text-cyan-400 transition">Aurora Void</a>
217
  <p class="text-sm text-gray-500">Berlin, Germany • 3 weeks ago</p>
218
  </div>
219
- <button class="ml-4 px-4 py-1.5 bg-white/10 hover:bg-white/20 border border-white/20 rounded-full text-sm font-medium transition" onclick="toggleFollow(this)">
220
  Follow
221
  </button>
222
  <button class="px-4 py-1.5 bg-gradient-to-r from-orange-500 to-red-500 hover:from-orange-400 hover:to-red-400 text-white rounded-full text-sm font-medium transition glow-orange flex items-center gap-1" onclick="openSupportModal()">
@@ -248,7 +290,7 @@
248
  </div>
249
 
250
  <div class="flex items-center justify-between">
251
- <div class="flex items-center gap-4">
252
  <button class="flex items-center gap-2 text-gray-400 hover:text-orange-400 transition like-btn" onclick="toggleLike(this)">
253
  <i data-lucide="heart" class="w-5 h-5"></i>
254
  <span class="text-sm">1.2K</span>
@@ -259,11 +301,11 @@
259
  </button>
260
  <button class="flex items-center gap-2 text-gray-400 hover:text-white transition">
261
  <i data-lucide="share-2" class="w-5 h-5"></i>
262
- <span class="text-sm">Share</span>
263
  </button>
264
  <button class="flex items-center gap-2 text-gray-400 hover:text-white transition">
265
  <i data-lucide="link" class="w-5 h-5"></i>
266
- <span class="text-sm">Copy Link</span>
267
  </button>
268
  </div>
269
  <button class="text-gray-400 hover:text-white transition">
@@ -596,6 +638,7 @@
596
  </div>
597
  </div>
598
 
 
599
  <script>
600
  lucide.createIcons();
601
 
 
7
  <script src="https://cdn.tailwindcss.com"></script>
8
  <script src="https://unpkg.com/lucide@latest"></script>
9
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
10
+ <link rel="stylesheet" href="responsive.css">
11
  <style>
12
  * {
13
  font-family: 'Inter', sans-serif;
 
171
  <i data-lucide="search" class="w-4 h-4 absolute left-3 top-1/2 -translate-y-1/2 text-gray-400"></i>
172
  </div>
173
 
174
+ <button id="mobileMenuBtn" class="md:hidden w-10 h-10 rounded-full bg-white/5 border border-white/10 flex items-center justify-center hover:bg-white/10 transition" onclick="toggleMobileMenu()">
175
+ <i data-lucide="menu" class="w-5 h-5 text-gray-300"></i>
176
+ </button>
177
  <button class="w-10 h-10 rounded-full bg-white/5 border border-white/10 flex items-center justify-center hover:bg-white/10 transition relative">
178
  <i data-lucide="bell" class="w-5 h-5 text-gray-300"></i>
179
  <span class="absolute top-2 right-2 w-2 h-2 bg-orange-500 rounded-full"></span>
 
186
  </div>
187
  </nav>
188
 
189
+ <!-- Mobile Nav Overlay -->
190
+ <div id="mobileNavOverlay" class="mobile-nav-overlay" onclick="closeMobileMenu()"></div>
191
+ <div id="mobileNavPanel" class="mobile-nav-panel">
192
+ <div class="flex items-center justify-between mb-8">
193
+ <div class="flex items-center gap-2">
194
+ <div class="w-8 h-8 rounded-lg flex items-center justify-center bg-white/10 border border-white/20">
195
+ <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-5 h-5 text-white">
196
+ <rect x="4" y="2" width="16" height="20" rx="2"/>
197
+ <line x1="4" y1="9" x2="20" y2="9"/>
198
+ <line x1="15" y1="5" x2="15" y2="7"/>
199
+ <line x1="15" y1="12" x2="15" y2="18"/>
200
+ </svg>
201
+ </div>
202
+ <span class="text-xl font-bold">BeatFridge</span>
203
+ </div>
204
+ <button onclick="closeMobileMenu()" class="w-10 h-10 rounded-full bg-white/5 border border-white/10 flex items-center justify-center hover:bg-white/10 transition">
205
+ <i data-lucide="x" class="w-5 h-5"></i>
206
+ </button>
207
+ </div>
208
+ <nav class="space-y-1">
209
+ <a href="index.html" class="flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-white/5 transition text-gray-300 hover:text-white">
210
+ <i data-lucide="home" class="w-5 h-5"></i> Home
211
+ </a>
212
+ <a href="discover.html" class="flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-white/5 transition text-gray-300 hover:text-white">
213
+ <i data-lucide="compass" class="w-5 h-5"></i> Discover
214
+ </a>
215
+ <a href="library.html" class="flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-white/5 transition text-gray-300 hover:text-white">
216
+ <i data-lucide="library" class="w-5 h-5"></i> Library
217
+ </a>
218
+ <a href="upload.html" class="flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-white/5 transition text-gray-300 hover:text-white">
219
+ <i data-lucide="upload-cloud" class="w-5 h-5"></i> Upload
220
+ </a>
221
+ <a href="analytics.html" class="flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-white/5 transition text-gray-300 hover:text-white">
222
+ <i data-lucide="bar-chart-2" class="w-5 h-5"></i> Analytics
223
+ </a>
224
+ </nav>
225
+ </div>
226
+
227
  <!-- Main Layout -->
228
  <div class="max-w-[1600px] mx-auto pt-16 flex gap-6 px-6 min-h-screen">
229
 
 
250
 
251
  <h1 class="text-4xl sm:text-5xl font-bold mb-3">Midnight Synthesis</h1>
252
 
253
+ <div class="flex flex-wrap items-center gap-3 mb-6">
254
  <div class="w-10 h-10 rounded-full overflow-hidden avatar-ring">
255
  <img src="http://static.photos/people/200x200/77" class="w-full h-full object-cover">
256
  </div>
 
258
  <a href="artist.html" class="text-lg font-medium hover:text-cyan-400 transition">Aurora Void</a>
259
  <p class="text-sm text-gray-500">Berlin, Germany • 3 weeks ago</p>
260
  </div>
261
+ <button class="px-4 py-1.5 bg-white/10 hover:bg-white/20 border border-white/20 rounded-full text-sm font-medium transition" onclick="toggleFollow(this)">
262
  Follow
263
  </button>
264
  <button class="px-4 py-1.5 bg-gradient-to-r from-orange-500 to-red-500 hover:from-orange-400 hover:to-red-400 text-white rounded-full text-sm font-medium transition glow-orange flex items-center gap-1" onclick="openSupportModal()">
 
290
  </div>
291
 
292
  <div class="flex items-center justify-between">
293
+ <div class="flex flex-wrap items-center gap-3 md:gap-4">
294
  <button class="flex items-center gap-2 text-gray-400 hover:text-orange-400 transition like-btn" onclick="toggleLike(this)">
295
  <i data-lucide="heart" class="w-5 h-5"></i>
296
  <span class="text-sm">1.2K</span>
 
301
  </button>
302
  <button class="flex items-center gap-2 text-gray-400 hover:text-white transition">
303
  <i data-lucide="share-2" class="w-5 h-5"></i>
304
+ <span class="text-sm hidden sm:inline">Share</span>
305
  </button>
306
  <button class="flex items-center gap-2 text-gray-400 hover:text-white transition">
307
  <i data-lucide="link" class="w-5 h-5"></i>
308
+ <span class="text-sm hidden sm:inline">Copy Link</span>
309
  </button>
310
  </div>
311
  <button class="text-gray-400 hover:text-white transition">
 
638
  </div>
639
  </div>
640
 
641
+ <script src="mobile-nav.js"></script>
642
  <script>
643
  lucide.createIcons();
644
 
upload.html CHANGED
@@ -7,6 +7,7 @@
7
  <script src="https://cdn.tailwindcss.com"></script>
8
  <script src="https://unpkg.com/lucide@latest"></script>
9
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
 
10
  <style>
11
  * {
12
  font-family: 'Inter', sans-serif;
 
7
  <script src="https://cdn.tailwindcss.com"></script>
8
  <script src="https://unpkg.com/lucide@latest"></script>
9
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
10
+ <link rel="stylesheet" href="responsive.css">
11
  <style>
12
  * {
13
  font-family: 'Inter', sans-serif;