<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="icon" type="image/png" href="https://i.ibb.co/Qjn2L6N/88297940239.png" />
    <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;
            scroll-behavior: smooth;

        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            scroll-behavior: smooth;
        }

        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 8rem; /* Increased bottom padding */
    position: relative;
    overflow: hidden;
    margin: 10px;
}


        .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;
    margin-bottom: 2rem; /* Added */
}


        .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 {
            margin: 20px;
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

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

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

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

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

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

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


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

            .hero-text h1 {
                font-size: 2.5rem;
                margin-bottom: 15%;
            }

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

        

    }

    .progress-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    
    max-width: 1000px; /* Increased from 800px */
    width: 90%; /* Added to ensure responsiveness */
    backdrop-filter: blur(10px);
    position: absolute; /* Added */
    bottom: 0rem;
    left: 50%; /* Added */
    transform: translateX(-50%); /* Added */
    margin-bottom: 50px;
}

.stage-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
}

.stage-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.stage-dot.active {
    background: linear-gradient(45deg, #7c3aed 0%, #c026d3 100%);
    transform: scale(1.2);
}

.stage-dot.locked {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: not-allowed;
    position: relative;
}

.stage-dot.locked::after {
    content: '🔒';
    position: absolute;
    font-size: 8px;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
}



        .progress-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }

        .progress-title {
            color: #ffffff;
            font-size: 1.2rem;
            font-weight: 500;
        }

        .progress-value {
            color: #ffffff;
            font-size: 1.2rem;
            font-weight: bold;
            background: linear-gradient(45deg, #7c3aed 0%, #c026d3 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .progress-bar-outer {
            width: 100%;
            height: 20px;
            background: #646464;
            border-radius: 10px;
            overflow: hidden;
            position: relative;
        }

        .progress-bar-inner {
            height: 100%;
            background: linear-gradient(45deg, #7c3aed 0%, #c026d3 100%);
            border-radius: 10px;
            transition: width 1s ease-in-out;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .progress-bar-inner::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(
                90deg,
                rgba(255, 255, 255, 0) 0%,
                rgba(255, 255, 255, 0.2) 50%,
                rgba(255, 255, 255, 0) 100%
            );
            animation: shimmer 2s infinite;
        }

        .progress-percentage {
            color: #ffffff;
            font-size: 0.8rem;
            font-weight: bold;
            z-index: 1;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
        }

        .progress-limits {
            display: flex;
            justify-content: space-between;
            margin-top: 0.5rem;
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.9rem;
        }

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


        ::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #7c3aed, #c026d3);
  border-radius: 10px;
  border: 3px solid rgba(0, 0, 0, 0.1); /* Creates padding effect */
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #6d28d9, #a21caf);
}

/* Ensure the scrollbar container is also rounded */
::-webkit-scrollbar-corner {
  background: transparent;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #7c3aed rgba(255, 255, 255, 0.1);
  
}

/* For Firefox, we can't control the roundness, but we can adjust the colors */
* {
  scrollbar-color: #7c3aed rgba(255, 255, 255, 0.1);
}

/* For Internet Explorer and Edge (older versions) */
body {
  -ms-overflow-style: none;
}

/* Hide default scrollbar for IE, Edge and Firefox */
body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* Custom scrollbar for IE and Edge */
body::-ms-scrollbar {
  width: 12px;
}

body::-ms-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

body::-ms-scrollbar-thumb {
  background: linear-gradient(45deg, #7c3aed, #c026d3);
  border-radius: 10px;
  border: 3px solid rgba(0, 0, 0, 0.1); /* Creates padding effect */
}

body::-ms-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #6d28d9, #a21caf);
}

/* Ensure the scrollbar corner is also styled */
body::-ms-scrollbar-corner {
  background: transparent;
}


.contract-container {
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    width: 350px;
}

.contract-container p {
    margin: 0 0 10px 0;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.4);
}

.contract-address {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    padding: 10px;
    font-family: monospace;
    font-size: 0.95em;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.4s ease;
}

.contract-address:hover {
    background: rgba(0, 0, 0, 1);
}

.contract-address:active {
    background: rgba(0, 0, 0, 0.4);
}

.key-goals {
    margin-top: 6rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
}

.goals-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.goal {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.goal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #7c3aed, #c026d3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.goal:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.goal:hover::before {
    opacity: 1;
}

.goal-check {
    font-size: 1.4rem;
    color: #7c3aed;
    margin-bottom: 1rem;
}

