<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Estabilizador de Mira</title>
  <style>
    /* Estilo global */
    body {
      font-family: 'Arial', sans-serif;
      margin: 0;
      padding: 0;
      background: #000000;
      color: #ffffff;
      overflow-x: hidden;
    }

    /* Animaciones */
    @keyframes fade-in {
      from {
        opacity: 0;
      }
      to {
        opacity: 1;
      }
    }

    @keyframes notification {
      0% {
        opacity: 0;
        transform: translateY(-20px);
      }
      50% {
        opacity: 1;
        transform: translateY(0);
      }
      100% {
        opacity: 0;
        transform: translateY(-20px);
      }
    }

    /* Pantalla de login */
    #login-screen {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: #000000;
      display: flex;
      justify-content: center;
      align-items: center;
      animation: fade-in 1s ease;
    }

    #login-box {
      background: #111;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0px 10px 30px rgba(255, 215, 0, 0.8);
      text-align: center;
      width: 300px;
    }

    #login-box h2 {
      color: #FFD700;
      margin-bottom: 20px;
    }

    #login-box input[type="password"] {
      width: 100%;
      padding: 10px;
      margin-bottom: 15px;
      border: 2px solid #FFD700;
      border-radius: 5px;
      outline: none;
      background: #222;
      color: #FFD700;
    }

    #login-box button {
      width: 100%;
      padding: 10px;
      background: #FFD700;
      border: none;
      border-radius: 5px;
      color: #000;
      font-weight: bold;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    #login-box button:hover {
      background: #FFC300;
    }

    /* Panel principal */
    #panel {
      display: none;
      animation: fade-in 1s ease;
    }

    .header {
      background: linear-gradient(to right, #111, #333);
      padding: 20px;
      text-align: center;
      border-bottom: 2px solid #FFC300;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
    }

    .header h1 {
      font-size: 2.5rem;
      color: #FFD700;
      text-shadow: 0 0 15px #FFD700;
    }

    .panel-content {
      max-width: 800px;
      margin: 30px auto;
      background: #111;
      padding: 20px;
      border-radius: 15px;
      box-shadow: 0px 10px 30px rgba(255, 215, 0, 0.8);
    }

    .panel-content h2 {
      font-size: 1.8rem;
      color: #FFD700;
      text-align: center;
      margin-bottom: 20px;
    }

    .toggle-group {
      margin-bottom: 20px;
    }

    .slider {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .slider input[type="range"] {
      flex-grow: 1;
      margin: 0 10px;
      -webkit-appearance: none;
      height: 8px;
      background: #333;
      border-radius: 5px;
      outline: none;
    }

    .slider input[type="range"]::-webkit-slider-thumb {
      -webkit-appearance: none;
      width: 20px;
      height: 20px;
      background: #FFD700;
      border-radius: 50%;
      cursor: pointer;
      box-shadow: 0 0 10px #FFD700;
    }

    .slider-value {
      width: 40px;
      text-align: center;
      font-weight: bold;
      color: #FFD700;
    }

    .toggle-switch {
      position: relative;
      width: 50px;
      height: 25px;
      background: #333;
      border-radius: 25px;
      cursor: pointer;
      transition: background 0.3s;
      display: inline-block;
      vertical-align: middle;
    }

    .toggle-switch::before {
      content: '';
      position: absolute;
      width: 22px;
      height: 22px;
      background: #FFD700;
      border-radius: 50%;
      top: 1.5px;
      left: 1.5px;
      transition: transform 0.3s ease;
    }

    .toggle-switch.active {
      background: #FFD700;
    }

    .toggle-switch.active::before {
      transform: translateX(25px);
    }

    .notification {
      position: fixed;
      top: 20px;
      right: 20px;
      background: #FFD700;
      color: #000;
      padding: 10px 20px;
      border-radius: 5px;
      box-shadow: 0px 5px 15px rgba(255, 215, 0, 0.8);
      animation: notification 3s ease;
    }

    .credits {
      margin-top: 20px;
      text-align: center;
      font-size: 0.9rem;
      color: #FFD700;
    }
  </style>
</head>
<body>
  <!-- Pantalla de login -->
  <div id="login-screen">
    <div id="login-box">
      <img src="https://i.ibb.co/HKxCKGt/IMG-0284.jpg" alt="Logo" style="border-radius: 50%; width: 100px; margin-bottom: 20px;">
      <h2>PANEL Rez1 Style! 🥋</h2>
      <input type="password" id="password" placeholder="Password">
      <button onclick="validateLogin()">LOGIN ✅</button>
    </div>
  </div>

  <!-- Panel principal -->
  <div id="panel">
    <div class="header">
      <h1>TRICKING INJECTOR 1.0 🩸</h1>
    </div>
    <div class="panel-content">
      <h2>MENU DO PANEL ☠️</h2>

      <div class="slider">
        <label for="aim-speed">AIMFOV IOS 🩸:</label>
        <input id="aim-speed" type="range" min="1" max="100" value="50">
        <div class="slider-value" id="aim-speed-value">50</div>
      </div>

      <div class="toggle-group">
        <label>AIM FIXA ⚙️</label>
        <div class="toggle-switch" id="stabilize-toggle" onclick="toggleSwitch('Estabilizador de mira activado', 'Estabilizador de mira desactivado')"></div>
      </div>

      <!-- Armas -->
      <div class="toggle-group">
        <label>DESERT EAGLE 🔥</label>
        <div class="toggle-switch" id="desert-eagle-toggle" onclick="toggleWeapon('DESERT EAGLE')"></div>
      </div>

      <div class="toggle-group">
        <label>UMP TRICK 🍓</label>
        <div class="toggle-switch" id="ump-toggle" onclick="toggleWeapon('UMP')"></div>
      </div>

      <div class="toggle-group">
        <label>M1887 TRICK 🥋</label>
        <div class="toggle-switch" id="m1887-toggle" onclick="toggleWeapon('M1887')"></div>
      </div>

      <div class="toggle-group">
        <label>M1014 TRICK ☘️</label>
        <div class="toggle-switch" id="m1014-toggle" onclick="toggleWeapon('M1014')"></div>
      </div>

      <!-- Opción Inyectar FF -->
      <div class="toggle-group">
        <label>Inject FF 📂</label>
        <div class="toggle-switch" id="inject-ff-toggle" onclick="toggleInjection()"></div>
      </div>

      <div class="credits">Copyright © Hipe Xiters 💚</div>
    </div>
  </div>

  <script>
    function validateLogin() {
      const password = document.getElementById('password').value;
      if (password === 'TRICK') {
        document.getElementById('login-screen').style.display = 'none';
        document.getElementById('panel').style.display = 'block';
      } else {
        alert('Contraseña incorrecta');
      }
    }

    document.querySelectorAll(".slider input[type='range']").forEach(slider => {
      slider.addEventListener("input", (e) => {
        const valueDisplay = e.target.nextElementSibling;
        valueDisplay.textContent = e.target.value;
      });
    });

    function toggleSwitch(onMessage, offMessage) {
      const toggle = event.target;
      const isActive = toggle.classList.toggle('active');
      const message = isActive ? onMessage : offMessage;
      speak(message);
    }

    function toggleWeapon(weapon) {
      const notification = document.createElement('div');
      notification.className = 'notification';
      notification.textContent = `${weapon} activado`;
      document.body.appendChild(notification);
      speak(`${weapon} activado`);
      setTimeout(() => notification.remove(), 3000);
    }

    function toggleInjection() {
      const toggle = event.target;
      const isActive = toggle.classList.toggle('active');
      const message = isActive ? "Modificaciones inyectada, espero que les guste este panel y se suscriban a mi canal de YouTube. Se despide Sr. Martinez" : "Inyección desactivada";
      speak(message);
    }

    function speak(message) {
      const utterance = new SpeechSynthesisUtterance(message);
      utterance.lang = 'es-ES';
      speechSynthesis.speak(utterance);
    }
  </script>
</body>
</html>
