-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
450 lines (392 loc) · 9.07 KB
/
styles.css
File metadata and controls
450 lines (392 loc) · 9.07 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
background: #000000;
color: #ffffff;
overflow-x: hidden;
min-height: 100vh;
}
.container {
min-height: 100vh;
display: flex;
flex-direction: column;
position: relative;
background: linear-gradient(135deg, #000000 0%, #111111 50%, #000000 100%);
}
/* Header Styles */
.header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 40px;
font-size: 14px;
font-weight: 400;
opacity: 0.8;
position: relative;
z-index: 10;
}
.logo {
font-weight: 600;
font-size: 16px;
}
.tagline {
color: #888;
}
.follow {
color: #888;
}
/* Main Content */
.main-content {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
position: relative;
min-height: 70vh;
}
/* Globe Styles */
.globe-container {
position: relative;
margin-bottom: 60px;
}
.globe {
width: 200px;
height: 200px;
border-radius: 50%;
position: relative;
background: radial-gradient(circle at 30% 30%, #222222, #111111, #000000);
box-shadow:
inset 0 0 50px rgba(0, 0, 0, 0.9),
0 0 80px rgba(0, 255, 136, 0.2),
0 0 120px rgba(0, 255, 136, 0.1);
animation: rotate 20s linear infinite;
overflow: hidden;
border: 2px solid rgba(0, 255, 136, 0.3);
}
.globe::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
border-radius: 50%;
background: radial-gradient(circle at 30% 30%, transparent 30%, rgba(0, 0, 0, 0.3) 70%);
}
.globe-inner {
position: absolute;
top: 10%;
left: 10%;
width: 80%;
height: 80%;
border-radius: 50%;
background:
radial-gradient(circle at 20% 20%, #68d391 5%, transparent 25%),
radial-gradient(circle at 70% 60%, #81c784 8%, transparent 30%),
radial-gradient(circle at 30% 80%, #a5d6a7 6%, transparent 25%),
radial-gradient(circle at 80% 30%, #c8e6c9 4%, transparent 20%);
opacity: 0.6;
}
.continents {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: 50%;
background:
radial-gradient(ellipse at 60% 30%, #4ade80 3%, transparent 15%),
radial-gradient(ellipse at 25% 70%, #22c55e 4%, transparent 18%),
radial-gradient(ellipse at 75% 80%, #16a34a 2%, transparent 12%);
opacity: 0.8;
animation: continentShift 30s ease-in-out infinite;
}
@keyframes rotate {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
@keyframes continentShift {
0%, 100% { transform: rotate(0deg) scale(1); }
50% { transform: rotate(5deg) scale(1.02); }
}
/* Countdown Styles */
.countdown-container {
display: flex;
gap: 40px;
margin-bottom: 40px;
flex-wrap: wrap;
justify-content: center;
}
.countdown-item {
text-align: center;
position: relative;
}
.countdown-number {
display: block;
font-size: clamp(4rem, 8vw, 8rem);
font-weight: 800;
line-height: 1;
background: linear-gradient(135deg, #ffffff 0%, #00ff88 50%, #ffffff 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-shadow: 0 0 30px rgba(0, 255, 136, 0.4);
filter: drop-shadow(0 4px 20px rgba(0, 255, 136, 0.2));
transition: all 0.3s ease;
}
.countdown-number:hover {
transform: scale(1.05);
text-shadow: 0 0 50px rgba(0, 255, 136, 0.6);
filter: drop-shadow(0 4px 30px rgba(0, 255, 136, 0.4));
}
.countdown-label {
display: block;
font-size: 14px;
font-weight: 500;
color: #94a3b8;
text-transform: uppercase;
letter-spacing: 2px;
margin-top: 10px;
}
/* Info Section */
.info-section {
text-align: center;
max-width: 600px;
margin: 40px 20px;
}
.info-title {
font-size: clamp(1.5rem, 4vw, 2.5rem);
font-weight: 600;
margin-bottom: 10px;
background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.info-subtitle {
color: #94a3b8;
font-size: 16px;
margin-bottom: 20px;
}
.total-seconds {
color: #64748b;
font-size: 16px;
font-family: 'Monaco', 'Menlo', monospace;
background: rgba(255, 255, 255, 0.1);
padding: 15px 25px;
border-radius: 12px;
border: 1px solid rgba(255, 255, 255, 0.2);
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
white-space: nowrap;
overflow: hidden;
}
#totalSeconds {
color: #00ff88;
font-weight: 700;
font-size: 18px;
text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
white-space: nowrap;
}
/* Date Input Section */
.date-input-section {
text-align: center;
margin: 30px 20px;
padding: 30px;
background: rgba(255, 255, 255, 0.08);
border-radius: 20px;
border: 1px solid rgba(255, 255, 255, 0.15);
backdrop-filter: blur(15px);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
opacity: 1;
transition: all 0.3s ease;
}
.input-title {
font-size: clamp(1.2rem, 3vw, 1.8rem);
font-weight: 600;
margin-bottom: 20px;
background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.date-input-container {
display: flex;
flex-direction: column;
align-items: center;
gap: 15px;
}
.date-label {
color: #94a3b8;
font-size: 16px;
font-weight: 500;
}
.date-input {
background: rgba(255, 255, 255, 0.1);
border: 2px solid rgba(255, 255, 255, 0.2);
border-radius: 12px;
padding: 12px 16px;
color: #ffffff;
font-size: 16px;
font-family: inherit;
transition: all 0.3s ease;
min-width: 280px;
}
.date-input:focus {
outline: none;
border-color: #4ade80;
box-shadow: 0 0 20px rgba(74, 222, 128, 0.3);
background: rgba(255, 255, 255, 0.15);
}
.date-input::-webkit-calendar-picker-indicator {
filter: invert(1);
cursor: pointer;
}
.update-btn {
background: linear-gradient(135deg, #00ff88 0%, #00cc66 100%);
border: none;
border-radius: 15px;
padding: 15px 30px;
color: #000000;
font-size: 16px;
font-weight: 700;
cursor: pointer;
transition: all 0.3s ease;
min-width: 180px;
text-transform: uppercase;
letter-spacing: 1px;
box-shadow: 0 4px 20px rgba(0, 255, 136, 0.3);
}
.update-btn:hover {
transform: translateY(-3px);
box-shadow: 0 12px 35px rgba(0, 255, 136, 0.5);
background: linear-gradient(135deg, #00cc66 0%, #00ff88 100%);
}
.update-btn:active {
transform: translateY(-1px);
box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
}
/* Footer Styles */
.footer {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 40px;
font-size: 12px;
color: #64748b;
border-top: 1px solid rgba(255, 255, 255, 0.1);
margin-top: auto;
}
.footer-center {
display: flex;
align-items: center;
gap: 10px;
}
.signup-btn {
background: #3b82f6;
color: white;
border: none;
padding: 6px 12px;
border-radius: 4px;
font-size: 12px;
cursor: pointer;
transition: background 0.3s ease;
}
.signup-btn:hover {
background: #2563eb;
}
/* Responsive Design */
@media (max-width: 768px) {
.header,
.footer {
flex-direction: column;
gap: 10px;
text-align: center;
}
.countdown-container {
gap: 20px;
}
.countdown-number {
font-size: clamp(3rem, 12vw, 6rem);
}
.globe {
width: 150px;
height: 150px;
}
.header,
.footer {
padding: 20px;
}
.date-input-section {
margin: 20px 10px;
padding: 20px;
}
.date-input-container {
gap: 12px;
}
.date-input {
min-width: 250px;
}
}
@media (max-width: 480px) {
.countdown-container {
gap: 15px;
}
.countdown-number {
font-size: clamp(2.5rem, 15vw, 4rem);
}
.globe {
width: 120px;
height: 120px;
}
.date-input {
min-width: 200px;
font-size: 14px;
}
.update-btn {
font-size: 14px;
padding: 10px 20px;
}
}
/* Loading Animation */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.countdown-item {
animation: fadeInUp 1s ease 0.2s both;
}
.countdown-item:nth-child(2) {
animation-delay: 0.4s;
}
.countdown-item:nth-child(3) {
animation-delay: 0.6s;
}
.countdown-item:nth-child(4) {
animation-delay: 0.8s;
}
/* Glowing effect for active countdown */
.countdown-number.pulse {
animation: pulse 1s ease-in-out;
}
@keyframes pulse {
0%, 100% {
text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}
50% {
text-shadow: 0 0 50px rgba(255, 255, 255, 0.6);
}
}