Peymandc commited on
Commit
fa1ef0d
·
verified ·
1 Parent(s): 5e7cbce

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +1982 -783
index.html CHANGED
@@ -5,1082 +5,2281 @@
5
  <meta charset="utf-8">
6
  <meta name="viewport" content="width=device-width, initial-scale=1">
7
  <meta name="theme-color" content="#0b0911">
8
- <meta name="description" content="Support Peymandc and independent AI exploration.">
 
 
 
 
 
9
  <title>Support Peymandc</title>
10
 
11
  <style>
 
 
 
 
12
  :root {
13
  color-scheme: dark;
 
14
  --bg: #0b0911;
15
- --panel: rgba(27, 21, 39, .88);
16
- --line: rgba(190, 158, 255, .16);
 
 
 
 
 
17
  --text: #f7f3ff;
18
  --muted: #b8aecb;
19
  --muted-2: #8e829f;
 
20
  --purple: #b78aff;
21
- --purple-2: #8e5ce6;
 
 
22
  --success: #8ee6bb;
23
- --shadow: 0 24px 80px rgba(0, 0, 0, .38);
 
 
 
 
 
 
 
 
24
  }
25
 
26
- * { box-sizing: border-box; }
27
 
28
- html { scroll-behavior: smooth; }
 
 
 
 
 
 
 
 
 
 
 
 
29
 
