exercise / index.html
lilctwentythree's picture
Add 3 files
17f10da verified
Raw History Blame Contribute Delete
34.5 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>What Is With People And Exercise?</title>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://fonts.googleapis.com/css2?family=Bangers&family=Orbitron:wght@400;700&display=swap" rel="stylesheet">
<style>
.comic-font {
font-family: 'Bangers', cursive;
letter-spacing: 1px;
}
.techy-font {
font-family: 'Orbitron', sans-serif;
}
.gradient-bg {
background: linear-gradient(135deg, #f97316 0%, #ef4444 50%, #f59e0b 100%);
}
.exercise-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
.pulse {
animation: pulse 2s infinite;
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.05); }
100% { transform: scale(1); }
}
.flame-text {
background: linear-gradient(to right, #f97316, #ef4444, #f59e0b);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.robot-mascot {
position: fixed;
bottom: 20px;
right: 20px;
z-index: 100;
cursor: pointer;
transition: all 0.3s ease;
}
.robot-mascot:hover {
transform: scale(1.1);
}
</style>
</head>
<body class="bg-gray-50 text-gray-900 min-h-screen">
<!-- Navigation -->
<nav class="bg-white bg-opacity-90 sticky top-0 z-50 shadow-md">
<div class="container mx-auto px-6 py-3 flex justify-between items-center">
<a href="#" class="comic-font text-3xl flame-text">What Is With People And Exercise?</a>
<div class="hidden md:flex space-x-8">
<a href="#why" class="techy-font hover:text-orange-500 transition">Why Exercise?</a>
<a href="#routine" class="techy-font hover:text-orange-500 transition">Daily Routine</a>
<a href="#fuel" class="techy-font hover:text-orange-500 transition">Body Fuel</a>
<a href="#motivation" class="techy-font hover:text-orange-500 transition">Get Motivated</a>
</div>
<button class="md:hidden focus:outline-none" id="mobileMenuButton">
<svg class="w-6 h-6 text-orange-500" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16"></path>
</svg>
</button>
</div>
<!-- Mobile Menu -->
<div id="mobileMenu" class="hidden md:hidden bg-white py-4 px-6 absolute w-full left-0 top-full shadow-lg">
<a href="#why" class="block py-2 techy-font hover:text-orange-500 transition">Why Exercise?</a>
<a href="#routine" class="block py-2 techy-font hover:text-orange-500 transition">Daily Routine</a>
<a href="#fuel" class="block py-2 techy-font hover:text-orange-500 transition">Body Fuel</a>
<a href="#motivation" class="block py-2 techy-font hover:text-orange-500 transition">Get Motivated</a>
</div>
</nav>
<!-- Hero Section -->
<section class="relative h-screen flex items-center justify-center overflow-hidden gradient-bg">
<div class="absolute inset-0 bg-black opacity-20"></div>
<div class="container mx-auto px-6 z-10 text-center">
<h1 class="comic-font text-6xl md:text-8xl mb-6 text-white">GO TO THE GYM TO LOOK LIKE HIM</h1>
<p class="techy-font text-xl md:text-2xl mb-8 max-w-3xl mx-auto text-white">Unlock your potential one rep at a time. Your future self will thank you.</p>
<div class="pulse">
<a href="#why" class="inline-block bg-white hover:bg-gray-100 text-orange-600 font-bold py-3 px-8 rounded-full transition transform hover:scale-105 comic-font text-2xl">
GET STARTED
</a>
</div>
</div>
<video autoplay muted loop class="absolute z-0 w-auto min-w-full min-h-full max-w-none">
<source src="https://assets.mixkit.co/videos/preview/mixkit-man-doing-push-ups-2195-large.mp4" type="video/mp4">
</video>
</section>
<!-- Why Exercise Section -->
<section id="why" class="py-20 px-4 bg-white">
<div class="container mx-auto">
<h2 class="comic-font text-5xl text-center mb-16 flame-text">WHY YOU SHOULD EXERCISE</h2>
<div class="grid md:grid-cols-3 gap-10">
<!-- Card 1 -->
<div class="exercise-card bg-white rounded-xl p-8 transition duration-300 shadow-lg border border-gray-100">
<div class="flame-text mb-4">
<svg class="w-12 h-12" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z"></path>
</svg>
</div>
<h3 class="comic-font text-2xl mb-4 flame-text">Energy Boost</h3>
<p class="techy-font text-gray-700">Regular exercise increases energy levels by improving cardiovascular health and muscle strength. You'll feel more alert and productive throughout the day.</p>
</div>
<!-- Card 2 -->
<div class="exercise-card bg-white rounded-xl p-8 transition duration-300 shadow-lg border border-gray-100">
<div class="flame-text mb-4">
<svg class="w-12 h-12" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14.828 14.828a4 4 0 01-5.656 0M9 10h.01M15 10h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path>
</svg>
</div>
<h3 class="comic-font text-2xl mb-4 flame-text">Mental Health</h3>
<p class="techy-font text-gray-700">Exercise releases endorphins - natural mood lifters. It reduces stress, anxiety, and symptoms of depression while boosting self-esteem and cognitive function.</p>
</div>
<!-- Card 3 -->
<div class="exercise-card bg-white rounded-xl p-8 transition duration-300 shadow-lg border border-gray-100">
<div class="flame-text mb-4">
<svg class="w-12 h-12" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"></path>
</svg>
</div>
<h3 class="comic-font text-2xl mb-4 flame-text">Longevity</h3>
<p class="techy-font text-gray-700">Active people live longer, healthier lives. Exercise reduces risk of chronic diseases like heart disease, diabetes, and some cancers by up to 50%.</p>
</div>
</div>
<!-- Money Steps Counter -->
<div class="mt-20 bg-gradient-to-r from-orange-100 to-red-100 rounded-xl p-8 max-w-4xl mx-auto shadow-lg border border-orange-200">
<h3 class="comic-font text-3xl text-center mb-6 flame-text">MONEY STEPS CHALLENGE</h3>
<p class="techy-font text-center mb-8 text-gray-700">Imagine earning $1 for every step you take! While we can't actually pay you, track your steps and see how much you could be earning.</p>
<div class="flex flex-col md:flex-row items-center justify-center space-y-4 md:space-y-0 md:space-x-8">
<div class="text-center">
<div class="text-5xl font-bold flame-text" id="stepCount">0</div>
<div class="techy-font text-gray-600">STEPS TODAY</div>
</div>
<div class="text-center">
<div class="text-5xl font-bold flame-text">$<span id="moneyEarned">0</span></div>
<div class="techy-font text-gray-600">POTENTIAL EARNINGS</div>
</div>
</div>
<div class="mt-8 flex justify-center">
<button onclick="addSteps()" class="gradient-bg hover:opacity-90 text-white comic-font py-3 px-6 rounded-full transition transform hover:scale-105 shadow-md">
ADD 100 STEPS
</button>
</div>
</div>
</div>
</section>
<!-- Daily Routine Section -->
<section id="routine" class="py-20 px-4 bg-orange-50">
<div class="container mx-auto">
<h2 class="comic-font text-5xl text-center mb-16 flame-text">DAILY WORKOUT ROUTINE</h2>
<div class="grid md:grid-cols-2 gap-10 items-center">
<div>
<h3 class="comic-font text-3xl mb-6 flame-text">6 Essential Exercises for Men in 2023</h3>
<ul class="techy-font space-y-4 text-gray-700">
<li class="flex items-start">
<span class="text-orange-500 mr-3">➀</span>
<span><strong>Deadlifts</strong> - The king of all exercises for building total-body strength</span>
</li>
<li class="flex items-start">
<span class="text-orange-500 mr-3">➀</span>
<span><strong>Pull-Ups</strong> - Best upper body exercise for back and arms</span>
</li>
<li class="flex items-start">
<span class="text-orange-500 mr-3">➀</span>
<span><strong>Overhead Press</strong> - Builds strong shoulders and core stability</span>
</li>
<li class="flex items-start">
<span class="text-orange-500 mr-3">➀</span>
<span><strong>Squats</strong> - Fundamental for leg development and athleticism</span>
</li>
<li class="flex items-start">
<span class="text-orange-500 mr-3">➀</span>
<span><strong>Bench Press</strong> - Classic chest builder that also works triceps</span>
</li>
<li class="flex items-start">
<span class="text-orange-500 mr-3">➀</span>
<span><strong>Farmer's Walks</strong> - Functional strength and grip development</span>
</li>
</ul>
</div>
<div class="relative aspect-w-16 aspect-h-9 rounded-xl overflow-hidden shadow-xl">
<iframe class="w-full h-96" src="https://www.youtube.com/embed/ML6O9dGc8u8" title="6 Essential Exercises for Men in 2023. Do MORE of these." frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
</div>
<div class="mt-16">
<h3 class="comic-font text-3xl text-center mb-8 flame-text">WORKOUT TRACKER</h3>
<div class="max-w-2xl mx-auto bg-white rounded-xl p-6 shadow-lg">
<div class="grid grid-cols-7 gap-2 mb-6">
<div class="text-center techy-font text-gray-600">SUN</div>
<div class="text-center techy-font text-gray-600">MON</div>
<div class="text-center techy-font text-gray-600">TUE</div>
<div class="text-center techy-font text-gray-600">WED</div>
<div class="text-center techy-font text-gray-600">THU</div>
<div class="text-center techy-font text-gray-600">FRI</div>
<div class="text-center techy-font text-gray-600">SAT</div>
<!-- Calendar days -->
<div class="h-12 flex items-center justify-center rounded bg-gray-100 text-gray-500">26</div>
<div class="h-12 flex items-center justify-center rounded bg-gray-100 text-gray-500">27</div>
<div class="h-12 flex items-center justify-center rounded bg-orange-500 text-white">28</div>
<div class="h-12 flex items-center justify-center rounded bg-orange-500 text-white">29</div>
<div class="h-12 flex items-center justify-center rounded bg-orange-500 text-white">30</div>
<div class="h-12 flex items-center justify-center rounded bg-gray-100 text-gray-500">1</div>
<div class="h-12 flex items-center justify-center rounded bg-gray-100 text-gray-500">2</div>
</div>
<div class="techy-font text-center text-gray-700">
<p>Your current streak: <span class="font-bold flame-text">3 days</span></p>
<p class="mt-2">Don't break the chain! Exercise every day to build the habit.</p>
</div>
</div>
</div>
</div>
</section>
<!-- Body Fuel Section -->
<section id="fuel" class="py-20 px-4 bg-white">
<div class="container mx-auto">
<h2 class="comic-font text-5xl text-center mb-16 flame-text">FUEL YOUR WORKOUT</h2>
<div class="grid md:grid-cols-2 gap-10 items-center">
<div class="order-2 md:order-1">
<h3 class="comic-font text-3xl mb-6 flame-text">ENERGY SMOOTHIE RECIPE</h3>
<div class="techy-font bg-orange-50 rounded-xl p-6 shadow-md">
<h4 class="text-xl font-bold mb-3 text-gray-800">Ingredients:</h4>
<ul class="mb-6 space-y-2 text-gray-700">
<li>1 banana (frozen for thickness)</li>
<li>1 cup spinach</li>
<li>1/2 cup Greek yogurt</li>
<li>1 tbsp peanut butter</li>
<li>1 cup almond milk</li>
<li>1 tsp chia seeds</li>
<li>1 scoop protein powder (optional)</li>
</ul>
<h4 class="text-xl font-bold mb-3 text-gray-800">Instructions:</h4>
<ol class="space-y-2 text-gray-700">
<li>1. Add all ingredients to blender</li>
<li>2. Blend until smooth (about 1 minute)</li>
<li>3. Pour into glass and enjoy immediately</li>
</ol>
<div class="mt-6 p-4 bg-orange-100 rounded">
<h4 class="font-bold mb-2 text-gray-800">Nutrition Info:</h4>
<p class="text-gray-700">Calories: ~300 | Protein: 20g | Carbs: 40g | Fat: 8g</p>
</div>
</div>
</div>
<div class="order-1 md:order-2">
<img src="https://images.unsplash.com/photo-1546069901-ba9599a7e63c?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80" alt="Healthy Smoothie" class="w-full h-auto rounded-xl shadow-xl">
</div>
</div>
<div class="mt-20 grid md:grid-cols-3 gap-8">
<div class="bg-white rounded-xl p-6 shadow-md">
<h3 class="comic-font text-2xl mb-4 flame-text">PRE-WORKOUT</h3>
<p class="techy-font text-gray-700">Eat a small meal with carbs and protein 1-2 hours before exercise. Try oatmeal with berries or toast with peanut butter.</p>
</div>
<div class="bg-white rounded-xl p-6 shadow-md">
<h3 class="comic-font text-2xl mb-4 flame-text">DURING WORKOUT</h3>
<p class="techy-font text-gray-700">Stay hydrated! Drink water every 15-20 minutes. For workouts over 1 hour, consider a sports drink or banana for quick energy.</p>
</div>
<div class="bg-white rounded-xl p-6 shadow-md">
<h3 class="comic-font text-2xl mb-4 flame-text">POST-WORKOUT</h3>
<p class="techy-font text-gray-700">Refuel within 45 minutes with protein and carbs. Chocolate milk, chicken with rice, or our energy smoothie are great options.</p>
</div>
</div>
</div>
</section>
<!-- Motivation Section -->
<section id="motivation" class="py-20 px-4 bg-orange-50">
<div class="container mx-auto">
<h2 class="comic-font text-5xl text-center mb-16 flame-text">GET MOTIVATED</h2>
<div class="max-w-4xl mx-auto">
<div class="bg-white rounded-xl p-8 mb-10 shadow-lg">
<h3 class="comic-font text-3xl mb-6 text-center flame-text">FITNESS CHALLENGE</h3>
<div class="techy-font text-center mb-6 text-gray-700">
<p>Complete all 5 challenges this week to unlock the "Fit Warrior" badge!</p>
</div>
<div class="grid md:grid-cols-5 gap-4">
<div class="bg-orange-100 rounded p-4 text-center">
<div class="text-4xl mb-2">πŸ’ͺ</div>
<p class="font-bold text-gray-800">50 Pushups</p>
<div class="mt-2 h-2 bg-gray-300 rounded-full">
<div class="h-2 bg-orange-500 rounded-full" style="width: 60%"></div>
</div>
</div>
<div class="bg-orange-100 rounded p-4 text-center">
<div class="text-4xl mb-2">πŸƒ</div>
<p class="font-bold text-gray-800">2 Mile Run</p>
<div class="mt-2 h-2 bg-gray-300 rounded-full">
<div class="h-2 bg-orange-500 rounded-full" style="width: 30%"></div>
</div>
</div>
<div class="bg-orange-100 rounded p-4 text-center">
<div class="text-4xl mb-2">🧘</div>
<p class="font-bold text-gray-800">5 Min Plank</p>
<div class="mt-2 h-2 bg-gray-300 rounded-full">
<div class="h-2 bg-orange-500 rounded-full" style="width: 10%"></div>
</div>
</div>
<div class="bg-orange-100 rounded p-4 text-center">
<div class="text-4xl mb-2">🍎</div>
<p class="font-bold text-gray-800">5 Healthy Meals</p>
<div class="mt-2 h-2 bg-gray-300 rounded-full">
<div class="h-2 bg-orange-500 rounded-full" style="width: 80%"></div>
</div>
</div>
<div class="bg-orange-100 rounded p-4 text-center">
<div class="text-4xl mb-2">πŸ’€</div>
<p class="font-bold text-gray-800">7+ Hours Sleep</p>
<div class="mt-2 h-2 bg-gray-300 rounded-full">
<div class="h-2 bg-orange-500 rounded-full" style="width: 40%"></div>
</div>
</div>
</div>
</div>
<div class="bg-white rounded-xl p-8 shadow-lg">
<h3 class="comic-font text-3xl mb-6 text-center flame-text">FITNESS PLAYLIST</h3>
<div class="techy-font text-center mb-6 text-gray-700">
<p>Music can boost workout performance by up to 15%. Here's our top picks to power your session:</p>
</div>
<div class="grid gap-4">
<div class="flex items-center p-3 bg-orange-50 rounded hover:bg-orange-100 transition">
<div class="text-2xl mr-4 text-orange-500">1</div>
<div class="flex-grow">
<div class="font-bold text-gray-800">Eye of the Tiger</div>
<div class="text-sm text-gray-600">Survivor</div>
</div>
<div class="text-orange-500">3:45</div>
</div>
<div class="flex items-center p-3 bg-orange-50 rounded hover:bg-orange-100 transition">
<div class="text-2xl mr-4 text-orange-500">2</div>
<div class="flex-grow">
<div class="font-bold text-gray-800">Stronger</div>
<div class="text-sm text-gray-600">Kanye West</div>
</div>
<div class="text-orange-500">4:06</div>
</div>
<div class="flex items-center p-3 bg-orange-50 rounded hover:bg-orange-100 transition">
<div class="text-2xl mr-4 text-orange-500">3</div>
<div class="flex-grow">
<div class="font-bold text-gray-800">Can't Hold Us</div>
<div class="text-sm text-gray-600">Macklemore & Ryan Lewis</div>
</div>
<div class="text-orange-500">4:18</div>
</div>
<div class="flex items-center p-3 bg-orange-50 rounded hover:bg-orange-100 transition">
<div class="text-2xl mr-4 text-orange-500">4</div>
<div class="flex-grow">
<div class="font-bold text-gray-800">Lose Yourself</div>
<div class="text-sm text-gray-600">Eminem</div>
</div>
<div class="text-orange-500">5:26</div>
</div>
<div class="flex items-center p-3 bg-orange-50 rounded hover:bg-orange-100 transition">
<div class="text-2xl mr-4 text-orange-500">5</div>
<div class="flex-grow">
<div class="font-bold text-gray-800">Thunderstruck</div>
<div class="text-sm text-gray-600">AC/DC</div>
</div>
<div class="text-orange-500">4:52</div>
</div>
</div>
<div class="mt-6 text-center">
<button onclick="playMusic()" class="inline-block gradient-bg hover:opacity-90 text-white comic-font py-2 px-6 rounded-full transition transform hover:scale-105 shadow-md">
PLAY WORKOUT MIX
</button>
</div>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-900 py-12 px-4">
<div class="container mx-auto">
<div class="flex flex-col md:flex-row justify-between items-center">
<div class="mb-6 md:mb-0">
<h2 class="comic-font text-3xl flame-text">What Is With People And Exercise?</h2>
<p class="techy-font mt-2 text-gray-400">Helping you unlock your fitness potential since 2023</p>
</div>
<div class="flex space-x-6">
<a href="#" class="text-gray-400 hover:text-orange-400 transition">
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12c0 4.991 3.657 9.128 8.438 9.878v-6.987h-2.54V12h2.54V9.797c0-2.506 1.492-3.89 3.777-3.89 1.094 0 2.238.195 2.238.195v2.46h-1.26c-1.243 0-1.63.771-1.63 1.562V12h2.773l-.443 2.89h-2.33v6.988C18.343 21.128 22 16.991 22 12z"/>
</svg>
</a>
<a href="#" class="text-gray-400 hover:text-orange-400 transition">
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M12.315 2c2.43 0 2.784.013 3.808.06 1.064.049 1.791.218 2.427.465a4.902 4.902 0 011.772 1.153 4.902 4.902 0 011.153 1.772c.247.636.416 1.363.465 2.427.048 1.067.06 1.407.06 4.123v.08c0 2.643-.012 2.987-.06 4.043-.049 1.064-.218 1.791-.465 2.427a4.902 4.902 0 01-1.153 1.772 4.902 4.902 0 01-1.772 1.153c-.636.247-1.363.416-2.427.465-1.067.048-1.407.06-4.123.06h-.08c-2.597 0 2.917-.01 3.96-.058.976-.045 1.505-.207 1.858-.344.466-.182.8-.398 1.15-.748.35-.35.566-.683.748-1.15.137-.353.3-.882.344-1.857.048-1.055.058-1.37.058-4.041v-.08c0-2.597-.01-2.917-.058-3.96-.045-.976-.207-1.505-.344-1.858a3.097 3.097 0 00-.748-1.15 3.098 3.098 0 00-1.15-.748c-.353-.137-.882-.3-1.857-.344-1.023-.047-1.351-.058-3.807-.058zM12 6.865a5.135 5.135 0 110 10.27 5.135 5.135 0 010-10.27zm0 1.802a3.333 3.333 0 100 6.666 3.333 3.333 0 000-6.666zm5.338-3.205a1.2 1.2 0 110 2.4 1.2 1.2 0 010-2.4z"/>
</svg>
</a>
<a href="#" class="text-gray-400 hover:text-orange-400 transition">
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M8.29 20.251c7.547 0 11.675-6.253 11.675-11.675 0-.178 0-.355-.012-.53A8.348 8.348 0 0022 5.92a8.19 8.19 0 01-2.357.646 4.118 4.118 0 001.804-2.27 8.224 8.224 0 01-2.605.996 4.107 4.107 0 00-6.993 3.743 11.65 11.65 0 01-8.457-4.287 4.106 4.106 0 001.27 5.477A4.072 4.072 0 012.8 9.713v.052a4.105 4.105 0 003.292 4.022 4.095 4.095 0 01-1.853.07 4.108 4.108 0 003.834 2.85A8.233 8.233 0 012 18.407a11.616 11.616 0 006.29 1.84"/>
</svg>
</a>
<a href="#" class="text-gray-400 hover:text-orange-400 transition">
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M19.615 3.184c-3.604-.246-11.631-.245-15.23 0-3.897.266-4.356 2.62-4.385 8.816.029 6.185.484 8.549 4.385 8.816 3.6.245 11.626.246 15.23 0 3.897-.266 4.356-2.62 4.385-8.816-.029-6.185-.484-8.549-4.385-8.816zm-10.615 12.816v-8l8 3.993-8 4.007z"/>
</svg>
</a>
</div>
</div>
<div class="mt-8 pt-8 border-t border-gray-800 text-center techy-font text-gray-400">
<p>Β© 2023 What Is With People And Exercise? All rights reserved.</p>
<p class="mt-2">Made with πŸ’ͺ for fitness enthusiasts</p>
</div>
</div>
</footer>
<!-- Robot Mascot -->
<div class="robot-mascot" id="robotMascot">
<svg width="80" height="80" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20Z" fill="#f97316"/>
<path d="M12 6C9.79 6 8 7.79 8 10C8 12.21 9.79 14 12 14C14.21 14 16 12.21 16 10C16 7.79 14.21 6 12 6ZM12 12C10.9 12 10 11.1 10 10C10 8.9 10.9 8 12 8C13.1 8 14 8.9 14 10C14 11.1 13.1 12 12 12Z" fill="#f97316"/>
<path d="M6.5 8.5L4.5 6.5C3.67 7.33 3.08 8.38 2.77 9.54L4.83 10.05C5.06 9.05 5.6 8.15 6.5 8.5Z" fill="#ef4444"/>
<path d="M21.23 9.54C20.92 8.38 20.33 7.33 19.5 6.5L17.5 8.5C18.4 8.15 18.94 9.05 19.17 10.05L21.23 9.54Z" fill="#ef4444"/>
<path d="M7 15H17C17 16.65 15.65 18 14 18H10C8.35 18 7 16.65 7 15Z" fill="#f59e0b"/>
</svg>
</div>
<!-- Audio Element (hidden) -->
<audio id="workoutMusic" src="https://assets.mixkit.co/music/preview/mixkit-energetic-rock-01-166.mp3"></audio>
<script>
// Money Steps Counter
let steps = 0;
function addSteps() {
steps += 100;
document.getElementById('stepCount').textContent = steps;
document.getElementById('moneyEarned').textContent = steps;
// Animation effect
const counter = document.getElementById('stepCount');
counter.classList.add('animate-bounce');
setTimeout(() => {
counter.classList.remove('animate-bounce');
}, 1000);
// Play sound effect
const audio = new Audio('https://assets.mixkit.co/sfx/preview/mixkit-achievement-bell-600.mp3');
audio.volume = 0.3;
audio.play();
}
// Mobile menu toggle
document.getElementById('mobileMenuButton').addEventListener('click', function() {
const menu = document.getElementById('mobileMenu');
menu.classList.toggle('hidden');
});
// Smooth scrolling for anchor links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
document.querySelector(this.getAttribute('href')).scrollIntoView({
behavior: 'smooth'
});
// Close mobile menu if open
document.getElementById('mobileMenu').classList.add('hidden');
});
});
// Robot mascot interaction
const robot = document.getElementById('robotMascot');
robot.addEventListener('click', function() {
const messages = [
"πŸ’ͺ Keep pushing!",
"πŸ”₯ You got this!",
"πŸ‹οΈβ€β™‚οΈ One more rep!",
"πŸš€ Go for it!",
"πŸ’― You're killing it!"
];
const randomMessage = messages[Math.floor(Math.random() * messages.length)];
// Create speech bubble
const bubble = document.createElement('div');
bubble.className = 'absolute bottom-full right-0 mb-2 px-3 py-2 bg-white text-gray-800 rounded-lg shadow-lg text-sm font-bold';
bubble.textContent = randomMessage;
bubble.style.minWidth = '120px';
bubble.style.transform = 'translateX(20px)';
robot.appendChild(bubble);
// Remove after 3 seconds
setTimeout(() => {
bubble.remove();
}, 3000);
});
// Play workout music
function playMusic() {
const audio = document.getElementById('workoutMusic');
if (audio.paused) {
audio.play();
document.querySelector('button[onclick="playMusic()"]').textContent = 'PAUSE MUSIC';
} else {
audio.pause();
document.querySelector('button[onclick="playMusic()"]').textContent = 'PLAY WORKOUT MIX';
}
}
// Countdown timer for workout challenges
function startCountdown() {
let timeLeft = 30; // 30 seconds
const timerElement = document.createElement('div');
timerElement.className = 'fixed bottom-4 left-4 bg-orange-500 text-white px-4 py-2 rounded-full shadow-lg font-bold';
timerElement.textContent = `⏱️ ${timeLeft}s`;
document.body.appendChild(timerElement);
const countdown = setInterval(() => {
timeLeft--;
timerElement.textContent = `⏱️ ${timeLeft}s`;
if (timeLeft <= 0) {
clearInterval(countdown);
timerElement.textContent = '⏱️ Time\'s up!';
setTimeout(() => {
timerElement.remove();
}, 2000);
}
}, 1000);
}
// Start countdown when page loads (for demo purposes)
window.addEventListener('load', startCountdown);
</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=lilctwentythree/exercise" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>