import React, { useState, useEffect } from 'react'; import { motion, AnimatePresence } from 'motion/react'; import { Sparkles, Clock, Coins, ShieldCheck, Gift, Flame, Award, Crown, CheckCircle2, ExternalLink, ChevronRight, Package, Zap, Lock, Globe, Users, Vote, Star, Check, ArrowRight, Eye, Sliders, DollarSign, TrendingUp, Gift as GiftIcon } from 'lucide-react'; import { SectionHeading } from '../ui/SectionHeading'; import { GlassCard } from '../ui/GlassCard'; import { Badge } from '../ui/Badge'; import { Button } from '../ui/Button'; // Import generated image of the 3 coins import coinShowcaseImg from '../../assets/images/birthday_memecoins_1785932159451.jpg'; interface MemeCoinLaunchSectionProps { onOpenWaitlist: () => void; onOpenTokenomics: () => void; } export const MemeCoinLaunchSection: React.FC = ({ onOpenWaitlist, onOpenTokenomics }) => { const [activeTab, setActiveTab] = useState<'material' | 'non-material'>('material'); // Custom Investment Calculator State const [customAmount, setCustomAmount] = useState(25); // Default micro investment $25 const quickAmounts = [1, 5, 10, 25, 50, 100, 250, 1000, 5000]; // Countdown timer calculation targeting November 18, 2026 at 10:00 PM GMT const [timeLeft, setTimeLeft] = useState({ days: 0, hours: 0, minutes: 0, seconds: 0 }); useEffect(() => { const launchDate = new Date('2026-11-18T22:00:00Z').getTime(); const updateTimer = () => { const now = new Date().getTime(); const difference = launchDate - now; if (difference > 0) { const days = Math.floor(difference / (1000 * 60 * 60 * 24)); const hours = Math.floor((difference % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); const minutes = Math.floor((difference % (1000 * 60 * 60)) / (1000 * 60)); const seconds = Math.floor((difference % (1000 * 60)) / 1000); setTimeLeft({ days, hours, minutes, seconds }); } else { setTimeLeft({ days: 0, hours: 0, minutes: 0, seconds: 0 }); } }; updateTimer(); const interval = setInterval(updateTimer, 1000); return () => clearInterval(interval); }, []); // Calculation function for custom token amount and unlocked perks based on custom dollar input const calculateInvestmentDetails = (amount: number) => { const safeAmount = Math.max(1, isNaN(amount) ? 1 : amount); // Base rate: 1,000 $SX per $1 // Volume bonus tiers: // $1 - $49: standard rate (1,000 $SX / $) // $50 - $249: +10% bonus (1,100 $SX / $) // $250 - $999: +20% bonus (1,200 $SX / $) // $1,000 - $4,999: +50% bonus (1,500 $SX / $) // $5,000+: +80% bonus (1,800 $SX / $) let rate = 1000; let bonusPercentage = 0; if (safeAmount >= 5000) { rate = 1800; bonusPercentage = 80; } else if (safeAmount >= 1000) { rate = 1500; bonusPercentage = 50; } else if (safeAmount >= 250) { rate = 1200; bonusPercentage = 20; } else if (safeAmount >= 50) { rate = 1100; bonusPercentage = 10; } const totalTokens = safeAmount * rate; // Material Perks unlocked const materialPerks: string[] = [ `${totalTokens.toLocaleString()} $SX Meme Coin Launch Allocation`, `Official Digital Supporter Badge & Certificate` ]; if (safeAmount >= 50) { const microAppsCount = Math.min(23, Math.floor(safeAmount / 25)); materialPerks.push(`${microAppsCount} Free US$17 Marketing MicroApps of choice`); } if (safeAmount >= 250) { const coinCount = safeAmount >= 1000 ? 'Full 3-Coin Set (Alpha, Beta, Gamma)' : '1 Minted Physical Collector Coin'; materialPerks.push(`${coinCount} with Worldwide Shipping`); } if (safeAmount >= 1000) { materialPerks.push('Lifetime Unlimited Pass to ALL 23 US$17 MicroApps'); materialPerks.push('Software Revenue Buyback Dividend Pool Access'); materialPerks.push('Physical Founders Swag Box (Team Hoodie & Hardware Wallet Case)'); } if (safeAmount >= 5000) { materialPerks.push('Numbered Serialized Gold-Plated 3-Coin Master Set'); materialPerks.push('Permanent Enterprise Pass for all future BM Connect tools'); } // Non-Material Perks unlocked const nonMaterialPerks: string[] = [ 'Supporter Discord Role & Lounge Access', 'Whitelisted Presale Launch Access', 'Public Wall of Supporters Listing' ]; if (safeAmount >= 50) { nonMaterialPerks.push('Priority Software Update Notifications'); } if (safeAmount >= 250) { nonMaterialPerks.push('Private Beta Testing Access for All 30+ Core Apps'); nonMaterialPerks.push('Insider Alpha Telegram Channel Entry'); nonMaterialPerks.push('Quarterly Founders AMA Voice Calls'); } if (safeAmount >= 1000) { nonMaterialPerks.push('VIP Founder Discord & Direct Developer Chat Access'); nonMaterialPerks.push('On-Chain Founder Wall Permanent Name Inscription'); nonMaterialPerks.push('Treasury Governance Voting Rights'); } if (safeAmount >= 5000) { nonMaterialPerks.push('Treasury Advisory Board Seat & Direct Founder Line'); nonMaterialPerks.push('Protocol Governance Veto & Acquisition Proposal Voting'); nonMaterialPerks.push('Exclusive VIP Annual Retreat & Physical Event Passes'); } // Calculate next milestone progress let nextMilestoneAmount = 50; let nextMilestoneName = 'Supporter Tier ($50)'; let nextMilestonePerk = 'Unlock 2 Free US$17 MicroApps'; if (safeAmount >= 50 && safeAmount < 250) { nextMilestoneAmount = 250; nextMilestoneName = 'Enthusiast Tier ($250)'; nextMilestonePerk = 'Unlock 1 Physical Minted Collector Coin & Beta Access'; } else if (safeAmount >= 250 && safeAmount < 1000) { nextMilestoneAmount = 1000; nextMilestoneName = 'VIP Whale Tier ($1,000)'; nextMilestonePerk = 'Unlock Full 3-Coin Set, Swag Box & Lifetime Unlimited Pass'; } else if (safeAmount >= 1000 && safeAmount < 5000) { nextMilestoneAmount = 5000; nextMilestoneName = 'Treasury Guardian ($5,000)'; nextMilestonePerk = 'Unlock Gold-Plated Master Set & Advisory Board Seat'; } else if (safeAmount >= 5000) { nextMilestoneAmount = 10000; nextMilestoneName = 'Legendary Backer ($10,000)'; nextMilestonePerk = 'Maximum Protocol Allocation & Co-Founder Mentorship'; } const neededForNext = Math.max(0, nextMilestoneAmount - safeAmount); const progressPercent = Math.min(100, Math.round((safeAmount / nextMilestoneAmount) * 100)); return { safeAmount, totalTokens, bonusPercentage, materialPerks, nonMaterialPerks, nextMilestoneAmount, nextMilestoneName, nextMilestonePerk, neededForNext, progressPercent }; }; const calcDetails = calculateInvestmentDetails(customAmount); const pillars = [ { id: 'alpha', code: 'ALPHA', title: 'THE REMINDER', tagline: 'The first one to remember.', motto: 'EVERY BIRTHDAY MATTERS • I REMEMBERED YOU', symbol: 'Candle & Letter A', colors: 'Tangerine Orange & Gold', badge: 'Pillar 01', description: 'The foundation token powering automated relationship reminders, contact syncing, and notification dispatch across all 30+ apps.', role: 'Automated Trigger Utility' }, { id: 'beta', code: 'BETA', title: 'THE CELEBRATION', tagline: 'Celebrate every moment.', motto: 'SHARE JOY • SPREAD LOVE • MAKE EVERY DAY SPECIAL', symbol: 'Balloons, Gift Box & Letter B', colors: 'Sky Blue & Antique Bronze', badge: 'Pillar 02', description: 'The utility & access engine granting lifetime MicroApp access, campaign customization, and direct-response offer generation.', role: 'MicroApp & Access Engine' }, { id: 'gamma', code: 'GAMMA', title: 'THE MEMORY', tagline: 'Memories that never fade.', motto: 'MEMORIES LAST FOREVER • CONNECTIONS THAT COUNT', symbol: 'Calendar, Bell & Letter G', colors: 'Sky Blue & Deep Gold', badge: 'Pillar 03', description: 'The governance and vault token linking revenue buybacks, on-chain treasury voting rights, and long-term ecosystem equity.', role: 'Treasury & Governance Vault' } ]; const rewardTiers = [ { name: 'Micro Backer', price: '$1 – $49', tokens: '1,000 – 49,000 $SX', materialRewards: [ '1,000 $SX per $1 USD Invested', 'Official Digital Collector Badge', 'Whitelisted Presale Token Allocation' ], nonMaterialRewards: [ 'Supporter Discord Role & Lounge Access', 'Public Wall of Supporters Listing', 'Early Software Launch Notifications' ], highlight: false, badgeText: 'Micro Investment Welcome' }, { name: 'Supporter Tier', price: '$50', tokens: '55,000 $SX Tokens (+10% Bonus)', materialRewards: [ '55,000 $SX Meme Coin Launch Allocation', '2 Free US$17 Marketing MicroApps of choice', 'Official Digital Collector Badge' ], nonMaterialRewards: [ 'Supporter Discord Role & Lounge Access', 'Whitelisted Presale Launch Access', 'Public Wall of Supporters Listing' ], highlight: false, badgeText: 'Great Starter' }, { name: 'Enthusiast Tier', price: '$250', tokens: '300,000 $SX Tokens (+20% Bonus)', materialRewards: [ '300,000 $SX Meme Coin Launch Allocation', '1 Minted Physical Collector Coin (Alpha, Beta, or Gamma)', 'Full Access to 5 MicroApps in Program Store', 'Ecosystem Sticker & Decal Collector Pack' ], nonMaterialRewards: [ 'Private Beta Testing Access for All 30+ Core Apps', 'Insider Alpha Telegram Channel Entry', 'Quarterly Founders AMA Voice Calls' ], highlight: false, badgeText: 'Collector Item Included' }, { name: 'VIP Whale Tier', price: '$1,000', tokens: '1,500,000 $SX Tokens (+50% Bonus)', materialRewards: [ '1,500,000 $SX Meme Coin Launch Allocation', 'Full 3-Coin Physical Minted Collector Box Set (Alpha, Beta, Gamma)', 'Lifetime Unlimited Pass to ALL 23 US$17 MicroApps', 'Software Revenue Buyback Dividend Pool Access', 'Physical Founders Swag Box (Embroidered Hoodie & Cold Wallet Case)' ], nonMaterialRewards: [ 'VIP Founder Discord & Direct Developer Chat Access', 'On-Chain Founder Wall Permanent Name Inscription', 'Treasury Governance Voting Rights', '1-on-1 Strategy Onboarding Session' ], highlight: true, badgeText: 'Most Popular' }, { name: 'Treasury Guardian', price: '$5,000+', tokens: '9,000,000+ $SX Tokens (+80% Bonus)', materialRewards: [ '9,000,000+ $SX Meme Coin Allocation + Bonus Yield', 'Numbered Serialized Gold-Plated Physical 3-Coin Master Set', 'Permanent Lifetime Enterprise Pass to ALL Apps & Future Tools', 'Maximum Share of Subscription Revenue Buyback Pool', 'Deluxe Founders Hardware & Apparel Luxury Box' ], nonMaterialRewards: [ 'Treasury Advisory Board Seat & Direct Founder Line', 'Protocol Governance Veto & Acquisition Proposal Voting', 'Exclusive VIP Annual Retreat & Physical Event Passes', 'Custom Co-Branded SaaS Portal Integration' ], highlight: false, badgeText: 'Maximum Impact' } ]; return (
{/* Background ambient glow */}
{/* Launch Banner Header with Live Countdown */}
Official Funding Launch • November 18th at 10 PM GMT 100% Revenue Backed

