<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Veza Gaming | Arena</title>
    <link
        href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap"
        rel="stylesheet">
    <link rel="stylesheet" href="../css/style.css">
    <link rel="stylesheet" href="../css/6-modules/gaming.css">
</head>

<body>
    <div class="page-bg"></div>

    <div class="flex h-screen overflow-hidden">
        <!-- SIDEBAR -->
        <!-- SIDEBAR NAV -->
        <aside class="w-64 bg-void-50/80 backdrop-blur border-r border-void-200 hidden md:flex flex-col p-4 z-50">
            <div class="mb-8 flex items-center gap-3 px-2">
                <div class="w-8 h-8 rounded bg-gradient-to-tr from-cyan-500 to-magenta-500 animate-pulse-slow"></div>
                <div class="flex flex-col">
                    <span class="font-display text-2xl tracking-widest text-white leading-none">VEZA</span>
                    <span class="text-[10px] text-void-500 font-mono tracking-widest uppercase">Design System
                        v5.0</span>
                </div>
            </div>

            <nav class="space-y-1 flex-grow overflow-y-auto no-scrollbar pb-20">
                <div class="px-2 mb-2 text-xs font-mono text-void-500 uppercase tracking-widest">Templates</div>
                <a href="auth.html" class="nav-item">Authentication</a>
                <a href="nexus.html" class="nav-item">Nexus Profile</a>
                <a href="social.html" class="nav-item">Social Feed</a>
                <a href="market.html" class="nav-item">Marketplace</a>
                <a href="studio.html" class="nav-item">Creator Studio</a>
                <a href="productivity.html" class="nav-item">Productivity</a>
                <a href="education.html" class="nav-item">Education</a>
                <a href="admin.html" class="nav-item">Admin & Moderation</a>
                <a href="hardware.html" class="nav-item">Hardware Gear</a>
                <a href="developers.html" class="nav-item">Developer API</a>
                <a href="gaming.html" class="nav-item active">Gaming & XP</a>

                <div class="px-2 mt-6 mb-2 text-xs font-mono text-void-500 uppercase tracking-widest">Atom Library</div>
                <a href="../index.html#intro" class="nav-item">Introduction</a>
                <a href="../index.html#colors" class="nav-item">Color Palette</a>
                <a href="../index.html#typography" class="nav-item">Typography</a>
                <a href="../index.html#buttons" class="nav-item">Buttons & Actions</a>
                <a href="../index.html#badges" class="nav-item">Badges & Status</a>
                <a href="../index.html#inputs" class="nav-item">Forms & Inputs</a>
                <a href="../index.html#cards" class="nav-item">Cards & Containers</a>
                <a href="../index.html#tables" class="nav-item">Tables & Data</a>
                <a href="../index.html#feedback" class="nav-item">Feedback & Modals</a>
            </nav>

            <!-- Theme Toggle Foot -->
            <div class="pt-4 border-t border-void-200">
                <div class="flex items-center justify-between px-2">
                    <div class="flex items-center gap-2">
                        <div class="w-2 h-2 rounded-full bg-lime-500 shadow-glow-green"></div>
                        <span class="text-xs text-void-400 font-mono">SYSTEM: ONLINE</span>
                    </div>
                    <button id="themeToggle"
                        class="w-8 h-8 rounded-full bg-void-200 text-void-600 hover:text-cyan-500 hover:bg-void-100 flex items-center justify-center transition-all">
                        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none"
                            stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                            <circle cx="12" cy="12" r="5"></circle>
                            <path
                                d="M12 1v2M12 21v2M4.22 4.22l1.42 1.42M18.36 18.36l1.42 1.42M1 12h2M21 12h2M4.22 19.78l1.42-1.42M18.36 5.64l1.42-1.42">
                            </path>
                        </svg>
                    </button>
                </div>
            </div>
        </aside>

        <main class="flex-grow overflow-y-auto relative scroll-smooth h-full p-4 md:p-8">
            <div class="max-w-6xl mx-auto space-y-12">

                <h1 class="glitch text-4xl font-display text-white mb-2" data-text="COMPETITIVE_GRID">COMPETITIVE_GRID
                </h1>

                <!-- WEEKLY CHALLENGE -->
                <div class="challenge-card">
                    <div class="flex justify-between items-start mb-4">
                        <div>
                            <span class="badge badge-gaming mb-2">Weekly Quest</span>
                            <h3 class="text-2xl font-bold text-white">Audio Architect</h3>
                            <p class="text-dim">Upload 5 original tracks this week to unlock the "Producer" badge.</p>
                        </div>
                        <div class="text-right">
                            <div class="text-3xl font-mono text-xp-gold">500 XP</div>
                            <div class="text-xs text-dim">Reward</div>
                        </div>
                    </div>
                    <div class="flex justify-between text-xs font-mono text-void-500 mb-1">
                        <span>PROGRESS</span>
                        <span>3 / 5 Uploads</span>
                    </div>
                    <div class="challenge-progress">
                        <div class="challenge-fill" style="width: 60%"></div>
                    </div>
                </div>

                <div class="grid grid-cols-1 lg:grid-cols-2 gap-12">
                    <!-- LEADERBOARD -->
                    <div>
                        <div class="flex items-center justify-between mb-6">
                            <h2 class="text-2xl font-display text-white">Global Ranking</h2>
                            <div class="flex gap-2">
                                <button class="btn btn-xs btn-outline active">Global</button>
                                <button class="btn btn-xs btn-ghost">Friends</button>
                            </div>
                        </div>

                        <div class="leaderboard-row">
                            <div class="rank-badge rank-1">1</div>
                            <div class="flex-grow flex items-center gap-3">
                                <div class="w-10 h-10 rounded-full bg-void-300"><img src="https://i.pravatar.cc/150?u=8"
                                        class="w-full h-full rounded-full"></div>
                                <div>
                                    <div class="text-white font-bold text-sm">Neon_Goddess</div>
                                    <div class="text-[10px] text-cyan-500">Cyber Artist</div>
                                </div>
                            </div>
                            <div class="text-right">
                                <div class="text-white font-mono font-bold">84,200</div>
                                <div class="text-[10px] text-void-500">XP</div>
                            </div>
                        </div>

                        <div class="leaderboard-row">
                            <div class="rank-badge rank-2">2</div>
                            <div class="flex-grow flex items-center gap-3">
                                <div class="w-10 h-10 rounded-full bg-void-300"><img
                                        src="https://i.pravatar.cc/150?u=12" class="w-full h-full rounded-full"></div>
                                <div>
                                    <div class="text-white font-bold text-sm">Bit_Crusher</div>
                                    <div class="text-[10px] text-magenta-500">Producer</div>
                                </div>
                            </div>
                            <div class="text-right">
                                <div class="text-white font-mono font-bold">79,500</div>
                                <div class="text-[10px] text-void-500">XP</div>
                            </div>
                        </div>

                        <div class="leaderboard-row">
                            <div class="rank-badge rank-3">3</div>
                            <div class="flex-grow flex items-center gap-3">
                                <div class="w-10 h-10 rounded-full bg-void-300"><img src="https://i.pravatar.cc/150?u=5"
                                        class="w-full h-full rounded-full"></div>
                                <div>
                                    <div class="text-white font-bold text-sm">Senke_Prime</div>
                                    <div class="text-[10px] text-lime-500">Architect</div>
                                </div>
                            </div>
                            <div class="text-right">
                                <div class="text-white font-mono font-bold">72,120</div>
                                <div class="text-[10px] text-void-500">XP</div>
                            </div>
                        </div>
                    </div>

                    <!-- ACHIEVEMENTS -->
                    <div>
                        <h2 class="text-2xl font-display text-white mb-6">Trophy Case</h2>
                        <div class="grid grid-cols-3 gap-4">
                            <div class="text-center">
                                <div class="achievement-hexagon unlocked"></div>
                                <span class="text-xs text-white font-bold block">First Upload</span>
                                <span class="text-[10px] text-void-500">Rare</span>
                            </div>
                            <div class="text-center">
                                <div class="achievement-hexagon unlocked"></div>
                                <span class="text-xs text-white font-bold block">1k Plays</span>
                                <span class="text-[10px] text-void-500">Epic</span>
                            </div>
                            <div class="text-center">
                                <div class="achievement-hexagon"></div>
                                <span class="text-xs text-void-400 font-bold block">Platinum Disc</span>
                                <span class="text-[10px] text-void-600">Locked</span>
                            </div>
                            <div class="text-center">
                                <div class="achievement-hexagon"></div>
                                <span class="text-xs text-void-400 font-bold block">Community Pillars</span>
                                <span class="text-[10px] text-void-600">Locked</span>
                            </div>
                        </div>
                    </div>

                </div>

            </div>
        </main>
    </div>

    <script type="module" src="../js/main.js"></script>
</body>

</html>