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

Replace the entire page's background with a dark background with floating glowing particles animation

Browse files
Files changed (1) hide show
  1. index.html +120 -161
index.html CHANGED
@@ -15,62 +15,71 @@
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: "";
27
  position: absolute;
28
  top: 0;
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,18 +93,14 @@
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,30 +160,11 @@ animation: border-spin 3s linear infinite;
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
  }
@@ -270,36 +256,34 @@ animation: border-spin 3s linear infinite;
270
  }
271
  </style>
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,76 +510,51 @@ animation: border-spin 3s linear infinite;
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>
 
15
  scroll-behavior: smooth;
16
  }
17
  body {
18
+ background: #0a0a0a;
19
  color: #F5F5F5;
20
  font-family: 'Poppins', sans-serif;
21
  min-height: 100vh;
22
  position: relative;
23
+ overflow: hidden;
24
  }
25
  body::before {
26
  content: "";
27
  position: absolute;
28
  top: 0;
29
  left: 0;
30
+ width: 100%;
31
+ height: 100%;
32
+ background: radial-gradient(circle at 70% 30%, rgba(255, 106, 0, 0.1) 0%, transparent 40%);
33
+ z-index: -2;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  }
35
+ .floating-particles {
 
36
  position: absolute;
37
  top: 0;
38
+ left: 0;
39
  width: 100%;
40
  height: 100%;
41
+ z-index: -1;
42
+ overflow: hidden;
43
  }
44
+ .particle {
45
+ position: absolute;
46
+ background: rgba(255, 255, 255, 0.8);
47
+ border-radius: 50%;
48
+ filter: blur(1px);
49
+ animation: float linear infinite;
50
+ }
51
+ @keyframes float {
52
+ 0% {
53
+ transform: translateY(0) translateX(0);
54
+ opacity: 0;
55
+ }
56
+ 10% {
57
+ opacity: 1;
58
+ }
59
+ 90% {
60
+ opacity: 1;
61
+ }
62
+ 100% {
63
+ transform: translateY(-100vh) translateX(100px);
64
+ opacity: 0;
65
+ }
66
+ }
67
+ .glass-card {
68
+ background: rgba(10, 10, 10, 0.7);
69
+ border: 1px solid rgba(255, 106, 0, 0.15);
70
+ backdrop-filter: blur(12px);
71
+ border-radius: 1rem;
72
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
73
+ position: relative;
74
+ overflow: hidden;
75
+ transition: all 0.3s ease;
76
  }
77
+ .glass-card:hover {
78
+ transform: translateY(-4px);
79
+ border-color: rgba(255, 255, 255, 0.2);
80
+ box-shadow: 0 0 20px rgba(255, 106, 0, 0.2);
81
+ }
82
+ .chip {
83
  padding: 4px 12px;
84
  border-radius: 100px;
85
  font-size: 12px;
 
93
  border-radius: 100px;
94
  font-weight: 600;
95
  font-size: 14px;
96
+ padding: 10px 24px;
97
  position: relative;
98
  overflow: hidden;
99
+ transition: all 0.3s ease;
100
+ text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
101
  z-index: 1;
 
 
 
 
102
  }
103
+ .pill-button::before {
104
  --a: 0turn;
105
  content: "";
106
  position: absolute;
 
160
  }
161
  .big-number {
162
  font-family: 'Orbitron', sans-serif;
163
+ font-weight: 600;
164
  line-height: 1.2;
165
+ text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
 
 
 
166
  }
167
+ .tooltip-wrapper {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
168
  position: relative;
169
  display: inline-flex;
170
  }
 
256
  }
257
  </style>
258
  </head>
