-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
424 lines (366 loc) · 11.2 KB
/
style.css
File metadata and controls
424 lines (366 loc) · 11.2 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
/* Import Animate.css for entrance animations */
@import url("https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css");
/* Base Styles */
body {
font-family: 'Poppins', sans-serif; /* Primary font for general text */
line-height: 1.6;
color: #333;
overflow-x: hidden; /* Prevent horizontal scroll due to animations */
background-color: #f8f9fa;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Nunito', sans-serif; /* Accent font for headings */
font-weight: 700;
}
/* Colors */
:root {
--red-primary: #ff394a; /* Main theme color */
--red-darker-hover: #e6313d; /* Darker shade for hover effects */
--white: #FFFFFF;
--black-accent: #1A1A1A;
--light-cream: #FEFBF5; /* Updated: Slightly more neutral cream/pale beige */
}
/* --- Hero Section --- */
#hero {
background-color: var(--red-primary);
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 100 100" preserveAspectRatio="none"><circle cx="10" cy="10" r="5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="20" r="8" fill="rgba(255,255,255,0.1)"/><circle cx="30" cy="80" r="6" fill="rgba(255,255,255,0.1)"/><circle cx="70" cy="90" r="7" fill="rgba(255,255,255,0.1)"/><path d="M0 0 L100 0 L100 100 L0 100 Z" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>'); /* Subtle SVG pattern */
background-size: cover;
background-position: center;
position: relative;
overflow: hidden; /* For containing animations */
}
/* Simple bubble animation for hero background */
#hero::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: radial-gradient(circle at 10% 20%, rgba(255,255,255,0.05) 0%, transparent 10%),
radial-gradient(circle at 90% 80%, rgba(255,255,255,0.08) 0%, transparent 12%),
radial-gradient(circle at 40% 60%, rgba(255,255,255,0.06) 0%, transparent 11%);
animation: backgroundAnimate 20s infinite alternate ease-in-out;
z-index: 0;
}
@keyframes backgroundAnimate {
0% {
transform: scale(1);
}
100% {
transform: scale(1.1);
}
}
.snoofi-mascot {
max-width: 250px; /* Adjust size as needed */
margin-bottom: 20px;
filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.3)); /* Soft shadow */
animation-delay: 0.5s; /* Delay mascot animation */
}
.snoofi-logo {
max-width: 400px; /* Adjust size as needed */
filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.3)); /* Soft shadow */
animation-delay: 0.7s; /* Delay logo animation */
}
#hero h1 {
font-size: 3.5rem;
animation-delay: 1s;
}
#hero p {
font-size: 1.5rem;
animation-delay: 1.2s;
}
/* Responsive adjustments for Hero */
@media (max-width: 768px) {
.snoofi-mascot {
max-width: 180px;
}
.snoofi-logo {
max-width: 300px;
}
#hero h1 {
font-size: 2.5rem;
}
#hero p {
font-size: 1.2rem;
}
}
/* --- Token Info Card --- */
#token-info {
background-color: var(--black-accent); /* Dark background for contrast */
color: var(--white);
min-height: 50vh;
}
.glassmorphism-card {
background: rgba(255, 255, 255, 0.15); /* White with transparency */
border-radius: 20px;
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
backdrop-filter: blur(10px); /* Glass effect */
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.18);
max-width: 700px; /* Max width for the card */
animation-delay: 0.2s;
}
.glassmorphism-card h2 {
font-size: 2rem;
font-weight: 700;
color: var(--red-primary); /* Changed text color to theme red */
}
.glassmorphism-card .arena-logo {
border-radius: 10px;
filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.2));
}
.info-link {
color: var(--white);
text-decoration: none;
display: flex;
flex-direction: column;
align-items: center;
font-size: 1.1rem;
transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
padding: 10px;
border-radius: 10px;
}
.info-link:hover {
color: var(--red-primary); /* Change color on hover */
transform: scale(1.1);
text-shadow: 0 0 10px rgba(255, 57, 74, 0.7); /* Glow effect */
}
.info-link i {
margin-bottom: 8px;
}
/* --- Buy $SNOOFI CTA --- */
.bg-light-cream {
background-color: var(--light-cream);
}
.btn-buy-snoofi {
background-color: var(--red-primary);
border-color: var(--red-primary);
color: var(--white);
font-size: 1.8rem;
padding: 15px 40px;
border-radius: 50px; /* Pill shape */
font-weight: bold;
transition: all 0.3s ease;
box-shadow: 0 8px 15px rgba(255, 57, 74, 0.4);
}
.btn-buy-snoofi:hover {
background-color: var(--red-darker-hover);
border-color: var(--red-darker-hover);
color: var(--white);
transform: scale(1.05); /* Gentle scale */
box-shadow: 0 12px 20px rgba(255, 57, 74, 0.6);
}
.how-to-buy-link {
font-weight: 600;
text-decoration: underline !important;
transition: color 0.3s ease;
}
.how-to-buy-link:hover {
color: var(--red-primary) !important;
}
/* --- How to Buy Section --- */
.how-to-card {
background-color: var(--white);
border-radius: 15px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
height: 100%; /* Ensure cards are same height */
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.how-to-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.how-to-card .icon-wrapper {
background-color: var(--red-primary);
border-radius: 50%;
width: 80px;
height: 80px;
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 20px;
color: var(--white);
box-shadow: 0 4px 10px rgba(255, 57, 74, 0.3);
}
.how-to-card .icon-hover {
transition: transform 0.3s ease;
}
.how-to-card:hover .icon-hover {
transform: scale(1.1);
}
/* --- Community Section --- */
#community {
background-color: var(--red-primary); /* Primary red background */
color: var(--white);
min-height: 60vh;
}
.btn-x-join { /* New class for X button */
background-color: var(--black-accent);
border-color: var(--black-accent);
color: var(--white);
font-size: 1.5rem;
padding: 12px 30px;
border-radius: 50px;
transition: all 0.3s ease;
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4); /* Shadow uses black accent color */
}
.btn-x-join:hover { /* New class for X button */
background-color: #333;
border-color: #333;
color: var(--white);
transform: scale(1.05);
box-shadow: 0 12px 20px rgba(0, 0, 0, 0.6);
}
.twitter-feed-placeholder {
background-color: rgba(0, 0, 0, 0.3); /* Slightly transparent black */
border-radius: 15px;
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
border: 1px solid rgba(255, 255, 255, 0.1);
max-width: 600px;
margin: 0 auto;
overflow: hidden; /* For scrolling tweets */
}
.fake-tweet-scroller {
height: 150px; /* Fixed height for scrolling area */
overflow: hidden;
position: relative;
}
.tweet-item {
padding: 10px 15px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
animation: scrollTweets 15s linear infinite; /* Adjust duration as needed */
white-space: nowrap;
}
.tweet-item:last-child {
border-bottom: none;
}
@keyframes scrollTweets {
0% { transform: translateY(0); }
100% { transform: translateY(calc(-100% + 150px)); /* Adjust 150px to .fake-tweet-scroller height */ }
}
/* Pause animation on hover */
.fake-tweet-scroller:hover .tweet-item {
animation-play-state: paused;
}
/* --- Footer --- */
.footer {
background-color: var(--black-accent);
color: var(--white);
font-size: 0.9rem;
}
.footer-mascot {
max-width: 60px; /* Small mascot in footer */
filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.2));
/* Optional: wagging tail animation (more complex SVG/JS required) */
/* For now, a simple pulse can be added */
animation: pulse 2s infinite ease-in-out;
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.05); }
100% { transform: scale(1); }
}
.footer .list-inline-item a {
transition: color 0.3s ease;
}
.footer .list-inline-item a:hover {
color: var(--red-primary) !important;
}
/* --- Floating Icons --- */
/* Default fixed position for desktop/laptop */
.floating-icons {
position: fixed;
bottom: 20px;
right: 20px;
z-index: 1000;
display: flex;
flex-direction: column;
gap: 15px;
}
.floating-btn {
background-color: var(--red-primary);
color: var(--white);
width: 60px;
height: 60px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4px 10px rgba(255, 57, 74, 0.4);
transition: all 0.3s ease;
text-decoration: none;
position: relative;
overflow: hidden; /* For pulse effect */
}
.floating-btn:hover {
background-color: var(--red-darker-hover);
transform: translateY(-5px);
box-shadow: 0 6px 15px rgba(255, 57, 74, 0.6);
}
.hover-pulse:hover::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 100%;
height: 100%;
background-color: rgba(255, 255, 255, 0.2);
border-radius: 50%;
transform: translate(-50%, -50%) scale(0);
animation: pulseEffect 0.5s ease-out forwards;
}
@keyframes pulseEffect {
to {
transform: translate(-50%, -50%) scale(1);
opacity: 0;
}
}
/* General Hover Effects */
.hover-effect {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-effect:hover {
transform: scale(1.03);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
/* Specific Hover Bounce for Buttons */
.hover-bounce {
animation-timing-function: ease-in-out;
}
.hover-bounce:hover {
animation: bounce 0.5s;
}
@keyframes bounce {
0%, 100% { transform: translateY(0); }
20% { transform: translateY(-6px); }
40% { transform: translateY(0); }
60% { transform: translateY(-3px); }
80% { transform: translateY(0); }
}
/* Responsive Floating Icons - HIDE ON MOBILE */
@media (max-width: 576px) {
.floating-icons {
display: none; /* This will hide the floating X logo on screens 576px and smaller */
}
/* No need for other mobile positioning properties here if display: none is used */
}
/* Animations for elements using Animate.css */
/* Ensure elements start hidden if they use Animate.css for entrance */
.animate__animated {
visibility: hidden;
}
.animate__animated.animate__fadeIn,
.animate__animated.animate__fadeInDown,
.animate__animated.animate__fadeInUp,
.animate__animated.animate__zoomIn,
.animate__animated.animate__fadeInLeft,
.animate__animated.animate__fadeInRight {
visibility: visible;
}