<!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>
        /* Consolidated styles from index.html */
        :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);
        }

        .hero-section {
            text-align: center;
            padding: 4rem 1rem;
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .hero-title {
            font-family: 'Cinzel Decorative', cursive;
            color: var(--imperial-gold);
            font-size: clamp(2.5rem, 6vw, 4rem);
            margin: 2rem 0;
            text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
            animation: titleFlicker 4s ease-in-out infinite;
        }

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

        .video-container {
            background: rgba(0, 0, 0, 0.8);
            border-radius: 15px;
            padding: 1.5rem;
            border: 1px solid var(--gilded-edge);
            transition: all 0.3s ease;
        }

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

        .video-wrapper {
            position: relative;
            padding-bottom: 56.25%;
            height: 0;
            overflow: hidden;
            border-radius: 10px;
        }

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

        .video-description {
            padding: 1.5rem 0 0;
            text-align: center;
        }

        .video-description h3 {
            font-family: 'Cinzel Decorative', cursive;
            color: var(--imperial-gold);
            margin-bottom: 0.8rem;
            font-size: 1.4rem;
        }

        .video-description p {
            font-size: 1rem;
            line-height: 1.5;
            color: rgba(255, 255, 255, 0.85);
            max-width: 400px;
            margin: 0 auto;
        }

        @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) {
            .video-grid {
                padding: 1rem;
                gap: 1.5rem;
            }

            .video-description {
                padding: 1rem 0 0;
            }

            .video-description h3 {
                font-size: 1.2rem;
            }

            .video-description p {
                font-size: 0.9rem;
            }
        }
    </style>
</head>
<body>
    <div id="particles-js"></div>

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

    <div class="hero-section">
        <h1 class="hero-title">Crown Gen Tutorials</h1>
    </div>

    <div class="video-grid">
        <div class="video-container">
            <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>
            <div class="video-description">
                <h3>Stock Check Tutorial</h3>
                <p>Learn how to check real-time product availability and restock alerts using Crown Gen's inventory tracking system.</p>
            </div>
        </div>

        <div class="video-container">
            <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>
            <div class="video-description">
                <h3>License Key Redemption</h3>
                <p>Step-by-step guide to activating your Crown Gen subscription using license keys and troubleshooting common issues.</p>
            </div>
        </div>

        <div class="video-container">
            <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 class="video-description">
                <h3>Account Generation Tutorial</h3>
                <p>Master the process of generating premium accounts with Crown Gen's automated system and quality controls.</p>
            </div>
        </div>
    </div>

    <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>