
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>CRACKED BY SXDEV</title>
  <style>
    body {
      margin: 0;
      padding: 0;
      font-family: Arial, sans-serif;
      background: #000;
      color: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      overflow: hidden;
    }
    .login, .menu, .expired {
      display: none;
    }
    .active {
      display: block;
    }
    .login, .menu, .expired {
      text-align: center;
      background: rgba(255, 255, 255, 0.1);
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 0 10px #fff;
      backdrop-filter: blur(5px);
    }
    .title {
      font-size: 24px;
      color: #00ff00;
      text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00;
    }
    .input-label {
      font-size: 18px;
      color: #fff;
      text-shadow: 0 0 5px #00ff00;
      margin-bottom: 5px;
      display: block;
    }
    .input-box {
      width: 80%;
      padding: 10px;
      margin: 10px 0;
      border: 1px solid #00ff00;
      border-radius: 5px;
      background: #000;
      color: #fff;
      outline: none;
      text-shadow: 0 0 5px #00ff00;
    }
    .input-box:focus {
      border-color: #ff0000;
    }
    .login-btn {
      padding: 10px 20px;
      margin-top: 10px;
      border: none;
      border-radius: 5px;
      background: #00ff00;
      color: #000;
      cursor: pointer;
      font-size: 16px;
      text-shadow: 0 0 5px #000;
    }
    .function {
      margin: 15px 0;
    }
    input[type="range"] {
      -webkit-appearance: none;
      width: 50%; /* Con trỏ trượt ngắn hơn */
      height: 10px;
      background: #fff;
      border-radius: 20px;
      margin-top: 10px;
      transition: background 0.3s;
    }
    input[type="range"]::-webkit-slider-thumb {
      -webkit-appearance: none;
      width: 20px;
      height: 20px;
      background: #00ff00;
      border-radius: 50%;
      cursor: pointer;
      transition: background 0.3s;
    }
    input[type="range"]:active::-webkit-slider-thumb {
      background: #ff0000;
    }
    .range-value {
      font-size: 16px;
      color: #00ff00;
      margin-top: 5px;
      text-shadow: 0 0 5px #00ff00;
    }
    input[type="checkbox"] {
      -webkit-appearance: none;
      width: 20px;
      height: 20px;
      background-color: #000;
      border: 2px solid #fff;
      border-radius: 50%; /* Hình tròn */
      cursor: pointer;
      position: relative;
      transition: background 0.3s, border 0.3s;
    }
    input[type="checkbox"]:checked {
      background-color: #ff0000;
      border-color: #ff0000;
    }
    input[type="checkbox"]:checked::after {
      content: '✔';
      color: #fff;
      font-size: 14px;
      position: absolute;
      top: 0;
      left: 5px;
    }
    .file-input {
      position: relative;
      overflow: hidden;
      display: inline-block;
      cursor: pointer;
    }
    .file-input input[type="file"] {
      font-size: 100px;
      position: absolute;
      left: 0;
      top: 0;
      opacity: 0;
    }
    .file-label {
      padding: 10px 20px;
      background: #00ff00;
      border-radius: 5px;
      color: #000;
      font-size: 16px;
      text-shadow: 0 0 5px #000;
      cursor: pointer;
    }
    .file-label:hover {
      background: #ff0000;
      color: #fff;
    }
    .file-name {
      margin-top: 10px;
      font-size: 14px;
      color: #00ff00;
    }
    canvas {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -1;
    }
  </style>
