<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Zephyros</title>
    <style>



/* Modal styles */
.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 60%;
    max-width: 400px;
    background-color: #1e1e1e;
    color: #ffffff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.modal-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.modal-content p {
    font-size: 16px;
    margin-bottom: 20px;
}

.modal-content button {
    background-color: #6e2dd9;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.modal-content button:hover {
    background-color: #5822b1;
}

/* Visible modal */
.modal.visible {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}
/* Hidden modal*/
.hidden {
    display: none;
}


        body {
            margin: 0;
            background-color: #141414; /* Dark background */
            color: #ffffff; /* White text */
            font-family: Arial, sans-serif;
            overflow-x: hidden;
            overflow-y: scroll; /* Ensure the scrollbar is visible */
        }

        /* Scrollbar styling */
        body::-webkit-scrollbar {
            width: 10px;
        }
        body::-webkit-scrollbar-track {
            background: #1a1a1a; /* Darker track */
        }
        body::-webkit-scrollbar-thumb {
            background: #6e2dd9; /* Purple thumb */
            border-radius: 5px;
        }

        .banner {
            background-color: #6e2dd9;
            color: #ffffff;
            padding: 10px 30px;
            border-radius: 15px;
            text-align: center;
            font-size: 20px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
            width: 70%;
            margin: 20px auto;
        }

        .gray-banner {
            background-color: #202020;
            padding: 25px 30px;
            border-radius: 15px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
            width: 70%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 18px;
            color: #ffffff;
            margin: 20px auto;
        }

        .gray-banner .title {
            font-size: 22px;
            font-weight: bold;
        }

        .search-bar {
            display: flex;
            align-items: center;
            flex: 1;
            margin-left: 20px;
            position: relative;
        }

        .search-bar input {
            width: calc(100% - 40px);
            padding: 8px 12px;
            border: 2px solid #6e2dd9;
            border-radius: 20px;
            background-color: #1a1a1a;
            color: #ffffff;
            font-size: 16px;
        }

        .search-bar input::placeholder {
            color: #6e2dd9;
        }

        .search-bar input:focus {
            outline: none;
        }

        .search-bar .emoji {
            margin-left: 10px;
            font-size: 20px;
            color: #ffffff;
        }

        .welcome-text {
            font-size: 60px;
            font-weight: bold;
            text-align: center;
            margin-top: 50px;
            color: #ffffff;
        }

        .description {
            font-size: 18px;
            text-align: center;
            margin: 120px auto; /* Increased gap */
            width: 70%;
            color: #cccccc;
        }

        .panel {
            background-color: #202020;
            color: #ffffff;
            padding: 50px 30px; /* Reduced padding */
            border-radius: 15px;
            text-align: center;
            font-size: 25px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
            width: 70%;
            margin: 100px auto 50px auto; /* Position adjusted */
        }

        .panel .products-title {
            font-size: 30px;
            font-weight: bold;
            margin-bottom: 40px;
        }

        .panel-buttons {
            display: grid;
            grid-template-columns: repeat(3, 1fr); /* 3 buttons per row */
            gap: 20px;
            justify-items: center;
        }

        .panel-buttons .button {
            width: 150px;
            height: 150px;
            background-color: #1e1e1e; /* Slightly darker gray */
            border-radius: 10px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
            position: relative;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .panel-buttons .button:hover {
            transform: scale(1.1); /* Grow on hover */
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.8);
        }

        .panel-buttons .button .game-title {
            font-size: 18px;
            font-weight: bold;
            color: #ffffff;
            text-align: center;
            line-height: 150px; /* Center text vertically */
        }

        .panel-buttons .button .view-banner {
            position: absolute;
            bottom: 0;
            width: 100%;
            background-color: #6e2dd9; /* Purple banner */
            color: #ffffff;
            text-align: center;
            font-size: 14px;
            padding: 5px 0;
        }

        /* Circle animation (snowflakes) */
        .snowflake {
            position: fixed;
            top: -10px;
            background-color: #ffffff;
            border-radius: 50%;
            opacity: 0.1; /* Default opacity */
            animation: fall linear infinite;
            z-index: 1000;
        }

        @keyframes fall {
            0% {
                transform: translateY(-100px) translateX(0);
                opacity: var(--opacity);
            }
            100% {
                transform: translateY(100vh) translateX(50px);
                opacity: 0;
            }
        }
    </style>
</head>

<!-- Modal Structure -->
<div id="menuModal" class="modal hidden">
    <div class="modal-content">
        <h2 id="modalTitle">Product Details</h2>
        <p id="modalDescription">Here is more information about the product.</p>
        <button onclick="closeModal()">Close</button>
    </div>
