<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Melania Trump Coin - The Future of Digital Fashion</title>
    <style>
        :root {
            --primary-gradient: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
            --secondary-gradient: linear-gradient(45deg, #7c3aed 0%, #c026d3 100%);
            --background-color: #000000;
            --text-color: #ffffff;
            --nav-height: 80px;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background-color: var(--background-color);
            color: var(--text-color);
            line-height: 1.6;
        }

        nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: var(--nav-height);
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(10px);
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 2rem;
            z-index: 1000;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--text-color);
            text-decoration: none;
        }

        .nav-links {
            display: flex;
            gap: 2rem;
            align-items: center;
        }

        .nav-links a {
            color: var(--text-color);
            text-decoration: none;
            font-size: 0.9rem;
            transition: opacity 0.3s ease;
        }

        .nav-links a:hover {
            opacity: 0.8;
        }

        .connect-wallet {
            background: var(--secondary-gradient);
            color: white;
            border: none;
            padding: 0.75rem 1.5rem;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 500;
            transition: transform 0.3s ease;
        }

        .connect-wallet:hover {
            transform: translateY(-2px);
        }

        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: var(--nav-height) 2rem 2rem;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 100%;
            height: 100%;
            background: var(--secondary-gradient);
            opacity: 0.1;
            filter: blur(120px);
            z-index: -1;
        }

        .hero-content {
            max-width: 1200px;
            width: 100%;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .hero-text h1 {
            font-size: 3.5rem;
            line-height: 1.2;
            margin-bottom: 1.5rem;
            background: var(--secondary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero-text p {
            font-size: 1.2rem;
            margin-bottom: 2rem;
            opacity: 0.9;
        }

        .cta-buttons {
            display: flex;
            gap: 1rem;
        }

        .cta-button {
            padding: 1rem 2rem;
            border-radius: 8px;
            font-weight: 500;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .primary-button {
            background: var(--secondary-gradient);
            color: white;
            border: none;
        }

        .secondary-button {
            background: transparent;
            color: white;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .cta-button:hover {
            transform: translateY(-2px);
        }

        .news-section {
            padding: 4rem 2rem;
            background: rgba(255, 255, 255, 0.02);
        }

        .section-title {
            margin-bottom: 2rem;
            text-align: center;
        }

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

        .news-card {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            padding: 1.5rem;
            transition: transform 0.3s ease;
        }

        .news-card:hover {
            transform: translateY(-5px);
        }

        .news-card h3 {
            margin-bottom: 1rem;
            font-size: 1.2rem;
        }

        .news-card p {
            opacity: 0.8;
            margin-bottom: 1rem;
        }

        .news-card a {
            color: #7c3aed;
            text-decoration: none;
        }

        .exchanges-section {
            padding: 4rem 2rem;
            overflow: hidden;
        }

        .scroll-container {
            white-space: nowrap;
            overflow: hidden;
            position: relative;
            background: rgba(0, 0, 0, 0.02);
            padding: 2rem 0;
            display: flex;
            justify-content: center;
        }

        .scroll {
            display: inline-flex;
            animation: scroll 20s linear infinite;
        }

        @keyframes scroll {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        .exchange-logo {
            height: 55px;
            margin: 0 2rem;
            opacity: 0.6;
            transition: opacity 0.3s ease, transform 0.3s ease;
            cursor: pointer;
        }

        .exchange-logo:hover {
            opacity: 1;
            transform: scale(1.1);
        }

        

        .partnershippump:hover {
            opacity: 1;
            transform: scale(1.1);
            cursor: pointer;
           
        }

        .partnership {
            padding: 4rem 2rem;
            text-align: center;
            background: rgba(0, 0, 0, 0.02);
        }

        .partnership img {
            max-width: 70px;
            opacity: 0.8;
        }

        .hero-image {
            width: 500px;
            height: 500px;
            object-fit: cover;
            border-radius: 10px;
            justify-self: end;
        }

        .roadmap-section {
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    position: relative;
    overflow: hidden;
}

.roadmap-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.phase {
    display: flex;
    margin-bottom: 4rem;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.phase.visible {
    opacity: 1;
    transform: translateY(0);
}

.phase:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 35px;
    top: 70px;
    bottom: -70px;
    width: 2px;
    background: linear-gradient(45deg, #7c3aed 0%, #c026d3 100%);
}

.phase-number {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, #7c3aed 0%, #c026d3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 2rem;
}

.phase-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    flex-grow: 1;
}

.phase-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #7c3aed 0%, #c026d3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.phase-items {
    list-style: none;
    padding: 0;
}

.phase-items li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.phase-items li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #7c3aed;
}

@media (max-width: 768px) {
    .phase {
        flex-direction: column;
    }

    .phase-number {
        margin-bottom: 1rem;
    }

    .phase:not(:last-child)::after {
        left: 35px;
        top: 70px;
        height: 50px;
    }
}


        @media (max-width: 768px) {
            .hero-content {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .hero-text h1 {
                font-size: 2.5rem;
            }

            .cta-buttons {
                justify-content: center;
            }

            .nav-links {
                display: none;
            }
            .hero-image {
                width: 100%;
                max-width: 500px;
                height: auto;
                margin-top: 2rem;
                justify-self: center;
            }

        }

        .founders-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(192, 38, 211, 0.1) 100%);
}

.founders-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.founder-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 250px;
    max-width: 300px;
}

.founder-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.founder-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 auto 1.5rem;
    background-size: cover;
    background-position: center;
    border: 4px solid rgba(124, 58, 237, 0.5);
    transition: border-color 0.3s ease;
}

.founder-card:hover .founder-image {
    border-color: rgba(192, 38, 211, 0.8);
}

.founder-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    color: #ffffff;
}

