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

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Veza Social | Feed</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">
</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 active">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">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 grid grid-cols-1 lg:grid-cols-3 gap-8">

                <!-- CENTER FEED -->
                <div class="lg:col-span-2 space-y-8">
                    <!-- STORIES -->
                    <div class="flex gap-4 overflow-x-auto pb-4 no-scrollbar">
                        <div class="flex flex-col items-center gap-2">
                            <div class="story-ring live"><img src="https://i.pravatar.cc/150?u=1"
                                    class="w-full h-full rounded-full object-cover"></div>
                            <span class="text-xs font-mono text-dim">CyberWolf</span>
                        </div>
                        <div class="flex flex-col items-center gap-2">
                            <div class="story-ring"><img src="https://i.pravatar.cc/150?u=2"
                                    class="w-full h-full rounded-full object-cover"></div>
                            <span class="text-xs font-mono text-dim">NeonV</span>
                        </div>
                        <div class="flex flex-col items-center gap-2">
                            <div class="story-ring close-friends"><img src="https://i.pravatar.cc/150?u=3"
                                    class="w-full h-full rounded-full object-cover"></div>
                            <span class="text-xs font-mono text-dim">K3N</span>
                        </div>
                    </div>

                    <!-- POST -->
                    <div class="feed-post fade-in-up">
                        <div class="post-header">
                            <img src="https://i.pravatar.cc/150?u=4" class="post-avatar">
                            <div>
                                <h4 class="text-sm font-bold text-white mb-0">Arasaka_Dev</h4>
                                <span class="text-xs text-dim">2 hours ago • <span class="text-cyan">Tokyo
                                        Server</span></span>
                            </div>
                            <button class="ml-auto btn btn-ghost btn-icon text-dim">
                                <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"
                                    fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
                                    stroke-linejoin="round">
                                    <circle cx="12" cy="12" r="1"></circle>
                                    <circle cx="19" cy="12" r="1"></circle>
                                    <circle cx="5" cy="12" r="1"></circle>
                                </svg>
                            </button>
                        </div>

                        <div class="text-void-800 text-sm mb-4 leading-relaxed">
                            Just deployed the new neural interface protocols. Latency is down by 40%. The grid has never
                            looked so smooth. 🌐✨ #Cyberpunk #DevLife #Neon
                        </div>

                        <div class="rounded-lg overflow-hidden border border-void-200 mb-4 h-64 relative group">
                            <img src="https://images.unsplash.com/photo-1550751827-4bd374c3f58b?q=80&w=2670&auto=format&fit=crop"
                                class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-700">
                        </div>

                        <div class="flex items-center gap-6 pt-2 border-t border-void-200">
                            <button class="post-action liked hover:scale-110 transition-transform"><svg
                                    xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
                                    fill="currentColor" stroke="none">
                                    <path
                                        d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z">
                                    </path>
                                </svg> 4.2k</button>
                            <button class="post-action"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"
                                    viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
                                    stroke-linecap="round" stroke-linejoin="round">
                                    <path
                                        d="M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z">
                                    </path>
                                </svg> 248</button>
                            <button class="post-action ml-auto"><svg xmlns="http://www.w3.org/2000/svg" width="24"
                                    height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
                                    stroke-linecap="round" stroke-linejoin="round">
                                    <path d="M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8"></path>
                                    <polyline points="16 6 12 2 8 6"></polyline>
                                    <line x1="12" y1="2" x2="12" y2="15"></line>
                                </svg> Share</button>
                        </div>
                    </div>
                </div>

                <!-- RIGHT COLUMN: CHAT -->
                <div class="space-y-6">
                    <div class="chat-container h-[600px]">
                        <div class="chat-header">
                            <div>
                                <h4 class="text-sm font-bold text-white mb-0">#general-dev</h4>
                                <span class="text-xs text-dim">142 Online</span>
                            </div>
                            <button class="btn btn-ghost btn-sm btn-icon"><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">
                                    <line x1="18" y1="6" x2="6" y2="18"></line>
                                    <line x1="6" y1="6" x2="18" y2="18"></line>
                                </svg></button>
                        </div>
                        <div class="chat-messages">
                            <div class="message-row">
                                <div class="avatar"><img src="https://i.pravatar.cc/150?u=5"></div>
                                <div class="message-content">
                                    <h5>DevOne <span>10:42 AM</span></h5>
                                    <p>Has anyone checked the latest build?</p>
                                </div>
                            </div>
                            <div class="message-row">
                                <div class="avatar"><img src="https://i.pravatar.cc/150?u=1"></div>
                                <div class="message-content">
                                    <h5 class="text-cyan">Senke <span>10:44 AM</span></h5>
                                    <p>It's live. I optimized the assets, load time is sub-100ms now.</p>
                                </div>
                            </div>
                        </div>
                        <div class="chat-input-area">
                            <input type="text" class="chat-input" placeholder="Message #general-dev...">
                        </div>
                    </div>
                </div>

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

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

</html>