<?php
header("Refresh:2; url=router.php?page=login");
?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>SGAccount | Loading...</title>
  <link rel="icon" type="image/x-icon" href="/favicon.ico">
  <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/admin-lte@3.2/dist/css/adminlte.min.css">
  <style>
    body {
      background: url('assets/img/splash-bg.jpg') center/cover no-repeat;
      height: 100vh; display:flex; align-items:center; justify-content:center;
      flex-direction:column; color:white; text-shadow:0 1px 3px #000;
    }
    .logo {
      width:120px; height:120px; margin-bottom:20px;
      animation: pulse 2s infinite;
    }
    @keyframes pulse { 0%,100%{transform:scale(1);} 50%{transform:scale(1.1);} }
  </style>
</head>
<body>
  <img src="assets/img/logo.png" alt="Logo" class="logo">
  <h1>Welcome to <strong>SGAccount</strong></h1>
  <p>Home Renovation Accounting System</p>
  <div class="spinner-border text-light mt-3" role="status"></div>
</body>
</html>
