ProjectGenesis commited on
Commit
a453c53
·
verified ·
1 Parent(s): 6b6d0ba

Redesign the entire page with a more appealing and modern look. Add in modern animation and keep all content.

Browse files
Files changed (1) hide show
  1. index.html +158 -59
index.html CHANGED
@@ -15,11 +15,12 @@
15
  scroll-behavior: smooth;
16
  }
17
  body {
18
- background: radial-gradient(circle at center, #1a0d00 0%, #0a0a0a 100%);
19
  color: #F5F5F5;
20
  font-family: 'Poppins', sans-serif;
21
  min-height: 100vh;
22
  position: relative;
 
23
  }
24
  body::before {
25
  content: "";
@@ -28,26 +29,48 @@
28
  left: 0;
29
  right: 0;
30
  bottom: 0;
31
- background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm-6 60c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm29 22c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zM40 18c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM9 32c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' opacity='0.1' fill='%23ffffff' fill-rule='evenodd'/%3E%3C/svg%3E");
32
- opacity: 0.1;
 
 
33
  z-index: -1;
 
 
 
 
 
 
34
  }
35
  .glass-card {
36
- background: rgba(10, 10, 10, 0.7);
37
- border: 1px solid rgba(255, 106, 0, 0.15);
38
- backdrop-filter: blur(12px);
39
- border-radius: 1rem;
40
- box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
41
  position: relative;
42
  overflow: hidden;
43
- transition: all 0.3s ease;
 
44
  }
45
- .glass-card:hover {
46
- transform: translateY(-4px);
 
47
  border-color: rgba(255, 255, 255, 0.2);
48
- box-shadow: 0 0 20px rgba(255, 106, 0, 0.2);
49
  }
50
- .chip {
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  padding: 4px 12px;
52
  border-radius: 100px;
53
  font-size: 12px;
@@ -61,14 +84,18 @@
61
  border-radius: 100px;
62
  font-weight: 600;
63
  font-size: 14px;
64
- padding: 10px 24px;
65
  position: relative;
66
  overflow: hidden;
67
- transition: all 0.3s ease;
68
- text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
69
  z-index: 1;
 
 
 
 
70
  }
71
- .pill-button::before {
72
  --a: 0turn;
73
  content: "";
74
  position: absolute;
@@ -128,11 +155,30 @@ animation: border-spin 3s linear infinite;
128
  }
129
  .big-number {
130
  font-family: 'Orbitron', sans-serif;
131
- font-weight: 600;
132
  line-height: 1.2;
133
- text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
 
 
 
134
  }
135
- .tooltip-wrapper {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
136
  position: relative;
137
  display: inline-flex;
138
  }
@@ -226,31 +272,34 @@ animation: border-spin 3s linear infinite;
226
  </head>
227
  <body class="min-h-screen relative overflow-x-hidden">
228
  <header class="relative w-full overflow-hidden" id="page-header">
229
- <div class="absolute inset-0 bg-gradient-to-b from-[#1a0d00] to-[#0a0a0a] opacity-90"></div>
230
- <div class="relative max-w-7xl mx-auto px-4 md:px-8 py-12 md:py-16">
231
- <div class="flex flex-col items-center text-center">
232
- <h1 class="text-4xl md:text-6xl font-bold font-['Orbitron'] mb-4" style="text-shadow: 0 0 15px rgba(255, 106, 0, 0.7);">
233
- <span class="bg-clip-text text-transparent bg-gradient-to-r from-[#FF6A00] to-[#FFD600]">Nioplay Wallet</span>
 
 
 
234
  </h1>
235
- <p class="text-xl md:text-2xl text-[#B8B8B8] max-w-3xl mb-8">
236
- Your secure gateway to deposits, withdrawals, and real-time balance tracking
237
  </p>
238
 
239
- <div class="flex flex-wrap justify-center gap-4 mb-12">
240
- <button id="btn-deposit" class="pill-button pill-button-primary px-8 py-3 text-lg">
241
- <span class="text-white">Purchase SC</span>
242
- </button>
243
- <button id="btn-withdraw" class="pill-button pill-button-secondary px-8 py-3 text-lg">
244
  <span class="text-[#3CE27A]">Redeem Now</span>
245
  </button>
246
- </div>
247
- <div class="absolute -bottom-10 left-0 right-0 h-20 bg-gradient-to-t from-[#0a0a0a] to-transparent z-10"></div>
248
- </div>
249
-
250
- <div class="absolute inset-0 overflow-hidden opacity-20">
251
- <div class="absolute top-1/4 left-1/4 w-64 h-64 rounded-full bg-[#FF6A00] blur-[100px]"></div>
252
- <div class="absolute top-1/3 right-1/3 w-64 h-64 rounded-full bg-[#00E4FF] blur-[100px]"></div>
253
- <div class="absolute bottom-1/4 right-1/4 w-64 h-64 rounded-full bg-[#3CE27A] blur-[100px]"></div>
254
  </div>
255
  </header>
256
  <div class="max-w-7xl mx-auto px-4 md:px-8 py-8 md:py-10">
@@ -477,26 +526,76 @@ animation: border-spin 3s linear infinite;
477
 
478
 
479
  </div>
480
-
481
- <script>
482
- // Initialize libraries
483
- document.addEventListener('DOMContentLoaded', function() {
484
- feather.replace();
485
- AOS.init({
486
- duration: 600,
487
- easing: 'ease-in-out',
488
- once: true
489
- });
490
-
491
- // Accordion functionality
492
- const accordions = document.querySelectorAll('.accordion');
493
- accordions.forEach(accordion => {
494
- accordion.addEventListener('click', function() {
495
- const expanded = this.getAttribute('aria-expanded') === 'true';
496
- this.setAttribute('aria-expanded', !expanded);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
497
  });
498
  });
499
- });
500
- </script>
501
  </body>
502
  </html>
 
15
  scroll-behavior: smooth;
16
  }
