<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Crown Gen Tutorials</title>
    <link href="https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700&family=Marcellus&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js"></script>
    <style>
        :root {
            --void-black: #000000;
            --imperial-gold: #FFD700;
            --gilded-edge: #C5A020;
        }

        body {
            font-family: 'Marcellus', serif;
            background: linear-gradient(135deg, var(--void-black) 0%, #0A0A0A 100%);
            color: rgba(255, 255, 255, 0.9);
            margin: 0;
            min-height: 100vh;
            overflow: auto;
            position: relative;
        }

        #particles-js {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 1rem;
            position: relative;
            z-index: 1;
        }

        .nav-tabs {
            display: flex;
            gap: 2rem;
            justify-content: center;
            margin-bottom: 2rem;
        }

        .tab-button {
            background: none;
            border: none;
            color: var(--imperial-gold);
            font-family: 'Cinzel Decorative', cursive;
            font-size: 1.2rem;
            cursor: pointer;
            padding: 0.5rem 1.5rem;
            border-radius: 8px;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .tab-button.active {
            background: rgba(255, 215, 0, 0.1);
            border: 2px solid var(--gilded-edge);
            text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
        }

        .tutorials-title {
            text-align: center;
            font-family: 'Cinzel Decorative', cursive;
            font-size: 2.5rem;
            color: var(--imperial-gold);
            margin: 3rem 0;
            text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
            animation: titleFlicker 4s ease-in-out infinite;
        }

        .video-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            padding: 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .video-wrapper {
            position: relative;
            padding-bottom: 56.25%;
            height: 0;
            overflow: hidden;
            border: 3px solid var(--gilded-edge);
            border-radius: 15px;
            box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
            transition: all 0.3s ease;
            background: rgba(0, 0, 0, 0.8);
        }

        .video-wrapper:hover {
            transform: translateY(-5px);
            box-shadow: 0 0 40px rgba(255, 215, 0, 0.3);
        }

        .video-wrapper iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }

        @keyframes titleFlicker {
            0%, 18%, 22%, 25%, 53%, 57%, 100% {
                text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
            }
            20%, 24%, 55% {
                text-shadow: 0 0 25px rgba(255, 215, 0, 0.6), 
                           0 0 35px rgba(255, 215, 0, 0.4);
            }
        }

        @media (max-width: 768px) {
            .tutorials-title {
                font-size: 2rem;
                margin: 2rem 0;
            }
            
            .video-grid {
                padding: 1rem;
                gap: 1.5rem;
            }
        }

        @media (max-width: 480px) {
            .tutorials-title {
                font-size: 1.75rem;
            }
            
            .tab-button {
                font-size: 1rem;
                padding: 0.5rem 1rem;
            }
        }
    </style>
</head>
<body>
    <!-- Particles Background -->
    <div id="particles-js"></div>

    <!-- Navigation -->
    <nav class="nav-container">
        <div class="nav-tabs">
            <a href="index.html" class="tab-button">Home</a>
            <a href="index.html#tiers" class="tab-button">Tiers</a>
            <button class="tab-button active">Tutorials</button>
        </div>
    </nav>

    <!-- Main Content -->
    <h1 class="tutorials-title">Crown Gen Tutorials</h1>

    <div class="video-grid">
        <!-- Stock Check Tutorial -->
        <div class="video-wrapper">
            <iframe src="https://www.youtube.com/embed/GDYb38IeEVU" 
                    title="Stock Check Tutorial"
                    allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" 
                    allowfullscreen></iframe>
        </div>

        <!-- License Key Redemption -->
        <div class="video-wrapper">
            <iframe src="https://www.youtube.com/embed/Ju10Xe-l-yQ" 
                    title="License Key Redemption"
                    allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" 
                    allowfullscreen></iframe>
        </div>

        <!-- Account Generation -->
        <div class="video-wrapper">
            <iframe src="https://www.youtube.com/embed/xVYmeQR__NA" 
                    title="Account Generation"
                    allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" 
                    allowfullscreen></iframe>
        </div>
    </div>

    <!-- Particles.js Script -->
    <script>
        particlesJS('particles-js', {
            particles: {
                number: { value: 80, density: { enable: true, value_area: 800 } },
                color: { value: "#ffffff" },
                shape: { type: "circle" },
                opacity: { value: 0.7, random: true, anim: { enable: true, speed: 1, opacity_min: 0.1 } },
                size: { value: 3, random: true, anim: { enable: true, speed: 2, size_min: 0.1 } },
                line_linked: { enable: false },
                move: {
                    enable: true,
                    speed: 2,
                    direction: "top",
                    random: true,
                    straight: false,
                    out_mode: "out",
                    bounce: false
                }
            },
            interactivity: {
                detect_on: "canvas",
                events: { onhover: { enable: false }, onclick: { enable: false }, resize: true }
            },
            retina_detect: true
        });
    </script>
</body>
</html>