<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>SENSIBILIDAD MEJORADA⚙️ - SrMartineziOS</title>
  <link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Poppins:wght@300;500;700&display=swap" rel="stylesheet">
  <style>
    /* Configuración global */
    body {
      margin: 0;
      padding: 0;
      background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
      font-family: 'Poppins', sans-serif;
      color: white;
      height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden;
    }

    /* Login container */
    .login-container {
      width: 90%;
      max-width: 400px;
      background: #121212;
      border-radius: 20px;
      padding: 20px;
      text-align: center;
      box-shadow: 0 10px 40px rgba(255, 0, 0, 0.7);
    }

    .login-container h1 {
      font-family: 'Orbitron', sans-serif;
      margin-bottom: 20px;
      font-size: 22px;
    }

    .login-container input {
      width: 80%;
      padding: 10px;
      margin: 10px 0;
      border: none;
      border-radius: 10px;
      font-size: 14px;
      text-align: center;
    }

    .login-container button {
      background: #2a0000;
      color: white;
      font-size: 16px;
      font-weight: bold;
      border: none;
      border-radius: 10px;
      padding: 10px 15px;
      cursor: pointer;
      margin-top: 15px;
      transition: 0.3s;
    }

    .login-container button:hover {
      background: #ff0000;
    }

    /* Panel contenedor */
    .panel {
      width: 90%;
      max-width: 800px;
      background: #121212;
      border-radius: 20px;
      box-shadow: 0 10px 40px rgba(255, 0, 0, 0.7);
      overflow: hidden;
      position: relative;
      display: none; /* Ocultamos por defecto */
    }

    /* Encabezado */
    .header {
      background: linear-gradient(90deg, #2a0000, #ff0000, #2a0000);
      padding: 20px;
      text-align: center;
      border-bottom: 2px solid rgba(255, 0, 0, 0.5);
    }

    .header h1 {
      font-family: 'Orbitron', sans-serif;
      font-size: 28px;
      margin: 0;
    }

    .header p {
      font-size: 14px;
      margin-top: 5px;
      opacity: 0.8;
    }

    /* Navegación */
    .nav {
      display: flex;
      justify-content: space-around;
      background: #1a1a1a;
      padding: 15px;
    }

    .nav button {
      background: #2a0000;
      border: none;
      color: white;
      font-size: 16px;
      font-weight: bold;
      border-radius: 10px;
      padding: 10px 15px;
      cursor: pointer;
      transition: 0.3s;
    }

    .nav button:hover {
      background: #ff0000;
      transform: scale(1.1);
    }

    /* Secciones */
    .content {
      padding: 30px;
      display: none;
      flex-direction: column;
      gap: 20px;
    }

    .content.active {
      display: flex;
    }

    .content h2 {
      font-size: 20px;
      margin: 0 0 10px 0;
    }

    /* Slider */
    .slider-container {
      background: #1a1a1a;
      padding: 20px;
      border-radius: 15px;
      box-shadow: 0 5px 20px rgba(255, 0, 0, 0.5);
      text-align: center;
    }

    .slider-container h3 {
      margin-bottom: 10px;
      font-size: 16px;
      color: #fff;
    }

    .slider {
      -webkit-appearance: none;
      width: 100%;
      height: 10px;
      border-radius: 5px;
      background: #333;
      outline: none;
      transition: 0.3s;
    }

    .slider::-webkit-slider-thumb {
      -webkit-appearance: none;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background: #ff0000;
      cursor: pointer;
      box-shadow: 0 2px 10px rgba(255, 0, 0, 0.7);
    }

    .slider-value {
      margin-top: 10px;
      font-size: 14px;
      color: #aaa;
    }

    /* Interruptores */
    .switch-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: #1a1a1a;
      padding: 10px 20px;
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
    }

    .switch-container span {
      font-size: 16px;
    }

    .switch {
      position: relative;
      display: inline-block;
      width: 50px;
      height: 25px;
    }

    .switch input {
      opacity: 0;
      width: 0;
      height: 0;
    }

    .slider-switch {
      position: absolute;
      cursor: pointer;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: #333;
      transition: 0.4s;
      border-radius: 25px;
    }

    .slider-switch:before {
      position: absolute;
      content: "";
      height: 20px;
      width: 20px;
      left: 4px;
      bottom: 2.5px;
      background-color: #ff0000;
      transition: 0.4s;
      border-radius: 50%;
    }

    input:checked + .slider-switch {
      background-color: #ff4444;
    }

    input:checked + .slider-switch:before {
      transform: translateX(25px);
    }
  </style>
