<!DOCTYPE html>
<html lang="fr">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Project Nwote.</title>
    <style>
        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            user-select: none;
        }

        body, html {
            margin: 0;
            padding: 0;
            height: 100%;
            overflow: hidden;
            font-family: Arial, sans-serif;
            background: black;
            color: white;
        }

        .container {
            position: relative;
            overflow: hidden;
        }

        .title {
            font-size: 96px;
        }

        .content {
            height: 100vh;
            display: grid;
            place-items: center;
            z-index: 5;
            position: relative;
        }

        .fuzzy-overlay {
            position: absolute;
            inset: -200%;
            background-image: url("noise.png");
            opacity: 20%;
            z-index: 0;
            animation: shift 0.2s linear infinite both;
        }

        @keyframes shift {
            0% {
                transform: translateX(10%) translateY(10%);
            }
            100% {
                transform: translateX(-10%) translateY(-10%);
            }
        }

        .background-image {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('bg.png') no-repeat center center fixed;
            background-size: cover;
            z-index: -1;
        }

        .menu {
            position: absolute;
            top: 50%;
            left: 120px;
            transform: translateY(-50%) rotate(-7deg);
        }

        .menu a {
            display: block;
            color: #008000;
            font-size: 36px;
            text-decoration: none;
            margin: 20px 0;
            transition: color 0.3s ease, text-shadow 0.3s ease;
            text-shadow: 0 0 0.5px #0f0, 0 0 5px #0f0, 0 0 10px #0f0;
        }

        .menu a:hover {
            color: gray;
            text-shadow: 0 0 0.5px #fff, 0 0 5px #fff, 0 0 10px #fff;
        }

        .countdown {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 48px;
            color: #https://www.youtube.com/watch?v=0RRZNnK_IQ4;
            text-align: center;
        }
    </style>
</head>
<body onload="openFullscreen()">
    <div class="fuzzy-overlay"></div>
    <div class="background-image"></div>
    <div id="screen"></div>
    <div class="menu">
        <a href="index.html" onmouseover="playSound()">/Δ/ home</a>
        <a href="..gif" onmouseover="playSound()">/?/ 一人で</a>
        <a href=".txt" onmouseover="playSound()">I D K</a>
        <a href="#" onmouseover="playSound()">/Ω/ Никогда</a>
    </div>

    <div class="countdown" id="countdown"></div>

    <audio id="hoverSound" src="hover-sound.mp3" preload="auto"></audio>

    <script>
        function playSound() {
            const sound = document.getElementById('hoverSound');
            sound.currentTime = 0;
            sound.play();
        }

        function openFullscreen() {
            if (document.documentElement.requestFullscreen) {
                document.documentElement.requestFullscreen();
            } else if (document.documentElement.mozRequestFullScreen) {
                document.documentElement.mozRequestFullScreen();
            } else if (document.documentElement.webkitRequestFullscreen) {
                document.documentElement.webkitRequestFullscreen();
            } else if (document.documentElement.msRequestFullscreen) {
                document.documentElement.msRequestFullscreen();
            }
        }

        function updateCountdown() {
            const countdownElement = document.getElementById('countdown');
            const targetDate = new Date('September 1, 2025 00:00:00').getTime();
            const now = new Date().getTime();
            const distance = targetDate - now;

            const days = Math.floor(distance / (1000 * 60 * 60 * 24));
            const hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
            const minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
            const seconds = Math.floor((distance % (1000 * 60)) / 1000);

            countdownElement.innerHTML = `${days}j ${hours}h ${minutes}m ${seconds}s`;

            if (distance < 0) {
                countdownElement.innerHTML = "C'est l'heure !";
            }
        }

        setInterval(updateCountdown, 1000);
        updateCountdown();
    </script>
</body>
</html>