259
+ <body class="min-h-screen relative overflow-x-hidden">
260
+ <div class="floating-particles" id="particles"></div>
261
+ <header class="relative w-full overflow-hidden" id="page-header">
262
+ <div class="absolute inset-0 bg-gradient-to-b from-[#1a0d00] to-[#0a0a0a] opacity-90"></div>
263
+ <div class="relative max-w-7xl mx-auto px-4 md:px-8 py-12 md:py-16">
264
+ <div class="flex flex-col items-center text-center">
265
+ <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);">
266
+ <span class="bg-clip-text text-transparent bg-gradient-to-r from-[#FF6A00] to-[#FFD600]">Nioplay Wallet</span>
 
 
267
  </h1>
268
+ <p class="text-xl md:text-2xl text-[#B8B8B8] max-w-3xl mb-8">
269
+ Your secure gateway to deposits, withdrawals, and real-time balance tracking
270
  </p>
271
 
272
+ <div class="flex flex-wrap justify-center gap-4 mb-12">
273
+ <button id="btn-deposit" class="pill-button pill-button-primary px-8 py-3 text-lg">
274
+ <span class="text-white">Purchase SC</span>
275
+ </button>
276
+ <button id="btn-withdraw" class="pill-button pill-button-secondary px-8 py-3 text-lg">
277
  <span class="text-[#3CE27A]">Redeem Now</span>
278
  </button>
279
+ </div>
280
+ <div class="absolute -bottom-10 left-0 right-0 h-20 bg-gradient-to-t from-[#0a0a0a] to-transparent z-10"></div>
281
+ </div>
282
+
283
+ <div class="absolute inset-0 overflow-hidden opacity-20">
284
+ <div class="absolute top-1/4 left-1/4 w-64 h-64 rounded-full bg-[#FF6A00] blur-[100px]"></div>
285
+ <div class="absolute top-1/3 right-1/3 w-64 h-64 rounded-full bg-[#00E4FF] blur-[100px]"></div>
286
+ <div class="absolute bottom-1/4 right-1/4 w-64 h-64 rounded-full bg-[#3CE27A] blur-[100px]"></div>
287
  </div>
288
  </header>
289
  <div class="max-w-7xl mx-auto px-4 md:px-8 py-8 md:py-10">
 
510
 
511
 
512
  </div>
513
+ <script>
514
+ // Initialize libraries
515
+ document.addEventListener('DOMContentLoaded', function() {
516
+ feather.replace();
517
+ AOS.init({
518
+ duration: 600,
519
+ easing: 'ease-in-out',
520
+ once: true
521
+ });
522
+
523
+ // Accordion functionality
524
+ const accordions = document.querySelectorAll('.accordion');
525
+ accordions.forEach(accordion => {
526
+ accordion.addEventListener('click', function() {
527
+ const expanded = this.getAttribute('aria-expanded') === 'true';
528
+ this.setAttribute('aria-expanded', !expanded);
 
 
 
529
  });
530
+ });
531
+
532
+ // Create floating particles
533
+ const particlesContainer = document.getElementById('particles');
534
+ const particleCount = 50;
535
+
536
+ for (let i = 0; i < particleCount; i++) {
537
+ const particle = document.createElement('div');
538
+ particle.classList.add('particle');
539
 
540
+ const size = Math.random() * 3 + 1;
541
+ const posX = Math.random() * 100;
542
+ const posY = Math.random() * 100 + 100;
543
+ const duration = Math.random() * 20 + 10;
544
+ const delay = Math.random() * 10;
545
+ const opacity = Math.random() * 0.5 + 0.1;
 
 
 
 
 
 
 
 
 
 
 
 
 
546
 
547
+ particle.style.width = `${size}px`;
548
+ particle.style.height = `${size}px`;
549
+ particle.style.left = `${posX}%`;
550
+ particle.style.top = `${posY}%`;
551
+ particle.style.animationDuration = `${duration}s`;
552
+ particle.style.animationDelay = `-${delay}s`;
553
+ particle.style.opacity = opacity;
 
 
 
 
 
 
 
 
 
 
 
 
554
 
555
+ particlesContainer.appendChild(particle);
556
+ }
557
+ });
558
+ </script>
 
 
 
 
 
 
559
  </body>
560
  </html>