funlyzer / index.html
Gigquest's picture
Add 2 files
370e92e verified
Raw History Blame Contribute Delete
64.1 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Funlyzer - Fun Personality Tools & Quizzes</title> <script src="https://cdn.tailwindcss.com"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> <style> @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap'); body { font-family: 'Poppins', sans-serif; background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); } .card-hover { transition: all 0.3s ease; } .card-hover:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); } .tool-logo { width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 18px; } .animated-input { transition: all 0.3s; } .animated-input:focus { transform: scale(1.02); } .result-bubble { position: relative; animation: bubble 0.6s ease-out; } @keyframes bubble { 0% { transform: scale(0.5); opacity: 0; } 70% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(1); opacity: 1; } } .mascot { animation: bounce 2s infinite; } @keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } } /* Loading spinner */ .lds-ring { display: inline-block; position: relative; width: 80px; height: 80px; } .lds-ring div { box-sizing: border-box; display: block; position: absolute; width: 64px; height: 64px; margin: 8px; border: 8px solid #7c3aed; border-radius: 50%; animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite; border-color: #7c3aed transparent transparent transparent; } .lds-ring div:nth-child(1) { animation-delay: -0.45s; } .lds-ring div:nth-child(2) { animation-delay: -0.3s; } .lds-ring div:nth-child(3) { animation-delay: -0.15s; } @keyframes lds-ring { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } </style> <!-- Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-ETAG123456"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-ETAG123456'); </script> </head> <body class="min-h-screen"> <!-- Navigation --> <nav class="bg-white shadow-lg"> <div class="max-w-6xl mx-auto px-4"> <div class="flex justify-between items-center h-16"> <div class="flex items-center space-x-4"> <div class="flex items-center"> <span class="text-purple-600 font-bold text-2xl">Funlyzer</span> </div> </div> <div class="hidden md:flex items-center space-x-1"> <a href="#" class="px-3 py-2 text-gray-700 hover:text-purple-600 transition">Home</a> <a href="#tools" class="px-3 py-2 text-gray-700 hover:text-purple-600 transition">Tools</a> <a href="#about" class="px-3 py-2 text-gray-700 hover:text-purple-600 transition">About</a> <a href="#" class="px-3 py-2 text-gray-600 hover:text-purple-600 transition">Privacy</a> </div> <div class="md:hidden flex items-center"> <button class="mobile-menu-button p-2 focus:outline-none"> <svg class="h-6 w-6 text-gray-500" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16" /> </svg> </button> </div> </div> </div> <!-- Mobile menu --> <div class="mobile-menu hidden md:hidden bg-white border-t"> <a href="#" class="block px-4 py-2 text-gray-700 hover:bg-purple-50 transition">Home</a> <a href="#tools" class="block px-4 py-2 text-gray-700 hover:bg-purple-50 transition">Tools</a> <a href="#about" class="block px-4 py-2 text-gray-700 hover:bg-purple-50 transition">About</a> <a href="#" class="block px-4 py-2 text-gray-700 hover:bg-purple-50 transition">Privacy</a> </div> </nav> <!-- Hero Section --> <section class="py-10 md:py-16"> <div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8"> <div class="flex flex-col md:flex-row items-center"> <div class="md:w-1/2 mb-10 md:mb-0"> <h1 class="text-4xl md:text-5xl font-bold text-gray-800 leading-tight mb-4"> Discover <span class="text-purple-600">Fun</span> Insights About Yourself </h1> <p class="text-lg text-gray-600 mb-8"> Our playful tools analyze your personality, looks, and relationships in ways you never imagined! Click below to get started. </p> <div class="flex flex-col sm:flex-row gap-4"> <a href="#tools" class="bg-purple-600 hover:bg-purple-700 text-white font-bold py-3 px-6 rounded-full text-center transition shadow-lg"> Explore Tools </a> <a href="#love-calculator" class="border-2 border-purple-600 text-purple-600 hover:bg-purple-50 font-bold py-3 px-6 rounded-full text-center transition shadow-lg"> Love Calculator </a> </div> </div> <div class="md:w-1/2 flex justify-center"> <img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48Y2lyY2xlIGN4PSIyNTYiIGN5PSIyNTYiIHI9IjI1MCIgZmlsbD0iI2Q4YjVmZiIvPjxjaXJjbGUgY3g9IjI1NiIgY3k9IjI1NiIgcj0iMjIwIiBmaWxsPSIjZTliNGZmIi8+PGNpcmNsZSBjeD0iMjU2IiBjeT0iMjU2IiByPSIxOTAiIGZpbGw9IiNmZmYiLz48Y2lyY2xlIGN4PSIxODAiIGN5PSIxNjAiIHI9IjMwIiBmaWxsPSIjMzMzIi8+PGNpcmNsZSBjeD0iMzMwIiBjeT0iMTYwIiByPSIzMCIgZmlsbD0iIzMzMyIvPjxwYXRoIGQ9Ik0xODAgMjMwIEEzMCAzMCAwIDAgMSAyMDAgMjYwIEEzMCAzMCAwIDAgMSAxODAgMjkwIiBzdHJva2U9IiMzMzMiIHN0cm9rZS13aWR0aD0iNSIgZmlsbD0ibm9uZSIvPjxwYXRoIGQ9Ik0zMzAgMjMwIEEzMCAzMCAwIDAgMSAzMTAgMjYwIEEzMCAzMCAwIDAgMSAzMzAgMjkwIiBzdHJva2U9IiMzMzMiIHN0cm9rZS13aWR0aD0iNSIgZmlsbD0ibm9uZSIvPjxwYXRoIGQ9Ik0yMDAgMzUwIEEzMCA1MCAwIDAgMSAyNTAgMzgwIEEzMCA1MCAwIDAgMSAzMDAgMzUwIiBzdHJva2U9IiMzMzMiIHN0cm9rZS13aWR0aD0iNSIgZmlsbD0ibm9uZSIvPjwvc3ZnPg==" alt="Funlyzer Mascot" class="w-64 h-64 mascot"> </div> </div> </div> </section> <!-- Features Grid --> <section id="tools" class="py-12 bg-white"> <div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8"> <div class="text-center mb-12"> <h2 class="text-3xl font-bold text-gray-800 mb-4">Our Fun Personality Tools</h2> <p class="text-lg text-gray-600 max-w-2xl mx-auto"> Choose from our collection of entertaining analysis tools. Each one is designed to bring a smile to your face! </p> </div> <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8"> <!-- Intelligence Checker --> <div class="bg-white rounded-2xl overflow-hidden shadow-lg p-6 card-hover"> <div class="tool-logo bg-indigo-100 text-indigo-600 mb-4"> <i class="fas fa-brain text-2xl"></i> </div> <h3 class="text-xl font-bold text-gray-800 mb-2">Intelligence Checker</h3> <p class="text-gray-600 mb-4"> Take our fun quiz to discover your "genius level" based on completely scientific (wink) questions. </p> <button onclick="showTool('intelligence')" class="w-full bg-indigo-100 hover:bg-indigo-200 text-indigo-700 font-bold py-2 px-4 rounded-full transition"> Try It Now </button> </div> <!-- Cuteness Checker --> <div class="bg-white rounded-2xl overflow-hidden shadow-lg p-6 card-hover"> <div class="tool-logo bg-pink-100 text-pink-600 mb-4"> <i class="fas fa-paw text-2xl"></i> </div> <h3 class="text-xl font-bold text-gray-800 mb-2">Cuteness Checker</h3> <p class="text-gray-600 mb-4"> Upload your photo or enter your name to get an instant cuteness rating. Warning: Extreme adorableness ahead! </p> <button onclick="showTool('cuteness')" class="w-full bg-pink-100 hover:bg-pink-200 text-pink-700 font-bold py-2 px-4 rounded-full transition"> Try It Now </button> </div> <!-- Attractiveness Checker --> <div class="bg-white rounded-2xl overflow-hidden shadow-lg p-6 card-hover"> <div class="tool-logo bg-red-100 text-red-600 mb-4"> <i class="fas fa-heart text-2xl"></i> </div> <h3 class="text-xl font-bold text-gray-800 mb-2">Attractiveness Checker</h3> <p class="text-gray-600 mb-4"> Find out your charm score on our patented (not really) attractiveness scale. Prepare for compliments! </p> <button onclick="showTool('attractiveness')" class="w-full bg-red-100 hover:bg-red-200 text-red-700 font-bold py-2 px-4 rounded-full transition"> Try It Now </button> </div> <!-- Love Calculator --> <div class="bg-white rounded-2xl overflow-hidden shadow-lg p-6 card-hover"> <div class="tool-logo bg-purple-100 text-purple-600 mb-4"> <i class="fas fa-heartbeat text-2xl"></i> </div> <h3 class="text-xl font-bold text-gray-800 mb-2">Love Calculator</h3> <p class="text-gray-600 mb-4"> Check romantic compatibility between you and your crush. Share with friends for extra fun! </p> <button onclick="showTool('love')" class="w-full bg-purple-100 hover:bg-purple-200 text-purple-700 font-bold py-2 px-4 rounded-full transition"> Try It Now </button> </div> <!-- Name Analyzer --> <div class="bg-white rounded-2xl overflow-hidden shadow-lg p-6 card-hover"> <div class="tool-logo bg-blue-100 text-blue-600 mb-4"> <i class="fas fa-signature text-2xl"></i> </div> <h3 class="text-xl font-bold text-gray-800 mb-2">Name Analyzer</h3> <p class="text-gray-600 mb-4"> What does your name say about you? Our algorithm will reveal deep insights (or just make you laugh). </p> <button onclick="showTool('name')" class="w-full bg-blue-100 hover:bg-blue-200 text-blue-700 font-bold py-2 px-4 rounded-full transition"> Try It Now </button> </div> <!-- Pet Match --> <div class="bg-white rounded-2xl overflow-hidden shadow-lg p-6 card-hover"> <div class="tool-logo bg-yellow-100 text-yellow-600 mb-4"> <i class="fas fa-dog text-2xl"></i> </div> <h3 class="text-xl font-bold text-gray-800 mb-2">Pet Match</h3> <p class="text-gray-600 mb-4"> Discover which animal best matches your personality. Are you a graceful cat or a loyal dog? </p> <button onclick="showTool('pet')" class="w-full bg-yellow-100 hover:bg-yellow-200 text-yellow-700 font-bold py-2 px-4 rounded-full transition"> Try It Now </button> </div> </div> </div> </section> <!-- Intelligence Checker Tool --> <section id="intelligence-tool" class="hidden py-12 bg-gray-50"> <div class="max-w-3xl mx-auto px-4 sm:px-6 lg:px-8 bg-white rounded-2xl shadow-lg p-6"> <div class="flex justify-between items-center mb-6"> <h2 class="text-2xl font-bold text-indigo-600">Intelligence Checker</h2> <button onclick="hideAllTools()" class="text-gray-500 hover:text-gray-700"> <i class="fas fa-times text-xl"></i> </button> </div> <div id="iq-intro"> <div class="text-center mb-6"> <i class="fas fa-brain text-6xl text-indigo-400 mb-4"></i> <h3 class="text-xl font-bold text-gray-800 mb-2">How Smart Are You Really?</h3> <p class="text-gray-600 mb-6"> Take our 5-question quiz to measure your intelligence in the most scientific way possible. (Disclaimer: This is just for fun.) </p> <button onclick="startIqQuiz()" class="bg-indigo-600 hover:bg-indigo-700 text-white font-bold py-3 px-8 rounded-full transition shadow-lg"> Start Now </button> </div> </div> <div id="iq-quiz" class="hidden"> <div class="mb-8"> <div class="flex justify-between mb-2"> <span class="text-sm font-medium text-indigo-600">Question <span id="current-question">1</span>/5</span> <span class="text-sm font-medium text-gray-500">IQ level: <span id="current-score">0</span></span> </div> <div class="w-full bg-gray-200 rounded-full h-2.5"> <div id="progress-bar" class="bg-indigo-600 h-2.5 rounded-full" style="width: 0%"></div> </div> </div> <div id="question-container" class="mb-8"> <h3 id="question-text" class="text-lg font-bold text-gray-800 mb-4">Loading question...</h3> <div id="options-container" class="space-y-3"> <!-- Options will be inserted here --> </div> </div> <button id="next-button" onclick="nextQuestion()" class="hidden w-full bg-indigo-600 hover:bg-indigo-700 text-white font-bold py-3 px-4 rounded-full transition"> Next Question </button> </div> <div id="iq-result" class="hidden text-center py-8"> <div class="result-bubble inline-block bg-indigo-100 rounded-full p-8 mb-6"> <span id="iq-score" class="text-5xl font-bold text-indigo-600">85</span> <span class="block text-indigo-500 font-medium">IQ Score</span> </div> <h3 id="iq-title" class="text-2xl font-bold text-gray-800 mb-2">Solid Thinker</h3> <p id="iq-description" class="text-gray-600 mb-6"> You're smarter than the average bear, but Einstein isn't losing sleep over you. Keep flexing those brain muscles! </p> <div class="space-y-4 mb-6"> <a href="#" class="inline-block px-4 py-2 bg-indigo-100 text-indigo-600 rounded-full hover:bg-indigo-200 transition"> <i class="fab fa-twitter mr-2"></i> Share on Twitter </a> <a href="#" class="inline-block px-4 py-2 bg-blue-100 text-blue-600 rounded-full hover:bg-blue-200 transition"> <i class="fab fa-facebook mr-2"></i> Share on Facebook </a> </div> <button onclick="restartIqQuiz()" class="bg-indigo-600 hover:bg-indigo-700 text-white font-bold py-3 px-8 rounded-full transition shadow-lg"> Try Again </button> </div> </div> </section> <!-- Cuteness Checker Tool --> <section id="cuteness-tool" class="hidden py-12 bg-gray-50"> <div class="max-w-3xl mx-auto px-4 sm:px-6 lg:px-8 bg-white rounded-2xl shadow-lg p-6"> <div class="flex justify-between items-center mb-6"> <h2 class="text-2xl font-bold text-pink-600">Cuteness Checker</h2> <button onclick="hideAllTools()" class="text-gray-500 hover:text-gray-700"> <i class="fas fa-times text-xl"></i> </button> </div> <div id="cuteness-intro" class="text-center"> <i class="fas fa-paw text-6xl text-pink-400 mb-4"></i> <h3 class="text-xl font-bold text-gray-800 mb-2">How Cute Are You?</h3> <p class="text-gray-600 mb-6"> Upload your photo or enter your name below to get an instant cuteness rating. Our algorithm is 100% accurate (or maybe not). </p> <div class="flex flex-col sm:flex-row gap-4 mb-8"> <button onclick="showPhotoUpload()" class="flex-1 bg-pink-100 hover:bg-pink-200 text-pink-700 font-bold py-3 px-6 rounded-full transition"> <i class="fas fa-camera mr-2"></i> Upload Photo </button> <button onclick="showNameInput()" class="flex-1 bg-purple-100 hover:bg-purple-200 text-purple-700 font-bold py-3 px-6 rounded-full transition"> <i class="fas fa-signature mr-2"></i> Enter Name </button> </div> <div class="text-sm text-gray-500"> <i class="fas fa-lock mr-1"></i> Photos are analyzed in your browser and never uploaded to our servers. </div> </div> <div id="photo-upload" class="hidden text-center p-4 border-2 border-dashed border-pink-200 rounded-xl mb-4 bg-pink-50"> <input type="file" id="file-input" accept="image/*" class="hidden"> <button onclick="document.getElementById('file-input').click()" class="bg-pink-100 hover:bg-pink-200 text-pink-700 font-bold py-3 px-8 rounded-full transition mb-4"> <i class="fas fa-upload mr-2"></i> Choose Image </button> <p class="text-gray-600 mb-2">Or drag and drop an image here</p> <div class="text-xs text-gray-500 mb-4">Supported formats: JPG, PNG (Max 5MB)</div> <div id="preview-container" class="hidden max-w-xs mx-auto my-4 overflow-hidden rounded-xl"> <img id="image-preview" src="#" alt="Preview" class="w-full h-auto"> </div> </div> <div id="name-input" class="hidden"> <div class="mb-6"> <label for="cute-name" class="block text-gray-700 font-medium mb-2">Enter Your Name</label> <input type="text" id="cute-name" class="w-full px-4 py-3 rounded-xl border border-gray-300 focus:outline-none focus:ring-2 focus:ring-pink-300 animated-input" placeholder="e.g. Alice or Jon"> </div> <button onclick="calculateCutenessFromName()" class="w-full bg-pink-600 hover:bg-pink-700 text-white font-bold py-3 px-4 rounded-full transition"> Calculate My Cuteness </button> </div> <div id="loading-cuteness" class="hidden text-center py-12"> <div class="lds-ring mx-auto"><div></div><div></div><div></div><div></div></div> <p class="text-gray-600 mt-6">Analyzing cuteness levels...</p> </div> <div id="cuteness-result" class="hidden text-center py-8"> <div class="result-bubble inline-flex flex-col items-center bg-pink-100 rounded-full p-8 mb-6"> <div class="text-5xl font-bold text-pink-600 mb-1"> <span id="cuteness-score">87</span>% </div> <div class="text-pink-500 font-medium">Cuteness</div> </div> <h3 id="cuteness-title" class="text-2xl font-bold text-gray-800 mb-2">Adorable Overload!</h3> <p id="cuteness-description" class="text-gray-600 mb-6"> Our system literally melted from how cute you are. Are you sure you're not part Golden Retriever? </p> <div class="space-y-4 mb-6"> <a href="#" class="inline-block px-4 py-2 bg-pink-100 text-pink-600 rounded-full hover:bg-pink-200 transition"> <i class="fab fa-instagram mr-2"></i> Share on Instagram </a> <a href="#" class="inline-block px-4 py-2 bg-blue-100 text-blue-600 rounded-full hover:bg-blue-200 transition"> <i class="fab fa-tiktok mr-2"></i> Share on TikTok </a> </div> <button onclick="resetCutenessCheck()" class="bg-pink-600 hover:bg-pink-700 text-white font-bold py-3 px-8 rounded-full transition shadow-lg"> Try Again </button> </div> </div> </section> <!-- Love Calculator Tool --> <section id="love-tool" class="hidden py-12 bg-gray-50"> <div class="max-w-3xl mx-auto px-4 sm:px-6 lg:px-8"> <div class="bg-white rounded-2xl shadow-lg overflow-hidden"> <div id="love-calculator-intro" class="text-center p-8 bg-gradient-to-r from-purple-500 to-pink-500 text-white"> <h2 class="text-3xl font-bold mb-2">Love Calculator</h2> <p class="text-purple-100 mb-6"> Discover your romantic compatibility with your crush. Get a link to share with them for fun results! </p> <button onclick="showLoveCalculatorForm()" class="bg-white text-purple-600 hover:bg-purple-100 font-bold py-3 px-8 rounded-full transition shadow-lg"> Check Compatibility </button> </div> <div id="love-calculator-form" class="hidden p-6"> <div id="referral-notice" class="hidden bg-blue-50 text-blue-800 p-4 rounded-lg mb-4"> <i class="fas fa-link mr-2"></i> You've been invited by <span id="referral-name" class="font-bold">Alex</span> to check your compatibility </div> <div id="referral-form" class="mb-6 p-4 border rounded-lg"> <h3 class="text-lg font-bold text-gray-800 mb-2">Get a referral link</h3> <p class="text-gray-600 mb-4">Want to check compatibility with someone? Enter your email and we'll give you a link to share with them.</p> <div class="flex flex-col sm:flex-row gap-2"> <input type="email" id="referrer-email" placeholder="Your email address" class="flex-1 px-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-purple-300 animated-input"> <button onclick="generateReferralLink()" class="bg-purple-600 hover:bg-purple-700 text-white font-bold py-2 px-4 rounded-lg transition"> Get Link </button> </div> <div id="referral-link-container" class="hidden mt-4"> <div class="flex flex-col sm:flex-row gap-2"> <input type="text" id="referral-link" readonly class="flex-1 px-4 py-2 rounded-lg border border-gray-300 bg-gray-100 animated-input"> <button onclick="copyReferralLink()" class="bg-purple-600 hover:bg-purple-700 text-white font-bold py-2 px-4 rounded-lg transition"> <i class="fas fa-copy mr-1"></i> Copy </button> </div> <p class="text-sm text-gray-500 mt-2">Share this link with your crush to find out your compatibility!</p> </div> </div> <div id="calculator-form" class="space-y-4"> <h3 class="text-lg font-bold text-gray-800">Calculate Compatibility</h3> <div class="grid grid-cols-1 md:grid-cols-2 gap-4"> <div> <label for="name1" class="block text-gray-700 mb-1">Your Name</label> <input type="text" id="name1" class="w-full px-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-purple-300 animated-input" placeholder="First name"> </div> <div> <label for="name2" class="block text-gray-700 mb-1">Their Name</label> <input type="text" id="name2" class="w-full px-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-purple-300 animated-input" placeholder="Crush's first name"> </div> </div> <button onclick="calculateLove()" class="w-full bg-pink-600 hover:bg-pink-700 text-white font-bold py-3 px-4 rounded-full transition"> <i class="fas fa-heart mr-2"></i> Calculate Love </button> <p class="text-xs text-gray-500"> <i class="fas fa-exclamation-circle mr-1"></i> This is just for entertainment. Results are not scientifically valid. </p> </div> </div> <div id="love-loading" class="hidden text-center p-12"> <div class="lds-ring mx-auto"><div></div><div></div><div></div><div></div></div> <p class="text-gray-600 mt-6">Calculating compatibility magic...</p> </div> <div id="love-result" class="hidden p-8"> <div class="text-center mb-6"> <div class="inline-flex items-center justify-center relative"> <svg class="w-32 h-32" viewBox="0 0 36 36"> <path d="M18 2.0845 a 15.9155 15.9155 0 0 1 0 31.831 a 15.9155 15.9155 0 0 1 0 -31.831" fill="none" stroke="#eee" stroke-width="2" stroke-dasharray="100, 100" /> <path id="love-meter" d="M18 2.0845 a 15.9155 15.9155 0 0 1 0 31.831 a 15.9155 15.9155 0 0 1 0 -31.831" fill="none" stroke="#ec4899" stroke-width="2" stroke-dasharray="0, 100" /> <text x="18" y="22" text-anchor="middle" fill="#ec4899" font-size="10" font-weight="bold"> <tspan x="18" dy="0.5em" id="love-percentage">0%</tspan> </text> </svg> </div> <h3 class="text-xl font-bold text-gray-800 mt-4"> <span id="person1" class="text-pink-600">You</span> + <span id="person2" class="text-purple-600">Your Crush</span> </h3> </div> <div class="bg-pink-50 rounded-lg p-4 mb-6"> <h4 class="font-bold text-gray-800 mb-2">Compatibility Analysis</h4> <p id="love-description" class="text-gray-700"> These two names show a strong romantic connection with potential for a deep emotional bond. The alignment of letters suggests good communication and shared interests in the arts. </p> </div> <div class="flex flex-wrap gap-4 justify-center mb-6"> <button onclick="shareLoveResults()" class="bg-white border border-pink-200 hover:bg-pink-50 text-pink-600 font-bold py-2 px-6 rounded-full transition flex items-center"> <i class="fas fa-share-alt mr-2"></i> Share </button> <button onclick="saveLoveResults()" class="bg-white border border-purple-200 hover:bg-purple-50 text-purple-600 font-bold py-2 px-6 rounded-full transition flex items-center"> <i class="fas fa-bookmark mr-2"></i> Save </button> <button onclick="calculateAgain()" class="bg-pink-600 hover:bg-pink-700 text-white font-bold py-2 px-6 rounded-full transition flex items-center"> <i class="fas fa-redo mr-2"></i> Try Again </button> </div> <div class="text-center mt-8"> <button onclick="showReferralSection()" class="text-purple-600 hover:text-purple-800 font-medium flex items-center justify-center mx-auto"> <i class="fas fa-link mr-2"></i> Get a link to share with someone else </button> </div> </div> </div> <div class="mt-8 bg-white rounded-2xl shadow-lg p-6"> <h3 class="text-lg font-bold text-gray-800 mb-4">Recent Matches</h3> <div class="space-y-4"> <div class="flex items-center justify-between p-4 bg-gray-50 rounded-lg"> <div> <p class="text-gray-800 font-medium">Lisa + Brian</p> <p class="text-sm text-gray-500">94% match</p> </div> <div class="w-20 bg-gray-200 rounded-full h-2"> <div class="bg-pink-500 h-2 rounded-full" style="width: 94%"></div> </div> </div> <div class="flex items-center justify-between p-4 bg-gray-50 rounded-lg"> <div> <p class="text-gray-800 font-medium">Emma + Noah</p> <p class="text-sm text-gray-500">87% match</p> </div> <div class="w-20 bg-gray-200 rounded-full h-2"> <div class="bg-pink-500 h-2 rounded-full" style="width: 87%"></div> </div> </div> <div class="flex items-center justify-between p-4 bg-gray-50 rounded-lg"> <div> <p class="text-gray-800 font-medium">Oliver + Sophia</p> <p class="text-sm text-gray-500">82% match</p> </div> <div class="w-20 bg-gray-200 rounded-full h-2"> <div class="bg-pink-500 h-2 rounded-full" style="width: 82%"></div> </div> </div> </div> <button class="w-full mt-4 bg-white border border-gray-200 hover:bg-gray-50 text-gray-700 font-bold py-2 px-4 rounded-lg transition"> View All Matches </button> </div> </div> </section> <!-- About Section --> <section id="about" class="py-16 bg-gradient-to-r from-purple-50 to-pink-50"> <div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8"> <div class="text-center mb-12"> <h2 class="text-3xl font-bold text-gray-800 mb-4">About Funlyzer</h2> <p class="text-lg text-gray-600 max-w-3xl mx-auto"> We believe personality analysis should be fun! Our tools combine psychology, humor, and a dash of randomness to create entertaining insights. </p> </div> <div class="grid grid-cols-1 md:grid-cols-3 gap-8"> <div class="bg-white p-8 rounded-2xl shadow-sm"> <div class="w-16 h-16 bg-indigo-100 rounded-full flex items-center justify-center mb-4"> <i class="fas fa-flask text-indigo-600 text-2xl"></i> </div> <h3 class="text-xl font-bold text-gray-800 mb-3">"Scientific" Methods</h3> <p class="text-gray-600"> Our algorithms use highly advanced mathematical calculations (and a sprinkle of magic) to analyze your personality traits. </p> </div> <div class="bg-white p-8 rounded-2xl shadow-sm"> <div class="w-16 h-16 bg-pink-100 rounded-full flex items-center justify-center mb-4"> <i class="fas fa-grin text-pink-600 text-2xl"></i> </div> <h3 class="text-xl font-bold text-gray-800 mb-3">Entertainment Only</h3> <p class="text-gray-600"> While we take fun seriously, our tools are for entertainment purposes only. Please don't make life decisions based on our results! </p> </div> <div class="bg-white p-8 rounded-2xl shadow-sm"> <div class="w-16 h-16 bg-purple-100 rounded-full flex items-center justify-center mb-4"> <i class="fas fa-lock text-purple-600 text-2xl"></i> </div> <h3 class="text-xl font-bold text-gray-800 mb-3">Your Privacy</h3> <p class="text-gray-600"> We respect your privacy. Most analysis happens in your browser, and we don't store personally identifiable information. </p> </div> </div> <div class="mt-12 bg-white rounded-2xl shadow-lg overflow-hidden"> <div class="grid grid-cols-1 md:grid-cols-2"> <div class="p-8"> <h3 class="text-2xl font-bold text-gray-800 mb-4">Meet Our Team</h3> <p class="text-gray-600 mb-6"> Funlyzer was created by a group of psychologists, developers, and artists who love combining science with fun. </p> <div class="flex space-x-4"> <div class="w-16 h-16 rounded-full overflow-hidden border-4 border-purple-100"> <img src="https://randomuser.me/api/portraits/women/43.jpg" alt="Team member" class="w-full h-full object-cover"> </div> <div class="w-16 h-16 rounded-full overflow-hidden border-4 border-purple-100"> <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Team member" class="w-full h-full object-cover"> </div> <div class="w-16 h-16 rounded-full overflow-hidden border-4 border-purple-100"> <img src="https://randomuser.me/api/portraits/women/63.jpg" alt="Team member" class="w-full h-full object-cover"> </div> </div> </div> <div class="bg-purple-100 p-8 flex items-center justify-center"> <div class="text-center"> <i class="fas fa-envelope text-purple-600 text-4xl mb-4"></i> <h3 class="text-xl font-bold text-gray-800 mb-2">Have Questions?</h3> <p class="text-gray-600 mb-4">We'd love to hear from you!</p> <button class="bg-purple-600 hover:bg-purple-700 text-white font-bold py-2 px-6 rounded-full transition"> Contact Us </button> </div> </div> </div> </div> </div> </section> <!-- Footer --> <footer class="bg-white border-t"> <div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 py-8"> <div class="grid grid-cols-1 md:grid-cols-4 gap-8"> <div> <h3 class="text-purple-600 font-bold text-2xl mb-4">Funlyzer</h3> <p class="text-gray-600 mb-4"> Making personality analysis fun and accessible for everyone. </p> <div class="flex space-x-4"> <a href="#" class="text-gray-500 hover:text-purple-600"> <i class="fab fa-twitter text-xl"></i> </a> <a href="#" class="text-gray-500 hover:text-purple-600"> <i class="fab fa-instagram text-xl"></i> </a> <a href="#" class="text-gray-500 hover:text-purple-600"> <i class="fab fa-tiktok text-xl"></i> </a> </div> </div> <div> <h4 class="text-gray-800 font-bold mb-4">Tools</h4> <ul class="space-y-2"> <li><a href="#" class="text-gray-600 hover:text-purple-600 transition">Love Calculator</a></li> <li><a href="#" class="text-gray-600 hover:text-purple-600 transition">IQ Analyzer</a></li> <li><a href="#" class="text-gray-600 hover:text-purple-600 transition">Cuteness Checker</a></li> <li><a href="#" class="text-gray-600 hover:text-purple-600 transition">Attractiveness Tool</a></li> </ul> </div> <div> <h4 class="text-gray-800 font-bold mb-4">Company</h4> <ul class="space-y-2"> <li><a href="#about" class="text-gray-600 hover:text-purple-600 transition">About Us</a></li> <li><a href="#" class="text-gray-600 hover:text-purple-600 transition">Careers</a></li> <li><a href="#" class="text-gray-600 hover:text-purple-600 transition">Press</a></li> <li><a href="#" class="text-gray-600 hover:text-purple-600 transition">Blog</a></li> </ul> </div> <div> <h4 class="text-gray-800 font-bold mb-4">Legal</h4> <ul class="space-y-2"> <li><a href="#" class="text-gray-600 hover:text-purple-600 transition">Privacy Policy</a></li> <li><a href="#" class="text-gray-600 hover:text-purple-600 transition">Terms of Service</a></li> <li><a href="#" class="text-gray-600 hover:text-purple-600 transition">Disclaimer</a></li> <li><a href="#" class="text-gray-600 hover:text-purple-600 transition">Cookie Policy</a></li> </ul> </div> </div> <div class="border-t border-gray-200 mt-8 pt-8 flex flex-col md:flex-row justify-between items-center"> <p class="text-gray-500 mb-4 md:mb-0"> &copy; 2023 Funlyzer. All rights reserved. </p> <div class="flex space-x-6"> <a href="#" class="text-gray-500 hover:text-purple-600">Privacy</a> <a href="#" class="text-gray-500 hover:text-purple-600">Terms</a> <a href="#" class="text-gray-500 hover:text-purple-600">Contact</a> </div> </div> </div> </footer> <script> // Mobile menu toggle document.querySelector('.mobile-menu-button').addEventListener('click', function() { document.querySelector('.mobile-menu').classList.toggle('hidden'); }); // Tool navigation functions function showTool(tool) { hideAllTools(); switch(tool) { case 'intelligence': document.getElementById('intelligence-tool').classList.remove('hidden'); break; case 'cuteness': document.getElementById('cuteness-tool').classList.remove('hidden'); break; case 'love': document.getElementById('love-tool').classList.remove('hidden'); break; // Other tools would be added here } // Scroll to the tool document.querySelector(`#${tool}-tool`).scrollIntoView({ behavior: 'smooth' }); } function hideAllTools() { document.querySelectorAll('[id$="-tool"]').forEach(el => { el.classList.add('hidden'); }); } // Intelligence Checker Quiz Logic const iqQuestions = [ { question: "How many sides does a circle have?", options: ["0 (it's round)", "1 (the inside)", "2 (inside and outside)", "∞ (infinite sides)"], correct: 0, points: 20 }, { question: "If you have 3 apples and you give 2 to a friend, what do you have?", options: ["1 apple", "2 friends and 1 apple", "A math problem", "2 apples (you changed your mind)"], correct: 2, points: 25 }, { question: "Which of these is the smartest animal?", options: ["Dolphin", "Octopus", "Pigeon", "Your neighbor's cat"], correct: 3, points: 30 }, { question: "Solve this complex equation: 2 + 2 × 2 = ?", options: ["6", "8", "2", "222"], correct: 0, points: 15 }, { question: "What is the answer to life, the universe, and everything?", options: ["42", "Love", "Chocolate", "There is no answer"], correct: 0, points: 10 } ]; let currentQuestionIndex = 0; let totalScore = 0; function startIqQuiz() { document.getElementById('iq-intro').classList.add('hidden'); document.getElementById('iq-quiz').classList.remove('hidden'); showQuestion(); } function showQuestion() { const question = iqQuestions[currentQuestionIndex]; document.getElementById('question-text').textContent = question.question; document.getElementById('current-question').textContent = currentQuestionIndex + 1; const optionsContainer = document.getElementById('options-container'); optionsContainer.innerHTML = ''; question.options.forEach((option, index) => { const button = document.createElement('button'); button.className = 'w-full text-left bg-gray-50 hover:bg-gray-100 border border-gray-200 rounded-lg px-4 py-3 transition'; button.textContent = option; button.onclick = () => selectAnswer(index); optionsContainer.appendChild(button); }); document.getElementById('next-button').classList.add('hidden'); updateProgressBar(); } function selectAnswer(selectedIndex) { const options = document.querySelectorAll('#options-container button'); const question = iqQuestions[currentQuestionIndex]; options.forEach((option, index) => { option.disabled = true; if(index === question.correct) { option.classList.add('bg-green-100', 'border-green-300'); } else if(index === selectedIndex && index !== question.correct) { option.classList.add('bg-red-100', 'border-red-300'); } }); if(selectedIndex === question.correct) { totalScore += question.points; document.getElementById('current-score').textContent = totalScore; } document.getElementById('next-button').classList.remove('hidden'); } function nextQuestion() { currentQuestionIndex++; if(currentQuestionIndex < iqQuestions.length) { showQuestion(); } else { showResults(); } } function updateProgressBar() { const progress = (currentQuestionIndex / iqQuestions.length) * 100; document.getElementById('progress-bar').style.width = `${progress}%`; } function showResults() { document.getElementById('iq-quiz').classList.add('hidden'); document.getElementById('iq-result').classList.remove('hidden'); document.getElementById('iq-score').textContent = totalScore; let title, description; if(totalScore >= 90) { title = "Certified Genius!"; description = "Your brilliant mind is off the charts! You must be the smartest person... in this room at least."; } else if(totalScore >= 70) { title = "Very Brainy!"; description = "You're sharper than a brand new pencil. Don't let it go to your head (because smart people know that's not anatomically possible)."; } else if(totalScore >= 50) { title = "Solid Thinker"; description = "You're smarter than the average bear, but Einstein isn't losing sleep over you. Keep flexing those brain muscles!"; } else { title = "Creative Mind"; description = "You think outside the box... sometimes way outside. Who needs standard answers when you've got imagination?"; } document.getElementById('iq-title').textContent = title; document.getElementById('iq-description').textContent = description; } function restartIqQuiz() { currentQuestionIndex = 0; totalScore = 0; document.getElementById('iq-result').classList.add('hidden'); document.getElementById('iq-quiz').classList.remove('hidden'); document.getElementById('current-score').textContent = "0"; showQuestion(); } // Cuteness Checker Functions function showPhotoUpload() { document.getElementById('cuteness-intro').classList.add('hidden'); document.getElementById('photo-upload').classList.remove('hidden'); // Handle file input document.getElementById('file-input').addEventListener('change', function(e) { const file = e.target.files[0]; if (file) { const reader = new FileReader(); reader.onload = function(event) { const preview = document.getElementById('image-preview'); preview.src = event.target.result; document.getElementById('preview-container').classList.remove('hidden'); // After showing preview, add button to analyze const uploadContainer = document.getElementById('photo-upload'); if (!document.getElementById('analyze-btn')) { const analyzeBtn = document.createElement('button'); analyzeBtn.id = 'analyze-btn'; analyzeBtn.className = 'bg-pink-600 hover:bg-pink-700 text-white font-bold py-3 px-8 rounded-full transition shadow-lg w-full'; analyzeBtn.textContent = 'Analyze My Cuteness'; analyzeBtn.onclick = calculateCutenessFromPhoto; uploadContainer.appendChild(analyzeBtn); } } reader.readAsDataURL(file); } }); } function showNameInput() { document.getElementById('cuteness-intro').classList.add('hidden'); document.getElementById('name-input').classList.remove('hidden'); } function calculateCutenessFromPhoto() { const preview = document.getElementById('image-preview'); if (!preview || preview.src === '#') { alert('Please upload an image first!'); return; } document.getElementById('photo-upload').classList.add('hidden'); document.getElementById('loading-cuteness').classList.remove('hidden'); // Simulate processing setTimeout(() => { showCutenessResult(Math.floor(Math.random() * 60) + 40); // Random between 40-100 }, 2000); } function calculateCutenessFromName() { const name = document.getElementById('cute-name').value.trim(); if (!name) { alert('Please enter your name!'); return; } document.getElementById('name-input').classList.add('hidden'); document.getElementById('loading-cuteness').classList.remove('hidden'); // Calculate based on name length and letters const cutenessScore = name.length * 3 + name.toLowerCase().split('').reduce((acc, char) => { if (['a', 'e', 'i', 'o', 'u'].includes(char)) return acc + 5; // vowels if (['b', 'c', 'd', 'f', 'g'].includes(char)) return acc + 3; if (['l', 'm', 'n', 'p', 'k'].includes(char)) return acc + 2; return acc + 1; }, 0); // Normalize to 40-100 range const normalizedScore = Math.min(Math.max(40, cutenessScore % 100), 100); setTimeout(() => { showCutenessResult(normalizedScore); }, 2000); } function showCutenessResult(score) { document.getElementById('loading-cuteness').classList.add('hidden'); document.getElementById('cuteness-result').classList.remove('hidden'); document.getElementById('cuteness-score').textContent = score; let title, description; if (score >= 90) { title = "Adorable Overload!"; description = "Our system literally melted from how cute you are. Are you sure you're not part Golden Retriever?"; } else if (score >= 75) { title = "Super Cute!"; description = "You've got that irresistible charm that makes people go 'awww' uncontrollably."; } else if (score >= 60) { title = "Pretty Darn Cute"; description = "You're definitely above average in the cute department. Probably get compliments regularly!"; } else { title = "Uniquely Charming"; description = "Your cuteness is unconventional but undeniable. Like a pug – not traditionally cute but delightful!"; } document.getElementById('cuteness-title').textContent = title; document.getElementById('cuteness-description').textContent = description; } function resetCutenessCheck() { document.getElementById('cuteness-result').classList.add('hidden'); document.getElementById('photo-upload').classList.add('hidden'); document.getElementById('name-input').classList.add('hidden'); document.getElementById('preview-container').classList.add('hidden'); document.getElementById('file-input').value = ''; document.getElementById('cute-name').value = ''; document.getElementById('cuteness-intro').classList.remove('hidden'); } // Love Calculator Functions function showLoveCalculatorForm() { document.getElementById('love-calculator-intro').classList.add('hidden'); document.getElementById('love-calculator-form').classList.remove('hidden'); } function generateReferralLink() { const email = document.getElementById('referrer-email').value.trim(); if (!email || !email.includes('@')) { alert('Please enter a valid email address'); return; } // In a real app, we'd generate a unique token and store in database const randomToken = Math.random().toString(36).substring(2, 15); const referralLink = `${window.location.origin}${window.location.pathname}?ref=${randomToken}&email=${encodeURIComponent(email)}`; document.getElementById('referral-link').value = referralLink; document.getElementById('referral-link-container').classList.remove('hidden'); // Simulate storing the referral (in a real app, this would be an API call) localStorage.setItem(`referral_${randomToken}`, email); } function copyReferralLink() { const linkInput = document.getElementById('referral-link'); linkInput.select(); document.execCommand('copy'); // Show copied feedback const button = event.target.tagName === 'BUTTON' ? event.target : event.target.closest('button'); const originalText = button.innerHTML; button.innerHTML = '<i class="fas fa-check mr-1"></i> Copied!'; setTimeout(() => { button.innerHTML = originalText; }, 2000); } function calculateLove() { const name1 = document.getElementById('name1').value.trim(); const name2 = document.getElementById('name2').value.trim(); if (!name1 || !name2) { alert('Please enter both names!'); return; } document.getElementById('love-calculator-form').classList.add('hidden'); document.getElementById('love-loading').classList.remove('hidden'); // Check for referral in URL const urlParams = new URLSearchParams(window.location.search); const ref = urlParams.get('ref'); const referrerEmail = urlParams.get('email'); if (ref && referrerEmail) { // In a real app, we'd notify the referrer via email (this is just simulation) console.log(`Notifying referrer ${referrerEmail} that ${name2} has checked their compatibility with ${name1}`); document.getElementById('referral-notice').classList.remove('hidden'); document.getElementById('referral-name').textContent = referrerEmail.split('@')[0]; } setTimeout(() => { showLoveResult(name1, name2); }, 3000); } function showLoveResult(name1, name2) { document.getElementById('love-loading').classList.add('hidden'); document.getElementById('love-result').classList.remove('hidden'); document.getElementById('person1').textContent = name1; document.getElementById('person2').textContent = name2; // Calculate "compatibility" score (purely for fun) const combined = (name1 + name2).toLowerCase().replace(/\s/g, ''); let score = 0; // Totally scientific calculation based on name properties score += combined.length * 1.5; score += (combined.split('a').length - 1) * 5; score += (combined.split('e').length - 1) * 4; score += (combined.split('l').length - 1) * 3; score += (combined.split('o').length - 1) * 2; score += (combined.split('v').length - 1) * 6; // Normalize to 10-99 range score = Math.abs(score) % 90 + 10; // Set meter animation const meter = document.getElementById('love-meter'); const percentage = document.getElementById('love-percentage'); meter.style.strokeDasharray = `${score}, 100`; percentage.textContent = `${Math.floor(score)}%`; // Set description based on score let description; if (score >= 90) { description = "This is true love! You two were clearly destined to be together. The stars align, the universe agrees - this is a rare and special connection."; } else if (score >= 75) { description = "Strong potential for a deep and lasting relationship. You complement each other well and share many compatible traits."; } else if (score >= 60) { description = "A solid match with good chemistry. With effort and communication, this could grow into something beautiful."; } else if (score >= 40) { description = "Some sparks but also some challenges. Opposites can attract, but might require extra understanding."; } else { description = "An interesting combination that might surprise you. Sometimes the least obvious matches create the most exciting stories."; } document.getElementById('love-description').textContent = description; } function shareLoveResults() { const name1 = document.getElementById('person1').textContent; const name2 = document.getElementById('person2').textContent; const score = document.getElementById('love-percentage').textContent; // In a real app, this would open share dialogs alert(`Share that ${name1} and ${name2} are ${score} compatible! (In a real app, this would open share options)`); } function saveLoveResults() { // In a real app, this would save to user's account alert('Results saved to your history! (In a real app, this would require user accounts)'); } function calculateAgain() { document.getElementById('love-result').classList.add('hidden'); document.getElementById('love-calculator-form').classList.remove('hidden'); document.getElementById('name1').value = ''; document.getElementById('name2').value = ''; } function showReferralSection() { document.getElementById('love-result').classList.add('hidden'); document.getElementById('love-calculator-form').classList.remove('hidden'); document.getElementById('referral-notice').classList.add('hidden'); } // Check for referral link on page load window.addEventListener('DOMContentLoaded', function() { const urlParams = new URLSearchParams(window.location.search); const ref = urlParams.get('ref'); const email = urlParams.get('email'); if (ref && email) { // Show love calculator with referral notice showTool('love'); showLoveCalculatorForm(); } // Set up drag and drop for photo upload const uploadArea = document.getElementById('photo-upload'); uploadArea.addEventListener('dragover', function(e) { e.preventDefault(); this.classList.add('border-pink-400', 'bg-pink-100'); }); uploadArea.addEventListener('dragleave', function(e) { e.preventDefault(); this.classList.remove('border-pink-400', 'bg-pink-100'); }); uploadArea.addEventListener('drop', function(e) { e.preventDefault(); this.classList.remove('border-pink-400', 'bg-pink-100'); const file = e.dataTransfer.files[0]; if (file && file.type.match('image.*')) { const input = document.getElementById('file-input'); input.files = e.dataTransfer.files; // Trigger change event const event = new Event('change'); input.dispatchEvent(event); } }); }); </script> <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Gigquest/fbvidgrabber" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> </html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Funlyzer - Fun Personality Tools & Quizzes</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
body {
font-family: 'Poppins', sans-serif;
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}
.card-hover {
transition: all 0.3s ease;
}
.card-hover:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.tool-logo {
width: 60px;
height: 60px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 18px;
}
.animated-input {
transition: all 0.3s;
}
.animated-input:focus {
transform: scale(1.02);
}
.result-bubble {
position: relative;
animation: bubble 0.6s ease-out;
}
@keyframes bubble {
0% { transform: scale(0.5); opacity: 0; }
70% { transform: scale(1.1); opacity: 1; }
100% { transform: scale(1); opacity: 1; }
}
.mascot {
animation: bounce 2s infinite;
}
@keyframes bounce {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-15px); }
}
/* Loading spinner */
.lds-ring {
display: inline-block;
position: relative;
width: 80px;
height: 80px;
}
.lds-ring div {
box-sizing: border-box;
display: block;
position: absolute;
width: 64px;
height: 64px;
margin: 8px;
border: 8px solid #7c3aed;
border-radius: 50%;
animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
border-color: #7c3aed transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
animation-delay: -0.15s;
}
@keyframes lds-ring {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
</style>
<!-- Google Analytics -->