<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
    <link rel="icon" href="favicon.jpg" type="image/x-icon">
    <title>404 - Page Not Found</title>
    <style>
        body {
            margin: 0;
            font-family: 'Arial', sans-serif;
            background: linear-gradient(135deg, #2c3e50, #4ca1af);
            color: white;
            text-align: center;
            overflow: hidden;
            height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }
        h1 {
            font-size: 6rem;
            margin: 0;
            background: linear-gradient(to right, #ff6e7f, #bfe9ff);
            -webkit-background-clip: text;
            color: transparent;
        }
        p {
            font-size: 1.5rem;
            margin: 20px 0;
        }
        .btn {
            padding: 15px 30px;
            background: #ff6e7f;
            color: white;
            text-decoration: none;
            font-size: 1.2rem;
            border-radius: 25px;
            transition: 0.3s;
        }
        .btn:hover {
            background: #ff9a9e;
            transform: scale(1.1);
        }
        .stars {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            overflow: hidden;
        }
        .stars span {
            position: absolute;
            width: 2px;
            height: 2px;
            background: white;
            border-radius: 50%;
            animation: sparkle 5s infinite linear;
        }
        @keyframes sparkle {
            0% {
                transform: translateY(0) scale(0.5);
                opacity: 0.8;
            }
            50% {
                opacity: 1;
            }
            100% {
                transform: translateY(-100vh) scale(1);
                opacity: 0;
            }
        }
        /* Generate multiple stars */
        .stars span:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
        .stars span:nth-child(2) { top: 20%; left: 50%; animation-delay: 1s; }
        .stars span:nth-child(3) { top: 40%; left: 80%; animation-delay: 2s; }
        .stars span:nth-child(4) { top: 60%; left: 30%; animation-delay: 3s; }
        .stars span:nth-child(5) { top: 80%; left: 70%; animation-delay: 4s; }
        .gif-container {
            margin: 20px 0;
        }
        .gif-container img {
            max-width: 300px;
            border-radius: 15px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
        }
        audio {
            display: none;
        }
    </style>
</head>
<body>
    <div class="stars">
        <span></span>
        <span></span>
        <span></span>
        <span></span>
        <span></span>
    </div>
    <h1>404</h1>
    <p>Oops! We can't find the page you're looking for.</p>
    <div class="gif-container">
        <img src="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExeTlwdGY3dTlwb293ajZlc2U0Z2tyeWNjb2h4ajhycjBqOHYyN3lzbSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/t0virGpgSlp4mkfiXq/giphy.gif" alt="Lost in Space">
    </div>
    <a href="/" class="btn">Return Home</a>
    <audio autoplay loop>
        <source src="https://www.soundjay.com/ambient/sounds/space-ambience-01.mp3" type="audio/mpeg">
        Your browser does not support the audio element.
    </audio>
</body>
</html>
