<!DOCTYPE html>
<html lang="id">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Koneksi Terputus | BERKAH.TRF</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700;800&display=swap" rel="stylesheet">
    <meta name="theme-color" content="#2563EB">
    <link rel="manifest" href="/manifest.json">
    <style>body { font-family: 'Plus Jakarta Sans', sans-serif; }</style>
</head>
<body class="bg-blue-50/50 flex items-center justify-center min-h-screen p-4">
    <div class="bg-white p-10 rounded-3xl shadow-xl shadow-blue-900/5 text-center max-w-sm w-full border border-gray-100">
        <div class="w-20 h-20 bg-blue-100 text-blue-600 rounded-full flex items-center justify-center mx-auto mb-6">
            <i class="fas fa-wifi text-3xl"></i>
        </div>
        <h1 class="text-2xl font-black text-gray-900 mb-2">Anda Sedang Offline</h1>
        <p class="text-gray-500 text-sm mb-8">Koneksi internet Anda tampaknya terputus. Harap periksa jaringan Anda untuk dapat kembali mengakses koleksi thrift kami.</p>
        
        <button onclick="window.location.reload()" class="w-full bg-blue-600 hover:bg-blue-700 text-white font-bold py-3.5 rounded-xl transition shadow-lg shadow-blue-600/30">
            Coba Hubungkan Kembali
        </button>
    </div>

    <script>
        if ('serviceWorker' in navigator) {
            navigator.serviceWorker.register('/sw.js');
        }
    </script>
</body>
</html>
