Spaces:
Running
Running
File size: 27,350 Bytes
66bc0fd 2bd042a 66bc0fd 9b09a2f 66bc0fd 9b09a2f 66bc0fd 9b09a2f 66bc0fd 9b09a2f 66bc0fd 9b09a2f 66bc0fd 9b09a2f 66bc0fd b2ba5a2 66bc0fd e460a9b 66bc0fd 2bd042a 66bc0fd 9b09a2f 66bc0fd 9b09a2f 66bc0fd 9b09a2f 66bc0fd 9b09a2f 66bc0fd 9b09a2f 66bc0fd 9b09a2f 66bc0fd 9b09a2f 66bc0fd 9b09a2f 66bc0fd 9b09a2f 66bc0fd 9b09a2f 66bc0fd 9b09a2f 66bc0fd 9b09a2f 66bc0fd 9b09a2f 66bc0fd 9b09a2f 66bc0fd cf5ae65 | 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 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 | <!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PRIME FL | Будущее единоборств</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;500;700&family=Orbitron:wght@700&display=swap" rel="stylesheet">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.4/gsap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.4/ScrollTrigger.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
<style>
@font-face {
font-family: 'Neue Haas Grotesk';
src: url('https://fonts.cdnfonts.com/css/neue-haas-grotesk-display-pro') format('woff2');
}
body {
font-family: 'Inter', sans-serif;
background-color: #0D0D0D;
color: #F0F0F0;
overflow-x: hidden;
}
.hero-section {
height: 100vh;
position: relative;
overflow: hidden;
}
.fist-animation {
position: absolute;
width: 200px;
height: 200px;
background-size: contain;
background-repeat: no-repeat;
z-index: 10;
}
.fist-left {
left: 20%;
background-image: url('http://static.photos/sport/400x400/1');
transform: translateX(-100vw);
}
.fist-right {
right: 20%;
background-image: url('http://static.photos/sport/400x400/2');
transform: translateX(100vw);
}
.energy-burst {
position: absolute;
width: 100%;
height: 100%;
background: radial-gradient(circle, rgba(255,215,0,0.7) 0%, rgba(255,229,143,0.3) 50%, rgba(0,0,0,0) 100%);
opacity: 0;
z-index: 5;
}
.impact-smoke {
position: absolute;
width: 100%;
height: 100%;
background-image: url('http://static.photos/black/1200x630/10');
background-size: cover;
opacity: 0;
z-index: 6;
mix-blend-mode: screen;
}
.logo-reveal {
opacity: 0;
transform: scale(0.8);
position: relative;
z-index: 15;
}
.gold-text {
text-shadow: 0 0 10px #FFD700, 0 0 20px rgba(255, 213, 0, 0.5);
}
.gold-border {
box-shadow: 0 0 15px #FFD700;
transition: box-shadow 0.3s ease;
}
.gold-border:hover {
box-shadow: 0 0 25px #FFE58F;
}
.glow-effect {
position: relative;
}
.glow-effect:after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: radial-gradient(circle, rgba(255,229,143,0.1) 0%, rgba(255,213,0,0) 70%);
opacity: 0;
transition: opacity 0.3s ease;
}
.glow-effect:hover:after {
opacity: 1;
}
.parallax-section {
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.card-hover:hover {
transform: translateY(-10px);
box-shadow: 0 20px 25px -5px rgba(0, 255, 157, 0.1), 0 10px 10px -5px rgba(0, 255, 0, 0.04);
}
.nav-link {
position: relative;
}
.nav-link:after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: -5px;
left: 0;
background-color: #00FF9D;
transition: width 0.3s ease;
}
.nav-link:hover:after {
width: 100%;
}
.fighter-card {
background: linear-gradient(145deg, #111, #1b1b1b);
border: 1px solid rgba(255, 215, 0, 0.5);
border-radius: 20px;
box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
transition: all 0.3s ease;
}
.fighter-card:hover {
transform: scale(1.05);
box-shadow: 0 0 40px rgba(255, 215, 0, 0.6);
}
.fighter-card img {
width: 100%;
border-radius: 20px 20px 0 0;
}
.fighter-card h3 {
color: #ffd700;
font-family: 'Inter', sans-serif;
font-weight: bold;
letter-spacing: 1px;
padding: 15px 15px 5px;
}
.fighter-card p {
color: #ccc;
font-size: 0.9em;
padding: 0 15px 15px;
}
</style>
</head>
<body class="antialiased">
<!-- Hero Section with Fist Animation -->
<section class="hero-section flex items-center justify-center" id="fistAnimation">
<div class="fist-animation fist-left" id="leftFist"></div>
<div class="fist-animation fist-right" id="rightFist"></div>
<div class="energy-burst" id="impactFlash"></div>
<div class="impact-smoke"></div>
<div class="gold-glow" id="goldGlow"></div>
<div class="logo-reveal text-center" id="logoReveal">
<h1 class="text-6xl md:text-8xl font-bold mb-6 font-orbitron gold-text">PRIME <span class="text-[#FFD700]">FL</span></h1>
<p class="text-xl md:text-2xl text-[#F0F0F0]">Будущее единоборств уже здесь</p>
</div>
</section>
<div id="mainContent" style="opacity: 0;">
<!-- Navigation -->
<nav class="fixed w-full z-50 bg-black bg-opacity-80 backdrop-blur-sm py-4 hidden" id="mainNav">
<div class="container mx-auto px-6 flex justify-between items-center">
<a href="#" class="text-2xl font-bold font-orbitron neon-text">PRIME<span class="text-[#00FF9D]">FL</span></a>
<div class="hidden md:flex space-x-8">
<a href="#" class="nav-link text-[#E0E0E0] hover:text-[#00FF9D]">Главная</a>
<a href="#" class="nav-link text-[#E0E0E0] hover:text-[#00FF9D]">Бойцы</a>
<a href="#" class="nav-link text-[#E0E0E0] hover:text-[#00FF9D]">Турниры</a>
<a href="#" class="nav-link text-[#E0E0E0] hover:text-[#00FF9D]">Новости</a>
<a href="#" class="nav-link text-[#E0E0E0] hover:text-[#00FF9D]">Медиа</a>
<a href="#" class="nav-link text-[#E0E0E0] hover:text-[#00FF9D]">Контакты</a>
</div>
<button class="md:hidden text-[#E0E0E0]">
<i data-feather="menu"></i>
</button>
</div>
</nav>
<!-- Fighters Section -->
<section class="py-20 px-6 bg-[#0D0D0D] parallax-section section-reveal" style="background-image: url('http://static.photos/black/1200x630/11')">
<div class="container mx-auto">
<h2 class="text-4xl font-bold mb-16 text-center font-orbitron neon-text">НАШИ БОЙЦЫ</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-10">
<!-- Fighter Card 1 -->
<div class="card-hover glow-effect bg-[#111111] rounded-xl overflow-hidden transition-all duration-300 ease-in-out gold-border">
<div class="relative h-80 bg-cover bg-center" style="background-image: url('http://static.photos/sport/640x360/3');">
<div class="absolute inset-0 bg-gradient-to-t from-black to-transparent"></div>
<div class="absolute bottom-0 left-0 p-6">
<h3 class="text-2xl font-bold">Иван "Гроза" Петров</h3>
<p class="text-[#FFD700]">16-2-0 | Тяжёлый вес</p>
</div>
</div>
<div class="p-6">
<p class="text-[#E0E0E0] mb-4">Специализация: бокс, грэпплинг</p>
<div class="flex space-x-4">
<a href="#" class="text-[#E0E0E0] hover:text-[#00FF9D]"><i data-feather="instagram"></i></a>
<a href="#" class="text-[#E0E0E0] hover:text-[#00FF9D]"><i data-feather="twitter"></i></a>
</div>
</div>
</div>
<!-- Fighter Card 2 -->
<div class="card-hover bg-[#111111] rounded-xl overflow-hidden transition-all duration-300 ease-in-out">
<div class="relative h-80 bg-cover bg-center" style="background-image: url('http://static.photos/sport/640x360/4');">
<div class="absolute inset-0 bg-gradient-to-t from-black to-transparent"></div>
<div class="absolute bottom-0 left-0 p-6">
<h3 class="text-2xl font-bold">Алексей "Титан" Смирнов</h3>
<p class="text-[#00FF9D]">12-1-0 | Полутяжёлый вес</p>
</div>
</div>
<div class="p-6">
<p class="text-[#E0E0E0] mb-4">Специализация: муай-тай, джиу-джитсу</p>
<div class="flex space-x-4">
<a href="#" class="text-[#E0E0E0] hover:text-[#00FF9D]"><i data-feather="instagram"></i></a>
<a href="#" class="text-[#E0E0E0] hover:text-[#00FF9D]"><i data-feather="twitter"></i></a>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Events Section -->
<section class="py-20 px-6 parallax-section section-reveal" style="background-image: url('http://static.photos/black/1200x630/6');">
<div class="container mx-auto">
<h2 class="text-4xl font-bold mb-16 text-center font-orbitron neon-text">БЛИЖАЙШИЕ ТУРНИРЫ</h2>
<div class="grid grid-cols-1 md:grid-cols-2 gap-8">
<!-- Event 1 -->
<div class="bg-black bg-opacity-70 p-8 rounded-xl neon-border">
<h3 class="text-2xl font-bold mb-2">PRIME FL 25: ВОЗМЕЗДИЕ</h3>
<p class="text-[#00FF9D] mb-4">15 декабря 2023 | Москва, ВТБ Арена</p>
<div class="flex space-x-4 mb-6">
<div class="text-center">
<div class="text-3xl font-bold" id="days1">00</div>
<div class="text-sm">Дней</div>
</div>
<div class="text-center">
<div class="text-3xl font-bold" id="hours1">00</div>
<div class="text-sm">Часов</div>
</div>
<div class="text-center">
<div class="text-3xl font-bold" id="minutes1">00</div>
<div class="text-sm">Минут</div>
</div>
</div>
<button class="bg-[#FFD700] hover:bg-[#FFE58F] text-black font-bold py-2 px-6 rounded-full transition-all duration-300 gold-border">Купить билеты</button>
</div>
<!-- Event 2 -->
<div class="bg-black bg-opacity-70 p-8 rounded-xl neon-border">
<h3 class="text-2xl font-bold mb-2">PRIME FL 26: НОВЫЙ УРОВЕНЬ</h3>
<p class="text-[#00FF9D] mb-4">27 января 2024 | Санкт-Петербург, СИБУР Арена</p>
<div class="flex space-x-4 mb-6">
<div class="text-center">
<div class="text-3xl font-bold" id="days2">00</div>
<div class="text-sm">Дней</div>
</div>
<div class="text-center">
<div class="text-3xl font-bold" id="hours2">00</div>
<div class="text-sm">Часов</div>
</div>
<div class="text-center">
<div class="text-3xl font-bold" id="minutes2">00</div>
<div class="text-sm">Минут</div>
</div>
</div>
<button class="bg-[#00FF9D] hover:bg-[#00FF00] text-black font-bold py-2 px-6 rounded-full transition-all duration-300">Купить билеты</button>
</div>
</div>
</div>
</section>
<!-- News Section -->
<section class="py-20 px-6 bg-black section-reveal">
<div class="container mx-auto">
<h2 class="text-4xl font-bold mb-16 text-center font-orbitron neon-text">ПОСЛЕДНИЕ НОВОСТИ</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<!-- News 1 -->
<div class="card-hover bg-[#111111] rounded-xl overflow-hidden transition-all duration-300 ease-in-out">
<div class="relative h-48 bg-cover bg-center" style="background-image: url('http://static.photos/sport/640x360/7');">
<div class="absolute inset-0 bg-gradient-to-t from-black to-transparent opacity-0 hover:opacity-100 transition-opacity duration-300 flex items-center justify-center">
<button class="bg-[#00FF9D] hover:bg-[#00FF00] text-black font-bold py-2 px-6 rounded-full transition-all duration-300">Смотреть</button>
</div>
</div>
<div class="p-6">
<h3 class="text-xl font-bold mb-2">Петров нокаутировал Силву в первом раунде</h3>
<p class="text-[#E0E0E0] text-sm mb-4">12 ноября 2023</p>
<p class="text-[#E0E0E0]">Иван "Гроза" Петров продемонстрировал свою мощь...</p>
</div>
</div>
<!-- News 2 -->
<div class="card-hover bg-[#111111] rounded-xl overflow-hidden transition-all duration-300 ease-in-out">
<div class="relative h-48 bg-cover bg-center" style="background-image: url('http://static.photos/sport/640x360/8');">
<div class="absolute inset-0 bg-gradient-to-t from-black to-transparent opacity-0 hover:opacity-100 transition-opacity duration-300 flex items-center justify-center">
<button class="bg-[#00FF9D] hover:bg-[#00FF00] text-black font-bold py-2 px-6 rounded-full transition-all duration-300">Смотреть</button>
</div>
</div>
<div class="p-6">
<h3 class="text-xl font-bold mb-2">Анонсирован турнир PRIME FL 26</h3>
<p class="text-[#E0E0E0] text-sm mb-4">5 ноября 2023</p>
<p class="text-[#E0E0E0]">Организаторы объявили дату и место проведения...</p>
</div>
</div>
<!-- News 3 -->
<div class="card-hover bg-[#111111] rounded-xl overflow-hidden transition-all duration-300 ease-in-out">
<div class="relative h-48 bg-cover bg-center" style="background-image: url('http://static.photos/sport/640x360/9');">
<div class="absolute inset-0 bg-gradient-to-t from-black to-transparent opacity-0 hover:opacity-100 transition-opacity duration-300 flex items-center justify-center">
<button class="bg-[#00FF9D] hover:bg-[#00FF00] text-black font-bold py-2 px-6 rounded-full transition-all duration-300">Смотреть</button>
</div>
</div>
<div class="p-6">
<h3 class="text-xl font-bold mb-2">Козлов сохранил непобеждённый статус</h3>
<p class="text-[#E0E0E0] text-sm mb-4">29 октября 2023</p>
<p class="text-[#E0E0E0]">Дмитрий "Буря" Козлов одержал победу единогласным...</p>
</div>
</div>
</div>
</div>
</section>
</div>
<!-- Footer -->
<footer class="py-12 px-6 bg-[#0D0D0D] border-t border-[#FFD700] section-reveal">
<div class="container mx-auto">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<h3 class="text-xl font-bold mb-4 font-orbitron gold-text">PRIME<span class="text-[#FFD700]">FL</span></h3>
<p class="text-[#E0E0E0]">Будущее единоборств уже здесь</p>
</div>
<div>
<h4 class="text-lg font-bold mb-4">Разделы</h4>
<ul class="space-y-2">
<li><a href="#" class="text-[#E0E0E0] hover:text-[#00FF9D]">Главная</a></li>
<li><a href="#" class="text-[#E0E0E0] hover:text-[#00FF9D]">Бойцы</a></li>
<li><a href="#" class="text-[#E0E0E0] hover:text-[#00FF9D]">Турниры</a></li>
<li><a href="#" class="text-[#E0E0E0] hover:text-[#00FF9D]">Новости</a></li>
</ul>
</div>
<div>
<h4 class="text-lg font-bold mb-4">Контакты</h4>
<ul class="space-y-2">
<li class="flex items-center"><i data-feather="mail" class="mr-2"></i> <a href="mailto:info@primefl.ru" class="text-[#E0E0E0] hover:text-[#00FF9D]">info@primefl.ru</a></li>
<li class="flex items-center"><i data-feather="phone" class="mr-2"></i> <a href="tel:+78005553535" class="text-[#E0E0E0] hover:text-[#00FF9D]">8 800 555 35 35</a></li>
</ul>
</div>
<div>
<h4 class="text-lg font-bold mb-4">Соцсети</h4>
<div class="flex space-x-4">
<a href="#" class="text-[#E0E0E0] hover:text-[#00FF9D]"><i data-feather="instagram"></i></a>
<a href="#" class="text-[#E0E0E0] hover:text-[#00FF9D]"><i data-feather="youtube"></i></a>
<a href="#" class="text-[#E0E0E0] hover:text-[#00FF9D]"><i data-feather="twitter"></i></a>
<a href="#" class="text-[#E0E0E0] hover:text-[#00FF9D]"><i data-feather="facebook"></i></a>
</div>
</div>
</div>
<div class="border-t border-[#333333] mt-12 pt-8 text-center text-[#666666]">
<p>© 2023 PRIME Fighting League. Все права защищены.</p>
</div>
</div>
</footer>
<script>
feather.replace();
gsap.registerPlugin(ScrollTrigger);
document.addEventListener('DOMContentLoaded', function() {
const leftFist = document.getElementById('leftFist');
const rightFist = document.getElementById('rightFist');
const impactFlash = document.getElementById('impactFlash');
const goldGlow = document.getElementById('goldGlow');
const logoReveal = document.getElementById('logoReveal');
const fistAnimation = document.getElementById('fistAnimation');
const mainContent = document.getElementById('mainContent');
// ===== Функция генерации частиц =====
function createParticles(count) {
const particles = [];
for (let i = 0; i < count; i++) {
const particle = document.createElement('div');
particle.classList.add('particle');
particle.style.left = '50%';
particle.style.top = '50%';
document.body.appendChild(particle);
particles.push(particle);
const angle = Math.random() * Math.PI * 2;
const distance = 50 + Math.random() * 100;
gsap.to(particle, {
x: Math.cos(angle) * distance,
y: Math.sin(angle) * distance,
opacity: 0,
duration: 1 + Math.random(),
ease: "power3.out",
onComplete: () => particle.remove()
});
}
}
// ===== Функция генерации дыма =====
function createSmoke(count) {
for (let i = 0; i < count; i++) {
const smoke = document.createElement('div');
smoke.classList.add('smoke');
smoke.style.left = `calc(50% + ${Math.random()*100 - 50}px)`;
smoke.style.top = `calc(50% + ${Math.random()*100 - 50}px)`;
document.body.appendChild(smoke);
gsap.to(smoke, {
scale: 3 + Math.random()*2,
opacity: 0,
duration: 2 + Math.random(),
ease: "power1.out",
onComplete: () => smoke.remove()
});
}
}
// ===== БЛОК 1: АНИМАЦИЯ КУЛАКОВ С ЭФФЕКТАМИ =====
const fistsTimeline = gsap.timeline({ defaults: { duration: 2, ease: "power2.out" } });
fistsTimeline
.to(leftFist, { x: '40vw', delay: 0.5 })
.to(rightFist, { x: '-40vw' }, "<")
.add(() => {
// Вспышка и золотое сияние
gsap.to(impactFlash, { opacity: 1, duration: 0.1, onComplete: () => {
gsap.to(impactFlash, { opacity: 0, duration: 0.3 });
}});
gsap.to(goldGlow, { opacity: 0.6, duration: 0.2, onComplete: () => {
gsap.to(goldGlow, { opacity: 0, duration: 1.5 });
}});
// Вибрация экрана
gsap.to(fistAnimation, { x: 10, duration: 0.05, repeat: 3, yoyo: true });
// Частицы и дым
createParticles(50);
createSmoke(15);
})
.to(logoReveal, {
opacity: 1, scale: 1, duration: 1, ease: "back.out(1.7)",
onComplete: () => {
gsap.to(fistAnimation, { opacity: 0, duration: 1.5, delay: 1, onComplete: () => {
fistAnimation.style.display = 'none';
gsap.to(mainContent, { opacity: 1, duration: 1 });
// ===== БЛОК 2: СЕКЦИИ =====
gsap.utils.toArray('.section-reveal').forEach(section => {
gsap.to(section, {
opacity: 1,
y: 0,
duration: 1,
scrollTrigger: {
trigger: section,
start: "top 80%",
end: "bottom 20%",
toggleActions: "play none none reverse"
}
});
});
// ===== БЛОК 3: ПАРАЛЛАКС =====
gsap.utils.toArray('.parallax-bg').forEach(bg => {
gsap.to(bg, {
yPercent: 30,
ease: "none",
scrollTrigger: {
trigger: bg,
start: "top bottom",
end: "bottom top",
scrub: true
}
});
});
}});
}
});
});
// Countdown timers
function updateCountdown() {
const event1Date = new Date('2023-12-15T20:00:00').getTime();
const event2Date = new Date('2024-01-27T19:00:00').getTime();
const now = new Date().getTime();
// Event 1
const distance1 = event1Date - now;
const days1 = Math.floor(distance1 / (1000 * 60 * 60 * 24));
const hours1 = Math.floor((distance1 % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
const minutes1 = Math.floor((distance1 % (1000 * 60 * 60)) / (1000 * 60));
document.getElementById('days1').innerHTML = days1.toString().padStart(2, '0');
document.getElementById('hours1').innerHTML = hours1.toString().padStart(2, '0');
document.getElementById('minutes1').innerHTML = minutes1.toString().padStart(2, '0');
// Event 2
const distance2 = event2Date - now;
const days2 = Math.floor(distance2 / (1000 * 60 * 60 * 24));
const hours2 = Math.floor((distance2 % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
const minutes2 = Math.floor((distance2 % (1000 * 60 * 60)) / (1000 * 60));
document.getElementById('days2').innerHTML = days2.toString().padStart(2, '0');
document.getElementById('hours2').innerHTML = hours2.toString().padStart(2, '0');
document.getElementById('minutes2').innerHTML = minutes2.toString().padStart(2, '0');
}
updateCountdown();
setInterval(updateCountdown, 60000);
// Background animation
VANTA.GLOBE({
el: ".hero-section",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
scaleMobile: 1.00,
color: 0xFFD700,
backgroundColor: 0x0D0D0D,
size: 0.8
});
</script>
</body>
</html>
|