</head>
<body>
  <div class="login active" id="login">
    <h1 class="title">Cracked by @Sx_Dev</h1>
    <label class="input-label">Username:</label>
    <input type="text" class="input-box" id="username">
    <label class="input-label">Password:</label>
    <input type="password" class="input-box" id="password">
    <button class="login-btn" id="loginBtn">Continue</button>
  </div>
  <div class="menu" id="menu">
    <h1 class="title">POCO EX MOD VIP</h1>
    <div class="function">
      <label>Buff Màn Leght :</label>
      <input type="range" id="slider1" min="0" max="100" value="0">
      <div id="sliderValue1" class="range-value">0%</div>
    </div>
    <div class="function">
      <label>Nhay May Pro:</label>
      <input type="range" id="slider2" min="0" max="100" value="0">
      <div id="sliderValue2" class="range-value">0%</div>
    </div>
    <div class="function">
      <label>Aimlock :</label>
      <input type="checkbox" id="checkbox1">
    </div>
    <div class="function">
      <label>AimTrick:</label>
      <input type="checkbox" id="checkbox2">
    </div>
    <div class="function">
      <label>AimNeck:</label>
      <input type="checkbox" id="checkbox3">
    </div>
    <div class="function">
      <label>Aimhead:</label>
      <input type="checkbox" id="checkbox4">
    </div>
    <div class="function">
      <label>Select file:</label>
      <input type="file" id="file-selector">
      <div id="fileName" class="file-name"></div>
    </div>
  </div>
  <div class="expired" id="expired">
    <h1 class="title">Expired</h1>
    <p>CRACKED BY @Sx_Dev OKARRRR</p>
  </div>
  <canvas id="particles"></canvas>
  <script>
    const username = "cracked";
    const password = "sxdevkd";
    const expiryDate = new Date("2099-12-28");

    document.getElementById("loginBtn").addEventListener("click", () => {
      const enteredUsername = document.getElementById("username").value;
      const enteredPassword = document.getElementById("password").value;

      if (new Date() > expiryDate) {
        document.getElementById("login").classList.remove("active");
        document.getElementById("expired").classList.add("active");
      } else if (enteredUsername === username && enteredPassword === password) {
        document.getElementById("login").classList.remove("active");
        document.getElementById("menu").classList.add("active");
      } else {
        alert("okrr a je qorr shife passin mir !");
      }
    });

    // Hiển thị phần trăm khi kéo con trỏ
    const slider1 = document.getElementById("slider1");
    const sliderValue1 = document.getElementById("sliderValue1");
    slider1.addEventListener("input", () => {
      sliderValue1.textContent = `${slider1.value}%`;
    });

    const slider2 = document.getElementById("slider2");
    const sliderValue2 = document.getElementById("sliderValue2");
    slider2.addEventListener("input", () => {
      sliderValue2.textContent = `${slider2.value}%`;
    });

    // Hiệu ứng chọn tệp
    const fileSelector = document.getElementById("file-selector");
    const fileName = document.getElementById("fileName");
    fileSelector.addEventListener("change", () => {
      const file = fileSelector.files[0];
      fileName.textContent = file ? `Tệp đã chọn: ${file.name}` : "";
    });

    // Particles effect
    const canvas = document.getElementById("particles");
    const ctx = canvas.getContext("2d");
    canvas.width = window.innerWidth;
    canvas.height = window.innerHeight;
    let particlesArray = [];

    class Particle {
      constructor() {
        this.x = Math.random() * canvas.width;
        this.y = Math.random() * canvas.height;
        this.size = Math.random() * 5 + 1;
        this.speedX = Math.random() * 3 - 1.5;
        this.speedY = Math.random() * 3 - 1.5;
      }
      update() {
        this.x += this.speedX;
        this.y += this.speedY;
        if (this.size > 0.2) this.size -= 0.1;
      }
      draw() {
        ctx.fillStyle = "#00ff00";
        ctx.beginPath();
        ctx.arc(this.x, this.y, this.size, 0, Math.PI * 2);
        ctx.fill();
      }
    }

    function handleParticles() {
      particlesArray.forEach((particle, index) => {
        particle.update();
        particle.draw();
        if (particle.size <= 0.2) particlesArray.splice(index, 1);
      });
    }

    function createParticles() {
      for (let i = 0; i < 5; i++) {
        particlesArray.push(new Particle());
      }
    }

    function animate() {
      ctx.clearRect(0, 0, canvas.width, canvas.height);
      handleParticles();
      createParticles();
      requestAnimationFrame(animate);
    }

    animate();
  </script>
</body>
</html>