<!DOCTYPE html>
<html lang="id">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Website Sudah Tidak ada</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=Poppins:wght@400;600;700&display=swap" rel="stylesheet">
<style>
/* Mengatur dasar halaman */
body {
font-family: 'Poppins', sans-serif;
background-color: #121212;
color: #E0E0E0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
overflow: hidden;
}
/* Kontainer utama untuk konten */
.container {
text-align: center;
background: #1E1E1E;
padding: 40px 50px;
border-radius: 20px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
max-width: 500px;
width: 90%;
border: 1px solid #333;
animation: fadeIn 1s ease-in-out;
}
/* Animasi fade-in */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Ikon Error */
.error-icon svg {
width: 80px;
height: 80px;
fill: #3da100; /* Warna aksen yang cerah */
margin-bottom: 20px;
}
/* Judul utama */
h1 {
font-size: 2.5em;
font-weight: 700;
margin: 0;
color: #FFFFFF;
}
/* Paragraf penjelasan */
p {
font-size: 1.1em;
margin-top: 15px;
line-height: 1.6;
}
/* Teks countdown */
#countdown-text {
margin-top: 30px;
font-size: 1em;
color: #AAAAAA;
}
#countdown-text span {
font-weight: 600;
color: #3da100; /* Warna aksen */
}
/* Tombol untuk kembali ke Home */
.home-button {
display: inline-block;
margin-top: 25px;
padding: 12px 30px;
background: #3da100; /* Warna aksen */
color: #121212;
text-decoration: none;
font-weight: 600;
border-radius: 50px;
transition: background-color 0.3s ease, transform 0.2s ease;
}
.home-button:hover {
background-color: #408b04;
transform: translateY(-3px);
}
</style>
</head>
<body>
<div class="container">
<div class="error-icon">
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M12,2C6.48,2,2,6.48,2,12s4.48,10,10,10,10-4.48,10-10S17.52,2,12,2z M13,17h-2v-2h2V17z M13,13h-2V7h2V13z"/>
</svg>
</div>
<h1>Website Sudah Tidak ada</h1>
<p>Maaf, halaman yang Anda cari tidak dapat ditemukan. Mungkin telah dihapus atau URL-nya salah.</p>
<p id="countdown-text">
Anda akan dialihkan ke halaman utama dalam <span id="timer">5</span> detik...
</p>
<a href="https://login.itupkv.org/" class="home-button">Kembali ke Home</a>
</div>
<script>
// --- PENGATURAN ---
// Ganti 'https://login.itupkv.org/' dengan URL halaman utama website Anda.
const homePageUrl = 'https://login.itupkv.org/';
let timeLeft = 0; // Waktu countdown dalam detik
// Mengambil elemen dari HTML
const timerElement = document.getElementById('timer');
// Fungsi untuk mengupdate countdown
const countdown = () => {
if (timeLeft <= 0) {
// Jika waktu habis, hentikan interval dan alihkan halaman
clearInterval(timerInterval);
window.location.href = homePageUrl;
} else {
// Update teks countdown
timerElement.textContent = timeLeft;
timeLeft--;
}
};
// Memulai countdown setiap 1 detik (1000 milidetik)
let timerInterval = setInterval(countdown, 500);
</script>
</body>
</html>