Repository navigation
Expand file tree
/
Copy patharcade.css
More file actions
254 lines (208 loc) · 5.93 KB
/
Copy patharcade.css
File metadata and controls
254 lines (208 loc) · 5.93 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
/* ============================================
🐍 پایتونباز آرکید — افکتهای آرکید
============================================ */
/* ============ نئون گلو ============ */
.neon-text {
color: var(--accent);
text-shadow: 0 0 8px var(--glow-yellow), 0 0 24px var(--glow-yellow);
}
.neon-text-green {
color: var(--accent-2);
text-shadow: 0 0 8px var(--glow-green), 0 0 24px var(--glow-green);
}
.neon-text-purple {
color: var(--neon-purple);
text-shadow: 0 0 8px var(--glow-purple), 0 0 24px var(--glow-purple);
}
.glow-box {
box-shadow: 0 0 20px var(--glow-yellow), inset 0 0 12px rgba(255, 212, 59, 0.06);
}
.glow-box-green {
box-shadow: 0 0 20px var(--glow-green), inset 0 0 12px rgba(34, 197, 94, 0.06);
}
.glow-box-purple {
box-shadow: 0 0 20px var(--glow-purple), inset 0 0 12px rgba(168, 85, 247, 0.06);
}
.glow-pulse {
animation: glowPulse 2.4s ease-in-out infinite;
}
@keyframes glowPulse {
0%, 100% { box-shadow: 0 0 12px var(--glow-yellow); }
50% { box-shadow: 0 0 32px var(--glow-yellow); }
}
/* ============ کارتهای زاویهدار ============ */
.skew-card {
position: relative;
transform: skewX(-2deg);
clip-path: polygon(0 6px, 6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
}
.skew-card > * {
transform: skewX(2deg);
}
.angle-cut {
clip-path: polygon(0 10px, 10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}
/* گوشههای نئونی */
.corner-neon {
position: relative;
}
.corner-neon::before,
.corner-neon::after {
content: "";
position: absolute;
width: 14px;
height: 14px;
border: 2px solid var(--accent);
filter: drop-shadow(0 0 4px var(--glow-yellow));
}
.corner-neon::before {
top: -1px;
inset-inline-start: -1px;
border-inline-end: none;
border-bottom: none;
}
.corner-neon::after {
bottom: -1px;
inset-inline-end: -1px;
border-inline-start: none;
border-top: none;
}
/* ============ گلسموفیزم ============ */
.glass {
background: var(--bg-panel);
backdrop-filter: blur(14px);
-webkit-backdrop-filter: blur(14px);
border: 1px solid rgba(255, 255, 255, 0.08);
}
/* ============ اسکنلاین ترمینال ============ */
.scanline-anim {
position: relative;
overflow: hidden;
}
.scanline-anim::after {
content: "";
position: absolute;
inset-inline: 0;
height: 30%;
top: -30%;
background: linear-gradient(transparent, rgba(255, 212, 59, 0.06), transparent);
animation: scanMove 5s linear infinite;
pointer-events: none;
}
@keyframes scanMove {
0% { top: -30%; }
100% { top: 130%; }
}
/* ============ انیمیشنها ============ */
@keyframes fadeInUp {
from { opacity: 0; transform: translateY(16px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes scaleIn {
from { opacity: 0; transform: scale(0.92); }
to { opacity: 1; transform: scale(1); }
}
@keyframes shake {
0%, 100% { transform: translateX(0); }
20% { transform: translateX(-8px); }
40% { transform: translateX(8px); }
60% { transform: translateX(-5px); }
80% { transform: translateX(5px); }
}
@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-8px); }
}
@keyframes blink {
0%, 49% { opacity: 1; }
50%, 100% { opacity: 0; }
}
@keyframes marquee-x {
0% { transform: translateX(0); }
100% { transform: translateX(-50%); }
}
.anim-fade-in-up { animation: fadeInUp 0.4s ease both; }
.anim-fade-in { animation: fadeIn 0.3s ease both; }
.anim-scale-in { animation: scaleIn 0.35s var(--transition-slow) both; }
.anim-float { animation: float 3.5s ease-in-out infinite; }
.anim-shake { animation: shake 0.45s ease; }
.cursor-blink::after {
content: "▊";
color: var(--accent);
animation: blink 1s step-end infinite;
margin-inline-start: 2px;
}
/* ============ کانفتی (Canvas) ============ */
#confetti-canvas {
position: fixed;
inset: 0;
z-index: var(--z-confetti);
pointer-events: none;
}
/* ============ توست ============ */
#toast-root {
position: fixed;
top: var(--space-5);
inset-inline: 0;
z-index: var(--z-toast);
display: flex;
flex-direction: column;
align-items: center;
gap: var(--space-2);
pointer-events: none;
}
.toast {
max-width: 90%;
padding: var(--space-3) var(--space-5);
border-radius: var(--radius-full);
background: var(--bg-panel-solid);
border: 1px solid rgba(255, 255, 255, 0.12);
box-shadow: var(--shadow);
font-size: 0.92rem;
font-weight: 600;
animation: fadeInUp 0.3s ease both;
}
.toast-success { border-color: var(--success); color: var(--success); }
.toast-error { border-color: var(--danger); color: var(--danger); }
.toast-info { border-color: var(--info); color: var(--info); }
.toast-warning { border-color: var(--warning); color: var(--warning); }
.toast-exit {
animation: fadeInUp 0.3s ease reverse both;
}
/* ============ لودر ============ */
.loader-overlay {
position: fixed;
inset: 0;
z-index: var(--z-modal);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: var(--space-4);
background: rgba(11, 15, 25, 0.75);
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
}
.loader-bar {
width: 200px;
height: 8px;
border-radius: var(--radius-full);
background: var(--bg-inset);
overflow: hidden;
border: 1px solid rgba(255, 212, 59, 0.25);
}
.loader-bar-fill {
height: 100%;
width: 40%;
border-radius: var(--radius-full);
background: linear-gradient(90deg, var(--accent), var(--accent-2));
animation: loaderSlide 1.2s ease-in-out infinite;
}
@keyframes loaderSlide {
0% { margin-inline-start: -40%; }
100% { margin-inline-start: 100%; }
}