</div>


<body>
    <!-- Purple Banner -->
    <div class="banner">
        [BEST CS2 CHEAT ON THE MARKET!!!]
    </div>

    <!-- Gray Banner -->
    <div class="gray-banner">
        <div class="title">Zephyros</div>
        <div class="search-bar">
            <input type="text" placeholder="Search...">
            <span class="emoji">;)</span>
        </div>
    </div>

    <!-- Welcome Text -->
    <div class="welcome-text">
        Welcome to Zephyros
    </div>

    <!-- Description -->
    <div class="description">
        Zephyros is your new stylish destination for our mod menu! Explore a unique and creative cheat tailored for all. 
        We are continuously working to expand and improve, ensuring you have the best experience. 
        Stay tuned as we add even more exciting mods to this sleek and modern platform!
    </div>

    <div class="panel">
        <div class="products-title">Products</div>
        <div class="panel-buttons">
            <div class="button" data-name="1 Day Key" data-url="https://buy.stripe.com/test_cN26pW20F1MJ67S6oo">
                <div class="game-title">1 Day Key</div>
                <div class="view-banner">View Product</div>
            </div>
            <div class="button" data-name="1 Month Key" data-url="https://checkout.stripe.com/pay/product2">
                <div class="game-title">1 Month Key</div>
                <div class="view-banner">View Product</div>
            </div>
            <div class="button" data-name="Lifetime Key" data-url="https://checkout.stripe.com/pay/product3">
                <div class="game-title">Lifetime Key</div>
                <div class="view-banner">View Product</div>
            </div>
        </div>
    </div>
    
    <script>
        // Search functionality
        const searchInput = document.querySelector('.search-bar input');
        const buttons = document.querySelectorAll('.panel-buttons .button');
    
        searchInput.addEventListener('input', (event) => {
            const query = event.target.value.toLowerCase();
            buttons.forEach(button => {
                const name = button.getAttribute('data-name').toLowerCase();
                if (name.includes(query)) {
                    button.style.display = 'block';
                } else {
                    button.style.display = 'none';
                }
            });
        });
    
        // Redirect to Stripe checkout on click
        buttons.forEach(button => {
            button.addEventListener('click', () => {
                const url = button.getAttribute('https://buy.stripe.com/test_cN26pW20F1MJ67S6oo');
                if (url) {
                    window.location.href = url;
                }
            });
        });
    </script>
    
    <!-- Snowflake Circles -->
    <script>
        // Existing snowflake code
    const snowflakeCount = 80;
    for (let i = 0; i < snowflakeCount; i++) {
        createSnowflake();
    }

    function createSnowflake() {
        const snowflake = document.createElement("div");
        snowflake.classList.add("snowflake");
        document.body.appendChild(snowflake);

        const size = Math.random() * 10 + 5;
        const opacity = Math.random();
        const left = Math.random() * 100;
        const duration = Math.random() * 5 + 5;

        snowflake.style.width = `${size}px`;
        snowflake.style.height = `${size}px`;
        snowflake.style.opacity = opacity;
        snowflake.style.left = `${left}vw`;
        snowflake.style.animationDuration = `${duration}s`;

        snowflake.addEventListener("animationend", () => {
            snowflake.remove();
            createSnowflake();
        });
    }

 // Function to open the modal
function openModal(productName, productUrl) {
    const modal = document.getElementById('menuModal');
    const modalTitle = document.getElementById('modalTitle');
    const modalDescription = document.getElementById('modalDescription');

    // Update modal content
    modalTitle.textContent = productName;
    modalDescription.innerHTML = `
        Click <a href="${"https://buy.stripe.com/test_cN26pW20F1MJ67S6oo"}" target="_blank" style="color: #6e2dd9;">here</a> to view or purchase the product.
 This product gives you full access to the cheat for the specified ammount of time!
    `;

    // Show the modal
    modal.classList.remove('hidden');
    modal.classList.add('visible');
}

// Function to close the modal
function closeModal() {
    const modal = document.getElementById('menuModal');
    modal.classList.remove('visible');
    modal.classList.add('hidden');
}

// Attach click event to each product button
document.querySelectorAll('.panel-buttons .button').forEach((button) => {
    button.addEventListener('click', () => {
        const productName = button.getAttribute('data-name');
        const productUrl = button.getAttribute(''); // Correctly fetch the data-url attribute
        openModal(productName, productUrl);
    });
});


</script>

</body>
</html>
