-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
863 lines (758 loc) · 17.6 KB
/
style.css
File metadata and controls
863 lines (758 loc) · 17.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Arial", "PingFang SC", "Microsoft YaHei", sans-serif;
background: #000;
color: #fff;
overflow-x: hidden;
scroll-behavior: smooth;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
/* 16:9 容器 - 核心布局 */
.aspect-container {
width: 100vw;
height: 100vh;
position: relative;
display: flex;
justify-content: center;
align-items: center;
background: #000;
}
.presentation-wrapper {
width: 100vw; /* 使用全屏宽度 */
height: 56.25vw; /* 16:9 比例,基于宽度计算高度 */
max-height: 100vh; /* 最大高度不超过视口 */
position: relative;
background: #000;
overflow: hidden;
border-radius: 0.4vw; /* 相对单位 */
box-shadow: 0 0 2.5vw rgba(240, 117, 179, 0.3); /* 相对单位 */
}
.slides-container {
width: 100%;
height: 100%; /* 继承presentation-wrapper的16:9高度 */
position: relative;
overflow-y: auto;
overflow-x: hidden;
scroll-behavior: smooth;
scroll-snap-type: y mandatory; /* 添加滚动吸附 */
}
/* 标准化字体大小 - 基于视口宽度的响应式体系 */
.text-large {
font-size: 4vw; /* 主标题 - 相对于视口宽度 */
}
.text-medium {
font-size: 2vw; /* 副标题、重要数字 - 相对于视口宽度 */
}
.text-small {
font-size: 1vw; /* 正文、说明 - 相对于视口宽度 */
}
/* 自定义滚动条样式 - 使用相对单位 */
::-webkit-scrollbar {
width: 0.4vw; /* 相对于视口宽度 */
min-width: 6px; /* 最小宽度保证可见性 */
}
::-webkit-scrollbar-track {
background: rgba(0, 0, 0, 0.3);
border-radius: 0.2vw;
}
::-webkit-scrollbar-thumb {
background: linear-gradient(135deg, rgb(240, 117, 179), rgb(240, 240, 117));
border-radius: 0.2vw;
transition: all 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {
background: linear-gradient(135deg, rgb(250, 127, 189), rgb(250, 250, 127));
box-shadow: 0 0 0.5vw rgba(240, 117, 179, 0.5);
}
/* 火狐浏览器滚动条样式 */
* {
scrollbar-width: thin;
scrollbar-color: rgb(240, 117, 179) rgba(0, 0, 0, 0.3);
}
.slide {
width: 100%;
height: 56.25vw; /* 直接使用16:9比例的高度计算 */
max-height: 100vh; /* 不超过视口高度 */
min-height: 56.25vw; /* 确保最小高度保持16:9 */
flex-shrink: 0; /* 防止slide被压缩 */
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
position: relative;
padding: 4% 6%; /* 使用百分比适配16:9容器 */
background: linear-gradient(
135deg,
rgba(240, 117, 179, 0.1),
rgba(240, 240, 117, 0.1)
);
border-bottom: 0.05vw solid rgba(255, 255, 255, 0.1); /* 相对单位 */
box-sizing: border-box;
overflow: hidden; /* 防止内容溢出 */
scroll-snap-align: start; /* 滚动吸附对齐 */
}
.slide:nth-child(odd) {
background: linear-gradient(
225deg,
rgba(240, 117, 179, 0.08),
rgba(240, 240, 117, 0.08)
);
}
.title {
background: linear-gradient(135deg, rgb(240, 117, 179), rgb(240, 240, 117));
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
font-size: 4vw; /* 使用相对单位 */
font-weight: bold;
text-align: center;
margin-bottom: 2.5vh; /* 减少margin */
text-shadow: 0 0 1vw rgba(240, 117, 179, 0.3);
flex-shrink: 0; /* 防止被压缩 */
}
.subtitle {
font-size: 2.5vw; /* 使用相对单位 */
font-weight: 600;
margin-bottom: 1.8vh; /* 减少margin */
text-align: center;
background: linear-gradient(135deg, rgb(240, 117, 179), rgb(240, 240, 117));
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
flex-shrink: 0; /* 防止被压缩 */
}
.content {
max-width: 90%; /* 在16:9容器内的最大宽度 */
width: 100%;
height: 100%; /* 使用100%高度而不是限制最大高度 */
z-index: 2;
margin: 0 auto;
position: relative;
overflow: visible; /* 允许内容可见,但不滚动 */
display: flex;
flex-direction: column;
}
.problem-grid {
display: flex;
justify-content: space-between;
gap: 2%;
margin-top: 3%;
width: 100%;
align-items: stretch;
}
.problem-card {
background: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(0.5vw);
border: 0.1vw solid rgba(240, 117, 179, 0.2);
border-radius: 0.8vw; /* 相对单位 */
padding: 1.5vw; /* 相对单位 */
transition: transform 0.3s ease, box-shadow 0.3s ease;
flex: 1;
display: flex;
flex-direction: column;
justify-content: space-between;
min-height: 18vh; /* 增加最小高度 */
}
.problem-card:hover {
transform: translateY(-0.5vw);
box-shadow: 0 1vw 2vw rgba(240, 117, 179, 0.2);
}
.card-title {
font-size: 1.8vw; /* 使用相对单位 */
font-weight: bold;
margin-bottom: 1.2vh; /* 相对单位 */
background: linear-gradient(135deg, rgb(240, 117, 179), rgb(240, 240, 117));
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
.highlight-number {
font-size: 1.8vw; /* 使用相对单位 */
font-weight: bold;
background: linear-gradient(135deg, rgb(240, 117, 179), rgb(240, 240, 117));
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
display: block;
margin: 1.2vh 0; /* 相对单位 */
position: relative;
}
.highlight-number::after {
content: attr(data-unit);
font-size: 0.8vw; /* 相对单位 */
position: absolute;
bottom: -0.3vh;
right: 0;
color: rgba(240, 240, 117, 0.8);
font-weight: normal;
}
.chart-container {
width: 100%;
height: 35%; /* 相对于容器高度的百分比 */
min-height: 18vh; /* 使用vh替代px */
background: rgba(255, 255, 255, 0.05);
border-radius: 0.8vw; /* 相对单位 */
margin: 3% 0;
display: flex;
align-items: center;
justify-content: center;
position: relative;
overflow: hidden;
}
.pie-chart {
width: 18vw; /* 相对单位 */
height: 18vw; /* 保持正方形 */
border-radius: 50%;
background: conic-gradient(
from 0deg,
rgb(240, 117, 179) 0deg 10deg,
rgba(240, 117, 179, 0.3) 10deg 360deg
);
position: relative;
}
.pie-chart::before {
content: "1%\n渗透率";
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 2rem;
font-weight: bold;
text-align: center;
color: rgb(240, 240, 117);
white-space: pre-line;
}
.solution-flow {
display: flex;
justify-content: space-between;
align-items: stretch;
margin: 1.5% 0;
flex-wrap: wrap;
gap: 2%; /* 百分比间距 */
width: 100%;
}
.flow-step {
background: rgba(255, 255, 255, 0.05);
border: 0.1vw solid rgba(240, 117, 179, 0.3); /* 相对单位 */
border-radius: 0.8vw; /* 相对单位 */
padding: 1.5% 1%; /* 减少内边距 */
flex: 1;
min-width: min(18vw, 25%); /* 使用vw替代px */
text-align: center;
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
aspect-ratio: 2/1; /* 更紧凑的比例 */
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.flow-step:hover {
transform: translateY(-0.3vw); /* 相对单位 */
box-shadow: 0 0.5vw 1.5vw rgba(240, 117, 179, 0.2); /* 相对单位 */
}
.flow-step h3 {
font-size: 1.4vw; /* 稍微减小标题 */
margin-bottom: 0.6vh; /* 减少间距 */
color: #fff;
}
.flow-step p {
font-size: 0.9vw; /* 稍微减小正文 */
line-height: 1.3;
color: rgba(255, 255, 255, 0.9);
margin: 0;
}
.flow-step::after {
content: "→";
position: absolute;
right: -1.5vw; /* 相对单位 */
top: 50%;
transform: translateY(-50%);
font-size: 1.6vw; /* 相对单位 */
color: rgb(240, 240, 117);
font-weight: bold;
}
.flow-step:last-child::after {
display: none;
}
.revenue-grid {
display: grid;
grid-template-columns: repeat(
auto-fit,
minmax(min(22vw, 30%), 1fr)
); /* 使用vw替代px */
gap: 3%;
margin-top: 3%;
width: 100%;
}
.revenue-card {
background: linear-gradient(
135deg,
rgba(240, 117, 179, 0.1),
rgba(240, 240, 117, 0.1)
);
border: 0.05vw solid rgba(240, 117, 179, 0.3); /* 相对单位 */
border-radius: 0.8vw; /* 相对单位 */
padding: 1.5vw; /* 相对单位 */
text-align: center;
}
.revenue-percentage {
font-size: 3vw; /* 相对单位 */
font-weight: bold;
background: linear-gradient(135deg, rgb(240, 117, 179), rgb(240, 240, 117));
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
.market-stats {
display: grid;
grid-template-columns: repeat(
auto-fit,
minmax(min(280px, 25%), 1fr)
); /* 响应式16:9优化 */
gap: 2%;
margin: 3% 0;
width: 100%;
}
.stat-item {
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(240, 240, 117, 0.2);
border-radius: 10px;
padding: 25px;
text-align: center;
}
.stat-number {
font-size: 2rem; /* 使用中标题 */
font-weight: bold;
background: linear-gradient(135deg, rgb(240, 117, 179), rgb(240, 240, 117));
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
display: block;
margin-bottom: 10px;
}
.navigation {
position: fixed; /* 固定在屏幕上 */
top: 50%;
right: 1vw; /* 使用相对单位 */
transform: translateY(-50%);
z-index: 1000;
}
.nav-dot {
width: 0.6vw; /* 相对单位 */
height: 0.6vw; /* 相对单位 */
min-width: 8px; /* 最小尺寸保证可见性 */
min-height: 8px;
border-radius: 50%;
background: rgba(240, 117, 179, 0.5);
margin: 0.6vh 0; /* 相对单位 */
cursor: pointer;
transition: all 0.3s ease;
}
.nav-dot.active {
background: rgb(240, 117, 179);
transform: scale(1.5);
}
.summary-box {
background: linear-gradient(
135deg,
rgba(240, 117, 179, 0.2),
rgba(240, 240, 117, 0.2)
);
border: 0.1vw solid rgba(240, 117, 179, 0.5); /* 相对单位 */
border-radius: 1vw; /* 相对单位 */
padding: 2vw; /* 相对单位 */
margin: 2vh 0; /* 相对单位 */
text-align: center;
font-size: 1.8vw; /* 相对单位 */
line-height: 1.8;
}
.logo {
position: absolute;
top: 2%; /* 相对于16:9容器 */
left: 2%;
width: 60px;
height: 60px;
border-radius: 10px;
overflow: hidden;
border: 2px solid rgba(240, 117, 179, 0.3);
transition: all 0.3s ease;
z-index: 1000;
}
.logo:hover {
border-color: rgba(240, 117, 179, 0.8);
box-shadow: 0 0 20px rgba(240, 117, 179, 0.3);
transform: scale(1.05);
}
.logo img {
width: 100%;
height: 100%;
object-fit: cover;
}
/* 滚动进度条 */
.scroll-progress {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 3px;
background: rgba(0, 0, 0, 0.3);
z-index: 1001;
}
.scroll-progress-bar {
height: 100%;
background: linear-gradient(90deg, rgb(240, 117, 179), rgb(240, 240, 117));
width: 0%;
transition: width 0.3s ease;
box-shadow: 0 0 10px rgba(240, 117, 179, 0.5);
}
/* 标准16:9分辨率优化 (1920x1080) */
@media (min-width: 1280px) and (max-width: 1920px) and (min-aspect-ratio: 16/9) {
.title {
font-size: 4.5rem; /* 16:9屏幕优化标题大小 */
margin-bottom: 70px;
}
.subtitle {
font-size: 2.2rem;
margin-bottom: 50px;
}
.chart-container {
height: 500px; /* 16:9屏幕优化图表高度 */
}
.pie-chart {
width: 350px;
height: 350px;
}
}
/* 16:9容器的响应式调整 */
@media (max-width: 1200px) {
.slide {
padding: 3% 4%;
}
.problem-grid {
flex-direction: row;
gap: 1.5%;
}
.flow-step {
min-width: min(250px, 40%);
}
}
@media (max-width: 768px) {
.presentation-wrapper {
border-radius: 0;
box-shadow: none;
}
.slide {
padding: 2% 3%;
}
.title {
font-size: 2rem; /* 移动端中标题 */
}
.subtitle {
font-size: 2rem; /* 移动端中标题 */
}
.solution-flow {
flex-direction: column;
align-items: center;
gap: 3%;
}
.flow-step {
width: 90%;
min-width: auto;
aspect-ratio: 2/1;
}
.problem-grid,
.revenue-grid {
flex-direction: column;
gap: 4%;
}
.market-stats {
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
}
.floating-elements {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
overflow: hidden;
}
.floating-circle {
position: absolute;
border-radius: 50%;
background: linear-gradient(
135deg,
rgba(240, 117, 179, 0.1),
rgba(240, 240, 117, 0.1)
);
animation: float 20s infinite linear;
}
.floating-circle:nth-child(1) {
width: 80px;
height: 80px;
top: 20%;
left: 10%;
animation-delay: 0s;
}
.floating-circle:nth-child(2) {
width: 120px;
height: 120px;
top: 60%;
right: 10%;
animation-delay: -10s;
}
.floating-circle:nth-child(3) {
width: 60px;
height: 60px;
top: 80%;
left: 70%;
animation-delay: -5s;
}
/* 收益对比图表 */
.comparison-chart {
width: 100%;
height: 35vh; /* 增大图表高度 */
position: relative;
background: rgba(255, 255, 255, 0.03);
border-radius: 0.8vw; /* 使用相对单位 */
padding: 2vw; /* 使用相对单位 */
margin: 2vh 0; /* 使用相对单位 */
}
.chart-title {
text-align: center;
font-size: 1.8vw; /* 使用相对单位 */
color: rgb(240, 117, 179);
margin-bottom: 1.5vh; /* 使用相对单位 */
}
.chart-area {
width: 100%;
height: 85%; /* 增大图表区域占比 */
position: relative;
overflow: hidden;
}
.chart-grid {
position: absolute;
width: 100%;
height: 100%;
background-image: linear-gradient(
to right,
rgba(255, 255, 255, 0.1) 1px,
transparent 1px
),
linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
background-size: 4vw 3.5vh; /* 使用相对单位 */
}
.chart-axis {
position: absolute;
color: rgba(255, 255, 255, 0.6);
font-size: 0.9vw; /* 使用相对单位 */
}
.chart-axis.x {
bottom: 0.5vh; /* 使用相对单位 */
width: 100%;
display: flex;
justify-content: space-between;
padding: 0 30px;
}
.chart-axis.y {
left: 10px;
height: 100%;
display: flex;
flex-direction: column-reverse;
justify-content: space-between;
padding: 30px 0;
}
.growth-curve {
position: absolute;
bottom: 50px;
left: 30px;
width: calc(100% - 60px);
height: 200px;
}
.curve-line {
position: absolute;
width: 100%;
height: 100%;
}
.RenToken-curve {
stroke: url(#RenToken-gradient);
stroke-width: 4;
fill: none;
filter: drop-shadow(0 0 8px rgba(240, 117, 179, 0.5));
animation: drawCurve 3s ease-in-out;
}
.traditional-curve {
stroke: rgba(255, 255, 255, 0.4);
stroke-width: 2;
fill: none;
stroke-dasharray: 5, 5;
}
.legend {
position: absolute;
top: 20px;
right: 20px;
background: rgba(0, 0, 0, 0.5);
padding: 15px;
border-radius: 8px;
font-size: 1rem; /* 使用正文 */
}
.legend-item {
display: flex;
align-items: center;
margin-bottom: 8px;
}
.legend-color {
width: 20px;
height: 3px;
margin-right: 10px;
border-radius: 2px;
}
.RenToken-color {
background: linear-gradient(90deg, rgb(240, 117, 179), rgb(240, 240, 117));
}
.traditional-color {
background: rgba(255, 255, 255, 0.4);
}
.risk-comparison {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
margin-top: 30px;
}
.risk-card {
background: rgba(255, 255, 255, 0.05);
border-radius: 10px;
padding: 20px;
text-align: center;
border: 1px solid rgba(240, 117, 179, 0.2);
}
.risk-level {
font-size: 1rem;
font-weight: bold;
margin-bottom: 10px;
}
.low-risk {
color: rgb(144, 238, 144);
}
.medium-risk {
color: rgb(255, 223, 0);
}
.high-risk {
color: rgb(255, 99, 99);
}
@keyframes drawCurve {
from {
stroke-dasharray: 1000;
stroke-dashoffset: 1000;
}
to {
stroke-dasharray: 1000;
stroke-dashoffset: 0;
}
}
/* CTA按钮样式 */
.cta-button {
display: inline-block;
background: linear-gradient(135deg, rgb(240, 117, 179), rgb(240, 240, 117));
color: #000;
font-size: 2rem; /* 使用中标题 */
font-weight: bold;
padding: 18px 40px;
border-radius: 50px;
text-decoration: none;
margin-top: 10px;
margin-bottom: 30px;
transition: all 0.3s ease;
box-shadow: 0 10px 30px rgba(240, 117, 179, 0.3);
position: relative;
overflow: hidden;
}
.cta-button:hover {
transform: translateY(-3px);
box-shadow: 0 15px 40px rgba(240, 117, 179, 0.5);
filter: brightness(1.1);
}
.cta-button:active {
transform: translateY(-1px);
}
.cta-button::before {
content: "";
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(
90deg,
transparent,
rgba(255, 255, 255, 0.2),
transparent
);
transition: left 0.5s;
}
.cta-button:hover::before {
left: 100%;
}
@keyframes float {
0% {
transform: translateY(0px) rotate(0deg);
opacity: 0.3;
}
50% {
transform: translateY(-20px) rotate(180deg);
opacity: 0.8;
}
100% {
transform: translateY(0px) rotate(360deg);
opacity: 0.3;
}
}
/* 确保字体最小尺寸和响应式调整 */
@media (max-width: 768px) {
.text-large,
.title {
font-size: max(3vw, 24px); /* 最小24px */
}
.text-medium,
.subtitle {
font-size: max(2vw, 16px); /* 最小16px */
}
.text-small {
font-size: max(1vw, 12px); /* 最小12px */
}
.nav-dot {
min-width: 10px;
min-height: 10px;
}
}
/* 确保超大屏幕上字体不会过大 */
@media (min-width: 2560px) {
.text-large,
.title {
font-size: min(4vw, 80px); /* 最大80px */
}
.text-medium,
.subtitle {
font-size: min(2.5vw, 50px); /* 最大50px */
}
.text-small {
font-size: min(1vw, 20px); /* 最大20px */
}
}
/* 当16:9容器高度过小时的处理 */
@media (max-height: 600px) {
.slide {
min-height: 100vh; /* 在小屏幕上确保slide占满视口 */
}
}