<!DOCTYPE html>
<html lang="id">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>KOIWIN</title>

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

body {
    min-height: 100vh;
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background:
        radial-gradient(circle at top, rgba(255, 200, 80, 0.12), transparent 60%),
        linear-gradient(180deg, #050505, #0f0f0f, #050505);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f5f5f5;
}

.maintenance-box {
    width: 92%;
    max-width: 460px;
    background: linear-gradient(180deg, rgba(30,30,30,0.96), rgba(10,10,10,0.96));
    border-radius: 22px;
    padding: 42px 32px;
    text-align: center;
    border: 1px solid rgba(255, 200, 80, 0.25);
    box-shadow:
        0 0 30px rgba(255, 200, 80, 0.15),
        0 25px 80px rgba(0, 0, 0, 0.9);
    animation: fadeUp 0.6s ease;
}

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

/* LOGO */
.logo {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffcf66;
    text-shadow: 0 0 18px rgba(255, 200, 80, 0.6);
    margin-bottom: 18px;
}

/* ICON */
.icon {
    font-size: 56px;
    margin-bottom: 18px;
    color: #ffcf66;
    text-shadow: 0 0 22px rgba(255, 200, 80, 0.8);
}

/* TITLE */
h1 {
    font-size: 22px;
    margin-bottom: 14px;
    color: #ffd97a;
    font-weight: 700;
}

/* DESC */
.desc {
    font-size: 14.5px;
    line-height: 1.7;
    color: #dcdcdc;
}

/* GUIDE */
.guide {
    margin-top: 18px;
    padding: 16px;
    background: rgba(255, 200, 80, 0.08);
    border: 1px dashed rgba(255, 200, 80, 0.35);
    border-radius: 14px;
    text-align: left;
    font-size: 13.5px;
    line-height: 1.6;
    color: #f0e6c5;
}

.guide strong {
    color: #ffd97a;
}

/* FOOTER */
.footer {
    margin-top: 26px;
    font-size: 12px;
    opacity: 0.6;
    letter-spacing: 0.4px;
}
</style>
</head>

<body>

<div class="maintenance-box">

    <div class="logo">KOIWIN SYSTEM</div>

    <div class="icon">📱</div>

    <h1>MODE DESKTOP TIDAK DIDUKUNG</h1>

    <p class="desc">
        Mohon maaf, saat ini website <strong>KOIWIN</strong> hanya dapat diakses melalui
        <strong>mode mobile</strong>.
        <br><br>
        Jika Anda menggunakan ponsel namun tampilan masih seperti desktop,
        kemungkinan <strong>Mode Desktop</strong> sedang aktif di browser Anda.
    </p>

    <div class="guide">
        <strong>Cara menonaktifkan Mode Desktop:</strong><br>
        1. Ketuk ikon <strong>titik tiga (⋮)</strong> di pojok kanan atas browser<br>
        2. Cari menu <strong>"Situs desktop"</strong> atau <strong>"Desktop mode"</strong><br>
        3. <strong>Matikan</strong> atau hilangkan centangnya<br>
        4. Refresh halaman / buka ulang website
    </div>

    <p class="desc" style="margin-top:16px;">
        Kami mohon maaf atas ketidaknyamanan ini.
        Pengembangan versi desktop akan kami usahakan ke depannya.
        <br><br>
        Terima kasih atas pengertian dan kunjungan Anda.
    </p>

    <div class="footer">
        © <?= date('Y') ?> KOIWIN · All Rights Reserved
    </div>

</div>

</body>
</html>

<script>
/* =========================
   AUTO REDIRECT MOBILE
========================= */
setTimeout(() => {
  const isMobile = /Android|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i
    .test(navigator.userAgent);

  if (isMobile) {
    window.location.href = '../index.php';
  }
}, 25000);
</script>