css-pkg-01 1.3.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,689 @@
1
+ :root {
2
+ --bg: #041214;
3
+ --surface: #0a2226;
4
+ --surface-light: #11363c;
5
+ --accent: #ffd166;
6
+ --accent-hover: #ffdf99;
7
+ --accent2: #14b8a6;
8
+ --accent2-glow: rgba(20, 184, 166, 0.4);
9
+ --text: #effcff;
10
+ --muted: #8fb0b3;
11
+ --font-display: 'Russo One', sans-serif;
12
+ --font-body: 'Open Sans', sans-serif;
13
+ --container-w: 1200px;
14
+ --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
15
+ }
16
+
17
+ * {
18
+ margin: 0;
19
+ padding: 0;
20
+ box-sizing: border-box;
21
+ }
22
+
23
+ body {
24
+ font-family: var(--font-body);
25
+ background-color: var(--bg);
26
+ color: var(--text);
27
+ line-height: 1.6;
28
+ overflow-x: hidden;
29
+ -webkit-font-smoothing: antialiased;
30
+ }
31
+
32
+ a {
33
+ color: var(--accent2);
34
+ text-decoration: none;
35
+ transition: var(--transition);
36
+ }
37
+
38
+ a:hover {
39
+ color: var(--accent);
40
+ }
41
+
42
+ .container {
43
+ max-width: var(--container-w);
44
+ margin: 0 auto;
45
+ padding: 0 20px;
46
+ }
47
+
48
+ h1, h2, h3, h4, .brand {
49
+ font-family: var(--font-display);
50
+ text-transform: uppercase;
51
+ letter-spacing: 0.5px;
52
+ }
53
+
54
+ /* --- HEADER (STYLES FOR EXACT HTML) --- */
55
+ header {
56
+ background-color: rgba(4, 18, 20, 0.95);
57
+ backdrop-filter: blur(10px);
58
+ border-bottom: 2px solid var(--accent2);
59
+ position: sticky;
60
+ top: 0;
61
+ z-index: 100;
62
+ box-shadow: 0 4px 20px rgba(0,0,0,0.5);
63
+ }
64
+
65
+ .header-inner {
66
+ display: flex;
67
+ justify-content: space-between;
68
+ align-items: center;
69
+ height: 70px;
70
+ }
71
+
72
+ .brand {
73
+ font-size: 24px;
74
+ color: var(--text);
75
+ display: flex;
76
+ align-items: center;
77
+ gap: 10px;
78
+ }
79
+
80
+ .brand span {
81
+ color: var(--accent);
82
+ }
83
+
84
+ .nav-links {
85
+ display: flex;
86
+ gap: 24px;
87
+ }
88
+
89
+ .nav-links a {
90
+ color: var(--text);
91
+ font-weight: 600;
92
+ font-size: 14px;
93
+ text-transform: uppercase;
94
+ letter-spacing: 0.5px;
95
+ position: relative;
96
+ }
97
+
98
+ .nav-links a::after {
99
+ content: '';
100
+ position: absolute;
101
+ bottom: -5px;
102
+ left: 0;
103
+ width: 0;
104
+ height: 2px;
105
+ background-color: var(--accent2);
106
+ transition: var(--transition);
107
+ }
108
+
109
+ .nav-links a:hover::after {
110
+ width: 100%;
111
+ }
112
+
113
+ .header-actions {
114
+ display: flex;
115
+ gap: 12px;
116
+ align-items: center;
117
+ }
118
+
119
+ .btn {
120
+ padding: 10px 20px;
121
+ font-family: var(--font-display);
122
+ font-size: 13px;
123
+ clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
124
+ text-align: center;
125
+ cursor: pointer;
126
+ display: inline-block;
127
+ }
128
+
129
+ .btn-primary {
130
+ background-color: var(--accent);
131
+ color: var(--bg);
132
+ border: none;
133
+ box-shadow: 0 0 15px rgba(255, 209, 102, 0.3);
134
+ }
135
+
136
+ .btn-primary:hover {
137
+ background-color: var(--accent-hover);
138
+ color: var(--bg);
139
+ box-shadow: 0 0 25px rgba(255, 209, 102, 0.6);
140
+ transform: translateY(-2px);
141
+ }
142
+
143
+ .btn-secondary {
144
+ background-color: transparent;
145
+ color: var(--accent2);
146
+ border: 1px solid var(--accent2);
147
+ }
148
+
149
+ .btn-secondary:hover {
150
+ background-color: rgba(20, 184, 166, 0.1);
151
+ color: var(--text);
152
+ box-shadow: 0 0 15px var(--accent2-glow);
153
+ }
154
+
155
+ .mobile-toggle {
156
+ display: none;
157
+ background: none;
158
+ border: none;
159
+ color: var(--accent2);
160
+ font-size: 28px;
161
+ cursor: pointer;
162
+ }
163
+
164
+ /* --- HERO BANNER --- */
165
+ .hero-banner {
166
+ position: relative;
167
+ padding: 60px 0;
168
+ background: linear-gradient(135deg, var(--bg) 0%, var(--surface) 100%);
169
+ border-bottom: 1px solid rgba(20, 184, 166, 0.2);
170
+ overflow: hidden;
171
+ }
172
+
173
+ .hero-banner::before {
174
+ content: '';
175
+ position: absolute;
176
+ top: -50%;
177
+ right: -10%;
178
+ width: 50%;
179
+ height: 200%;
180
+ background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.05), transparent);
181
+ transform: rotate(35deg);
182
+ pointer-events: none;
183
+ }
184
+
185
+ .breadcrumb {
186
+ font-size: 13px;
187
+ color: var(--muted);
188
+ margin-bottom: 20px;
189
+ display: inline-block;
190
+ background: rgba(10, 34, 38, 0.8);
191
+ padding: 6px 16px;
192
+ clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
193
+ border-left: 2px solid var(--accent2);
194
+ }
195
+
196
+ .hero-banner h1 {
197
+ font-size: clamp(28px, 5vw, 48px);
198
+ color: var(--text);
199
+ margin-bottom: 24px;
200
+ line-height: 1.2;
201
+ text-shadow: 0 0 20px rgba(20, 184, 166, 0.3);
202
+ max-width: 900px;
203
+ }
204
+
205
+ .meta-chips {
206
+ display: flex;
207
+ gap: 12px;
208
+ flex-wrap: wrap;
209
+ }
210
+
211
+ .chip {
212
+ background-color: var(--surface-light);
213
+ color: var(--accent2);
214
+ font-size: 12px;
215
+ font-weight: 600;
216
+ padding: 6px 14px;
217
+ border: 1px solid rgba(20, 184, 166, 0.3);
218
+ clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
219
+ display: flex;
220
+ align-items: center;
221
+ gap: 6px;
222
+ }
223
+
224
+ .chip::before {
225
+ content: '✦';
226
+ color: var(--accent);
227
+ }
228
+
229
+ /* --- MAIN CONTENT --- */
230
+ .content-area {
231
+ padding: 60px 0;
232
+ display: grid;
233
+ gap: 60px;
234
+ }
235
+
236
+ .intro-block {
237
+ font-size: 18px;
238
+ color: var(--text);
239
+ background: linear-gradient(90deg, rgba(20, 184, 166, 0.1) 0%, transparent 100%);
240
+ border-left: 4px solid var(--accent2);
241
+ padding: 24px 30px;
242
+ border-radius: 0 12px 12px 0;
243
+ line-height: 1.8;
244
+ box-shadow: inset 20px 0 40px -20px rgba(20, 184, 166, 0.1);
245
+ }
246
+
247
+ .section-block h2 {
248
+ font-size: 28px;
249
+ color: var(--accent);
250
+ margin-bottom: 24px;
251
+ display: flex;
252
+ align-items: center;
253
+ gap: 12px;
254
+ }
255
+
256
+ .section-block h2::before {
257
+ content: '';
258
+ display: block;
259
+ width: 12px;
260
+ height: 24px;
261
+ background-color: var(--accent2);
262
+ clip-path: polygon(100% 0, 0% 100%, 100% 100%);
263
+ }
264
+
265
+ .section-block p {
266
+ margin-bottom: 20px;
267
+ color: var(--muted);
268
+ font-size: 16px;
269
+ }
270
+
271
+ .section-block p a {
272
+ font-weight: 700;
273
+ border-bottom: 1px dashed var(--accent2);
274
+ }
275
+
276
+ .section-block p a:hover {
277
+ border-bottom-style: solid;
278
+ color: var(--accent);
279
+ }
280
+
281
+ /* --- VOLATILITY CARDS (For the List) --- */
282
+ .volatility-grid {
283
+ display: grid;
284
+ grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
285
+ gap: 24px;
286
+ margin-top: 30px;
287
+ }
288
+
289
+ .vol-card {
290
+ background-color: var(--surface);
291
+ border: 1px solid rgba(143, 176, 179, 0.2);
292
+ padding: 30px 24px;
293
+ position: relative;
294
+ clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
295
+ transition: var(--transition);
296
+ }
297
+
298
+ .vol-card::before {
299
+ content: '';
300
+ position: absolute;
301
+ top: 0;
302
+ left: 0;
303
+ width: 100%;
304
+ height: 3px;
305
+ background: linear-gradient(90deg, var(--accent2), var(--accent));
306
+ opacity: 0;
307
+ transition: var(--transition);
308
+ }
309
+
310
+ .vol-card:hover {
311
+ transform: translateY(-5px);
312
+ border-color: var(--accent2);
313
+ box-shadow: 0 10px 30px rgba(20, 184, 166, 0.15);
314
+ background-color: var(--surface-light);
315
+ }
316
+
317
+ .vol-card:hover::before {
318
+ opacity: 1;
319
+ }
320
+
321
+ .vol-card h3 {
322
+ color: var(--text);
323
+ font-size: 20px;
324
+ margin-bottom: 16px;
325
+ display: flex;
326
+ align-items: center;
327
+ gap: 10px;
328
+ }
329
+
330
+ .vol-card h3 span {
331
+ display: flex;
332
+ align-items: center;
333
+ justify-content: center;
334
+ width: 32px;
335
+ height: 32px;
336
+ background: rgba(20, 184, 166, 0.1);
337
+ color: var(--accent2);
338
+ border-radius: 4px;
339
+ font-size: 16px;
340
+ }
341
+
342
+ .vol-card p {
343
+ margin: 0;
344
+ font-size: 15px;
345
+ }
346
+
347
+ /* --- RELATED LINKS --- */
348
+ .related-links-wrapper {
349
+ background: var(--surface);
350
+ padding: 40px;
351
+ border-radius: 16px;
352
+ border: 1px solid rgba(20, 184, 166, 0.2);
353
+ margin-top: 20px;
354
+ position: relative;
355
+ overflow: hidden;
356
+ }
357
+
358
+ .related-links-wrapper::after {
359
+ content: '';
360
+ position: absolute;
361
+ bottom: 0;
362
+ right: 0;
363
+ width: 150px;
364
+ height: 150px;
365
+ background: radial-gradient(circle, var(--accent2-glow) 0%, transparent 70%);
366
+ pointer-events: none;
367
+ }
368
+
369
+ .related-links-wrapper h3 {
370
+ font-size: 22px;
371
+ margin-bottom: 24px;
372
+ color: var(--text);
373
+ }
374
+
375
+ .related-grid {
376
+ display: grid;
377
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
378
+ gap: 16px;
379
+ }
380
+
381
+ .related-link-card {
382
+ display: flex;
383
+ align-items: center;
384
+ justify-content: space-between;
385
+ padding: 16px 20px;
386
+ background-color: var(--bg);
387
+ border: 1px solid rgba(143, 176, 179, 0.2);
388
+ color: var(--text);
389
+ font-weight: 600;
390
+ clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
391
+ }
392
+
393
+ .related-link-card::after {
394
+ content: '→';
395
+ color: var(--accent2);
396
+ font-family: var(--font-display);
397
+ transition: var(--transition);
398
+ }
399
+
400
+ .related-link-card:hover {
401
+ border-color: var(--accent2);
402
+ background-color: rgba(20, 184, 166, 0.05);
403
+ color: var(--accent);
404
+ }
405
+
406
+ .related-link-card:hover::after {
407
+ transform: translateX(5px);
408
+ color: var(--accent);
409
+ }
410
+
411
+ /* --- FAQ SECTION --- */
412
+ .faq-section {
413
+ margin-top: 20px;
414
+ }
415
+
416
+ details {
417
+ background-color: var(--surface);
418
+ margin-bottom: 16px;
419
+ border: 1px solid rgba(143, 176, 179, 0.2);
420
+ clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
421
+ transition: var(--transition);
422
+ }
423
+
424
+ details:hover {
425
+ border-color: rgba(20, 184, 166, 0.5);
426
+ }
427
+
428
+ details[open] {
429
+ border-color: var(--accent2);
430
+ background-color: var(--surface-light);
431
+ }
432
+
433
+ summary {
434
+ padding: 20px 24px;
435
+ font-family: var(--font-display);
436
+ font-size: 16px;
437
+ color: var(--text);
438
+ cursor: pointer;
439
+ list-style: none;
440
+ display: flex;
441
+ justify-content: space-between;
442
+ align-items: center;
443
+ }
444
+
445
+ summary::-webkit-details-marker {
446
+ display: none;
447
+ }
448
+
449
+ summary::after {
450
+ content: '+';
451
+ color: var(--accent2);
452
+ font-size: 24px;
453
+ transition: transform 0.3s ease;
454
+ }
455
+
456
+ details[open] summary::after {
457
+ content: '−';
458
+ color: var(--accent);
459
+ transform: rotate(180deg);
460
+ }
461
+
462
+ details p {
463
+ padding: 0 24px 24px 24px;
464
+ color: var(--muted);
465
+ margin: 0;
466
+ border-top: 1px dashed rgba(143, 176, 179, 0.2);
467
+ padding-top: 16px;
468
+ }
469
+
470
+ /* --- CTA SECTION --- */
471
+ .cta-section {
472
+ background: linear-gradient(45deg, var(--surface) 0%, #0d383e 100%);
473
+ padding: 60px 40px;
474
+ text-align: center;
475
+ border-radius: 20px;
476
+ border: 2px solid var(--accent2);
477
+ box-shadow: 0 0 40px rgba(20, 184, 166, 0.15);
478
+ margin-bottom: 60px;
479
+ position: relative;
480
+ overflow: hidden;
481
+ }
482
+
483
+ .cta-section::before {
484
+ content: '';
485
+ position: absolute;
486
+ top: -50%;
487
+ left: -50%;
488
+ width: 200%;
489
+ height: 200%;
490
+ background: repeating-linear-gradient(
491
+ 45deg,
492
+ transparent,
493
+ transparent 10px,
494
+ rgba(20, 184, 166, 0.03) 10px,
495
+ rgba(20, 184, 166, 0.03) 20px
496
+ );
497
+ pointer-events: none;
498
+ }
499
+
500
+ .cta-section h2 {
501
+ font-size: 32px;
502
+ color: var(--text);
503
+ margin-bottom: 16px;
504
+ position: relative;
505
+ z-index: 1;
506
+ }
507
+
508
+ .cta-section p {
509
+ color: var(--muted);
510
+ font-size: 18px;
511
+ margin-bottom: 32px;
512
+ max-width: 600px;
513
+ margin-left: auto;
514
+ margin-right: auto;
515
+ position: relative;
516
+ z-index: 1;
517
+ }
518
+
519
+ .cta-actions {
520
+ display: flex;
521
+ gap: 20px;
522
+ justify-content: center;
523
+ position: relative;
524
+ z-index: 1;
525
+ }
526
+
527
+ .cta-actions .btn {
528
+ padding: 16px 32px;
529
+ font-size: 16px;
530
+ }
531
+
532
+ /* --- FOOTER (STYLES FOR EXACT HTML) --- */
533
+ footer {
534
+ background-color: #02090a;
535
+ padding: 60px 0 20px;
536
+ border-top: 1px solid rgba(20, 184, 166, 0.2);
537
+ }
538
+
539
+ .footer-grid {
540
+ display: grid;
541
+ grid-template-columns: 2fr 1fr 1fr;
542
+ gap: 40px;
543
+ margin-bottom: 40px;
544
+ }
545
+
546
+ .footer-brand h2 {
547
+ font-size: 28px;
548
+ color: var(--text);
549
+ margin-bottom: 16px;
550
+ }
551
+
552
+ .footer-brand h2 span {
553
+ color: var(--accent);
554
+ }
555
+
556
+ .footer-tagline {
557
+ color: var(--muted);
558
+ font-size: 15px;
559
+ max-width: 300px;
560
+ }
561
+
562
+ .footer-links-group h4 {
563
+ color: var(--text);
564
+ margin-bottom: 20px;
565
+ font-size: 16px;
566
+ border-bottom: 2px solid var(--accent2);
567
+ display: inline-block;
568
+ padding-bottom: 5px;
569
+ }
570
+
571
+ .footer-links-group a {
572
+ display: block;
573
+ color: var(--muted);
574
+ margin-bottom: 12px;
575
+ font-size: 14px;
576
+ }
577
+
578
+ .footer-links-group a:hover {
579
+ color: var(--accent);
580
+ padding-left: 5px;
581
+ }
582
+
583
+ .footer-bottom {
584
+ text-align: center;
585
+ padding-top: 20px;
586
+ border-top: 1px solid rgba(143, 176, 179, 0.2);
587
+ color: var(--muted);
588
+ font-size: 13px;
589
+ }
590
+
591
+ /* --- RESPONSIVE --- */
592
+ @media (max-width: 1024px) {
593
+ .footer-grid {
594
+ grid-template-columns: 1fr 1fr;
595
+ }
596
+ .footer-brand {
597
+ grid-column: 1 / -1;
598
+ }
599
+ }
600
+
601
+ @media (max-width: 768px) {
602
+ .nav-links {
603
+ display: none;
604
+ position: absolute;
605
+ top: 70px;
606
+ left: 0;
607
+ width: 100%;
608
+ background-color: var(--surface);
609
+ flex-direction: column;
610
+ padding: 20px;
611
+ gap: 15px;
612
+ border-bottom: 2px solid var(--accent2);
613
+ box-shadow: 0 10px 20px rgba(0,0,0,0.5);
614
+ }
615
+
616
+ .nav-links.active {
617
+ display: flex;
618
+ }
619
+
620
+ .header-actions .btn {
621
+ display: none;
622
+ }
623
+
624
+ .mobile-toggle {
625
+ display: block;
626
+ }
627
+
628
+ .hero-banner {
629
+ padding: 40px 0;
630
+ }
631
+
632
+ .content-area {
633
+ gap: 40px;
634
+ padding: 40px 0;
635
+ }
636
+
637
+ .intro-block {
638
+ padding: 20px;
639
+ font-size: 16px;
640
+ }
641
+
642
+ .section-block h2 {
643
+ font-size: 24px;
644
+ }
645
+
646
+ .cta-actions {
647
+ flex-direction: column;
648
+ }
649
+
650
+ .cta-actions .btn {
651
+ width: 100%;
652
+ }
653
+
654
+ .footer-grid {
655
+ grid-template-columns: 1fr;
656
+ gap: 30px;
657
+ }
658
+ }
659
+
660
+ @media (max-width: 390px) {
661
+ .hero-banner h1 {
662
+ font-size: 24px;
663
+ }
664
+ .section-block h2 {
665
+ font-size: 20px;
666
+ align-items: flex-start;
667
+ }
668
+ .section-block h2::before {
669
+ margin-top: 4px;
670
+ }
671
+ .cta-section {
672
+ padding: 40px 20px;
673
+ }
674
+ .related-links-wrapper {
675
+ padding: 24px 16px;
676
+ }
677
+ }
678
+
679
+
680
+ /* pipeline image & layout guards */
681
+ html, body { overflow-x: clip; }
682
+ img { max-width: 100%; height: auto; }
683
+ img.site-logo { height: 40px; width: auto; max-width: 240px; object-fit: contain; flex: none; }
684
+ header .logo a { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
685
+ img.hero-visual { width: 100%; max-width: 560px; height: auto; object-fit: cover; border-radius: 16px; display: block; margin-inline: auto; }
686
+ img[class^="strip-"], img[class*=" strip-"] { width: 100%; height: auto; display: block; border-radius: 12px; object-fit: cover; }
687
+ /* 合规声明块(zb-disclaimer,全站 footer) */
688
+ .zb-disclaimer { margin-top: 18px; padding-top: 14px; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); font-size: .72rem; line-height: 1.65; opacity: .8; display: grid; gap: 6px; }
689
+ .zb-disclaimer .zb-18 { justify-self: start; display: inline-flex; align-items: center; padding: 2px 10px; border: 1.5px solid currentColor; border-radius: 8px; font-weight: 800; letter-spacing: 1px; }