mu / index.html
Denoria's picture
Add 3 files
534e694 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Star Resonance | Blue Protocol</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Roboto:wght@300;400;500;700&display=swap');
:root {
--primary: #0066cc;
--secondary: #00a0e9;
--dark: #0a192f;
--light: #f8fafc;
--accent: #ff4d4f;
}
body {
font-family: 'Roboto', sans-serif;
background-color: var(--dark);
color: var(--light);
overflow-x: hidden;
}
.title-font {
font-family: 'Orbitron', sans-serif;
}
.gradient-bg {
background: linear-gradient(135deg, var(--dark) 0%, #162a47 50%, var(--primary) 100%);
}
.hero-gradient {
background: radial-gradient(circle at 50% 100%, rgba(0, 102, 204, 0.3) 0%, rgba(10, 25, 47, 0.8) 70%);
}
.class-card {
transition: all 0.3s ease;
background: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
}
.class-card:hover {
transform: translateY(-10px);
box-shadow: 0 10px 25px rgba(0, 160, 233, 0.3);
border-color: var(--secondary);
}
.feature-icon {
width: 80px;
height: 80px;
background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}
.nav-link {
position: relative;
}
.nav-link::after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: -5px;
left: 0;
background-color: var(--secondary);
transition: width 0.3s ease;
}
.nav-link:hover::after {
width: 100%;
}
.star-particle {
position: absolute;
background-color: white;
border-radius: 50%;
pointer-events: none;
z-index: -1;
}
.region-map {
background-image: url('https://images.unsplash.com/photo-1462331940025-496dfbfc7564?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=911&q=80');
background-size: cover;
background-position: center;
height: 400px;
position: relative;
}
.region-overlay {
background: rgba(0, 0, 0, 0.7);
}
.region-marker {
position: absolute;
width: 12px;
height: 12px;
background-color: var(--accent);
border-radius: 50%;
transform: translate(-50%, -50%);
}
.region-marker::after {
content: '';
position: absolute;
width: 20px;
height: 20px;
background-color: rgba(255, 77, 79, 0.5);
border-radius: 50%;
top: -4px;
left: -4px;
animation: pulse 2s infinite;
}
@keyframes pulse {
0% {
transform: scale(0.8);
opacity: 0.7;
}
70% {
transform: scale(1.3);
opacity: 0;
}
100% {
transform: scale(0.8);
opacity: 0;
}
}
.scroll-down {
position: absolute;
bottom: 30px;
left: 50%;
transform: translateX(-50%);
color: white;
font-size: 30px;
animation: bounce 2s infinite;
}
@keyframes bounce {
0%, 20%, 50%, 80%, 100% {
transform: translateY(0) translateX(-50%);
}
40% {
transform: translateY(-20px) translateX(-50%);
}
60% {
transform: translateY(-10px) translateX(-50%);
}
}
</style>
</head>
<body class="gradient-bg">
<!-- Navigation -->
<nav class="fixed w-full z-50 bg-opacity-90 bg-gray-900 backdrop-filter backdrop-blur-lg">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex items-center justify-between h-16">
<div class="flex items-center">
<div class="flex-shrink-0">
<div class="flex items-center">
<i class="fas fa-star text-blue-500 text-2xl mr-2"></i>
<span class="title-font text-white text-xl">STAR RESONANCE</span>
</div>
</div>
<div class="hidden md:block">
<div class="ml-10 flex items-baseline space-x-4">
<a href="#" class="nav-link px-3 py-2 rounded-md text-sm font-medium text-white">Home</a>
<a href="#classes" class="nav-link px-3 py-2 rounded-md text-sm font-medium text-gray-300 hover:text-white">Classes</a>
<a href="#world" class="nav-link px-3 py-2 rounded-md text-sm font-medium text-gray-300 hover:text-white">World</a>
<a href="#features" class="nav-link px-3 py-2 rounded-md text-sm font-medium text-gray-300 hover:text-white">Features</a>
<a href="#" class="nav-link px-3 py-2 rounded-md text-sm font-medium text-gray-300 hover:text-white">News</a>
</div>
</div>
</div>
<div class="hidden md:block">
<div class="ml-4 flex items-center md:ml-6">
<button class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-md text-sm font-medium transition duration-300">
PLAY NOW
</button>
</div>
</div>
<div class="-mr-2 flex md:hidden">
<button type="button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-white hover:bg-gray-700 focus:outline-none">
<span class="sr-only">Open main menu</span>
<i class="fas fa-bars"></i>
</button>
</div>
</div>
</div>
</nav>
<!-- Hero Section -->
<section class="relative h-screen flex items-center justify-center overflow-hidden hero-gradient">
<div class="absolute inset-0 overflow-hidden">
<!-- Star particles will be added here by JavaScript -->
</div>
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10 text-center">
<h1 class="title-font text-5xl md:text-7xl font-bold text-white mb-6">
<span class="text-blue-400">STAR</span> <span class="text-white">RESONANCE</span>
</h1>
<p class="text-xl md:text-2xl text-gray-300 max-w-3xl mx-auto mb-10">
Harness the cosmic energy of the stars in this epic MMORPG adventure.
Explore vast worlds, master unique classes, and shape the fate of the universe.
</p>
<div class="flex flex-col sm:flex-row justify-center gap-4">
<button class="bg-blue-600 hover:bg-blue-700 text-white px-8 py-4 rounded-md text-lg font-bold transition duration-300 transform hover:scale-105">
BEGIN YOUR JOURNEY
</button>
<button class="bg-transparent border-2 border-blue-400 hover:bg-blue-900 hover:bg-opacity-30 text-white px-8 py-4 rounded-md text-lg font-bold transition duration-300 transform hover:scale-105">
WATCH TRAILER <i class="fas fa-play ml-2"></i>
</button>
</div>
</div>
<div class="scroll-down">
<i class="fas fa-chevron-down"></i>
</div>
</section>
<!-- Classes Section -->
<section id="classes" class="py-20 bg-gray-900 bg-opacity-70">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-16">
<h2 class="title-font text-4xl font-bold text-white mb-4">CHOOSE YOUR PATH</h2>
<div class="w-24 h-1 bg-blue-500 mx-auto mb-6"></div>
<p class="text-xl text-gray-300 max-w-3xl mx-auto">
Master one of six unique classes, each with their own playstyle and cosmic abilities.
</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Class 1 -->
<div class="class-card rounded-lg overflow-hidden p-6">
<div class="flex items-center mb-4">
<div class="w-16 h-16 rounded-full bg-blue-900 flex items-center justify-center mr-4">
<i class="fas fa-sun text-yellow-300 text-2xl"></i>
</div>
<h3 class="title-font text-2xl font-bold text-white">Stellar Blade</h3>
</div>
<p class="text-gray-300 mb-4">
Warriors who channel stellar energy into their blades. Excels in close combat with swift, powerful strikes.
</p>
<div class="flex flex-wrap gap-2 mb-4">
<span class="px-3 py-1 bg-blue-900 bg-opacity-50 text-blue-300 rounded-full text-xs">Melee DPS</span>
<span class="px-3 py-1 bg-blue-900 bg-opacity-50 text-blue-300 rounded-full text-xs">High Mobility</span>
<span class="px-3 py-1 bg-blue-900 bg-opacity-50 text-blue-300 rounded-full text-xs">Combo Specialist</span>
</div>
<button class="w-full bg-blue-800 hover:bg-blue-700 text-white py-2 rounded-md transition duration-300">
LEARN MORE
</button>
</div>
<!-- Class 2 -->
<div class="class-card rounded-lg overflow-hidden p-6">
<div class="flex items-center mb-4">
<div class="w-16 h-16 rounded-full bg-purple-900 flex items-center justify-center mr-4">
<i class="fas fa-moon text-purple-300 text-2xl"></i>
</div>
<h3 class="title-font text-2xl font-bold text-white">Lunar Sage</h3>
</div>
<p class="text-gray-300 mb-4">
Mystics who draw power from lunar phases. Masters of elemental magic and battlefield control.
</p>
<div class="flex flex-wrap gap-2 mb-4">
<span class="px-3 py-1 bg-purple-900 bg-opacity-50 text-purple-300 rounded-full text-xs">Ranged Caster</span>
<span class="px-3 py-1 bg-purple-900 bg-opacity-50 text-purple-300 rounded-full text-xs">Crowd Control</span>
<span class="px-3 py-1 bg-purple-900 bg-opacity-50 text-purple-300 rounded-full text-xs">Phase Magic</span>
</div>
<button class="w-full bg-purple-800 hover:bg-purple-700 text-white py-2 rounded-md transition duration-300">
LEARN MORE
</button>
</div>
<!-- Class 3 -->
<div class="class-card rounded-lg overflow-hidden p-6">
<div class="flex items-center mb-4">
<div class="w-16 h-16 rounded-full bg-green-900 flex items-center justify-center mr-4">
<i class="fas fa-leaf text-green-300 text-2xl"></i>
</div>
<h3 class="title-font text-2xl font-bold text-white">Celestial Warden</h3>
</div>
<p class="text-gray-300 mb-4">
Guardians who commune with celestial spirits. Versatile protectors with healing and defensive abilities.
</p>
<div class="flex flex-wrap gap-2 mb-4">
<span class="px-3 py-1 bg-green-900 bg-opacity-50 text-green-300 rounded-full text-xs">Support</span>
<span class="px-3 py-1 bg-green-900 bg-opacity-50 text-green-300 rounded-full text-xs">Healing</span>
<span class="px-3 py-1 bg-green-900 bg-opacity-50 text-green-300 rounded-full text-xs">Barriers</span>
</div>
<button class="w-full bg-green-800 hover:bg-green-700 text-white py-2 rounded-md transition duration-300">
LEARN MORE
</button>
</div>
<!-- Class 4 -->
<div class="class-card rounded-lg overflow-hidden p-6">
<div class="flex items-center mb-4">
<div class="w-16 h-16 rounded-full bg-red-900 flex items-center justify-center mr-4">
<i class="fas fa-fire text-red-300 text-2xl"></i>
</div>
<h3 class="title-font text-2xl font-bold text-white">Nova Striker</h3>
</div>
<p class="text-gray-300 mb-4">
Berserkers who unleash supernova energy. High-risk, high-reward melee fighters with explosive power.
</p>
<div class="flex flex-wrap gap-2 mb-4">
<span class="px-3 py-1 bg-red-900 bg-opacity-50 text-red-300 rounded-full text-xs">Burst Damage</span>
<span class="px-3 py-1 bg-red-900 bg-opacity-50 text-red-300 rounded-full text-xs">Self-Sacrifice</span>
<span class="px-3 py-1 bg-red-900 bg-opacity-50 text-red-300 rounded-full text-xs">Critical Strikes</span>
</div>
<button class="w-full bg-red-800 hover:bg-red-700 text-white py-2 rounded-md transition duration-300">
LEARN MORE
</button>
</div>
<!-- Class 5 -->
<div class="class-card rounded-lg overflow-hidden p-6">
<div class="flex items-center mb-4">
<div class="w-16 h-16 rounded-full bg-yellow-900 flex items-center justify-center mr-4">
<i class="fas fa-bolt text-yellow-300 text-2xl"></i>
</div>
<h3 class="title-font text-2xl font-bold text-white">Astromancer</h3>
</div>
<p class="text-gray-300 mb-4">
Scholars who calculate celestial trajectories. Ranged attackers with precise, calculated strikes.
</p>
<div class="flex flex-wrap gap-2 mb-4">
<span class="px-3 py-1 bg-yellow-900 bg-opacity-50 text-yellow-300 rounded-full text-xs">Ranged DPS</span>
<span class="px-3 py-1 bg-yellow-900 bg-opacity-50 text-yellow-300 rounded-full text-xs">Positional</span>
<span class="px-3 py-1 bg-yellow-900 bg-opacity-50 text-yellow-300 rounded-full text-xs">Predictive</span>
</div>
<button class="w-full bg-yellow-800 hover:bg-yellow-700 text-white py-2 rounded-md transition duration-300">
LEARN MORE
</button>
</div>
<!-- Class 6 -->
<div class="class-card rounded-lg overflow-hidden p-6">
<div class="flex items-center mb-4">
<div class="w-16 h-16 rounded-full bg-indigo-900 flex items-center justify-center mr-4">
<i class="fas fa-shield-alt text-indigo-300 text-2xl"></i>
</div>
<h3 class="title-font text-2xl font-bold text-white">Void Sentinel</h3>
</div>
<p class="text-gray-300 mb-4">
Stalwart defenders who absorb cosmic energy. The ultimate tanks who protect allies by drawing enemy attention.
</p>
<div class="flex flex-wrap gap-2 mb-4">
<span class="px-3 py-1 bg-indigo-900 bg-opacity-50 text-indigo-300 rounded-full text-xs">Tank</span>
<span class="px-3 py-1 bg-indigo-900 bg-opacity-50 text-indigo-300 rounded-full text-xs">Damage Mitigation</span>
<span class="px-3 py-1 bg-indigo-900 bg-opacity-50 text-indigo-300 rounded-full text-xs">Aggro Control</span>
</div>
<button class="w-full bg-indigo-800 hover:bg-indigo-700 text-white py-2 rounded-md transition duration-300">
LEARN MORE
</button>
</div>
</div>
</div>
</section>
<!-- World Section -->
<section id="world" class="py-20 relative">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-16">
<h2 class="title-font text-4xl font-bold text-white mb-4">EXPLORE THE COSMOS</h2>
<div class="w-24 h-1 bg-blue-500 mx-auto mb-6"></div>
<p class="text-xl text-gray-300 max-w-3xl mx-auto">
Journey through breathtaking celestial landscapes across multiple star systems.
</p>
</div>
<div class="region-map rounded-xl overflow-hidden relative">
<div class="region-overlay absolute inset-0 flex items-center justify-center">
<div class="text-center p-8">
<h3 class="title-font text-3xl font-bold text-white mb-4">STAR RESONANCE UNIVERSE</h3>
<p class="text-gray-300 mb-8 max-w-2xl mx-auto">
From the crystalline forests of Lumina to the floating ruins of the Ancient Precursors,
each region offers unique challenges and stories to discover.
</p>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
<div class="bg-gray-900 bg-opacity-70 p-6 rounded-lg">
<h4 class="title-font text-xl text-blue-400 mb-2">LUMINA SYSTEM</h4>
<p class="text-gray-300">
The central hub of civilization, bathed in the light of three suns.
</p>
</div>
<div class="bg-gray-900 bg-opacity-70 p-6 rounded-lg">
<h4 class="title-font text-xl text-purple-400 mb-2">NEBULA FRONTIER</h4>
<p class="text-gray-300">
Unexplored territories rich in resources and ancient mysteries.
</p>
</div>
<div class="bg-gray-900 bg-opacity-70 p-6 rounded-lg">
<h4 class="title-font text-xl text-red-400 mb-2">VOID REALM</h4>
<p class="text-gray-300">
Dangerous regions where the laws of physics break down.
</p>
</div>
</div>
</div>
</div>
<!-- Region markers -->
<div class="region-marker" style="top: 30%; left: 25%;" data-region="Lumina Prime"></div>
<div class="region-marker" style="top: 60%; left: 70%;" data-region="Nebula Outpost"></div>
<div class="region-marker" style="top: 45%; left: 50%;" data-region="Celestial Spire"></div>
<div class="region-marker" style="top: 20%; left: 80%;" data-region="Void Rift"></div>
</div>
</div>
</section>
<!-- Features Section -->
<section id="features" class="py-20 bg-gray-900 bg-opacity-70">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-16">
<h2 class="title-font text-4xl font-bold text-white mb-4">STAR RESONANCE FEATURES</h2>
<div class="w-24 h-1 bg-blue-500 mx-auto mb-6"></div>
<p class="text-xl text-gray-300 max-w-3xl mx-auto">
Experience next-generation MMORPG gameplay with innovative systems.
</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Feature 1 -->
<div class="bg-gray-800 bg-opacity-50 rounded-xl p-6 flex flex-col items-center text-center">
<div class="feature-icon rounded-full flex items-center justify-center mb-6">
<i class="fas fa-atom text-white text-3xl"></i>
</div>
<h3 class="title-font text-2xl font-bold text-white mb-3">Resonance System</h3>
<p class="text-gray-300 mb-4">
Harness the power of celestial bodies to augment your abilities.
Align with different stars to gain unique buffs and transformations.
</p>
</div>
<!-- Feature 2 -->
<div class="bg-gray-800 bg-opacity-50 rounded-xl p-6 flex flex-col items-center text-center">
<div class="feature-icon rounded-full flex items-center justify-center mb-6">
<i class="fas fa-users text-white text-3xl"></i>
</div>
<h3 class="title-font text-2xl font-bold text-white mb-3">Dynamic Events</h3>
<p class="text-gray-300 mb-4">
Participate in massive world events that shape the universe.
Your actions have real consequences on the game world.
</p>
</div>
<!-- Feature 3 -->
<div class="bg-gray-800 bg-opacity-50 rounded-xl p-6 flex flex-col items-center text-center">
<div class="feature-icon rounded-full flex items-center justify-center mb-6">
<i class="fas fa-robot text-white text-3xl"></i>
</div>
<h3 class="title-font text-2xl font-bold text-white mb-3">AI Companions</h3>
<p class="text-gray-300 mb-4">
Recruit and train celestial beings to fight by your side.
Customize their abilities and appearance to match your playstyle.
</p>
</div>
<!-- Feature 4 -->
<div class="bg-gray-800 bg-opacity-50 rounded-xl p-6 flex flex-col items-center text-center">
<div class="feature-icon rounded-full flex items-center justify-center mb-6">
<i class="fas fa-space-shuttle text-white text-3xl"></i>
</div>
<h3 class="title-font text-2xl font-bold text-white mb-3">Starship Customization</h3>
<p class="text-gray-300 mb-4">
Build and personalize your own interstellar vessel.
Travel between planets in style with fully customizable interiors.
</p>
</div>
<!-- Feature 5 -->
<div class="bg-gray-800 bg-opacity-50 rounded-xl p-6 flex flex-col items-center text-center">
<div class="feature-icon rounded-full flex items-center justify-center mb-6">
<i class="fas fa-tshirt text-white text-3xl"></i>
</div>
<h3 class="title-font text-2xl font-bold text-white mb-3">Deep Character Customization</h3>
<p class="text-gray-300 mb-4">
Create a truly unique hero with our advanced character creator.
Thousands of options for appearance, outfits, and accessories.
</p>
</div>
<!-- Feature 6 -->
<div class="bg-gray-800 bg-opacity-50 rounded-xl p-6 flex flex-col items-center text-center">
<div class="feature-icon rounded-full flex items-center justify-center mb-6">
<i class="fas fa-dungeon text-white text-3xl"></i>
</div>
<h3 class="title-font text-2xl font-bold text-white mb-3">Celestial Dungeons</h3>
<p class="text-gray-300 mb-4">
Challenge procedurally generated dungeons that change based on
the current cosmic alignment. No two runs are ever the same.
</p>
</div>
</div>
</div>
</section>
<!-- Call to Action -->
<section class="py-20 relative overflow-hidden">
<div class="absolute inset-0">
<div class="absolute inset-0 bg-black opacity-60"></div>
<div class="absolute inset-0 bg-gradient-to-r from-blue-900 to-purple-900 opacity-30"></div>
</div>
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10">
<div class="text-center">
<h2 class="title-font text-4xl md:text-5xl font-bold text-white mb-6">
BEGIN YOUR COSMIC JOURNEY TODAY
</h2>
<p class="text-xl text-gray-300 max-w-3xl mx-auto mb-10">
Join millions of players across the galaxy in the ultimate MMORPG experience.
</p>
<div class="flex flex-col sm:flex-row justify-center gap-4">
<button class="bg-blue-600 hover:bg-blue-700 text-white px-8 py-4 rounded-md text-lg font-bold transition duration-300 transform hover:scale-105">
DOWNLOAD NOW
</button>
<button class="bg-transparent border-2 border-white hover:bg-white hover:bg-opacity-10 text-white px-8 py-4 rounded-md text-lg font-bold transition duration-300 transform hover:scale-105">
JOIN OUR COMMUNITY
</button>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-900 bg-opacity-90 text-gray-400 py-12">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<div class="flex items-center mb-4">
<i class="fas fa-star text-blue-500 text-2xl mr-2"></i>
<span class="title-font text-white text-xl">STAR RESONANCE</span>
</div>
<p class="mb-4">
The next evolution in MMORPG gaming. Developed by Cosmic Studios.
</p>
<div class="flex space-x-4">
<a href="#" class="text-gray-400 hover:text-white">
<i class="fab fa-twitter"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i class="fab fa-facebook"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i class="fab fa-discord"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i class="fab fa-youtube"></i>
</a>
</div>
</div>
<div>
<h3 class="title-font text-white text-lg font-bold mb-4">GAME</h3>
<ul class="space-y-2">
<li><a href="#" class="hover:text-white transition duration-300">Classes</a></li>
<li><a href="#" class="hover:text-white transition duration-300">World</a></li>
<li><a href="#" class="hover:text-white transition duration-300">Features</a></li>
<li><a href="#" class="hover:text-white transition duration-300">System Requirements</a></li>
</ul>
</div>
<div>
<h3 class="title-font text-white text-lg font-bold mb-4">COMMUNITY</h3>
<ul class="space-y-2">
<li><a href="#" class="hover:text-white transition duration-300">Forums</a></li>
<li><a href="#" class="hover:text-white transition duration-300">Guides</a></li>
<li><a href="#" class="hover:text-white transition duration-300">Fan Art</a></li>
<li><a href="#" class="hover:text-white transition duration-300">Streamers</a></li>
</ul>
</div>
<div>
<h3 class="title-font text-white text-lg font-bold mb-4">SUPPORT</h3>
<ul class="space-y-2">
<li><a href="#" class="hover:text-white transition duration-300">Help Center</a></li>
<li><a href="#" class="hover:text-white transition duration-300">Contact Us</a></li>
<li><a href="#" class="hover:text-white transition duration-300">Feedback</a></li>
<li><a href="#" class="hover:text-white transition duration-300">Privacy Policy</a></li>
</ul>
</div>
</div>
<div class="border-t border-gray-800 mt-12 pt-8 text-sm text-center">
<p>© 2023 Cosmic Studios. All rights reserved. "Star Resonance" is a trademark of Cosmic Studios.</p>
</div>
</div>
</footer>
<script>
// Create star particles
document.addEventListener('DOMContentLoaded', function() {
const heroSection = document.querySelector('.hero-gradient');
const particleContainer = heroSection.querySelector('.absolute');
for (let i = 0; i < 100; i++) {
const star = document.createElement('div');
star.className = 'star-particle';
// Random size between 1 and 3 pixels
const size = Math.random() * 2 + 1;
star.style.width = `${size}px`;
star.style.height = `${size}px`;
// Random position
star.style.left = `${Math.random() * 100}%`;
star.style.top = `${Math.random() * 100}%`;
// Random opacity
star.style.opacity = Math.random() * 0.8 + 0.2;
// Add animation
star.style.animation = `twinkle ${Math.random() * 5 + 3}s infinite ${Math.random() * 2}s`;
particleContainer.appendChild(star);
}
// Add twinkle animation
const style = document.createElement('style');
style.textContent = `
@keyframes twinkle {
0%, 100% { opacity: 0.2; }
50% { opacity: 1; }
}
`;
document.head.appendChild(style);
// Smooth scrolling for anchor links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function(e) {
e.preventDefault();
const targetId = this.getAttribute('href');
if (targetId === '#') return;
const targetElement = document.querySelector(targetId);
if (targetElement) {
window.scrollTo({
top: targetElement.offsetTop - 80,
behavior: 'smooth'
});
}
});
});
// Region marker hover effects
document.querySelectorAll('.region-marker').forEach(marker => {
marker.addEventListener('mouseenter', function() {
const regionName = this.getAttribute('data-region');
const tooltip = document.createElement('div');
tooltip.className = 'absolute bg-gray-900 text-white px-3 py-1 rounded text-sm whitespace-nowrap';
tooltip.textContent = regionName;
tooltip.style.top = '100%';
tooltip.style.left = '50%';
tooltip.style.transform = 'translateX(-50%)';
this.appendChild(tooltip);
});
marker.addEventListener('mouseleave', function() {
const tooltip = this.querySelector('div');
if (tooltip) {
tooltip.remove();
}
});
});
});
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Denoria/mu" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>