.founder-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .founders-section {
        padding: 4rem 1rem;
    }

    .founders-container {
        flex-direction: column;
        align-items: center;
    }

    .founder-card {
        max-width: 100%;
        width: 100%;
    }
}


    @media (max-width: 768px) {
        .founder-card {
            max-width: 100%;
        }
    }

    nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-left {
        display: flex;
        align-items: center;
    }

    .nav-image {
        height: 20px;
        margin-left: 10px;
    }

    @media (max-width: 768px) {
        .nav-image {
            height: 20px;
        margin-left: 10px;
        }
    }
    </style>
    <script src="https://cdn.jsdelivr.net/npm/canvas-confetti@1.5.1/dist/confetti.browser.min.js"></script>
</head>
<body>
    <nav>
        <div class="nav-left">
            <a href="#" class="logo">Melania Coin</a>
            <img src="https://cdn.britannica.com/79/4479-050-6EF87027/flag-Stars-and-Stripes-May-1-1795.jpg" alt="Melania Trump Coin" class="nav-image">
            <img src="https://i.ibb.co/Pm3jpKq/34.png" alt="Melania Trump Coin" class="nav-image">
        </div>
        <div class="nav-links">
            <a href="#news">News</a>
            <a href="#exchanges">Exchanges</a>
            <a href="#about">About</a>
            <button class="connect-wallet" onclick="buyProduct('coin')">Buy Coin</button>
        </div>
    </nav>

    <section class="hero">
        <div class="hero-content">
            <div class="hero-text">
                <h1>Melania Trump Coin</h1>
                <p>A collectible coin honoring Melania Trump, celebrating her elegance, contributions, and legacy as First Lady.</p>
                <div class="cta-buttons">
                    <button class="cta-button primary-button" onclick="buyProduct('coin')">Buy Now</button>
                    <a href="https://t.me/melaniacoin" class="cta-button secondary-button">Join Community</a>
                </div>
            </div>
            <img src="https://i.ibb.co/prwh18q/logo.png" alt="Melania Trump Coin" class="hero-image">
        </div>
    </section>

    <section class="partnership">
        <h2 class="section-title">In Partnership With</h2>
        <img src="https://img.cryptorank.io/coins/pump_fun1724837513667.png" class="partnershippump" alt="PUMP.fun Logo" onclick="goTopartnership('pump.fun')">
        <img src="https://upload.wikimedia.org/wikipedia/en/b/b9/Solana_logo.png" class="partnershippump" alt="Solana_logo" onclick="goTopartnership('solana.com')">
        
    </section>

    <section class="exchanges-section" id="exchanges">
        <h2 class="section-title">Trading On</h2>
        <div class="scroll-container">
            <div class="scroll">
                <img class="exchange-logo" src="https://i.ibb.co/znt3hyZ/28-removebg-preview.png" alt="Dex scanner" onclick="goToExchange('dexscreerner.org/connect')">
                <img class="exchange-logo" src="https://i.ibb.co/DfKqtwk/dextools1629975030345.png" alt="Dex tools" onclick="goToExchange('dextools.io/app/en/pairs')">
                <img class="exchange-logo" src="https://i.ibb.co/mGbRsnj/29-removebg-preview.png" alt="Birdeye" onclick="goToExchange('birdeye.so')">
                <img class="exchange-logo" src="https://i.ibb.co/XSMRHqM/xm-Janf0q-400x400.png" alt="Geckoterminal" onclick="goToExchange('geckoterminal.com')">
                <img class="exchange-logo" src="https://i.ibb.co/JxyK7bX/0-s-YZlj-NCd-N8-wxeq1.png" alt="Photon" onclick="goToExchange('photon-sol.tinyastro.io')">
                <img class="exchange-logo" src="https://i.ibb.co/ZBHgyPc/30-removebg-preview.png" alt="Rugcheck" onclick="goToExchange('rugcheck.xyz')">
                <img class="exchange-logo" src="https://i.ibb.co/kBWqBnY/31-removebg-preview.png" alt="Bubblemaps" onclick="goToExchange('bubblemaps.io')">



            </div>
        </div>
    </section>

    <section class="exchanges-section" id="exchanges-coming-soon">
        <h2 class="section-title">Trading Coming Soon</h2>
        <div class="scroll-container">
            <div class="scroll">
                <img class="exchange-logo" src="https://seeklogo.com/images/B/binance-coin-bnb-logo-CD94CC6D31-seeklogo.com.png" alt="Binance" onclick="goToExchange('binance.com')">
                <img class="exchange-logo" src="https://upload.wikimedia.org/wikipedia/en/thumb/4/48/Seattle_Kraken_official_logo.svg/1200px-Seattle_Kraken_official_logo.svg.png" alt="Kraken" onclick="goToExchange('kraken.com')">
                <img class="exchange-logo" src="https://altcoinsbox.com/wp-content/uploads/2023/01/crypto.com-logo.png" alt="Crypto.com" onclick="goToExchange('crypto.com')">
                <img class="exchange-logo" src="https://crypto-central.io/library/uploads/bybit_logo-min.png" alt="Bybit" onclick="goToExchange('bybit.com')">
                <img class="exchange-logo" src="https://www.svgrepo.com/show/331460/kucoin.svg" alt="KuCoin" onclick="goToExchange('kucoin.com')">
                <img class="exchange-logo" src="https://i.ibb.co/1sW0W9v/27-removebg-preview.png" alt="MEXC" onclick="goToExchange('mexc.com')">
                <img class="exchange-logo" src="https://img.cryptorank.io/funds/gate_io1664797075115.png" alt="Gate.io" onclick="goToExchange('gate.io')">
                
            </div>
        </div>
    </section>

    <section class="news-section" id="news">
        <h2 class="section-title">Latest News</h2>
        <div id="news-content"></div>
    </section>


    <section class="roadmap-section" id="roadmap">
        <h2 class="section-title">Roadmap</h2>
        <div class="roadmap-container">
            <div class="phase">
                <div class="phase-number">1</div>
                <div class="phase-content">
                    <h3 class="phase-title">Phase 1</h3>
                    <ul class="phase-items">
                        <li>Launching a limited-edition coin to honor Melania Trump</li>
                        <li>Celebrate influential figures while giving back to society</li>
                        <li>Support philanthropic efforts through meaningful initiatives</li>
                    </ul>
                </div>
            </div>
    
            <div class="phase">
                <div class="phase-number">2</div>
                <div class="phase-content">
                    <h3 class="phase-title">Phase 2</h3>
                    <ul class="phase-items">
                        <li>Build a Website and Social Media Presence</li>
                        <li>Partner with influencers, collectors, and high-profile individuals</li>
                        <li>Pitch the story to news outlets, emphasizing the charity aspect</li>
                        <li>Leverage Influencers and Media</li>
                    </ul>
                </div>
            </div>
    
            <div class="phase">
                <div class="phase-number">3</div>
                <div class="phase-content">
                    <h3 class="phase-title">Phase 3</h3>
                    <ul class="phase-items">
                        <li>Track and report the 10% donation contributions to ensure transparency</li>
                        <li>Distribute through online platforms</li>
                        <li>Official launch of the Melania Trump coin to the public</li>
                    </ul>
                </div>
            </div>
        </div>
    </section>

    <section class="founders-section">
        <h2 class="section-title">Our Founders</h2>
        <h5 class="section-title">Coming Soon...</h5>
        <div class="founders-container">
            <div class="founder-card">
                <div class="founder-image" style="background-image: url('https://i.ibb.co/rGqnrYJ/994628-200.png');"></div>
                <h3></h3>
                <p></p>
            </div>
            <div class="founder-card">
                <div class="founder-image" style="background-image: url('https://i.ibb.co/rGqnrYJ/994628-200.png');"></div>
                <h3></h3>
                <p></p>
            </div>
            <div class="founder-card">
                <div class="founder-image" style="background-image: url('https://i.ibb.co/rGqnrYJ/994628-200.png');"></div>
                <h3></h3>
                <p></p>
            </div>
        </div>
    </section>
    
    

    <script>
    async function fetchNews() {
        try {
            const response = await fetch(`https://gnews.io/api/v4/search?q=trump%20crypto&lang=en&country=us&max=5&apikey=cfc77c8af106df7313046f8ebcb81512`);
            if (!response.ok) {
                throw new Error('Network response was not ok');
            }
            const data = await response.json();
            return data.articles;
        } catch (error) {
            console.error('Error fetching news:', error);
            return null;
        }
    }

    async function displayNews() {
        const newsContent = document.getElementById('news-content');
        const articles = await fetchNews();
        
        if (articles && articles.length > 0) {
            newsContent.innerHTML = articles.map(article => `
                <div class="news-card">
                    <h3>${article.title}</h3>
                    <p>${article.description}</p>
                    <a href="${article.url}" target="_blank">Read more →</a>
                </div>
            `).join('');
        } else {
            newsContent.innerHTML = '<p>Unable to load news at this time. Please check back later.</p>';
        }
    }

    function startNewsRotation() {
        displayNews();
        setInterval(displayNews, 1500000); // Update every 25 minutes
    }

    function buyProduct(product) {
        alert(`Thank you for your interest in ${product}! Connecting wallet...`);
    }

    function goToExchange(exchange) {
        window.location.href = `https://${exchange}`;
    }

    function goTopartnership(partnership) {
        window.location.href = `https://${partnership}`;
    }

    function setupInfiniteScroll() {
        const scrollContainers = document.querySelectorAll('.scroll-container');
        
        scrollContainers.forEach(container => {
            const scrolls = container.querySelectorAll('.scroll');
            
            scrolls.forEach(scroll => {
                const scrollWidth = scroll.scrollWidth;
                const containerWidth = container.clientWidth;
                
                if (scrollWidth > containerWidth) {
                    const duration = (scrollWidth / containerWidth) * 7; // Adjust speed as needed
                    scroll.style.animationDuration = `${duration}s`;
                } else {
                    scroll.style.animation = 'none';
                }
            });
        });
    }

    function checkScrollPosition() {
        const scrollContainers = document.querySelectorAll('.scroll-container');
        
        scrollContainers.forEach(container => {
            const scrolls = container.querySelectorAll('.scroll');
            
            scrolls.forEach(scroll => {
                const scrollRect = scroll.getBoundingClientRect();
                if (scrollRect.right <= 0) {
                    scroll.style.transform = 'translateX(100%)';
                    setTimeout(() => {
                        scroll.style.transition = 'none';
                        scroll.style.transform = 'translateX(0)';
                        setTimeout(() => {
                            scroll.style.transition = '';
                        }, 20);
                    }, 20);
                }
            });
        });
    }

    function checkPhaseVisibility() {
        const phases = document.querySelectorAll('.phase');
        
        phases.forEach(phase => {
            const rect = phase.getBoundingClientRect();
            const isVisible = (rect.top <= window.innerHeight * 0.8);
            
            if (isVisible) {
                phase.classList.add('visible');
            }
        });
    }

    window.addEventListener('load', () => {
        startNewsRotation();
        setupInfiniteScroll();
        checkPhaseVisibility();
        // Remove this line: createConfetti(); 
    });

    window.addEventListener('resize', setupInfiniteScroll);
    window.addEventListener('scroll', checkPhaseVisibility);




    function createUSAFlag() {
    const heroImage = document.querySelector('.hero-image');
    const rect = heroImage.getBoundingClientRect();
    const baseX = (rect.left + rect.right) / 2 / window.innerWidth;
    const baseY = (rect.top + rect.bottom) / 2 / window.innerHeight;
    
    // Configuration for a more subtle effect
    const particleCount = {
        stars: 3,  // Fewer particles for stars
        stripes: 5 // Fewer particles for stripes
    };
    
    // Create blue canton with stars
    function createStars() {
        const starCount = 5; // Reduced number of stars for subtlety
        const blueSection = {
            x: baseX - 0.15,
            y: baseY - 0.1,
            width: 0.2,
            height: 0.2
        };

        for (let i = 0; i < starCount; i++) {
            confetti({
                particleCount: particleCount.stars,
                angle: 90,
                spread: 20,
                origin: {
                    x: blueSection.x + (Math.random() * blueSection.width),
                    y: blueSection.y + (Math.random() * blueSection.height)
                },
                colors: ['#FFFFFF'],
                shapes: ['star'],
                gravity: 0.8,
                scalar: 0.7,
                drift: 0,
                ticks: 100
            });
        }
    }

    // Create stripes
    function createStripes() {
        const stripeColors = ['#B22234', '#FFFFFF']; // Red and White
        const stripeCount = 4; // Reduced number of stripes for subtlety
        
        for (let i = 0; i < stripeCount; i++) {
            confetti({
                particleCount: particleCount.stripes,
                angle: 90,
                spread: 30,
                origin: {
                    x: baseX + (i * 0.05),
                    y: baseY
                },
                colors: [stripeColors[i % 2]],
                gravity: 0.8,
                scalar: 0.7,
                drift: 0,
                ticks: 100
            });
        }
    }

    // Create the blue canton background
    confetti({
        particleCount: 100,
        angle: 90,
        spread: 20,
        origin: { x: baseX - 0.15, y: baseY - 0.1 },
        colors: ['#3C3B6E'],
        gravity: 0.8,
        scalar: 0.7,
        drift: 0,
        ticks: 100
    });

    // Sequence the effects
    setTimeout(createStars, 100);
    setTimeout(createStripes, 200);
}

// Create the flag effect when the hero image is in view
function initFlagEffect() {
    const heroImage = document.querySelector('.hero-image');
    let hasPlayed = false;

    const observer = new IntersectionObserver((entries) => {
        entries.forEach(entry => {
            if (entry.isIntersecting && !hasPlayed) {
                createUSAFlag();
                hasPlayed = true;
                
                // Reset the flag after 5 seconds to allow it to play again on next view
                setTimeout(() => {
                    hasPlayed = false;
                }, 5000);
            }
        });
    }, { threshold: 0.5 });

    observer.observe(heroImage);
}

// Initialize when the DOM is loaded
document.addEventListener('DOMContentLoaded', initFlagEffect);

// Optional: Allow manual trigger by clicking the hero image
document.querySelector('.hero-image')?.addEventListener('click', createUSAFlag);




    
    </script>
    
</body>
</html>