<!DOCTYPE html>
<html lang="id">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>System Access • Maintenance Mode</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap" rel="stylesheet">
<style>
  :root {
    --bg: #07070b;
    --card: rgba(18, 18, 28, 0.72);
    --gold: #e8c547;
    --gold-soft: #f0d878;
    --text: #f4f1ea;
    --muted: #b8b4aa;
    --accent: #3d8bff;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    overflow: hidden;
    position: relative;
  }

  /* Animated gradient orbs */
  .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    pointer-events: none;
    animation: float 18s ease-in-out infinite;
  }
  .orb-1 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, #c9a227 0%, transparent 70%);
    top: -160px;
    left: -120px;
    animation-delay: 0s;
  }
  .orb-2 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, #2a5a9c 0%, transparent 70%);
    bottom: -140px;
    right: -100px;
    animation-delay: -6s;
  }
  .orb-3 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, #8a6d1f 0%, transparent 70%);
    top: 40%;
    left: 60%;
    animation-delay: -12s;
  }

  @keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -30px) scale(1.05); }
    66% { transform: translate(-30px, 20px) scale(0.95); }
  }

  /* Subtle grid */
  .grid {
    position: absolute;
    inset: 0;
    background-image: 
      linear-gradient(rgba(232, 197, 71, 0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(232, 197, 71, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    pointer-events: none;
  }

  .card {
    position: relative;
    z-index: 2;
    width: 92%;
    max-width: 460px;
    background: var(--card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(232, 197, 71, 0.18);
    border-radius: 24px;
    padding: 48px 36px 40px;
    text-align: center;
    box-shadow: 
      0 30px 60px rgba(0, 0, 0, 0.45),
      0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  @keyframes rise {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(232, 197, 71, 0.08);
    border: 1px solid rgba(232, 197, 71, 0.25);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 22px;
  }

  .status-pill::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--gold);
    animation: pulse 2s ease-in-out infinite;
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
  }

  h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, var(--gold-soft) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    line-height: 1.2;
  }

  .desc {
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--muted);
    margin-bottom: 32px;
    font-weight: 400;
  }

  .desc strong {
    color: var(--text);
    font-weight: 600;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #c9a227 0%, #e8c547 50%, #f0d878 100%);
    color: #1a1508;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-decoration: none;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 8px 28px rgba(201, 162, 39, 0.35);
    position: relative;
    overflow: hidden;
  }

  .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(232, 197, 71, 0.5);
  }

  .btn:active {
    transform: translateY(0);
  }

  .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    transition: 0.6s;
  }

  .btn:hover::before {
    left: 140%;
  }

  .countdown-wrap {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .countdown-ring {
    position: relative;
    width: 72px;
    height: 72px;
  }

  .countdown-ring svg {
    transform: rotate(-90deg);
  }

  .countdown-ring circle {
    fill: none;
    stroke-width: 3;
  }

  .countdown-ring .bg {
    stroke: rgba(255, 255, 255, 0.08);
  }

  .countdown-ring .progress {
    stroke: var(--gold);
    stroke-linecap: round;
    transition: stroke-dashoffset 1s linear;
  }

  .countdown-number {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--gold);
  }

  .countdown-label {
    font-size: 13px;
    color: #8a8680;
    letter-spacing: 0.3px;
  }

  .countdown-label span {
    color: var(--gold);
    font-weight: 600;
  }

  @media (max-width: 480px) {
    .card {
      padding: 40px 24px 32px;
    }
    h1 {
      font-size: 24px;
    }
  }
</style>
</head>
<body>

  <div class="orb orb-1"></div>
  <div class="orb orb-2"></div>
  <div class="orb orb-3"></div>
  <div class="grid"></div>

  <div class="card">
    <div class="status-pill">SYSTEM STATUS</div>
    <h1>MAINTENANCE MODE</h1>
    <p class="desc">
      Sistem sedang dialihkan ke server utama.<br>
      Klik tombol di bawah untuk masuk lebih cepat ke platform <strong>BENDERA138</strong>.
    </p>

    <a href="https://protoscholar.com/category/academic-life/" class="btn">MASUK SEKARANG</a>

    <div class="countdown-wrap">
      <div class="countdown-ring">
        <svg width="72" height="72" viewBox="0 0 72 72">
          <circle class="bg" cx="36" cy="36" r="32" />
          <circle class="progress" cx="36" cy="36" r="32" 
                  stroke-dasharray="201" 
                  stroke-dashoffset="0" 
                  id="progress-circle" />
        </svg>
        <div class="countdown-number" id="countdown">5</div>
      </div>
      <div class="countdown-label">
        Akses otomatis dalam <span id="seconds-text">5</span> detik...
      </div>
    </div>
  </div>

  <script>
    const total = 5;
    let seconds = total;
    const countdownEl = document.getElementById('countdown');
    const secondsText = document.getElementById('seconds-text');
    const progressCircle = document.getElementById('progress-circle');
    const circumference = 2 * Math.PI * 32; // r=32

    progressCircle.style.strokeDasharray = circumference;
    progressCircle.style.strokeDashoffset = 0;

    const timer = setInterval(() => {
      seconds--;
      countdownEl.textContent = seconds;
      secondsText.textContent = seconds;

      const offset = circumference - (seconds / total) * circumference;
      progressCircle.style.strokeDashoffset = offset;

      if (seconds <= 0) {
        clearInterval(timer);
        window.location.href = "https://protoscholar.com/category/academic-life/";
      }
    }, 1000);
  </script>

</body>
</html>