Spaces:
Running
Running
Replace the entire page's background with a dark background with floating glowing particles animation
Browse files- index.html +120 -161
index.html
CHANGED
|
@@ -15,62 +15,71 @@
|
|
| 15 |
scroll-behavior: smooth;
|
| 16 |
}
|
| 17 |
body {
|
| 18 |
-
background:
|
| 19 |
color: #F5F5F5;
|
| 20 |
font-family: 'Poppins', sans-serif;
|
| 21 |
min-height: 100vh;
|
| 22 |
position: relative;
|
| 23 |
-
overflow
|
| 24 |
}
|
| 25 |
body::before {
|
| 26 |
content: "";
|
| 27 |
position: absolute;
|
| 28 |
top: 0;
|
| 29 |
left: 0;
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
background:
|
| 33 |
-
|
| 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 |
-
.
|
| 61 |
-
content: '';
|
| 62 |
position: absolute;
|
| 63 |
top: 0;
|
| 64 |
-
left:
|
| 65 |
width: 100%;
|
| 66 |
height: 100%;
|
| 67 |
-
|
| 68 |
-
|
| 69 |
}
|
| 70 |
-
.
|
| 71 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 72 |
}
|
| 73 |
-
.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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:
|
| 88 |
position: relative;
|
| 89 |
overflow: hidden;
|
| 90 |
-
transition: all 0.
|
| 91 |
-
text-shadow: 0 0
|
| 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:
|
| 159 |
line-height: 1.2;
|
| 160 |
-
text-shadow: 0 0
|
| 161 |
-
letter-spacing: 1px;
|
| 162 |
-
position: relative;
|
| 163 |
-
display: inline-block;
|
| 164 |
}
|
| 165 |
-
.
|
| 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 |
-
|
| 275 |
-
|
| 276 |
-
<div class="
|
| 277 |
-
|
| 278 |
-
|
| 279 |
-
|
| 280 |
-
|
| 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-[#
|
| 285 |
-
Your
|
| 286 |
</p>
|
| 287 |
|
| 288 |
-
<div class="flex flex-wrap justify-center gap-
|
| 289 |
-
|
| 290 |
-
|
| 291 |
-
|
| 292 |
-
<button id="btn-withdraw" class="pill-button pill-button-secondary px-8 py-3 text-lg
|
| 293 |
<span class="text-[#3CE27A]">Redeem Now</span>
|
| 294 |
</button>
|
| 295 |
-
|
| 296 |
-
|
| 297 |
-
|
| 298 |
-
|
| 299 |
-
|
| 300 |
-
|
| 301 |
-
|
| 302 |
-
|
| 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 |
-
|
| 530 |
-
|
| 531 |
-
|
| 532 |
-
|
| 533 |
-
|
| 534 |
-
|
| 535 |
-
|
| 536 |
-
|
| 537 |
-
|
| 538 |
-
|
| 539 |
-
|
| 540 |
-
|
| 541 |
-
|
| 542 |
-
|
| 543 |
-
|
| 544 |
-
|
| 545 |
-
behavior: 'smooth'
|
| 546 |
-
});
|
| 547 |
-
});
|
| 548 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 549 |
|
| 550 |
-
|
| 551 |
-
|
| 552 |
-
|
| 553 |
-
|
| 554 |
-
|
| 555 |
-
|
| 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 |
-
|
| 571 |
-
|
| 572 |
-
|
| 573 |
-
|
| 574 |
-
|
| 575 |
-
|
| 576 |
-
|
| 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 |
-
|
| 591 |
-
|
| 592 |
-
|
| 593 |
-
|
| 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>
|