30
  body {
31
  margin: 0;
32
  min-height: 100vh;
 
33
  color: var(--text);
 
34
  background:
35
- radial-gradient(ellipse at 15% 5%, rgba(111, 62, 171, .27), transparent 35rem),
36
- radial-gradient(ellipse at 90% 30%, rgba(68, 61, 150, .18), transparent 34rem),
37
- linear-gradient(180deg, #100d19 0%, var(--bg) 70%);
38
- font-family: Inter, ui-sans-serif, system-ui, -apple-system,
39
- BlinkMacSystemFont, "Segoe UI", sans-serif;
40
- line-height: 1.55;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
41
  }
42
 
43
- a { color: inherit; }
 
 
44
 
45
  .page {
46
- width: min(100% - 36px, 1100px);
 
 
 
 
47
  margin: 0 auto;
48
- padding: 34px 0 30px;
49
  }
50
 
51
- /* Header */
 
 
 
52
 
53
  .topbar {
54
  display: flex;
55
  align-items: center;
56
  justify-content: space-between;
57
  gap: 16px;
58
- margin-bottom: 72px;
 
59
  }
60
 
61
  .brand {
62
  display: inline-flex;
63
  align-items: center;
64
  gap: 11px;
 
65
  text-decoration: none;
66
- font-weight: 800;
67
- letter-spacing: .15em;
68
  font-size: .95rem;
 
 
69
  }
70
 
71
  .brand-mark {
72
- width: 34px;
73
- height: 34px;
74
  display: grid;
75
  place-items: center;
76
- border: 1px solid rgba(202, 171, 255, .45);
77
- border-radius: 11px;
78
- background: linear-gradient(
79
- 145deg,
80
- rgba(177, 128, 255, .28),
81
- rgba(83, 53, 132, .18)
82
- );
83
- color: #e7d7ff;
84
- box-shadow: 0 0 28px rgba(160, 105, 255, .18);
 
 
 
 
 
 
 
 
 
85
  }
86
 
87
  .top-label {
88
- color: #d8c7f7;
 
 
 
 
 
89
  border: 1px solid var(--line);
90
- background: rgba(31, 23, 46, .65);
91
  border-radius: 999px;
92
- padding: 7px 13px;
93
- font-size: .72rem;
94
- letter-spacing: .16em;
 
 
95
  font-weight: 750;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
96
  }
97
 
98
- /* Hero */
 
 
 
99
 
100
  .hero {
101
- max-width: 760px;
102
- margin: 0 auto 48px;
103
  text-align: center;
104
  }
105
 
106
  .eyebrow {
107
  color: var(--purple);
108
- font-size: .76rem;
109
- font-weight: 750;
 
110
  letter-spacing: .22em;
111
  text-transform: uppercase;
112
  }
113
 
114
- h1 {
115
- margin: 15px 0 16px;
116
- font-size: clamp(2.5rem, 7vw, 5.2rem);
117
- letter-spacing: -.065em;
118
- line-height: .99;
119
- font-weight: 820;
 
 
120
  }
121
 
122
- h1 span {
123
- background: linear-gradient(
124
- 100deg,
125
- #fff 10%,
126
- #d6baff 55%,
127
- #9c7be8 100%
128
- );
 
 
 
 
129
  -webkit-background-clip: text;
130
  background-clip: text;
 
131
  color: transparent;
132
  }
133
 
134
- .intro {
135
- max-width: 650px;
136
  margin: 0 auto;
 
137
  color: var(--muted);
138
- font-size: clamp(1rem, 2.2vw, 1.14rem);
 
 
 
 
 
 
 
 
 
139
  }
140
 
141
- .hero-note {
142
- margin-top: 22px;
143
- color: #d7c6f3;
144
- font-size: .9rem;
145
  }
146
 
147
- /* Cards */
148
 
149
- .methods {
150
- display: grid;
151
- grid-template-columns: repeat(2, minmax(0, 1fr));
152
- gap: 18px;
153
- align-items: stretch;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
154
  }
155
 
 
 
 
 
 
156
  .card {
157
  position: relative;
158
  overflow: hidden;
 
159
  border: 1px solid var(--line);
160
- border-radius: 22px;
161
- padding: 25px;
162
- background: linear-gradient(
163
- 155deg,
164
- rgba(37, 28, 53, .94),
165
- rgba(20, 16, 30, .96)
166
- );
 
 
167
  box-shadow: var(--shadow);
168
  }
169
 
170
  .card::before {
171
  content: "";
 
172
  position: absolute;
173
- width: 190px;
174
- height: 190px;
175
- right: -100px;
176
  top: -115px;
 
 
 
 
 
177
  border-radius: 50%;
178
- background: rgba(158, 107, 240, .12);
179
- filter: blur(2px);
 
 
180
  pointer-events: none;
181
  }
182
 
183
- .card-head {
184
- display: flex;
185
- align-items: center;
186
- gap: 13px;
187
- margin-bottom: 18px;
188
  position: relative;
 
189
  }
190
 
191
- .icon {
192
- width: 44px;
193
- height: 44px;
 
 
 
 
194
  display: grid;
195
- place-items: center;
196
- flex: 0 0 auto;
197
- border-radius: 14px;
198
- color: #e3d1ff;
199
- background: linear-gradient(
200
- 145deg,
201
- rgba(174, 127, 255, .22),
202
- rgba(107, 77, 158, .18)
203
- );
204
- border: 1px solid rgba(193, 158, 255, .22);
205
- }
206
 
207
- .icon svg {
208
- width: 21px;
209
- height: 21px;
210
- }
211
 
212
- h2 {
213
- margin: 0;
214
- font-size: 1.15rem;
215
- letter-spacing: -.02em;
216
- }
217
 
218
- .sub {
219
- margin: 3px 0 0;
220
- color: var(--muted-2);
221
- font-size: .86rem;
222
- }
223
 
224
- /* Buttons */
 
 
 
 
 
 
 
 
 
 
 
225
 
226
- button,
227
- .button-link {
228
- border: 0;
229
- cursor: pointer;
230
- text-decoration: none;
231
  display: inline-flex;
232
  align-items: center;
233
- justify-content: center;
234
  gap: 8px;
235
- border-radius: 11px;
236
- padding: 10px 13px;
237
- color: #160f22;
238
- background: linear-gradient(120deg, #d9c1ff, #ad82ef);
239
- font: inherit;
240
- font-size: .82rem;
241
  font-weight: 800;
242
- white-space: nowrap;
243
- transition: transform .18s ease, filter .18s ease;
244
  }
245
 
246
- button:hover,
247
- .button-link:hover {
248
- transform: translateY(-1px);
249
- filter: brightness(1.08);
250
- }
251
 
252
- button:focus-visible,
253
- a:focus-visible {
254
- outline: 2px solid #e3d1ff;
255
- outline-offset: 3px;
 
256
  }
257
 
258
- /* Donofa */
 
259
 
260
- .donofa-card {
261
- grid-column: 1 / -1;
262
- display: grid;
263
- grid-template-columns: minmax(0, 1fr) minmax(220px, .55fr);
264
- align-items: center;
265
- gap: 28px;
266
- }
267
-
268
- .donofa-card .card-head {
269
- margin-bottom: 12px;
270
- }
271
-
272
- .donofa-copy {
273
- color: var(--muted);
274
- font-size: .9rem;
275
- margin: 0;
276
- max-width: 650px;
277
- }
278
-
279
- .donofa-action {
280
- display: flex;
281
- justify-content: flex-end;
282
- }
283
-
284
- .donofa-action .button-link {
285
- width: 100%;
286
- max-width: 280px;
287
- min-height: 48px;
288
- }
289
-
290
- @media (max-width: 700px) {
291
- .donofa-card {
292
- grid-column: auto;
293
- grid-template-columns: 1fr;
294
- gap: 18px;
295
- }
296
-
297
- .donofa-action {
298
- justify-content: stretch;
299
- }
300
-
301
- .donofa-action .button-link {
302
- max-width: none;
303
- }
304
- }
305
-
306
- /* Cryptocurrency */
307
-
308
- #crypto-card {
309
- grid-column: 1 / -1;
310
  }
311
 
312
- .crypto-list {
313
- display: grid;
314
- grid-template-columns: repeat(4, minmax(0, 1fr));
315
- gap: 14px;
316
- align-items: stretch;
 
 
317
  }
318
 
319
- .crypto-entry {
320
- min-width: 0;
321
- padding: 15px;
322
- border: 1px solid rgba(192, 166, 233, .13);
323
- border-radius: 16px;
324
- background: linear-gradient(
325
- 145deg,
326
- rgba(255, 255, 255, .035),
327
- rgba(8, 7, 13, .30)
328
- );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
329
  transition:
330
- border-color .2s ease,
331
- background .2s ease,
332
- transform .2s ease;
333
  }
334
 
335
- .crypto-entry:hover {
336
- border-color: rgba(183, 138, 255, .35);
337
- background: rgba(145, 99, 214, .07);
338
  transform: translateY(-2px);
 
 
 
 
339
  }
340
 
341
- .crypto-entry-head {
342
- display: flex;
343
- align-items: center;
344
- justify-content: space-between;
345
- gap: 8px;
346
- margin-bottom: 15px;
 
347
  }
348
 
349
- .asset-pill {
350
  display: inline-flex;
351
- align-items: center;
352
- border: 1px solid rgba(190, 158, 255, .24);
353
- background: rgba(145, 99, 214, .13);
354
- color: #e7d7ff;
355
- border-radius: 999px;
356
  padding: 5px 10px;
357
- font-size: .72rem;
 
 
 
 
 
 
 
358
  font-weight: 800;
359
- letter-spacing: .04em;
360
  }
361
 
362
- .crypto-network {
363
- color: var(--muted);
364
- font-size: .72rem;
365
- text-align: right;
366
- line-height: 1.35;
367
- }
368
 
369
- .field-label {
370
- display: block;
371
- margin-bottom: 7px;
372
- color: #bfb2d1;
373
- font-size: .66rem;
374
- text-transform: uppercase;
375
- font-weight: 750;
376
- letter-spacing: .12em;
377
  }
378
 
379
- .crypto-address-box {
380
- display: flex;
381
- align-items: center;
382
- justify-content: space-between;
383
- gap: 8px;
384
- min-height: 44px;
385
- padding: 7px 8px 7px 11px;
386
- border-radius: 10px;
387
- border: 1px solid rgba(192, 166, 233, .12);
388
- background: rgba(5, 4, 9, .55);
389
  }
390
 
391
- .crypto-address {
392
- min-width: 0;
393
- flex: 1;
394
- color: #e9e0f8;
395
- font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
396
- font-size: .72rem;
397
- font-weight: 500;
398
- letter-spacing: -.035em;
399
- white-space: nowrap;
400
- overflow: hidden;
401
- text-overflow: ellipsis;
402
- }
403
 
404
- .copy-button {
405
- width: 32px;
406
- height: 32px;
407
- min-width: 32px;
408
- padding: 0;
409
- border-radius: 8px;
410
- color: #e9d9ff;
411
- background: rgba(167, 139, 250, .15);
412
- border: 1px solid rgba(183, 138, 255, .22);
413
- }
414
 
415
- .copy-button:hover {
416
- background: rgba(167, 139, 250, .28);
417
- filter: none;
418
  }
419
 
420
- .copy-button svg {
421
- width: 15px;
422
- height: 15px;
423
- }
424
 
425
- .crypto-memo {
426
- margin-top: 13px;
427
- }
428
 
429
- .crypto-memo .crypto-address-box {
430
- min-height: 40px;
431
  }
432
 
433
- .network-note,
434
- .crypto-help {
435
- margin: 14px 2px 0;
436
- color: #a99db9;
437
- font-size: .78rem;
438
  }
439
 
440
- /* PayPal */
 
 
441
 
442
- .paypal-card {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
443
  grid-column: 1 / -1;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
444
  display: flex;
445
  align-items: center;
446
  justify-content: space-between;
447
  gap: 20px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
448
  }
449
 
450
- .paypal-card .card-head {
451
- margin: 0;
452
- }
453
 
454
- .paypal-copy {
455
- color: var(--muted);
456
- font-size: .88rem;
457
- margin: 7px 0 0;
458
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
459
 
460
- .paypal-action {
461
- flex: 0 0 auto;
462
- }
463
 
464
- /* Footer */
 
 
 
 
465
 
466
- .footer {
467
- margin: 54px auto 0;
468
- text-align: center;
469
- max-width: 650px;
470
- }
471
 
472
- .heart { color: #d2aaff; }
 
 
 
 
 
 
 
473
 
474
- .thanks {
475
- color: #d8c9ec;
476
- font-size: 1rem;
477
  }
478
 
479
- .footer-small {
480
- color: var(--muted-2);
481
- font-size: .78rem;
482
- margin-top: 14px;
483
- }
484
 
485
- /* Toast */
 
 
486
 
487
- .toast {
488
- position: fixed;
489
- left: 50%;
490
- bottom: 24px;
491
- transform: translate(-50%, 16px);
492
- opacity: 0;
493
- pointer-events: none;
494
- padding: 11px 16px;
495
- border: 1px solid rgba(142, 230, 187, .28);
496
- border-radius: 999px;
497
- color: #dfffee;
498
- background: #182a25;
499
- box-shadow: var(--shadow);
500
- font-size: .86rem;
501
- transition: opacity .2s ease, transform .2s ease;
502
- z-index: 5;
503
- }
504
 
505
- .toast.show {
506
- opacity: 1;
507
- transform: translate(-50%, 0);
508
- }
509
 
510
- .hidden { display: none !important; }
511
 
512
- /* Responsive */
 
 
 
 
 
 
 
513
 
514
- @media (max-width: 900px) {
515
- .crypto-list {
516
- grid-template-columns: repeat(2, minmax(0, 1fr));
517
- }
518
- }
519
 
520
- @media (max-width: 700px) {
521
- .page {
522
- width: min(100% - 28px, 560px);
523
- padding-top: 22px;
524
- }
525
 
526
- .topbar { margin-bottom: 54px; }
527
 
528
- .methods { grid-template-columns: 1fr; }
 
 
 
 
 
 
529
 
530
- #crypto-card,
531
- .paypal-card {
532
- grid-column: auto;
533
- }
534
 
535
- .paypal-card {
536
- align-items: flex-start;
537
- flex-direction: column;
538
- }
539
 
540
- .paypal-action,
541
- .paypal-action .button-link {
542
- width: 100%;
543
- }
 
544
 
545
- .card { padding: 22px; }
 
546
 
547
- .footer { margin-top: 42px; }
548
- }
549
 
550
- @media (max-width: 420px) {
551
- .crypto-list {
552
- grid-template-columns: 1fr;
553
- }
554
- }
555
 
556
- @media (prefers-reduced-motion: reduce) {
557
- *,
558
- *::before,
559
- *::after {
560
- scroll-behavior: auto !important;
561
- transition: none !important;
562
- }
563
  }
564
- </style>
565
- </head>
566
 
567
- <body>
568
- <main class="page">
569
 
570
- <header class="topbar">
571
- <a
572
- class="brand"
573
- id="brand-link"
574
- href="https://huggingface.co/Peymandc"
575
- target="_blank"
576
- rel="noopener noreferrer"
577
- >
578
- <span class="brand-mark" aria-hidden="true">P</span>
579
- <span>PEYMANDC</span>
580
- </a>
581
 
582
- <span class="top-label">SUPPORT</span>
583
- </header>
 
 
 
584
 
585
- <section class="hero" aria-labelledby="page-title">
586
- <div class="eyebrow">Independent AI exploration</div>
 
 
 
 
 
 
 
 
 
 
587
 
588
- <h1 id="page-title">
589
- <span>Support the work.</span>
590
- </h1>
 
 
591
 
592
- <p class="intro">
593
- Your support helps fund experiments with open-weight models,
594
- model modifications, research, and future releases.
595
- </p>
596
 
597
- <p class="hero-note">
598
- Every contribution helps keep independent experimentation
599
- moving forward. <span class="heart">♥</span>
600
- </p>
601
- </section>
602
-
603
- <section class="methods" aria-label="Ways to support Peymandc">
604
-
605
- <!-- Donofa -->
606
-
607
- <article class="card donofa-card" id="donofa-card">
608
- <div>
609
- <div class="card-head">
610
- <div class="icon" aria-hidden="true">
611
- <svg
612
- viewBox="0 0 24 24"
613
- fill="none"
614
- stroke="currentColor"
615
- stroke-width="1.7"
616
- stroke-linecap="round"
617
- stroke-linejoin="round"
618
- >
619
- <rect x="3" y="5" width="18" height="14" rx="2"/>
620
- <path d="M3 10h18M7 15h3"/>
621
- </svg>
622
- </div>
623
-
624
- <div>
625
- <h2>Donofa</h2>
626
- <p class="sub">Toman / IRR · Iranian payment gateway</p>
627
- </div>
628
- </div>
629
-
630
- <p class="donofa-copy">
631
- For supporters who prefer using Donofa. The page mainly offers
632
- Toman payments, as well as separate cryptocurrency payment options, depending on availability.
633
- For direct cryptocurrency transfers, see the wallets below.
634
- </p>
635
- </div>
636
 
637
- <div class="donofa-action">
638
- <a
639
- class="button-link"
640
- href="https://donofa.ir/peymandc"
641
- target="_blank"
642
- rel="noopener noreferrer"
643
- >
644
- Open Donofa
645
- <span aria-hidden="true">↗</span>
646
- </a>
647
- </div>
648
- </article>
649
-
650
- <!-- Cryptocurrency -->
651
-
652
- <article class="card" id="crypto-card">
653
- <div class="card-head">
654
- <div class="icon" aria-hidden="true">
655
- <svg
656
- viewBox="0 0 24 24"
657
- fill="none"
658
- stroke="currentColor"
659
- stroke-width="1.7"
660
- stroke-linecap="round"
661
- stroke-linejoin="round"
662
- >
663
- <path d="M12 2v20M17 5H9.5a3.5 3.5 0 0 0 0 7H14a3.5 3.5 0 0 1 0 7H6"/>
664
- <path d="M7 5h10M7 19h10"/>
665
- </svg>
666
- </div>
667
 
668
- <div>
669
- <h2>Cryptocurrency</h2>
670
- <p class="sub">
671
- Choose from the supported coins and networks below
672
- </p>
673
- </div>
674
- </div>
675
 
676
- <div class="crypto-list" id="crypto-list"></div>
677
 
678
- <p class="network-note">
679
- Only send the displayed asset using its specified network.
680
- The same coin may appear more than once when accepted on
681
- different networks. Transfers sent using the wrong network
682
- or to the wrong address may be unrecoverable.
683
- </p>
684
 
685
- <p class="crypto-help">
686
- Always verify the asset, network, and address with your wallet
687
- before sending.
688
- </p>
689
- </article>
690
-
691
- <!-- PayPal: hidden until a valid URL is configured -->
692
-
693
- <article class="card paypal-card hidden" id="paypal-card">
694
- <div class="card-head">
695
- <div class="icon" aria-hidden="true">
696
- <svg
697
- viewBox="0 0 24 24"
698
- fill="none"
699
- stroke="currentColor"
700
- stroke-width="1.7"
701
- stroke-linecap="round"
702
- stroke-linejoin="round"
703
- >
704
- <path d="M7 20H5l2.4-14h7.2a4 4 0 0 1 3.9 4.7l-.2 1.1a5 5 0 0 1-4.9 4H9"/>
705
- <path d="M9 16h6.5a4 4 0 0 0 3.9-3.2l.2-1.1"/>
706
- </svg>
707
- </div>
708
 
709
- <div>
710
- <h2>PayPal</h2>
711
- <p class="paypal-copy">
712
- Support through PayPal, where available.
713
- </p>
714
- </div>
715
- </div>
716
 
717
- <div class="paypal-action">
718
- <a
719
- class="button-link"
720
- id="paypal-link"
721
- href="#"
722
- target="_blank"
723
- rel="noopener noreferrer"
724
- >
725
- Continue to PayPal
726
- <span aria-hidden="true">↗</span>
727
- </a>
728
- </div>
729
- </article>
730
 
731
- </section>
732
 
733
- <footer class="footer">
734
- <p class="thanks">
735
- Thank you for supporting independent work.
736
- <span class="heart">♥</span>
737
- </p>
738
 
739
- <p class="footer-small">
740
- Peymandc · Open exploration, shared with the community.
741
- </p>
742
- </footer>
743
 
744
- </main>
 
 
 
 
745
 
746
- <div class="toast" id="toast" role="status" aria-live="polite">
747
- Copied
748
- </div>
749
 
750
- <script>
751
- /* ================================================================
752
- PAYMENT CONFIGURATION
753
 
754
- Public receiving addresses only.
755
- Never put passwords, PINs, CVV2, private keys, or seed phrases here.
756
- ================================================================ */
757
 
758
- const SUPPORT_CONFIG = {
759
- crypto: [
760
- // Bitcoin
761
- {
762
- enabled: true,
763
- asset: "BTC",
764
- network: "Bitcoin",
765
- address: "bc1qqw8u6jpj5p48ra0xzjfat3ysnfx5yhgg2ke6jd"
766
- },
767
 
768
- // Ethereum
769
-
770
- {
771
- enabled: true,
772
- asset: "ETH",
773
- network: "Arbitrum (ARB20) · Base · Ethereum (ERC20) · Linea · Optimism · zkSync Era",
774
- address: "0xc2f37116a71CdA714EDB721489a6B7f5Df9AF371"
775
- },
776
 
 
 
777
 
778
- // Solana
779
- {
780
- enabled: true,
781
- asset: "SOL",
782
- network: "Solana",
783
- address: "DCvMpk9uuwcwjimk6K9dRY5zoVjGbtSqPAKY84gfyPR3"
784
- },
785
 
786
- // BNB
787
- {
788
- enabled: true,
789
- asset: "BNB",
790
- network: "BNB Smart Chain (BEP20)",
791
- address: "0xc2f37116a71CdA714EDB721489a6B7f5Df9AF371"
792
- },
793
 
794
-
795
- // USDT — TON
796
- {
797
- enabled: true,
798
- asset: "USDT",
799
- network: "TON Network",
800
- address: "UQAi-sEJNF5d_1aU0nbrhzWgEVQZ_zbrwRb601GpOHoQ1vYc"
801
- },
802
-
803
- // USDT — Solana
804
- {
805
- enabled: true,
806
- asset: "USDT",
807
- network: "Solana (SPL)",
808
- address: "DCvMpk9uuwcwjimk6K9dRY5zoVjGbtSqPAKY84gfyPR3"
809
- },
810
-
811
- // USDT — EVM networks (same receiving address)
812
- {
813
- enabled: true,
814
- asset: "USDT",
815
- network: "Avalanche C-Chain · Celo · BNB Smart Chain (BEP20)",
816
- address: "0xc2f37116a71CdA714EDB721489a6B7f5Df9AF371"
817
- },
818
-
819
-
820
- // USD Coin — Ethereum
821
- {
822
- enabled: true,
823
- asset: "USDC",
824
- network: "Ethereum (ERC20)",
825
- address: "0xc2f37116a71CdA714EDB721489a6B7f5Df9AF371"
826
- },
827
 
828
- // USD Coin — Solana
829
- {
830
- enabled: true,
831
- asset: "USDC",
832
- network: "Solana (SPL)",
833
- address: "DCvMpk9uuwcwjimk6K9dRY5zoVjGbtSqPAKY84gfyPR3"
834
- },
835
 
836
- // TRON
837
- {
838
- enabled: true,
839
- asset: "TRX",
840
- network: "TRON (TRC20)",
841
- address: "TERSq3ShDG8vvPb9tzooFSBrjm8iFXaghX"
842
- },
843
 
844
- // GRAM
845
- {
846
- enabled: true,
847
- asset: "GRAM",
848
- network: "TON Network",
849
- address: "UQAi-sEJNF5d_1aU0nbrhzWgEVQZ_zbrwRb601GpOHoQ1vYc"
 
 
 
 
 
 
850
  }
851
- ],
852
 
853
- // Add your PayPal URL when you have verified your account.
854
- // Leave empty to keep the PayPal card hidden.
855
- paypalUrl: ""
856
- };
857
 
 
 
 
 
 
 
 
 
 
 
 
 
 
858
 
859
- /* ================================================================
860
- HELPERS
861
- ================================================================ */
862
 
863
- const $ = (id) => document.getElementById(id);
 
 
864
 
865
- const isPlaceholder = (value) => {
866
- const text = String(value ?? "").trim();
 
 
 
867
 
868
- return !text ||
869
- /^(?:ADD(?:[_ -]|$)|YOUR(?:[_ -]|$)|PLACEHOLDER(?:[_ -]|$)|0{4})/i.test(text);
870
- };
 
871
 
 
 
 
 
 
872
 
873
- /* ================================================================
874
- CRYPTO DISPLAY
875
- ================================================================ */
876
 
877
- function shortenAddress(address) {
878
- const value = String(address);
 
 
 
 
 
879
 
880
- if (value.length <= 22) return value;
881
 
882
- return `${value.slice(0, 10)}…${value.slice(-8)}`;
883
- }
884
 
 
 
 
 
885
 
886
- function createCopyButton(value, label) {
887
- const button = document.createElement("button");
 
 
 
 
888
 
889
- button.type = "button";
890
- button.className = "copy-button";
891
- button.setAttribute("aria-label", label);
892
- button.title = "Copy full address";
893
 
894
- button.innerHTML = `
895
- <svg
896
- viewBox="0 0 24 24"
897
- fill="none"
898
- stroke="currentColor"
899
- stroke-width="1.8"
900
- stroke-linecap="round"
901
- stroke-linejoin="round"
902
- aria-hidden="true"
903
- >
904
- <rect x="8" y="8" width="13" height="13" rx="2"/>
905
- <path d="M16 8V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h3"/>
906
- </svg>
907
- `;
908
 
909
- button.addEventListener("click", () => {
910
- copyText(value);
911
- });
912
 
913
- return button;
 
 
 
 
 
 
 
 
 
 
 
 
 
914
  }
915
 
916
 
917
- function configureCrypto() {
918
- const list = (SUPPORT_CONFIG.crypto || []).filter(wallet =>
919
- wallet &&
920
- wallet.enabled &&
921
- !isPlaceholder(wallet.address)
 
 
 
922
  );
923
 
924
- const card = $("crypto-card");
925
- const host = $("crypto-list");
 
 
926
 
927
- host.replaceChildren();
928
 
929
- if (!list.length) {
930
- card.classList.add("hidden");
931
- return;
 
 
 
 
 
 
 
 
932
  }
933
 
934
- card.classList.remove("hidden");
935
 
936
- list.forEach(wallet => {
937
- const entry = document.createElement("div");
938
- entry.className = "crypto-entry";
 
 
 
939
 
940
- // Header
 
 
 
941
 
942
- const head = document.createElement("div");
943
- head.className = "crypto-entry-head";
 
 
 
 
 
944
 
945
- const asset = document.createElement("span");
946
- asset.className = "asset-pill";
947
- asset.textContent = wallet.asset || "CRYPTO";
 
 
948
 
949
- const network = document.createElement("span");
950
- network.className = "crypto-network";
951
- network.textContent = wallet.network || "Network not specified";
952
 
953
- head.append(asset, network);
954
 
955
- // Address label
 
 
 
 
956
 
957
- const addressLabel = document.createElement("div");
958
- addressLabel.className = "field-label";
959
- addressLabel.textContent = "Wallet address";
960
 
961
- // Address container
962
 
963
- const addressBox = document.createElement("div");
964
- addressBox.className = "crypto-address-box";
965
 
966
- const address = document.createElement("span");
967
- address.className = "crypto-address";
968
- address.dir = "ltr";
969
- address.textContent = shortenAddress(wallet.address);
970
- address.title = wallet.address;
971
 
972
- const copyButton = createCopyButton(
973
- wallet.address,
974
- `Copy full ${wallet.asset || "crypto"} address on ${wallet.network || "the selected network"}`
975
  );
 
976
 
977
- addressBox.append(address, copyButton);
978
 
979
- entry.append(head, addressLabel, addressBox);
980
 
981
- // Optional memo
 
 
 
982
 
983
- if (wallet.memo && !isPlaceholder(wallet.memo)) {
984
- const memoWrap = document.createElement("div");
985
- memoWrap.className = "crypto-memo";
 
 
986
 
987
- const memoLabel = document.createElement("div");
988
- memoLabel.className = "field-label";
989
- memoLabel.textContent = "Memo / payment note";
990
 
991
- const memoBox = document.createElement("div");
992
- memoBox.className = "crypto-address-box";
 
 
993
 
994
- const memoValue = document.createElement("span");
995
- memoValue.className = "crypto-address";
996
- memoValue.dir = "ltr";
997
- memoValue.textContent = shortenAddress(wallet.memo);
998
- memoValue.title = wallet.memo;
999
 
1000
- const memoButton = createCopyButton(
1001
- wallet.memo,
1002
- `Copy ${wallet.asset || "crypto"} memo`
1003
- );
 
 
1004
 
1005
- memoBox.append(memoValue, memoButton);
1006
- memoWrap.append(memoLabel, memoBox);
1007
- entry.appendChild(memoWrap);
1008
- }
1009
 
1010
- host.appendChild(entry);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1011
  });
 
 
 
 
 
 
 
 
1012
  }
1013
 
1014
 
1015
- /* ================================================================
1016
- PAYPAL
1017
- ================================================================ */
1018
 
1019
- function configurePayPal() {
1020
- const url = String(SUPPORT_CONFIG.paypalUrl || "").trim();
 
1021
 
1022
- if (!url) return;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1023
 
1024
  try {
1025
- const parsed = new URL(url);
1026
  const host = parsed.hostname.toLowerCase();
1027
 
1028
  const allowedHost =
1029
  host === "paypal.com" ||
1030
  host.endsWith(".paypal.com") ||
1031
- host === "paypal.me";
1032
-
1033
- if (parsed.protocol !== "https:" || !allowedHost) {
1034
- return;
 
 
 
 
 
 
1035
  }
1036
 
1037
- $("paypal-link").href = parsed.href;
1038
- $("paypal-card").classList.remove("hidden");
1039
 
1040
  } catch (_) {
1041
- // Keep PayPal hidden if the URL is invalid.
1042
  }
1043
  }
1044
 
1045
 
1046
- /* ================================================================
1047
- CLIPBOARD + TOAST
1048
- ================================================================ */
1049
-
1050
- let toastTimer;
1051
 
1052
- function showToast(message) {
1053
- const toast = $("toast");
1054
 
1055
- toast.textContent = message;
1056
- toast.classList.add("show");
 
1057
 
1058
- clearTimeout(toastTimer);
 
 
 
1059
 
1060
- toastTimer = setTimeout(() => {
1061
- toast.classList.remove("show");
1062
- }, 1800);
1063
  }
1064
 
1065
 
1066
- async function copyText(value) {
1067
- try {
1068
- await navigator.clipboard.writeText(String(value));
1069
-
1070
- showToast("Copied to clipboard");
1071
 
1072
- } catch (_) {
1073
- showToast("Copy unavailable — please copy manually");
1074
- }
1075
  }
1076
 
1077
 
1078
- /* ================================================================
1079
- INITIALIZE
1080
- ================================================================ */
 
1081
 
1082
- configureCrypto();
1083
- configurePayPal();
1084
 
1085
  </script>
1086
  </body>
 
5
  <meta charset="utf-8">
6
  <meta name="viewport" content="width=device-width, initial-scale=1">
7
  <meta name="theme-color" content="#0b0911">
8
+
9
+ <meta
10
+ name="description"
11
+ content="Support Peymandc and independent AI exploration. Help fund open-weight model experiments, research, and community releases."
12
+ >
13
+
14
  <title>Support Peymandc</title>
15
 
16
  <style>
17
+ /* =========================================================
18
+ 1. DESIGN TOKENS
19
+ ========================================================= */
20
+
21
  :root {
22
  color-scheme: dark;
23
+
24
  --bg: #0b0911;
25
+ --bg-soft: #100d18;
26
+ --surface: #171222;
27
+ --surface-raised: #1d172b;
28
+
29
+ --line: rgba(190, 158, 255, .15);
30
+ --line-strong: rgba(190, 158, 255, .25);
31
+
32
  --text: #f7f3ff;
33
  --muted: #b8aecb;
34
  --muted-2: #8e829f;
35
+
36
  --purple: #b78aff;
37
+ --purple-light: #dcc5ff;
38
+ --purple-dark: #8553d0;
39
+
40
  --success: #8ee6bb;
41
+ --warning: #e8c58b;
42
+
43
+ --radius: 20px;
44
+ --radius-small: 13px;
45
+
46
+ --shadow:
47
+ 0 22px 65px rgba(0, 0, 0, .28);
48
+
49
+ --content-width: 1100px;
50
  }
51
 
 
52
 
53
+ /* =========================================================
54
+ 2. RESET AND GLOBAL STYLES
55
+ ========================================================= */
56
+
57
+ *,
58
+ *::before,
59
+ *::after {
60
+ box-sizing: border-box;
61
+ }
62
+
63
+ html {
64
+ scroll-behavior: smooth;
65
+ }
66
 
67
  body {
68
  margin: 0;
69
  min-height: 100vh;
70
+
71
  color: var(--text);
72
+
73
  background:
74
+ radial-gradient(
75
+ ellipse at 12% 3%,
76
+ rgba(111, 62, 171, .24),
77
+ transparent 34rem
78
+ ),
79
+ radial-gradient(
80
+ ellipse at 92% 26%,
81
+ rgba(74, 63, 153, .16),
82
+ transparent 32rem
83
+ ),
84
+ linear-gradient(
85
+ 180deg,
86
+ #100d19 0%,
87
+ var(--bg) 72%
88
+ );
89
+
90
+ font-family:
91
+ Inter,
92
+ ui-sans-serif,
93
+ system-ui,
94
+ -apple-system,
95
+ BlinkMacSystemFont,
96
+ "Segoe UI",
97
+ sans-serif;
98
+
99
+ font-size: 15px;
100
+ line-height: 1.6;
101
+
102
+ -webkit-font-smoothing: antialiased;
103
+ text-rendering: optimizeLegibility;
104
+ }
105
+
106
+ button,
107
+ a {
108
+ font: inherit;
109
+ }
110
+
111
+ a {
112
+ color: inherit;
113
+ }
114
+
115
+ button {
116
+ -webkit-tap-highlight-color: transparent;
117
+ }
118
+
119
+ button:focus-visible,
120
+ a:focus-visible {
121
+ outline: 2px solid var(--purple-light);
122
+ outline-offset: 4px;
123
  }
124
 
125
+ .hidden {
126
+ display: none !important;
127
+ }
128
 
129
  .page {
130
+ width: min(
131
+ calc(100% - 36px),
132
+ var(--content-width)
133
+ );
134
+
135
  margin: 0 auto;
136
+ padding: 30px 0 28px;
137
  }
138
 
139
+
140
+ /* =========================================================
141
+ 3. HEADER
142
+ ========================================================= */
143
 
144
  .topbar {
145
  display: flex;
146
  align-items: center;
147
  justify-content: space-between;
148
  gap: 16px;
149
+
150
+ margin-bottom: 82px;
151
  }
152
 
153
  .brand {
154
  display: inline-flex;
155
  align-items: center;
156
  gap: 11px;
157
+
158
  text-decoration: none;
159
+
 
160
  font-size: .95rem;
161
+ font-weight: 850;
162
+ letter-spacing: .16em;
163
  }
164
 
165
  .brand-mark {
 
 
166
  display: grid;
167
  place-items: center;
168
+
169
+ width: 36px;
170
+ height: 36px;
171
+
172
+ border: 1px solid rgba(202, 171, 255, .4);
173
+ border-radius: 12px;
174
+
175
+ color: #f0e3ff;
176
+
177
+ background:
178
+ linear-gradient(
179
+ 145deg,
180
+ rgba(177, 128, 255, .30),
181
+ rgba(83, 53, 132, .18)
182
+ );
183
+
184
+ box-shadow:
185
+ 0 0 28px rgba(160, 105, 255, .16);
186
  }
187
 
188
  .top-label {
189
+ display: inline-flex;
190
+ align-items: center;
191
+ gap: 8px;
192
+
193
+ padding: 7px 13px;
194
+
195
  border: 1px solid var(--line);
 
196
  border-radius: 999px;
197
+
198
+ color: #d9c8f6;
199
+ background: rgba(31, 23, 46, .65);
200
+
201
+ font-size: .68rem;
202
  font-weight: 750;
203
+ letter-spacing: .15em;
204
+ }
205
+
206
+ .top-label::before {
207
+ content: "";
208
+
209
+ width: 6px;
210
+ height: 6px;
211
+
212
+ border-radius: 50%;
213
+ background: var(--purple);
214
+
215
+ box-shadow:
216
+ 0 0 10px rgba(183, 138, 255, .7);
217
  }
218
 
219
+
220
+ /* =========================================================
221
+ 4. HERO
222
+ ========================================================= */
223
 
224
  .hero {
225
+ max-width: 790px;
226
+ margin: 0 auto 52px;
227
  text-align: center;
228
  }
229
 
230
  .eyebrow {
231
  color: var(--purple);
232
+
233
+ font-size: .72rem;
234
+ font-weight: 800;
235
  letter-spacing: .22em;
236
  text-transform: uppercase;
237
  }
238
 
239
+ .hero h1 {
240
+ margin: 17px 0 20px;
241
+
242
+ font-size: clamp(2.65rem, 7vw, 5.25rem);
243
+ font-weight: 850;
244
+
245
+ letter-spacing: -.068em;
246
+ line-height: 1.02;
247
  }
248
 
249
+ .hero h1 span {
250
+ display: block;
251
+
252
+ background:
253
+ linear-gradient(
254
+ 105deg,
255
+ #ffffff 7%,
256
+ #ddc8ff 53%,
257
+ #a680ed 100%
258
+ );
259
+
260
  -webkit-background-clip: text;
261
  background-clip: text;
262
+
263
  color: transparent;
264
  }
265
 
266
+ .hero-description {
267
+ max-width: 660px;
268
  margin: 0 auto;
269
+
270
  color: var(--muted);
271
+
272
+ font-size: clamp(1rem, 2vw, 1.1rem);
273
+ line-height: 1.85;
274
+ }
275
+
276
+ .hero-footnote {
277
+ margin-top: 20px;
278
+
279
+ color: #d3c2ee;
280
+ font-size: .86rem;
281
  }
282
 
283
+ .heart {
284
+ color: #d4a9ff;
 
 
285
  }
286
 
 
287
 
288
+ /* =========================================================
289
+ 5. GENERAL SECTION HEADINGS
290
+ ========================================================= */
291
+
292
+ .section-heading {
293
+ display: flex;
294
+ align-items: flex-end;
295
+ justify-content: space-between;
296
+ gap: 20px;
297
+
298
+ margin-bottom: 20px;
299
+ }
300
+
301
+ .section-heading h2 {
302
+ margin: 5px 0 0;
303
+
304
+ font-size: 1.42rem;
305
+ font-weight: 800;
306
+ letter-spacing: -.035em;
307
+ }
308
+
309
+ .section-description {
310
+ max-width: 620px;
311
+ margin: 6px 0 0;
312
+
313
+ color: var(--muted);
314
+ font-size: .88rem;
315
+ }
316
+
317
+ .section-index {
318
+ color: var(--muted-2);
319
+
320
+ font-size: .68rem;
321
+ font-weight: 750;
322
+ letter-spacing: .15em;
323
+ white-space: nowrap;
324
  }
325
 
326
+
327
+ /* =========================================================
328
+ 6. SHARED CARD STYLES
329
+ ========================================================= */
330
+
331
  .card {
332
  position: relative;
333
  overflow: hidden;
334
+
335
  border: 1px solid var(--line);
336
+ border-radius: var(--radius);
337
+
338
+ background:
339
+ linear-gradient(
340
+ 150deg,
341
+ rgba(36, 27, 51, .95),
342
+ rgba(19, 15, 29, .97)
343
+ );
344
+
345
  box-shadow: var(--shadow);
346
  }
347
 
348
  .card::before {
349
  content: "";
350
+
351
  position: absolute;
 
 
 
352
  top: -115px;
353
+ right: -110px;
354
+
355
+ width: 220px;
356
+ height: 220px;
357
+
358
  border-radius: 50%;
359
+
360
+ background: rgba(158, 107, 240, .08);
361
+ filter: blur(3px);
362
+
363
  pointer-events: none;
364
  }
365
 
366
+ .card-content {
 
 
 
 
367
  position: relative;
368
+ z-index: 1;
369
  }
370
 
371
+
372
+ /* =========================================================
373
+ 7. DONOFA
374
+ Full-width section, clearly intended for Toman.
375
+ ========================================================= */
376
+
377
+ .donofa-card {
378
  display: grid;
379
+ grid-template-columns: minmax(0, 1.5fr) minmax(220px, .7fr);
380
+ align-items: center;
381
+ gap: 35px;
 
 
 
 
 
 
 
 
382
 
383
+ padding: 30px;
 
 
 
384
 
385
+ margin-bottom: 58px;
 
 
 
 
386
 
387
+ border-color: rgba(183, 138, 255, .22);
 
 
 
 
388
 
389
+ background:
390
+ radial-gradient(
391
+ ellipse at 88% 48%,
392
+ rgba(151, 100, 221, .16),
393
+ transparent 36%
394
+ ),
395
+ linear-gradient(
396
+ 145deg,
397
+ rgba(38, 28, 55, .97),
398
+ rgba(20, 15, 31, .98)
399
+ );
400
+ }
401
 
402
+ .donofa-kicker {
 
 
 
 
403
  display: inline-flex;
404
  align-items: center;
 
405
  gap: 8px;
406
+
407
+ color: #d5bbff;
408
+
409
+ font-size: .69rem;
 
 
410
  font-weight: 800;
411
+ letter-spacing: .15em;
412
+ text-transform: uppercase;
413
  }
414
 
415
+ .donofa-kicker::before {
416
+ content: "";
 
 
 
417
 
418
+ width: 7px;
419
+ height: 7px;
420
+
421
+ border-radius: 50%;
422
+ background: var(--purple);
423
  }
424
 
425
+ .donofa-main h2 {
426
+ margin: 12px 0 8px;
427
 
428
+ font-size: 1.75rem;
429
+ font-weight: 850;
430
+ letter-spacing: -.045em;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
431
  }
432
 
433
+ .donofa-description {
434
+ max-width: 630px;
435
+ margin: 0;
436
+
437
+ color: var(--muted);
438
+ font-size: .92rem;
439
+ line-height: 1.8;
440
  }
441
 
442
+ .donofa-action {
443
+ display: inline-flex;
444
+ align-items: center;
445
+ justify-content: center;
446
+ gap: 10px;
447
+
448
+ min-height: 46px;
449
+ padding: 11px 18px;
450
+
451
+ margin-top: 23px;
452
+
453
+ border: 1px solid rgba(225, 205, 255, .35);
454
+ border-radius: 11px;
455
+
456
+ color: #170f23;
457
+
458
+ background:
459
+ linear-gradient(
460
+ 115deg,
461
+ #e1ccff,
462
+ #b58bef
463
+ );
464
+
465
+ box-shadow:
466
+ 0 8px 25px rgba(123, 76, 190, .16);
467
+
468
+ text-decoration: none;
469
+
470
+ font-size: .85rem;
471
+ font-weight: 850;
472
+
473
  transition:
474
+ transform .2s ease,
475
+ filter .2s ease,
476
+ box-shadow .2s ease;
477
  }
478
 
479
+ .donofa-action:hover {
 
 
480
  transform: translateY(-2px);
481
+ filter: brightness(1.07);
482
+
483
+ box-shadow:
484
+ 0 12px 30px rgba(123, 76, 190, .25);
485
  }
486
 
487
+ .donofa-aside {
488
+ padding: 21px;
489
+
490
+ border: 1px solid rgba(190, 158, 255, .15);
491
+ border-radius: 16px;
492
+
493
+ background: rgba(6, 5, 11, .27);
494
  }
495
 
496
+ .currency-label {
497
  display: inline-flex;
498
+
 
 
 
 
499
  padding: 5px 10px;
500
+
501
+ border: 1px solid rgba(190, 158, 255, .23);
502
+ border-radius: 999px;
503
+
504
+ color: #e4d3ff;
505
+ background: rgba(149, 100, 216, .12);
506
+
507
+ font-size: .67rem;
508
  font-weight: 800;
509
+ letter-spacing: .1em;
510
  }
511
 
512
+ .donofa-aside p {
513
+ margin: 13px 0 0;
 
 
 
 
514
 
515
+ color: #c4b6d5;
516
+ font-size: .85rem;
517
+ line-height: 1.7;
 
 
 
 
 
518
  }
519
 
520
+ .donofa-aside strong {
521
+ color: var(--text);
 
 
 
 
 
 
 
 
522
  }
523
 
524
+ .international-note {
525
+ display: block;
 
 
 
 
 
 
 
 
 
 
526
 
527
+ margin-top: 11px;
 
 
 
 
 
 
 
 
 
528
 
529
+ color: #cbaeff;
530
+ font-size: .8rem;
531
+ font-weight: 650;
532
  }
533
 
 
 
 
 
534
 
535
+ /* =========================================================
536
+ 8. CRYPTOCURRENCY SECTION
537
+ ========================================================= */
538
 
539
+ .wallet-section {
540
+ margin-bottom: 40px;
541
  }
542
 
543
+ .wallet-grid {
544
+ display: grid;
545
+ grid-template-columns: repeat(2, minmax(0, 1fr));
546
+ gap: 16px;
 
547
  }
548
 
549
+ .wallet-card {
550
+ position: relative;
551
+ min-width: 0;
552
 
553
+ padding: 21px;
554
+
555
+ border: 1px solid rgba(190, 158, 255, .14);
556
+ border-radius: 17px;
557
+
558
+ background:
559
+ linear-gradient(
560
+ 150deg,
561
+ rgba(30, 23, 43, .94),
562
+ rgba(15, 12, 23, .98)
563
+ );
564
+
565
+ transition:
566
+ border-color .2s ease,
567
+ transform .2s ease,
568
+ background .2s ease;
569
+ }
570
+
571
+ .wallet-card:hover {
572
+ border-color: rgba(183, 138, 255, .32);
573
+
574
+ background:
575
+ linear-gradient(
576
+ 150deg,
577
+ rgba(37, 27, 54, .97),
578
+ rgba(17, 13, 27, .99)
579
+ );
580
+
581
+ transform: translateY(-2px);
582
+ }
583
+
584
+ .wallet-card.featured {
585
  grid-column: 1 / -1;
586
+ }
587
+
588
+ .wallet-head {
589
+ display: flex;
590
+ align-items: flex-start;
591
+ justify-content: space-between;
592
+ gap: 15px;
593
+
594
+ margin-bottom: 19px;
595
+ }
596
+
597
+ .wallet-title-wrap {
598
+ min-width: 0;
599
+ }
600
+
601
+ .wallet-kicker {
602
+ color: var(--purple);
603
+
604
+ font-size: .64rem;
605
+ font-weight: 800;
606
+ letter-spacing: .15em;
607
+ text-transform: uppercase;
608
+ }
609
+
610
+ .wallet-title {
611
+ margin: 5px 0 0;
612
+
613
+ color: var(--text);
614
+
615
+ font-size: 1.08rem;
616
+ font-weight: 800;
617
+ letter-spacing: -.025em;
618
+ }
619
+
620
+ .wallet-count {
621
+ flex: 0 0 auto;
622
+
623
+ padding: 5px 9px;
624
+
625
+ border: 1px solid rgba(190, 158, 255, .14);
626
+ border-radius: 999px;
627
+
628
+ color: var(--muted);
629
+ background: rgba(255, 255, 255, .025);
630
+
631
+ font-size: .66rem;
632
+ font-weight: 650;
633
+ white-space: nowrap;
634
+ }
635
+
636
+
637
+ /* Asset groups */
638
+
639
+ .asset-groups {
640
+ display: grid;
641
+ gap: 13px;
642
+ }
643
+
644
+ .asset-group {
645
+ min-width: 0;
646
+ padding: 13px;
647
+
648
+ border: 1px solid rgba(190, 158, 255, .10);
649
+ border-radius: 12px;
650
+
651
+ background: rgba(5, 4, 9, .27);
652
+ }
653
+
654
+ .asset-group-head {
655
+ display: flex;
656
+ align-items: center;
657
+ gap: 9px;
658
+
659
+ margin-bottom: 10px;
660
+ }
661
+
662
+ .asset-symbol {
663
+ display: inline-flex;
664
+ align-items: center;
665
+ justify-content: center;
666
+
667
+ min-height: 25px;
668
+ padding: 4px 9px;
669
+
670
+ border: 1px solid rgba(190, 158, 255, .23);
671
+ border-radius: 999px;
672
+
673
+ color: #e7d7ff;
674
+ background: rgba(145, 99, 214, .15);
675
+
676
+ font-size: .69rem;
677
+ font-weight: 850;
678
+ letter-spacing: .035em;
679
+ }
680
+
681
+ .asset-description {
682
+ color: var(--muted-2);
683
+ font-size: .74rem;
684
+ }
685
+
686
+ .network-list {
687
+ display: flex;
688
+ flex-wrap: wrap;
689
+ gap: 7px;
690
+ }
691
+
692
+ .network-chip {
693
+ display: inline-flex;
694
+ align-items: center;
695
+
696
+ min-height: 27px;
697
+ padding: 5px 9px;
698
+
699
+ border: 1px solid rgba(190, 158, 255, .11);
700
+ border-radius: 8px;
701
+
702
+ color: #cfc2df;
703
+ background: rgba(255, 255, 255, .035);
704
+
705
+ font-size: .72rem;
706
+ line-height: 1.35;
707
+ }
708
+
709
+ .asset-note {
710
+ margin: 10px 0 0;
711
+
712
+ color: #b9a9ca;
713
+ font-size: .73rem;
714
+ line-height: 1.65;
715
+ }
716
+
717
+
718
+ /* Receiving address */
719
+
720
+ .address-area {
721
+ margin-top: 17px;
722
+ }
723
+
724
+ .address-label {
725
+ display: block;
726
+
727
+ margin-bottom: 7px;
728
+
729
+ color: #bfb2d1;
730
+
731
+ font-size: .64rem;
732
+ font-weight: 800;
733
+ letter-spacing: .13em;
734
+ text-transform: uppercase;
735
+ }
736
+
737
+ .address-box {
738
+ display: flex;
739
+ align-items: center;
740
+ justify-content: space-between;
741
+ gap: 10px;
742
+
743
+ min-width: 0;
744
+ min-height: 47px;
745
+ padding: 7px 8px 7px 12px;
746
+
747
+ border: 1px solid rgba(190, 158, 255, .14);
748
+ border-radius: 10px;
749
+
750
+ background: rgba(4, 3, 8, .56);
751
+ }
752
+
753
+ .address-value {
754
+ display: block;
755
+
756
+ min-width: 0;
757
+ flex: 1;
758
+
759
+ overflow: hidden;
760
+ text-overflow: ellipsis;
761
+ white-space: nowrap;
762
+
763
+ color: #e9e0f8;
764
+
765
+ font-family:
766
+ "SFMono-Regular",
767
+ Consolas,
768
+ "Liberation Mono",
769
+ monospace;
770
+
771
+ font-size: .75rem;
772
+ font-weight: 500;
773
+ letter-spacing: -.035em;
774
+ }
775
+
776
+ .copy-button {
777
+ display: inline-flex;
778
+ align-items: center;
779
+ justify-content: center;
780
+ gap: 7px;
781
+
782
+ flex: 0 0 auto;
783
+
784
+ min-width: 72px;
785
+ min-height: 33px;
786
+ padding: 6px 9px;
787
+
788
+ border: 1px solid rgba(183, 138, 255, .22);
789
+ border-radius: 8px;
790
+
791
+ color: #e9d9ff;
792
+ background: rgba(167, 139, 250, .14);
793
+
794
+ font-size: .73rem;
795
+ font-weight: 750;
796
+
797
+ cursor: pointer;
798
+
799
+ transition:
800
+ background .18s ease,
801
+ border-color .18s ease;
802
+ }
803
+
804
+ .copy-button:hover {
805
+ border-color: rgba(183, 138, 255, .45);
806
+ background: rgba(167, 139, 250, .26);
807
+ }
808
+
809
+ .copy-button svg {
810
+ width: 14px;
811
+ height: 14px;
812
+ flex: 0 0 auto;
813
+ }
814
+
815
+
816
+ /* =========================================================
817
+ 9. IMPORTANT TRANSFER INFORMATION
818
+ ========================================================= */
819
+
820
+ .security-note {
821
+ display: flex;
822
+ align-items: flex-start;
823
+ gap: 12px;
824
+
825
+ margin-top: 19px;
826
+ padding: 16px 18px;
827
+
828
+ border: 1px solid rgba(232, 197, 139, .13);
829
+ border-radius: 13px;
830
+
831
+ background: rgba(232, 197, 139, .035);
832
+ }
833
+
834
+ .security-icon {
835
+ display: grid;
836
+ place-items: center;
837
+
838
+ width: 25px;
839
+ height: 25px;
840
+ flex: 0 0 auto;
841
+
842
+ border: 1px solid rgba(232, 197, 139, .23);
843
+ border-radius: 8px;
844
+
845
+ color: var(--warning);
846
+ font-size: .85rem;
847
+ font-weight: 850;
848
+ }
849
+
850
+ .security-note p {
851
+ margin: 0;
852
+
853
+ color: #c3b5a2;
854
+ font-size: .77rem;
855
+ line-height: 1.75;
856
+ }
857
+
858
+ .security-note strong {
859
+ color: #e9d9c0;
860
+ }
861
+
862
+
863
+ /* =========================================================
864
+ 10. PAYPAL
865
+ Hidden until a valid URL is configured.
866
+ ========================================================= */
867
+
868
+ .paypal-section {
869
+ margin-top: 30px;
870
+ }
871
+
872
+ .paypal-card {
873
  display: flex;
874
  align-items: center;
875
  justify-content: space-between;
876
  gap: 20px;
877
+
878
+ padding: 23px;
879
+ }
880
+
881
+ .paypal-title {
882
+ margin: 0;
883
+ font-size: 1.05rem;
884
+ font-weight: 800;
885
+ }
886
+
887
+ .paypal-description {
888
+ margin: 5px 0 0;
889
+
890
+ color: var(--muted);
891
+ font-size: .84rem;
892
+ }
893
+
894
+ .paypal-action {
895
+ display: inline-flex;
896
+ align-items: center;
897
+ justify-content: center;
898
+ gap: 8px;
899
+
900
+ min-height: 42px;
901
+ padding: 9px 15px;
902
+
903
+ border-radius: 10px;
904
+
905
+ color: #170f23;
906
+ background: linear-gradient(120deg, #d9c1ff, #ad82ef);
907
+
908
+ text-decoration: none;
909
+
910
+ font-size: .8rem;
911
+ font-weight: 850;
912
+
913
+ white-space: nowrap;
914
+ }
915
+
916
+
917
+ /* =========================================================
918
+ 11. FOOTER
919
+ ========================================================= */
920
+
921
+ .footer {
922
+ max-width: 680px;
923
+ margin: 65px auto 0;
924
+ padding-top: 24px;
925
+
926
+ border-top: 1px solid rgba(190, 158, 255, .10);
927
+
928
+ text-align: center;
929
+ }
930
+
931
+ .footer-message {
932
+ margin: 0;
933
+
934
+ color: #e3d6f3;
935
+
936
+ font-size: .98rem;
937
+ line-height: 1.8;
938
+ }
939
+
940
+ .footer-small {
941
+ margin: 12px 0 0;
942
+
943
+ color: var(--muted-2);
944
+ font-size: .75rem;
945
+ }
946
+
947
+ .footer-brand {
948
+ display: inline-block;
949
+ margin-top: 18px;
950
+
951
+ color: #b9a5d6;
952
+
953
+ font-size: .68rem;
954
+ font-weight: 750;
955
+ letter-spacing: .15em;
956
  }
957
 
 
 
 
958
 
959
+ /* =========================================================
960
+ 12. TOAST
961
+ ========================================================= */
962
+
963
+ .toast {
964
+ position: fixed;
965
+ left: 50%;
966
+ bottom: 25px;
967
+ z-index: 10;
968
+
969
+ max-width: calc(100% - 30px);
970
+ padding: 11px 17px;
971
+
972
+ border: 1px solid rgba(142, 230, 187, .25);
973
+ border-radius: 999px;
974
+
975
+ color: #e2fff0;
976
+ background: #182a25;
977
+
978
+ box-shadow: var(--shadow);
979
+
980
+ font-size: .82rem;
981
+ font-weight: 650;
982
+ text-align: center;
983
+
984
+ opacity: 0;
985
+ pointer-events: none;
986
+
987
+ transform: translate(-50%, 12px);
988
+
989
+ transition:
990
+ opacity .2s ease,
991
+ transform .2s ease;
992
+ }
993
+
994
+ .toast.visible {
995
+ opacity: 1;
996
+ transform: translate(-50%, 0);
997
+ }
998
+
999
+
1000
+ /* =========================================================
1001
+ 13. RESPONSIVE LAYOUT
1002
+ ========================================================= */
1003
+
1004
+ @media (max-width: 760px) {
1005
+ .page {
1006
+ width: min(calc(100% - 28px), 580px);
1007
+ padding-top: 22px;
1008
+ }
1009
+
1010
+ .topbar {
1011
+ margin-bottom: 58px;
1012
+ }
1013
+
1014
+ .hero {
1015
+ margin-bottom: 39px;
1016
+ }
1017
+
1018
+ .donofa-card {
1019
+ grid-template-columns: 1fr;
1020
+ gap: 22px;
1021
+
1022
+ padding: 23px;
1023
+
1024
+ margin-bottom: 43px;
1025
+ }
1026
+
1027
+ .donofa-aside {
1028
+ padding: 17px;
1029
+ }
1030
+
1031
+ .wallet-grid {
1032
+ grid-template-columns: 1fr;
1033
+ }
1034
+
1035
+ .wallet-card.featured {
1036
+ grid-column: auto;
1037
+ }
1038
+
1039
+ .section-heading {
1040
+ align-items: flex-start;
1041
+ }
1042
+
1043
+ .paypal-card {
1044
+ align-items: flex-start;
1045
+ flex-direction: column;
1046
+ }
1047
+
1048
+ .paypal-action {
1049
+ width: 100%;
1050
+ }
1051
+
1052
+ .footer {
1053
+ margin-top: 46px;
1054
+ }
1055
+ }
1056
+
1057
+ @media (max-width: 420px) {
1058
+ .top-label {
1059
+ padding: 6px 9px;
1060
+ font-size: .61rem;
1061
+ }
1062
+
1063
+ .brand {
1064
+ gap: 8px;
1065
+ font-size: .84rem;
1066
+ }
1067
+
1068
+ .brand-mark {
1069
+ width: 32px;
1070
+ height: 32px;
1071
+ }
1072
+
1073
+ .wallet-card {
1074
+ padding: 16px;
1075
+ }
1076
+
1077
+ .wallet-count {
1078
+ font-size: .61rem;
1079
+ }
1080
+
1081
+ .address-value {
1082
+ font-size: .69rem;
1083
+ }
1084
+
1085
+ .copy-button {
1086
+ min-width: 36px;
1087
+ padding: 6px 8px;
1088
+ }
1089
+
1090
+ .copy-button .copy-text {
1091
+ display: none;
1092
+ }
1093
+
1094
+ .section-index {
1095
+ display: none;
1096
+ }
1097
+ }
1098
+
1099
+ @media (prefers-reduced-motion: reduce) {
1100
+ *,
1101
+ *::before,
1102
+ *::after {
1103
+ scroll-behavior: auto !important;
1104
+ transition: none !important;
1105
+ animation: none !important;
1106
+ }
1107
+ }
1108
+ </style>
1109
+ </head>
1110
+
1111
+ <body>
1112
+ <div class="page">
1113
+
1114
+ <!-- =======================================================
1115
+ HEADER
1116
+ ======================================================= -->
1117
+
1118
+ <header class="topbar">
1119
+
1120
+ <a
1121
+ class="brand"
1122
+ href="https://huggingface.co/Peymandc"
1123
+ target="_blank"
1124
+ rel="noopener noreferrer"
1125
+ aria-label="Peymandc on Hugging Face"
1126
+ >
1127
+ <span class="brand-mark" aria-hidden="true">P</span>
1128
+ <span>PEYMANDC</span>
1129
+ </a>
1130
+
1131
+ <span class="top-label">
1132
+ INDEPENDENT AI PROJECT
1133
+ </span>
1134
+
1135
+ </header>
1136
+
1137
+
1138
+ <main>
1139
+
1140
+ <!-- =====================================================
1141
+ HERO
1142
+ ===================================================== -->
1143
+
1144
+ <section class="hero" aria-labelledby="page-title">
1145
+
1146
+ <div class="eyebrow">
1147
+ Independent AI exploration
1148
+ </div>
1149
+
1150
+ <h1 id="page-title">
1151
+ <span>Support the work.</span>
1152
+ <span>Keep exploring.</span>
1153
+ </h1>
1154
+
1155
+ <p class="hero-description">
1156
+ Independent AI research takes time, curiosity, and resources.
1157
+ Your support helps make room for open-weight model experiments,
1158
+ careful testing, model modifications, and new releases shared
1159
+ with the community.
1160
+ </p>
1161
+
1162
+ <p class="hero-footnote">
1163
+ Every contribution, kind message, and bit of feedback
1164
+ genuinely means a lot. <span class="heart">♥</span>
1165
+ </p>
1166
+
1167
+ </section>
1168
+
1169
+
1170
+ <!-- =====================================================
1171
+ DONOFA
1172
+ Specifically for Iranian Toman contributions.
1173
+ ===================================================== -->
1174
+
1175
+ <section
1176
+ class="card donofa-card"
1177
+ id="donofa-card"
1178
+ aria-labelledby="donofa-title"
1179
+ >
1180
+
1181
+ <div class="card-content donofa-main">
1182
+
1183
+ <span class="donofa-kicker">
1184
+ Local contributions
1185
+ </span>
1186
+
1187
+ <h2 id="donofa-title">
1188
+ Donofa
1189
+ </h2>
1190
+
1191
+ <p class="donofa-description">
1192
+ Donofa is primarily intended for supporters who would
1193
+ like to contribute in Iranian Toman. It is a convenient
1194
+ local payment option rather than a general international
1195
+ foreign-currency payment gateway.
1196
+ </p>
1197
+
1198
+ <a
1199
+ class="donofa-action"
1200
+ href="https://donofa.ir/peymandc"
1201
+ target="_blank"
1202
+ rel="noopener noreferrer"
1203
+ >
1204
+ Contribute through Donofa
1205
+ <span aria-hidden="true">↗</span>
1206
+ </a>
1207
+
1208
+ </div>
1209
+
1210
+ <aside class="card-content donofa-aside">
1211
+
1212
+ <span class="currency-label">
1213
+ IRANIAN TOMAN
1214
+ </span>
1215
+
1216
+ <p>
1217
+ <strong>Best suited for:</strong>
1218
+ supporters making local contributions in Toman.
1219
+ </p>
1220
+
1221
+ <span class="international-note">
1222
+ Outside Iran? Cryptocurrency options are listed below.
1223
+ </span>
1224
+
1225
+ </aside>
1226
+
1227
+ </section>
1228
+
1229
+
1230
+ <!-- =====================================================
1231
+ CRYPTOCURRENCY
1232
+ Wallets are automatically grouped by receiving address.
1233
+ ===================================================== -->
1234
+
1235
+ <section
1236
+ class="wallet-section"
1237
+ id="crypto-section"
1238
+ aria-labelledby="crypto-title"
1239
+ >
1240
+
1241
+ <div class="section-heading">
1242
+
1243
+ <div>
1244
+ <div class="eyebrow">
1245
+ International support
1246
+ </div>
1247
+
1248
+ <h2 id="crypto-title">
1249
+ Cryptocurrency
1250
+ </h2>
1251
+
1252
+ <p class="section-description">
1253
+ Choose an asset and its corresponding network.
1254
+ Wallets sharing the same receiving address are
1255
+ grouped together to keep everything simple.
1256
+ </p>
1257
+ </div>
1258
+
1259
+ <span class="section-index">
1260
+ 02 / PAYMENT METHODS
1261
+ </span>
1262
+
1263
+ </div>
1264
+
1265
+
1266
+ <div
1267
+ class="wallet-grid"
1268
+ id="wallet-grid"
1269
+ aria-live="polite"
1270
+ >
1271
+ <!-- Wallet cards are generated from SUPPORT_CONFIG. -->
1272
+ </div>
1273
+
1274
+
1275
+ <div class="security-note">
1276
+
1277
+ <span class="security-icon" aria-hidden="true">!</span>
1278
+
1279
+ <p>
1280
+ <strong>Please double-check before sending.</strong>
1281
+ Cryptocurrency transfers are generally irreversible.
1282
+ Always choose the exact asset and network shown for the
1283
+ receiving address. An identical-looking address does not
1284
+ guarantee compatibility between networks. Confirm that
1285
+ your wallet or exchange supports the specific deposit
1286
+ route, and consider sending a small test amount first.
1287
+ Issuer, service-provider, and legal restrictions may
1288
+ still apply regardless of the network used.
1289
+ </p>
1290
+
1291
+ </div>
1292
+
1293
+ </section>
1294
+
1295
+
1296
+ <!-- =====================================================
1297
+ PAYPAL
1298
+ Only visible when a valid URL is configured.
1299
+ ===================================================== -->
1300
+
1301
+ <section
1302
+ class="paypal-section hidden"
1303
+ id="paypal-card"
1304
+ aria-labelledby="paypal-title"
1305
+ >
1306
+
1307
+ <article class="card paypal-card">
1308
+
1309
+ <div>
1310
+ <h2 class="paypal-title" id="paypal-title">
1311
+ PayPal
1312
+ </h2>
1313
+
1314
+ <p class="paypal-description">
1315
+ Another way to support the project, where available.
1316
+ </p>
1317
+ </div>
1318
+
1319
+ <a
1320
+ class="paypal-action"
1321
+ id="paypal-link"
1322
+ href="#"
1323
+ target="_blank"
1324
+ rel="noopener noreferrer"
1325
+ >
1326
+ Continue to PayPal
1327
+ <span aria-hidden="true">↗</span>
1328
+ </a>
1329
+
1330
+ </article>
1331
+
1332
+ </section>
1333
+
1334
+ </main>
1335
+
1336
+
1337
+ <!-- =======================================================
1338
+ FOOTER
1339
+ ======================================================= -->
1340
+
1341
+ <footer class="footer">
1342
+
1343
+ <p class="footer-message">
1344
+ Thank you for being part of this little journey.
1345
+ Whether you contribute, test a model, share feedback,
1346
+ or simply follow the work, your support is appreciated
1347
+ more than you know. <span class="heart">♥</span>
1348
+ </p>
1349
+
1350
+ <p class="footer-small">
1351
+ Independent exploration. Open experimentation.
1352
+ Shared with the community.
1353
+ </p>
1354
+
1355
+ <span class="footer-brand">
1356
+ PEYMANDC
1357
+ </span>
1358
+
1359
+ </footer>
1360
+
1361
+ </div>
1362
+
1363
+
1364
+ <!-- Clipboard feedback -->
1365
+
1366
+ <div
1367
+ class="toast"
1368
+ id="toast"
1369
+ role="status"
1370
+ aria-live="polite"
1371
+ aria-atomic="true"
1372
+ >
1373
+ Address copied
1374
+ </div>
1375
+
1376
+
1377
+ <script>
1378
+ "use strict";
1379
+
1380
+
1381
+ /* ==========================================================
1382
+ 1. PAYMENT CONFIGURATION
1383
+
1384
+ Add or disable payment routes here.
1385
+
1386
+ The renderer automatically groups routes that share
1387
+ the same receiving address.
1388
+
1389
+ Important:
1390
+ - Only public receiving addresses belong here.
1391
+ - Never add private keys or seed phrases.
1392
+ - Keep each asset and its networks explicit.
1393
+ ========================================================== */
1394
+
1395
+ const SUPPORT_CONFIG = {
1396
+
1397
+ paymentRoutes: [
1398
+
1399
+ /* ------------------------------------------------------
1400
+ BITCOIN
1401
+ ------------------------------------------------------ */
1402
+
1403
+ {
1404
+ enabled: true,
1405
+ walletLabel: "Bitcoin wallet",
1406
+ asset: "BTC",
1407
+ networks: [
1408
+ "Bitcoin Mainnet"
1409
+ ],
1410
+ address: "bc1qqw8u6jpj5p48ra0xzjfat3ysnfx5yhgg2ke6jd"
1411
+ },
1412
+
1413
+
1414
+ /* ------------------------------------------------------
1415
+ EVM ADDRESS
1416
+
1417
+ All these assets and networks share one 0x address.
1418
+ They will automatically appear in a single wallet card.
1419
+ ------------------------------------------------------ */
1420
+
1421
+ {
1422
+ enabled: true,
1423
+ walletLabel: "EVM-compatible wallet",
1424
+ asset: "ETH",
1425
+ networks: [
1426
+ "Arbitrum (ARB20)",
1427
+ "Base",
1428
+ "Ethereum (ERC-20)",
1429
+ "Linea",
1430
+ "Optimism",
1431
+ "zkSync Era"
1432
+ ],
1433
+ address: "0xc2f37116a71CdA714EDB721489a6B7f5Df9AF371"
1434
+ },
1435
+
1436
+ {
1437
+ enabled: true,
1438
+ walletLabel: "EVM-compatible wallet",
1439
+ asset: "BNB",
1440
+ networks: [
1441
+ "BNB Smart Chain (BEP20)"
1442
+ ],
1443
+ address: "0xc2f37116a71CdA714EDB721489a6B7f5Df9AF371"
1444
+ },
1445
+
1446
+ {
1447
+ enabled: true,
1448
+ walletLabel: "EVM-compatible wallet",
1449
+ asset: "USDT",
1450
+ networks: [
1451
+ "Avalanche C-Chain",
1452
+ "Celo",
1453
+ "BNB Smart Chain (BEP20)"
1454
+ ],
1455
+ address: "0xc2f37116a71CdA714EDB721489a6B7f5Df9AF371",
1456
+ notes: [
1457
+ "For BNB Smart Chain, verify the exact USDT token and contract supported by your wallet before receiving."
1458
+ ]
1459
+ },
1460
+
1461
+ {
1462
+ enabled: true,
1463
+ walletLabel: "EVM-compatible wallet",
1464
+ asset: "USDC",
1465
+ networks: [
1466
+ "Ethereum (ERC-20)"
1467
+ ],
1468
+ address: "0xc2f37116a71CdA714EDB721489a6B7f5Df9AF371"
1469
+ },
1470
+
1471
+
1472
+ /* ------------------------------------------------------
1473
+ SOLANA ADDRESS
1474
+
1475
+ SOL, USDT and USDC share one receiving address.
1476
+ ------------------------------------------------------ */
1477
+
1478
+ {
1479
+ enabled: true,
1480
+ walletLabel: "Solana wallet",
1481
+ asset: "SOL",
1482
+ networks: [
1483
+ "Solana"
1484
+ ],
1485
+ address: "DCvMpk9uuwcwjimk6K9dRY5zoVjGbtSqPAKY84gfyPR3"
1486
+ },
1487
+
1488
+ {
1489
+ enabled: true,
1490
+ walletLabel: "Solana wallet",
1491
+ asset: "USDT",
1492
+ networks: [
1493
+ "Solana (SPL)"
1494
+ ],
1495
+ address: "DCvMpk9uuwcwjimk6K9dRY5zoVjGbtSqPAKY84gfyPR3"
1496
+ },
1497
+
1498
+ {
1499
+ enabled: true,
1500
+ walletLabel: "Solana wallet",
1501
+ asset: "USDC",
1502
+ networks: [
1503
+ "Solana (SPL)"
1504
+ ],
1505
+ address: "DCvMpk9uuwcwjimk6K9dRY5zoVjGbtSqPAKY84gfyPR3"
1506
+ },
1507
+
1508
+
1509
+ /* ------------------------------------------------------
1510
+ TON ADDRESS
1511
+
1512
+ USDT and GRAM share one receiving address.
1513
+ ------------------------------------------------------ */
1514
+
1515
+ {
1516
+ enabled: true,
1517
+ walletLabel: "TON wallet",
1518
+ asset: "USDT",
1519
+ networks: [
1520
+ "TON Network (Jetton)"
1521
+ ],
1522
+ address: "UQAi-sEJNF5d_1aU0nbrhzWgEVQZ_zbrwRb601GpOHoQ1vYc"
1523
+ },
1524
+
1525
+ {
1526
+ enabled: true,
1527
+ walletLabel: "TON wallet",
1528
+ asset: "GRAM (ex-TON)",
1529
+ networks: [
1530
+ "TON Network"
1531
+ ],
1532
+ address: "UQAi-sEJNF5d_1aU0nbrhzWgEVQZ_zbrwRb601GpOHoQ1vYc"
1533
+ },
1534
+
1535
+
1536
+ /* ------------------------------------------------------
1537
+ TRON
1538
+
1539
+ USDT on TRON has been removed.
1540
+ TRX remains enabled.
1541
+ ------------------------------------------------------ */
1542
+
1543
+ {
1544
+ enabled: true,
1545
+ walletLabel: "TRON wallet",
1546
+ asset: "TRX",
1547
+ networks: [
1548
+ "TRON (TRC-20)"
1549
+ ],
1550
+ address: "TERSq3ShDG8vvPb9tzooFSBrjm8iFXaghX"
1551
+ },
1552
+
1553
+
1554
+ /* ------------------------------------------------------
1555
+ DOGECOIN
1556
+
1557
+ This address is in native Dogecoin address format.
1558
+ It is labelled Dogecoin Mainnet, not Dogechain EVM.
1559
+ ------------------------------------------------------ */
1560
+
1561
+ {
1562
+ enabled: true,
1563
+ walletLabel: "Dogecoin wallet",
1564
+ asset: "DOGE",
1565
+ networks: [
1566
+ "Dogecoin Mainnet"
1567
+ ],
1568
+ address: "DLXHX7QH9ackarfm9afjdM5UuwXF8wqBc"
1569
+ }
1570
+
1571
+ ],
1572
+
1573
+
1574
+ /* --------------------------------------------------------
1575
+ PAYPAL
1576
+
1577
+ Keep empty until your account and payment link are ready.
1578
+ The PayPal section stays hidden when empty or invalid.
1579
+ -------------------------------------------------------- */
1580
+
1581
+ paypalUrl: ""
1582
+
1583
+ };
1584
+
1585
+
1586
+ /* ==========================================================
1587
+ 2. GENERAL HELPERS
1588
+ ========================================================== */
1589
+
1590
+ const $ = (id) => document.getElementById(id);
1591
+
1592
+ const SVG_NS = "http://www.w3.org/2000/svg";
1593
+
1594
+
1595
+ function isPlaceholder(value) {
1596
+ const text = String(value ?? "").trim();
1597
+
1598
+ return (
1599
+ !text ||
1600
+ /^(?:ADD(?:[_ -]|$)|YOUR(?:[_ -]|$)|PLACEHOLDER(?:[_ -]|$)|0{4})/i.test(text)
1601
+ );
1602
+ }
1603
+
1604
+
1605
+ function createElement(tag, className, text) {
1606
+ const element = document.createElement(tag);
1607
+
1608
+ if (className) {
1609
+ element.className = className;
1610
+ }
1611
+
1612
+ if (text !== undefined && text !== null) {
1613
+ element.textContent = String(text);
1614
+ }
1615
+
1616
+ return element;
1617
+ }
1618
+
1619
+
1620
+ function uniqueStrings(values) {
1621
+ const result = [];
1622
+ const seen = new Set();
1623
+
1624
+ for (const value of values) {
1625
+ if (typeof value !== "string") continue;
1626
+
1627
+ const text = value.trim();
1628
+
1629
+ if (!text || isPlaceholder(text)) continue;
1630
+
1631
+ const key = text.toLowerCase();
1632
+
1633
+ if (seen.has(key)) continue;
1634
+
1635
+ seen.add(key);
1636
+ result.push(text);
1637
+ }
1638
+
1639
+ return result;
1640
+ }
1641
+
1642
+
1643
+ function shortenAddress(address) {
1644
+ const value = String(address);
1645
+
1646
+ if (value.length <= 23) {
1647
+ return value;
1648
+ }
1649
+
1650
+ return (
1651
+ value.slice(0, 11) +
1652
+ "…" +
1653
+ value.slice(-9)
1654
+ );
1655
+ }
1656
+
1657
+
1658
+ /*
1659
+ EVM addresses are case-insensitive for identity purposes.
1660
+ Other address formats are kept exact because case can matter.
1661
+
1662
+ This allows differently-cased versions of the same EVM
1663
+ address to be grouped without merging unrelated Base58
1664
+ addresses.
1665
+ */
1666
+
1667
+ function getAddressKey(address) {
1668
+ const value = String(address).trim();
1669
+
1670
+ if (/^0x[a-f0-9]{40}$/i.test(value)) {
1671
+ return "evm:" + value.toLowerCase();
1672
+ }
1673
+
1674
+ return "exact:" + value;
1675
+ }
1676
+
1677
+
1678
+ /* ==========================================================
1679
+ 3. VALIDATE AND NORMALIZE PAYMENT ROUTES
1680
+ ========================================================== */
1681
+
1682
+ function normalizePaymentRoutes() {
1683
+ const configured = Array.isArray(
1684
+ SUPPORT_CONFIG.paymentRoutes
1685
+ )
1686
+ ? SUPPORT_CONFIG.paymentRoutes
1687
+ : [];
1688
+
1689
+ const validRoutes = [];
1690
+
1691
+ configured.forEach((route, index) => {
1692
+ if (!route || typeof route !== "object") {
1693
+ console.warn(
1694
+ "Skipped invalid payment route at index:",
1695
+ index
1696
+ );
1697
+
1698
+ return;
1699
+ }
1700
+
1701
+ if (route.enabled === false) {
1702
+ return;
1703
+ }
1704
+
1705
+ const address =
1706
+ typeof route.address === "string"
1707
+ ? route.address.trim()
1708
+ : "";
1709
+
1710
+ const asset =
1711
+ typeof route.asset === "string"
1712
+ ? route.asset.trim()
1713
+ : "";
1714
+
1715
+ const networks = uniqueStrings(
1716
+ Array.isArray(route.networks)
1717
+ ? route.networks
1718
+ : []
1719
+ );
1720
+
1721
+ if (
1722
+ isPlaceholder(address) ||
1723
+ !asset ||
1724
+ !networks.length
1725
+ ) {
1726
+ console.warn(
1727
+ "Skipped incomplete payment route:",
1728
+ route
1729
+ );
1730
 
1731
+ return;
1732
+ }
 
1733
 
1734
+ const walletLabel =
1735
+ typeof route.walletLabel === "string" &&
1736
+ route.walletLabel.trim()
1737
+ ? route.walletLabel.trim()
1738
+ : "Cryptocurrency wallet";
1739
 
1740
+ const notes = uniqueStrings(
1741
+ Array.isArray(route.notes)
1742
+ ? route.notes
1743
+ : []
1744
+ );
1745
 
1746
+ validRoutes.push({
1747
+ address,
1748
+ asset,
1749
+ networks,
1750
+ walletLabel,
1751
+ notes
1752
+ });
1753
+ });
1754
 
1755
+ return validRoutes;
 
 
1756
  }
1757
 
 
 
 
 
 
1758
 
1759
+ /* ==========================================================
1760
+ 4. AUTOMATIC ADDRESS GROUPING
1761
+ ========================================================== */
1762
 
1763
+ function groupPaymentRoutes(routes) {
1764
+ const walletMap = new Map();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1765
 
1766
+ routes.forEach(route => {
1767
+ const addressKey = getAddressKey(route.address);
 
 
1768
 
1769
+ let wallet = walletMap.get(addressKey);
1770
 
1771
+ if (!wallet) {
1772
+ wallet = {
1773
+ key: addressKey,
1774
+ label: route.walletLabel,
1775
+ address: route.address,
1776
+ assets: [],
1777
+ assetMap: new Map()
1778
+ };
1779
 
1780
+ walletMap.set(addressKey, wallet);
1781
+ }
 
 
 
1782
 
1783
+ const assetKey = route.asset.toUpperCase();
 
 
 
 
1784
 
1785
+ let assetGroup = wallet.assetMap.get(assetKey);
1786
 
1787
+ if (!assetGroup) {
1788
+ assetGroup = {
1789
+ symbol: route.asset,
1790
+ networks: [],
1791
+ networkSet: new Set(),
1792
+ notes: []
1793
+ };
1794
 
1795
+ wallet.assetMap.set(assetKey, assetGroup);
1796
+ wallet.assets.push(assetGroup);
1797
+ }
 
1798
 
1799
+ route.networks.forEach(network => {
1800
+ const networkKey = network.toLowerCase();
 
 
1801
 
1802
+ if (!assetGroup.networkSet.has(networkKey)) {
1803
+ assetGroup.networkSet.add(networkKey);
1804
+ assetGroup.networks.push(network);
1805
+ }
1806
+ });
1807
 
1808
+ assetGroup.notes.push(...route.notes);
1809
+ });
1810
 
 
 
1811
 
1812
+ return Array.from(walletMap.values()).map(wallet => ({
1813
+ label: wallet.label,
1814
+ address: wallet.address,
 
 
1815
 
1816
+ assets: wallet.assets.map(asset => ({
1817
+ symbol: asset.symbol,
1818
+ networks: asset.networks,
1819
+ notes: uniqueStrings(asset.notes)
1820
+ }))
1821
+ }));
 
1822
  }
 
 
1823
 
 
 
1824
 
1825
+ /* ==========================================================
1826
+ 5. SVG COPY ICON
1827
+ ========================================================== */
 
 
 
 
 
 
 
 
1828
 
1829
+ function createCopyIcon() {
1830
+ const svg = document.createElementNS(
1831
+ SVG_NS,
1832
+ "svg"
1833
+ );
1834
 
1835
+ svg.setAttribute("viewBox", "0 0 24 24");
1836
+ svg.setAttribute("fill", "none");
1837
+ svg.setAttribute("stroke", "currentColor");
1838
+ svg.setAttribute("stroke-width", "1.8");
1839
+ svg.setAttribute("stroke-linecap", "round");
1840
+ svg.setAttribute("stroke-linejoin", "round");
1841
+ svg.setAttribute("aria-hidden", "true");
1842
+
1843
+ const back = document.createElementNS(
1844
+ SVG_NS,
1845
+ "rect"
1846
+ );
1847
 
1848
+ back.setAttribute("x", "8");
1849
+ back.setAttribute("y", "8");
1850
+ back.setAttribute("width", "13");
1851
+ back.setAttribute("height", "13");
1852
+ back.setAttribute("rx", "2");
1853
 
1854
+ const front = document.createElementNS(
1855
+ SVG_NS,
1856
+ "path"
1857
+ );
1858
 
1859
+ front.setAttribute(
1860
+ "d",
1861
+ "M16 8V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h3"
1862
+ );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1863
 
1864
+ svg.append(back, front);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1865
 
1866
+ return svg;
1867
+ }
 
 
 
 
 
1868
 
 
1869
 
1870
+ /* ==========================================================
1871
+ 6. CLIPBOARD
1872
+ Modern clipboard API + legacy fallback.
1873
+ ========================================================== */
 
 
1874
 
1875
+ function fallbackCopy(text) {
1876
+ const field = document.createElement("textarea");
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1877
 
1878
+ field.value = String(text);
1879
+ field.setAttribute("readonly", "");
 
 
 
 
 
1880
 
1881
+ field.style.position = "fixed";
1882
+ field.style.left = "-9999px";
1883
+ field.style.top = "0";
1884
+ field.style.opacity = "0";
 
 
 
 
 
 
 
 
 
1885
 
1886
+ document.body.appendChild(field);
1887
 
1888
+ field.focus();
1889
+ field.select();
1890
+ field.setSelectionRange(0, field.value.length);
 
 
1891
 
1892
+ let successful = false;
 
 
 
1893
 
1894
+ try {
1895
+ successful = document.execCommand("copy");
1896
+ } catch (_) {
1897
+ successful = false;
1898
+ }
1899
 
1900
+ field.remove();
 
 
1901
 
1902
+ return successful;
1903
+ }
 
1904
 
 
 
 
1905
 
1906
+ let toastTimer = null;
 
 
 
 
 
 
 
 
1907
 
 
 
 
 
 
 
 
 
1908
 
1909
+ function showToast(message) {
1910
+ const toast = $("toast");
1911
 
1912
+ if (!toast) return;
 
 
 
 
 
 
1913
 
1914
+ toast.textContent = message;
1915
+ toast.classList.add("visible");
 
 
 
 
 
1916
 
1917
+ if (toastTimer !== null) {
1918
+ clearTimeout(toastTimer);
1919
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1920
 
1921
+ toastTimer = setTimeout(() => {
1922
+ toast.classList.remove("visible");
1923
+ toastTimer = null;
1924
+ }, 1900);
1925
+ }
 
 
1926
 
 
 
 
 
 
 
 
1927
 
1928
+ async function copyText(value) {
1929
+ const text = String(value);
1930
+
1931
+ try {
1932
+ if (
1933
+ navigator.clipboard &&
1934
+ typeof navigator.clipboard.writeText === "function"
1935
+ ) {
1936
+ await navigator.clipboard.writeText(text);
1937
+
1938
+ } else if (!fallbackCopy(text)) {
1939
+ throw new Error("Clipboard unavailable");
1940
  }
 
1941
 
1942
+ showToast("Address copied successfully");
 
 
 
1943
 
1944
+ } catch (_) {
1945
+ try {
1946
+ if (fallbackCopy(text)) {
1947
+ showToast("Address copied successfully");
1948
+ } else {
1949
+ showToast("Copy failed. Please copy the address manually.");
1950
+ }
1951
+
1952
+ } catch (_) {
1953
+ showToast("Copy failed. Please copy the address manually.");
1954
+ }
1955
+ }
1956
+ }
1957
 
 
 
 
1958
 
1959
+ /* ==========================================================
1960
+ 7. RENDER ASSET GROUPS
1961
+ ========================================================== */
1962
 
1963
+ function createAssetGroup(asset) {
1964
+ const wrapper = createElement(
1965
+ "div",
1966
+ "asset-group"
1967
+ );
1968
 
1969
+ const header = createElement(
1970
+ "div",
1971
+ "asset-group-head"
1972
+ );
1973
 
1974
+ const symbol = createElement(
1975
+ "span",
1976
+ "asset-symbol",
1977
+ asset.symbol
1978
+ );
1979
 
1980
+ header.appendChild(symbol);
 
 
1981
 
1982
+ const description = createElement(
1983
+ "span",
1984
+ "asset-description",
1985
+ asset.networks.length === 1
1986
+ ? "Supported network"
1987
+ : `${asset.networks.length} supported networks`
1988
+ );
1989
 
1990
+ header.appendChild(description);
1991
 
 
 
1992
 
1993
+ const networkList = createElement(
1994
+ "div",
1995
+ "network-list"
1996
+ );
1997
 
1998
+ asset.networks.forEach(network => {
1999
+ const chip = createElement(
2000
+ "span",
2001
+ "network-chip",
2002
+ network
2003
+ );
2004
 
2005
+ networkList.appendChild(chip);
2006
+ });
 
 
2007
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2008
 
2009
+ wrapper.append(header, networkList);
 
 
2010
 
2011
+
2012
+ if (asset.notes.length) {
2013
+ asset.notes.forEach(note => {
2014
+ const noteElement = createElement(
2015
+ "p",
2016
+ "asset-note",
2017
+ note
2018
+ );
2019
+
2020
+ wrapper.appendChild(noteElement);
2021
+ });
2022
+ }
2023
+
2024
+ return wrapper;
2025
  }
2026
 
2027
 
2028
+ /* ==========================================================
2029
+ 8. RENDER WALLET CARDS
2030
+ ========================================================== */
2031
+
2032
+ function createWalletCard(wallet) {
2033
+ const card = createElement(
2034
+ "article",
2035
+ "wallet-card"
2036
  );
2037
 
2038
+ const totalNetworks = wallet.assets.reduce(
2039
+ (total, asset) => total + asset.networks.length,
2040
+ 0
2041
+ );
2042
 
2043
+ const assetCount = wallet.assets.length;
2044
 
2045
+ /*
2046
+ Larger cards get a full row.
2047
+ This is particularly useful for the EVM wallet,
2048
+ which contains several assets and networks.
2049
+ */
2050
+
2051
+ if (
2052
+ assetCount >= 4 ||
2053
+ totalNetworks >= 8
2054
+ ) {
2055
+ card.classList.add("featured");
2056
  }
2057
 
 
2058
 
2059
+ /* Wallet heading */
2060
+
2061
+ const head = createElement(
2062
+ "div",
2063
+ "wallet-head"
2064
+ );
2065
 
2066
+ const titleWrap = createElement(
2067
+ "div",
2068
+ "wallet-title-wrap"
2069
+ );
2070
 
2071
+ const kicker = createElement(
2072
+ "div",
2073
+ "wallet-kicker",
2074
+ assetCount > 1
2075
+ ? "Shared receiving address"
2076
+ : "Receiving wallet"
2077
+ );
2078
 
2079
+ const title = createElement(
2080
+ "h3",
2081
+ "wallet-title",
2082
+ wallet.label
2083
+ );
2084
 
2085
+ titleWrap.append(kicker, title);
 
 
2086
 
 
2087
 
2088
+ const count = createElement(
2089
+ "span",
2090
+ "wallet-count",
2091
+ `${assetCount} ${assetCount === 1 ? "asset" : "assets"} · ${totalNetworks} ${totalNetworks === 1 ? "network" : "networks"}`
2092
+ );
2093
 
2094
+ head.append(titleWrap, count);
 
 
2095
 
 
2096
 
2097
+ /* Asset and network groups */
 
2098
 
2099
+ const assetGroups = createElement(
2100
+ "div",
2101
+ "asset-groups"
2102
+ );
 
2103
 
2104
+ wallet.assets.forEach(asset => {
2105
+ assetGroups.appendChild(
2106
+ createAssetGroup(asset)
2107
  );
2108
+ });
2109
 
 
2110
 
2111
+ /* Address */
2112
 
2113
+ const addressArea = createElement(
2114
+ "div",
2115
+ "address-area"
2116
+ );
2117
 
2118
+ const label = createElement(
2119
+ "span",
2120
+ "address-label",
2121
+ "Receiving address"
2122
+ );
2123
 
 
 
 
2124
 
2125
+ const addressBox = createElement(
2126
+ "div",
2127
+ "address-box"
2128
+ );
2129
 
2130
+ const addressValue = createElement(
2131
+ "span",
2132
+ "address-value",
2133
+ shortenAddress(wallet.address)
2134
+ );
2135
 
2136
+ addressValue.dir = "ltr";
2137
+ addressValue.title = wallet.address;
2138
+ addressValue.setAttribute(
2139
+ "aria-label",
2140
+ "Full receiving address: " + wallet.address
2141
+ );
2142
 
 
 
 
 
2143
 
2144
+ const copyButton = createElement(
2145
+ "button",
2146
+ "copy-button"
2147
+ );
2148
+
2149
+ copyButton.type = "button";
2150
+ copyButton.setAttribute(
2151
+ "aria-label",
2152
+ "Copy full receiving address for " + wallet.label
2153
+ );
2154
+
2155
+ copyButton.title = "Copy full address";
2156
+
2157
+ const icon = createCopyIcon();
2158
+
2159
+ const copyTextLabel = createElement(
2160
+ "span",
2161
+ "copy-text",
2162
+ "Copy"
2163
+ );
2164
+
2165
+ copyButton.append(icon, copyTextLabel);
2166
+
2167
+ copyButton.addEventListener("click", () => {
2168
+ copyText(wallet.address);
2169
  });
2170
+
2171
+
2172
+ addressBox.append(addressValue, copyButton);
2173
+ addressArea.append(label, addressBox);
2174
+
2175
+ card.append(head, assetGroups, addressArea);
2176
+
2177
+ return card;
2178
  }
2179
 
2180
 
2181
+ /* ==========================================================
2182
+ 9. BUILD THE CRYPTO SECTION
2183
+ ========================================================== */
2184
 
2185
+ function configureWallets() {
2186
+ const section = $("crypto-section");
2187
+ const grid = $("wallet-grid");
2188
 
2189
+ if (!section || !grid) return;
2190
+
2191
+ grid.replaceChildren();
2192
+
2193
+ const routes = normalizePaymentRoutes();
2194
+ const wallets = groupPaymentRoutes(routes);
2195
+
2196
+ if (!wallets.length) {
2197
+ section.classList.add("hidden");
2198
+ return;
2199
+ }
2200
+
2201
+ section.classList.remove("hidden");
2202
+
2203
+ wallets.forEach(wallet => {
2204
+ grid.appendChild(
2205
+ createWalletCard(wallet)
2206
+ );
2207
+ });
2208
+ }
2209
+
2210
+
2211
+ /* ==========================================================
2212
+ 10. PAYPAL URL VALIDATION
2213
+ ========================================================== */
2214
+
2215
+ function getValidPayPalUrl(value) {
2216
+ const input = String(value ?? "").trim();
2217
+
2218
+ if (!input) return null;
2219
 
2220
  try {
2221
+ const parsed = new URL(input);
2222
  const host = parsed.hostname.toLowerCase();
2223
 
2224
  const allowedHost =
2225
  host === "paypal.com" ||
2226
  host.endsWith(".paypal.com") ||
2227
+ host === "paypal.me" ||
2228
+ host === "www.paypal.me";
2229
+
2230
+ if (
2231
+ parsed.protocol !== "https:" ||
2232
+ !allowedHost ||
2233
+ parsed.username ||
2234
+ parsed.password
2235
+ ) {
2236
+ return null;
2237
  }
2238
 
2239
+ return parsed.href;
 
2240
 
2241
  } catch (_) {
2242
+ return null;
2243
  }
2244
  }
2245
 
2246
 
2247
+ function configurePayPal() {
2248
+ const card = $("paypal-card");
2249
+ const link = $("paypal-link");
 
 
2250
 
2251
+ if (!card || !link) return;
 
2252
 
2253
+ const validUrl = getValidPayPalUrl(
2254
+ SUPPORT_CONFIG.paypalUrl
2255
+ );
2256
 
2257
+ if (!validUrl) {
2258
+ card.classList.add("hidden");
2259
+ return;
2260
+ }
2261
 
2262
+ link.href = validUrl;
2263
+ card.classList.remove("hidden");
 
2264
  }
2265
 
2266
 
2267
+ /* ==========================================================
2268
+ 11. INITIALIZATION
2269
+ ========================================================== */
 
 
2270
 
2271
+ function initialize() {
2272
+ configureWallets();
2273
+ configurePayPal();
2274
  }
2275
 
2276
 
2277
+ /*
2278
+ The script is placed at the end of the body, so the page
2279
+ elements already exist when initialization runs.
2280
+ */
2281
 
2282
+ initialize();
 
2283
 
2284
  </script>
2285
  </body>