<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <script src="https://cdn.sellix.io/static/js/embed.js"></script>
  <link href="https://cdn.sellix.io/static/css/embed.css" rel="stylesheet"/>
  <title>Mono - Roblox Executor</title>
  <style>
    body {
      background-color: #d9d9d9;
      font-family: sans-serif;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 100vh;
      margin: 0;
      position: relative;
      overflow: hidden;
    }

    .container {
      text-align: center;
      position: relative;
      z-index: 1;
    }

    h1 {
      font-size: 3em;
      color: #707070;
      margin-bottom: 1em;
    }

    p {
      color: #707070;
      margin-bottom: 2em;
    }

    button {
      background-color: #e0e0e0;
      color: #707070;
      padding: 1em 2em;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      transition: transform 0.1s, background-color 0.2s;
    }

    button:hover {
      background-color: #d0d0d0;
    }

    button:active {
      transform: scale(0.95);
      background-color: #c0c0c0;
    }

    .top-buttons {
      position: absolute;
      top: 20px;
      right: 20px;
      z-index: 1;
    }

    .top-buttons button {
      margin: 0 1em;
    }

    .download-modal,
    .modal,
    .prices-modal {
      display: none;
      position: fixed;
      z-index: 2;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0, 0, 0, 0.4);
      padding-top: 60px;
    }

    .download-modal-content,
    .modal-content,
    .prices-modal-content {
      background: white;
      border: 2px solid #888;
      border-radius: 10px;
      margin: 15% auto;
      padding: 20px;
      width: 80%;
      text-align: center;
    }

    .prices-modal-content h2,
    .download-modal-content h2 {
      margin-bottom: 20px;
    }

    .prices-modal-content button,
    .download-modal-content button {
      margin: 10px;
      padding: 10px 20px;
      background-color: #e0e0e0;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    }

    .prices-modal-content button:hover,
    .download-modal-content button:hover {
      background-color: #d0d0d0;
    }

    .close {
      color: #aaa;
      float: right;
      font-size: 28px;
      font-weight: bold;
    }

    .close:hover,
    .close:focus {
      color: black;
      text-decoration: none;
      cursor: pointer;
    }

    canvas {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
    }
  </style>
</head>

<body>
  <canvas id="snowCanvas"></canvas>
  <div class="top-buttons">
    <button id="pricesBtn">Prices</button>
    <button id="downloadBtn">Download</button>
    <button id="creditsBtn">Credits</button>
  </div>
  <div class="container">
    <h1>Welcome To Mono</h1>
    <p>Mono is a future proof executor.</p>
    <button onclick="window.open('https://discord.com/invite/kz7vPFdavS', '_blank')" style="margin-top: 20px;">Join Discord →</button>
  </div>

  <div id="pricesModal" class="prices-modal">
    <div class="prices-modal-content">
      <h2>Choose a plan:</h2>
      <p> if u bought key with robux, please open a ticket on our dc server and show us proof that u bought it!</p>
      <button onclick="window.open('https://www.roblox.com/game-pass/1037962260/Mono-1-Week-key')">600 Robux/Weekly</button>
      <button onclick="window.open('https://www.roblox.com/game-pass/1037238230/Mono-Monthly-Key')">1,300 Robux/Monthly</button>
      <button onclick="window.open('https://www.roblox.com/game-pass/1037536991/Mono-life-time-key')">7,000 Robux/Lifetime</button>
      <p> Or </p>
      <button data-sellix-product="678d0c60d4a23"type="submit"alt="Buy Now with sellix.io">$4.99/Weekly</button>
      <button data-sellix-product="678d0c5502db5"type="submit"alt="Buy Now with sellix.io">$9.99/Monthly</button>
      <button data-sellix-product="678d0d6719bc5"type="submit"alt="Buy Now with sellix.io">$24.99/Lifetime</button>
      <button id="closePricesModal">Close</button>
    </div>
  </div>

  <div id="downloadModal" class="download-modal">
    <div class="download-modal-content">
      <h2>Choose a Link:</h2>
      <button onclick="window.open('')">Work.ink</button>
      <button onclick="window.open('')">Lootlink</button>
      <button id="closeDownloadModal">Close</button>
    </div>
  </div>

  <div id="creditsModal" class="modal">
    <div class="modal-content">
      <span class="close">&times;</span>
      <h2>Credits:</h2>
      <p>Api Developer = PSwalloz</p>
      <p>Website Developer = Default_sims</p>
      <p>Ui Developer = !Red</p>
    </div>
  </div>

  <script>
    const canvas = document.getElementById('snowCanvas');
    const ctx = canvas.getContext('2d');
    canvas.width = window.innerWidth;
    canvas.height = window.innerHeight;
    let snowflakes = [];
    let mouse = { x: null, y: null };

    function createSnowflake() {
      const x = Math.random() * canvas.width;
      const y = Math.random() * canvas.height;
      const radius = Math.random() * 4 + 1;
      const speed = Math.random() * 1 + 0.5;
      snowflakes.push({ x, y, radius, speed });
    }

    function updateSnowflakes() {
      ctx.clearRect(0, 0, canvas.width, canvas.height);
      ctx.fillStyle = 'rgba(255, 255, 255, 0.8)';
      snowflakes.forEach((flake, index) => {
        const dx = flake.x - mouse.x;
        const dy = flake.y - mouse.y;
        const distance = Math.sqrt(dx * dx + dy * dy);
        if (distance < 50) {
          const angle = Math.atan2(dy, dx);
          flake.x += Math.cos(angle) * 2;
          flake.y += Math.sin(angle) * 2;
        }
        ctx.beginPath();
        ctx.arc(flake.x, flake.y, flake.radius, 0, Math.PI * 2);
        ctx.fill();
        flake.y += flake.speed;
        if (flake.y > canvas.height) {
          snowflakes.splice(index, 1);
          createSnowflake();
        }
      });
    }

    function animate() {
      updateSnowflakes();
      requestAnimationFrame(animate);
    }

    for (let i = 0; i < 100; i++) {
      createSnowflake();
    }
    animate();

    window.addEventListener('mousemove', (event) => {
      mouse.x = event.clientX;
      mouse.y = event.clientY;
    });

    const downloadModal = document.getElementById("downloadModal");
    const pricesModal = document.getElementById("pricesModal");
    const creditsModal = document.getElementById("creditsModal");

    const downloadBtn = document.getElementById("downloadBtn");
    const pricesBtn = document.getElementById("pricesBtn");
    const creditsBtn = document.getElementById("creditsBtn");

    const closeDownloadModal = document.getElementById("closeDownloadModal");
    const closePricesModal = document.getElementById("closePricesModal");
    const closeCreditsSpan = document.querySelector(".modal .close");

    downloadBtn.onclick = () => downloadModal.style.display = "block";
    pricesBtn.onclick = () => pricesModal.style.display = "block";
    creditsBtn.onclick = () => creditsModal.style.display = "block";

    closeDownloadModal.onclick = () => downloadModal.style.display = "none";
    closePricesModal.onclick = () => pricesModal.style.display = "none";
    closeCreditsSpan.onclick = () => creditsModal.style.display = "none";

    window.onclick = (event) => {
      if (event.target === downloadModal) downloadModal.style.display = "none";
      if (event.target === pricesModal) pricesModal.style.display = "none";
      if (event.target === creditsModal) creditsModal.style.display = "none";
    };
  </script>
</body>

</html>
