<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>rape.agency</title>
  <style>
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body, .content, .control-buttons {
      user-select: none;
      -webkit-user-select: none;
      overflow: hidden;
      cursor: url('curs/cross.cur'), auto; /* Custom cursor */
      font-family: Arial, sans-serif;
    }

    .video-background {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: -1;
      filter: brightness(0.7); 
    }

    .content {
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      height: 100vh;
      color: white;
      text-align: center;
      padding: 20px; /* Added padding for small screens */
    }

    h1 {
      animation: glow 1.2s ease-in-out infinite alternate;
      font-weight: bold; 
      font-size: 2rem; /* Adjusted for responsiveness */
    }

    .glow-text {
      animation: glow 1.2s ease-in-out infinite alternate;
      font-weight: bold;
      font-size: 0.75rem; /* Adjusted for responsiveness */
    }

    .clock {
      position: fixed;
      top: 10px;
      left: 50%;
      transform: translateX(-50%);
      font-size: 1.2rem; /* Slightly larger font size */
      z-index: 10;
      color: white;
    }

    @keyframes glow {
      from {
        text-shadow: 0 0 8px #fff, 0 0 12px #fff, 0 0 16px #fff;
      }
      to {
        text-shadow: 0 0 12px #ffffff, 0 0 18px #ffffff, 0 0 24px #ffffff;
      }
    }

    .control-buttons {
      margin-top: 20px;
      display: flex;
      gap: 10px;
      flex-wrap: wrap; /* Allow buttons to wrap on small screens */
      justify-content: center; /* Center buttons */
    }

    .control-button {
      padding: 10px 20px;
      background-color: rgba(255, 255, 255, 0);
      border: none;
      color: rgba(255, 255, 255, 0);
      font-size: 1rem;
      cursor: pointer;
      border-radius: 5px;
      transition: background-color 0.3s ease;
      min-width: 80px; /* Ensure buttons are large enough for touch */
    }

    .control-button:hover {
      background-color: rgba(255, 255, 255, 0.2);
    }

    .volume-slider {
      position: fixed;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      width: 250px;
    }

    .volume-slider::-webkit-slider-runnable-track {
      width: 100%;
      height: 8px;
      background: rgb(0, 0, 0);
      border-radius: 5px;
    }

    .volume-slider::-webkit-slider-thumb {
      -webkit-appearance: none;
      appearance: none;
      width: 20px;
      height: 20px;
      background: #000000;
      border-radius: 50%;
      cursor: pointer;
    }

    /* Responsive Design */
    @media (max-width: 600px) {
      .content {
        padding: 10px;
      }

      h1 {
        font-size: 1.5rem;
      }

      .glow-text {
        font-size: 0.8rem;
      }

      .control-buttons {
        margin-top: 15px;
        gap: 8px;
      }

      .control-button {
        font-size: 0.9rem;
        padding: 8px 16px;
      }

      .volume-slider {
        width: 200px;
      }
    }

    @media (max-width: 400px) {
      h1 {
        font-size: 1.2rem;
      }

      .glow-text {
        font-size: 0.7rem;
      }

      .control-button {
        font-size: 0.8rem;
        padding: 6px 12px;
      }

      .volume-slider {
        width: 180px;
      }
    }

  </style>
</head>
<body>
  <!-- Background Video -->
  <video class="video-background" id="background-video" autoplay loop>
    <source src="x/dead.mp4" type="video/mp4">
    Your browser does not support the video tag.
  </video>

  <h1 id="clockDisplay" class="clock glow-text"></h1>

  <div class="content">
    <h1>rape.agency</h1>
    <div class="glow-text">
      <a href="new/session.txt" target="_blank" style="color: inherit; text-decoration: none;">xxx</a> xnx <a> scary </a>
    </div>    
    <div class="control-buttons">
      <button class="control-button" onclick="togglePlayPause(event)">II</button>
      <button class="control-button" onclick="skipSong(event)">>></button>
    </div>
  </div>

  <!-- Volume Slider -->
  <input type="range" class="volume-slider" id="volume-slider" min="0" max="1" step="0.1" value="0.5">

  <script>
    const video = document.getElementById('background-video');
    const volumeSlider = document.getElementById('volume-slider');

    function updateClock() {
      const clockElement = document.getElementById('clockDisplay');
      const now = new Date();
      const hours = String(now.getHours()).padStart(2, '0');
      const minutes = String(now.getMinutes()).padStart(2, '0');
      const seconds = String(now.getSeconds()).padStart(2, '0');
      clockElement.textContent = `${hours}:${minutes}:${seconds}`;
    }

    volumeSlider.addEventListener('input', (event) => {
      video.volume = event.target.value;
    });

    setInterval(updateClock, 1000); 
    updateClock();

    document.addEventListener("contextmenu", event => event.preventDefault());
    document.addEventListener("keydown", (event) => {
      if (event.key === "F12" || 
          (event.ctrlKey && event.shiftKey && (event.key === "I" || event.key === "J")) || 
          (event.ctrlKey && event.key === "U")) {
        event.preventDefault();
        return false;
      }
    });

    (function() {
      var _0x5021 = ["log", "warn", "error", "Developer tools are disabled"];
      console[_0x5021[0]]("%c%s", "color: red; font-size: 20px;", _0x5021[3]);
      console[_0x5021[1]]("%c%s", "color: yellow; font-size: 15px;", _0x5021[3]);
      console[_0x5021[2]]("%c%s", "color: black; font-size: 10px;", _0x5021[3]);
    })();
  </script>       
</body>
</html>
