<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>TMP Crew</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://cdn.jsdelivr.net/npm/lucide-icons"></script> <!-- Lucide Icon CDN -->
    <style>
        /* Loader Styles */
        .loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 50;
        }
        .spinner {
            border: 8px solid transparent;
            border-top: 8px solid #3498db;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            animation: spin 1s linear infinite;
        }
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Notification Styles */
        .notification {
            position: fixed;
            right: 10px;
            bottom: 10px;
            background-color: #333; /* Dark theme */
            color: white;
            padding: 20px;
            border-radius: 8px;
            display: none;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            font-size: 16px;
            z-index: 100;
            width: 300px;
        }

        .notification-title {
            font-weight: bold;
            font-size: 18px;
            margin-bottom: 8px;
        }

        .notification-description {
            font-size: 14px;
        }

        /* Close Button Styles */
        .close-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            background: none;
            border: none;
            color: white;
            font-size: 18px;
            cursor: pointer;
        }

        /* Card Styling */
        .card {
            background-color: #1a202c;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            max-width: 400px;
            margin: 20px auto;
        }

        .card h2 {
            font-size: 24px;
            font-weight: bold;
            color: #ffffff;
        }

        .card p {
            font-size: 16px;
            color: #a0aec0;
        }

        .card .btn {
            display: inline-block;
            background-color: #4caf50;
            color: #fff;
            padding: 10px 20px;
            border-radius: 4px;
            text-decoration: none;
            margin-top: 10px;
            transition: background-color 0.3s ease;
        }

        .card .btn:hover {
            background-color: #45a049;
        }
    </style>
