<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Anoxle Projects</title>
    <link rel="icon" href="/icon.png" type="image/png">
    <style>
        body {
            font-family: 'Segoe UI', Arial, sans-serif;
            min-height: 100vh;
            margin: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            color: #2d3436;
            overflow: hidden;
        }

        .loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.9);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.8s ease;
        }

        .loader-text {
            margin-top: 20px;
            font-size: 16px;
            color: #2d3436;
        }

        .loader-spinner {
            width: 80px;
            height: 80px;
            border: 4px solid rgba(108, 92, 231, 0.2);
            border-top: 4px solid #6c5ce7;
            border-radius: 50%;
            animation: spin 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
            box-shadow: 0 0 20px rgba(108, 92, 231, 0.1);
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .loader.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .container {
            background: rgba(255, 255, 255, 0.95);
            padding: 2rem 3rem;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            text-align: center;
            max-width: 90%;
            width: 800px;
            position: relative;
            z-index: 10;
            opacity: 0;
            visibility: hidden;
            transform: perspective(1000px) rotateX(-90deg) scale(0.7);
        }

        .container.visible {
            animation: unfoldIn 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
            visibility: visible;
        }

        .title {
            font-size: 48px;
            font-weight: bold;
            background: linear-gradient(45deg, #6c5ce7, #a363d8);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            margin: 0;
            line-height: 1;
            margin-bottom: 1rem;
            transform: scale(0);
        }

        .container.visible .title {
            animation: popIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.4s forwards;
        }

        .project-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-top: 2rem;
        }

        .project-card {
            background: white;
            border-radius: 15px;
            padding: 1.5rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            opacity: 0;
            transform: translateY(20px);
        }

        .container.visible .project-card {
            animation: slideUpFade 0.6s ease-out forwards;
        }

        .project-card:nth-child(2) {
            animation-delay: 0.2s;
        }

        .project-card:nth-child(3) {
            animation-delay: 0.4s;
        }

        .project-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(108, 92, 231, 0.2);
        }

        .project-title {
            font-size: 1.5rem;
            font-weight: bold;
            color: #2d3436;
            margin-bottom: 0.5rem;
        }

        .project-description {
            color: #636e72;
            font-size: 0.9rem;
            margin-bottom: 1rem;
        }

        .project-link {
            display: inline-block;
            padding: 8px 20px;
            background: linear-gradient(45deg, #6c5ce7, #a363d8);
            color: white;
            text-decoration: none;
            border-radius: 25px;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .project-link:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
        }

        .back-button {
            display: inline-block;
            padding: 8px 24px;
            background: linear-gradient(45deg, #6c5ce7, #a363d8);
            color: white;
            text-decoration: none;
            border-radius: 25px;
            font-weight: 500;
            transition: all 0.3s ease;
            margin-top: 2rem;
            opacity: 0;
        }

        .container.visible .back-button {
            animation: slideUpFade 0.6s ease-out 0.8s forwards;
        }

        .back-button:hover {
            transform: translateY(-5px) scale(1.05);
            box-shadow: 0 10px 20px rgba(108, 92, 231, 0.3);
        }

        @keyframes unfoldIn {
            0% {
                opacity: 0;
                transform: perspective(1000px) rotateX(-90deg) scale(0.9);
            }
            70% {
                transform: perspective(1000px) rotateX(10deg) scale(1.05);
            }
            100% {
                opacity: 1;
                transform: perspective(1000px) rotateX(0deg) scale(1);
            }
        }

        @keyframes popIn {
            0% { transform: scale(0); }
            80% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }

        @keyframes slideUpFade {
            0% {
                opacity: 0;
                transform: translateY(20px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
        }

        .particle {
            position: absolute;
            background: #6c5ce7;
            border-radius: 50%;
            opacity: 0.3;
            transition: all 1s ease;
        }

        @keyframes particleMove {
            0% {
                transform: translate(0, 0) rotate(0deg);
            }
            50% {
                transform: translate(50px, 50px) rotate(180deg);
            }
            100% {
                transform: translate(-50px, -50px) rotate(360deg);
            }
        }
    </style>
</head>
<body>
    <div class="loader">
        <div class="loader-spinner"></div>
        <div class="loader-text">Loading...</div>
    </div>

    <div class="particles" id="particlesContainer"></div>
    
    <div class="container">
        <h1 class="title">Our Projects</h1>
        <div class="project-grid">
            <div class="project-card">
                <div class="project-title">Vulpes</div>
                <div class="project-description">
                    Enhance Your Discord Experience 
                </div>
                <a href="https://vulpesy.vercel.app/" class="project-link">Website</a>
            </div>
        </div>
        <a href="/" class="back-button">Back to Home</a>
    </div>

    <script>
        function finishLoading() {
            const loader = document.querySelector('.loader');
            const container = document.querySelector('.container');
            
            setTimeout(() => {
                loader.classList.add('hidden');
                container.classList.add('visible');
            }, 500);
        }

        function createParticles() {
            const container = document.getElementById('particlesContainer');
            const particleCount = 50;

            for (let i = 0; i < particleCount; i++) {
                const particle = document.createElement('div');
                particle.classList.add('particle');

                const size = Math.random() * 15 + 5;
                particle.style.width = `${size}px`;
                particle.style.height = `${size}px`;

                particle.style.left = `${Math.random() * 100}%`;
                particle.style.top = `${Math.random() * 100}%`;

                particle.style.animation = `particleMove ${Math.random() * 10 + 5}s infinite alternate`;
                particle.style.opacity = Math.random() * 0.4;

                container.appendChild(particle);
            }
        }

        document.addEventListener('DOMContentLoaded', function() {
            createParticles();
            window.addEventListener('load', finishLoading);
        });
    </script>
</body>
</html>