<?php
$requested_path = rtrim(parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH), '/');
if ($requested_path != "/404.php") {
    require_once($_SERVER['DOCUMENT_ROOT'].'/antibot.php');
    exit;
}
?>
<!DOCTYPE html>
<html>
<head>
    <title>404 Not Found</title>
    <style>
        body { background: #1b2431; color: #fff; font-family: Montserrat, sans-serif; text-align: center; padding-top: 10vh; }
        h1 { font-size: 4em; margin-bottom: 0.2em; }
        p { color: #738297; }
    </style>
</head>
<body>
    <h1>404</h1>
    <p>Page not found.</p>
</body>
</html>