</head>
<body>
  <!-- Login -->
  <div class="login-container" id="login-container">
    <h1>LOGIN 🔑</h1>
    <input type="text" id="username" placeholder="Usuario">
    <input type="password" id="password" placeholder="Contraseña">
    <button onclick="checkLogin()">LOGIN</button>
    <p id="error-message" style="color: red; display: none; margin-top: 10px;">Credenciales incorrectas</p>
  </div>

  <!-- Panel -->
  <div class="panel" id="panel">
    <div class="header">
      <h1>PAINEL @Rezz1 Style! ⚙️</h1>
      <p>© YouTube ~ Rezz1 Style ❤️</p>
    </div>
    <div class="nav">
      <button onclick="showSection('basic')">Configuraciones Touch</button>
      <button onclick="showSection('advanced')">Configuraciones Internas</button>
      <button onclick="showSection('extras')">Velocidad</button>
    </div>
    <div id="basic" class="content active">
      <h2>Configuraciones Touch</h2>
      <button class="button" onclick="showNotification('FPS Estabilizados')">Estabilizar FPS</button>
      <button class="button" onclick="showNotification('Sensibilidad Touch Mejorada')">Sensibilidad Touch Mejorada</button>
      <button class="button" onclick="showNotification('DPI Optimizado')">Optimizar DPI</button>
    </div>
    <div id="advanced" class="content">
      <h2>Configuraciones Internas</h2>
      <button class="button" onclick="showNotification('Headtrick Activado')">Headtrick</button>
      <button class="button" onclick="showNotification('Head Aim Activado')">Head Aim</button>
    </div>
    <div id="extras" class="content">
      <h2>Velocidad</h2>
      <div class="slider-container">
        <h3>Velocidad de Touch</h3>
        <input type="range" class="slider" min="1" max="100" value="50" oninput="updateValue(this.value)">
        <div class="slider-value" id="slider-value">50</div>
      </div>
      <div class="switch-container">
        <span>🗑️ Optimización Inteligente</span>
        <label class="switch">
          <input type="checkbox" onclick="showNotification('Optimización Inteligente Activada')">
          <span class="slider-switch"></span>
        </label>
      </div>
      <div class="switch-container">
        <span>🎚️ Limpiar Cache</span>
        <label class="switch">
          <input type="checkbox" onclick="showNotification('Cache Limpiada')">
          <span class="slider-switch"></span>
        </label>
      </div>
    </div>
    <div class="credits">
      <p>Creador © @Rezz1 Style Modz! 🥋</p>
    </div>
  </div>

  <!-- Notificación -->
  <div class="notification" id="notification"></div>

  <!-- Script -->
  <script>
    const username = "Rezz1";
    const password = "Style";

    function checkLogin() {
      const inputUser = document.getElementById('username').value;
      const inputPass = document.getElementById('password').value;

      if (inputUser === username && inputPass === password) {
        document.getElementById('login-container').style.display = 'none';
        document.getElementById('panel').style.display = 'block';
      } else {
        document.getElementById('error-message').style.display = 'block';
      }
    }

    function showSection(id) {
      document.querySelectorAll('.content').forEach(section => {
        section.classList.remove('active');
      });
      document.getElementById(id).classList.add('active');
    }

    function showNotification(message) {
      const notification = document.getElementById('notification');
      notification.textContent = message;
      notification.classList.add('show');
      setTimeout(() => {
        notification.classList.remove('show');
      }, 3000);
    }

    function updateValue(value) {
      document.getElementById('slider-value').textContent = value;
    }
  </script>
</body>
</html>
