
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Self Bot X</title>
    <link href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap" rel="stylesheet">
    <style>
        :root {
            --primary: #00ff00;
            --secondary: #ff00ff;
            --accent: #ffff00;
            --bg: #000080;
            --glow: 0 0 10px var(--primary),
                   0 0 20px var(--primary),
                   0 0 30px var(--primary);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            margin: 0;
            font-family: 'Press Start 2P', 'Courier New', monospace;
            background: linear-gradient(45deg, #000000, #000066, #000033);
            background-size: 400% 400%;
            animation: backgroundPulse 15s ease infinite;
            color: var(--primary);
            line-height: 1.6;
            overflow-x: hidden;
        }

        @keyframes backgroundPulse {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }

        #particles-js {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }

        .grid-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                linear-gradient(transparent 95%, rgba(0, 255, 0, 0.1) 95%),
                linear-gradient(90deg, transparent 95%, rgba(0, 255, 0, 0.1) 95%);
            background-size: 50px 50px;
            pointer-events: none;
            z-index: -1;
        }

        .scanlines {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: repeating-linear-gradient(
                0deg,
                rgba(0, 0, 0, 0.1) 0px,
                rgba(0, 0, 0, 0.1) 1px,
                transparent 1px,
                transparent 2px
            );
            pointer-events: none;
            z-index: 999;
        }

        header {
            text-align: center;
            padding: 3rem;
            position: relative;
            overflow: hidden;
            margin-bottom: 2rem;
            background: rgba(0, 0, 0, 0.5);
            border-bottom: 2px solid var(--primary);
        }

        .title-glitch {
            font-size: 3.5rem;
            margin: 0;
            color: var(--primary);
            text-shadow: var(--glow);
            position: relative;
            animation: textFloat 3s ease-in-out infinite;
        }

        @keyframes textFloat {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 3rem;
            perspective: 2000px;
        }

        .card {
            background: rgba(0, 0, 0, 0.7);
            border: 2px solid var(--primary);
            padding: 2rem;
            text-align: center;
            position: relative;
            transform-style: preserve-3d;
            transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: var(--glow);
        }

        .card:hover {
            transform: translateZ(50px) rotateX(10deg) rotateY(10deg);
            box-shadow: 
                0 0 20px var(--primary),
                0 0 40px var(--secondary);
        }

        .card img {
            width: 80px;
            filter: drop-shadow(0 0 5px var(--primary));
            transition: transform 0.5s ease;
        }

        .card:hover img {
            transform: scale(1.2) rotate(10deg);
        }

        .card h2 {
            margin: 1.5rem 0;
            font-size: 1.5rem;
            color: var(--accent);
            text-shadow: 0 0 5px var(--accent);
        }

        .card p {
            color: #fff;
            margin-bottom: 1.5rem;
            font-size: 0.8rem;
            line-height: 1.8;
        }

        .btn {
            background: transparent;
            border: 2px solid var(--primary);
            color: var(--primary);
            padding: 1rem 2rem;
            font-family: inherit;
            font-size: 0.8rem;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: var(--primary);
            transition: transform 0.3s ease;
            z-index: -1;
        }

        .btn:hover {
            color: #000;
            box-shadow: var(--glow);
        }

        .btn:hover::before {
            transform: translateX(100%);
        }

        .info-popup {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0);
            background: rgba(0, 0, 0, 0.9);
            padding: 2rem;
            border: 2px solid var(--primary);
            max-width: 500px;
            width: 90%;
            z-index: 1000;
            backdrop-filter: blur(10px);
            box-shadow: var(--glow);
            opacity: 0;
            transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        }

        .info-popup.active {
            transform: translate(-50%, -50%) scale(1);
            opacity: 1;
        }

        .explosion-particle {
            position: fixed;
            width: 4px;
            height: 4px;
            background: var(--primary);
            border-radius: 50%;
            pointer-events: none;
            z-index: 1001;
        }

        @keyframes explode {
            0% {
                transform: translate(0, 0);
                opacity: 1;
            }
            100% {
                transform: translate(var(--tx), var(--ty));
                opacity: 0;
            }
        }

        .close-btn {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: none;
            border: 2px solid var(--primary);
            color: var(--primary);
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-family: inherit;
            transition: all 0.3s ease;
        }

        .close-btn:hover {
            background: var(--primary);
            color: #000;
            box-shadow: var(--glow);
        }

        @media (max-width: 768px) {
            .title-glitch {
                font-size: 2rem;
            }

            .container {
                padding: 1rem;
                gap: 1.5rem;
            }

            .card {
                padding: 1.5rem;
            }
        }

        .cursor {
            width: 20px;
            height: 20px;
            border: 2px solid var(--primary);
            border-radius: 50%;
            position: fixed;
            pointer-events: none;
            z-index: 9999;
            mix-blend-mode: difference;
            transition: all 0.1s ease;
            transform: translate(-50%, -50%);
            will-change: transform;
        }

        .cursor::after {
            content: '';
            position: absolute;
            width: 4px;
            height: 4px;
            background: var(--primary);
            border-radius: 50%;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        .cursor.active {
            transform: translate(-50%, -50%) scale(2);
            mix-blend-mode: difference;
        }

        .price-section {
            text-align: center;
            margin: 2rem 0;
            padding: 2rem;
            background: rgba(0, 0, 0, 0.7);
            border: 2px solid var(--primary);
            box-shadow: var(--glow);
            max-width: 400px;
            margin: 3rem auto;
        }

        .price {
            font-size: 3rem;
            color: var(--primary);
            text-shadow: var(--glow);
            margin: 1rem 0;
            animation: priceGlow 2s ease-in-out infinite;
        }

        @keyframes priceGlow {
            0%, 100% { text-shadow: 0 0 10px var(--primary); }
            50% { text-shadow: 0 0 30px var(--primary), 0 0 40px var(--secondary); }
        }

        .discord-btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: #5865F2;
            border: none;
            color: white;
            padding: 1rem 2rem;
            font-family: inherit;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            border-radius: 5px;
            margin-top: 1rem;
        }

        .discord-btn:hover {
            background: #4752C4;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(88, 101, 242, 0.4);
        }

        .discord-btn img {
            width: 24px;
            height: 24px;
        }

        .discord-btn span {
            font-family: 'Press Start 2P', cursive;
            font-size: 0.8rem;
        }
    </style>
