<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Under Maintenance</title>
  <style>
    body {
      margin: 0;
      font-family: Arial, sans-serif;
      background: #0f172a;
      color: #e2e8f0;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      text-align: center;
    }
    .container {
      max-width: 500px;
    }
    h1 {
      font-size: 2.5rem;
      margin-bottom: 10px;
    }
    p {
      opacity: 0.8;
    }
    .countdown {
      font-size: 2rem;
      margin-top: 20px;
      font-weight: bold;
    }
  </style>
</head>
<body>
  <div class="container">
    <h1>We'll be back soon 🚧</h1>
    <p>Our site is currently under maintenance. Please check back later.</p>
    <div class="countdown" id="countdown">07:00:00</div>
  </div>

  <script>
    // Set countdown time (8 hours in milliseconds)
    let remainingTime = 8 * 60 * 60 * 1000;

    const countdownEl = document.getElementById('countdown');

    function updateCountdown() {
      let hours = Math.floor(remainingTime / (1000 * 60 * 60));
      let minutes = Math.floor((remainingTime % (1000 * 60 * 60)) / (1000 * 60));
      let seconds = Math.floor((remainingTime % (1000 * 60)) / 1000);

      countdownEl.textContent =
        String(hours).padStart(2, '0') + ':' +
        String(minutes).padStart(2, '0') + ':' +
        String(seconds).padStart(2, '0');

      if (remainingTime <= 0) {
        countdownEl.textContent = "00:00:00";
        clearInterval(timer);
      }

      remainingTime -= 1000;
    }

    updateCountdown();
    const timer = setInterval(updateCountdown, 1000);
  </script>
</body>
</html>
