Repository navigation
Expand file tree
/
Copy pathplay.html
More file actions
1123 lines (1074 loc) · 55.7 KB
/
Copy pathplay.html
File metadata and controls
1123 lines (1074 loc) · 55.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
<!-- Google Tag & Consent Mode -->
<script src="/js/gtag-init.js"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-C33HV1QV3S"></script>
<title>GEO Ride: Play 3D Driving Simulator Online Free</title>
<meta name="title" content="GEO Ride: Play 3D Driving Simulator Online Free" />
<meta
name="description"
content="Play GEO Ride 3D driving simulator online free. Drive cars, trucks, and buses anywhere on Earth with real-world physics and live multiplayer."
/>
<meta name="author" content="Milan Petkovski" />
<meta name="robots" content="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1" />
<meta name="googlebot" content="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1" />
<link rel="canonical" href="https://georide.milanwebportal.com/play" />
<!-- Geographic & Global Distribution -->
<meta name="coverage" content="Worldwide" />
<meta name="distribution" content="Global" />
<!-- AI Agent & LLM Discovery (AIO / GEO) -->
<link rel="help" href="/llms.txt" type="text/plain" title="LLM & AI Agent Context" />
<link rel="alternate" href="/llms-full.txt" type="text/plain" title="Comprehensive AI Knowledge Document" />
<!-- Mobile App Experience -->
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="apple-mobile-web-app-title" content="GEO Ride" />
<meta name="mobile-web-app-capable" content="yes" />
<!-- Social Graph / Facebook / Discord -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://georide.milanwebportal.com/play" />
<meta property="og:site_name" content="GEO Ride" />
<meta property="og:title" content="GEO Ride: Play 3D Driving Simulator Online Free" />
<meta
property="og:description"
content="Play the next-generation 3D driving simulator online in your browser. Drive realistic vehicles across high-fidelity 3D satellite maps of Earth with real-time multiplayer."
/>
<meta property="og:image" content="https://georide.milanwebportal.com/images/wow.jpg" />
<meta property="og:image:secure_url" content="https://georide.milanwebportal.com/images/wow.jpg" />
<meta property="og:image:width" content="1280" />
<meta property="og:image:height" content="720" />
<meta property="og:image:alt" content="GEO Ride 3D World Driving Simulator Gameplay" />
<meta property="og:locale" content="en_US" />
<!-- Twitter / X -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:site" content="@milanwebportal" />
<meta property="twitter:creator" content="@milanwebportal" />
<meta property="twitter:url" content="https://georide.milanwebportal.com/play" />
<meta property="twitter:title" content="GEO Ride: Play 3D Driving Simulator Online Free" />
<meta
property="twitter:description"
content="Experience Earth in 3D. Realistic driving physics on real-world satellite maps. Play free in your browser."
/>
<meta property="twitter:image" content="https://georide.milanwebportal.com/images/wow.jpg" />
<meta property="twitter:image:alt" content="GEO Ride 3D World Driving Simulator Gameplay" />
<!-- Structured Data / JSON-LD (Schema.org) -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebApplication",
"name": "GEO Ride",
"alternateName": "GEO Ride 3D Driving Simulator",
"url": "https://georide.milanwebportal.com/play",
"image": "https://georide.milanwebportal.com/images/wow.jpg",
"description": "Next-generation 3D driving simulator built on Mapbox GL JS and Three.js, featuring realistic physical vehicle dynamics and live WebSockets multiplayer.",
"applicationCategory": "GameApplication",
"operatingSystem": "All modern Web Browsers (Chrome, Firefox, Safari, Edge)",
"genre": "Driving Simulator",
"offers": {
"@type": "Offer",
"price": "0",
"priceCurrency": "USD",
"availability": "https://schema.org/InStock"
},
"author": {
"@type": "Person",
"name": "Milan Petkovski",
"url": "https://milanwebportal.com/"
}
}
</script>
<meta name="theme-color" content="#020202" />
<meta name="color-scheme" content="dark" />
<link rel="manifest" href="/manifest.json" />
<!-- Resource Hints (Elite Performance) -->
<link
rel="preload"
href="https://api.mapbox.com/mapbox-gl-js/v3.3.0/mapbox-gl.js"
as="script"
integrity="sha384-QhDWlNe46CZbFQWy0V1TD9TYGDGWBqSUyafVPJPqsUSkdANBOblLBczmDJcLlqwL"
crossorigin="anonymous"
/>
<link
rel="preload"
href="https://unpkg.com/three@0.147.0/build/three.min.js"
as="script"
integrity="sha384-vV17nr/rMaJqmeZkFUzXLpHdQ+ME5QHKdydaqqN+3Ga39RJlNrTatJxHwGV4ml2C"
crossorigin="anonymous"
/>
<link rel="preload" href="/fonts/outfit-600-latin.woff2" as="font" type="font/woff2" crossorigin />
<link rel="preload" href="/fonts/rajdhani-700-latin.woff2" as="font" type="font/woff2" crossorigin />
<link rel="dns-prefetch" href="https://api.mapbox.com" />
<link rel="preconnect" href="https://api.mapbox.com" />
<link rel="stylesheet" href="/fonts/fonts.css" />
<!-- Mapbox GL JS (Deferred with SRI) -->
<script
src="https://api.mapbox.com/mapbox-gl-js/v3.3.0/mapbox-gl.js"
integrity="sha384-QhDWlNe46CZbFQWy0V1TD9TYGDGWBqSUyafVPJPqsUSkdANBOblLBczmDJcLlqwL"
crossorigin="anonymous"
defer
></script>
<link
href="https://api.mapbox.com/mapbox-gl-js/v3.3.0/mapbox-gl.css"
integrity="sha384-u+wVUwl2ZXoPOrUMU3wYTEFmS6t764q435vp50Tj0SzRboIuzorj6aGCzOsK/YyR"
crossorigin="anonymous"
rel="stylesheet"
/>
<!-- Three.js for 3D Vehicle (Deferred with SRI) -->
<script
src="https://unpkg.com/three@0.147.0/build/three.min.js"
integrity="sha384-vV17nr/rMaJqmeZkFUzXLpHdQ+ME5QHKdydaqqN+3Ga39RJlNrTatJxHwGV4ml2C"
crossorigin="anonymous"
defer
></script>
<!-- Universal Multiplayer (MQTT Engine with SRI) -->
<script
src="https://cdnjs.cloudflare.com/ajax/libs/paho-mqtt/1.0.1/mqttws31.min.js"
integrity="sha384-FtgI6XBQHroa6RTQqVE29PsMgDmibchdhIXlikZhRqly3P0ZGnfxior+GiKyxF7/"
crossorigin="anonymous"
defer
></script>
<!-- Favicons and Touch Icons -->
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32.png" />
<link rel="icon" type="image/png" sizes="192x192" href="/favicon-192.png" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="stylesheet" href="style.css" />
<script src="/js/cookie-consent.js" defer></script>
</head>
<body>
<!-- Premium Loading Screen -->
<div
id="loading-overlay"
style="
position: fixed;
inset: 0;
background: #000;
z-index: 10000;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
opacity: 1;
pointer-events: auto;
"
>
<div class="loading-content">
<div class="loading-logo">GEO <span>RIDE</span></div>
<div class="progress-bar-container">
<div class="progress-bar-fill" id="progress-bar"></div>
</div>
<div class="loading-percentage" id="loading-pct">0%</div>
<div class="loading-tip-container">
<div class="loading-tip" id="loading-tip">
Press 'R' to instantly reset your vehicle if you get stuck or flip over.
</div>
</div>
</div>
</div>
<script src="/js/loading-init.js"></script>
<div id="map"></div>
<!-- Cinematic Location Discovery Overlay -->
<div id="location-discovery" class="location-discovery hidden">
<div class="discovery-subtitle">ARRIVED IN</div>
<div class="discovery-title" id="discovery-title">BELGRADE</div>
<div class="discovery-country" id="discovery-country">SERBIA</div>
</div>
<!-- UI Overlay -->
<div class="ui-container">
<h1
style="
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
"
>
GEO Ride - World Explorer & 3D Simulator
</h1>
<!-- Mobile Portrait Hint Banner -->
<aside id="portrait-orientation-hint" class="portrait-hint-banner" aria-label="Orientation suggestion">
<div class="portrait-hint-content">
<svg
class="portrait-hint-icon"
viewBox="0 0 24 24"
width="20"
height="20"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
aria-hidden="true"
>
<rect x="4" y="2" width="16" height="20" rx="2" ry="2"></rect>
<line x1="12" y1="18" x2="12.01" y2="18"></line>
<path d="M20 9l2-2-2-2"></path>
<path d="M22 7h-4"></path>
</svg>
<span>Rotate device to landscape for full screen controls</span>
</div>
<button
type="button"
id="dismiss-portrait-hint"
class="portrait-hint-dismiss"
aria-label="Dismiss orientation suggestion"
>
<svg
viewBox="0 0 24 24"
width="16"
height="16"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
aria-hidden="true"
>
<line x1="18" y1="6" x2="6" y2="18"></line>
<line x1="6" y1="6" x2="18" y2="18"></line>
</svg>
</button>
</aside>
<header>
<div class="header-left">
<a href="/" class="logo" aria-label="GEO Ride - Back to Home" title="Back to Home"
>GEO <span>RIDE</span></a
>
<a href="https://milanwebportal.com" target="_blank" class="author-link">BY MILANWEBPORTAL.COM</a>
</div>
<div class="header-right">
<div class="search-box">
<button id="search-btn" aria-label="Search location">
<svg
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"></path>
</svg>
</button>
<input type="text" id="location-search" placeholder="Search location..." />
</div>
<button
id="pro-open-btn"
class="pro-header-btn"
title="Unlock GEO Ride Pro"
aria-label="Unlock GEO Ride Pro"
>
<span class="pro-btn-shimmer"></span>
<span class="pro-btn-inner">
<svg
class="pro-crown-icon"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M2 20h20M5 20L3 8l5 4 4-7 4 7 5-4-2 12z"></path>
</svg>
<span class="pro-btn-label">PRO</span>
</span>
</button>
<div class="multiplayer-wrapper">
<button id="mp-btn" class="mp-main-btn" title="Multiplayer">
<svg
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path>
<circle cx="9" cy="7" r="4"></circle>
<path d="M23 21v-2a4 4 0 0 0-3-3.87"></path>
<path d="M16 3.13a4 4 0 0 1 0 7.75"></path>
</svg>
<span class="beta-badge">BETA</span>
</button>
<div id="mp-dropdown" class="mp-dropdown">
<div class="mp-dropdown-header">
<span>MULTIPLAYER</span>
<div id="mp-status-dot" class="status-dot"></div>
</div>
<div class="mp-section">
<div class="id-row">
<div class="id-badge" id="my-peer-id" title="Your personal code">...</div>
<button id="copy-id-btn">COPY</button>
</div>
</div>
<div class="mp-section">
<div
id="mp-connection-status"
style="
font-size: 0.7rem;
color: #ff4b4b;
text-align: center;
margin-bottom: 10px;
font-weight: 800;
letter-spacing: 1px;
"
>
NOT CONNECTED
</div>
<input type="text" id="join-peer-id" placeholder="ENTER PRIVATE CODE" />
<button id="join-mp-btn" type="button" class="primary-btn">JOIN ROOM</button>
<button id="disconnect-mp-btn" class="danger-btn" style="display: none">
DISCONNECT
</button>
</div>
<div id="mp-players-list" class="mp-players-list" style="display: none"></div>
</div>
</div>
<a
href="https://paypal.me/milanwebportal"
target="_blank"
class="coffee-btn"
title="Buy me a coffee"
>
<svg
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M18 8h1a4 4 0 0 1 0 8h-1"></path>
<path d="M2 8h16v9a4 4 0 0 1-4 4H6a4 4 0 0 1-4-4V8z"></path>
<line x1="6" y1="1" x2="6" y2="4"></line>
<line x1="10" y1="1" x2="10" y2="4"></line>
<line x1="14" y1="1" x2="14" y2="4"></line>
</svg>
</a>
<button
id="header-reset-btn"
class="header-reset-btn touch-btn"
title="Reset Vehicle"
aria-label="Reset Vehicle"
>
<svg
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2.5"
stroke-linecap="round"
stroke-linejoin="round"
style="width: 20px; height: 20px; display: block; margin: 0"
>
<path d="M21.5 2v6h-6M21.34 15.57a10 10 0 1 1-.57-8.38l5.67-5.67"></path>
</svg>
</button>
<div class="settings-wrapper">
<div id="settings-panel" class="settings-panel">
<div class="settings-mobile-header">
<span>SETTINGS</span>
<button
id="settings-close-btn"
class="settings-close-btn"
title="Close Settings"
aria-label="Close Settings"
>
<svg
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2.5"
stroke-linecap="round"
stroke-linejoin="round"
style="width: 20px; height: 20px"
>
<line x1="18" y1="6" x2="6" y2="18"></line>
<line x1="6" y1="6" x2="18" y2="18"></line>
</svg>
</button>
</div>
<!-- Dedicated Mobile Search Section (Mobile Only) -->
<div class="settings-section mobile-only-section" id="mobile-search-section">
<label>SEARCH LOCATION</label>
<div class="mobile-search-row">
<input
type="text"
id="mobile-location-search"
placeholder="Search city, address, country..."
/>
<button id="mobile-search-btn" class="primary-btn" aria-label="Search location">
<svg
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2.5"
stroke-linecap="round"
stroke-linejoin="round"
style="
width: 16px;
height: 16px;
margin: 0;
display: inline-block;
vertical-align: middle;
"
>
<path d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"></path>
</svg>
</button>
</div>
</div>
<!-- Multiplayer Section -->
<div class="settings-section" id="mobile-mp-section">
<label>MULTIPLAYER <span class="beta-pill">BETA</span></label>
<div class="mp-section" style="margin-top: 6px">
<div class="id-row">
<div class="id-badge" id="mobile-my-peer-id" title="Your personal code">
...
</div>
<button
id="mobile-copy-id-btn"
class="util-btn"
style="height: 32px; font-size: 11px; padding: 0 10px"
>
COPY
</button>
</div>
</div>
<div
class="mp-section"
style="margin-top: 6px; display: flex; flex-direction: column; gap: 8px"
>
<div
id="mobile-mp-connection-status"
style="
font-size: 0.7rem;
color: #ff4b4b;
text-align: center;
font-weight: 800;
letter-spacing: 1px;
"
>
NOT CONNECTED
</div>
<input
type="text"
id="mobile-join-peer-id"
placeholder="ENTER PRIVATE CODE"
style="
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 10px;
padding: 10px;
color: #fff;
text-align: center;
font-size: 12px;
outline: none;
width: 100%;
box-sizing: border-box;
"
/>
<button
id="mobile-join-mp-btn"
type="button"
class="primary-btn"
style="width: 100%; padding: 10px; font-size: 12px"
>
JOIN ROOM
</button>
<button
id="mobile-disconnect-mp-btn"
class="danger-btn"
style="display: none; width: 100%; padding: 10px; font-size: 12px"
>
DISCONNECT
</button>
</div>
<div
id="mobile-mp-players-list"
class="mp-players-list"
style="display: none; margin-top: 6px"
></div>
</div>
<div class="settings-section">
<label
for="master-volume"
style="display: flex; justify-content: space-between; align-items: center"
>
<span>MASTER SOUND</span>
<span id="volume-label" style="font-size: 0.7rem; opacity: 0.7">50%</span>
</label>
<input
type="range"
id="master-volume"
min="0"
max="1"
step="0.05"
value="0.5"
style="width: 100%; cursor: pointer; accent-color: #00f2ff"
/>
</div>
<div class="settings-section">
<label>VEHICLE</label>
<div class="toggle-group vehicle-toggle">
<button class="active" data-vehicle="car">CAR</button>
<button data-vehicle="bus">BUS</button>
<button data-vehicle="truck">TRUCK</button>
<button
data-vehicle="god"
id="vehicle-god-btn"
style="
--glow: #c470f0;
color: #c470f0;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 4px;
"
>
<span>GOD</span
><span
class="pro-badge-pill"
style="
font-size: 0.58rem;
background: linear-gradient(135deg, #9b3fd4, #c470f0);
color: #fff;
padding: 2px 6px;
border-radius: 999px;
line-height: 1;
display: inline-flex;
align-items: center;
font-weight: 800;
letter-spacing: 0.5px;
"
>PRO</span
>
</button>
</div>
</div>
<div class="settings-section">
<label>MAP STYLE</label>
<div class="toggle-group style-toggle">
<button class="active" data-style="streets-v12">STREETS</button>
<button data-style="satellite-v9">SATELLITE</button>
<button data-style="satellite-streets-v12">HYBRID</button>
<button data-style="standard">WOW</button>
</div>
</div>
<div class="settings-section" id="light-preset-section" style="display: none">
<label>LIGHT PRESET</label>
<div class="toggle-group light-toggle" id="light-main-group">
<button class="active" id="btn-realtime" data-preset="realtime">REAL TIME</button>
<button id="btn-manual-trigger">MANUAL</button>
</div>
<div
id="light-manual-group"
style="display: none; align-items: center; gap: 8px; width: 100%"
>
<button
id="btn-light-back"
style="
flex-shrink: 0;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 6px;
color: #fff;
cursor: pointer;
padding: 6px 12px;
font-size: 11px;
font-weight: 600;
transition: all 0.2s ease;
"
onmouseover="
this.style.background = 'rgba(255,255,255,0.1)';
this.style.borderColor = 'rgba(255,255,255,0.2)';
"
onmouseout="
this.style.background = 'rgba(255,255,255,0.05)';
this.style.borderColor = 'rgba(255,255,255,0.1)';
"
>
←
</button>
<div class="toggle-group light-toggle" style="flex: 1; margin: 0">
<button data-preset="day">DAY</button>
<button data-preset="dawn">DAWN</button>
<button data-preset="dusk">DUSK</button>
<button data-preset="night">NIGHT</button>
</div>
</div>
</div>
<div class="settings-section">
<label>UNITS</label>
<div class="toggle-group unit-toggle">
<button class="active" data-unit="km">KM/H</button>
<button data-unit="mi">MPH</button>
</div>
</div>
<div class="settings-section" id="collision-settings-section">
<label>COLLISIONS</label>
<div class="toggle-group collision-toggle">
<button class="active" data-collision="on">ON</button>
<button data-collision="off">OFF</button>
</div>
</div>
<div class="settings-row">
<div class="settings-section">
<label>3D VEHICLES</label>
<div class="toggle-group d3v-toggle">
<button class="active" data-d3v="on">ON</button>
<button data-d3v="off">OFF</button>
</div>
</div>
<div class="settings-section">
<label>3D BUILDINGS</label>
<div class="toggle-group d3b-toggle">
<button class="active" data-d3b="on">ON</button>
<button data-d3b="off">OFF</button>
</div>
</div>
</div>
<div class="settings-section">
<label style="color: #ff00e5; text-shadow: 0 0 10px #ff00e5">GOD MODE</label>
<div class="toggle-group god-toggle">
<button class="active" data-god="off">OFF</button>
<button
data-god="on"
id="god-on-btn"
style="
--glow: #ff00e5;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 4px;
"
>
<span>ON</span
><span
class="pro-badge-pill"
style="
font-size: 0.58rem;
background: linear-gradient(135deg, #9b3fd4, #c470f0);
color: #fff;
padding: 2px 6px;
border-radius: 999px;
line-height: 1;
display: inline-flex;
align-items: center;
font-weight: 800;
letter-spacing: 0.5px;
"
>PRO</span
>
</button>
</div>
</div>
<div class="settings-section" id="mobile-controls-toggle-section">
<label>MOBILE CONTROLS</label>
<div class="toggle-group controls-toggle">
<button class="active" data-controls="tilt">TILT STEER</button>
<button data-controls="off">OFF</button>
</div>
</div>
<!-- Dedicated Mobile Coffee Section (Mobile Only) -->
<div
class="settings-section mobile-only-section"
id="mobile-coffee-section"
style="
margin-top: 15px;
border-top: 1px solid rgba(255, 255, 255, 0.08);
padding-top: 15px;
"
>
<a
href="https://paypal.me/milanwebportal"
target="_blank"
class="mobile-coffee-link"
style="
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
background: rgba(0, 242, 255, 0.1);
border: 1px solid rgba(0, 242, 255, 0.2);
border-radius: 12px;
padding: 12px;
color: #00f2ff;
text-decoration: none;
font-weight: 800;
font-size: 13px;
letter-spacing: 1px;
"
>
<svg
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
style="width: 18px; height: 18px; margin: 0"
>
<path d="M18 8h1a4 4 0 0 1 0 8h-1"></path>
<path d="M2 8h16v9a4 4 0 0 1-4 4H6a4 4 0 0 1-4-4V8z"></path>
<line x1="6" y1="1" x2="6" y2="4"></line>
<line x1="10" y1="1" x2="10" y2="4"></line>
<line x1="14" y1="1" x2="14" y2="4"></line>
</svg>
<span>BUY ME A COFFEE</span>
</a>
</div>
</div>
<button id="settings-btn" class="settings-main-btn" aria-label="Open settings">
<svg
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"></path>
<path
d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"
></path>
</svg>
<span>SETTINGS</span>
</button>
</div>
</div>
</header>
<div class="bottom-ui">
<div class="copyright-notice">
Copyright © 2026 <a href="https://milanwebportal.com" target="_blank">milanwebportal.com</a>. All
rights reserved.
</div>
<div class="speed-container">
<div id="speed">0</div>
<span id="unit-label">KM/H</span>
</div>
<div class="center-controls">
<div class="control-item">
<div class="key-group">
<kbd>W</kbd>
<kbd>A</kbd>
<kbd>S</kbd>
<kbd>D</kbd>
</div>
<span>DRIVE</span>
</div>
<div class="divider"></div>
<div class="control-item">
<kbd>R</kbd>
<div style="display: flex; flex-direction: column; line-height: 1.1">
<span>RESET</span>
<span style="font-size: 0.5rem; opacity: 0.3">+SHIFT GLOBAL</span>
</div>
</div>
<div class="divider"></div>
<div class="control-item">
<kbd>SPACE</kbd>
<span>DRIFT</span>
</div>
</div>
</div>
<!-- Premium Interactive Touch Controls for Mobile/Tablet Devices -->
<div id="touch-controls" class="touch-controls-container">
<!-- Utility Reset and Drift Buttons -->
<div class="touch-utilities">
<button id="touch-reset" class="touch-btn util-btn" aria-label="Reset Vehicle">
<span>RESET</span>
</button>
<button id="touch-drift" class="touch-btn pedal-btn drift" aria-label="Drift/Handbrake">
<div class="pedal-label">DRIFT</div>
<div class="pedal-pedal"></div>
</button>
</div>
<!-- Pedals (Accelerate / Reverse-Brake) -->
<div class="touch-pedals">
<button id="touch-brake" class="touch-btn pedal-btn brake" aria-label="Brake or Reverse">
<div class="pedal-label">BRAKE</div>
<div class="pedal-pedal"></div>
</button>
<button id="touch-gas" class="touch-btn pedal-btn gas" aria-label="Accelerate">
<div class="pedal-label">GAS</div>
<div class="pedal-pedal"></div>
</button>
</div>
</div>
</div>
<!-- Premium Donation Toast Popup -->
<div id="donation-popup" class="donation-popup">
<!-- Floating Accent Badge -->
<div class="donation-badge">
<svg
class="donation-badge-icon"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path
d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"
></path>
</svg>
</div>
<button class="donation-close-btn" id="donation-close-btn" aria-label="Close message">
<svg
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2.5"
stroke-linecap="round"
stroke-linejoin="round"
>
<line x1="18" y1="6" x2="6" y2="18"></line>
<line x1="6" y1="6" x2="18" y2="18"></line>
</svg>
</button>
<div class="donation-content-wrapper">
<h3 class="donation-title">Enjoying GEO Ride?</h3>
<p class="donation-text">
Consider supporting the simulator. Your donation keeps our high-speed 3D mapping and multiplayer
servers online!
</p>
<a
href="https://paypal.me/milanwebportal"
target="_blank"
id="donation-paypal-btn"
class="donation-paypal-btn"
>
<svg
class="donation-btn-icon"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M18 8h1a4 4 0 0 1 0 8h-1"></path>
<path d="M2 8h16v9a4 4 0 0 1-4 4H6a4 4 0 0 1-4-4V8z"></path>
<line x1="6" y1="1" x2="6" y2="4"></line>
<line x1="10" y1="1" x2="10" y2="4"></line>
<line x1="14" y1="1" x2="14" y2="4"></line>
</svg>
BUY ME A COFFEE (PAYPAL)
</a>
</div>
</div>
<!-- GEO Ride Pro Modal -->
<div
id="pro-modal-backdrop"
class="pro-modal-backdrop"
role="dialog"
aria-modal="true"
aria-labelledby="pro-modal-title"
>
<div class="pro-modal">
<button id="pro-modal-close" class="pro-modal-close" aria-label="Close Pro modal">
<svg
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2.5"
stroke-linecap="round"
stroke-linejoin="round"
style="width: 18px; height: 18px"
>
<line x1="18" y1="6" x2="6" y2="18"></line>
<line x1="6" y1="6" x2="18" y2="18"></line>
</svg>
</button>
<div class="pro-modal-badge">
<svg
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
style="
width: 14px;
height: 14px;
display: inline-block;
vertical-align: middle;
margin-right: 4px;
"
>
<path
d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"
></path>
</svg>
GEO Ride Pro
</div>
<h2 id="pro-modal-title" class="pro-modal-title">Unlock <span>God Mode</span> & More</h2>
<p class="pro-modal-desc">
Upgrade your simulator experience with unlimited speed, zero collisions ghost mode, private
multiplayer rooms, and ad-free exploration.
</p>
<div class="pro-modal-perks">
<div class="pro-perk-item">
<svg
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2.5"
stroke-linecap="round"
stroke-linejoin="round"
>
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
<span>God Mode Ghost Vehicle</span>
</div>
<div class="pro-perk-item">
<svg
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2.5"
stroke-linecap="round"
stroke-linejoin="round"
>
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
<span>Private Multiplayer Rooms</span>
</div>
<div class="pro-perk-item">
<svg
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2.5"
stroke-linecap="round"
stroke-linejoin="round"
>
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
<span>Pro Player Badge in MP</span>