BirthdayMessaging Meme Coin Launch

We are launching the official $SX BirthdayMessaging Meme Coin on November 18th at 10 PM GMT to fund our rapid software expansion! Backers can invest ANY amount ($1, $5, $10, $50, $1,000+) and receive proportional token allocations, physical collector coins, micro-app access, and on-chain revenue dividends.

{/* Countdown Clock Box */}
Launch Countdown (Nov 18, 10 PM GMT)
{timeLeft.days} Days
{timeLeft.hours} Hours
{timeLeft.minutes} Mins
{timeLeft.seconds} Secs

Fair public launch • Open to all sizes ($1+) • Guaranteed liquidity lock

{/* CUSTOM INVESTMENT CALCULATOR SECTION */}
{/* Left Column: Interactive Input Controls */}
Min $1 • No Max Limit
{/* Input Box */}
$ setCustomAmount(Math.max(1, parseInt(e.target.value) || 1))} className="w-full bg-slate-950 border-2 border-orange-500/50 focus:border-orange-400 rounded-2xl pl-10 pr-4 py-4 text-3xl font-extrabold text-white font-mono focus:outline-none focus:ring-2 focus:ring-orange-500/30 transition-all shadow-inner" placeholder="e.g. 10" />
{/* Quick Selection Buttons */}
Quick Select Amount:
{quickAmounts.map((amt) => ( ))}
{/* Range Slider */}
$1 Micro $250 Enthusiast $1,000 VIP $5,000+ Guardian
setCustomAmount(parseInt(e.target.value))} className="w-full h-2 bg-slate-900 rounded-lg appearance-none cursor-pointer accent-orange-500" />
{/* Next Milestone Progress Bar */}
Next Milestone: {calcDetails.nextMilestoneName} {calcDetails.progressPercent}%
{calcDetails.neededForNext > 0 ? (

💡 Add ${calcDetails.neededForNext} more to unlock: {calcDetails.nextMilestonePerk}

) : (

🎉 Maximum Guardian Tier unlocked! You get gold-plated physical coin master sets and enterprise tools.

)}
{/* Right Column: Calculated Output Card */}
{calcDetails.bonusPercentage > 0 && (
+{calcDetails.bonusPercentage}% Volume Bonus Token Yield
)} Your Calculated Allocation for ${calcDetails.safeAmount} {/* Big Token Display */}
{calcDetails.totalTokens.toLocaleString()} $SX Tokens
Unlocked Material Rewards:
    {calcDetails.materialPerks.map((perk, i) => (
  • {perk}
  • ))}
