<!DOCTYPE html>
<html lang="en" class="notranslate" translate="no">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="icon" type="image/x-icon" href="/src/img/color.png">
    <title>Error 404 - Page Not Found</title>
    <style>
        :root {
            --primary-color: #4e54c8;
            --secondary-color: #adb1fd;
            --text-color: #000000;
            --background-color: #ffffff;
        }

        @media (prefers-color-scheme: dark) {
            :root {
            --primary-color: #4e54c8;
            --secondary-color: #8f94fb;
            --text-color: #ffffff;
            --background-color: #1a1a2e;
            }
        }
        body {
            touch-action: none;
            -ms-touch-action: none;
            user-select: none;
            -webkit-user-select: none;
            -moz-user-select: none;
            cursor: default;
            background-color: var(--background-color);
            color: var(--text-color);
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            margin: 0;
            padding: 0;
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
        }
        .error-container {
            text-align: center;
            z-index: 2;
            position: relative;
        }
        h1 {
            font-size: 150px;
            margin: 0;
            background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: pulse 2s ease-in-out infinite alternate;
        }
        p {
            font-size: 24px;
            margin: 20px 0;
            text-transform: uppercase;
            letter-spacing: 2px;
        }
        .action-link {
            display: inline-block;
            padding: 15px 30px;
            background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
            color: var(--text-color);
            text-decoration: none;
            border-radius: 50px;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }
        .action-link:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }
        .action-link::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: rgba(255, 255, 255, 0.1);
            transform: rotate(45deg);
            transition: all 0.3s;
        }
        .action-link:hover::after {
            transform: rotate(45deg) translate(50%, 50%);
        }
        .circles {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 1;
        }
        .circles li {
            position: absolute;
            display: block;
            list-style: none;
            width: 20px;
            height: 20px;
            background: rgba(0, 0, 0, 0.2);
            animation: animate 25s linear infinite;
            bottom: -150px;
        }
        .circles li:nth-child(1) {
            left: 25%;
            width: 80px;
            height: 80px;
            animation-delay: 0s;
        }
        .circles li:nth-child(2) {
            left: 10%;
            width: 20px;
            height: 20px;
            animation-delay: 2s;
            animation-duration: 12s;
        }
        .circles li:nth-child(3) {
            left: 70%;
            width: 20px;
            height: 20px;
            animation-delay: 4s;
        }
        .circles li:nth-child(4) {
            left: 40%;
            width: 60px;
            height: 60px;
            animation-delay: 0s;
            animation-duration: 18s;
        }
        .circles li:nth-child(5) {
            left: 65%;
            width: 20px;
            height: 20px;
            animation-delay: 0s;
        }
        .circles li:nth-child(6) {
            left: 75%;
            width: 110px;
            height: 110px;
            animation-delay: 3s;
        }
        .circles li:nth-child(7) {
            left: 35%;
            width: 150px;
            height: 150px;
            animation-delay: 7s;
        }
        .circles li:nth-child(8) {
            left: 50%;
            width: 25px;
            height: 25px;
            animation-delay: 15s;
            animation-duration: 45s;
        }
        .circles li:nth-child(9) {
            left: 20%;
            width: 15px;
            height: 15px;
            animation-delay: 2s;
            animation-duration: 35s;
        }
        .circles li:nth-child(10) {
            left: 85%;
            width: 150px;
            height: 150px;
            animation-delay: 0s;
            animation-duration: 11s;
        }
        @keyframes animate {
            0% {
                transform: translateY(0) rotate(0deg);
                opacity: 1;
                border-radius: 0;
            }
            100% {
                transform: translateY(-1000px) rotate(720deg);
                opacity: 0;
                border-radius: 50%;
            }
        }
        @keyframes pulse {
            0% { opacity: 0.8; }
            100% { opacity: 1; }
        }
    </style>
</head>
<body>
    <ul class="circles">
        <li></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
    </ul>
    <div class="error-container">
        <h1>404</h1>
        <p>DevTools Detected !</p>
        <p>Please Disable Devtools And Goto https://color-wars-onlineq.web.app</p>
        <p>Powered by devtools-detect</p>
    </div>

    <script>
// Prevent keyboard shortcuts
document.addEventListener('keydown', function(event) {
    // Check for Ctrl + Shift + I
    if (event.ctrlKey && event.shiftKey && event.key === 'I') {
        event.preventDefault();
    }

    // Check for Ctrl + U
    if (event.ctrlKey && event.key === 'u') {
        event.preventDefault();
    }

    // Disable Ctrl + C, Ctrl + X, Ctrl + A, Ctrl + S
    if ((event.ctrlKey && event.key === 'c') || 
        (event.ctrlKey && event.key === 'x') || 
        (event.ctrlKey && event.key === 's') || 
        (event.ctrlKey && event.key === 'a')) {
        event.preventDefault();
    }
});


// Prevent zoom with keyboard shortcuts
document.addEventListener('keydown', function(event) {
    if ((event.ctrlKey || event.metaKey) && (event.key === '+' || event.key === '-' || event.key === '0')) {
        event.preventDefault();
    }
});

// Prevent zoom on mobile (double-tap and pinch-to-zoom)
document.addEventListener('touchstart', function(event) {
    if (event.touches.length > 1) {
        event.preventDefault();
    }
}, { passive: false });

// Prevent zoom with mouse scroll (desktop)
document.addEventListener('wheel', function(event) {
    if (event.ctrlKey || event.metaKey) {
        event.preventDefault();
    }
}, { passive: false });

// Disable right-click menu
document.addEventListener('contextmenu', function(event) {
    event.preventDefault();
});

const intervalId = setInterval(() => {
    console.clear();  // This clears the console
    console.error('Stop Using Devtools !');
    debugger;
}, 1000);

    </script>
</body>
</html>