<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>RED PILL</title>
    <style>
        body {
            background: black;
            color: white;
            font-family: 'Courier New', Courier, monospace;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
            overflow: hidden;
            flex-direction: column;
        }

        h1 {
            text-shadow: 0 0 10px red, 0 0 20px red, 0 0 30px red;
            font-size: 4rem;
            text-align: center;
            animation: glow 1.5s infinite alternate;
        }

        @keyframes glow {
            from {
                text-shadow: 0 0 10px red, 0 0 20px red, 0 0 30px red;
            }
            to {
                text-shadow: 0 0 20px red, 0 0 30px red, 0 0 40px red;
            }
        }

        .particles {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            overflow: hidden;
            z-index: 1;
        }

        footer {
            position: absolute;
            bottom: 10px;
            font-size: 0.8rem;
            color: white;
        }

        footer a {
            color: red;
            text-decoration: none;
        }

        footer a:hover {
            text-decoration: underline;
        }

        .blur-container {
            position: relative;
            z-index: 10;
            background: rgba(255, 0, 0, 0.3);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            padding: 20px;
            text-align: center;
            width: 60%;
            max-width: 600px;
            color: white;
            box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
            overflow: hidden;
        }

        .tab-buttons {
            display: flex;
            justify-content: center;
            margin-top: 20px;
        }

        .tab-buttons button {
            background: none;
            border: 1px solid red;
            color: red;
            padding: 10px 20px;
            margin: 0 10px;
            border-radius: 5px;
            cursor: pointer;
            transition: background 0.3s, color 0.3s;
        }

        .tab-buttons button:hover {
            background: red;
            color: black;
        }

        .tab-content {
            opacity: 0;
            transform: translateX(100%);
            position: absolute;
            width: 100%;
            transition: opacity 0.5s ease, transform 0.5s ease;
        }

        .tab-content.active {
            opacity: 1;
            transform: translateX(0);
            position: relative;
        }
    </style>
</head>
<body>
    <div class="particles" id="particles-js"></div>
    <div class="blur-container">
        <div id="home" class="tab-content active">
            <h1>Welcome to RED PILL</h1>
            <p>Sme Pravda v tomto svete lží</p>
        </div>
        <div id="about" class="tab-content">
            <h1>About Us</h1>
            <p>We are the RED PILL group, uncovering the truth one step at a time.</p>
        </div>
        <div id="contact" class="tab-content">
            <h1>Contact Us</h1>
            <p>Join our <a href="https://rvlt.gg/DwrZqd09" target="_blank">Revolt server</a> to get in touch.</p>
        </div>
        <div id="info" class="tab-content">
            <h1>Information</h1>
            <p>Welcome, to Red Pill.  We are an organized group aiming to uncover the secrets, and lies within this world.  We expose those of whom do the wrong thing for the wrong purpose.  You have the right to privacy.  They don't care, but we do.</p>
        </div>
        <div class="tab-buttons">
            <button onclick="switchTab('home')">Home</button>
            <button onclick="switchTab('about')">About</button>
            <button onclick="switchTab('contact')">Contact</button>
            <button onclick="switchTab('info')">Information</button>
        </div>
    </div>

    <script src="https://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js"></script>
    <script>
        const originalTitle = "RED PILL";
        function getRandomString() {
            return Math.random().toString(36).substring(2, 8).toUpperCase();
        }

        setInterval(() => {
            document.title = document.title === originalTitle ? getRandomString() : originalTitle;
        }, 500)

        particlesJS("particles-js", {
            "particles": {
                "number": { "value": 100, "density": { "enable": true, "value_area": 800 } },
                "color": { "value": "#ff0000" },
                "shape": {
                    "type": "circle",
                    "stroke": { "width": 0, "color": "#000000" },
                    "polygon": { "nb_sides": 5 },
                },
                "opacity": { "value": 0.5, "random": true, "anim": { "enable": false } },
                "size": { "value": 3, "random": true },
                "line_linked": { "enable": true, "distance": 150, "color": "#ff0000", "opacity": 0.4, "width": 1 },
                "move": { "enable": true, "speed": 3, "direction": "none", "random": false, "straight": false, "out_mode": "out" }
            },
            "interactivity": {
                "detect_on": "canvas",
                "events": {
                    "onhover": { "enable": true, "mode": "repulse" },
                    "onclick": { "enable": true, "mode": "push" },
                    "resize": true
                },
                "modes": {
                    "repulse": { "distance": 100, "duration": 0.4 },
                    "push": { "particles_nb": 4 }
                }
            },
            "retina_detect": true
        })
        
        function switchTab(tabId) {
            const tabs = document.querySelectorAll('.tab-content');
            tabs.forEach(tab => {
                tab.classList.remove('active');
            });

            document.getElementById(tabId).classList.add('active');
        }
    </script>
</body>
</html>