</head>
<body class="bg-black text-white">

    <!-- Loader Section -->
    <div id="loader" class="loader">
        <div class="spinner"></div>
    </div>

    <!-- Notification -->
    <div id="notification" class="notification">
        <button id="closeBtn" class="close-btn">
            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-x">
                <path d="M18 6L6 18"/>
                <path d="M6 6l12 12"/>
            </svg>
        </button>
        <div class="notification-title">TMP Crew | Notification</div>
        <div class="notification-description">Successfully Joined Discord!</div>
    </div>


    <nav class="bg-black shadow-md fixed top-0 left-0 w-full z-50">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="flex justify-between items-center h-16">
                <div class="flex items-center">
                    <h1 class="text-xl font-bold text-white">TMP Crew</h1>
                </div>
                <div class="hidden md:flex space-x-4">
                    <!-- Navigation Links -->
                    <a href="#home" class="text-white hover:text-blue-400 flex items-center">
                        <!-- Home Icon -->
                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-house mr-2">
                            <path d="M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8"/>
                            <path d="M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/>
                        </svg>
                        Home
                    </a>
                    <a href="#get-scripts" class="text-white hover:text-blue-400 flex items-center">
                        <!-- Game Scripts Icon -->
                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-scroll-text mr-2">
                            <path d="M15 12h-5"/>
                            <path d="M15 8h-5"/>
                            <path d="M19 17V5a2 2 0 0 0-2-2H4"/>
                            <path d="M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3"/>
                        </svg>
                        Get Scripts
                    </a>
                    <a href="#our-teams" class="text-white hover:text-blue-400 flex items-center">
                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-info mr-2">
                            <circle cx="12" cy="12" r="10"/>
                            <path d="M12 16v-4"/>
                            <path d="M12 8h.01"/>
                        </svg>
                        Our Teams
                    </a>
                </div>
                <button id="menuToggle" class="md:hidden flex items-center text-white focus:outline-none">
                    <svg class="lucide lucide-menu w-6 h-6" fill="none" stroke="currentColor" xmlns="http://www.w3.org/2000/svg">
                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16"/>
                    </svg>
                </button>
            </div>
        </div>
        <div id="navLinks" class="hidden md:hidden bg-black shadow-md">
            <a href="#home" class="block px-4 py-2 text-white hover:bg-gray-800">Home</a>
            <a href="#get-scripts" class="block px-4 py-2 text-white hover:bg-gray-800">Get Scripts</a>
            <a href="#our-teams" class="block px-4 py-2 text-white hover:bg-gray-800">About</a>
        </div>
    </nav>
    
    <!-- Hero Section -->
    <section id="home">
        <section class="relative bg-black text-white h-screen flex items-center justify-center">
            <div class="absolute inset-0 bg-black bg-opacity-60"></div>
            <div class="relative text-center z-10">
                <h1 class="text-5xl font-bold mb-4">TMP Crew</h1>
                <p class="text-xl mb-8">Welcome to the team</p>
                <button id="joinDiscordBtn" class="bg-blue-500 px-6 py-3 text-white rounded-full hover:bg-blue-700 transition">Join Discord</button>
            </div>
        </section>
    </section>

    <section id="get-scripts">
        <section class="bg-black text-white py-16">
            <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
                <div class="text-center mb-12">
                    <h2 class="text-3xl font-bold mb-4">Game Scripts</h2>
                    <p class="text-lg">Find your favorite game and copy the script below.</p>
                </div>
                <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
                    <!-- Game Card 1 -->
                    <div class="bg-gray-800 p-6 rounded-lg shadow-lg">
                        <div class="mb-4 flex justify-center">
                            <img src="https://tr.rbxcdn.com/180DAY-92d9d99c07ff5a56ac4ab1e23914c7a8/256/256/Image/Webp/noFilter"
                                alt="Game 1" class="rounded-lg w-64 h-64 object-cover">
                        </div>
                        <h3 class="text-xl font-bold mb-2">King Legacy</h3>
                        <p class="text-sm mb-4"><span class="bg-green-500 text-white px-2 py-1 rounded">Online</span> <span
                                class="bg-gray-400 text-white px-2 py-1 rounded">Soon!</span></p>
                        <textarea id="script1" class="w-full h-32 p-4 bg-gray-700 text-white rounded-lg border border-gray-600 mb-2" readonly>loadstring(game:HttpGet("https://starhubx.xyz/Loader.lua"))()</textarea>
                        <div class="flex justify-end">
                            <button class="flex items-center bg-gray-600 px-4 py-2 text-white rounded-full hover:bg-gray-700 transition"
                                onclick="copyScript('script1')">
                                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
                                    stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
                                    class="lucide lucide-clipboard mr-2">
                                    <rect width="8" height="4" x="8" y="2" rx="1" ry="1" />
                                    <path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2" />
                                </svg>
                                Copy
                            </button>
                        </div>
                    </div>
        
                    <!-- Game Card 2 -->
                    <div class="bg-gray-800 p-6 rounded-lg shadow-lg">
                        <div class="mb-4 flex justify-center">
                            <img src="https://tr.rbxcdn.com/180DAY-bbd81795e6106d1ae2e324ae109d001b/256/256/Image/Webp/noFilter"
                                alt="Game 2" class="rounded-lg w-64 h-64 object-cover">
                        </div>
                        <h3 class="text-xl font-bold mb-2">Fisch</h3>
                        <p class="text-sm mb-4"><span class="bg-green-500 text-white px-2 py-1 rounded">Online</span> <span
                                class="bg-gray-400 text-white px-2 py-1 rounded">Coming Soon</span></p>
                        <textarea id="script2" class="w-full h-32 p-4 bg-gray-700 text-white rounded-lg border border-gray-600 mb-2" readonly>loadstring(game:HttpGet("https://starhubx.xyz/Loader.lua"))()</textarea>
                        <div class="flex justify-end">
                            <button class="flex items-center bg-gray-600 px-4 py-2 text-white rounded-full hover:bg-gray-700 transition"
                                onclick="copyScript('script2')">
                                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
                                    stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
                                    class="lucide lucide-clipboard mr-2">
                                    <rect width="8" height="4" x="8" y="2" rx="1" ry="1" />
                                    <path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2" />
                                </svg>
                                Copy
                            </button>
                        </div>
                    </div>
        
                    <div class="bg-gray-800 p-6 rounded-lg shadow-lg">
                        <div class="mb-4 flex justify-center">
                            <img src="https://tr.rbxcdn.com/180DAY-d534f430c4f71efc23f14edefcf1f82c/256/256/Image/Webp/noFilter"
                                alt="Game 2" class="rounded-lg w-64 h-64 object-cover">
                        </div>
                        <h3 class="text-xl font-bold mb-2">Blox Fruits</h3>
                        <p class="text-sm mb-4"><span class="bg-green-500 text-white px-2 py-1 rounded">Online</span> <span
                                class="bg-gray-400 text-white px-2 py-1 rounded">Coming Soon</span></p>
                        <textarea id="script3" class="w-full h-32 p-4 bg-gray-700 text-white rounded-lg border border-gray-600 mb-2" readonly>loadstring(game:HttpGet("https://starhubx.xyz/Loader.lua"))()</textarea>
                        <div class="flex justify-end">
                            <button class="flex items-center bg-gray-600 px-4 py-2 text-white rounded-full hover:bg-gray-700 transition"
                                onclick="copyScript('script3')">
                                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
                                    stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
                                    class="lucide lucide-clipboard mr-2">
                                    <rect width="8" height="4" x="8" y="2" rx="1" ry="1" />
                                    <path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2" />
                                </svg>
                                Copy
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </section>
    </section>

    <script>
        function copyScript(id) {
            const scriptTextarea = document.getElementById(id);
            if (scriptTextarea) {
                // Select and copy the content of the textarea
                scriptTextarea.select();
                document.execCommand('copy');
    
                // Show the notification
                const notification = document.getElementById('notification');
                notification.classList.remove('hidden');
                
                // Auto-hide notification after 3 seconds
                setTimeout(() => {
                    notification.classList.add('hidden');
                }, 3000);
            }
        }
    
        // Close notification
        const closeBtn = document.getElementById('closeBtn');
        closeBtn.addEventListener('click', () => {
            const notification = document.getElementById('notification');
            notification.classList.add('hidden');
        });
    </script>
    

    <section id="our-teams">
        <section class="bg-black text-white py-16">
            <!-- Our Team Section -->
            <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
                <h2 class="text-4xl font-bold mb-6">Our Team</h2>
                <p class="text-lg mb-12">Meet the amazing individuals who make everything possible!</p>
            </div>
        </section>
    
        <!-- Existing Section with Cards -->
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="grid grid-cols-1 md:grid-cols-3 gap-12">
                <!-- Card 1 -->
                <div class="bg-gray-800 p-6 rounded-lg shadow-xl">
                    <div class="flex items-center space-x-4">
                        <img src="https://tr.rbxcdn.com/30DAY-AvatarHeadshot-996C9ED51B7ABA603581445DD5387E77-Png/150/150/AvatarHeadshot/Webp/noFilter" alt="Profile" class="w-24 h-24 rounded-full">
                        <div>
                            <h3 class="text-2xl font-bold">TMP_Bank</h3>
                            <p class="text-blue-400">Captain</p>
                        </div>
                    </div>
                    <div class="mt-6 flex space-x-4">
                        <button class="bg-blue-500 px-4 py-2 text-white rounded-full hover:bg-blue-700 transition">Roblox</button>
                        <button class="bg-gray-600 px-4 py-2 text-white rounded-full hover:bg-gray-800 transition">Tiktok</button>
                    </div>
                </div>
    
                <!-- Card 2 -->
                <div class="bg-gray-800 p-6 rounded-lg shadow-xl">
                    <div class="flex items-center space-x-4">
                        <img src="https://tr.rbxcdn.com/30DAY-AvatarHeadshot-A436F16B08BC31710981E79B5A93AA28-Png/150/150/AvatarHeadshot/Webp/noFilter" alt="Profile" class="w-24 h-24 rounded-full">
                        <div>
                            <h3 class="text-2xl font-bold">TMP_Kenz</h3>
                            <p class="text-blue-400">Vice Captain</p>
                        </div>
                    </div>
                    <div class="mt-6 flex space-x-4">
                        <button class="bg-blue-500 px-4 py-2 text-white rounded-full hover:bg-blue-700 transition">Roblox</button>
                        <button class="bg-gray-600 px-4 py-2 text-white rounded-full hover:bg-gray-800 transition">Github</button>
                    </div>
                </div>
    
                <!-- Card 3 -->
                <div class="bg-gray-800 p-6 rounded-lg shadow-xl">
                    <div class="flex items-center space-x-4">
                        <img src="https://tr.rbxcdn.com/30DAY-AvatarHeadshot-8F25A852CE24BC8CA7C6EC0FE3B5ACDC-Png/150/150/AvatarHeadshot/Webp/noFilter" alt="Profile" class="w-24 h-24 rounded-full">
                        <div>
                            <h3 class="text-2xl font-bold">TMP_Phxt</h3>
                            <p class="text-blue-400">Attacking Supporter</p>
                        </div>
                    </div>
                    <div class="mt-6 flex space-x-4">
                        <button class="bg-blue-500 px-4 py-2 text-white rounded-full hover:bg-blue-700 transition">Roblox</button>
                        <button class="bg-gray-600 px-4 py-2 text-white rounded-full hover:bg-gray-800 transition">Tiktok</button>
                    </div>
                </div>
    
                <div class="bg-gray-800 p-6 rounded-lg shadow-xl">
                    <div class="flex items-center space-x-4">
                        <img src="https://tr.rbxcdn.com/30DAY-AvatarHeadshot-AAF1B8BF6C249359B11E1E6E7855FB87-Png/150/150/AvatarHeadshot/Webp/noFilter" alt="Profile" class="w-24 h-24 rounded-full">
                        <div>
                            <h3 class="text-2xl font-bold">TMP_Wenyi</h3>
                            <p class="text-blue-400">Attacking Supporter</p>
                        </div>
                    </div>
                    <div class="mt-6 flex space-x-4">
                        <button class="bg-blue-500 px-4 py-2 text-white rounded-full hover:bg-blue-700 transition">Roblox</button>
                    </div>
                </div>
    
                <div class="bg-gray-800 p-6 rounded-lg shadow-xl">
                    <div class="flex items-center space-x-4">
                        <img src="https://tr.rbxcdn.com/30DAY-AvatarHeadshot-3672B180D63B83923229EA36E4C15A99-Png/150/150/AvatarHeadshot/Webp/noFilter" alt="Profile" class="w-24 h-24 rounded-full">
                        <div>
                            <h3 class="text-2xl font-bold">TMP_Yumilat</h3>
                            <p class="text-blue-400">Attacking Supporter</p>
                        </div>
                    </div>
                    <div class="mt-6 flex space-x-4">
                        <button class="bg-blue-500 px-4 py-2 text-white rounded-full hover:bg-blue-700 transition">Roblox</button>
                    </div>
                </div>
            </div>
        </div>
    
        <!-- Footer for "All Rights Reserved" text -->
        <footer class="bg-black text-white py-4 mt-12">
            <div class="text-center">
                <p class="text-sm">&copy; 2024 All Rights Reserved</p>
            </div>
        </footer>
    </section>
    
    
    <style>
        html {
            scroll-behavior: smooth;
        }
    </style>

    <script>
        // Toggle menu functionality for mobile view
        const menuToggle = document.getElementById('menuToggle');
        const navLinks = document.getElementById('navLinks');

        menuToggle.addEventListener('click', () => {
            navLinks.classList.toggle('hidden');
        });
        
        // Hide loader after 4 seconds
        window.onload = () => {
            setTimeout(() => {
                document.getElementById('loader').style.display = 'none';
            }, 1000);
        };

        // Show notification on Join Discord button click
        document.getElementById('joinDiscordBtn').addEventListener('click', () => {
            const notification = document.getElementById('notification');
            notification.style.display = 'block';
            setTimeout(() => {
                notification.style.display = 'none';
            }, 1000); // Hide notification after 3 seconds
        });

        // Close notification when close button is clicked
        document.getElementById('closeBtn').addEventListener('click', () => {
            const notification = document.getElementById('notification');
            notification.style.display = 'none';
        });
    </script>
</body>
</html>
