<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Anime Episode Downloads | AnimeHub</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: {
                            500: '#6366f1',
                            600: '#4f46e5',
                        },
                        dark: {
                            900: '#0f172a',
                            800: '#1e293b',
                            700: '#334155',
                        },
                        accent: '#f43f5e',
                    },
                    fontFamily: {
                        sans: ['Inter', 'sans-serif'],
                    },
                    boxShadow: {
                        'glow': '0 0 15px rgba(99, 102, 241, 0.3)',
                    }
                }
            }
        }
    </script>
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
        body {
            font-family: 'Inter', sans-serif;
            background-color: #0f172a;
            color: #f8fafc;
            min-height: 100vh;
        }
        .quality-badge {
            @apply px-2 py-1 rounded text-xs font-semibold;
        }
        .quality-1080p { @apply bg-green-500/20 text-green-400; }
        .quality-720p { @apply bg-blue-500/20 text-blue-400; }
        .quality-480p { @apply bg-purple-500/20 text-purple-400; }
        .download-card {
            @apply bg-dark-800 border border-dark-700 rounded-lg p-4 hover:border-primary-500 transition-all duration-200 hover:shadow-glow;
        }
        .fansub-tag {
            @apply bg-dark-700 text-xs px-2 py-1 rounded-full;
        }
        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }
        ::-webkit-scrollbar-track {
            background: #1e293b;
        }
        ::-webkit-scrollbar-thumb {
            background: #4f46e5;
            border-radius: 4px;
        }
    </style>
