-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnodia.html
More file actions
670 lines (595 loc) · 20.2 KB
/
nodia.html
File metadata and controls
670 lines (595 loc) · 20.2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Joining Form</title>
<link href="https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=JetBrains+Mono:wght@300;400;500&display=swap" rel="stylesheet">
<style>
:root {
--gold: #c9a84c;
--gold-light: #f0d080;
--gold-dark: #8b6914;
--obsidian: #07090f;
--deep: #0d1117;
--surface: #111827;
--surface2: #1a2236;
--text: #e8e0d0;
--muted: #7a7060;
--accent: #4a9eff;
--danger: #ff4a6e;
--success: #4aff9e;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
min-height: 100vh;
background: var(--obsidian);
font-family: 'Cormorant Garamond', serif;
color: var(--text);
overflow-x: hidden;
position: relative;
}
/* ── Animated Background ── */
.bg-canvas {
position: fixed; inset: 0; z-index: 0;
overflow: hidden;
}
#particleCanvas {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
opacity: 0.4;
}
.bg-canvas::before {
content: '';
position: absolute; inset: 0;
background:
radial-gradient(ellipse 80% 60% at 20% 10%, rgba(201,168,76,0.08) 0%, transparent 60%),
radial-gradient(ellipse 60% 80% at 80% 90%, rgba(74,158,255,0.06) 0%, transparent 60%),
radial-gradient(ellipse 100% 100% at 50% 50%, rgba(13,17,23,0.95) 0%, var(--obsidian) 100%);
animation: bgPulse 12s ease-in-out infinite alternate;
}
@keyframes bgPulse {
0% { opacity: 1; transform: scale(1); }
100% { opacity: 0.85; transform: scale(1.04); }
}
/* Floating orbs */
.orb {
position: absolute;
border-radius: 50%;
filter: blur(70px);
opacity: 0;
animation: orbFloat var(--dur, 20s) ease-in-out infinite;
animation-delay: var(--delay, 0s);
}
.orb1 { width: 500px; height: 500px; background: rgba(201,168,76,0.12); top: -100px; left: -100px; --dur: 25s; --delay: 0s; }
.orb2 { width: 400px; height: 400px; background: rgba(74,158,255,0.08); bottom: -100px; right: -100px; --dur: 30s; --delay: -10s; }
.orb3 { width: 300px; height: 300px; background: rgba(201,168,76,0.06); top: 50%; left: 60%; --dur: 20s; --delay: -5s; }
@keyframes orbFloat {
0% { opacity: 0; transform: translate(0, 0) scale(1); }
25% { opacity: 1; }
50% { transform: translate(40px, -60px) scale(1.1); }
75% { opacity: 0.7; }
100% { opacity: 0; transform: translate(-30px, 40px) scale(0.9); }
}
/* Grid lines */
.grid-overlay {
position: absolute; inset: 0;
background-image:
linear-gradient(rgba(201,168,76,0.025) 1px, transparent 1px),
linear-gradient(90deg, rgba(201,168,76,0.025) 1px, transparent 1px);
background-size: 60px 60px;
animation: gridShift 40s linear infinite;
}
@keyframes gridShift {
0% { background-position: 0 0; }
100% { background-position: 60px 60px; }
}
/* Scanline effect */
.scanline {
position: fixed; top: 0; left: 0; right: 0; height: 2px;
background: linear-gradient(90deg, transparent, rgba(201,168,76,0.4), transparent);
animation: scan 8s linear infinite;
z-index: 1;
pointer-events: none;
}
@keyframes scan {
0% { top: -2px; opacity: 0; }
5% { opacity: 1; }
95% { opacity: 1; }
100% { top: 100vh; opacity: 0; }
}
/* ── Main Layout ── */
.page-wrapper {
position: relative; z-index: 2;
min-height: 100vh;
display: flex; flex-direction: column; align-items: center;
padding: 40px 20px 60px;
}
/* ── Header ── */
.header {
text-align: center;
margin-bottom: 40px;
animation: fadeDown 1s ease both;
}
.crown-line {
display: flex; align-items: center; justify-content: center; gap: 16px;
margin-bottom: 12px;
}
.crown-line::before, .crown-line::after {
content: '';
height: 1px;
width: 80px;
background: linear-gradient(90deg, transparent, var(--gold));
}
.crown-line::after {
background: linear-gradient(90deg, var(--gold), transparent);
}
.crown-icon {
color: var(--gold);
font-size: 22px;
filter: drop-shadow(0 0 8px var(--gold));
animation: glow 3s ease-in-out infinite alternate;
}
@keyframes glow {
0% { filter: drop-shadow(0 0 6px var(--gold)); }
100% { filter: drop-shadow(0 0 18px var(--gold-light)); }
}
.main-title {
font-family: 'Cinzel Decorative', cursive;
font-size: clamp(28px, 5vw, 52px);
font-weight: 900;
background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 40%, var(--gold-light) 60%, var(--gold) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
letter-spacing: 4px;
line-height: 1.2;
text-shadow: none;
filter: drop-shadow(0 2px 20px rgba(201,168,76,0.3));
animation: shimmer 4s linear infinite;
background-size: 200% 100%;
}
@keyframes shimmer {
0% { background-position: 200% center; }
100% { background-position: -200% center; }
}
.subtitle {
font-family: 'JetBrains Mono', monospace;
font-size: 11px;
letter-spacing: 6px;
color: var(--muted);
text-transform: uppercase;
margin-top: 8px;
}
/* ── Form Container ── */
.form-card {
width: 100%;
max-width: 720px;
background: linear-gradient(135deg, rgba(26,34,54,0.9) 0%, rgba(17,24,39,0.95) 100%);
border: 1px solid rgba(201,168,76,0.2);
border-radius: 2px;
padding: 50px 50px 40px;
position: relative;
backdrop-filter: blur(20px);
box-shadow:
0 0 0 1px rgba(201,168,76,0.05),
0 40px 80px rgba(0,0,0,0.6),
inset 0 1px 0 rgba(201,168,76,0.1);
animation: fadeUp 1s ease 0.3s both;
}
/* Corner ornaments */
.form-card::before, .form-card::after,
.corner-br, .corner-tl {
content: '';
position: absolute;
width: 20px; height: 20px;
border-color: var(--gold);
border-style: solid;
opacity: 0.5;
}
.form-card::before { top: 8px; left: 8px; border-width: 1px 0 0 1px; }
.form-card::after { top: 8px; right: 8px; border-width: 1px 1px 0 0; }
.corner-br { bottom: 8px; right: 8px; border-width: 0 1px 1px 0; }
.corner-tl { bottom: 8px; left: 8px; border-width: 0 0 1px 1px; }
/* ── Sections ── */
.section-label {
font-family: 'JetBrains Mono', monospace;
font-size: 9px;
letter-spacing: 5px;
color: var(--gold);
text-transform: uppercase;
margin-bottom: 20px;
margin-top: 36px;
display: flex; align-items: center; gap: 10px;
}
.section-label:first-child { margin-top: 0; }
.section-label::after {
content: '';
flex: 1; height: 1px;
background: linear-gradient(90deg, rgba(201,168,76,0.4), transparent);
}
/* ── Field Rows ── */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field-row.single { grid-template-columns: 1fr; }
.field-group { margin-bottom: 20px; position: relative; }
.field-label {
display: block;
font-family: 'JetBrains Mono', monospace;
font-size: 9px;
letter-spacing: 3px;
color: var(--muted);
text-transform: uppercase;
margin-bottom: 8px;
transition: color 0.3s;
}
.field-group:focus-within .field-label { color: var(--gold); }
.field-input {
width: 100%;
background: rgba(7,9,15,0.6);
border: 1px solid rgba(201,168,76,0.15);
border-radius: 2px;
padding: 13px 16px;
color: var(--text);
font-family: 'Cormorant Garamond', serif;
font-size: 16px;
font-weight: 300;
letter-spacing: 0.5px;
outline: none;
transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
position: relative;
}
.field-input::placeholder { color: rgba(122,112,96,0.5); font-style: italic; }
.field-input:focus {
border-color: rgba(201,168,76,0.5);
background: rgba(7,9,15,0.8);
box-shadow: 0 0 0 2px rgba(201,168,76,0.08), 0 0 20px rgba(201,168,76,0.05);
}
.field-input:valid:not(:placeholder-shown) {
border-color: rgba(74,255,158,0.3);
}
.field-note {
font-family: 'JetBrains Mono', monospace;
font-size: 9px;
color: rgba(201,168,76,0.5);
margin-top: 5px;
letter-spacing: 1px;
}
/* ── Divider ── */
.divider {
display: flex; align-items: center; gap: 16px;
margin: 10px 0 30px;
}
.divider::before, .divider::after {
content: ''; flex: 1; height: 1px;
background: linear-gradient(90deg, transparent, rgba(201,168,76,0.2), transparent);
}
.divider-diamond {
color: var(--gold); font-size: 10px; opacity: 0.6;
}
/* ── Submit Button ── */
.submit-wrap {
margin-top: 36px;
display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.submit-btn {
width: 100%;
padding: 18px 40px;
background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
background-size: 200% 100%;
border: none;
border-radius: 2px;
color: var(--obsidian);
font-family: 'Cinzel Decorative', cursive;
font-size: 13px;
font-weight: 700;
letter-spacing: 4px;
text-transform: uppercase;
cursor: pointer;
position: relative;
overflow: hidden;
transition: background-position 0.4s, transform 0.2s, box-shadow 0.3s;
box-shadow: 0 4px 20px rgba(201,168,76,0.3);
}
.submit-btn::before {
content: '';
position: absolute; inset: 0;
background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
transform: translateX(-100%);
transition: transform 0.5s;
}
.submit-btn:hover::before { transform: translateX(100%); }
.submit-btn:hover {
background-position: right center;
box-shadow: 0 6px 30px rgba(201,168,76,0.5);
transform: translateY(-1px);
}
.submit-btn:active { transform: translateY(1px); }
.submit-btn:disabled {
opacity: 0.6; cursor: not-allowed; transform: none;
}
/* ── Status Messages ── */
.status-msg {
display: none;
width: 100%;
padding: 14px 20px;
border-radius: 2px;
font-family: 'JetBrains Mono', monospace;
font-size: 11px;
letter-spacing: 2px;
text-align: center;
animation: fadeUp 0.4s ease;
}
.status-msg.success {
display: block;
background: rgba(74,255,158,0.08);
border: 1px solid rgba(74,255,158,0.3);
color: var(--success);
}
.status-msg.error {
display: block;
background: rgba(255,74,110,0.08);
border: 1px solid rgba(255,74,110,0.3);
color: var(--danger);
}
/* ── Footer ── */
.form-footer {
margin-top: 30px;
text-align: center;
font-family: 'JetBrains Mono', monospace;
font-size: 9px;
letter-spacing: 3px;
color: rgba(122,112,96,0.4);
text-transform: uppercase;
}
/* ── Animations ── */
@keyframes fadeDown {
from { opacity: 0; transform: translateY(-30px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
/* ── Loading spinner ── */
.spinner {
display: inline-block;
width: 16px; height: 16px;
border: 2px solid rgba(7,9,15,0.3);
border-top-color: var(--obsidian);
border-radius: 50%;
animation: spin 0.7s linear infinite;
vertical-align: middle;
margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }
/* ── Responsive ── */
@media (max-width: 580px) {
.form-card { padding: 36px 24px 32px; }
.field-row { grid-template-columns: 1fr; gap: 0; }
}
</style>
</head>
<body>
<div class="bg-canvas">
<canvas id="particleCanvas"></canvas>
<div class="orb orb1"></div>
<div class="orb orb2"></div>
<div class="orb orb3"></div>
<div class="grid-overlay"></div>
</div>
<div class="scanline"></div>
<div class="page-wrapper">
<header class="header">
<div class="crown-line">
<span class="crown-icon">◆</span>
</div>
<h1 class="main-title">Joining Form</h1>
<p class="subtitle">Official Membership Registration</p>
</header>
<div class="form-card">
<div class="corner-br"></div>
<div class="corner-tl"></div>
<form id="joinForm" action="https://form.codewithtanim.works/f/2cef8dd7a9c0099c" method="POST" autocomplete="off">
<!-- Redirect after submit -->
<input type="hidden" name="_redirect" value="Thank-You.html">
<!-- Anti-bot -->
<input type="text" name="_honeypot" style="display:none">
<!-- Identity -->
<div class="section-label">◈ Identity</div>
<div class="field-row">
<div class="field-group">
<label class="field-label" for="username">Username</label>
<input class="field-input" type="text" id="username" name="username" placeholder="singularword" required pattern="\S+" autocomplete="username">
<div class="field-note">⟡ One word only, no spaces</div>
</div>
<div class="field-group">
<label class="field-label" for="fullname">Full Name</label>
<input class="field-input" type="text" id="fullname" name="fullname" placeholder="JOHN DOE" required autocomplete="name">
<div class="field-note">⟡ Capital letters only</div>
</div>
</div>
<div class="field-row single">
<div class="field-group">
<label class="field-label" for="email">Personal Mail</label>
<input class="field-input" type="email" id="email" name="email" placeholder="yourname@example.com" required autocomplete="email">
</div>
</div>
<!-- Contact -->
<div class="section-label">◈ Contact</div>
<div class="field-row">
<div class="field-group">
<label class="field-label" for="whatsapp">WhatsApp Number</label>
<input class="field-input" type="tel" id="whatsapp" name="whatsapp" placeholder="+880 1XXX XXXXXX" required autocomplete="tel">
<div class="field-note">⟡ Include country code</div>
</div>
<div class="field-group">
<label class="field-label" for="emergency">Emergency Number</label>
<input class="field-input" type="tel" id="emergency" name="emergency" placeholder="+880 1XXX XXXXXX" required autocomplete="tel">
<div class="field-note">⟡ Include country code</div>
</div>
</div>
<!-- Social -->
<div class="section-label">◈ Social Presence</div>
<div class="field-row">
<div class="field-group">
<label class="field-label" for="facebook">Facebook Link</label>
<input class="field-input" type="url" id="facebook" name="facebook" placeholder="https://facebook.com/you">
</div>
<div class="field-group">
<label class="field-label" for="instagram">Instagram Link</label>
<input class="field-input" type="url" id="instagram" name="instagram" placeholder="https://instagram.com/you">
</div>
</div>
<div class="field-row">
<div class="field-group">
<label class="field-label" for="github">GitHub Link</label>
<input class="field-input" type="url" id="github" name="github" placeholder="https://github.com/you">
</div>
<div class="field-group">
<label class="field-label" for="linkedin">LinkedIn Link</label>
<input class="field-input" type="url" id="linkedin" name="linkedin" placeholder="https://linkedin.com/in/you">
</div>
</div>
<div class="field-row single">
<div class="field-group">
<label class="field-label" for="youtube">YouTube Link</label>
<input class="field-input" type="url" id="youtube" name="youtube" placeholder="https://youtube.com/@you">
</div>
</div>
<div class="divider"><span class="divider-diamond">◆</span></div>
<!-- Security -->
<div class="section-label">◈ Security</div>
<div class="field-row single">
<div class="field-group">
<label class="field-label" for="password">Password <span style="color:var(--gold);opacity:0.6">(Company Account)</span></label>
<input class="field-input" type="password" id="password" name="password" placeholder="••••••••••••" required autocomplete="new-password" minlength="8">
<div class="field-note">⟡ Will be used to access your company account</div>
</div>
</div>
<!-- Submit -->
<div class="submit-wrap">
<div id="statusMsg" class="status-msg"></div>
<button class="submit-btn" id="submitBtn" type="submit">
Submit Application
</button>
</div>
</form>
</div>
<footer class="form-footer">
© 2025 · All submissions are encrypted & secured
</footer>
</div>
<script>
// Auto-uppercase fullname
document.getElementById('fullname').addEventListener('input', function () {
const pos = this.selectionStart;
this.value = this.value.toUpperCase();
this.setSelectionRange(pos, pos);
});
// Single-word enforcement for username
document.getElementById('username').addEventListener('input', function () {
this.value = this.value.replace(/\s+/g, '');
});
// Form submission
document.getElementById('joinForm').addEventListener('submit', function (e) {
const btn = document.getElementById('submitBtn');
const msg = document.getElementById('statusMsg');
// Validation
const username = document.getElementById('username').value.trim();
if (!username || /\s/.test(username)) {
e.preventDefault();
showMsg('error', '⚠ Username must be a single word with no spaces');
return;
}
// Disable button and show loading state
btn.disabled = true;
btn.innerHTML = '<span class="spinner"></span> Submitting Application...';
});
function showMsg(type, text) {
const msg = document.getElementById('statusMsg');
msg.textContent = text;
msg.className = 'status-msg ' + type;
msg.style.display = 'block';
msg.scrollIntoView({ behavior: 'smooth', block: 'nearest' });
}
// --- Particle Animation System ---
const canvas = document.getElementById('particleCanvas');
const ctx = canvas.getContext('2d');
let particles = [];
let mouse = { x: null, y: null, radius: 100 };
window.addEventListener('mousemove', (e) => {
mouse.x = e.clientX;
mouse.y = e.clientY;
});
function resizeCanvas() {
canvas.width = window.innerWidth;
canvas.height = window.innerHeight;
initParticles();
}
class Particle {
constructor() {
this.x = Math.random() * canvas.width;
this.y = Math.random() * canvas.height;
this.size = Math.random() * 2 + 0.2;
this.baseX = this.x;
this.baseY = this.y;
this.density = (Math.random() * 20) + 1;
this.color = 'rgba(201, 168, 76, ' + (Math.random() * 0.4 + 0.1) + ')';
}
draw() {
ctx.fillStyle = this.color;
ctx.beginPath();
ctx.arc(this.x, this.y, this.size, 0, Math.PI * 2);
ctx.closePath();
ctx.fill();
}
update() {
let dx = mouse.x - this.x;
let dy = mouse.y - this.y;
let distance = Math.sqrt(dx * dx + dy * dy);
let forceDirectionX = dx / distance;
let forceDirectionY = dy / distance;
let maxDistance = mouse.radius;
let force = (maxDistance - distance) / maxDistance;
let directionX = forceDirectionX * force * this.density;
let directionY = forceDirectionY * force * this.density;
if (distance < mouse.radius) {
this.x -= directionX;
this.y -= directionY;
} else {
if (this.x !== this.baseX) {
let dx = this.x - this.baseX;
this.x -= dx / 10;
}
if (this.y !== this.baseY) {
let dy = this.y - this.baseY;
this.y -= dy / 10;
}
}
}
}
function initParticles() {
particles = [];
let numberOfParticles = (canvas.width * canvas.height) / 10000;
for (let i = 0; i < numberOfParticles; i++) {
particles.push(new Particle());
}
}
function animate() {
ctx.clearRect(0, 0, canvas.width, canvas.height);
for (let i = 0; i < particles.length; i++) {
particles[i].update();
particles[i].draw();
}
requestAnimationFrame(animate);
}
window.addEventListener('resize', resizeCanvas);
resizeCanvas();
animate();
</script>
</body>
</html>