<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Fancy One-File Page</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Segoe UI", system-ui, sans-serif;
}
body {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(120deg, #0f2027, #203a43, #2c5364);
background-size: 300% 300%;
animation: bgMove 10s ease infinite;
color: white;
}
@keyframes bgMove {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
.card {
width: 350px;
padding: 30px;
border-radius: 20px;
background: rgba(255, 255, 255, 0.08);
backdrop-filter: blur(15px);
border: 1px solid rgba(255, 255, 255, 0.15);
box-shadow: 0 25px 50px rgba(0,0,0,0.4);
text-align: center;
animation: fadeIn 1.5s ease;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
h1 {
font-size: 2rem;
margin-bottom: 10px;
letter-spacing: 1px;
}
p {
font-size: 0.95rem;
opacity: 0.85;
margin-bottom: 25px;
}
button {
width: 100%;
padding: 12px;
font-size: 1rem;
border: none;
border-radius: 10px;
cursor: pointer;
background: linear-gradient(135deg, #00f260, #0575e6);
color: white;
transition: all 0.3s ease;
}
button:hover {
transform: translateY(-3px) scale(1.03);
box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}
.terminal {
margin-top: 20px;
font-family: monospace;
font-size: 0.85rem;
color: #00ffcc;
min-height: 20px;
}
</style>
</head>
<body>
<div class="card">
<h1>ACCESS GRANTED</h1>
<p>Welcome to a clean, single-file, fancy webpage.</p>
<button onclick="runHack()">Initialize</button>
<div class="terminal" id="terminal"></div>
</div>
<script>
const messages = [
"Connecting...",
"Bypassing firewall...",
"Decrypting packets...",
"Access granted ✔"
];
let index = 0;
function runHack() {
const terminal = document.getElementById("terminal");
terminal.textContent = "";
index = 0;
const interval = setInterval(() => {
terminal.textContent = messages[index];
index++;
if (index >= messages.length) {
clearInterval(interval);
}
}, 700);
}
</script>
</body>
</html>