Unlocked Digital & Community Perks:
    {calcDetails.nonMaterialPerks.map((perk, i) => (
  • {perk}
  • ))}
{/* Section Heading for Pillars */} {/* Two-Image Community Showcase */}
{/* Coin artwork card */}
Official Physical Minted Artifact BM Alpha commemorative copper coin

BM Alpha Commemorative Coin

The BM Alpha coin represents the reminder: every birthday matters, and every meaningful connection deserves to be remembered.

Click the plus icon or image to view it full size.

{/* Community artwork card */}
BM Connect Community Movement Different generations and communities connected through BM Connect

Different Faces. One Humanity.

The people and relationships at the heart of BirthdayMessaging.io and the BM Connect ecosystem.

Click the plus icon or image to view it full size.

{/* In-page image viewer: the website remains open behind the overlay */} {/* 3 Pillars Cards */}
{pillars.map((pillar) => (
{pillar.badge} {pillar.colors}
{pillar.code[0]}

{pillar.code}

{pillar.title}

"{pillar.tagline}"

{pillar.description}

Engraved Motto: {pillar.motto}
Ecosystem Role: {pillar.role}
))}
{/* What Investors Get (Material & Non-Material Rewards) */}
{/* Tab Controls: Material vs Non-Material */}
{/* Tab Content Display */} {activeTab === 'material' ? (

Minted Physical Coins

Heavyweight solid antique bronze/gold physical commemorative coins (Alpha, Beta, Gamma) delivered worldwide with engraved serial numbers.

Shipped directly to qualified buyers

Lifetime MicroApp Pass

Permanent $0 access pass to all 23 US$17 marketing MicroApps in our store plus future tools without recurring monthly fees.

Worth $391+ in immediate software value

SaaS Revenue Buybacks

Smart-contract automated token buybacks funded directly by subscription profits from BirthdayMessaging 2.0 & MicroApps.

Direct software revenue token sink

Founders Swag Box

Custom physical team hoodie, metal hardware wallet sleeve, and signed certificate of early backing from the team.

Whale & Guardian Tier Perks
) : (

VIP Discord & Telegram

Exclusive VIP founder roles, direct chat access with lead developers, private alpha leaks, and priority feature suggestions.

Direct access to team

Private Beta Testing

First-in-line access to test new software releases across all 30+ core platforms, web miners, and CRMs before public launch.

Early adopter advantage

On-Chain Founder Wall

Permanent, immutable inscription of your wallet address or handle on the BM Connect On-Chain Public Hall of Fame.

Forever recorded on blockchain

Treasury Governance Rights

Vote on treasury capital deployment, software acquisitions, developer grant approvals, and quarterly burn schedules.

True community control
)}
{/* Investment Tiers Comparison */}
{rewardTiers.map((tier, idx) => ( {tier.badgeText && (
{tier.badgeText}
)}

{tier.name}

{tier.price}
{tier.tokens}
📦 Material Perks:
    {tier.materialRewards.map((m, i) => (
  • {m}
  • ))}
👑 Non-Material Perks:
    {tier.nonMaterialRewards.map((nm, i) => (
  • {nm}
  • ))}
))}
{/* Footer Guarantee Box */}

100% Micro-Friendly & Transparent: Everyone is welcome regardless of contribution size ($1 to $10,000+). Smart contracts audited on-chain. Liquidity locked permanently upon the November 18, 10 PM GMT launch.

); };