<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Aviator Game - Soar to Victory</title>
    
    <!-- Meta Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '2047397512426843');
fbq('track', 'PageView');
</script>
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=2047397512426843&ev=PageView&noscript=1"
/></noscript>
<!-- End Meta Pixel Code -->

    <!-- Google Fonts -->
    <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=Anton&family=Montserrat:wght@300;400;500;600;700;800&family=Inter+Tight:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
    
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter Tight', sans-serif;
            background: linear-gradient(135deg, #000000 0%, #1a0000 50%, #330000 100%);
            color: white;
            overflow-x: hidden;
            min-height: 100vh;
        }

        /* Animated background particles */
        .particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
        }

        .particle {
            position: absolute;
            width: 2px;
            height: 2px;
            background: #ff4444;
            border-radius: 50%;
            animation: float 6s infinite linear;
        }

        @keyframes float {
            0% {
                transform: translateY(100vh) rotate(0deg);
                opacity: 0;
            }
            20% {
                opacity: 1;
            }
            80% {
                opacity: 1;
            }
            100% {
                transform: translateY(-100px) rotate(360deg);
                opacity: 0;
            }
        }

        /* Header */
        .header {
            position: relative;
            z-index: 10;
            padding: 1rem 0;
            text-align: center;
        }

        .logo {
            font-family: 'Anton', sans-serif;
            font-size: 3rem;
            font-weight: 400;
            background: linear-gradient(45deg, #ff0000, #cc0000, #ff3333);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
            margin-bottom: 0.5rem;
        }

        .tagline {
            font-family: 'Montserrat', sans-serif;
            font-size: 1rem;
            color: #cccccc;
            font-weight: 300;
            letter-spacing: 2px;
        }

        /* Main content */
        .main-content {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 85vh;
            position: relative;
            z-index: 10;
            padding: 2rem;
        }

        .content-wrapper {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            max-width: 1200px;
            width: 100%;
            align-items: center;
        }

        .text-section {
            text-align: left;
        }

        .main-title {
            font-family: 'Montserrat', sans-serif;
            font-size: 4rem;
            font-weight: 800;
            margin-bottom: 1rem;
            background: linear-gradient(45deg, #ffffff, #ff4444);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1.1;
        }

        .subtitle {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.3rem;
            color: #cccccc;
            margin-bottom: 2rem;
            line-height: 1.6;
            font-weight: 400;
        }

        .features {
            list-style: none;
            margin: 2rem 0;
        }

        .features li {
            padding: 0.5rem 0;
            color: #ffffff;
            position: relative;
            padding-left: 2rem;
            font-family: 'Inter Tight', sans-serif;
            font-weight: 500;
        }

        .features li::before {
            content: "✈";
            position: absolute;
            left: 0;
            color: #ff4444;
            font-size: 1.2rem;
        }

        /* Play button */
        .play-button {
            font-family: 'Montserrat', sans-serif;
            background: linear-gradient(45deg, #ff0000, #cc0000);
            border: none;
            padding: 1.5rem 4rem;
            font-size: 1.5rem;
            font-weight: 700;
            color: white;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-top: 2rem;
            position: relative;
            overflow: hidden;
        }

        .play-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }

        .play-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(255, 0, 0, 0.4);
        }

        .play-button:hover::before {
            left: 100%;
        }

        .play-button:active {
            transform: translateY(-1px);
        }

        /* Image section */
        .image-section {
            text-align: center;
            position: relative;
        }

        .plane-container {
            position: relative;
            display: inline-block;
        }

        .plane-image {
            max-width: 100%;
            height: auto;
            filter: drop-shadow(0 20px 40px rgba(255, 68, 68, 0.3));
            animation: float-plane 4s ease-in-out infinite;
        }

        @keyframes float-plane {
            0%, 100% {
                transform: translateY(0px) rotate(0deg);
            }
            50% {
                transform: translateY(-20px) rotate(2deg);
            }
        }

        .glow-effect {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 120%;
            height: 120%;
            background: radial-gradient(circle, rgba(255, 68, 68, 0.1) 0%, transparent 70%);
            border-radius: 50%;
            animation: pulse 3s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% {
                transform: translate(-50%, -50%) scale(1);
                opacity: 0.3;
            }
            50% {
                transform: translate(-50%, -50%) scale(1.1);
                opacity: 0.1;
            }
        }

        /* Stats section */
        .stats {
            position: relative;
            z-index: 10;
            padding: 4rem 2rem;
            text-align: center;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            max-width: 800px;
            margin: 0 auto;
        }

        .stat-item {
            background: rgba(255, 68, 68, 0.1);
            border: 1px solid rgba(255, 68, 68, 0.3);
            padding: 2rem;
            border-radius: 15px;
            backdrop-filter: blur(10px);
        }

        .stat-number {
            font-family: 'Anton', sans-serif;
            font-size: 2.5rem;
            font-weight: 400;
            color: #ff4444;
            margin-bottom: 0.5rem;
        }

        .stat-label {
            font-family: 'Montserrat', sans-serif;
            color: #cccccc;
            font-size: 1rem;
            font-weight: 400;
        }

        /* Responsive design */
        @media (max-width: 768px) {
            .content-wrapper {
                grid-template-columns: 1fr;
                gap: 2rem;
                text-align: center;
            }

            .main-title {
                font-size: 2.5rem;
            }

            .text-section {
                text-align: center;
            }

            .logo {
                font-size: 2.5rem;
            }

            .tagline {
                font-size: 0.9rem;
            }

            .play-button {
                padding: 1rem 3rem;
                font-size: 1.2rem;
            }

            .stats-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
        }

        /* Loading animation */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fade-in {
            animation: fadeInUp 1s ease-out;
        }

        .fade-in-delay {
            animation: fadeInUp 1s ease-out 0.5s both;
        }
    </style>
</head>
<body>
    <!-- Animated particles -->
    <div class="particles" id="particles"></div>

    <!-- Header -->
    <header class="header fade-in">
        <h1 class="logo">AVIATOR</h1>
        <p class="tagline">SOAR TO VICTORY</p>
    </header>

    <!-- Main content -->
    <main class="main-content">
        <div class="content-wrapper">
            <div class="text-section fade-in-delay">
                <h2 class="main-title">Take Flight<br>Win Big</h2>
                <p class="subtitle">
                    Sureshot prediction channel with
                    <strong>99.99% accuracy!</strong>
                </p>
                
                <button class="play-button" onclick="redirect()">JOIN NOW</button>
            </div>

            <div class="image-section fade-in-delay">
                <div class="plane-container">
                    <div class="glow-effect"></div>
                    <img src="https://i.ibb.co/bR10DTG1/image.webp" alt="Aviator Plane" class="plane-image">
                </div>
            </div>
        </div>
    </main>

    <!-- Stats section -->
    <section class="stats">
        <div class="stats-grid">
            <div class="stat-item">
                <div class="stat-number">10M+</div>
                <div class="stat-label">Games Played</div>
            </div>
            <div class="stat-item">
                <div class="stat-number">500K+</div>
                <div class="stat-label">Active Players</div>
            </div>
            <div class="stat-item">
                <div class="stat-number">₹50L+</div>
                <div class="stat-label">Winnings Paid</div>
            </div>
        </div>
    </section>

    <script>
        // Create floating particles
        function createParticles() {
            const particlesContainer = document.getElementById('particles');
            const numberOfParticles = 30;

            for (let i = 0; i < numberOfParticles; i++) {
                const particle = document.createElement('div');
                particle.className = 'particle';
                particle.style.left = Math.random() * 100 + '%';
                // Spread initial positions across the screen height to avoid clustering
                particle.style.top = Math.random() * 100 + '%';
                particle.style.animationDelay = Math.random() * 8 + 's';
                particle.style.animationDuration = (Math.random() * 4 + 6) + 's';
                particlesContainer.appendChild(particle);
            }
        }

        // Start game function
        function redirect() {
            window.location.href = "https://t.me/+8IUvZUoGZmwwYWE1";
        }

        // Initialize particles when page loads
        document.addEventListener('DOMContentLoaded', function() {
            createParticles();
        });

        // Add smooth scroll behavior and dynamic effects
        window.addEventListener('scroll', function() {
            const scrolled = window.pageYOffset;
            const parallax = document.querySelector('.plane-image');
            if (parallax) {
                const speed = scrolled * 0.2;
                parallax.style.transform = `translateY(${speed}px) rotate(${speed * 0.1}deg)`;
            }
        });
    </script>
</body>
</html>