<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Crown Gen Website</title>
    <link href="https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700&family=Marcellus&display=swap" rel="stylesheet">
    <!-- Particles.js Library -->
    <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; /* Allow scrolling */
            position: relative;
        }

        /* Particles.js Container */
        #particles-js {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1; /* Place behind other content */
        }

        /* Navigation Styles */
        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 1rem;
            position: relative;
            z-index: 1; /* Ensure navigation is above particles */
        }

        .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;
            opacity: 0;
            animation: fadeInUp 0.8s ease-out 0.4s forwards;
        }

        .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);
        }

        /* Landing Page Styles */
        .hero-section {
            text-align: center;
            padding: 4rem 1rem;
            max-width: 1200px;
            margin: 0 auto;
            opacity: 0;
            animation: fadeInUp 0.8s ease-out 0.2s forwards;
            position: relative;
            z-index: 1; /* Ensure content is above particles */
        }

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

        .hero-description {
            font-size: 1.2rem;
            max-width: 800px;
            margin: 0 auto 2rem;
            line-height: 1.6;
            opacity: 0;
            animation: fadeInUp 0.8s ease-out 0.6s forwards;
        }

        .cta-button {
            background: linear-gradient(45deg, var(--gilded-edge), var(--imperial-gold));
            color: var(--void-black);
            padding: 1rem 2.5rem;
            border-radius: 8px;
            font-family: 'Cinzel Decorative', cursive;
            font-size: 1.2rem;
            border: none;
            cursor: pointer;
            transition: transform 0.3s ease;
            margin-top: 1rem;
            opacity: 0;
            animation: fadeInUp 0.8s ease-out 1s forwards;
        }

        /* Original Tiers Styles */
        .sanctum-container {
            max-width: 1400px;
            margin: 1rem auto;
            padding: clamp(1.5rem, 5vw, 2.5rem);
            background: rgba(0, 0, 0, 0.95);
            border-radius: 20px;
            border: 3px solid var(--imperial-gold);
            box-shadow: 0 0 50px rgba(255, 215, 0, 0.2);
            animation: containerFloat 6s ease-in-out infinite;
            display: none;
            position: relative;
            z-index: 1; /* Ensure content is above particles */
        }

        .sanctum-container.active {
            display: block;
        }

        .tier-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
            gap: clamp(1rem, 3vw, 2rem);
            margin-bottom: 2rem;
        }

        .tier-card {
            background: linear-gradient(160deg, #0A0A0A 0%, #1A1A1A 100%);
            border-radius: 15px;
            padding: clamp(1rem, 3vw, 2rem);
            border: 2px solid var(--gilded-edge);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            opacity: 0;
            animation: cardAppear 0.6s ease-out forwards;
        }

        .tier-header {
            font-family: 'Cinzel Decorative', cursive;
            font-size: 1.8rem;
            font-weight: bold;
            color: var(--imperial-gold);
            margin-bottom: 1rem;
            text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
            transition: transform 0.3s ease;
        }

        .tier-price {
            font-size: 1.2rem;
            color: var(--imperial-gold);
            margin-bottom: 1.5rem;
        }

        .tier-list {
            list-style: none;
            padding: 0;
        }

        .tier-list li {
            padding: 0.8rem;
            margin: 0.5rem 0;
            background: rgba(255, 215, 0, 0.03);
            border-left: 3px solid var(--gilded-edge);
            transition: all 0.3s ease;
        }

        .tier-list li:hover {
            background: rgba(255, 215, 0, 0.08);
            transform: translateX(8px);
        }

        .gold-coin {
            color: var(--imperial-gold);
            margin-right: 0.5rem;
            transition: transform 0.3s ease;
        }

        .tier-list li:hover .gold-coin {
            transform: rotate(15deg) scale(1.2);
        }

        .payment-methods {
            margin-top: clamp(1.5rem, 5vw, 3rem);
            padding: clamp(1rem, 3vw, 2rem);
            background: rgba(0, 0, 0, 0.7);
            border-radius: 12px;
            border: 1px solid var(--gilded-edge);
            animation: fadeInUp 0.8s ease-out 1s forwards;
            opacity: 0;
        }

        .payment-heading {
            font-family: 'Cinzel Decorative', cursive;
            font-size: 1.5rem;
            color: var(--imperial-gold);
            margin-bottom: 1rem;
        }

        .payment-list {
            list-style: none;
            padding: 0;
            display: flex;
            gap: 1rem;
        }

        .payment-list li {
            padding: 0.5rem 1rem;
            background: rgba(255, 215, 0, 0.05);
            border: 1px solid var(--gilded-edge);
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        .payment-list li:hover {
            background: rgba(255, 215, 0, 0.1);
            transform: translateY(-3px);
        }

        /* Purchase Link Styles */
        .purchase-link {
            display: inline-block;
            padding: 0.5rem 1rem;
            border: 2px solid var(--imperial-gold);
            border-radius: 8px;
            color: var(--gilded-edge);
            text-decoration: none;
            transition: transform 0.3s ease;
            animation: shake 2s infinite;
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            10%, 30%, 50%, 70%, 90% { transform: translateX(-3px); }
            20%, 40%, 60%, 80% { transform: translateX(3px); }
        }

        /* All Original Animations */
        @keyframes containerFloat {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }

        @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);
            }
        }

        @keyframes cardAppear {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Responsive Adjustments */
        @media (max-width: 768px) {
            body { padding: 0.5rem; }
            .tier-card { margin: 0 auto; max-width: 400px; }
            .nav-tabs { gap: 1rem; }
            .hero-title { font-size: 2.5rem; }
        }

        @media (max-width: 480px) {
            h1 { font-size: 1.75rem; }
            .tier-header { font-size: 1.5rem; }
            .tier-price { font-size: 1rem; }
            .payment-list { flex-direction: column; }
            .hero-title { font-size: 2rem; }
            .tab-button { font-size: 1rem; padding: 0.5rem 1rem; }
        }
    </style>
</head>
<body>
    <!-- Particles.js Background -->
    <div id="particles-js"></div>

    <nav class="nav-container">
        <div class="nav-tabs">
            <button class="tab-button active" onclick="showTab('home')">Home</button>
            <button class="tab-button" onclick="showTab('tiers')">Tiers</button>
        </div>
    </nav>

    <!-- Landing Page -->
    <div id="home" class="hero-section active">
        <h1 class="hero-title">Crown Gen Home</h1>
        <p class="hero-description">
            Welcome to the new and improved CrownGen website. Here, you can view information in a clear and informative way. In addition to many other features, enjoy.
        </p>
        <button class="cta-button" onclick="showTab('tiers')">View Tiers</button>
    </div>

    <!-- Tiers Page -->
    <div id="tiers" class="sanctum-container">
        <h1>Crown Gen Tiers</h1>
        
        <div class="tier-grid">
            <!-- Free Tier -->
            <div class="tier-card" style="animation-delay: 0.2s">
                <div class="tier-header">Free Gen</div>
                <div class="tier-price">🆓 Free Forever</div>
                <ul class="tier-list">
                    <li><span class="gold-coin">⏳</span> 1-Day Cooldown</li>
                    <li><span class="gold-coin">🛡️</span> Basic Account Quality</li>
                    <li><span class="gold-coin">🌐</span> Standard Success Rate</li>
                    <li><span class="gold-coin">📆</span> Regular Updates</li>
                </ul>
            </div>

            <!-- Booster Tier -->
            <div class="tier-card" style="animation-delay: 0.4s">
                <div class="tier-header">Booster Gen</div>
                <div class="tier-price">🎮 1 Discord Nitro Boost</div>
                <ul class="tier-list">
                    <li><span class="gold-coin">⚡</span> 5-Hour Cooldown</li>
                    <li><span class="gold-coin">🌟</span> Enhanced Success Rate</li>
                    <li><span class="gold-coin">📦</span> Bulk Generation Access</li>
                    <li><span class="gold-coin">🔧</span> Priority Support</li>
                </ul>
            </div>

            <!-- Premium Tier -->
            <div class="tier-card" style="animation-delay: 0.6s">
                <div class="tier-header">Premium Gen</div>
                <div class="tier-price">
                    <div>💎 1-Day: $3.99</div>
                    <div>💎 1-Week: $5.99</div>
                    <div>💎 1-Month: $8.99</div>
                    <div>👑 Lifetime: $19.99</div>
                </div>
                <ul class="tier-list">
                    <li><span class="gold-coin">⚡</span> 1-Hour Cooldown</li>
                    <li><span class="gold-coin">✨</span> Platinum Account Quality</li>
                    <li><span class="gold-coin">📦</span> Bulk Generation Pro</li>
                    <li><span class="gold-coin">💎</span> Booster-Gen Access</li>
                    <li><span class="gold-coin">🔄</span> Instant Restocks</li>
                    <li><span class="gold-coin">🎯</span> Maximum Success Rate</li>
                </ul>
            </div>
        </div>

        <div class="payment-methods">
            <h3 class="payment-heading">❤️ Accepted Payment Methods</h3>
            <ul class="payment-list">
                <li>PayPal</li>
                <li>CashApp</li>
                <li>Crypto</li>
            </ul>
            <p style="color: var(--imperial-gold); margin-top: 1rem;">Purchase here: 
                <a href="https://www.poof.io/@Krik" target="_blank" class="purchase-link">https://www.poof.io/@Krik</a>
            </p>
        </div>
    </div>

    <script>
        function showTab(tabName) {
            // Switch tabs
            document.querySelectorAll('[class*="active"]').forEach(el => {
                el.classList.remove('active');
            });
            
            // Activate selected tab
            document.getElementById(tabName).classList.add('active');
            
            // Update tab buttons
            document.querySelectorAll('.tab-button').forEach(btn => {
                btn.classList.toggle('active', btn.textContent.toLowerCase() === tabName);
            });
        }

        // Initialize Particles.js with white dots moving upward
        particlesJS('particles-js', {
            particles: {
                number: {
                    value: 80, // Number of particles
                    density: {
                        enable: true,
                        value_area: 800
                    }
                },
                color: {
                    value: "#ffffff" // White color for particles
                },
                shape: {
                    type: "circle" // Circle-shaped particles
                },
                opacity: {
                    value: 0.7,
                    random: true,
                    anim: {
                        enable: true,
                        speed: 1,
                        opacity_min: 0.1,
                        sync: false
                    }
                },
                size: {
                    value: 3, // Size of particles
                    random: true,
                    anim: {
                        enable: true,
                        speed: 2,
                        size_min: 0.1,
                        sync: false
                    }
                },
                line_linked: {
                    enable: false // Disable lines between particles
                },
                move: {
                    enable: true,
                    speed: 2, // Speed of particles
                    direction: "top", // Move particles upward
                    random: true,
                    straight: false,
                    out_mode: "out",
                    bounce: false,
                    attract: {
                        enable: false,
                        rotateX: 600,
                        rotateY: 1200
                    }
                }
            },
            interactivity: {
                detect_on: "canvas",
                events: {
                    onhover: {
                        enable: false
                    },
                    onclick: {
                        enable: false
                    },
                    resize: true
                }
            },
            retina_detect: true
        });
    </script>
</body>
</html>