</head>
<body>
    <!-- Navigation -->
    <header class="sticky top-0 z-50 bg-dark-900/80 backdrop-blur-md border-b border-dark-800">
        <div class="container mx-auto px-4 py-3">
            <div class="flex items-center justify-between">
                <a href="/" class="flex items-center space-x-2">
                    <div class="w-8 h-8 rounded-full bg-gradient-to-br from-primary-500 to-accent flex items-center justify-center">
                        <i class="fas fa-play text-white text-sm"></i>
                    </div>
                    <span class="text-xl font-bold bg-gradient-to-r from-primary-500 to-accent bg-clip-text text-transparent">AnimeHub</span>
                </a>
                
                <div class="flex items-center space-x-4">
                    <div class="hidden md:block relative w-64">
                        <input type="text" placeholder="Search anime..." class="w-full bg-dark-800 border border-dark-700 rounded-full py-2 px-4 pl-10 text-sm focus:outline-none focus:ring-2 focus:ring-primary-500">
                        <i class="fas fa-search absolute left-3 top-2.5 text-gray-400"></i>
                    </div>
                    <button class="md:hidden text-gray-400 hover:text-white">
                        <i class="fas fa-search text-xl"></i>
                    </button>
                </div>
            </div>
        </div>
    </header>

    <!-- Main Content -->
    <main class="container mx-auto px-4 py-8">
        <!-- Breadcrumb -->
        <div class="flex items-center text-sm text-gray-400 mb-6">
            <a href="/" class="hover:text-white transition">Home</a>
            <i class="fas fa-chevron-right mx-2 text-xs"></i>
            <a href="/anime/demon-slayer" class="hover:text-white transition">Demon Slayer</a>
            <i class="fas fa-chevron-right mx-2 text-xs"></i>
            <span class="text-primary-500">Episode 26</span>
        </div>

        <!-- Episode Info -->
        <div class="flex flex-col md:flex-row gap-6 mb-8">
            <div class="w-full md:w-1/3 lg:w-1/4">
                <div class="relative aspect-[2/3] rounded-lg overflow-hidden bg-dark-800">
                    <img src="https://via.placeholder.com/300x450" alt="Demon Slayer" class="w-full h-full object-cover">
                    <div class="absolute inset-0 bg-gradient-to-t from-dark-900/80 via-transparent to-transparent"></div>
                    <div class="absolute bottom-0 left-0 p-4">
                        <span class="inline-block px-3 py-1 bg-primary-500/20 text-primary-400 rounded-full text-xs font-semibold">TV Series</span>
                    </div>
                </div>
            </div>
            
            <div class="w-full md:w-2/3 lg:w-3/4">
                <h1 class="text-2xl md:text-3xl font-bold mb-2">Demon Slayer: Kimetsu no Yaiba</h1>
                <h2 class="text-xl md:text-2xl text-primary-400 mb-4">Episode 26: A New Mission</h2>
                
                <div class="flex flex-wrap gap-2 mb-4">
                    <span class="px-2 py-1 bg-dark-700 rounded-full text-xs">Action</span>
                    <span class="px-2 py-1 bg-dark-700 rounded-full text-xs">Adventure</span>
                    <span class="px-2 py-1 bg-dark-700 rounded-full text-xs">Demons</span>
                    <span class="px-2 py-1 bg-dark-700 rounded-full text-xs">Shounen</span>
                </div>
                
                <p class="text-gray-300 mb-6">
                    Tanjiro and his friends have recovered from their battles with the Lower Ranks and are preparing for their next mission. 
                    The Hashira gather to discuss the recent events and the growing threat of Muzan Kibutsuji.
                </p>
                
                <div class="flex items-center space-x-4">
                    <button class="bg-primary-500 hover:bg-primary-600 text-white px-6 py-2 rounded-full font-medium transition flex items-center">
                        <i class="fas fa-play mr-2"></i> Watch Now
                    </button>
                    <button class="bg-dark-700 hover:bg-dark-600 text-white px-4 py-2 rounded-full transition">
                        <i class="fas fa-bookmark"></i>
                    </button>
                </div>
            </div>
        </div>

        <!-- Download Section -->
        <div class="bg-dark-800 rounded-xl p-6">
            <div class="flex items-center justify-between mb-6">
                <h3 class="text-xl font-bold flex items-center">
                    <i class="fas fa-download mr-3 text-primary-500"></i> Download Links
                </h3>
                <div class="flex items-center space-x-2">
                    <span class="text-sm text-gray-400">Sort by:</span>
                    <select class="bg-dark-700 border border-dark-600 rounded-full px-3 py-1 text-sm focus:outline-none focus:ring-1 focus:ring-primary-500">
                        <option>Quality</option>
                        <option>File Size</option>
                        <option>Upload Date</option>
                    </select>
                </div>
            </div>

            <!-- Download Cards -->
            <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
                <!-- Download Card 1 -->
                <div class="download-card">
                    <div class="flex items-start justify-between mb-3">
                        <div>
                            <h4 class="font-medium">AniRena</h4>
                            <span class="fansub-tag">SubsPlease</span>
                        </div>
                        <span class="quality-badge quality-1080p">1080p</span>
                    </div>
                    <div class="flex items-center justify-between text-sm text-gray-400 mb-4">
                        <span>1.2 GB</span>
                        <span>Uploaded 2 hours ago</span>
                    </div>
                    <div class="flex space-x-2">
                        <a href="#" class="flex-1 bg-primary-500 hover:bg-primary-600 text-white text-center py-2 px-4 rounded font-medium transition">
                            <i class="fas fa-download mr-1"></i> Download
                        </a>
                        <a href="#" class="bg-dark-700 hover:bg-dark-600 text-white py-2 px-4 rounded font-medium transition">
                            <i class="fas fa-play"></i>
                        </a>
                    </div>
                </div>

                <!-- Download Card 2 -->
                <div class="download-card">
                    <div class="flex items-start justify-between mb-3">
                        <div>
                            <h4 class="font-medium">AniMixPlay</h4>
                            <span class="fansub-tag">Erai-raws</span>
                        </div>
                        <span class="quality-badge quality-720p">720p</span>
                    </div>
                    <div class="flex items-center justify-between text-sm text-gray-400 mb-4">
                        <span>650 MB</span>
                        <span>Uploaded 5 hours ago</span>
                    </div>
                    <div class="flex space-x-2">
                        <a href="#" class="flex-1 bg-primary-500 hover:bg-primary-600 text-white text-center py-2 px-4 rounded font-medium transition">
                            <i class="fas fa-download mr-1"></i> Download
                        </a>
                        <a href="#" class="bg-dark-700 hover:bg-dark-600 text-white py-2 px-4 rounded font-medium transition">
                            <i class="fas fa-play"></i>
                        </a>
                    </div>
                </div>

                <!-- Download Card 3 -->
                <div class="download-card">
                    <div class="flex items-start justify-between mb-3">
                        <div>
                            <h4 class="font-medium">AniRena</h4>
                            <span class="fansub-tag">SubsPlease</span>
                        </div>
                        <span class="quality-badge quality-480p">480p</span>
                    </div>
                    <div class="flex items-center justify-between text-sm text-gray-400 mb-4">
                        <span>350 MB</span>
                        <span>Uploaded 1 day ago</span>
                    </div>
                    <div class="flex space-x-2">
                        <a href="#" class="flex-1 bg-primary-500 hover:bg-primary-600 text-white text-center py-2 px-4 rounded font-medium transition">
                            <i class="fas fa-download mr-1"></i> Download
                        </a>
                        <a href="#" class="bg-dark-700 hover:bg-dark-600 text-white py-2 px-4 rounded font-medium transition">
                            <i class="fas fa-play"></i>
                        </a>
                    </div>
                </div>

                <!-- Download Card 4 -->
                <div class="download-card">
                    <div class="flex items-start justify-between mb-3">
                        <div>
                            <h4 class="font-medium">AnimePahe</h4>
                            <span class="fansub-tag">HorribleSubs</span>
                        </div>
                        <span class="quality-badge quality-1080p">1080p</span>
                    </div>
                    <div class="flex items-center justify-between text-sm text-gray-400 mb-4">
                        <span>1.1 GB</span>
                        <span>Uploaded 3 days ago</span>
                    </div>
                    <div class="flex space-x-2">
                        <a href="#" class="flex-1 bg-primary-500 hover:bg-primary-600 text-white text-center py-2 px-4 rounded font-medium transition">
                            <i class="fas fa-download mr-1"></i> Download
                        </a>
                        <a href="#" class="bg-dark-700 hover:bg-dark-600 text-white py-2 px-4 rounded font-medium transition">
                            <i class="fas fa-play"></i>
                        </a>
                    </div>
                </div>
            </div>

            <!-- Pagination -->
            <div class="flex justify-center mt-8">
                <nav class="inline-flex rounded-md shadow-sm">
                    <a href="#" class="px-3 py-1 rounded-l-md bg-dark-700 text-gray-400 hover:bg-dark-600">
                        <i class="fas fa-chevron-left"></i>
                    </a>
                    <a href="#" class="px-3 py-1 bg-dark-700 text-white">1</a>
                    <a href="#" class="px-3 py-1 bg-dark-700 text-gray-400 hover:bg-white">2</a>
                    <a href="#" class="px-3 py-1 bg-dark-700 text-gray-400 hover:bg-white">3</a>
                    <a href="#" class="px-3 py-1 rounded-r-md bg-dark-700 text-gray-400 hover:bg-dark-600">
                        <i class="fas fa-chevron-right"></i>
                    </a>
                </nav>
            </div>
        </div>
    </main>

    <!-- Footer -->
    <footer class="bg-dark-900 border-t border-dark-800 mt-12">
        <div class="container mx-auto px-4 py-8">
            <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
                <div>
                    <h4 class="text-lg font-semibold mb-4">AnimeHub</h4>
                    <p class="text-gray-400 text-sm">
                        The best place to watch and download your favorite anime with high quality and fast servers.
                    </p>
                </div>
                <div>
                    <h4 class="text-lg font-semibold mb-4">Quick Links</h4>
                    <ul class="space-y-2 text-sm text-gray-400">
                        <li><a href="#" class="hover:text-white transition">Home</a></li>
                        <li><a href="#" class="hover:text-white transition">Popular Anime</a></li>
                        <li><a href="#" class="hover:text-white transition">New Releases</a></li>
                        <li><a href="#" class="hover:text-white transition">Request Anime</a></li>
                    </ul>
                </div>
                <div>
                    <h4 class="text-lg font-semibold mb-4">Information</h4>
                    <ul class="space-y-2 text-sm text-gray-400">
                        <li><a href="#" class="hover:text-white transition">About Us</a></li>
                        <li><a href="#" class="hover:text-white transition">DMCA</a></li>
                        <li><a href="#" class="hover:text-white transition">Terms of Service</a></li>
                        <li><a href="#" class="hover:text-white transition">Privacy Policy</a></li>
                    </ul>
                </div>
                <div>
                    <h4 class="text-lg font-semibold mb-4">Connect With Us</h4>
                    <div class="flex space-x-4">
                        <a href="#" class="w-8 h-8 rounded-full bg-dark-700 flex items-center justify-center hover:bg-primary-500 transition">
                            <i class="fab fa-discord"></i>
                        </a>
                        <a href="#" class="w-8 h-8 rounded-full bg-dark-700 flex items-center justify-center hover:bg-blue-500 transition">
                            <i class="fab fa-twitter"></i>
                        </a>
                        <a href="#" class="w-8 h-8 rounded-full bg-dark-700 flex items-center justify-center hover:bg-pink-500 transition">
                            <i class="fab fa-instagram"></i>
                        </a>
                    </div>
                </div>
            </div>
            <div class="border-t border-dark-800 mt-8 pt-8 text-center text-sm text-gray-500">
                <p>© 2023 AnimeHub. All rights reserved.</p>
            </div>
        </div>
    </footer>

    <script>
        // Simple script to handle quality filter toggle
        document.addEventListener('DOMContentLoaded', function() {
            const qualityFilters = document.querySelectorAll('.quality-filter');
            
            qualityFilters.forEach(filter => {
                filter.addEventListener('click', function() {
                    this.classList.toggle('bg-primary-500');
                    this.classList.toggle('bg-dark-700');
                    
                    // Here you would normally filter the download cards
                    // For demo purposes we're just toggling the button state
                });
            });
        });
    </script>
</body>
</html>