udd542 commited on
Commit
f02dd8f
·
verified ·
1 Parent(s): 17756c3

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. index.html +358 -279
index.html CHANGED
@@ -4,7 +4,7 @@
4
  <head>
5
  <meta charset="UTF-8">
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
- <title>Android OS Simulator | Web Experience</title>
8
  <!-- Importing FontAwesome for Icons -->
9
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
10
 
@@ -17,69 +17,80 @@
17
  --text-dark: #202124;
18
  --text-light: #5f6368;
19
  --white: #ffffff;
20
- --shadow-soft: 0 2px 5px rgba(0,0,0,0.1);
21
- --shadow-float: 0 10px 25px rgba(0,0,0,0.2);
22
- --app-radius: 16px;
23
- --phone-radius: 40px;
 
 
 
 
24
  }
25
 
26
  * {
27
  box-sizing: border-box;
28
  margin: 0;
29
  padding: 0;
30
- user-select: none; /* Prevent text selection for app-like feel */
31
  -webkit-tap-highlight-color: transparent;
 
 
32
  }
33
 
34
  body {
35
- background-color: #e0e0e0;
36
- background-image: radial-gradient(#d1d1d1 1px, transparent 1px);
37
- background-size: 20px 20px;
 
38
  font-family: 'Roboto', 'Segoe UI', sans-serif;
39
  height: 100vh;
40
  display: flex;
 
41
  justify-content: center;
42
  align-items: center;
43
  overflow: hidden;
44
  }
45
 
46
- /* --- PHONE FRAME --- */
47
  .phone-frame {
48
- width: 380px;
49
- height: 780px;
50
- background: var(--phone-border);
51
  border-radius: var(--phone-radius);
52
- box-shadow:
53
- 0 0 0 4px #333,
54
- 0 0 0 7px #000,
55
- 0 20px 50px rgba(0,0,0,0.5);
56
  position: relative;
57
- padding: 12px; /* Bezel thickness */
 
 
58
  }
59
 
60
- /* Notch */
61
  .notch {
62
  position: absolute;
63
- top: 12px;
64
  left: 50%;
65
  transform: translateX(-50%);
66
- width: 150px;
67
- height: 28px;
68
  background: #000;
69
- border-bottom-left-radius: 16px;
70
- border-bottom-right-radius: 16px;
71
  z-index: 100;
72
  display: flex;
73
  justify-content: center;
74
  align-items: center;
75
  }
76
-
77
  .camera {
78
- width: 10px;
79
- height: 10px;
80
  background: #1a1a1a;
81
  border-radius: 50%;
82
- border: 2px solid #333;
 
83
  }
84
 
85
  /* Screen Area */
@@ -87,7 +98,7 @@
87
  width: 100%;
88
  height: 100%;
89
  background: #fff;
90
- border-radius: 32px;
91
  overflow: hidden;
92
  position: relative;
93
  display: flex;
@@ -96,226 +107,286 @@
96
 
97
  /* --- STATUS BAR --- */
98
  .status-bar {
99
- height: 40px; /* Increased to cover notch area conceptually */
100
  display: flex;
101
  justify-content: space-between;
102
  align-items: center;
103
- padding: 0 20px;
104
- font-size: 0.8rem;
105
- font-weight: 500;
106
  color: #000;
107
  z-index: 90;
108
- padding-top: 10px;
109
  }
110
 
111
  .status-icons {
112
  display: flex;
113
- gap: 8px;
114
- font-size: 0.9rem;
 
 
 
 
 
 
 
 
 
 
 
 
115
  }
116
 
117
  /* --- NAVIGATION BAR --- */
118
  .nav-bar {
119
- height: 60px;
120
- background: #fff;
 
121
  display: flex;
122
  justify-content: space-around;
123
  align-items: center;
124
- border-top: 1px solid #eee;
125
  z-index: 90;
126
- padding-bottom: 5px;
127
  }
128
 
129
  .nav-btn {
130
- width: 40px;
131
- height: 40px;
132
  display: flex;
133
  justify-content: center;
134
  align-items: center;
135
  border-radius: 50%;
136
  cursor: pointer;
137
- transition: background 0.2s;
138
  color: #333;
139
  }
140
 
141
  .nav-btn:active {
142
- background: rgba(0,0,0,0.1);
 
143
  }
144
 
145
  .nav-home-circle {
146
- width: 50px;
147
- height: 18px;
148
- border: 2px solid #333;
149
- border-radius: 10px;
150
  }
151
 
152
  /* --- APP VIEWS --- */
153
  .view {
154
  flex: 1;
155
  position: absolute;
156
- top: 40px; /* Below status bar */
157
  left: 0;
158
  width: 100%;
159
- bottom: 60px; /* Above nav bar */
160
  background: #fff;
161
  overflow-y: auto;
162
- transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
 
163
  transform: scale(1);
164
  opacity: 1;
165
- display: none; /* Hidden by default */
 
166
  }
167
 
168
  .view.active {
169
  display: block;
170
  z-index: 10;
171
- animation: openApp 0.3s forwards;
172
  }
173
-
174
  .view.hidden {
175
  display: none;
176
  }
177
 
178
- @keyframes openApp {
179
- from { transform: scale(0.9); opacity: 0; }
180
- to { transform: scale(1); opacity: 1; }
 
 
 
 
 
 
 
 
181
  }
182
 
183
  /* --- HOME SCREEN --- */
184
  #home-view {
185
- display: flex; /* Override default block for flex layout */
186
  flex-direction: column;
187
- background: url('https://picsum.photos/seed/wallpaper2/400/800') no-repeat center center/cover;
 
188
  }
189
 
190
  .home-top-widget {
191
- padding: 20px;
192
  color: white;
193
- text-shadow: 0 2px 4px rgba(0,0,0,0.5);
194
  }
195
 
196
  .clock-widget {
197
- font-size: 3.5rem;
198
  font-weight: 200;
 
199
  }
200
 
201
  .date-widget {
202
- font-size: 1.1rem;
 
 
203
  }
204
 
205
  .app-grid {
206
  display: grid;
207
  grid-template-columns: repeat(4, 1fr);
208
- gap: 15px;
209
- padding: 20px;
210
  margin-top: auto;
211
- margin-bottom: 20px;
212
  }
213
 
214
  .app-icon-container {
215
  display: flex;
216
  flex-direction: column;
217
  align-items: center;
218
- gap: 5px;
219
  cursor: pointer;
 
 
 
 
 
220
  }
221
 
222
  .app-icon {
223
- width: 55px;
224
- height: 55px;
225
- border-radius: 14px;
226
  background: white;
227
  display: flex;
228
  justify-content: center;
229
  align-items: center;
230
- font-size: 1.5rem;
231
- box-shadow: 0 4px 10px rgba(0,0,0,0.2);
232
- transition: transform 0.1s;
233
- }
234
-
235
- .app-icon:active {
236
- transform: scale(0.9);
237
  }
238
 