</head>
<body>
    <div class="grid-overlay"></div>
    <div class="scanlines"></div>
    <div class="cursor"></div>
    <div id="particles-js"></div>

    <header>
        <h1 class="title-glitch">SELF-BOT X</h1>
    </header>

    <div class="price-section">
        <div class="price">$9.99</div>
        <a href="https://discord.gg/8TvShhGMHc" target="_blank" class="discord-btn">
            <img src="https://cdn.discordapp.com/attachments/1094196420661825586/1191908549986906112/discord-mark-white.png" alt="Discord">
            <span>Join Discord</span>
        </a>
    </div>

    <div class="container">
        <div class="card">
            <img src="https://cdn-icons-png.flaticon.com/512/2622/2622170.png" alt="Automation Icon">
            <h2>Automated Tasks</h2>
            <p>Streamline your workflow with our automation features.</p>
            <button class="btn" onclick="showInfo('Advanced automation features to enhance your productivity.')">Learn More</button>
        </div>

        <div class="card">
            <img src="https://cdn-icons-png.flaticon.com/512/3135/3135715.png" alt="Customization Icon">
            <h2>Full Customization</h2>
            <p>Tailor the bot to suit your needs with flexible options.</p>
            <button class="btn" onclick="showInfo('Powerful customization options to match your requirements.')">Explore</button>
        </div>

        <div class="card">
            <img src="https://cdn-icons-png.flaticon.com/512/1004/1004982.png" alt="Updates Icon">
            <h2>Continuous Updates</h2>
            <p>Receive regular updates to enhance performance and features.</p>
            <button class="btn" onclick="showInfo('Regular updates ensuring optimal performance and new features.')">Stay Updated</button>
        </div>
    </div>

    <div class="info-popup" id="infoPopup">
        <button class="close-btn" onclick="closeInfo()">×</button>
        <div id="infoContent"></div>
    </div>

    <script src="https://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js"></script>
    <script>
        particlesJS('particles-js', {
            particles: {
                number: {
                    value: 80,
                    density: { enable: true, value_area: 800 }
                },
                color: { value: '#00ff00' },
                shape: { type: 'circle' },
                opacity: {
                    value: 0.5,
                    random: true,
                    anim: {
                        enable: true,
                        speed: 1,
                        opacity_min: 0.1,
                        sync: false
                    }
                },
                size: {
                    value: 3,
                    random: true,
                    anim: {
                        enable: true,
                        speed: 2,
                        size_min: 0.1,
                        sync: false
                    }
                },
                line_linked: {
                    enable: true,
                    distance: 150,
                    color: '#00ff00',
                    opacity: 0.2,
                    width: 1
                },
                move: {
                    enable: true,
                    speed: 1.5,
                    direction: 'none',
                    random: true,
                    straight: false,
                    out_mode: 'out',
                    bounce: false
                }
            },
            interactivity: {
                detect_on: 'canvas',
                events: {
                    onhover: { enable: true, mode: 'repulse' },
                    onclick: { enable: true, mode: 'push' },
                    resize: true
                },
                modes: {
                    repulse: { distance: 100, duration: 0.4 },
                    push: { particles_nb: 4 }
                }
            },
            retina_detect: true
        });

        function createExplosionParticles(x, y) {
            const particleCount = 30;
            const container = document.body;
            
            for (let i = 0; i < particleCount; i++) {
                const particle = document.createElement('div');
                particle.className = 'explosion-particle';
                
                // Random angle and distance
                const angle = (Math.random() * Math.PI * 2);
                const velocity = 300 + Math.random() * 200;
                
                // Calculate final position
                const tx = Math.cos(angle) * velocity;
                const ty = Math.sin(angle) * velocity;
                
                // Set initial position
                particle.style.left = x + 'px';
                particle.style.top = y + 'px';
                
                // Set custom properties for animation
                particle.style.setProperty('--tx', `${tx}px`);
                particle.style.setProperty('--ty', `${ty}px`);
                
                // Add to DOM
                container.appendChild(particle);
                
                // Trigger animation
                particle.style.animation = 'explode 0.6s ease-out forwards';
                
                // Clean up
                setTimeout(() => {
                    container.removeChild(particle);
                }, 600);
            }
        }

        function showInfo(text) {
            const popup = document.getElementById('infoPopup');
            const content = document.getElementById('infoContent');
            content.textContent = text;
            popup.style.display = 'block';
            // Trigger reflow
            popup.offsetHeight;
            popup.classList.add('active');
        }

        function closeInfo() {
            const popup = document.getElementById('infoPopup');
            
            // Get popup position before closing
            const rect = popup.getBoundingClientRect();
            const centerX = rect.left + rect.width / 2;
            const centerY = rect.top + rect.height / 2;
            
            // Start explosion effect
            createExplosionParticles(centerX, centerY);
            
            // Remove popup with animation
            popup.classList.remove('active');
            
            setTimeout(() => {
                popup.style.display = 'none';
            }, 300);
        }

        const cursor = document.querySelector('.cursor');
        let mouseX = 0;
        let mouseY = 0;
        let cursorX = 0;
        let cursorY = 0;
        
        document.addEventListener('mousemove', (e) => {
            mouseX = e.clientX;
            mouseY = e.clientY;
        });

        // Smooth cursor animation
        function animateCursor() {
            const ease = 0.2;
            
            cursorX += (mouseX - cursorX) * ease;
            cursorY += (mouseY - cursorY) * ease;
            
            cursor.style.transform = `translate(${cursorX}px, ${cursorY}px)${cursor.classList.contains('active') ? ' scale(2)' : ''}`;
            
            requestAnimationFrame(animateCursor);
        }

        animateCursor();

        document.addEventListener('mousedown', () => {
            cursor.classList.add('active');
        });

        document.addEventListener('mouseup', () => {
            cursor.classList.remove('active');
        });

        document.querySelectorAll('.btn, .close-btn, .discord-btn').forEach(button => {
            button.addEventListener('mouseover', () => {
                cursor.classList.add('active');
            });
            
            button.addEventListener('mouseout', () => {
                cursor.classList.remove('active');
            });
        });
    </script>
</body>
</html>