-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
593 lines (566 loc) · 40.9 KB
/
Copy pathindex.html
File metadata and controls
593 lines (566 loc) · 40.9 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/>
<title>OPORTAL — Beam Into the OASIS</title>
<meta name="description" content="OPORTAL is your gateway to the OASIS Omniverse — the WEB 4 avatar & identity portal. One avatar, one karma, one wallet across every connected world. Beam in to manage your avatar, NFTs, data, HyperDrive and more."/>
<link rel="icon" type="image/svg+xml" href="/favicon.svg"/>
<link rel="preconnect" href="https://fonts.googleapis.com"/>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/>
<link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=Rajdhani:wght@400;500;600;700&family=Share+Tech+Mono&display=swap" rel="stylesheet"/>
<style>
:root{
--bg:#04101c;
--surface:rgba(10,22,42,.72);
--surface2:rgba(8,16,34,.9);
--cyan:#00e5ff;
--green:#48dc82;
--amber:#ffb43c;
--coral:#ff7070;
--violet:#8b5cf6;
--text:#dceaff;
--text-dim:#a8bfd8;
--heading:#eaf6ff;
--border:rgba(0,229,255,.16);
--glow:rgba(0,229,255,.28);
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--text);font-family:'Rajdhani',sans-serif;font-size:17px;line-height:1.6;overflow-x:hidden;min-height:100vh}
body::before{content:'';position:fixed;inset:0;background:repeating-linear-gradient(0deg,transparent,transparent 2px,rgba(0,0,0,.07) 2px,rgba(0,0,0,.07) 4px);pointer-events:none;z-index:9999}
#stars{position:fixed;inset:0;z-index:0;pointer-events:none}
a{color:inherit;transition:filter .3s ease}
/* ── NAV ── */
nav{position:fixed;top:0;left:0;right:0;z-index:1000;display:flex;align-items:center;justify-content:space-between;padding:.85rem 2.2rem;background:rgba(4,16,28,.82);backdrop-filter:blur(14px);border-bottom:1px solid var(--border)}
.nav-brand{display:flex;align-items:center;gap:.7rem;text-decoration:none}
.nav-brand svg{width:34px;height:34px}
.nav-brand span{font-family:'Orbitron',sans-serif;font-size:1.05rem;font-weight:700;color:var(--cyan);letter-spacing:.16em}
.nav-links{display:flex;gap:1.9rem;list-style:none}
.nav-links a{color:var(--text-dim);text-decoration:none;font-weight:600;font-size:.92rem;letter-spacing:.06em;transition:color .2s;text-transform:uppercase}
.nav-links a:hover{color:var(--cyan)}
.nav-actions{display:flex;gap:.7rem;align-items:center}
.nav-beam{color:var(--cyan);text-decoration:none;font-family:'Share Tech Mono',monospace;font-size:.78rem;letter-spacing:.1em;border:1px solid rgba(0,229,255,.32);padding:.5rem 1rem;border-radius:999px;transition:background .2s,border-color .2s;white-space:nowrap;flex-shrink:0}
.nav-beam:hover{background:rgba(0,229,255,.08);border-color:rgba(0,229,255,.6)}
.nav-cta{background:var(--cyan);color:#021018;padding:.5rem 1.15rem;border-radius:999px;font-family:'Orbitron',sans-serif;font-size:.72rem;font-weight:700;letter-spacing:.1em;text-decoration:none;transition:box-shadow .2s,transform .2s;white-space:nowrap;flex-shrink:0}
.nav-cta:hover{box-shadow:0 0 32px rgba(0,229,255,.7)}
.nav-hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:4px;background:none;border:none;z-index:1000;position:relative}
.nav-hamburger span{display:block;width:22px;height:2px;background:var(--cyan);border-radius:2px;transition:transform .25s,opacity .25s}
.nav-hamburger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-hamburger.open span:nth-child(2){opacity:0}
.nav-hamburger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
@media(max-width:820px){
nav{padding:.75rem 1rem}
.nav-hamburger{display:flex}
.nav-cta{display:none}
.nav-links{
display:flex!important;flex-direction:column;gap:0;
position:fixed;top:0;right:0;height:100vh;width:min(78vw,320px);
justify-content:flex-start;align-items:flex-start;
background:rgba(4,16,28,.97);backdrop-filter:blur(16px);
border-left:1px solid rgba(0,229,255,.12);
padding:76px 32px 24px;z-index:999;
overflow-y:auto;
transform:translateX(100%);transition:transform .3s ease;
}
.nav-links.open{transform:translateX(0)}
.nav-links a{padding:9px 0;border-bottom:1px solid rgba(255,255,255,.05);width:100%}
}
/* ── HERO ── */
#hero{position:relative;min-height:100vh;display:flex;align-items:center;justify-content:center;text-align:center;padding:9rem 2rem 5rem;overflow:hidden;z-index:1}
.hero-bg{order:10;display:block;width:100%;max-width:860px;margin-top:40px;pointer-events:none;opacity:.85}
.hero-inner{max-width:880px}
.hero-kicker{display:inline-block;font-family:'Share Tech Mono',monospace;font-size:.82rem;letter-spacing:.26em;color:var(--cyan);border:1px solid var(--cyan);padding:.35rem 1.1rem;border-radius:2px;margin-bottom:1.8rem;text-transform:uppercase}
#hero h1{font-family:'Orbitron',sans-serif;font-size:clamp(2.4rem,6.2vw,4.4rem);font-weight:900;line-height:1.08;margin-bottom:1.4rem;text-shadow:0 0 44px var(--glow)}
#hero h1 span{color:var(--cyan)}
.hero-sub{font-size:1.18rem;color:var(--text-dim);max-width:660px;margin:0 auto 2.6rem;line-height:1.7}
.hero-btns{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}
.btn-primary{background:var(--cyan);color:#021018;padding:.8rem 2.1rem;border-radius:6px;font-family:'Orbitron',sans-serif;font-size:.82rem;font-weight:700;letter-spacing:.1em;text-decoration:none;transition:box-shadow .2s,transform .2s;box-shadow:0 0 20px rgba(0,229,255,.45)}
.btn-primary:hover{box-shadow:0 0 34px rgba(0,229,255,.7);transform:translateY(-2px)}
.btn-outline{border:1px solid var(--green);color:var(--green);padding:.8rem 2.1rem;border-radius:6px;font-family:'Orbitron',sans-serif;font-size:.82rem;font-weight:700;letter-spacing:.1em;text-decoration:none;transition:background .2s,transform .2s}
.btn-outline:hover{background:rgba(72,220,130,.12);transform:translateY(-2px)}
.btn-ghost{border:1px solid rgba(168,191,216,.3);color:var(--text-dim);padding:.8rem 2.1rem;border-radius:6px;font-family:'Orbitron',sans-serif;font-size:.82rem;font-weight:700;letter-spacing:.1em;text-decoration:none;transition:border-color .2s,color .2s}
.btn-ghost:hover{border-color:var(--cyan);color:var(--cyan)}
/* ── SECTIONS ── */
section{position:relative;z-index:1}
.section-inner{max-width:1180px;margin:0 auto;padding:0 2rem}
@media(max-width:900px){.section-inner{padding:0 1rem}}
@media(max-width:520px){.section-inner{padding:0 .75rem}}
.section-head{text-align:center;margin-bottom:3.2rem}
.section-kicker{display:inline-block;font-family:'Share Tech Mono',monospace;font-size:.76rem;letter-spacing:.22em;color:var(--cyan);margin-bottom:.9rem;text-transform:uppercase}
.section-head h2{font-family:'Orbitron',sans-serif;font-size:clamp(1.6rem,3.5vw,2.4rem);font-weight:700;margin-bottom:.9rem}
.section-head p{color:var(--text-dim);max-width:640px;margin:0 auto;font-size:1.04rem}
/* ── IDENTITY BAND ── */
#identity{padding:6rem 0}
.id-band{display:grid;grid-template-columns:1.1fr .9fr;gap:3rem;align-items:center;background:linear-gradient(135deg,rgba(0,229,255,.05),rgba(72,220,130,.04));border:1px solid var(--border);border-radius:20px;padding:3rem}
.id-band h2{font-family:'Orbitron',sans-serif;font-size:clamp(1.5rem,3vw,2.2rem);font-weight:700;margin-bottom:1.1rem;line-height:1.2}
.id-band h2 span{color:var(--cyan)}
.id-band p{color:var(--text-dim);line-height:1.8;margin-bottom:1rem}
.id-stats{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.id-stat{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:1.2rem 1.3rem}
.id-stat .n{font-family:'Orbitron',sans-serif;font-size:1.5rem;font-weight:700;color:var(--cyan)}
.id-stat .n.green{color:var(--green)}.id-stat .n.amber{color:var(--amber)}.id-stat .n.coral{color:var(--coral)}
.id-stat .l{font-size:.82rem;color:var(--text-dim);letter-spacing:.05em;margin-top:.25rem;font-family:'Share Tech Mono',monospace}
/* ── DESTINATIONS ── */
#inside{padding:6rem 0;background:linear-gradient(180deg,transparent,rgba(0,229,255,.04),transparent)}
.dest-group-label{font-family:'Share Tech Mono',monospace;font-size:.74rem;letter-spacing:.2em;color:var(--text-dim);text-transform:uppercase;margin:2.4rem 0 1rem;display:flex;align-items:center;gap:.8rem}
.dest-group-label::after{content:'';flex:1;height:1px;background:var(--border)}
.dest-group-label:first-of-type{margin-top:0}
.dest-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1.1rem}
.dest-card{display:flex;flex-direction:column;gap:.55rem;background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:1.4rem;text-decoration:none;color:inherit;transition:transform .25s,border-color .25s,box-shadow .25s;position:relative;will-change:transform}
.dest-card:hover{transform:translateY(-4px);border-color:var(--cyan);box-shadow:0 14px 40px rgba(0,229,255,.12)}
.dest-card .ic{font-size:1.7rem}
.dest-card h3{font-family:'Orbitron',sans-serif;font-size:.92rem;font-weight:700;color:var(--heading);letter-spacing:.04em}
.dest-card p{color:var(--text-dim);font-size:.9rem;line-height:1.55}
.dest-card .route{font-family:'Share Tech Mono',monospace;font-size:.74rem;color:var(--cyan);margin-top:auto;letter-spacing:.05em}
.dest-card .tag{position:absolute;top:1rem;right:1rem;font-family:'Share Tech Mono',monospace;font-size:.6rem;letter-spacing:.1em;color:var(--amber);border:1px solid rgba(255,180,60,.35);border-radius:999px;padding:.2rem .5rem}
.dest-card.net:hover{border-color:var(--green);box-shadow:0 14px 40px rgba(72,220,130,.12)}
.dest-card.net .route{color:var(--green)}
.dest-card.dev:hover{border-color:var(--violet);box-shadow:0 14px 40px rgba(139,92,246,.12)}
.dest-card.dev .route{color:var(--violet)}
/* ── HOW IT WORKS ── */
#how{padding:6rem 0}
.how-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.2rem}
.how-step{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:1.8rem 1.4rem;text-align:center}
.how-step .num{font-family:'Orbitron',sans-serif;font-size:2rem;font-weight:900;color:var(--cyan);opacity:.28;line-height:1;margin-bottom:.6rem}
.how-step h3{font-family:'Orbitron',sans-serif;font-size:.9rem;font-weight:700;margin-bottom:.6rem;letter-spacing:.04em}
.how-step p{color:var(--text-dim);font-size:.9rem;line-height:1.55}
/* ── CTA ── */
#cta{padding:6rem 0}
.cta-box{background:linear-gradient(135deg,rgba(0,229,255,.1),rgba(139,92,246,.07));border:1px solid rgba(0,229,255,.28);border-radius:18px;padding:4rem 3rem;text-align:center;max-width:780px;margin:0 auto}
.cta-box h2{font-family:'Orbitron',sans-serif;font-size:clamp(1.5rem,3.5vw,2.4rem);font-weight:700;margin-bottom:1rem}
.cta-box h2 span{color:var(--cyan)}
.cta-box p{color:var(--text-dim);font-size:1.08rem;margin:0 auto 2.2rem;max-width:520px}
.cta-btns{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}
/* ── FOOTER ── */
footer{background:var(--surface2);border-top:1px solid var(--border);padding:2.5rem 0 1.5rem}
.foot-inner{max-width:1180px;margin:0 auto;padding:0 2rem}
.foot-brand{margin-bottom:2rem;text-align:center}
.foot-brand .logo-txt{font-family:'Orbitron',sans-serif;font-size:1rem;font-weight:700;color:var(--cyan);letter-spacing:.14em;margin-bottom:.6rem}
.foot-brand p{color:#a8bfd8;font-size:.88rem;line-height:1.7;max-width:600px}
.foot-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:1.5rem;margin-bottom:1.8rem}
.foot-col h4{font-family:'Orbitron',sans-serif;font-size:.72rem;letter-spacing:.13em;font-weight:700;color:var(--cyan);margin-bottom:.7rem;text-transform:uppercase}
.foot-col ul{list-style:none}
.foot-col ul li{margin-bottom:.2rem}
.foot-col ul li a{color:#a8bfd8;text-decoration:none;font-size:.78rem;transition:filter .3s ease,color .3s ease}
.foot-col ul li a:hover{color:var(--cyan);filter:drop-shadow(0 0 8px rgba(0,229,255,1)) drop-shadow(0 0 20px rgba(0,229,255,.8)) drop-shadow(0 0 40px rgba(0,229,255,.4))}
.foot-bottom{border-top:1px solid var(--border);padding-top:1.4rem;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;color:#a8bfd8;font-size:.82rem}
.foot-bottom a{color:#a8bfd8;text-decoration:none;transition:filter .3s ease,color .3s ease}
.foot-bottom a:hover{color:var(--cyan);filter:drop-shadow(0 0 8px rgba(0,229,255,1)) drop-shadow(0 0 20px rgba(0,229,255,.8)) drop-shadow(0 0 40px rgba(0,229,255,.4))}
/* ── REVEAL ── */
.reveal{opacity:0;transform:translateY(28px);transition:opacity .7s ease,transform .7s ease}
.reveal.visible{opacity:1;transform:none}
@media(max-width:860px){
#hero{
flex-direction:column;
justify-content:flex-start;
min-height:auto;
gap:1.4rem;
padding:7.8rem 1.2rem 2.5rem;
}
.hero-inner{
order:1;
max-width:100%;
}
.hero-bg{
order:2;
max-width:100%;
margin-top:0;
width:min(100%,520px);
opacity:.88;
transform:translateY(-1rem) scale(1.03);
}
.id-band{grid-template-columns:1fr;padding:2.2rem}
#identity{padding:3rem 0}
.how-grid{grid-template-columns:1fr 1fr}
.foot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.1rem}
footer{padding:1.75rem 0 1rem}
.foot-brand{margin-bottom:1.25rem}
.foot-bottom{justify-content:center;text-align:center}
}
@media(max-width:560px){
#hero{
min-height:auto;
padding:7rem .85rem 2rem;
gap:1rem;
justify-content:flex-start;
overflow:visible;
}
.nav-actions{gap:.45rem;flex-wrap:nowrap}
.nav-beam,.nav-cta{font-size:.66rem;padding:.42rem .72rem;letter-spacing:.08em}
.hero-kicker{font-size:.72rem;letter-spacing:.2em;padding:.3rem .85rem}
#hero h1{font-size:clamp(2.1rem,13vw,3.3rem)}
.hero-sub{font-size:1.04rem;line-height:1.65;margin-bottom:1.9rem}
.hero-btns,.cta-btns{flex-direction:column;align-items:stretch;max-width:320px;margin:0 auto}
.hero-btns a,.cta-btns a{width:100%;text-align:center}
.how-grid{grid-template-columns:1fr}
.foot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem 1rem}
.hero-bg{
width:min(100%,360px);
transform:translateY(1.4rem) scale(.96);
margin-bottom:.25rem;
opacity:.98;
filter:drop-shadow(0 0 28px rgba(0,229,255,.22));
}
footer{padding:1.25rem 0 .75rem}
.foot-inner{padding:0 1rem}
.foot-brand{margin-bottom:.9rem}
.foot-brand .logo-txt{font-size:.92rem}
.foot-brand p{font-size:.84rem;line-height:1.6}
.foot-col h4{font-size:.68rem;margin-bottom:.5rem}
.foot-col ul li{margin-bottom:.15rem}
.foot-col ul li a{font-size:.78rem;line-height:1.45;display:inline-block}
.foot-bottom{padding-top:.75rem;font-size:.76rem;line-height:1.55}
}
a:hover{filter:drop-shadow(0 0 8px rgba(0,229,255,1)) drop-shadow(0 0 20px rgba(0,229,255,.8)) drop-shadow(0 0 40px rgba(0,229,255,.4))}
</style>
</head>
<body>
<canvas id="stars"></canvas>
<!-- NAV -->
<nav>
<a href="#" class="nav-brand">
<svg viewBox="0 0 54 54" fill="none" xmlns="http://www.w3.org/2000/svg">
<polygon points="42.6,18 27,9 11.4,18 11.4,36 27,45 42.6,36" stroke="#00e5ff" stroke-width="1.6" fill="rgba(0,229,255,.08)"/>
<circle cx="27" cy="27" r="4" fill="#00e5ff"/>
<circle cx="27" cy="27" r="9" stroke="#48dc82" stroke-width="1" fill="none" opacity=".6"/>
</svg>
<span>OPORTAL</span>
</a>
<ul class="nav-links">
<li><a href="#identity">Identity</a></li>
<li><a href="#inside">Inside</a></li>
<li><a href="#how">How it works</a></li>
<li><a href="https://oasisomniverse.one" target="_blank" rel="noopener">ECOSYSTEM</a></li>
<li><a href="/signup" target="_blank" rel="noopener">Sign Up</a></li>
</ul>
<div class="nav-actions">
<a href="/beamin" class="nav-beam" target="_blank" rel="noopener">BEAM IN</a>
<a href="/signup" class="nav-cta" target="_blank" rel="noopener">SIGN UP</a>
</div>
<button class="nav-hamburger" onclick="toggleMenu()" aria-label="Toggle menu"><span></span><span></span><span></span></button>
</nav>
<!-- HERO -->
<section id="hero">
<svg class="hero-bg" viewBox="0 0 1440 900" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
<defs>
<radialGradient id="pg" cx="50%" cy="50%" r="50%">
<stop offset="0%" stop-color="#00e5ff" stop-opacity=".16"/>
<stop offset="45%" stop-color="#48dc82" stop-opacity=".05"/>
<stop offset="100%" stop-color="#04101c" stop-opacity="0"/>
</radialGradient>
<radialGradient id="portalCore" cx="50%" cy="50%" r="50%">
<stop offset="0%" stop-color="#f5feff" stop-opacity="1"/>
<stop offset="18%" stop-color="#9df7ff" stop-opacity=".95"/>
<stop offset="45%" stop-color="#00e5ff" stop-opacity=".55"/>
<stop offset="72%" stop-color="#007dff" stop-opacity=".18"/>
<stop offset="100%" stop-color="#021018" stop-opacity="0"/>
</radialGradient>
<filter id="soft">
<feGaussianBlur stdDeviation="3" result="b"/>
<feMerge><feMergeNode in="b"/><feMergeNode in="SourceGraphic"/></feMerge>
</filter>
<filter id="warp">
<feTurbulence type="fractalNoise" baseFrequency=".01" numOctaves="2" seed="11" result="noise">
<animate attributeName="baseFrequency" values=".008;.014;.008" dur="7s" repeatCount="indefinite"/>
</feTurbulence>
<feDisplacementMap in="SourceGraphic" in2="noise" scale="14" xChannelSelector="R" yChannelSelector="G"/>
</filter>
</defs>
<ellipse cx="720" cy="450" rx="660" ry="450" fill="url(#pg)"/>
<!-- portal structure -->
<g filter="url(#soft)">
<animateTransform attributeName="transform" type="rotate" from="0 720 450" to="360 720 450" dur="28s" repeatCount="indefinite"/>
<circle cx="720" cy="450" r="365" fill="rgba(0,229,255,.04)">
<animate attributeName="r" values="340;385;340" dur="3.2s" repeatCount="indefinite"/>
</circle>
<ellipse cx="720" cy="450" rx="510" ry="320" fill="none" stroke="rgba(0,229,255,.24)" stroke-width="1.6" stroke-dasharray="8,14"/>
<ellipse cx="720" cy="450" rx="430" ry="270" fill="none" stroke="rgba(0,229,255,.34)" stroke-width="2.1" stroke-dasharray="18,16"/>
<ellipse cx="720" cy="450" rx="325" ry="205" fill="none" stroke="rgba(0,229,255,.5)" stroke-width="2.6" stroke-dasharray="6,10"/>
<ellipse cx="720" cy="450" rx="235" ry="150" fill="none" stroke="rgba(72,220,255,.7)" stroke-width="3" stroke-dasharray="2,7"/>
<ellipse cx="720" cy="450" rx="155" ry="100" fill="none" stroke="rgba(165,248,255,.88)" stroke-width="3.4" stroke-dasharray="1,4"/>
</g>
<g filter="url(#warp)">
<animateTransform attributeName="transform" type="rotate" from="360 720 450" to="0 720 450" dur="16s" repeatCount="indefinite"/>
<polygon points="720,146 973,292 973,608 720,754 467,608 467,292" fill="none" stroke="rgba(0,229,255,.28)" stroke-width="1.3"/>
<polygon points="720,190 939,317 939,583 720,710 501,583 501,317" fill="none" stroke="rgba(0,229,255,.18)" stroke-width=".9" stroke-dasharray="5,11"/>
</g>
<!-- inward particle streams -->
<g filter="url(#soft)">
<circle r="4.5" fill="#8feeff"><animateMotion dur="1.65s" repeatCount="indefinite" path="M120,120 C240,115 420,160 560,260 C650,322 690,386 720,450"/></circle>
<circle r="4" fill="#5fe9ff"><animateMotion dur="1.8s" repeatCount="indefinite" path="M1320,160 C1210,170 1060,240 930,330 C835,390 775,430 720,450"/></circle>
<circle r="3.8" fill="#3fdcff"><animateMotion dur="2s" repeatCount="indefinite" path="M150,760 C250,690 365,625 470,560 C585,490 660,465 720,450"/></circle>
<circle r="4.2" fill="#00e5ff"><animateMotion dur="1.75s" repeatCount="indefinite" path="M1300,780 C1215,715 1120,635 1030,570 C930,495 835,460 720,450"/></circle>
<circle r="3.5" fill="#a6f7ff"><animateMotion dur="2.2s" begin=".2s" repeatCount="indefinite" path="M720,60 C715,140 724,220 735,292 C744,350 736,406 720,450"/></circle>
<circle r="3.6" fill="#4fd3ff"><animateMotion dur="2.35s" begin=".6s" repeatCount="indefinite" path="M720,840 C724,760 721,686 713,616 C706,548 710,492 720,450"/></circle>
<circle r="3" fill="#00e5ff"><animateMotion dur="1.45s" begin=".35s" repeatCount="indefinite" path="M60,450 C160,452 280,446 390,438 C515,429 625,437 720,450"/></circle>
<circle r="3" fill="#7af3ff"><animateMotion dur="1.5s" begin=".85s" repeatCount="indefinite" path="M1380,450 C1270,448 1160,452 1050,458 C920,465 810,460 720,450"/></circle>
<circle r="2.8" fill="#b0fbff"><animateMotion dur="1.35s" begin="1.2s" repeatCount="indefinite" path="M210,210 C300,245 395,290 490,340 C590,394 657,426 720,450"/></circle>
<circle r="2.8" fill="#52dfff"><animateMotion dur="1.4s" begin="1.45s" repeatCount="indefinite" path="M1230,680 C1140,650 1040,610 940,560 C835,508 770,475 720,450"/></circle>
<circle r="2.4" fill="#c9fdff"><animateMotion dur="1.28s" begin=".9s" repeatCount="indefinite" path="M360,90 C430,160 500,230 560,300 C627,375 676,416 720,450"/></circle>
<circle r="2.4" fill="#7cecff"><animateMotion dur="1.32s" begin="1.05s" repeatCount="indefinite" path="M1110,120 C1050,185 980,240 920,300 C860,360 795,409 720,450"/></circle>
</g>
<!-- portal core -->
<g filter="url(#warp)">
<circle cx="720" cy="450" r="180" fill="rgba(0,229,255,.06)">
<animate attributeName="r" values="170;195;170" dur="3.2s" repeatCount="indefinite"/>
</circle>
<circle cx="720" cy="450" r="112" fill="url(#portalCore)">
<animate attributeName="r" values="108;122;108" dur="2.1s" repeatCount="indefinite"/>
</circle>
<circle cx="720" cy="450" r="62" fill="rgba(0,229,255,.08)" stroke="rgba(0,229,255,.96)" stroke-width="2.4">
<animate attributeName="r" values="58;72;58" dur="1.45s" repeatCount="indefinite"/>
</circle>
<circle cx="720" cy="450" r="28" fill="rgba(255,255,255,.1)" stroke="rgba(191,250,255,1)" stroke-width="1.8">
<animate attributeName="r" values="26;34;26" dur="1.05s" repeatCount="indefinite"/>
</circle>
<circle cx="720" cy="450" r="10" fill="#eaffff">
<animate attributeName="r" values="10;6;10" dur=".9s" repeatCount="indefinite"/>
</circle>
<circle cx="720" cy="450" r="6" fill="#021018" opacity=".95"/>
</g>
</svg>
<div class="hero-inner">
<div class="hero-kicker">OASIS · WEB 4 Avatar & Identity Portal</div>
<h1>Beam Into <span>the OASIS.</span></h1>
<p class="hero-sub">OPORTAL is your single gateway to the entire OASIS Omniverse. One avatar, one karma, one wallet — carried across every connected world. Manage your identity, NFTs, data and the decentralised HyperDrive from a single portal.</p>
<div class="hero-btns">
<a href="/beamin" class="btn-primary" target="_blank" rel="noopener">⚡ BEAM IN</a>
<a href="/signup" class="btn-outline" target="_blank" rel="noopener">CREATE YOUR AVATAR</a>
<a href="#inside" class="btn-ghost">EXPLORE THE PORTAL</a>
</div>
</div>
</section>
<!-- IDENTITY -->
<section id="identity">
<div class="section-inner">
<div class="id-band reveal">
<div>
<h2>One Avatar Across the <span>Entire Omniverse</span></h2>
<p>Your OASIS Avatar is a true WEB 4 identity — a single sign-on that follows you everywhere. The same avatar, karma, reputation, wallet and inventory work across Our World, OGEngine games, ODOOM, OQUAKE and every app built on the OASIS.</p>
<p>Your data isn't locked to any one provider. The OASIS HyperDrive auto-replicates it across Web2 databases, Web3 chains and IPFS — so you always own it, and it's always available.</p>
</div>
<div class="id-stats">
<div class="id-stat"><div class="n">1</div><div class="l">AVATAR · SSO</div></div>
<div class="id-stat"><div class="n green">∞</div><div class="l">CONNECTED WORLDS</div></div>
<div class="id-stat"><div class="n amber">50+</div><div class="l">DATA PROVIDERS</div></div>
<div class="id-stat"><div class="n coral">100%</div><div class="l">YOU OWN IT</div></div>
</div>
</div>
</div>
</section>
<!-- INSIDE / DESTINATIONS -->
<section id="inside">
<div class="section-inner">
<div class="section-head reveal">
<div class="section-kicker">What's Inside</div>
<h2>Every Destination, One Click Away</h2>
<p>Each destination has its own bookmarkable address — jump straight to it, and your browser's Back button steps right back through the portal.</p>
</div>
<div class="dest-group-label reveal">Account · requires beam in</div>
<div class="dest-grid">
<a class="dest-card reveal" href="/avatar"><span class="tag">BEAM IN</span><div class="ic">🧑🚀</div><h3>My Avatar</h3><p>Your WEB 4 identity — profile, portrait, reputation and avatar details.</p><span class="route">/avatar</span></a>
<a class="dest-card reveal" href="/wallet"><span class="tag">BEAM IN</span><div class="ic">👛</div><h3>Wallet</h3><p>Manage your OASIS wallet, balances and cross-chain assets.</p><span class="route">/wallet</span></a>
<a class="dest-card reveal" href="/nft"><span class="tag">BEAM IN</span><div class="ic">💎</div><h3>NFT Wallet</h3><p>View and manage your NFTs and GeoNFTs across the Omniverse.</p><span class="route">/nft</span></a>
<a class="dest-card reveal" href="/karma"><span class="tag">BEAM IN</span><div class="ic">⚡</div><h3>Karma</h3><p>Track the karma you earn from real-world and in-game good deeds.</p><span class="route">/karma</span></a>
<a class="dest-card reveal" href="/messages"><span class="tag">BEAM IN</span><div class="ic">💬</div><h3>Messages & Chat</h3><p>Avatar-to-avatar messaging across every connected world.</p><span class="route">/messages</span></a>
<a class="dest-card reveal" href="/settings"><span class="tag">BEAM IN</span><div class="ic">⚙️</div><h3>Settings</h3><p>Manage your account, security and portal preferences.</p><span class="route">/settings</span></a>
</div>
<div class="dest-group-label reveal">Network · open to explore</div>
<div class="dest-grid">
<a class="dest-card net reveal" href="/data"><div class="ic">🗄️</div><h3>Data</h3><p>Read and write OASIS holon data through the unified COSMIC ORM.</p><span class="route">/data</span></a>
<a class="dest-card net reveal" href="/hyperdrive"><div class="ic">🛰️</div><h3>HyperDrive</h3><p>The provider layer — auto-replication, auto-failover and load balancing.</p><span class="route">/hyperdrive</span></a>
<a class="dest-card net reveal" href="/onet"><div class="ic">🌐</div><h3>ONET</h3><p>Explore the OASIS Network — the mesh that links every node.</p><span class="route">/onet</span></a>
<a class="dest-card net reveal" href="/onode"><div class="ic">🔗</div><h3>ONODE</h3><p>Inspect individual OASIS Nodes and their live status.</p><span class="route">/onode</span></a>
<a class="dest-card net reveal" href="/map"><div class="ic">🗺️</div><h3>Map</h3><p>The geo-located map of the OASIS — hotspots, players and places.</p><span class="route">/map</span></a>
</div>
<div class="dest-group-label reveal">Developer</div>
<div class="dest-grid">
<a class="dest-card dev reveal" href="/developer"><div class="ic">🧰</div><h3>Developer Portal</h3><p>API keys, docs and tools to build on the WEB 4 OASIS & WEB 5 STAR APIs.</p><span class="route">/developer</span></a>
</div>
</div>
</section>
<!-- HOW IT WORKS -->
<section id="how">
<div class="section-inner">
<div class="section-head reveal">
<div class="section-kicker">Beaming In</div>
<h2>How the Portal Works</h2>
<p>No passwords scattered across a dozen sites — one avatar opens the whole Omniverse.</p>
</div>
<div class="how-grid">
<div class="how-step reveal"><div class="num">01</div><h3>BEAM IN</h3><p>Sign in (or create an avatar) once. Your OASIS identity is now live.</p></div>
<div class="how-step reveal"><div class="num">02</div><h3>YOUR DATA LOADS</h3><p>The HyperDrive pulls your avatar, karma, wallet and NFTs from wherever they live.</p></div>
<div class="how-step reveal"><div class="num">03</div><h3>NAVIGATE</h3><p>Open any destination — each gets its own URL you can bookmark and share.</p></div>
<div class="how-step reveal"><div class="num">04</div><h3>GO ANYWHERE</h3><p>The same identity carries into every game and app across the Omniverse.</p></div>
</div>
</div>
</section>
<!-- CTA -->
<section id="cta">
<div class="section-inner">
<div class="cta-box reveal">
<h2>Ready to <span>Beam In?</span></h2>
<p>Create your free OASIS Avatar and step into the Omniverse — your identity, your data, your worlds.</p>
<div class="cta-btns">
<a href="/signup" class="btn-primary" target="_blank" rel="noopener">CREATE YOUR AVATAR</a>
<a href="/beamin" class="btn-ghost" target="_blank" rel="noopener">I ALREADY HAVE ONE</a>
</div>
</div>
</div>
</section>
<!-- FOOTER -->
<footer>
<div class="foot-inner">
<div class="foot-brand">
<div class="logo-txt">OPORTAL</div>
<p style="max-width:none;margin:0 auto">The WEB 4 avatar & identity portal of the OASIS Omniverse. One avatar. One karma. Infinite worlds.</p>
</div>
<div class="foot-grid">
<div class="foot-col">
<h4>ECOSYSTEM</h4>
<ul>
<li><a href="https://oasisomniverse.one" target="_blank" rel="noopener">OASIS Omniverse</a></li>
<li><a href="https://web4.oasisomniverse.one" target="_blank" rel="noopener">WEB 4 Unification Layer</a></li>
<li><a href="https://star.oasisomniverse.one" target="_blank" rel="noopener">WEB 5 XP Layer - STAR ODK</a></li>
<li><a href="https://starnet.oasisomniverse.one" target="_blank" rel="noopener">WEB 5 XP Layer - STARNET</a></li>
<li><a href="https://ogengine.oasisomniverse.one" target="_blank" rel="noopener">WEB 5 XP Layer - OGEngine</a></li>
<li><a href="https://web6.oasisomniverse.one" target="_blank" rel="noopener">WEB 6 AI Layer</a></li>
<li><a href="https://web7.oasisomniverse.one" target="_blank" rel="noopener">WEB 7 Symbiotic Layer</a></li>
<li><a href="https://web8.oasisomniverse.one" target="_blank" rel="noopener">WEB 8 Inter-Galactic Layer</a></li>
<li><a href="https://web9.oasisomniverse.one" target="_blank" rel="noopener">WEB 9 Singularity Layer</a></li>
<li><a href="https://web10.oasisomniverse.one" target="_blank" rel="noopener">WEB 10 The Source</a></li>
<li><a href="https://ourworld.oasisomniverse.one" target="_blank" rel="noopener">Our World</a></li>
<li><a href="https://odoom.oasisomniverse.one" target="_blank" rel="noopener">ODOOM</a></li>
<li><a href="https://oquake.oasisomniverse.one" target="_blank" rel="noopener">OQuake</a></li>
<li><a href="https://holonet.oasisomniverse.one" target="_blank" rel="noopener">HoloNET</a></li>
<li><a href="https://founders.oasisomniverse.one" target="_blank" rel="noopener">Founders NFT</a></li>
</ul>
</div>
<div class="foot-col">
<h4>COMMUNITY</h4>
<ul>
<li><a href="https://discord.gg/q9gMKU6" target="_blank" rel="noopener">Discord</a></li>
<li><a href="https://t.me/oasisweb4chat" target="_blank" rel="noopener">Telegram</a></li>
<li><a href="https://x.com/OASISWEB4" target="_blank" rel="noopener">X OASIS WEB 4</a></li>
<li><a href="https://x.com/OurWorldTheGame" target="_blank" rel="noopener">X Our World</a></li>
<li><a href="https://x.com/HoloNET_OASIS" target="_blank" rel="noopener">X HoloNET</a></li>
<li><a href="https://www.youtube.com/@WEB4OASIS" target="_blank" rel="noopener">YouTube OASIS</a></li>
<li><a href="https://www.youtube.com/@ourworld-the-game" target="_blank" rel="noopener">YouTube Our World</a></li>
<li><a href="https://www.youtube.com/channel/UC0_O4RwdY3lq1m3-K-njUxA" target="_blank" rel="noopener">YouTube Our World Legacy</a></li>
<li><a href="https://www.facebook.com/ourworldthegame" target="_blank" rel="noopener">Facebook</a></li>
</ul>
</div>
<div class="foot-col">
<h4>PORTAL</h4>
<ul>
<li><a href="/beamin" target="_blank" rel="noopener">Beam In</a></li>
<li><a href="/signup" target="_blank" rel="noopener">Sign Up</a></li>
<li><a href="/avatar" target="_blank" rel="noopener">My Avatar</a></li>
<li><a href="/developer" target="_blank" rel="noopener">Developer Portal</a></li>
</ul>
</div>
<div class="foot-col">
<h4>NETWORK</h4>
<ul>
<li><a href="/data">Data</a></li>
<li><a href="/hyperdrive">HyperDrive</a></li>
<li><a href="/onet">ONET</a></li>
<li><a href="/map">Map</a></li>
</ul>
</div>
<div class="foot-col">
<h4>BUILD</h4>
<ul>
<li><a href="https://api.web4.oasisomniverse.one/swagger" target="_blank" rel="noopener">WEB4 API</a></li>
<li><a href="https://www.npmjs.com/package/@oasisomniverse/web4-api" target="_blank" rel="noopener">WEB4 npm</a></li>
<li><a href="https://api.starnet.oasisomniverse.one/swagger" target="_blank" rel="noopener">WEB5 STARNET API</a></li>
<li><a href="https://www.npmjs.com/package/@oasisomniverse/web5-api" target="_blank" rel="noopener">WEB5 npm</a></li>
<li><a href="https://api.web6.oasisomniverse.one/swagger" target="_blank" rel="noopener">WEB6 API</a></li>
<li><a href="https://www.npmjs.com/package/@oasisomniverse/web6-api" target="_blank" rel="noopener">WEB6 npm</a></li>
<li><a href="https://api.web7.oasisomniverse.one/swagger" target="_blank" rel="noopener">WEB7 API</a></li>
<li><a href="https://www.npmjs.com/package/@oasisomniverse/web7-api" target="_blank" rel="noopener">WEB7 npm</a></li>
<li><a href="https://api.web8.oasisomniverse.one/swagger" target="_blank" rel="noopener">WEB8 API</a></li>
<li><a href="https://www.npmjs.com/package/@oasisomniverse/web8-api" target="_blank" rel="noopener">WEB8 npm</a></li>
<li><a href="https://api.web9.oasisomniverse.one/swagger" target="_blank" rel="noopener">WEB9 API</a></li>
<li><a href="https://www.npmjs.com/package/@oasisomniverse/web9-api" target="_blank" rel="noopener">WEB9 npm</a></li>
<li><a href="https://api.web10.oasisomniverse.one/swagger" target="_blank" rel="noopener">WEB10 API</a></li>
<li><a href="https://www.npmjs.com/package/@oasisomniverse/web10-api" target="_blank" rel="noopener">WEB10 npm</a></li>
<li><a href="https://github.com/NextGenSoftwareUK/OASIS" target="_blank" rel="noopener">GitHub</a></li>
<li><a href="https://www.nuget.org/profiles/OASISOmniverse" target="_blank" rel="noopener">NuGet (50 pkgs)</a></li>
<li><a href="https://marketplace.visualstudio.com/items?itemName=NextGenSoftware.oasis-ide" target="_blank" rel="noopener">OASIS IDE</a></li>
<li><a href="https://github.com/NextGenSoftwareUK/OASIS/releases/tag/STAR-ODK-Runtime-v3.5.0" target="_blank" rel="noopener">STAR CLI/ODK</a></li>
<li><a href="https://github.com/NextGenSoftwareUK/OASIS/releases/tag/STAR-API-CLIENT-v1.0.0" target="_blank" rel="noopener">STAR API Client</a></li>
<li><a href="https://github.com/NextGenSoftwareUK/OASIS/releases/tag/OASIS-Runtime-v4.5.1" target="_blank" rel="noopener">OASIS Runtime v4.5.1</a></li>
</ul>
</div>
<div class="foot-col">
<h4>DOCS</h4>
<ul>
<li><a href="https://oasis-web4.gitbook.io/oasis-web4-docs/" target="_blank" rel="noopener">GitBook Docs</a></li>
<li><a href="https://github.com/NextGenSoftwareUK/OASIS/blob/master/Docs/Devs/GETTING_STARTED_INDEX.md" target="_blank" rel="noopener">Getting Started</a></li>
<li><a href="https://github.com/NextGenSoftwareUK/OASIS/blob/master/Docs/Devs/OASIS_Quick_Start_Guide.md" target="_blank" rel="noopener">Quick Start</a></li>
<li><a href="https://github.com/NextGenSoftwareUK/OASIS/tree/master/Docs/Devs/API%20Documentation" target="_blank" rel="noopener">API Reference</a></li>
<li><a href="https://github.com/NextGenSoftwareUK/OASIS/blob/master/Docs/Devs/DEVELOPER_DOCUMENTATION_INDEX.md" target="_blank" rel="noopener">Developer Index</a></li>
<li><a href="https://github.com/NextGenSoftwareUK/OASIS/blob/master/Docs/Devs/OASIS_ARCHITECTURE_OVERVIEW.md" target="_blank" rel="noopener">Architecture Overview</a></li>
<li><a href="https://github.com/NextGenSoftwareUK/OASIS/blob/master/Docs/Devs/DEVELOPMENT_ENVIRONMENT_SETUP.md" target="_blank" rel="noopener">Environment Setup</a></li>
<li><a href="https://github.com/NextGenSoftwareUK/OASIS/blob/master/Docs/Devs/OASIS-BEST-PRACTICES.md" target="_blank" rel="noopener">Best Practices</a></li>
<li><a href="https://github.com/NextGenSoftwareUK/OASIS/blob/master/Docs/Devs/DOCKER_DEPLOYMENT_GUIDE.md" target="_blank" rel="noopener">Docker Guide</a></li>
<li><a href="https://github.com/NextGenSoftwareUK/OASIS/blob/master/Docs/Devs/STAR_CLI_Comprehensive_Guide.md" target="_blank" rel="noopener">STAR CLI Guide</a></li>
<li><a href="https://github.com/NextGenSoftwareUK/OASIS/blob/master/Docs/Devs/WIKI_DOCUMENTATION_INDEX.md" target="_blank" rel="noopener">Wiki</a></li>
<li><a href="https://www.oasisweb4.com/holonic-architecture" target="_blank" rel="noopener">Holonic Architecture</a></li>
<li><a href="https://oasisomniverse.one#flightmap" target="_blank" rel="noopener">Flight Map</a></li>
<li><a href="https://www.ourworldthegame.com/blog" target="_blank" rel="noopener">Blog</a></li>
<li><a href="https://github.com/NextGenSoftwareUK/OASIS/blob/master/Docs/OASIS_TECHNOLOGY_SUMMARY_AND_USE_CASES.md" target="_blank" rel="noopener">Use Cases</a></li>
<li><a href="https://github.com/NextGenSoftwareUK/OASIS/blob/master/Docs/THE_OASIS_COMPREHENSIVE_WHITEPAPER.md" target="_blank" rel="noopener">Whitepaper</a></li>
<li><a href="https://github.com/NextGenSoftwareUK/OASIS/blob/master/Docs/OUR_WORLD_WHITEPAPER.md" target="_blank" rel="noopener">Our World Whitepaper</a></li>
<li><a href="https://github.com/NextGenSoftwareUK/OASIS/blob/master/Docs/OASIS_Lite_Paper.md" target="_blank" rel="noopener">OASIS Lite Paper</a></li>
<li><a href="https://github.com/NextGenSoftwareUK/OASIS/blob/master/Docs/OASIS_HYPERDRIVE_WHITEPAPER.md" target="_blank" rel="noopener">HyperDrive</a></li>
<li><a href="https://github.com/NextGenSoftwareUK/OASIS/blob/master/Docs/OASIS_COSMIC_ORM_WHITEPAPER.md" target="_blank" rel="noopener">Cosmic ORM</a></li>
<li><a href="https://github.com/NextGenSoftwareUK/OASIS/blob/master/Docs/INVESTOR_EVALUATION_GUIDE.md" target="_blank" rel="noopener">Investor Guide</a></li>
</ul>
</div>
<div class="foot-col">
<h4>SUPPORT</h4>
<ul>
<li><a href="https://github.com/NextGenSoftwareUK/OASIS/issues" target="_blank" rel="noopener">Report an Issue</a></li>
<li><a href="https://github.com/NextGenSoftwareUK/OASIS/discussions" target="_blank" rel="noopener">Discussions</a></li>
<li><a href="https://tally.so/r/WOZjNa" target="_blank" rel="noopener">Submit a Support Ticket</a></li>
<li><a href="https://github.com/NextGenSoftwareUK/OASIS/blob/master/Docs/Devs/CONTRIBUTING.md" target="_blank" rel="noopener">Contributing</a></li>
<li><a href="https://github.com/NextGenSoftwareUK/OASIS/blob/master/Docs/Devs/CODE_OF_CONDUCT.md" target="_blank" rel="noopener">Code of Conduct</a></li>
</ul>
</div>
</div>
<div class="foot-bottom">
<p>© 2026 <a href="https://nextgenworld.co.uk" target="_blank" rel="noopener">NextGen Software Ltd.</a> All rights reserved.</p>
<p>Part of the <a href="https://oasisomniverse.one" target="_blank" rel="noopener">OASIS Omniverse</a> ecosystem.</p>
</div>
</div>
</footer>
<script>
// ── STARS ──
(function(){
var c=document.getElementById('stars'),ctx=c.getContext('2d'),stars=[];
function resize(){c.width=innerWidth;c.height=innerHeight;stars=Array.from({length:190},function(){return{x:Math.random()*innerWidth,y:Math.random()*innerHeight,r:Math.random()*1.3+.3,o:Math.random()*.8+.2,s:Math.random()*.5+.2}})}
function draw(){ctx.clearRect(0,0,c.width,c.height);stars.forEach(function(s){s.o+=.003*s.s*(Math.random()>.5?1:-1);s.o=Math.max(.1,Math.min(1,s.o));ctx.beginPath();ctx.arc(s.x,s.y,s.r,0,Math.PI*2);ctx.fillStyle='rgba(190,225,255,'+s.o+')';ctx.fill()});requestAnimationFrame(draw)}
addEventListener('resize',resize);resize();draw();
})();
// ── SCROLL REVEAL ──
(function(){
var io=new IntersectionObserver(function(es){es.forEach(function(e){if(e.isIntersecting){e.target.classList.add('visible');io.unobserve(e.target)}})},{threshold:.12});
document.querySelectorAll('.reveal').forEach(function(el){io.observe(el)});
})();
// ── MOBILE MENU ──
function toggleMenu(){
document.querySelector('.nav-links').classList.toggle('open');
document.querySelector('.nav-hamburger').classList.toggle('open');
}
document.querySelectorAll('.nav-links a').forEach(function(a){
a.addEventListener('click', function(){
var links=document.querySelector('.nav-links');
if(window.innerWidth<820){links.classList.remove('open');document.querySelector('.nav-hamburger').classList.remove('open')}
});
});
</script>
</body>
</html>