239
  .app-name {
240
  color: white;
241
- font-size: 0.75rem;
242
- text-shadow: 0 1px 2px rgba(0,0,0,0.8);
 
243
  text-align: center;
244
  }
245
 
246
  /* Specific App Colors */
247
- .icon-playstore { background: linear-gradient(135deg, #0F9D58 0%, #009688 100%); color: white; }
248
- .icon-memory { background: linear-gradient(135deg, #4285F4 0%, #1976D2 100%); color: white; }
249
- .icon-settings { background: #607D8B; color: white; }
250
- .icon-browser { background: linear-gradient(135deg, #EA4335 0%, #C5221F 100%); color: white; }
251
- .icon-camera { background: #333; color: white; }
252
- .icon-music { background: linear-gradient(135deg, #FF4081 0%, #C2185B 100%); color: white; }
253
- .icon-messages { background: linear-gradient(135deg, #1A73E8 0%, #0D47A1 100%); color: white; }
254
- .icon-files { background: #FFC107; color: #333; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
255
 
256
  /* --- PLAY STORE APP --- */
257
  .store-header {
258
- padding: 10px 15px;
259
  background: #fff;
260
  position: sticky;
261
  top: 0;
262
  z-index: 20;
263
- box-shadow: 0 1px 2px rgba(0,0,0,0.05);
264
  }
265
 
266
  .search-bar {
267
  background: #f1f3f4;
268
- border-radius: 8px;
269
- padding: 8px 15px;
270
  display: flex;
271
  align-items: center;
272
- gap: 10px;
273
  color: #5f6368;
274
  }
275
-
276
  .search-bar input {
277
  border: none;
278
  background: transparent;
279
  outline: none;
280
  width: 100%;
281
- font-size: 0.9rem;
282
  }
283
 
284
  .store-content {
285
- padding: 15px;
286
  }
287
 
288
  .section-title {
289
- font-size: 1.1rem;
290
- font-weight: 600;
291
- margin-bottom: 15px;
292
  margin-top: 10px;
293
  }
294
 
295
  .app-card {
296
  display: flex;
297
- gap: 15px;
298
- margin-bottom: 20px;
299
  cursor: pointer;
300
- padding: 10px;
301
- border-radius: 12px;
302
  transition: background 0.2s;
303
  }
304
 
305
  .app-card:active {
306
- background: #f1f3f4;
307
  }
308
 
309
  .app-card-img {
310
- width: 70px;
311
- height: 70px;
312
- border-radius: 12px;
313
  background: #eee;
314
  display: flex;
315
  justify-content: center;
316
  align-items: center;
317
- font-size: 2rem;
318
  color: #555;
 
319
  }
320
 
321
  .app-card-info {
@@ -326,76 +397,78 @@
326
  }
327
 
328
  .app-card-title {
329
- font-weight: 600;
330
- font-size: 1rem;
331
  }
332
 
333
  .app-card-desc {
334
- font-size: 0.8rem;
335
  color: var(--text-light);
336
- margin-top: 2px;
 
337
  }
338
 
339
  .app-rating {
340
- font-size: 0.75rem;
341
  color: var(--text-light);
342
- margin-top: 4px;
343
  }
344
 
345
  .install-btn {
346
  background: var(--primary-green);
347
  color: white;
348
  border: none;
349
- padding: 6px 16px;
350
- border-radius: 4px;
351
- font-weight: 500;
352
- font-size: 0.85rem;
353
- height: 35px;
354
  cursor: pointer;
355
  align-self: center;
356
- transition: background 0.2s;
 
357
  }
358
 
359
- .install-btn:hover {
360
- background: #00704a;
361
  }
362
 
363
  .install-btn.downloading {
364
  background: transparent;
365
  color: var(--primary-green);
366
  cursor: default;
 
367
  }
368
 
369
  /* --- MEMORY/STORAGE APP --- */
370
  .storage-header {
371
  background: var(--primary-blue);
372
  color: white;
373
- padding: 30px 20px 50px;
374
- border-bottom-left-radius: 30px;
375
- border-bottom-right-radius: 30px;
376
  text-align: center;
377
  }
378
 
379
  .storage-chart-container {
380
- width: 150px;
381
- height: 150px;
382
  margin: 0 auto;
383
  position: relative;
384
  border-radius: 50%;
385
- background: conic-gradient(
386
- var(--primary-blue) 0% 45%,
387
- #FFC107 45% 70%,
388
- #EA4335 70% 85%,
389
- #eee 85% 100%
390
- );
391
  display: flex;
392
  justify-content: center;
393
  align-items: center;
 
394
  }
395
 
396
  .storage-inner-circle {
397
- width: 120px;
398
- height: 120px;
399
  background: var(--primary-blue);
400
  border-radius: 50%;
401
  display: flex;
@@ -405,40 +478,41 @@
405
  }
406
 
407
  .storage-gb {
408
- font-size: 1.8rem;
409
  font-weight: bold;
410
  }
411
 
412
  .storage-label {
413
- font-size: 0.8rem;
414
  opacity: 0.9;
415
  }
416
 
417
  .storage-list {
418
- padding: 20px;
419
- margin-top: -30px;
420
  }
421
 
422
  .storage-item {
423
  background: white;
424
- padding: 15px;
425
- border-radius: 12px;
426
- margin-bottom: 10px;
427
  display: flex;
428
  align-items: center;
429
- gap: 15px;
430
  box-shadow: var(--shadow-soft);
431
  }
432
 
433
  .s-icon {
434
- width: 40px;
435
- height: 40px;
436
- border-radius: 8px;
437
- background: #eee;
438
  display: flex;
439
  justify-content: center;
440
  align-items: center;
441
  color: #555;
 
442
  }
443
 
444
  .s-info {
@@ -446,44 +520,55 @@
446
  }
447
 
448
  .s-name {
449
- font-size: 0.9rem;
450
- font-weight: 500;
451
  }
452
 
453
  .s-size {
454
- font-size: 0.8rem;
455
  color: var(--text-light);
456
  }
457
 
458
  .progress-bar {
459
- height: 4px;
460
  background: #eee;
461
- border-radius: 2px;
462
  width: 100%;
463
- margin-top: 8px;
464
  }
465
 
466
  .progress-fill {
467
  height: 100%;
468
- border-radius: 2px;
469
  }
470
 
471
  /* --- SETTINGS APP --- */
472
  .settings-list {
473
- padding: 10px;
474
  }
 
475
  .setting-item {
476
- padding: 15px;
477
- border-bottom: 1px solid #eee;
478
  display: flex;
479
  align-items: center;
480
- gap: 15px;
481
  cursor: pointer;
 
482
  }
483
- .setting-item:active { background: #fafafa; }
484
- .setting-icon { color: var(--primary-blue); width: 24px; text-align: center; }
485
-
486
- /* --- APP DETAIL MODAL (Simulated) --- */
 
 
 
 
 
 
 
 
 
487
  .app-detail-view {
488
  display: none;
489
  position: absolute;
@@ -494,65 +579,90 @@
494
  background: white;
495
  z-index: 50;
496
  flex-direction: column;
497
- animation: openApp 0.2s forwards;
498
  }
499
-
500
  .detail-hero {
501
- padding: 20px;
502
  display: flex;
503
- gap: 20px;
504
  align-items: center;
505
  }
506
-
507
  .detail-icon {
508
- width: 72px;
509
- height: 72px;
510
- border-radius: 16px;
511
  background: #eee;
512
  display: flex;
513
  justify-content: center;
514
  align-items: center;
515
- font-size: 2rem;
 
516
  }
517
-
518
- .detail-info h2 { font-size: 1.2rem; margin-bottom: 5px; }
519
- .detail-info p { color: var(--text-light); font-size: 0.9rem; }
520
-
 
 
 
 
 
 
 
521
  .detail-actions {
522
- padding: 0 20px 20px;
523
  display: flex;
524
- gap: 10px;
525
  }
526
-
527
  .detail-stats {
528
- padding: 20px;
529
  border-top: 1px solid #eee;
530
  display: flex;
531
  justify-content: space-around;
532
  text-align: center;
533
  }
534
-
535
- .stat-box h4 { font-size: 1.2rem; color: var(--text-dark); }
536
- .stat-box span { font-size: 0.8rem; color: var(--text-light); }
 
 
 
 
 
 
 
537
 
538
  /* --- ANYCODER LINK --- */
539
  .anycoder-link {
540
  text-align: center;
541
- margin-top: 20px;
542
- font-size: 0.9rem;
543
- color: #555;
 
544
  }
 
545
  .anycoder-link a {
546
- color: var(--primary-blue);
547
  text-decoration: none;
548
  font-weight: bold;
 
 
 
 
549
  }
550
-
 
 
 
 
551
  /* Scrollbar hiding */
552
  ::-webkit-scrollbar {
553
- display: none;
 
554
  }
555
-
556
  </style>
557
  </head>
558
 
@@ -570,11 +680,14 @@
570
  <div class="screen">
571
  <!-- Status Bar -->
572
  <div class="status-bar">
573
- <div id="status-time">12:00</div>
 
 
 
574
  <div class="status-icons">
575
  <i class="fa-solid fa-wifi"></i>
576
  <i class="fa-solid fa-signal"></i>
577
- <i class="fa-solid fa-battery-three-quarters"></i>
578
  </div>
579
  </div>
580
 
@@ -624,7 +737,7 @@
624
  <!-- VIEW: PLAY STORE -->
625
  <div id="playstore-view" class="view">
626
  <div class="store-header">
627
- <div style="font-weight: bold; font-size: 1.1rem; margin-bottom: 10px; color: var(--primary-green);">
628
  Google Play
629
  </div>
630
  <div class="search-bar">
@@ -635,7 +748,7 @@
635
 
636
  <div class="store-content">
637
  <div class="section-title">Recommended for you</div>
638
-
639
  <!-- App 1 -->
640
  <div class="app-card" onclick="openAppDetail('WhatsApp', '#25D366', 'fa-whatsapp', '4.5', 'Social')">
641
  <div class="app-card-img" style="background: #25D366; color: white;">
@@ -653,14 +766,16 @@
653
 
654
  <!-- App 2 -->
655
  <div class="app-card" onclick="openAppDetail('Instagram', '#C13584', 'fa-instagram', '4.2', 'Photo & Video')">
656
- <div class="app-card-img" style="background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); color: white;">
 
657
  <i class="fa-brands fa-instagram"></i>
658
  </div>
659
  <div class="app-card-info">
660
  <div class="app-card-title">Instagram</div>
661
  <div class="app-card-desc">Connect with friends, share what you're up to.</div>
662
  <div class="app-rating">
663
- <i class="fa-solid fa-star" style="color:#FFC107"></i> 4.2 <span style="margin-left:5px">• Photo & Video</span>
 
664
  </div>
665
  </div>
666
  <button class="install-btn" onclick="event.stopPropagation(); startDownload(this)">Install</button>
@@ -680,7 +795,7 @@
680
  </div>
681
  <button class="install-btn" onclick="event.stopPropagation(); startDownload(this)">Install</button>
682
  </div>
683
-
684
  <div class="section-title">Top Charts</div>
685
  <!-- App 4 -->
686
  <div class="app-card" onclick="openAppDetail('TikTok', '#000000', 'fa-tiktok', '4.4', 'Entertainment')">
@@ -691,30 +806,31 @@
691
  <div class="app-card-title">TikTok</div>
692
  <div class="app-card-desc">Real People. Real Videos.</div>
693
  <div class="app-rating">
694
- <i class="fa-solid fa-star" style="color:#FFC107"></i> 4.4 <span style="margin-left:5px">• Entertainment</span>
 
695
  </div>
696
  </div>
697
  <button class="install-btn" onclick="event.stopPropagation(); startDownload(this)">Update</button>
698
  </div>
699
  </div>
700
-
701
- <!-- Detail View Overlay (Inside Play Store) -->
702
  <div id="app-detail-overlay" class="app-detail-view">
703
- <div style="padding: 10px; display: flex; align-items: center; gap: 10px;">
704
- <i class="fa-solid fa-arrow-left" style="font-size: 1.2rem; cursor: pointer;" onclick="closeAppDetail()"></i>
705
- <span style="font-weight: 600; font-size: 1.1rem; flex: 1; text-align: center; margin-right: 24px;">App Details</span>
706
- </div>
707
- <div id="detail-content"></div>
708
  </div>
709
  </div>
710
 
711
  <!-- VIEW: MEMORY APP -->
712
  <div id="memory-view" class="view">
713
  <div class="storage-header">
714
- <h2 style="margin-bottom: 20px;">Storage Manager</h2>
715
  <div class="storage-chart-container">
716
  <div class="storage-inner-circle">
717
- <div class="storage-gb">85<span style="font-size: 1rem;">GB</span></div>
718
  <div class="storage-label">Used of 128 GB</div>
719
  </div>
720
  </div>
@@ -726,7 +842,9 @@
726
  <div class="s-info">
727
  <div class="s-name">Games</div>
728
  <div class="s-size">38 GB</div>
729
- <div class="progress-bar"><div class="progress-fill" style="width: 70%; background: var(--primary-blue);"></div></div>
 
 
730
  </div>
731
  </div>
732
 
@@ -735,7 +853,9 @@
735
  <div class="s-info">
736
  <div class="s-name">Images</div>
737
  <div class="s-size">22 GB</div>
738
- <div class="progress-bar"><div class="progress-fill" style="width: 45%; background: #FFC107;"></div></div>
 
 
739
  </div>
740
  </div>
741
 
@@ -744,7 +864,9 @@
744
  <div class="s-info">
745
  <div class="s-name">Videos</div>
746
  <div class="s-size">15 GB</div>
747
- <div class="progress-bar"><div class="progress-fill" style="width: 30%; background: #EA4335;"></div></div>
 
 
748
  </div>
749
  </div>
750
 
@@ -753,7 +875,9 @@
753
  <div class="s-info">
754
  <div class="s-name">System</div>
755
  <div class="s-size">10 GB</div>
756
- <div class="progress-bar"><div class="progress-fill" style="width: 20%; background: #888;"></div></div>
 
 
757
  </div>
758
  </div>
759
  </div>
@@ -761,7 +885,7 @@
761
 
762
  <!-- VIEW: SETTINGS -->
763
  <div id="settings-view" class="view">
764
- <h2 style="padding: 20px; font-weight: 500;">Settings</h2>
765
  <div class="settings-list">
766
  <div class="setting-item">
767
  <i class="fa-solid fa-wifi setting-icon"></i>
@@ -796,29 +920,33 @@
796
  </div>
797
  </div>
798
 
799
- <!-- Placeholder Views for other apps -->
800
- <div id="browser-view" class="view" style="background: #f1f3f4; display: flex; justify-content: center; align-items: center; color: #999;">
 
801
  <div style="text-align: center;">
802
- <i class="fa-brands fa-chrome" style="font-size: 4rem; margin-bottom: 20px;"></i>
803
- <p>Chrome Browser Placeholder</p>
804
  </div>
805
  </div>
806
-
807
- <div id="camera-view" class="view" style="background: #000; display: flex; justify-content: center; align-items: center;">
808
- <i class="fa-solid fa-camera-retro" style="font-size: 3rem; color: #333;"></i>
809
- <div style="position: absolute; bottom: 20px; width: 60px; height: 60px; border-radius: 50%; border: 4px solid white; background: rgba(255,255,255,0.3);"></div>
 
 
 
810
  </div>
811
 
812
  <!-- Navigation Bar -->
813
  <div class="nav-bar">
814
  <div class="nav-btn" onclick="handleNav('back')">
815
- <i class="fa-solid fa-chevron-left" style="font-size: 1.2rem;"></i>
816
  </div>
817
  <div class="nav-btn" onclick="handleNav('home')">
818
  <div class="nav-home-circle"></div>
819
  </div>
820
  <div class="nav-btn" onclick="handleNav('recent')">
821
- <i class="fa-solid fa-square" style="font-size: 1.2rem;"></i>
822
  </div>
823
  </div>
824
 
@@ -828,26 +956,20 @@
828
  <script>
829
  // --- Navigation State ---
830
  let currentApp = null;
831
- let appHistory = []; // To handle Back button
832
 
833
  function openApp(appId) {
834
- // Push current state to history if not home
835
  if (currentApp && currentApp !== 'home') {
836
  appHistory.push(currentApp);
837
  }
838
 
839
- // Hide all views
840
  document.querySelectorAll('.view').forEach(el => el.classList.remove('active'));
841
 
842
- // Show target view
843
  const target = document.getElementById(appId + '-view');
844
  if (target) {
845
  target.classList.add('active');
846
  currentApp = appId;
847
  } else {
848
- // If view doesn't exist, show a generic placeholder or alert
849
- console.log("App " + appId + " not fully implemented.");
850
- // Fallback to browser view for demo purposes
851
  document.getElementById('browser-view').classList.add('active');
852
  currentApp = 'browser';
853
  }
@@ -859,8 +981,7 @@
859
  } else if (action === 'back') {
860
  goBack();
861
  } else if (action === 'recent') {
862
- // Simulate recent apps switcher
863
- goHome(); // For simplicity, just go home
864
  }
865
  }
866
 
@@ -874,8 +995,6 @@
874
  function goBack() {
875
  if (appHistory.length > 0) {
876
  const prevApp = appHistory.pop();
877
- // Swap logic because openApp pushes to history, but here we just want to show the previous
878
- // A simple stack pop approach
879
  document.querySelectorAll('.view').forEach(el => el.classList.remove('active'));
880
  document.getElementById(prevApp + '-view').classList.add('active');
881
  currentApp = prevApp;
@@ -884,16 +1003,16 @@
884
  }
885
  }
886
 
887
- // --- Play Store Logic ---
888
 
889
  function startDownload(btn) {
890
  btn.classList.add('downloading');
891
  btn.innerHTML = '<i class="fa-solid fa-spinner fa-spin"></i>';
892
 
893
- // Simulate Fast Download
894
  setTimeout(() => {
895
  btn.innerHTML = '99%';
896
- }, 500);
897
 
898
  setTimeout(() => {
899
  btn.classList.remove('downloading');
@@ -901,7 +1020,7 @@
901
  btn.style.color = '#01875f';
902
  btn.style.border = '1px solid #ddd';
903
  btn.innerHTML = 'Open';
904
- }, 1200);
905
  }
906
 
907
  function openAppDetail(name, color, iconClass, rating, category) {
@@ -918,12 +1037,12 @@
918
  <p>${category}</p>
919
  </div>
920
  </div>
921
- <div style="padding: 0 20px;">
922
- <button class="install-btn" style="width: 100%; height: 45px; font-size: 1rem;" onclick="startDownload(this); this.innerText='Installing...';">Install</button>
923
  </div>
924
  <div class="detail-stats">
925
  <div class="stat-box">
926
- <h4>${rating} <i class="fa-solid fa-star" style="font-size: 0.8rem; color:#FFC107"></i></h4>
927
  <span>Rating</span>
928
  </div>
929
  <div class="stat-box">
@@ -933,44 +1052,4 @@
933
  <div class="stat-box">
934
  <h4>E</h4>
935
  <span>Everyone</span>
936
- </div>
937
- </div>
938
- <div style="padding: 20px; font-size: 0.9rem; color: #555; line-height: 1.5;">
939
- <p>Welcome to ${name}. This is a simulated description of the app. Experience the best features available on the Android platform. Fast, secure, and reliable.</p>
940
- </div>
941
- `;
942
-
943
- overlay.style.display = 'flex';
944
- }
945
-
946
- function closeAppDetail() {
947
- document.getElementById('app-detail-overlay').style.display = 'none';
948
- }
949
-
950
- // --- System Clock ---
951
- function updateClocks() {
952
- const now = new Date();
953
- let hours = now.getHours();
954
- let minutes = now.getMinutes();
955
- const ampm = hours >= 12 ? 'PM' : 'AM';
956
-
957
- hours = hours % 12;
958
- hours = hours ? hours : 12;
959
- minutes = minutes < 10 ? '0' + minutes : minutes;
960
-
961
- const timeString = hours + ':' + minutes;
962
-
963
- document.getElementById('status-time').innerText = timeString;
964
- document.getElementById('clock-widget').innerText = timeString;
965
-
966
- const options = { weekday: 'short', month: 'short', day: 'numeric' };
967
- document.getElementById('date-widget').innerText = now.toLocaleDateString('en-US', options);
968
- }
969
-
970
- setInterval(updateClocks, 1000);
971
- updateClocks();
972
-
973
- </script>
974
- </body>
975
-
976
- </html>
 
4
  <head>
5
  <meta charset="UTF-8">
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <title>Android 8K Ultra Simulator | Fast Experience</title>
8
  <!-- Importing FontAwesome for Icons -->
9
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
10
 
 
17
  --text-dark: #202124;
18
  --text-light: #5f6368;
19
  --white: #ffffff;
20
+ --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.1);
21
+ --shadow-float: 0 20px 50px rgba(0, 0, 0, 0.3);
22
+ --app-radius: 20px;
23
+ --phone-radius: 45px;
24
+
25
+ /* Sizing Variables for "Big Display" */
26
+ --phone-width: min(90vw, 550px);
27
+ --phone-height: min(95vh, 950px);
28
  }
29
 
30
  * {
31
  box-sizing: border-box;
32
  margin: 0;
33
  padding: 0;
34
+ user-select: none;
35
  -webkit-tap-highlight-color: transparent;
36
+ /* Hardware Acceleration Hint */
37
+ backface-visibility: hidden;
38
  }
39
 
40
  body {
41
+ background-color: #121212;
42
+ /* Darker background to make the 8K screen pop */
43
+ background-image: radial-gradient(#1f1f1f 1px, transparent 1px);
44
+ background-size: 30px 30px;
45
  font-family: 'Roboto', 'Segoe UI', sans-serif;
46
  height: 100vh;
47
  display: flex;
48
+ flex-direction: column;
49
  justify-content: center;
50
  align-items: center;
51
  overflow: hidden;
52
  }
53
 
54
+ /* --- PHONE FRAME (Larger) --- */
55
  .phone-frame {
56
+ width: var(--phone-width);
57
+ height: var(--phone-height);
58
+ background: #000;
59
  border-radius: var(--phone-radius);
60
+ box-shadow:
61
+ 0 0 0 3px #333,
62
+ 0 0 0 8px #000,
63
+ 0 30px 60px rgba(0, 0, 0, 0.7);
64
  position: relative;
65
+ padding: 14px;
66
+ transform: translateZ(0); /* GPU Boost */
67
+ transition: transform 0.3s ease;
68
  }
69
 
70
+ /* Notch - Slimmer for modern look */
71
  .notch {
72
  position: absolute;
73
+ top: 14px;
74
  left: 50%;
75
  transform: translateX(-50%);
76
+ width: 180px;
77
+ height: 32px;
78
  background: #000;
79
+ border-bottom-left-radius: 20px;
80
+ border-bottom-right-radius: 20px;
81
  z-index: 100;
82
  display: flex;
83
  justify-content: center;
84
  align-items: center;
85
  }
86
+
87
  .camera {
88
+ width: 14px;
89
+ height: 14px;
90
  background: #1a1a1a;
91
  border-radius: 50%;
92
+ border: 3px solid #222;
93
+ box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
94
  }
95
 
96
  /* Screen Area */
 
98
  width: 100%;
99
  height: 100%;
100
  background: #fff;
101
+ border-radius: 38px;
102
  overflow: hidden;
103
  position: relative;
104
  display: flex;
 
107
 
108
  /* --- STATUS BAR --- */
109
  .status-bar {
110
+ height: 50px;
111
  display: flex;
112
  justify-content: space-between;
113
  align-items: center;
114
+ padding: 0 25px;
115
+ font-size: 0.95rem;
116
+ font-weight: 600;
117
  color: #000;
118
  z-index: 90;
119
+ padding-top: 15px;
120
  }
121
 
122
  .status-icons {
123
  display: flex;
124
+ gap: 10px;
125
+ font-size: 1rem;
126
+ align-items: center;
127
+ }
128
+
129
+ .badge-8k {
130
+ font-size: 0.7rem;
131
+ background: #000;
132
+ color: #fff;
133
+ padding: 2px 6px;
134
+ border-radius: 4px;
135
+ margin-right: 8px;
136
+ font-weight: 800;
137
+ letter-spacing: 0.5px;
138
  }
139
 
140
  /* --- NAVIGATION BAR --- */
141
  .nav-bar {
142
+ height: 70px;
143
+ background: rgba(255, 255, 255, 0.95);
144
+ backdrop-filter: blur(10px);
145
  display: flex;
146
  justify-content: space-around;
147
  align-items: center;
 
148
  z-index: 90;
149
+ padding-bottom: 10px;
150
  }
151
 
152
  .nav-btn {
153
+ width: 50px;
154
+ height: 50px;
155
  display: flex;
156
  justify-content: center;
157
  align-items: center;
158
  border-radius: 50%;
159
  cursor: pointer;
160
+ transition: background 0.15s ease, transform 0.1s;
161
  color: #333;
162
  }
163
 
164
  .nav-btn:active {
165
+ background: rgba(0, 0, 0, 0.1);
166
+ transform: scale(0.9);
167
  }
168
 
169
  .nav-home-circle {
170
+ width: 60px;
171
+ height: 22px;
172
+ border: 2.5px solid #333;
173
+ border-radius: 12px;
174
  }
175
 
176
  /* --- APP VIEWS --- */
177
  .view {
178
  flex: 1;
179
  position: absolute;
180
+ top: 50px;
181
  left: 0;
182
  width: 100%;
183
+ bottom: 70px;
184
  background: #fff;
185
  overflow-y: auto;
186
+ /* Faster, snappier transition */
187
+ transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s ease;
188
  transform: scale(1);
189
  opacity: 1;
190
+ display: none;
191
+ will-change: transform, opacity;
192
  }
193
 
194
  .view.active {
195
  display: block;
196
  z-index: 10;
197
+ animation: openAppFast 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
198
  }
199
+
200
  .view.hidden {
201
  display: none;
202
  }
203
 
204
+ @keyframes openAppFast {
205
+ from {
206
+ transform: scale(0.92);
207
+ opacity: 0;
208
+ filter: brightness(1.2);
209
+ }
210
+ to {
211
+ transform: scale(1);
212
+ opacity: 1;
213
+ filter: brightness(1);
214
+ }
215
  }
216
 
217
  /* --- HOME SCREEN --- */
218
  #home-view {
219
+ display: flex;
220
  flex-direction: column;
221
+ /* High Res Wallpaper */
222
+ background: url('https://picsum.photos/seed/ultra/800/1200') no-repeat center center/cover;
223
  }
224
 
225
  .home-top-widget {
226
+ padding: 40px 30px;
227
  color: white;
228
+ text-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
229
  }
230
 
231
  .clock-widget {
232
+ font-size: 5rem;
233
  font-weight: 200;
234
+ letter-spacing: -2px;
235
  }
236
 
237
  .date-widget {
238
+ font-size: 1.4rem;
239
+ font-weight: 500;
240
+ opacity: 0.9;
241
  }
242
 
243
  .app-grid {
244
  display: grid;
245
  grid-template-columns: repeat(4, 1fr);
246
+ gap: 25px;
247
+ padding: 30px;
248
  margin-top: auto;
249
+ margin-bottom: 30px;
250
  }
251
 
252
  .app-icon-container {
253
  display: flex;
254
  flex-direction: column;
255
  align-items: center;
256
+ gap: 8px;
257
  cursor: pointer;
258
+ transition: transform 0.1s;
259
+ }
260
+
261
+ .app-icon-container:active {
262
+ transform: scale(0.9);
263
  }
264
 
265
  .app-icon {
266
+ width: 70px;
267
+ height: 70px;
268
+ border-radius: 18px;
269
  background: white;
270
  display: flex;
271
  justify-content: center;
272
  align-items: center;
273
+ font-size: 2rem;
274
+ box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
 
 
 
 
 
275
  }
276
 
277
  .app-name {
278
  color: white;
279
+ font-size: 0.9rem;
280
+ font-weight: 500;
281
+ text-shadow: 0 2px 4px rgba(0, 0, 0, 1);
282
  text-align: center;
283
  }
284
 
285
  /* Specific App Colors */
286
+ .icon-playstore {
287
+ background: linear-gradient(135deg, #0F9D58 0%, #009688 100%);
288
+ color: white;
289
+ }
290
+
291
+ .icon-memory {
292
+ background: linear-gradient(135deg, #4285F4 0%, #1976D2 100%);
293
+ color: white;
294
+ }
295
+
296
+ .icon-settings {
297
+ background: #607D8B;
298
+ color: white;
299
+ }
300
+
301
+ .icon-browser {
302
+ background: linear-gradient(135deg, #EA4335 0%, #C5221F 100%);
303
+ color: white;
304
+ }
305
+
306
+ .icon-camera {
307
+ background: #333;
308
+ color: white;
309
+ }
310
+
311
+ .icon-music {
312
+ background: linear-gradient(135deg, #FF4081 0%, #C2185B 100%);
313
+ color: white;
314
+ }
315
+
316
+ .icon-messages {
317
+ background: linear-gradient(135deg, #1A73E8 0%, #0D47A1 100%);
318
+ color: white;
319
+ }
320
+
321
+ .icon-files {
322
+ background: #FFC107;
323
+ color: #333;
324
+ }
325
 
326
  /* --- PLAY STORE APP --- */
327
  .store-header {
328
+ padding: 15px 20px;
329
  background: #fff;
330
  position: sticky;
331
  top: 0;
332
  z-index: 20;
333
+ box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
334
  }
335
 
336
  .search-bar {
337
  background: #f1f3f4;
338
+ border-radius: 12px;
339
+ padding: 12px 20px;
340
  display: flex;
341
  align-items: center;
342
+ gap: 12px;
343
  color: #5f6368;
344
  }
345
+
346
  .search-bar input {
347
  border: none;
348
  background: transparent;
349
  outline: none;
350
  width: 100%;
351
+ font-size: 1rem;
352
  }
353
 
354
  .store-content {
355
+ padding: 20px;
356
  }
357
 
358
  .section-title {
359
+ font-size: 1.3rem;
360
+ font-weight: 700;
361
+ margin-bottom: 20px;
362
  margin-top: 10px;
363
  }
364
 
365
  .app-card {
366
  display: flex;
367
+ gap: 20px;
368
+ margin-bottom: 25px;
369
  cursor: pointer;
370
+ padding: 12px;
371
+ border-radius: 16px;
372
  transition: background 0.2s;
373
  }
374
 
375
  .app-card:active {
376
+ background: #f5f5f5;
377
  }
378
 
379
  .app-card-img {
380
+ width: 85px;
381
+ height: 85px;
382
+ border-radius: 18px;
383
  background: #eee;
384
  display: flex;
385
  justify-content: center;
386
  align-items: center;
387
+ font-size: 2.5rem;
388
  color: #555;
389
+ box-shadow: 0 4px 8px rgba(0,0,0,0.1);
390
  }
391
 
392
  .app-card-info {
 
397
  }
398
 
399
  .app-card-title {
400
+ font-weight: 700;
401
+ font-size: 1.15rem;
402
  }
403
 
404
  .app-card-desc {
405
+ font-size: 0.9rem;
406
  color: var(--text-light);
407
+ margin-top: 4px;
408
+ line-height: 1.3;
409
  }
410
 
411
  .app-rating {
412
+ font-size: 0.85rem;
413
  color: var(--text-light);
414
+ margin-top: 6px;
415
  }
416
 
417
  .install-btn {
418
  background: var(--primary-green);
419
  color: white;
420
  border: none;
421
+ padding: 8px 20px;
422
+ border-radius: 8px;
423
+ font-weight: 600;
424
+ font-size: 0.95rem;
425
+ height: 45px;
426
  cursor: pointer;
427
  align-self: center;
428
+ transition: all 0.2s;
429
+ box-shadow: 0 2px 5px rgba(1, 135, 95, 0.3);
430
  }
431
 
432
+ .install-btn:active {
433
+ transform: scale(0.95);
434
  }
435
 
436
  .install-btn.downloading {
437
  background: transparent;
438
  color: var(--primary-green);
439
  cursor: default;
440
+ box-shadow: none;
441
  }
442
 
443
  /* --- MEMORY/STORAGE APP --- */
444
  .storage-header {
445
  background: var(--primary-blue);
446
  color: white;
447
+ padding: 50px 30px 80px;
448
+ border-bottom-left-radius: 40px;
449
+ border-bottom-right-radius: 40px;
450
  text-align: center;
451
  }
452
 
453
  .storage-chart-container {
454
+ width: 200px;
455
+ height: 200px;
456
  margin: 0 auto;
457
  position: relative;
458
  border-radius: 50%;
459
+ background: conic-gradient(var(--primary-blue) 0% 45%,
460
+ #FFC107 45% 70%,
461
+ #EA4335 70% 85%,
462
+ #eee 85% 100%);
 
 
463
  display: flex;
464
  justify-content: center;
465
  align-items: center;
466
+ box-shadow: 0 10px 30px rgba(0,0,0,0.2);
467
  }
468
 
469
  .storage-inner-circle {
470
+ width: 160px;
471
+ height: 160px;
472
  background: var(--primary-blue);
473
  border-radius: 50%;
474
  display: flex;
 
478
  }
479
 
480
  .storage-gb {
481
+ font-size: 2.5rem;
482
  font-weight: bold;
483
  }
484
 
485
  .storage-label {
486
+ font-size: 1rem;
487
  opacity: 0.9;
488
  }
489
 
490
  .storage-list {
491
+ padding: 30px;
492
+ margin-top: -50px;
493
  }
494
 
495
  .storage-item {
496
  background: white;
497
+ padding: 20px;
498
+ border-radius: 16px;
499
+ margin-bottom: 15px;
500
  display: flex;
501
  align-items: center;
502
+ gap: 20px;
503
  box-shadow: var(--shadow-soft);
504
  }
505
 
506
  .s-icon {
507
+ width: 50px;
508
+ height: 50px;
509
+ border-radius: 12px;
510
+ background: #f5f5f5;
511
  display: flex;
512
  justify-content: center;
513
  align-items: center;
514
  color: #555;
515
+ font-size: 1.2rem;
516
  }
517
 
518
  .s-info {
 
520
  }
521
 
522
  .s-name {
523
+ font-size: 1rem;
524
+ font-weight: 600;
525
  }
526
 
527
  .s-size {
528
+ font-size: 0.9rem;
529
  color: var(--text-light);
530
  }
531
 
532
  .progress-bar {
533
+ height: 6px;
534
  background: #eee;
535
+ border-radius: 3px;
536
  width: 100%;
537
+ margin-top: 10px;
538
  }
539
 
540
  .progress-fill {
541
  height: 100%;
542
+ border-radius: 3px;
543
  }
544
 
545
  /* --- SETTINGS APP --- */
546
  .settings-list {
547
+ padding: 15px;
548
  }
549
+
550
  .setting-item {
551
+ padding: 20px;
552
+ border-bottom: 1px solid #f0f0f0;
553
  display: flex;
554
  align-items: center;
555
+ gap: 20px;
556
  cursor: pointer;
557
+ font-size: 1rem;
558
  }
559
+
560
+ .setting-item:active {
561
+ background: #fafafa;
562
+ }
563
+
564
+ .setting-icon {
565
+ color: var(--primary-blue);
566
+ width: 28px;
567
+ text-align: center;
568
+ font-size: 1.2rem;
569
+ }
570
+
571
+ /* --- APP DETAIL MODAL --- */
572
  .app-detail-view {
573
  display: none;
574
  position: absolute;
 
579
  background: white;
580
  z-index: 50;
581
  flex-direction: column;
582
+ animation: openAppFast 0.2s forwards;
583
  }
584
+
585
  .detail-hero {
586
+ padding: 30px;
587
  display: flex;
588
+ gap: 25px;
589
  align-items: center;
590
  }
591
+
592
  .detail-icon {
593
+ width: 90px;
594
+ height: 90px;
595
+ border-radius: 20px;
596
  background: #eee;
597
  display: flex;
598
  justify-content: center;
599
  align-items: center;
600
+ font-size: 2.5rem;
601
+ box-shadow: 0 5px 15px rgba(0,0,0,0.1);
602
  }
603
+
604
+ .detail-info h2 {
605
+ font-size: 1.5rem;
606
+ margin-bottom: 8px;
607
+ }
608
+
609
+ .detail-info p {
610
+ color: var(--text-light);
611
+ font-size: 1rem;
612
+ }
613
+
614
  .detail-actions {
615
+ padding: 0 30px 30px;
616
  display: flex;
617
+ gap: 15px;
618
  }
619
+
620
  .detail-stats {
621
+ padding: 30px;
622
  border-top: 1px solid #eee;
623
  display: flex;
624
  justify-content: space-around;
625
  text-align: center;
626
  }
627
+
628
+ .stat-box h4 {
629
+ font-size: 1.5rem;
630
+ color: var(--text-dark);
631
+ }
632
+
633
+ .stat-box span {
634
+ font-size: 0.9rem;
635
+ color: var(--text-light);
636
+ }
637
 
638
  /* --- ANYCODER LINK --- */
639
  .anycoder-link {
640
  text-align: center;
641
+ margin-bottom: 30px;
642
+ font-size: 1rem;
643
+ color: #888;
644
+ font-weight: 500;
645
  }
646
+
647
  .anycoder-link a {
648
+ color: #fff;
649
  text-decoration: none;
650
  font-weight: bold;
651
+ background: rgba(255,255,255,0.1);
652
+ padding: 5px 12px;
653
+ border-radius: 20px;
654
+ transition: background 0.3s;
655
  }
656
+
657
+ .anycoder-link a:hover {
658
+ background: rgba(255,255,255,0.2);
659
+ }
660
+
661
  /* Scrollbar hiding */
662
  ::-webkit-scrollbar {
663
+ width: 0px;
664
+ background: transparent;
665
  }
 
666
  </style>
667
  </head>
668
 
 
680
  <div class="screen">
681
  <!-- Status Bar -->
682
  <div class="status-bar">
683
+ <div style="display:flex; align-items:center;">
684
+ <span class="badge-8k">8K</span>
685
+ <div id="status-time">12:00</div>
686
+ </div>
687
  <div class="status-icons">
688
  <i class="fa-solid fa-wifi"></i>
689
  <i class="fa-solid fa-signal"></i>
690
+ <i class="fa-solid fa-battery-full"></i>
691
  </div>
692
  </div>
693
 
 
737
  <!-- VIEW: PLAY STORE -->
738
  <div id="playstore-view" class="view">
739
  <div class="store-header">
740
+ <div style="font-weight: 800; font-size: 1.4rem; margin-bottom: 15px; color: var(--primary-green);">
741
  Google Play
742
  </div>
743
  <div class="search-bar">
 
748
 
749
  <div class="store-content">
750
  <div class="section-title">Recommended for you</div>
751
+
752
  <!-- App 1 -->
753
  <div class="app-card" onclick="openAppDetail('WhatsApp', '#25D366', 'fa-whatsapp', '4.5', 'Social')">
754
  <div class="app-card-img" style="background: #25D366; color: white;">
 
766
 
767
  <!-- App 2 -->
768
  <div class="app-card" onclick="openAppDetail('Instagram', '#C13584', 'fa-instagram', '4.2', 'Photo & Video')">
769
+ <div class="app-card-img"
770
+ style="background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); color: white;">
771
  <i class="fa-brands fa-instagram"></i>
772
  </div>
773
  <div class="app-card-info">
774
  <div class="app-card-title">Instagram</div>
775
  <div class="app-card-desc">Connect with friends, share what you're up to.</div>
776
  <div class="app-rating">
777
+ <i class="fa-solid fa-star" style="color:#FFC107"></i> 4.2
778
+ <span style="margin-left:5px">• Photo & Video</span>
779
  </div>
780
  </div>
781
  <button class="install-btn" onclick="event.stopPropagation(); startDownload(this)">Install</button>
 
795
  </div>
796
  <button class="install-btn" onclick="event.stopPropagation(); startDownload(this)">Install</button>
797
  </div>
798
+
799
  <div class="section-title">Top Charts</div>
800
  <!-- App 4 -->
801
  <div class="app-card" onclick="openAppDetail('TikTok', '#000000', 'fa-tiktok', '4.4', 'Entertainment')">
 
806
  <div class="app-card-title">TikTok</div>
807
  <div class="app-card-desc">Real People. Real Videos.</div>
808
  <div class="app-rating">
809
+ <i class="fa-solid fa-star" style="color:#FFC107"></i> 4.4
810
+ <span style="margin-left:5px">• Entertainment</span>
811
  </div>
812
  </div>
813
  <button class="install-btn" onclick="event.stopPropagation(); startDownload(this)">Update</button>
814
  </div>
815
  </div>
816
+
817
+ <!-- Detail View Overlay -->
818
  <div id="app-detail-overlay" class="app-detail-view">
819
+ <div style="padding: 15px; display: flex; align-items: center; gap: 15px;">
820
+ <i class="fa-solid fa-arrow-left" style="font-size: 1.4rem; cursor: pointer;" onclick="closeAppDetail()"></i>
821
+ <span style="font-weight: 700; font-size: 1.2rem; flex: 1; text-align: center; margin-right: 30px;">App Details</span>
822
+ </div>
823
+ <div id="detail-content"></div>
824
  </div>
825
  </div>
826
 
827
  <!-- VIEW: MEMORY APP -->
828
  <div id="memory-view" class="view">
829
  <div class="storage-header">
830
+ <h2 style="margin-bottom: 30px; font-size: 1.8rem;">Storage Manager</h2>
831
  <div class="storage-chart-container">
832
  <div class="storage-inner-circle">
833
+ <div class="storage-gb">85<span style="font-size: 1.5rem;">GB</span></div>
834
  <div class="storage-label">Used of 128 GB</div>
835
  </div>
836
  </div>
 
842
  <div class="s-info">
843
  <div class="s-name">Games</div>
844
  <div class="s-size">38 GB</div>
845
+ <div class="progress-bar">
846
+ <div class="progress-fill" style="width: 70%; background: var(--primary-blue);"></div>
847
+ </div>
848
  </div>
849
  </div>
850
 
 
853
  <div class="s-info">
854
  <div class="s-name">Images</div>
855
  <div class="s-size">22 GB</div>
856
+ <div class="progress-bar">
857
+ <div class="progress-fill" style="width: 45%; background: #FFC107;"></div>
858
+ </div>
859
  </div>
860
  </div>
861
 
 
864
  <div class="s-info">
865
  <div class="s-name">Videos</div>
866
  <div class="s-size">15 GB</div>
867
+ <div class="progress-bar">
868
+ <div class="progress-fill" style="width: 30%; background: #EA4335;"></div>
869
+ </div>
870
  </div>
871
  </div>
872
 
 
875
  <div class="s-info">
876
  <div class="s-name">System</div>
877
  <div class="s-size">10 GB</div>
878
+ <div class="progress-bar">
879
+ <div class="progress-fill" style="width: 20%; background: #888;"></div>
880
+ </div>
881
  </div>
882
  </div>
883
  </div>
 
885
 
886
  <!-- VIEW: SETTINGS -->
887
  <div id="settings-view" class="view">
888
+ <h2 style="padding: 30px; font-weight: 600; font-size: 1.8rem;">Settings</h2>
889
  <div class="settings-list">
890
  <div class="setting-item">
891
  <i class="fa-solid fa-wifi setting-icon"></i>
 
920
  </div>
921
  </div>
922
 
923
+ <!-- Placeholder Views -->
924
+ <div id="browser-view" class="view"
925
+ style="background: #f1f3f4; display: flex; justify-content: center; align-items: center; color: #999;">
926
  <div style="text-align: center;">
927
+ <i class="fa-brands fa-chrome" style="font-size: 5rem; margin-bottom: 30px;"></i>
928
+ <p style="font-size: 1.2rem;">Chrome Browser Placeholder</p>
929
  </div>
930
  </div>
931
+
932
+ <div id="camera-view" class="view"
933
+ style="background: #000; display: flex; justify-content: center; align-items: center;">
934
+ <i class="fa-solid fa-camera-retro" style="font-size: 4rem; color: #333;"></i>
935
+ <div
936
+ style="position: absolute; bottom: 30px; width: 80px; height: 80px; border-radius: 50%; border: 5px solid white; background: rgba(255,255,255,0.3);">
937
+ </div>
938
  </div>
939
 
940
  <!-- Navigation Bar -->
941
  <div class="nav-bar">
942
  <div class="nav-btn" onclick="handleNav('back')">
943
+ <i class="fa-solid fa-chevron-left" style="font-size: 1.4rem;"></i>
944
  </div>
945
  <div class="nav-btn" onclick="handleNav('home')">
946
  <div class="nav-home-circle"></div>
947
  </div>
948
  <div class="nav-btn" onclick="handleNav('recent')">
949
+ <i class="fa-solid fa-square" style="font-size: 1.4rem;"></i>
950
  </div>
951
  </div>
952
 
 
956
  <script>
957
  // --- Navigation State ---
958
  let currentApp = null;
959
+ let appHistory = [];
960
 
961
  function openApp(appId) {
 
962
  if (currentApp && currentApp !== 'home') {
963
  appHistory.push(currentApp);
964
  }
965
 
 
966
  document.querySelectorAll('.view').forEach(el => el.classList.remove('active'));
967
 
 
968
  const target = document.getElementById(appId + '-view');
969
  if (target) {
970
  target.classList.add('active');
971
  currentApp = appId;
972
  } else {
 
 
 
973
  document.getElementById('browser-view').classList.add('active');
974
  currentApp = 'browser';
975
  }
 
981
  } else if (action === 'back') {
982
  goBack();
983
  } else if (action === 'recent') {
984
+ goHome();
 
985
  }
986
  }
987
 
 
995
  function goBack() {
996
  if (appHistory.length > 0) {
997
  const prevApp = appHistory.pop();
 
 
998
  document.querySelectorAll('.view').forEach(el => el.classList.remove('active'));
999
  document.getElementById(prevApp + '-view').classList.add('active');
1000
  currentApp = prevApp;
 
1003
  }
1004
  }
1005
 
1006
+ // --- Play Store Logic (FAST) ---
1007
 
1008
  function startDownload(btn) {
1009
  btn.classList.add('downloading');
1010
  btn.innerHTML = '<i class="fa-solid fa-spinner fa-spin"></i>';
1011
 
1012
+ // FAST SIMULATION: Reduced timeouts
1013
  setTimeout(() => {
1014
  btn.innerHTML = '99%';
1015
+ }, 300); // Was 500ms
1016
 
1017
  setTimeout(() => {
1018
  btn.classList.remove('downloading');
 
1020
  btn.style.color = '#01875f';
1021
  btn.style.border = '1px solid #ddd';
1022
  btn.innerHTML = 'Open';
1023
+ }, 600); // Was 1200ms
1024
  }
1025
 
1026
  function openAppDetail(name, color, iconClass, rating, category) {
 
1037
  <p>${category}</p>
1038
  </div>
1039
  </div>
1040
+ <div style="padding: 0 30px;">
1041
+ <button class="install-btn" style="width: 100%; height: 55px; font-size: 1.1rem;" onclick="startDownload(this); this.innerText='Installing...';">Install</button>
1042
  </div>
1043
  <div class="detail-stats">
1044
  <div class="stat-box">
1045
+ <h4>${rating} <i class="fa-solid fa-star" style="font-size: 0.9rem; color:#FFC107"></i></h4>
1046
  <span>Rating</span>
1047
  </div>
1048
  <div class="stat-box">
 
1052
  <div class="stat-box">
1053
  <h4>E</h4>
1054
  <span>Everyone</span>
1055
+ </div>