.goal-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.goal-content h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #7c3aed 0%, #c026d3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.goal-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.future-goal {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(192, 38, 211, 0.1) 100%);
    border: 2px dashed rgba(255, 255, 255, 0.2);
}

.future-goal .goal-content h4 {
    color: #c026d3;
    background: none;
    -webkit-text-fill-color: initial;
}

.future-goal .goal-content p {
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 1200px) {
    .goals-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .key-goals {
        padding: 2rem;
    }

    .goals-container {
        grid-template-columns: 1fr;
    }

    .goal {
        padding: 1.5rem;
    }

    .goal-content h4 {
        font-size: 1.2rem;
    }

    .goal-content p {
        font-size: 1rem;
    }
}




.charity {
            font-weight: bold;
            color: #7200b4; /* צבע בולט כמו כתום */
        }

        .progress-points {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.point {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #646464;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.point.active {
  background-color: #7c3aed;
}

.social-links {
        display: flex;
        align-items: center;
        gap: 1rem;
        justify-content: left;
        
    }

    .social-icon img {
        margin-top: 50px;
        width: 40px;
        height: 40px;
        transition: transform 0.3s ease;
        justify-content: center;
    }

    .social-icon:hover img {
        transform: scale(1.2);
    }

    @media (max-width: 768px) {
        nav {
            flex-wrap: wrap;
            justify-content: space-between;
            padding: 1rem;
        }

        .nav-left {
            order: 1;
            width: 100%;
            margin-bottom: 1rem;
        }

        .social-links {
            order: 2;
        }

        .nav-links {
            order: 3;
            width: 100%;
            justify-content: space-between;
            
        }
        .social-icon img {
        margin-top: 50px;
        width: 40px;
        height: 40px;
        transition: transform 0.3s ease;
        justify-content: center;
    }
    }
    </style>
    <defs>
        <linearGradient id="goal-gradient" x1="0%" y1="0%" x2="100%" y2="100%">
            <stop offset="0%" style="stop-color:#7c3aed;stop-opacity:1" />
            <stop offset="100%" style="stop-color:#c026d3;stop-opacity:1" />
        </linearGradient>
    </defs>
    <script src="https://cdn.jsdelivr.net/npm/canvas-confetti@1.5.1/dist/confetti.browser.min.js"></script>
    <!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-HH820X1GNC"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'G-HH820X1GNC');
</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" onclick="window.open('https://en.wikipedia.org/wiki/Be_Best', '_blank');" style="cursor: pointer;">

            <img src="https://uxwing.com/wp-content/themes/uxwing/download/brands-and-social-media/x-social-media-white-icon.png" alt="Melania Trump Coin" class="nav-image" onclick="window.open('https://x.com/MelaniatCoin');" style="cursor: pointer;">
            
        </div>
        
        
        
        
        <div class="nav-links">
            <a href="#news">News</a>
            <a href="#exchanges">Exchanges</a>
            
            <button class="connect-wallet" onclick="goTopartnership('dexscreener.com/solana/CRXcdRoA8Rz7aj3N9PZq4ptLgr9ktcc1nhP5nG4rpump')">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="goTopartnership('dexscreener.com/solana/CRXcdRoA8Rz7aj3N9PZq4ptLgr9ktcc1nhP5nG4rpump')">Buy Now</button>
                    <a href="https://t.me/Melaniaonsoll" class="cta-button secondary-button">Join Community</a>
                </div>
                <div class="contract-container">
                    <p>CONTRACT</p>
                    <div class="contract-address" onclick="copyContractAddress()">
                        <span id="contractAddress">CRXcdRoA8Rz7aj3N9PZq4ptLgr9ktcc1nhP5nG4rpump</span>
                    </div>
                    
                </div>
                
                
            </div>

            
            
            
            
            <img src="https://i.ibb.co/Qjn2L6N/88297940239.png" alt="Melania Trump Coin" class="hero-image">

        
            <div class="progress-container">
                <div class="progress-header">
                    <span class="progress-title">Market Cap</span>
                    <span class="progress-value" id="marketCapValue">$0</span>
                </div>
                <div class="progress-bar-outer">
                    <div class="progress-bar-inner" id="marketCapBar">
                        <span class="progress-percentage" id="progressPercentage">0%</span>
                    </div>
                </div>
                <div class="progress-limits">
                    <div id="marketCapValue">$0</div>
                    <div> <span id="maxValue">$100,000</span></div>
                </div>
                <div class="stage-dots">
                    <div class="stage-dot active" data-stage="0"></div>
                    <div class="stage-dot" data-stage="1"></div>
                    <div class="stage-dot" data-stage="2"></div>
                    <div class="stage-dot" data-stage="3"></div>
                    <div class="stage-dot locked" data-stage="4"></div>
                    <div class="stage-dot locked" data-stage="5"></div>
                </div>
            </div>
        </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/coin/CRXcdRoA8Rz7aj3N9PZq4ptLgr9ktcc1nhP5nG4rpump')">
        <img src="https://upload.wikimedia.org/wikipedia/en/b/b9/Solana_logo.png" class="partnershippump" alt="Solana_logo" onclick="goTopartnership('solana.com')">
        <img src="https://i.ibb.co/bz9qvws/52-removebg-preview.png" class="partnershippump" alt="raydium_logo" onclick="goTopartnership('raydium.io/swap/?inputMint=4k3Dyjzvzp8eMZWUXbBCjEvwSkkk59S5iCNLY3QrkX6R&outputMint=CRXcdRoA8Rz7aj3N9PZq4ptLgr9ktcc1nhP5nG4rpump')">
        
    </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('dexscreener.com/solana/CRXcdRoA8Rz7aj3N9PZq4ptLgr9ktcc1nhP5nG4rpump')">
                <img class="exchange-logo" src="https://i.ibb.co/DfKqtwk/dextools1629975030345.png" alt="Dex tools" onclick="goToExchange('dextools.io/app/en/solana/pair-explorer/7p2zmhTiASs5DzJqQ5eL9Agtc18Fjgj6sca6kRLnMhPB?t=1737859818374')">                
                <img class="exchange-logo" src="https://i.ibb.co/mq8bzmz/49-removebg-preview.png" alt="Birdeye" onclick="goToExchange('birdeye.so/token/CRXcdRoA8Rz7aj3N9PZq4ptLgr9ktcc1nhP5nG4rpump?chain=solana')">
                <img class="exchange-logo" src="https://i.ibb.co/XSMRHqM/xm-Janf0q-400x400.png" alt="Geckoterminal" onclick="goToExchange('geckoterminal.com/he/solana/pools/7p2zmhTiASs5DzJqQ5eL9Agtc18Fjgj6sca6kRLnMhPB')">
                <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/en/lp/CRXcdRoA8Rz7aj3N9PZq4ptLgr9ktcc1nhP5nG4rpump')">
                <img class="exchange-logo" src="https://i.ibb.co/ZBHgyPc/30-removebg-preview.png" alt="Rugcheck" onclick="goToExchange('rugcheck.xyz/tokens/CRXcdRoA8Rz7aj3N9PZq4ptLgr9ktcc1nhP5nG4rpump')">
                <img class="exchange-logo" src="https://i.ibb.co/bz9qvws/52-removebg-preview.png" alt="raydiumlogo" onclick="goToExchange('raydium.io/swap/?inputMint=4k3Dyjzvzp8eMZWUXbBCjEvwSkkk59S5iCNLY3QrkX6R&outputMint=CRXcdRoA8Rz7aj3N9PZq4ptLgr9ktcc1nhP5nG4rpump')">
                <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">Our Journey: Melania Coin Roadmap</h2>
        <div class="roadmap-container">
            <div class="phase">
                <div class="phase-number">1</div>
                <div class="phase-content">
                    <h3 class="phase-title">Foundation & Launch</h3>
                    <ul class="phase-items">
                        <li>Conceptualize and design the Melania Trump Coin</li>
                        <li>Develop smart contract with advanced security features</li>
                        <li>Create an elegant, user-friendly website and social media presence</li>
                        <li>Launch limited-edition coin honoring Melania Trump's legacy</li>
                        <li>Implement 10% <span class="charity">charitable contribution</span> mechanism</li>
                    </ul>
                </div>
            </div>
    
            <div class="phase">
                <div class="phase-number">2</div>
                <div class="phase-content">
                    <h3 class="phase-title">Growth & Partnerships</h3>
                    <ul class="phase-items">
                        <li>Expand marketing efforts through influencer collaborations</li>
                        <li>Secure partnerships with reputable crypto exchanges</li>
                        <li>Engage with media outlets to share our philanthropic vision</li>
                        <li>Develop exclusive content and perks for early adopters</li>
                        <li>Launch community-driven initiatives and events</li>
                    </ul>
                </div>
            </div>
    
            <div class="phase">
                <div class="phase-number">3</div>
                <div class="phase-content">
                    <h3 class="phase-title">Expansion & Innovation</h3>
                    <ul class="phase-items">
                        <li>Introduce staking program with attractive rewards</li>
                        <li>Develop and launch Melania NFT collection</li>
                        <li>Implement cross-chain compatibility for wider accessibility</li>
                        <li>Establish Melania Coin DAO for community governance</li>
                        <li>Organize global charity events aligned with Melania's causes</li>
                    </ul>
                </div>
            </div>
    
            <div class="phase">
                <div class="phase-number">4</div>
                <div class="phase-content">
                    <h3 class="phase-title">Ecosystem & Legacy</h3>
                    <ul class="phase-items">
                        <li>Launch Melania Coin DeFi platform for yield farming</li>
                        <li>Develop educational programs on crypto and philanthropy</li>
                        <li>Establish Melania Coin Foundation for long-term impact</li>
                        <li>Explore real-world integrations and partnerships</li>
                        <li>Continuous innovation and community-driven development</li>
                    </ul>
                </div>
            </div>
        </div>
    </section>

    <div class="key-goals">
        <h3 class="section-title">Milestones Achieved</h3>
        <div class="goals-container">
            <div class="goal">
                <div class="goal-content">
                    <span class="goal-check">✓</span>
                    <h4>Initial Launch</h4>
                    <p>Issued at 1 SOLANA, prioritizing vision over profit.</p>
                </div>
            </div>
            <div class="goal">
                <div class="goal-content">
                    <span class="goal-check">✓</span>
                    <h4>Early Adoption</h4>
                    <p>Achieved significant early adoption and community growth.</p>
                </div>
            </div>
            <div class="goal">
                <div class="goal-content">
                    <span class="goal-check">✓</span>
                    <h4>Exchange Listing</h4>
                    <p>Successfully listed on major cryptocurrency exchanges.</p>
                </div>
            </div>
            
            <div class="goal">
                <div class="goal-content">
                    <h4>Staking Launch</h4>
                    <p>1,000,000: Rewards program initiation.</p>
                </div>
            </div>
            <div class="goal">
                <div class="goal-content">
                    <h4>Global Expansion</h4>
                    <p>5,000,000: International marketing push.</p>
                </div>
            </div>
            <div class="goal">
                <div class="goal-content">
                    <h4>Philanthropy Integration</h4>
                    <p>10,000,000: Charitable impact realization.</p>
                </div>
            </div>
            <div class="goal future-goal">
                <div class="goal-content">
                    <h4>Future Milestone</h4>
                    <p>Next ambitious goal coming soon...</p>
                </div>
            </div>
        </div>
    </div>


    <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/MNYmFtD/47-removebg-preview.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=bda81162b43acf38071cbf9ceabf23c2`);
            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);



        let maxMarketCap = 9000; // initial maximum bar
        
        let currentStage = 0;
        let touchStartX = 0;

        const stages = [
            { max: 250000, label: 'Stage 1' },
            { max: 1000000, label: 'Stage 2' },
            { max: 5000000, label: 'Stage 3' },
            { max: 10000000, label: 'Stage 4' },
            { max: 10000000, label: 'Locked', locked: true },
            { max: 10000000, label: 'Locked', locked: true }
        ];

        function updateStageIndicators() {
            document.querySelectorAll('.stage-dot').forEach((dot, index) => {
                dot.classList.toggle('active', index === currentStage);
            });
        }

        function setStage(stage) {
            currentStage = Math.max(0, Math.min(stage, stages.length - 1));
            maxMarketCap = stages[currentStage].max;
            
            updateMaxValue();
            updateStageIndicators();
            fetchMarketCap(); // Refresh progress bar
        }

        // Add touch event handlers
        document.addEventListener('DOMContentLoaded', function() {
            const progressWrapper = document.querySelector('.progress-container');

            progressWrapper.addEventListener('touchstart', (e) => {
                touchStartX = e.touches[0].clientX;
            });

            progressWrapper.addEventListener('touchend', (e) => {
                const touchEndX = e.changedTouches[0].clientX;
                const diff = touchStartX - touchEndX;

                if (Math.abs(diff) > 50) { // Minimum swipe distance
                    if (diff > 0 && currentStage < stages.length - 1) {
                        setStage(currentStage + 1);
                    } else if (diff < 0 && currentStage > 0) {
                        setStage(currentStage - 1);
                    }
                }
            });

            // Add click handlers for stage dots
            document.querySelectorAll('.stage-dot').forEach((dot) => {
                dot.addEventListener('click', () => {
                    const stage = parseInt(dot.dataset.stage);
                    if (!dot.classList.contains('locked')) {
                        setStage(stage);
                    }
                });
            });
        });

        function updateMaxValue() {
            const maxValue = document.getElementById('maxValue');
            maxValue.textContent = `$${stages[currentStage].max.toLocaleString()}`;
        }

        async function fetchMarketCap() {
            try {
                const response = await fetch('https://api.dexscreener.com/latest/dex/pairs/solana/7p2zmhtiass5dzjqq5el9agtc18fjgj6sca6krlnmhpb');
                const data = await response.json();
        
                if (data.pair) {
                    const marketCap = parseFloat(data.pair.marketCap);
                    const currentMax = stages[currentStage].max;
                    let percentage = Math.min((marketCap / currentMax) * 100, 100);
            
                    // Update the progress bar
                    const progressBar = document.getElementById('marketCapBar');
                    const marketCapValue = document.getElementById('marketCapValue');
                    const progressPercentage = document.getElementById('progressPercentage');
            
                    progressBar.style.width = `${percentage}%`;
                    marketCapValue.textContent = `$${marketCap.toLocaleString()}`;
                    progressPercentage.textContent = `${percentage.toFixed(1)}%`;
            
                    // Hide percentage text if the bar is too small
                    if (percentage < 10) {
                        progressPercentage.style.display = 'none';
                    } else {
                        progressPercentage.style.display = 'block';
                    }
        
                    // Check if market cap has reached the maximum
                    if (marketCap >= currentMax && currentStage < stages.length - 1) {
                        setStage(currentStage + 1);
                    }
                }
            } catch (error) {
                console.error('Error fetching market cap:', error);
            }
        }

        // Update max value initially
        updateMaxValue();
        updateStageIndicators();

        // Fetch market cap every 5 seconds
        setInterval(fetchMarketCap, 5000);

        // Initial fetch
        fetchMarketCap();


        document.addEventListener('DOMContentLoaded', function() {
  // Select all links with hashes
  document.querySelectorAll('a[href^="#"]').forEach(anchor => {
    anchor.addEventListener('click', function (e) {
      e.preventDefault();

      const targetId = this.getAttribute('href').substring(1);
      const targetElement = document.getElementById(targetId);

      if (targetElement) {
        // Smooth scroll to the target element
        targetElement.scrollIntoView({
          behavior: 'smooth',
          block: 'start'
        });

        // Update URL without page reload
        history.pushState(null, null, `#${targetId}`);
      }
    });
  });

  // Smooth scroll on page load if there's a hash in the URL
  if (window.location.hash) {
    const targetElement = document.getElementById(window.location.hash.substring(1));
    if (targetElement) {
      setTimeout(() => {
        targetElement.scrollIntoView({
          behavior: 'smooth',
          block: 'start'
        });
      }, 100);
    }
  }
});