17
  body {
18
+ background: linear-gradient(135deg, #0f0f15 0%, #1a1a2e 100%);
19
  color: #F5F5F5;
20
  font-family: 'Poppins', sans-serif;
21
  min-height: 100vh;
22
  position: relative;
23
+ overflow-x: hidden;
24
  }
25
  body::before {
26
  content: "";
 
29
  left: 0;
30
  right: 0;
31
  bottom: 0;
32
+ background:
33
+ radial-gradient(circle at 20% 30%, rgba(255, 106, 0, 0.15) 0%, transparent 30%),
34
+ radial-gradient(circle at 80% 70%, rgba(0, 228, 255, 0.15) 0%, transparent 30%),
35
+ radial-gradient(circle at 40% 80%, rgba(60, 226, 122, 0.15) 0%, transparent 30%);
36
  z-index: -1;
37
+ animation: gradientPulse 15s ease infinite alternate;
38
+ }
39
+
40
+ @keyframes gradientPulse {
41
+ 0% { opacity: 0.5; }
42
+ 100% { opacity: 0.8; }
43
  }
44
  .glass-card {
45
+ background: rgba(20, 20, 30, 0.6);
46
+ border: 1px solid rgba(255, 255, 255, 0.1);
47
+ backdrop-filter: blur(16px);
48
+ border-radius: 16px;
49
+ box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
50
  position: relative;
51
  overflow: hidden;
52
+ transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
53
+ transform: translateY(0);
54
  }
55
+ .glass-card:hover {
56
+ transform: translateY(-8px);
57
+ box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
58
  border-color: rgba(255, 255, 255, 0.2);
 
59
  }
60
+ .glass-card::before {
61
+ content: '';
62
+ position: absolute;
63
+ top: 0;
64
+ left: -100%;
65
+ width: 100%;
66
+ height: 100%;
67
+ background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
68
+ transition: 0.5s;
69
+ }
70
+ .glass-card:hover::before {
71
+ left: 100%;
72
+ }
73
+ .chip {
74
  padding: 4px 12px;
75
  border-radius: 100px;
76
  font-size: 12px;
 
84
  border-radius: 100px;
85
  font-weight: 600;
86
  font-size: 14px;
87
+ padding: 12px 28px;
88
  position: relative;
89
  overflow: hidden;
90
+ transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
91
+ text-shadow: 0 0 10px currentColor;
92
  z-index: 1;
93
+ transform: scale(1);
94
+ }
95
+ .pill-button:hover {
96
+ transform: scale(1.05);
97
  }
98
+ .pill-button::before {
99
  --a: 0turn;
100
  content: "";
101
  position: absolute;
 
155
  }
156
  .big-number {
157
  font-family: 'Orbitron', sans-serif;
158
+ font-weight: 700;
159
  line-height: 1.2;
160
+ text-shadow: 0 0 15px currentColor;
161
+ letter-spacing: 1px;
162
+ position: relative;
163
+ display: inline-block;
164
  }
165
+ .big-number::after {
166
+ content: '';
167
+ position: absolute;
168
+ bottom: -5px;
169
+ left: 0;
170
+ width: 100%;
171
+ height: 2px;
172
+ background: currentColor;
173
+ transform: scaleX(0);
174
+ transform-origin: right;
175
+ transition: transform 0.4s ease;
176
+ }
177
+ .glass-card:hover .big-number::after {
178
+ transform: scaleX(1);
179
+ transform-origin: left;
180
+ }
181
+ .tooltip-wrapper {
182
  position: relative;
183
  display: inline-flex;
184
  }
 
272
  </head>
273
  <body class="min-h-screen relative overflow-x-hidden">
274
  <header class="relative w-full overflow-hidden" id="page-header">
275
+ <div class="absolute inset-0 bg-gradient-to-br from-[#1a1a2e] to-[#16213e] opacity-95"></div>
276
+ <div class="relative max-w-7xl mx-auto px-4 md:px-8 py-8 md:py-12">
277
+ <div class="flex flex-col items-center text-center">
278
+ <h1 class="text-5xl md:text-7xl font-bold font-['Orbitron'] mb-6">
279
+ <span class="relative inline-block">
280
+ <span class="bg-clip-text text-transparent bg-gradient-to-r from-[#FF6A00] via-[#FFD600] to-[#3CE27A] animate-gradient-x">Nioplay Wallet</span>
281
+ <span class="absolute -bottom-2 left-0 w-full h-1 bg-gradient-to-r from-[#FF6A00] via-[#FFD600] to-[#3CE27A] rounded-full"></span>
282
+ </span>
283
  </h1>
284
+ <p class="text-xl md:text-2xl text-[#E0E0E0] max-w-3xl mb-8 leading-relaxed">
285
+ Your <span class="text-[#FFD600] font-medium">secure gateway</span> to deposits, withdrawals, and <span class="text-[#00E4FF] font-medium">real-time</span> balance tracking
286
  </p>
287
 
288
+ <div class="flex flex-wrap justify-center gap-6 mb-8">
289
+ <button id="btn-deposit" class="pill-button pill-button-primary px-8 py-3 text-lg transform hover:-translate-y-1 transition-transform duration-300">
290
+ <span class="text-white">Purchase SC</span>
291
+ </button>
292
+ <button id="btn-withdraw" class="pill-button pill-button-secondary px-8 py-3 text-lg transform hover:-translate-y-1 transition-transform duration-300">
293
  <span class="text-[#3CE27A]">Redeem Now</span>
294
  </button>
295
+ </div>
296
+ </div>
297
+
298
+ <div class="absolute inset-0 overflow-hidden z-0 pointer-events-none">
299
+ <div class="absolute top-1/4 left-1/4 w-64 h-64 rounded-full bg-[#FF6A00] blur-[120px] opacity-40 animate-pulse"></div>
300
+ <div class="absolute top-1/3 right-1/3 w-64 h-64 rounded-full bg-[#00E4FF] blur-[120px] opacity-30 animate-pulse animation-delay-2000"></div>
301
+ <div class="absolute bottom-1/4 right-1/4 w-64 h-64 rounded-full bg-[#3CE27A] blur-[120px] opacity-30 animate-pulse animation-delay-4000"></div>
302
+ </div>
303
  </div>
304
  </header>
305
  <div class="max-w-7xl mx-auto px-4 md:px-8 py-8 md:py-10">
 
526
 
527
 
528
  </div>
529
+ <script>
530
+ // Initialize libraries
531
+ document.addEventListener('DOMContentLoaded', function() {
532
+ feather.replace();
533
+ AOS.init({
534
+ duration: 800,
535
+ easing: 'ease-out-quart',
536
+ once: true,
537
+ offset: 100
538
+ });
539
+
540
+ // Smooth scroll animations for all links
541
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
542
+ anchor.addEventListener('click', function (e) {
543
+ e.preventDefault();
544
+ document.querySelector(this.getAttribute('href')).scrollIntoView({
545
+ behavior: 'smooth'
546
+ });
547
+ });
548
+ });
549
+
550
+ // Button hover animations
551
+ document.querySelectorAll('.pill-button').forEach(button => {
552
+ button.addEventListener('mouseenter', function() {
553
+ anime({
554
+ targets: this,
555
+ scale: 1.05,
556
+ duration: 300,
557
+ easing: 'easeOutExpo'
558
+ });
559
+ });
560
+ button.addEventListener('mouseleave', function() {
561
+ anime({
562
+ targets: this,
563
+ scale: 1,
564
+ duration: 300,
565
+ easing: 'easeOutExpo'
566
+ });
567
+ });
568
+ });
569
+
570
+ // Card hover animations
571
+ document.querySelectorAll('.glass-card').forEach(card => {
572
+ card.addEventListener('mouseenter', function() {
573
+ anime({
574
+ targets: this,
575
+ translateY: -15,
576
+ duration: 400,
577
+ easing: 'easeOutExpo'
578
+ });
579
+ });
580
+ card.addEventListener('mouseleave', function() {
581
+ anime({
582
+ targets: this,
583
+ translateY: 0,
584
+ duration: 400,
585
+ easing: 'easeOutExpo'
586
+ });
587
+ });
588
+ });
589
+
590
+ // Gradient animation for hero text
591
+ anime({
592
+ targets: '.animate-gradient-x',
593
+ backgroundPositionX: ['0%', '100%'],
594
+ duration: 8000,
595
+ easing: 'linear',
596
+ loop: true
597
  });
598
  });
599
+ </script>
 
600
  </body>
601
  </html>