aheedsajid commited on
Commit
923cc7f
·
verified ·
1 Parent(s): 7c8c873

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +459 -17
style.css CHANGED
@@ -1,28 +1,470 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  }
5
 
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
 
 
 
 
 
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  }
17
 
18
  .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
 
28
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ * {
2
+ margin: 0;
3
+ padding: 0;
4
+ box-sizing: border-box;
5
+ }
6
+
7
+ :root {
8
+ --primary: #3B82F6;
9
+ --primary-dark: #2563EB;
10
+ --secondary: #64748B;
11
+ --success: #10B981;
12
+ --warning: #F59E0B;
13
+ --error: #EF4444;
14
+ --text: #0F172A;
15
+ --text-light: #64748B;
16
+ --bg: #F8FAFC;
17
+ --surface: #FFFFFF;
18
+ --border: #E2E8F0;
19
+ --glass: rgba(255, 255, 255, 0.1);
20
+ --shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
21
+ --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
22
+ }
23
+
24
  body {
25
+ font-family: 'Space Mono', monospace;
26
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
27
+ min-height: 100vh;
28
+ color: var(--text);
29
+ overflow-x: hidden;
30
+ }
31
+
32
+ .container {
33
+ max-width: 1200px;
34
+ margin: 0 auto;
35
+ padding: 2rem;
36
+ }
37
+
38
+ .hero {
39
+ text-align: center;
40
+ margin-bottom: 4rem;
41
+ position: relative;
42
+ }
43
+
44
+ .hero-content {
45
+ position: relative;
46
+ z-index: 2;
47
+ }
48
+
49
+ .hero-title {
50
+ font-size: clamp(3rem, 8vw, 6rem);
51
+ font-weight: 700;
52
+ margin-bottom: 1rem;
53
+ line-height: 1.1;
54
+ }
55
+
56
+ .gradient-text {
57
+ background: linear-gradient(45deg, #FF6B6B, #4ECDC4, #45B7D1, #96CEB4);
58
+ background-size: 400% 400%;
59
+ -webkit-background-clip: text;
60
+ -webkit-text-fill-color: transparent;
61
+ background-clip: text;
62
+ animation: gradientShift 3s ease infinite;
63
+ }
64
+
65
+ @keyframes gradientShift {
66
+ 0%, 100% { background-position: 0% 50%; }
67
+ 50% { background-position: 100% 50%; }
68
+ }
69
+
70
+ .hero-subtitle {
71
+ font-size: 1.25rem;
72
+ color: rgba(255, 255, 255, 0.8);
73
+ margin-bottom: 2rem;
74
+ font-weight: 400;
75
+ }
76
+
77
+ .hero-visual {
78
+ position: relative;
79
+ width: 200px;
80
+ height: 200px;
81
+ margin: 0 auto;
82
+ border-radius: 50%;
83
+ background: rgba(255, 255, 255, 0.1);
84
+ backdrop-filter: blur(10px);
85
+ border: 1px solid rgba(255, 255, 255, 0.2);
86
+ display: flex;
87
+ align-items: center;
88
+ justify-content: center;
89
+ }
90
+
91
+ .scan-animation {
92
+ position: relative;
93
+ width: 100px;
94
+ height: 100px;
95
  }
96
 
97
+ .scan-line {
98
+ position: absolute;
99
+ top: 0;
100
+ left: 0;
101
+ right: 0;
102
+ height: 2px;
103
+ background: linear-gradient(90deg, transparent, #4ECDC4, transparent);
104
+ animation: scanDown 2s ease-in-out infinite;
105
  }
106
 
107
+ .scan-grid {
108
+ position: absolute;
109
+ inset: 0;
110
+ background-image:
111
+ linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
112
+ linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
113
+ background-size: 10px 10px;
114
+ border-radius: 8px;
115
+ }
116
+
117
+ @keyframes scanDown {
118
+ 0% { transform: translateY(0); opacity: 1; }
119
+ 100% { transform: translateY(100px); opacity: 0; }
120
+ }
121
+
122
+ .main-content {
123
+ display: grid;
124
+ gap: 2rem;
125
+ grid-template-columns: 1fr;
126
  }
127
 
128
  .card {
129
+ background: var(--surface);
130
+ border-radius: 24px;
131
+ padding: 2rem;
132
+ box-shadow: var(--shadow);
133
+ border: 1px solid var(--border);
134
+ transition: transform 0.3s ease, box-shadow 0.3s ease;
135
+ }
136
+
137
+ .card:hover {
138
+ transform: translateY(-2px);
139
+ box-shadow: var(--shadow-lg);
140
+ }
141
+
142
+ .glass {
143
+ background: rgba(255, 255, 255, 0.95);
144
+ backdrop-filter: blur(20px);
145
+ border: 1px solid rgba(255, 255, 255, 0.3);
146
+ }
147
+
148
+ .card-header {
149
+ display: flex;
150
+ justify-content: space-between;
151
+ align-items: center;
152
+ margin-bottom: 1.5rem;
153
+ }
154
+
155
+ .card-header h2 {
156
+ font-size: 1.5rem;
157
+ font-weight: 700;
158
+ color: var(--text);
159
+ }
160
+
161
+ .status-indicator {
162
+ display: flex;
163
+ align-items: center;
164
+ gap: 0.5rem;
165
+ font-size: 0.875rem;
166
+ font-weight: 500;
167
+ }
168
+
169
+ .status-dot {
170
+ width: 8px;
171
+ height: 8px;
172
+ border-radius: 50%;
173
+ background: var(--error);
174
+ animation: pulse 2s infinite;
175
+ }
176
+
177
+ .status-dot.active {
178
+ background: var(--success);
179
+ }
180
+
181
+ @keyframes pulse {
182
+ 0%, 100% { opacity: 1; }
183
+ 50% { opacity: 0.5; }
184
+ }
185
+
186
+ .input-group {
187
+ display: flex;
188
+ gap: 1rem;
189
+ align-items: center;
190
+ }
191
+
192
+ .api-input {
193
+ flex: 1;
194
+ padding: 1rem;
195
+ border: 2px solid var(--border);
196
+ border-radius: 12px;
197
+ font-size: 1rem;
198
+ font-family: inherit;
199
+ transition: border-color 0.3s ease, box-shadow 0.3s ease;
200
+ background: rgba(255, 255, 255, 0.8);
201
+ }
202
+
203
+ .api-input:focus {
204
+ outline: none;
205
+ border-color: var(--primary);
206
+ box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
207
+ }
208
+
209
+ .btn {
210
+ padding: 1rem 2rem;
211
+ border: none;
212
+ border-radius: 12px;
213
+ font-size: 1rem;
214
+ font-weight: 600;
215
+ font-family: inherit;
216
+ cursor: pointer;
217
+ transition: all 0.3s ease;
218
+ position: relative;
219
+ overflow: hidden;
220
+ display: flex;
221
+ align-items: center;
222
+ gap: 0.5rem;
223
+ }
224
+
225
+ .btn:disabled {
226
+ opacity: 0.6;
227
+ cursor: not-allowed;
228
+ }
229
+
230
+ .btn-primary {
231
+ background: linear-gradient(135deg, var(--primary), var(--primary-dark));
232
+ color: white;
233
+ }
234
+
235
+ .btn-primary:hover:not(:disabled) {
236
+ transform: translateY(-2px);
237
+ box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
238
+ }
239
+
240
+ .btn-secondary {
241
+ background: var(--border);
242
+ color: var(--text);
243
+ }
244
+
245
+ .btn-secondary:hover:not(:disabled) {
246
+ background: var(--secondary);
247
+ color: white;
248
  }
249
 
250
+ .btn-large {
251
+ padding: 1.25rem 2.5rem;
252
+ font-size: 1.125rem;
253
  }
254
+
255
+ .btn-loader {
256
+ width: 16px;
257
+ height: 16px;
258
+ border: 2px solid rgba(255, 255, 255, 0.3);
259
+ border-top: 2px solid white;
260
+ border-radius: 50%;
261
+ animation: spin 1s linear infinite;
262
+ display: none;
263
+ }
264
+
265
+ .btn.loading .btn-text {
266
+ opacity: 0;
267
+ }
268
+
269
+ .btn.loading .btn-loader {
270
+ display: block;
271
+ }
272
+
273
+ @keyframes spin {
274
+ 0% { transform: rotate(0deg); }
275
+ 100% { transform: rotate(360deg); }
276
+ }
277
+
278
+ .upload-area {
279
+ border: 2px dashed var(--border);
280
+ border-radius: 16px;
281
+ padding: 3rem;
282
+ text-align: center;
283
+ cursor: pointer;
284
+ transition: all 0.3s ease;
285
+ background: rgba(59, 130, 246, 0.02);
286
+ }
287
+
288
+ .upload-area:hover {
289
+ border-color: var(--primary);
290
+ background: rgba(59, 130, 246, 0.05);
291
+ }
292
+
293
+ .upload-area.dragover {
294
+ border-color: var(--primary);
295
+ background: rgba(59, 130, 246, 0.1);
296
+ transform: scale(1.02);
297
+ }
298
+
299
+ .upload-content h3 {
300
+ font-size: 1.25rem;
301
+ font-weight: 600;
302
+ margin-bottom: 0.5rem;
303
+ color: var(--text);
304
+ }
305
+
306
+ .upload-content p {
307
+ color: var(--text-light);
308
+ margin-bottom: 1.5rem;
309
+ }
310
+
311
+ .upload-icon {
312
+ width: 48px;
313
+ height: 48px;
314
+ margin: 0 auto 1rem;
315
+ color: var(--primary);
316
+ }
317
+
318
+ .action-buttons {
319
+ display: flex;
320
+ gap: 1rem;
321
+ justify-content: flex-end;
322
+ margin-top: 2rem;
323
+ }
324
+
325
+ .result-header {
326
+ display: flex;
327
+ justify-content: space-between;
328
+ align-items: center;
329
+ margin-bottom: 2rem;
330
+ }
331
+
332
+ .result-badge {
333
+ display: flex;
334
+ align-items: center;
335
+ gap: 0.5rem;
336
+ padding: 0.5rem 1rem;
337
+ border-radius: 20px;
338
+ font-size: 0.875rem;
339
+ font-weight: 600;
340
+ text-transform: uppercase;
341
+ letter-spacing: 0.5px;
342
+ }
343
+
344
+ .result-badge.real {
345
+ background: rgba(16, 185, 129, 0.1);
346
+ color: var(--success);
347
+ }
348
+
349
+ .result-badge.fake {
350
+ background: rgba(239, 68, 68, 0.1);
351
+ color: var(--error);
352
+ }
353
+
354
+ .result-content {
355
+ display: grid;
356
+ grid-template-columns: 1fr 1fr;
357
+ gap: 2rem;
358
+ align-items: start;
359
+ }
360
+
361
+ .result-image {
362
+ position: relative;
363
+ border-radius: 12px;
364
+ overflow: hidden;
365
+ aspect-ratio: 1;
366
+ }
367
+
368
+ .result-image img {
369
+ width: 100%;
370
+ height: 100%;
371
+ object-fit: cover;
372
+ }
373
+
374
+ .result-details {
375
+ display: flex;
376
+ flex-direction: column;
377
+ gap: 1.5rem;
378
+ }
379
+
380
+ .detail-item {
381
+ display: flex;
382
+ flex-direction: column;
383
+ gap: 0.5rem;
384
+ }
385
+
386
+ .detail-item label {
387
+ font-size: 0.875rem;
388
+ font-weight: 600;
389
+ color: var(--text-light);
390
+ text-transform: uppercase;
391
+ letter-spacing: 0.5px;
392
+ }
393
+
394
+ .detail-item span,
395
+ .detail-item p {
396
+ font-size: 1rem;
397
+ color: var(--text);
398
+ line-height: 1.5;
399
+ }
400
+
401
+ .upload-stats {
402
+ font-size: 0.875rem;
403
+ color: var(--text-light);
404
+ font-weight: 500;
405
+ }
406
+
407
+ .upload-stats span {
408
+ color: var(--primary);
409
+ font-weight: 700;
410
+ }
411
+
412
+ .api-info {
413
+ margin-bottom: 1rem;
414
+ padding: 1rem;
415
+ background: rgba(59, 130, 246, 0.05);
416
+ border-radius: 8px;
417
+ border: 1px solid rgba(59, 130, 246, 0.1);
418
+ }
419
+
420
+ .api-info p {
421
+ margin: 0;
422
+ font-size: 0.875rem;
423
+ color: var(--text-light);
424
+ }
425
+
426
+ .api-info a {
427
+ color: var(--primary);
428
+ text-decoration: none;
429
+ font-weight: 600;
430
+ transition: color 0.3s ease;
431
+ }
432
+
433
+ .api-info a:hover {
434
+ color: var(--primary-dark);
435
+ text-decoration: underline;
436
+ }
437
+
438
+ .input-hint {
439
+ font-size: 0.875rem;
440
+ color: var(--text-light);
441
+ margin-top: 0.5rem;
442
+ text-align: center;
443
+ }
444
+
445
+ @media (max-width: 768px) {
446
+ .container {
447
+ padding: 1rem;
448
+ }
449
+
450
+ .hero {
451
+ margin-bottom: 2rem;
452
+ }
453
+
454
+ .input-group {
455
+ flex-direction: column;
456
+ align-items: stretch;
457
+ }
458
+
459
+ .result-content {
460
+ grid-template-columns: 1fr;
461
+ }
462
+
463
+ .action-buttons {
464
+ flex-direction: column;
465
+ }
466
+
467
+ .upload-area {
468
+ padding: 2rem 1rem;
469
+ }
470
+ }