let scrollTarget = 0;
let currentScroll = window.scrollY;
let isScrolling = false;

function smoothScroll() {
    isScrolling = true;
    currentScroll += (scrollTarget - currentScroll) * 0.1; // תאוצה חלקה
    window.scrollTo(0, currentScroll);

    if (Math.abs(scrollTarget - currentScroll) > 0.5) {
        requestAnimationFrame(smoothScroll); // המשך האנימציה
    } else {
        window.scrollTo(0, scrollTarget); // סיים במיקום המדויק
        isScrolling = false;
    }
}

document.addEventListener("wheel", function (event) {
    event.preventDefault();

    const scrollSpeed = 100; // קבע מהירות בסיסית
    const scrollDirection = event.deltaY > 0 ? 1 : -1;

    scrollTarget += scrollSpeed * scrollDirection;

    // שמור את היעד בגבולות העמוד
    scrollTarget = Math.max(0, Math.min(scrollTarget, document.body.scrollHeight - window.innerHeight));

    if (!isScrolling) {
        requestAnimationFrame(smoothScroll);
    }
}, { passive: false });

    
function copyContractAddress() {
    const contractAddress = document.getElementById('contractAddress');
    const textArea = document.createElement('textarea');
    textArea.value = contractAddress.textContent;
    document.body.appendChild(textArea);
    textArea.select();
    document.execCommand('copy');
    document.body.removeChild(textArea);
    
    // Visual feedback
    contractAddress.textContent = 'Copied! ✔️';
    setTimeout(() => {
        contractAddress.textContent = 'CRXcdRoA8Rz7aj3N9PZq4ptLgr9ktcc1nhP5nG4rpump';
    }, 1500);
}

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

