<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Zinner Hub</title>
    <link rel="icon" href="https://cdn.discordapp.com/attachments/1188788780241522729/1327679301352423444/Logo_Zinner_Hub-removebg-preview.png?ex=6783f134&is=67829fb4&hm=76e0506fe6a00c00aa365ff05cc2aa6dd4f432adbce258ddf873e84505bea209&" type="image/png">
    <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">Zinner Hub | 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">
                    <!-- Icon and Title -->
                    <img src="https://cdn.discordapp.com/attachments/1188788780241522729/1327679301352423444/Logo_Zinner_Hub-removebg-preview.png?ex=6783f134&is=67829fb4&hm=76e0506fe6a00c00aa365ff05cc2aa6dd4f432adbce258ddf873e84505bea209&" alt="Zinner Hub Icon" class="w-8 h-8 mr-2">
                    <h1 class="text-xl font-bold text-white">Zinner Hub</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">Zinner Hub</h1>
                <p class="text-xl mb-8">Welcome to my website scripts</p>
                <a href="https://discord.gg/myz8JTDxVT" target="_blank" class="bg-blue-500 px-6 py-3 text-white rounded-full hover:bg-blue-700 transition">Join Discord</a>
            </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-gray-400 text-white px-2 py-1 rounded ml-2">Offline!</span>
                  <span id="exec-count-game1" class="bg-blue-500 text-white px-2 py-1 rounded ml-2">Executes: 0</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://zinner-hub.netlify.app/Loader.lua",true))()</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-gray-400 text-white px-2 py-1 rounded ml-2">Offline!</span>
                  <span id="exec-count-game2" class="bg-blue-500 text-white px-2 py-1 rounded ml-2">Executes: 0</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://zinner-hub.netlify.app/Loader.lua",true))()</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>
      
              <!-- Game Card 3 -->
              <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 3" 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 ml-2">Online</span>
                  <span id="exec-count-game3" class="bg-blue-500 text-white px-2 py-1 rounded ml-2">Executes: 0</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://zinner-hub.netlify.app/Loader.lua",true))()</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>

      <div id="data-container"></div>

      <script src="script.js"></script>

    <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://cdn.discordapp.com/attachments/1188788780241522729/1327681752931631254/28ee134e2d3f35c145fc6650af5efa40.png?ex=6783f37d&is=6782a1fd&hm=d156353e87742a56a39c6e38a904e3d24234edb2651234e3c8a5a97900f915ee&" alt="Profile" class="w-24 h-24 rounded-full">
                        <div>
                            <h3 class="text-2xl font-bold">HoangNam</h3>
                            <p class="text-blue-400">Owner | Ceo 👑</p>
                        </div>
                    </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://cdn.discordapp.com/attachments/1188788780241522729/1327680771917479956/Avatar_Nightx.png?ex=6783f293&is=6782a113&hm=649aef8cec0416933c413ab6096a82f5cac29ea5e23911f9c02520f6cd36a9cf&" alt="Profile" class="w-24 h-24 rounded-full">
                        <div>
                            <h3 class="text-2xl font-bold">! Nightx</h3>
                            <p class="text-blue-400">Developer ⭐</p>
                        </div>
                    </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://cdn.discordapp.com/avatars/1183723015452758077/f439d40e7a5913eece1e2a0d85c50dbc.webp?size=80" alt="Profile" class="w-24 h-24 rounded-full">
                        <div>
                            <h3 class="text-2xl font-bold">Kenz_Coder</h3>
                            <p class="text-blue-400">Developer ⭐</p>
                        </div>
                    </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; Zinner Hub - 2025 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';
            }, 0);
        };

    </script>
</body>
</html>
