Spaces:
Running
Running
Improve the visuals of the site more
Browse files- index.html +339 -206
index.html
CHANGED
|
@@ -22,26 +22,29 @@
|
|
| 22 |
}
|
| 23 |
</script>
|
| 24 |
<style>
|
| 25 |
-
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
|
| 26 |
body {
|
| 27 |
font-family: 'Inter', sans-serif;
|
| 28 |
}
|
| 29 |
.gradient-bg {
|
| 30 |
-
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
| 31 |
}
|
| 32 |
.progress-bar {
|
| 33 |
-
height:
|
| 34 |
-
border-radius:
|
| 35 |
-
background
|
| 36 |
overflow: hidden;
|
| 37 |
position: relative;
|
|
|
|
| 38 |
}
|
| 39 |
.progress-fill {
|
| 40 |
height: 100%;
|
| 41 |
-
border-radius:
|
| 42 |
-
background: linear-gradient(90deg, #667eea, #764ba2);
|
| 43 |
transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
|
| 44 |
position: relative;
|
|
|
|
|
|
|
| 45 |
}
|
| 46 |
.progress-fill::after {
|
| 47 |
content: '';
|
|
@@ -50,27 +53,27 @@
|
|
| 50 |
left: 0;
|
| 51 |
right: 0;
|
| 52 |
bottom: 0;
|
| 53 |
-
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.
|
| 54 |
-
animation: shimmer
|
| 55 |
}
|
| 56 |
@keyframes shimmer {
|
| 57 |
0% { transform: translateX(-100%); }
|
| 58 |
100% { transform: translateX(100%); }
|
| 59 |
}
|
| 60 |
.floating-card {
|
| 61 |
-
animation: float
|
| 62 |
-
box-shadow: 0
|
| 63 |
}
|
| 64 |
@keyframes float {
|
| 65 |
-
0%, 100% { transform: translateY(0px) rotate(
|
| 66 |
-
50% { transform: translateY(-
|
| 67 |
}
|
| 68 |
.fade-in {
|
| 69 |
opacity: 0;
|
| 70 |
-
transform: translateY(
|
| 71 |
}
|
| 72 |
.hover-lift {
|
| 73 |
-
transition: all 0.
|
| 74 |
position: relative;
|
| 75 |
overflow: hidden;
|
| 76 |
}
|
|
@@ -81,15 +84,15 @@
|
|
| 81 |
left: -100%;
|
| 82 |
width: 100%;
|
| 83 |
height: 100%;
|
| 84 |
-
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.
|
| 85 |
-
transition: left 0.
|
| 86 |
}
|
| 87 |
.hover-lift:hover::before {
|
| 88 |
left: 100%;
|
| 89 |
}
|
| 90 |
.hover-lift:hover {
|
| 91 |
-
transform: translateY(-
|
| 92 |
-
box-shadow: 0
|
| 93 |
}
|
| 94 |
.pulse-ring {
|
| 95 |
position: relative;
|
|
@@ -102,58 +105,117 @@
|
|
| 102 |
right: 0;
|
| 103 |
bottom: 0;
|
| 104 |
border-radius: inherit;
|
| 105 |
-
animation: pulse-ring
|
| 106 |
}
|
| 107 |
@keyframes pulse-ring {
|
| 108 |
-
0% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.
|
| 109 |
-
|
| 110 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 111 |
}
|
| 112 |
.glass-effect {
|
| 113 |
-
background: rgba(255, 255, 255, 0.
|
| 114 |
-
backdrop-filter: blur(
|
| 115 |
-
border: 1px solid rgba(255, 255, 255, 0.
|
| 116 |
}
|
| 117 |
.card-gradient {
|
| 118 |
-
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
| 119 |
}
|
| 120 |
.text-gradient {
|
| 121 |
-
background: linear-gradient(135deg, #667eea, #764ba2);
|
| 122 |
-webkit-background-clip: text;
|
| 123 |
-webkit-text-fill-color: transparent;
|
| 124 |
background-clip: text;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 125 |
}
|
| 126 |
</style>
|
| 127 |
</head>
|
| 128 |
<body class="bg-gray-50 min-h-screen">
|
| 129 |
<!-- Navigation -->
|
| 130 |
-
<nav class="bg-white/95 backdrop-blur-
|
| 131 |
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
| 132 |
<div class="flex justify-between h-20">
|
| 133 |
<div class="flex items-center">
|
| 134 |
<div class="flex-shrink-0 flex items-center">
|
| 135 |
-
<div class="w-
|
| 136 |
-
<i data-feather="award" class="text-white h-
|
| 137 |
</div>
|
| 138 |
-
<span class="ml-
|
| 139 |
</div>
|
| 140 |
-
<div class="hidden md:ml-
|
| 141 |
-
<a href="#" class="text-
|
| 142 |
Home
|
| 143 |
</a>
|
| 144 |
-
<a href="#" class="text-gray-600 hover:text-
|
| 145 |
Venues
|
| 146 |
</a>
|
| 147 |
-
<a href="#" class="text-gray-600 hover:text-
|
| 148 |
Rewards
|
| 149 |
</a>
|
| 150 |
</div>
|
| 151 |
</div>
|
| 152 |
-
<div class="flex items-center space-x-
|
| 153 |
-
<button class="px-
|
| 154 |
Sign In
|
| 155 |
</button>
|
| 156 |
-
<button class="px-
|
| 157 |
Sign Up
|
| 158 |
</button>
|
| 159 |
</div>
|
|
@@ -162,135 +224,136 @@
|
|
| 162 |
</nav>
|
| 163 |
<!-- Hero Section -->
|
| 164 |
<div class="gradient-bg text-white relative overflow-hidden">
|
| 165 |
-
<div class="
|
| 166 |
-
<div class="
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
|
|
|
|
| 170 |
Drink More,<br>
|
| 171 |
-
<span class="text-gradient">Save More</span>
|
| 172 |
</h1>
|
| 173 |
-
<p class="mt-
|
| 174 |
Earn exclusive discounts at your favorite bars with every shout. The more you drink, the more you save on your next round!
|
| 175 |
</p>
|
| 176 |
-
<div class="mt-
|
| 177 |
-
<button class="inline-flex items-center px-
|
| 178 |
Get Started
|
| 179 |
-
<i data-feather="arrow-right" class="ml-
|
| 180 |
</button>
|
| 181 |
-
<button class="inline-flex items-center px-
|
| 182 |
-
<i data-feather="play-circle" class="mr-
|
| 183 |
Watch Demo
|
| 184 |
</button>
|
| 185 |
</div>
|
| 186 |
-
<div class="mt-
|
| 187 |
-
|
| 188 |
-
|
| 189 |
-
|
| 190 |
-
|
| 191 |
-
|
| 192 |
-
|
| 193 |
-
|
|
|
|
| 194 |
</div>
|
| 195 |
</div>
|
| 196 |
-
|
| 197 |
-
|
| 198 |
-
|
| 199 |
-
|
| 200 |
-
|
| 201 |
-
|
| 202 |
-
|
| 203 |
-
</span>
|
| 204 |
-
</div>
|
| 205 |
-
<div class="progress-bar mb-3">
|
| 206 |
-
<div class="progress-fill" style="width: 35%"></div>
|
| 207 |
-
</div>
|
| 208 |
-
<p class="text-white/80 mb-8 text-center">35/50 shouts to Silver Tier</p>
|
| 209 |
-
<div class="space-y-4">
|
| 210 |
-
<div class="flex justify-between items-center p-4 rounded-xl bg-white/5 hover:bg-white/10 transition-all duration-300 cursor-pointer group">
|
| 211 |
-
<div class="flex items-center space-x-3">
|
| 212 |
-
<div class="w-3 h-3 bg-gray-400 rounded-full group-hover:bg-yellow-400 transition-colors"></div>
|
| 213 |
-
<span class="font-medium text-white">Bronze (0-49)</span>
|
| 214 |
-
</div>
|
| 215 |
-
<span class="text-white/80">5% discount</span>
|
| 216 |
</div>
|
| 217 |
-
<div class="
|
| 218 |
-
<div class="
|
| 219 |
-
<div class="w-3 h-3 bg-gray-300 rounded-full group-hover:bg-gray-400 transition-colors"></div>
|
| 220 |
-
<span class="font-medium text-white">Silver (50-99)</span>
|
| 221 |
-
</div>
|
| 222 |
-
<span class="text-white/80">10% discount</span>
|
| 223 |
</div>
|
| 224 |
-
<
|
| 225 |
-
|
| 226 |
-
|
| 227 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
| 228 |
</div>
|
| 229 |
-
<
|
| 230 |
-
|
| 231 |
-
|
| 232 |
-
|
| 233 |
-
<
|
| 234 |
-
<span class="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 235 |
</div>
|
| 236 |
-
<span class="text-white/80">25% discount</span>
|
| 237 |
</div>
|
| 238 |
</div>
|
| 239 |
</div>
|
| 240 |
</div>
|
| 241 |
</div>
|
| 242 |
</div>
|
| 243 |
-
</div>
|
| 244 |
<!-- How It Works -->
|
| 245 |
-
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-
|
| 246 |
-
<div class="text-center mb-
|
| 247 |
-
<h2 class="text-
|
| 248 |
-
How It <span class="text-gradient">Works</span>
|
| 249 |
</h2>
|
| 250 |
-
<p class="text-
|
| 251 |
Simple steps to start saving on your drinks and unlock amazing rewards
|
| 252 |
</p>
|
| 253 |
</div>
|
| 254 |
-
<div class="grid md:grid-cols-3 gap-
|
| 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 |
<div class="bg-gradient-to-br from-gray-50 to-white">
|
| 295 |
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-24">
|
| 296 |
<div class="text-center mb-16">
|
|
@@ -495,10 +558,52 @@
|
|
| 495 |
|
| 496 |
// Initialize animations
|
| 497 |
document.addEventListener('DOMContentLoaded', function() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 498 |
// Animate progress bars on scroll
|
| 499 |
const observerOptions = {
|
| 500 |
-
threshold: 0.
|
| 501 |
-
rootMargin: '0px 0px -
|
| 502 |
};
|
| 503 |
|
| 504 |
const progressObserver = new IntersectionObserver((entries) => {
|
|
@@ -510,7 +615,7 @@
|
|
| 510 |
return el.style.width;
|
| 511 |
}],
|
| 512 |
easing: 'easeOutElastic(1, .8)',
|
| 513 |
-
delay: anime.stagger(
|
| 514 |
});
|
| 515 |
}
|
| 516 |
});
|
|
@@ -520,94 +625,110 @@
|
|
| 520 |
progressObserver.observe(bar);
|
| 521 |
});
|
| 522 |
|
| 523 |
-
// Enhanced hover effects for
|
| 524 |
-
const
|
| 525 |
-
|
| 526 |
-
|
| 527 |
anime({
|
| 528 |
targets: this,
|
| 529 |
-
scale: 1.
|
| 530 |
-
duration:
|
| 531 |
-
easing: '
|
| 532 |
});
|
| 533 |
-
|
| 534 |
anime({
|
| 535 |
targets: this,
|
| 536 |
scale: 1,
|
| 537 |
-
duration:
|
| 538 |
-
easing: '
|
| 539 |
});
|
| 540 |
});
|
| 541 |
});
|
| 542 |
|
| 543 |
-
//
|
| 544 |
anime({
|
| 545 |
targets: '.floating-card',
|
| 546 |
-
translateY: [-
|
| 547 |
-
duration:
|
| 548 |
easing: 'easeInOutSine',
|
| 549 |
loop: true,
|
| 550 |
direction: 'alternate'
|
| 551 |
});
|
| 552 |
});
|
| 553 |
|
| 554 |
-
//
|
| 555 |
const getStartedButtons = document.querySelectorAll('button');
|
| 556 |
getStartedButtons.forEach(button => {
|
| 557 |
if (button.textContent.includes('Get Started')) {
|
| 558 |
button.addEventListener('click', function() {
|
| 559 |
if (navigator.geolocation) {
|
| 560 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 561 |
targets: button,
|
| 562 |
-
scale: [1, 1.
|
| 563 |
-
|
| 564 |
-
|
| 565 |
-
|
| 566 |
-
|
| 567 |
-
|
| 568 |
-
|
| 569 |
-
|
| 570 |
-
anime({
|
| 571 |
-
targets: button,
|
| 572 |
-
backgroundColor: '#10B981',
|
| 573 |
-
duration: 500
|
| 574 |
-
});
|
| 575 |
-
|
| 576 |
-
// Simulate venue loading
|
| 577 |
-
setTimeout(() => {
|
| 578 |
-
button.innerHTML = 'Venues Loaded! <i data-feather="check" class="ml-2"></i>';
|
| 579 |
-
feather.replace();
|
| 580 |
anime({
|
| 581 |
targets: button,
|
| 582 |
-
|
| 583 |
-
duration:
|
| 584 |
-
});
|
| 585 |
-
},
|
| 586 |
-
function(error) {
|
| 587 |
-
console.error("Error getting location:", error);
|
| 588 |
-
anime({
|
| 589 |
-
targets: button,
|
| 590 |
-
backgroundColor: '#EF4444',
|
| 591 |
-
duration: 500
|
| 592 |
});
|
| 593 |
-
|
| 594 |
-
|
| 595 |
-
|
| 596 |
-
|
| 597 |
-
|
| 598 |
-
|
| 599 |
-
|
| 600 |
-
|
| 601 |
-
|
| 602 |
-
|
| 603 |
-
|
| 604 |
-
|
| 605 |
-
|
| 606 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 607 |
});
|
| 608 |
-
});
|
| 609 |
|
| 610 |
-
//
|
| 611 |
const fadeInElements = document.querySelectorAll('.fade-in');
|
| 612 |
const fadeInObserver = new IntersectionObserver((entries) => {
|
| 613 |
entries.forEach(entry => {
|
|
@@ -615,8 +736,8 @@
|
|
| 615 |
anime({
|
| 616 |
targets: entry.target,
|
| 617 |
opacity: [0, 1],
|
| 618 |
-
translateY: [
|
| 619 |
-
duration:
|
| 620 |
easing: 'easeOutCubic'
|
| 621 |
});
|
| 622 |
}
|
|
@@ -626,6 +747,18 @@
|
|
| 626 |
fadeInElements.forEach(el => {
|
| 627 |
fadeInObserver.observe(el);
|
| 628 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 629 |
});
|
| 630 |
</script>
|
| 631 |
</body>
|
|
|
|
| 22 |
}
|
| 23 |
</script>
|
| 24 |
<style>
|
| 25 |
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
|
| 26 |
body {
|
| 27 |
font-family: 'Inter', sans-serif;
|
| 28 |
}
|
| 29 |
.gradient-bg {
|
| 30 |
+
background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
|
| 31 |
}
|
| 32 |
.progress-bar {
|
| 33 |
+
height: 16px;
|
| 34 |
+
border-radius: 20px;
|
| 35 |
+
background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
|
| 36 |
overflow: hidden;
|
| 37 |
position: relative;
|
| 38 |
+
border: 1px solid rgba(255,255,255,0.2);
|
| 39 |
}
|
| 40 |
.progress-fill {
|
| 41 |
height: 100%;
|
| 42 |
+
border-radius: 20px;
|
| 43 |
+
background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
|
| 44 |
transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
|
| 45 |
position: relative;
|
| 46 |
+
box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
|
| 47 |
+
position: relative;
|
| 48 |
}
|
| 49 |
.progress-fill::after {
|
| 50 |
content: '';
|
|
|
|
| 53 |
left: 0;
|
| 54 |
right: 0;
|
| 55 |
bottom: 0;
|
| 56 |
+
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
|
| 57 |
+
animation: shimmer 1.5s infinite;
|
| 58 |
}
|
| 59 |
@keyframes shimmer {
|
| 60 |
0% { transform: translateX(-100%); }
|
| 61 |
100% { transform: translateX(100%); }
|
| 62 |
}
|
| 63 |
.floating-card {
|
| 64 |
+
animation: float 6s ease-in-out infinite;
|
| 65 |
+
box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.4);
|
| 66 |
}
|
| 67 |
@keyframes float {
|
| 68 |
+
0%, 100% { transform: translateY(0px) rotate(0.5deg); }
|
| 69 |
+
50% { transform: translateY(-20px) rotate(-0.5deg); }
|
| 70 |
}
|
| 71 |
.fade-in {
|
| 72 |
opacity: 0;
|
| 73 |
+
transform: translateY(40px);
|
| 74 |
}
|
| 75 |
.hover-lift {
|
| 76 |
+
transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
|
| 77 |
position: relative;
|
| 78 |
overflow: hidden;
|
| 79 |
}
|
|
|
|
| 84 |
left: -100%;
|
| 85 |
width: 100%;
|
| 86 |
height: 100%;
|
| 87 |
+
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
|
| 88 |
+
transition: left 0.7s;
|
| 89 |
}
|
| 90 |
.hover-lift:hover::before {
|
| 91 |
left: 100%;
|
| 92 |
}
|
| 93 |
.hover-lift:hover {
|
| 94 |
+
transform: translateY(-12px) scale(1.04);
|
| 95 |
+
box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.3);
|
| 96 |
}
|
| 97 |
.pulse-ring {
|
| 98 |
position: relative;
|
|
|
|
| 105 |
right: 0;
|
| 106 |
bottom: 0;
|
| 107 |
border-radius: inherit;
|
| 108 |
+
animation: pulse-ring 1.8s infinite;
|
| 109 |
}
|
| 110 |
@keyframes pulse-ring {
|
| 111 |
+
0% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.8);
|
| 112 |
+
}
|
| 113 |
+
.pulse-ring::after {
|
| 114 |
+
content: '';
|
| 115 |
+
position: absolute;
|
| 116 |
+
top: 0;
|
| 117 |
+
left: 0;
|
| 118 |
+
right: 0;
|
| 119 |
+
bottom: 0;
|
| 120 |
+
border-radius: inherit;
|
| 121 |
+
animation: pulse-ring-2 2.2s infinite;
|
| 122 |
+
}
|
| 123 |
+
@keyframes pulse-ring-2 {
|
| 124 |
+
0% { box-shadow: 0 0 0 0 rgba(240, 147, 251, 0.6);
|
| 125 |
}
|
| 126 |
.glass-effect {
|
| 127 |
+
background: rgba(255, 255, 255, 0.15);
|
| 128 |
+
backdrop-filter: blur(20px);
|
| 129 |
+
border: 1px solid rgba(255, 255, 255, 0.3);
|
| 130 |
}
|
| 131 |
.card-gradient {
|
| 132 |
+
background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
|
| 133 |
}
|
| 134 |
.text-gradient {
|
| 135 |
+
background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
|
| 136 |
-webkit-background-clip: text;
|
| 137 |
-webkit-text-fill-color: transparent;
|
| 138 |
background-clip: text;
|
| 139 |
+
background-size: 200% 200%;
|
| 140 |
+
animation: gradient-shift 3s ease infinite;
|
| 141 |
+
}
|
| 142 |
+
@keyframes gradient-shift {
|
| 143 |
+
0% { background-position: 0% 50%; }
|
| 144 |
+
50% { background-position: 100% 50%; }
|
| 145 |
+
100% { background-position: 0% 50%; }
|
| 146 |
+
}
|
| 147 |
+
.glow-effect {
|
| 148 |
+
box-shadow: 0 0 40px rgba(102, 126, 234, 0.3);
|
| 149 |
+
}
|
| 150 |
+
.particle-bg {
|
| 151 |
+
position: absolute;
|
| 152 |
+
top: 0;
|
| 153 |
+
left: 0;
|
| 154 |
+
width: 100%;
|
| 155 |
+
height: 100%;
|
| 156 |
+
pointer-events: none;
|
| 157 |
+
}
|
| 158 |
+
.neon-glow {
|
| 159 |
+
text-shadow: 0 0 10px rgba(102, 126, 234, 0.8);
|
| 160 |
+
}
|
| 161 |
+
.morph-shape {
|
| 162 |
+
border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
|
| 163 |
+
animation: morph 8s ease-in-out infinite;
|
| 164 |
+
}
|
| 165 |
+
@keyframes morph {
|
| 166 |
+
0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
|
| 167 |
+
}
|
| 168 |
+
50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 70%;
|
| 169 |
+
}
|
| 170 |
+
100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
|
| 171 |
+
}
|
| 172 |
+
}
|
| 173 |
+
.sparkle {
|
| 174 |
+
position: relative;
|
| 175 |
+
}
|
| 176 |
+
.sparkle::after {
|
| 177 |
+
content: '✨';
|
| 178 |
+
position: absolute;
|
| 179 |
+
top: -10px;
|
| 180 |
+
right: -10px;
|
| 181 |
+
font-size: 1.2rem;
|
| 182 |
+
animation: sparkle 2s infinite;
|
| 183 |
+
}
|
| 184 |
+
@keyframes sparkle {
|
| 185 |
+
0%, 100% { opacity: 0; transform: scale(0); }
|
| 186 |
+
50% { opacity: 1; transform: scale(1); }
|
| 187 |
}
|
| 188 |
</style>
|
| 189 |
</head>
|
| 190 |
<body class="bg-gray-50 min-h-screen">
|
| 191 |
<!-- Navigation -->
|
| 192 |
+
<nav class="bg-white/95 backdrop-blur-xl shadow-2xl sticky top-0 z-50 fade-in border-b border-white/20 glass-effect">
|
| 193 |
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
| 194 |
<div class="flex justify-between h-20">
|
| 195 |
<div class="flex items-center">
|
| 196 |
<div class="flex-shrink-0 flex items-center">
|
| 197 |
+
<div class="w-12 h-12 bg-gradient-to-r from-purple-500 via-indigo-600 to-fuchsia-500 rounded-2xl flex items-center justify-center glow-effect">
|
| 198 |
+
<i data-feather="award" class="text-white h-6 w-6"></i>
|
| 199 |
</div>
|
| 200 |
+
<span class="ml-4 text-3xl font-black text-gradient tracking-tight neon-glow">Shouts</span>
|
| 201 |
</div>
|
| 202 |
+
<div class="hidden md:ml-16 md:flex md:space-x-12">
|
| 203 |
+
<a href="#" class="text-gradient font-bold inline-flex items-center px-1 pt-1 border-b-2 border-purple-500 text-lg">
|
| 204 |
Home
|
| 205 |
</a>
|
| 206 |
+
<a href="#" class="text-gray-600 hover:text-gradient font-semibold inline-flex items-center px-1 pt-1 border-b-2 border-transparent hover:border-purple-300 text-lg transition-all duration-500 hover:scale-105">
|
| 207 |
Venues
|
| 208 |
</a>
|
| 209 |
+
<a href="#" class="text-gray-600 hover:text-gradient font-semibold inline-flex items-center px-1 pt-1 border-b-2 border-transparent hover:border-purple-300 text-lg transition-all duration-500">
|
| 210 |
Rewards
|
| 211 |
</a>
|
| 212 |
</div>
|
| 213 |
</div>
|
| 214 |
+
<div class="flex items-center space-x-8">
|
| 215 |
+
<button class="px-8 py-4 border border-transparent text-lg font-bold rounded-2xl text-white bg-gradient-to-r from-purple-500 via-indigo-600 to-fuchsia-500 hover:from-purple-600 hover:via-indigo-700 hover:to-fuchsia-600 focus:outline-none focus:ring-4 focus:ring-purple-200 transition-all duration-500 hover:scale-110 shadow-2xl hover:shadow-3xl pulse-ring">
|
| 216 |
Sign In
|
| 217 |
</button>
|
| 218 |
+
<button class="px-8 py-4 border-2 border-purple-500 text-lg font-bold rounded-2xl text-gradient bg-white/80 hover:bg-white focus:outline-none focus:ring-4 focus:ring-purple-200 transition-all duration-500 hover:scale-110 glow-effect">
|
| 219 |
Sign Up
|
| 220 |
</button>
|
| 221 |
</div>
|
|
|
|
| 224 |
</nav>
|
| 225 |
<!-- Hero Section -->
|
| 226 |
<div class="gradient-bg text-white relative overflow-hidden">
|
| 227 |
+
<div class="particle-bg" id="particles"></div>
|
| 228 |
+
<div class="absolute inset-0 bg-gradient-to-br from-purple-600/20 via-indigo-700/15 to-fuchsia-500/25"></div>
|
| 229 |
+
<div class="max-w-7xl mx-auto py-24 px-4 sm:px-6 lg:px-8 lg:py-40 relative">
|
| 230 |
+
<div class="lg:grid lg:grid-cols-2 lg:gap-20 items-center">
|
| 231 |
+
<div class="mb-16 lg:mb-0 fade-in">
|
| 232 |
+
<h1 class="text-6xl font-black tracking-tighter sm:text-7xl lg:text-8xl leading-none">
|
| 233 |
Drink More,<br>
|
| 234 |
+
<span class="text-gradient neon-glow">Save More</span>
|
| 235 |
</h1>
|
| 236 |
+
<p class="mt-8 text-2xl text-white/95 leading-relaxed font-light">
|
| 237 |
Earn exclusive discounts at your favorite bars with every shout. The more you drink, the more you save on your next round!
|
| 238 |
</p>
|
| 239 |
+
<div class="mt-12 flex flex-col sm:flex-row gap-8">
|
| 240 |
+
<button class="inline-flex items-center px-10 py-5 border border-transparent text-xl font-black rounded-3xl text-purple-600 bg-white hover:bg-gray-50 transition-all duration-500 hover:scale-110 pulse-ring shadow-3xl glow-effect">
|
| 241 |
Get Started
|
| 242 |
+
<i data-feather="arrow-right" class="ml-4"></i>
|
| 243 |
</button>
|
| 244 |
+
<button class="inline-flex items-center px-10 py-5 border-2 border-white text-xl font-black rounded-3xl text-white bg-transparent hover:bg-white/15 transition-all duration-500 hover:scale-110 glass-effect border-white/30">
|
| 245 |
+
<i data-feather="play-circle" class="mr-4"></i>
|
| 246 |
Watch Demo
|
| 247 |
</button>
|
| 248 |
</div>
|
| 249 |
+
<div class="mt-16 flex items-center space-x-12">
|
| 250 |
+
<div class="flex items-center space-x-4 group">
|
| 251 |
+
<div class="w-4 h-4 bg-gradient-to-r from-green-400 to-emerald-500 rounded-full animate-pulse glow-effect"></div>
|
| 252 |
+
<span class="text-white/90 text-lg font-medium group-hover:text-gradient transition-all duration-500">✨ Real-time Rewards</span>
|
| 253 |
+
</div>
|
| 254 |
+
<div class="flex items-center space-x-4 group">
|
| 255 |
+
<div class="w-4 h-4 bg-gradient-to-r from-blue-400 to-cyan-500 rounded-full animate-pulse glow-effect"></div>
|
| 256 |
+
<span class="text-white/90 text-lg font-medium group-hover:text-gradient transition-all duration-500">✨ 500+ Partner Venues</span>
|
| 257 |
+
</div>
|
| 258 |
</div>
|
| 259 |
</div>
|
| 260 |
+
<div class="relative fade-in">
|
| 261 |
+
<div class="bg-white/15 backdrop-blur-2xl rounded-4xl shadow-3xl overflow-hidden p-10 floating-card glass-effect border border-white/30 morph-shape">
|
| 262 |
+
<div class="flex justify-between items-center mb-8">
|
| 263 |
+
<h3 class="text-2xl font-black text-white neon-glow">Your Progress</h3>
|
| 264 |
+
<span class="px-5 py-3 text-base font-black rounded-2xl bg-white/25 text-white backdrop-blur-xl animate-pulse glow-effect">
|
| 265 |
+
Bronze Tier (5%)
|
| 266 |
+
</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 267 |
</div>
|
| 268 |
+
<div class="progress-bar mb-6">
|
| 269 |
+
<div class="progress-fill" style="width: 35%"></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 270 |
</div>
|
| 271 |
+
<p class="text-white/90 mb-10 text-center text-lg">35/50 shouts to Silver Tier</p>
|
| 272 |
+
<div class="space-y-6">
|
| 273 |
+
<div class="flex justify-between items-center p-5 rounded-2xl bg-white/10 hover:bg-white/20 transition-all duration-500 cursor-pointer group glow-effect">
|
| 274 |
+
<div class="flex items-center space-x-4">
|
| 275 |
+
<div class="w-4 h-4 bg-gradient-to-r from-gray-400 to-gray-500 rounded-full group-hover:from-yellow-400 group-hover:to-amber-500 transition-all duration-500"></div>
|
| 276 |
+
<span class="font-bold text-white text-lg">Bronze (0-49)</span>
|
| 277 |
+
</div>
|
| 278 |
+
<span class="text-white/90 text-lg">5% discount</span>
|
| 279 |
</div>
|
| 280 |
+
<div class="flex justify-between items-center p-5 rounded-2xl bg-white/10 hover:bg-white/20 transition-all duration-500 cursor-pointer group glow-effect">
|
| 281 |
+
<div class="flex items-center space-x-4">
|
| 282 |
+
<div class="w-4 h-4 bg-gradient-to-r from-gray-300 to-gray-400 rounded-full group-hover:from-gray-400 group-hover:to-gray-500 transition-all duration-500"></div>
|
| 283 |
+
<span class="font-bold text-white text-lg">Silver (50-99)</span>
|
| 284 |
+
</div>
|
| 285 |
+
<span class="text-white/90 text-lg">10% discount</span>
|
| 286 |
+
</div>
|
| 287 |
+
<div class="flex justify-between items-center p-5 rounded-2xl bg-white/10 hover:bg-white/20 transition-all duration-500 cursor-pointer group glow-effect">
|
| 288 |
+
<div class="flex items-center space-x-4">
|
| 289 |
+
<div class="w-4 h-4 bg-gradient-to-r from-yellow-400 to-amber-500 rounded-full group-hover:from-yellow-500 group-hover:to-orange-500 transition-all duration-500"></div>
|
| 290 |
+
<span class="font-bold text-white text-lg">Gold (100-149)</span>
|
| 291 |
+
</div>
|
| 292 |
+
<span class="text-white/90 text-lg">18% discount</span>
|
| 293 |
+
</div>
|
| 294 |
+
<div class="flex justify-between items-center p-5 rounded-2xl bg-white/10 hover:bg-white/20 transition-all duration-500 cursor-pointer group glow-effect">
|
| 295 |
+
<div class="flex items-center space-x-4">
|
| 296 |
+
<div class="w-4 h-4 bg-gradient-to-r from-purple-500 to-fuchsia-600 rounded-full group-hover:from-purple-600 group-hover:to-fuchsia-700 transition-all duration-500"></div>
|
| 297 |
+
<span class="font-bold text-white text-lg">Platinum (150+)</span>
|
| 298 |
+
</div>
|
| 299 |
+
<span class="text-white/90 text-lg">25% discount</span>
|
| 300 |
</div>
|
|
|
|
| 301 |
</div>
|
| 302 |
</div>
|
| 303 |
</div>
|
| 304 |
</div>
|
| 305 |
</div>
|
| 306 |
</div>
|
|
|
|
| 307 |
<!-- How It Works -->
|
| 308 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-32">
|
| 309 |
+
<div class="text-center mb-20">
|
| 310 |
+
<h2 class="text-5xl font-black text-gray-900 mb-6">
|
| 311 |
+
How It <span class="text-gradient neon-glow">Works</span>
|
| 312 |
</h2>
|
| 313 |
+
<p class="text-2xl text-gray-600 max-w-3xl mx-auto font-light leading-relaxed">
|
| 314 |
Simple steps to start saving on your drinks and unlock amazing rewards
|
| 315 |
</p>
|
| 316 |
</div>
|
| 317 |
+
<div class="grid md:grid-cols-3 gap-16">
|
| 318 |
+
<div class="bg-gradient-to-br from-white to-gray-50 p-10 rounded-4xl shadow-2xl text-center hover-lift fade-in group glow-effect" style="animation-delay: 0.1s">
|
| 319 |
+
<div class="mx-auto flex items-center justify-center h-24 w-24 rounded-3xl bg-gradient-to-r from-purple-500 via-indigo-600 to-fuchsia-500 mb-8 transition-all duration-500 group-hover:scale-115 group-hover:rotate-15 morph-shape">
|
| 320 |
+
<i data-feather="map-pin" class="text-white h-12 w-12"></i>
|
| 321 |
+
</div>
|
| 322 |
+
<div class="mb-6">
|
| 323 |
+
<div class="w-12 h-12 bg-gradient-to-r from-purple-500 to-fuchsia-600 text-white rounded-full flex items-center justify-center text-lg font-black mx-auto mb-4 pulse-ring">1</div>
|
| 324 |
+
<h3 class="text-3xl font-black text-gray-900 mb-4">Find Nearby Venues</h3>
|
| 325 |
+
</div>
|
| 326 |
+
<p class="text-gray-600 leading-relaxed text-lg font-medium">
|
| 327 |
+
Discover participating bars and pubs near you using our intelligent location-based search with real-time availability.
|
| 328 |
+
</p>
|
| 329 |
+
</div>
|
| 330 |
+
<div class="bg-gradient-to-br from-white to-gray-50 p-10 rounded-4xl shadow-2xl text-center hover-lift fade-in group glow-effect" style="animation-delay: 0.2s">
|
| 331 |
+
<div class="mx-auto flex items-center justify-center h-24 w-24 rounded-3xl bg-gradient-to-r from-purple-500 via-indigo-600 to-fuchsia-500 mb-8 transition-all duration-500 group-hover:scale-115 group-hover:rotate-15 morph-shape">
|
| 332 |
+
<i data-feather="camera" class="text-white h-12 w-12"></i>
|
| 333 |
+
</div>
|
| 334 |
+
<div class="mb-6">
|
| 335 |
+
<div class="w-12 h-12 bg-gradient-to-r from-purple-500 to-fuchsia-600 text-white rounded-full flex items-center justify-center text-lg font-black mx-auto mb-4 pulse-ring">2</div>
|
| 336 |
+
<h3 class="text-3xl font-black text-gray-900 mb-4">Scan QR Code</h3>
|
| 337 |
+
</div>
|
| 338 |
+
<p class="text-gray-600 leading-relaxed text-lg font-medium">
|
| 339 |
+
Scan the unique QR code at the venue to automatically check in and start tracking your shouts instantly.
|
| 340 |
+
</p>
|
| 341 |
+
</div>
|
| 342 |
+
<div class="bg-gradient-to-br from-white to-gray-50 p-10 rounded-4xl shadow-2xl text-center hover-lift fade-in group glow-effect" style="animation-delay: 0.3s">
|
| 343 |
+
<div class="mx-auto flex items-center justify-center h-24 w-24 rounded-3xl bg-gradient-to-r from-purple-500 via-indigo-600 to-fuchsia-500 mb-8 transition-all duration-500 group-hover:scale-115 group-hover:rotate-15 morph-shape">
|
| 344 |
+
<i data-feather="award" class="text-white h-12 w-12"></i>
|
| 345 |
+
</div>
|
| 346 |
+
<div class="mb-6">
|
| 347 |
+
<div class="w-12 h-12 bg-gradient-to-r from-purple-500 to-fuchsia-600 text-white rounded-full flex items-center justify-center text-lg font-black mx-auto mb-4 pulse-ring">3</div>
|
| 348 |
+
<h3 class="text-3xl font-black text-gray-900 mb-4">Earn Rewards</h3>
|
| 349 |
+
</div>
|
| 350 |
+
<p class="text-gray-600 leading-relaxed text-lg font-medium">
|
| 351 |
+
Unlock increasing discounts and exclusive perks as you reach new tiers at each venue you visit.
|
| 352 |
+
</p>
|
| 353 |
+
</div>
|
| 354 |
+
</div>
|
| 355 |
+
</div>
|
| 356 |
+
<!-- Featured Venues -->
|
| 357 |
<div class="bg-gradient-to-br from-gray-50 to-white">
|
| 358 |
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-24">
|
| 359 |
<div class="text-center mb-16">
|
|
|
|
| 558 |
|
| 559 |
// Initialize animations
|
| 560 |
document.addEventListener('DOMContentLoaded', function() {
|
| 561 |
+
// Enhanced particle effect
|
| 562 |
+
const createParticles = (containerId, count = 50) => {
|
| 563 |
+
const container = document.getElementById(containerId);
|
| 564 |
+
if (!container) return;
|
| 565 |
+
|
| 566 |
+
for (let i = 0; i < count; i++) {
|
| 567 |
+
const particle = document.createElement('div');
|
| 568 |
+
particle.style.cssText = `
|
| 569 |
+
position: absolute;
|
| 570 |
+
width: 4px;
|
| 571 |
+
height: 4px;
|
| 572 |
+
background: rgba(255,255,255,0.3);
|
| 573 |
+
border-radius: 50%;
|
| 574 |
+
position: absolute;
|
| 575 |
+
pointer-events: none;
|
| 576 |
+
animation: float-particle ${8 + Math.random() * 8}s ease-in-out infinite;
|
| 577 |
+
animation-delay: ${Math.random() * 8}s;
|
| 578 |
+
box-shadow: 0 0 10px rgba(255,255,255,0.5);
|
| 579 |
+
`;
|
| 580 |
+
|
| 581 |
+
particle.style.left = `${Math.random() * 100}%`;
|
| 582 |
+
particle.style.top = `${Math.random() * 100}%`;
|
| 583 |
+
container.appendChild(particle);
|
| 584 |
+
}
|
| 585 |
+
}
|
| 586 |
+
|
| 587 |
+
// Create particles for hero and CTA sections
|
| 588 |
+
createParticles('particles', 80);
|
| 589 |
+
createParticles('cta-particles', 60);
|
| 590 |
+
|
| 591 |
+
// Add CSS for particle animation
|
| 592 |
+
const style = document.createElement('style');
|
| 593 |
+
style.textContent = `
|
| 594 |
+
@keyframes float-particle {
|
| 595 |
+
0%, 100% { transform: translateY(0px) translateX(0px); }
|
| 596 |
+
25% { transform: translateY(-20px) translateX(10px); }
|
| 597 |
+
50% { transform: translateY(-40px) translateX(-10px); }
|
| 598 |
+
75% { transform: translateY(-20px) translateX(10px); }
|
| 599 |
+
}
|
| 600 |
+
`;
|
| 601 |
+
document.head.appendChild(style);
|
| 602 |
+
|
| 603 |
// Animate progress bars on scroll
|
| 604 |
const observerOptions = {
|
| 605 |
+
threshold: 0.3,
|
| 606 |
+
rootMargin: '0px 0px -50px 0px'
|
| 607 |
};
|
| 608 |
|
| 609 |
const progressObserver = new IntersectionObserver((entries) => {
|
|
|
|
| 615 |
return el.style.width;
|
| 616 |
}],
|
| 617 |
easing: 'easeOutElastic(1, .8)',
|
| 618 |
+
delay: anime.stagger(300)
|
| 619 |
});
|
| 620 |
}
|
| 621 |
});
|
|
|
|
| 625 |
progressObserver.observe(bar);
|
| 626 |
});
|
| 627 |
|
| 628 |
+
// Enhanced hover effects for all interactive elements
|
| 629 |
+
const interactiveElements = document.querySelectorAll('.hover-lift, .pulse-ring, .glow-effect');
|
| 630 |
+
interactiveElements.forEach(element => {
|
| 631 |
+
element.addEventListener('mouseenter', function() {
|
| 632 |
anime({
|
| 633 |
targets: this,
|
| 634 |
+
scale: 1.08,
|
| 635 |
+
duration: 400,
|
| 636 |
+
easing: 'easeOutBack'
|
| 637 |
});
|
| 638 |
+
element.addEventListener('mouseleave', function() {
|
| 639 |
anime({
|
| 640 |
targets: this,
|
| 641 |
scale: 1,
|
| 642 |
+
duration: 400,
|
| 643 |
+
easing: 'easeOutBack'
|
| 644 |
});
|
| 645 |
});
|
| 646 |
});
|
| 647 |
|
| 648 |
+
// Enhanced floating animation for hero card
|
| 649 |
anime({
|
| 650 |
targets: '.floating-card',
|
| 651 |
+
translateY: [-15, 15],
|
| 652 |
+
duration: 4000,
|
| 653 |
easing: 'easeInOutSine',
|
| 654 |
loop: true,
|
| 655 |
direction: 'alternate'
|
| 656 |
});
|
| 657 |
});
|
| 658 |
|
| 659 |
+
// Supercharged geolocation with particle feedback
|
| 660 |
const getStartedButtons = document.querySelectorAll('button');
|
| 661 |
getStartedButtons.forEach(button => {
|
| 662 |
if (button.textContent.includes('Get Started')) {
|
| 663 |
button.addEventListener('click', function() {
|
| 664 |
if (navigator.geolocation) {
|
| 665 |
+
// Create particle burst
|
| 666 |
+
const burst = document.createElement('div');
|
| 667 |
+
burst.style.cssText = `
|
| 668 |
+
position: absolute;
|
| 669 |
+
top: 50%;
|
| 670 |
+
left: 50%;
|
| 671 |
+
width: 0;
|
| 672 |
+
height: 0;
|
| 673 |
+
border-radius: 50%;
|
| 674 |
+
background: rgba(255,255,255,0.8);
|
| 675 |
+
border-radius: 50%;
|
| 676 |
+
position: absolute;
|
| 677 |
+
pointer-events: none;
|
| 678 |
+
`;
|
| 679 |
+
|
| 680 |
+
anime({
|
| 681 |
targets: button,
|
| 682 |
+
scale: [1, 1.15, 1],
|
| 683 |
+
duration: 1200,
|
| 684 |
+
easing: 'easeOutElastic(1, .8)'
|
| 685 |
+
});
|
| 686 |
+
|
| 687 |
+
navigator.geolocation.getCurrentPosition(
|
| 688 |
+
function(position) {
|
| 689 |
+
console.log("Location accessed:", position.coords);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 690 |
anime({
|
| 691 |
targets: button,
|
| 692 |
+
backgroundColor: '#10B981',
|
| 693 |
+
duration: 600
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 694 |
});
|
| 695 |
+
|
| 696 |
+
// Enhanced success animation
|
| 697 |
+
setTimeout(() => {
|
| 698 |
+
button.innerHTML = '✨ Venues Loaded! ✨';
|
| 699 |
+
feather.replace();
|
| 700 |
+
anime({
|
| 701 |
+
targets: button,
|
| 702 |
+
scale: 1,
|
| 703 |
+
duration: 400
|
| 704 |
+
});
|
| 705 |
+
}, 1500);
|
| 706 |
+
},
|
| 707 |
+
function(error) {
|
| 708 |
+
console.error("Error getting location:", error);
|
| 709 |
+
anime({
|
| 710 |
+
targets: button,
|
| 711 |
+
backgroundColor: '#EF4444',
|
| 712 |
+
duration: 600
|
| 713 |
+
});
|
| 714 |
+
button.innerHTML = '📍 Location Required';
|
| 715 |
+
feather.replace();
|
| 716 |
+
});
|
| 717 |
+
}
|
| 718 |
+
);
|
| 719 |
+
} else {
|
| 720 |
+
anime({
|
| 721 |
+
targets: button,
|
| 722 |
+
backgroundColor: '#EF4444',
|
| 723 |
+
duration: 600
|
| 724 |
+
});
|
| 725 |
+
}
|
| 726 |
+
});
|
| 727 |
+
}
|
| 728 |
+
});
|
| 729 |
});
|
|
|
|
| 730 |
|
| 731 |
+
// Enhanced scroll animations with staggered effects
|
| 732 |
const fadeInElements = document.querySelectorAll('.fade-in');
|
| 733 |
const fadeInObserver = new IntersectionObserver((entries) => {
|
| 734 |
entries.forEach(entry => {
|
|
|
|
| 736 |
anime({
|
| 737 |
targets: entry.target,
|
| 738 |
opacity: [0, 1],
|
| 739 |
+
translateY: [40, 0],
|
| 740 |
+
duration: 1000,
|
| 741 |
easing: 'easeOutCubic'
|
| 742 |
});
|
| 743 |
}
|
|
|
|
| 747 |
fadeInElements.forEach(el => {
|
| 748 |
fadeInObserver.observe(el);
|
| 749 |
});
|
| 750 |
+
|
| 751 |
+
// Add sparkle animation to stats
|
| 752 |
+
anime({
|
| 753 |
+
targets: '.sparkle',
|
| 754 |
+
scale: [0.8, 1.2, 1],
|
| 755 |
+
duration: 2000,
|
| 756 |
+
delay: anime.stagger(400),
|
| 757 |
+
easing: 'easeOutElastic(1, .8)'
|
| 758 |
+
});
|
| 759 |
+
}
|
| 760 |
+
});
|
| 761 |
+
});
|
| 762 |
});
|
| 763 |
</script>
|
| 764 |
</body>
|