Spaces:
Running
Running
Download index.html from rohithgouti21/deploy: direct link, hf CLI and curl.
- Browser
- Download file 73.8 kB
-
https://huggingface.co/spaces/rohithgouti21/deploy/resolve/main/index.html
- Command line
-
hf download hf://spaces/rohithgouti21/deploy/index.html
-
curl -L -o index.html https://huggingface.co/spaces/rohithgouti21/deploy/resolve/main/index.html
73.8 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Ocean Guardians - Gamified Ocean Literacy</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@300;400;500;600;700&display=swap');
body {
font-family: 'Poppins', sans-serif;
background: linear-gradient(135deg, #1a2980, #26d0ce);
min-height: 100vh;
}
.wave-bg {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 100px;
background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23ffffff"></path><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%23ffffff"></path><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23ffffff"></path></svg>');
background-size: cover;
z-index: -1;
}
.card-hover {
transition: all 0.3s ease;
}
.card-hover:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.progress-bar {
height: 10px;
border-radius: 5px;
background-color: #e0e0e0;
}
.progress-fill {
height: 100%;
border-radius: 5px;
background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%;
transition: width 0.5s ease;
}
.avatar-selector {
transition: all 0.3s ease;
border: 2px solid transparent;
}
.avatar-selector:hover, .avatar-selector.selected {
transform: scale(1.1);
border-color: #3b82f6;
}
.game-card {
perspective: 1000px;
}
.game-card-inner {
transition: transform 0.6s;
transform-style: preserve-3d;
}
.game-card:hover .game-card-inner {
transform: rotateY(10deg);
}
.tab-active {
border-bottom: 3px solid #3b82f6;
color: #3b82f6;
font-weight: 600;
}
.game-container {
background-image: url('https://cdn.pixabay.com/photo/2013/07/12/18/20/sailing-ship-153223_1280.png');
background-size: cover;
background-position: center;
min-height: 500px;
}
.resource-card {
transition: all 0.3s ease;
background: rgba(255, 255, 255, 0.9);
}
.resource-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
</style>
</head>
<body class="text-gray-800">
<!-- Navigation -->
<nav class="bg-white bg-opacity-90 shadow-sm fixed w-full z-10">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16">
<div class="flex items-center">
<div class="flex-shrink-0 flex items-center">
<i class="fas fa-water text-blue-500 text-2xl mr-2"></i>
<span class="text-xl font-bold text-blue-600">Ocean Guardians</span>
</div>
</div>
<div class="hidden md:ml-6 md:flex md:items-center md:space-x-8">
<a href="#home" class="text-gray-600 hover:text-blue-600 px-3 py-2 rounded-md text-sm font-medium">Home</a>
<a href="#game-section" class="text-gray-600 hover:text-blue-600 px-3 py-2 rounded-md text-sm font-medium">Game</a>
<a href="#resources" class="text-gray-600 hover:text-blue-600 px-3 py-2 rounded-md text-sm font-medium">Resources</a>
<a href="#leaderboard" class="text-gray-600 hover:text-blue-600 px-3 py-2 rounded-md text-sm font-medium">Leaderboard</a>
<a href="#profile" class="text-gray-600 hover:text-blue-600 px-3 py-2 rounded-md text-sm font-medium">Profile</a>
<button id="loginBtn" class="bg-blue-500 hover:bg-blue-600 text-white px-4 py-2 rounded-md text-sm font-medium transition duration-300">Login / Register</button>
</div>
<div class="-mr-2 flex items-center md:hidden">
<button type="button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-blue-500" aria-controls="mobile-menu" aria-expanded="false">
<span class="sr-only">Open main menu</span>
<i class="fas fa-bars"></i>
</button>
</div>
</div>
</div>
</nav>
<!-- Hero Section -->
<section id="home" class="pt-24 pb-16 px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto text-white">
<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 mb-4">Become an <span class="text-yellow-300">Ocean Guardian</span></h1>
<p class="text-xl mb-8">Learn about ocean sustainability through an immersive gaming experience. Make strategic decisions, earn points, and compete on leaderboards while gaining valuable knowledge about our oceans.</p>
<div class="flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4">
<a href="#game-section" class="bg-yellow-400 hover:bg-yellow-500 text-blue-900 font-bold py-3 px-6 rounded-lg shadow-lg transition duration-300 flex items-center justify-center">
<i class="fas fa-play mr-2"></i> Play Now
</a>
<a href="#resources" class="bg-white hover:bg-gray-100 text-blue-600 font-bold py-3 px-6 rounded-lg shadow-lg transition duration-300 flex items-center justify-center">
<i class="fas fa-info-circle mr-2"></i> Learn More
</a>
</div>
</div>
<div class="md:w-1/2 flex justify-center">
<img src="https://cdn.pixabay.com/photo/2017/01/31/23/42/decorative-2028037_1280.png" alt="Ocean Guardian" class="w-full max-w-md">
</div>
</div>
<div class="wave-bg"></div>
</section>
<!-- Game Section -->
<section id="game-section" class="py-16 px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto bg-white rounded-xl shadow-lg mt-10">
<div class="text-center mb-12">
<h2 class="text-3xl font-bold text-blue-600 mb-4">Ocean Guardians Game</h2>
<div class="w-24 h-1 bg-blue-400 mx-auto"></div>
</div>
<div class="mb-8">
<div class="border-b border-gray-200">
<nav class="-mb-px flex space-x-8">
<button id="tab-gameplay" class="tab-active whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm">
Gameplay
</button>
<button id="tab-roles" class="whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm text-gray-500 hover:text-gray-700 hover:border-gray-300">
Roles
</button>
<button id="tab-tutorial" class="whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm text-gray-500 hover:text-gray-700 hover:border-gray-300">
Tutorial
</button>
</nav>
</div>
</div>
<!-- Gameplay Tab Content -->
<div id="gameplay-content" class="tab-content">
<div class="grid md:grid-cols-2 gap-8 items-center">
<div>
<h3 class="text-2xl font-semibold text-gray-800 mb-4">How to Play Ocean Guardians</h3>
<p class="text-gray-600 mb-6">Embark on an exciting journey to learn about ocean sustainability through interactive gameplay. Make strategic decisions based on real ocean data to progress through levels and climb the leaderboards.</p>
<div class="space-y-4">
<div class="flex items-start">
<div class="flex-shrink-0 bg-blue-100 p-2 rounded-full">
<i class="fas fa-user-tie text-blue-600"></i>
</div>
<div class="ml-3">
<h4 class="text-lg font-medium text-gray-800">Choose Your Role</h4>
<p class="mt-1 text-gray-600">Select from various ocean-related professions like fisherman, ship captain, or tourism operator.</p>
</div>
</div>
<div class="flex items-start">
<div class="flex-shrink-0 bg-green-100 p-2 rounded-full">
<i class="fas fa-map-marked-alt text-green-600"></i>
</div>
<div class="ml-3">
<h4 class="text-lg font-medium text-gray-800">Navigate the Ocean</h4>
<p class="mt-1 text-gray-600">Use simulated ocean data from INCOIS to make navigation decisions.</p>
</div>
</div>
<div class="flex items-start">
<div class="flex-shrink-0 bg-yellow-100 p-2 rounded-full">
<i class="fas fa-check-circle text-yellow-600"></i>
</div>
<div class="ml-3">
<h4 class="text-lg font-medium text-gray-800">Make Decisions</h4>
<p class="mt-1 text-gray-600">Choose whether to fish in Potential Fishing Zones (PFZ), move away from tsunamis, or protect marine areas.</p>
</div>
</div>
<div class="flex items-start">
<div class="flex-shrink-0 bg-purple-100 p-2 rounded-full">
<i class="fas fa-trophy text-purple-600"></i>
</div>
<div class="ml-3">
<h4 class="text-lg font-medium text-gray-800">Earn Rewards</h4>
<p class="mt-1 text-gray-600">Correct decisions earn points and help you level up. Compete on daily and weekly leaderboards.</p>
</div>
</div>
</div>
</div>
<div class="game-container rounded-xl shadow-lg overflow-hidden relative">
<div class="absolute inset-0 bg-black bg-opacity-30 flex items-center justify-center">
<button class="bg-white hover:bg-gray-100 text-blue-600 font-bold py-3 px-8 rounded-lg shadow-lg transition duration-300 inline-flex items-center">
<i class="fas fa-play mr-2"></i> Start Playing
</button>
</div>
</div>
</div>
</div>
<!-- Roles Tab Content -->
<div id="roles-content" class="tab-content hidden">
<div class="grid md:grid-cols-3 gap-8">
<!-- Fisherman Role -->
<div class="game-card">
<div class="game-card-inner bg-white rounded-xl shadow-lg overflow-hidden border border-gray-200">
<div class="h-48 bg-blue-500 flex items-center justify-center">
<i class="fas fa-fish text-white text-7xl"></i>
</div>
<div class="p-6">
<h3 class="text-xl font-bold text-gray-800 mb-2">Fisherman</h3>
<p class="text-gray-600 mb-4">Navigate fishing zones, understand marine ecosystems, and make sustainable fishing decisions.</p>
<div class="flex justify-between items-center">
<span class="text-sm font-medium text-gray-500">Difficulty: <span class="text-blue-600">Medium</span></span>
<button class="bg-blue-500 hover:bg-blue-600 text-white px-4 py-2 rounded-md text-sm font-medium transition duration-300">Select Role</button>
</div>
</div>
</div>
</div>
<!-- Ship Captain Role -->
<div class="game-card">
<div class="game-card-inner bg-white rounded-xl shadow-lg overflow-hidden border border-gray-200">
<div class="h-48 bg-green-500 flex items-center justify-center">
<i class="fas fa-ship text-white text-7xl"></i>
</div>
<div class="p-6">
<h3 class="text-xl font-bold text-gray-800 mb-2">Ship Captain</h3>
<p class="text-gray-600 mb-4">Navigate shipping routes, avoid marine hazards, and minimize environmental impact.</p>
<div class="flex justify-between items-center">
<span class="text-sm font-medium text-gray-500">Difficulty: <span class="text-green-600">Hard</span></span>
<button class="bg-green-500 hover:bg-green-600 text-white px-4 py-2 rounded-md text-sm font-medium transition duration-300">Select Role</button>
</div>
</div>
</div>
</div>
<!-- Tourism Operator Role -->
<div class="game-card">
<div class="game-card-inner bg-white rounded-xl shadow-lg overflow-hidden border border-gray-200">
<div class="h-48 bg-purple-500 flex items-center justify-center">
<i class="fas fa-umbrella-beach text-white text-7xl"></i>
</div>
<div class="p-6">
<h3 class="text-xl font-bold text-gray-800 mb-2">Tourism Operator</h3>
<p class="text-gray-600 mb-4">Manage coastal tourism activities while protecting marine environments and wildlife.</p>
<div class="flex justify-between items-center">
<span class="text-sm font-medium text-gray-500">Difficulty: <span class="text-purple-600">Easy</span></span>
<button class="bg-purple-500 hover:bg-purple-600 text-white px-4 py-2 rounded-md text-sm font-medium transition duration-300">Select Role</button>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Tutorial Tab Content -->
<div id="tutorial-content" class="tab-content hidden">
<div class="grid md:grid-cols-2 gap-8">
<div>
<h3 class="text-2xl font-semibold text-gray-800 mb-4">Game Tutorial</h3>
<p class="text-gray-600 mb-6">Learn how to navigate the Ocean Guardians game with these step-by-step instructions.</p>
<div class="space-y-6">
<div class="flex">
<div class="flex-shrink-0 bg-blue-100 rounded-full h-10 w-10 flex items-center justify-center">
<span class="text-blue-600 font-bold">1</span>
</div>
<div class="ml-4">
<h4 class="text-lg font-medium text-gray-800">Create Your Account</h4>
<p class="mt-2 text-gray-600">Register with your email or social media accounts to save your progress and compete on leaderboards.</p>
</div>
</div>
<div class="flex">
<div class="flex-shrink-0 bg-green-100 rounded-full h-10 w-10 flex items-center justify-center">
<span class="text-green-600 font-bold">2</span>
</div>
<div class="ml-4">
<h4 class="text-lg font-medium text-gray-800">Select Your Role</h4>
<p class="mt-2 text-gray-600">Choose from various ocean-related professions, each with unique challenges and learning opportunities.</p>
</div>
</div>
<div class="flex">
<div class="flex-shrink-0 bg-yellow-100 rounded-full h-10 w-10 flex items-center justify-center">
<span class="text-yellow-600 font-bold">3</span>
</div>
<div class="ml-4">
<h4 class="text-lg font-medium text-gray-800">Understand the Interface</h4>
<p class="mt-2 text-gray-600">Familiarize yourself with the game map, ocean data displays, and decision-making tools.</p>
</div>
</div>
<div class="flex">
<div class="flex-shrink-0 bg-purple-100 rounded-full h-10 w-10 flex items-center justify-center">
<span class="text-purple-600 font-bold">4</span>
</div>
<div class="ml-4">
<h4 class="text-lg font-medium text-gray-800">Make Your First Decision</h4>
<p class="mt-2 text-gray-600">Use the provided ocean data to make an informed choice about your next action.</p>
</div>
</div>
</div>
</div>
<div class="bg-gray-50 rounded-xl p-6">
<h4 class="text-lg font-semibold text-gray-800 mb-4">Video Tutorial</h4>
<div class="aspect-w-16 aspect-h-9 bg-gray-200 rounded-lg overflow-hidden flex items-center justify-center">
<i class="fas fa-play-circle text-5xl text-gray-400"></i>
</div>
<div class="mt-4">
<button class="bg-blue-500 hover:bg-blue-600 text-white px-4 py-2 rounded-md text-sm font-medium transition duration-300">
<i class="fas fa-download mr-2"></i> Download Game Guide
</button>
</div>
</div>
</div>
</div>
</section>
<!-- Resources Section -->
<section id="resources" class="py-16 px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto mt-10">
<div class="text-center mb-12">
<h2 class="text-3xl font-bold text-white mb-4">Ocean Resources & Learning</h2>
<div class="w-24 h-1 bg-white mx-auto"></div>
</div>
<div class="grid md:grid-cols-3 gap-8">
<!-- UN Ocean Decade -->
<div class="resource-card rounded-lg overflow-hidden shadow-md">
<div class="h-48 bg-blue-600 flex items-center justify-center">
<i class="fas fa-globe-americas text-white text-7xl"></i>
</div>
<div class="p-6">
<h3 class="text-xl font-bold text-gray-800 mb-2">UN Ocean Decade</h3>
<p class="text-gray-600 mb-4">Learn about the United Nations Decade of Ocean Science for Sustainable Development (2021-2030) and its challenges.</p>
<a href="https://oceandecade.org" target="_blank" class="text-blue-600 hover:text-blue-800 font-medium inline-flex items-center">
Visit Website <i class="fas fa-external-link-alt ml-2"></i>
</a>
</div>
</div>
<!-- INCOIS -->
<div class="resource-card rounded-lg overflow-hidden shadow-md">
<div class="h-48 bg-green-600 flex items-center justify-center">
<i class="fas fa-water text-white text-7xl"></i>
</div>
<div class="p-6">
<h3 class="text-xl font-bold text-gray-800 mb-2">INCOIS</h3>
<p class="text-gray-600 mb-4">Indian National Centre for Ocean Information Services provides ocean data and advisory services.</p>
<a href="https://incois.gov.in" target="_blank" class="text-green-600 hover:text-green-800 font-medium inline-flex items-center">
Visit Website <i class="fas fa-external-link-alt ml-2"></i>
</a>
</div>
</div>
<!-- SDGs -->
<div class="resource-card rounded-lg overflow-hidden shadow-md">
<div class="h-48 bg-yellow-500 flex items-center justify-center">
<i class="fas fa-chart-line text-white text-7xl"></i>
</div>
<div class="p-6">
<h3 class="text-xl font-bold text-gray-800 mb-2">Sustainable Development Goals</h3>
<p class="text-gray-600 mb-4">Explore the 17 UN SDGs, particularly Goal 14: Life Below Water.</p>
<a href="https://sdgs.un.org/goals" target="_blank" class="text-yellow-600 hover:text-yellow-800 font-medium inline-flex items-center">
Visit Website <i class="fas fa-external-link-alt ml-2"></i>
</a>
</div>
</div>
<!-- Marine Conservation -->
<div class="resource-card rounded-lg overflow-hidden shadow-md">
<div class="h-48 bg-purple-600 flex items-center justify-center">
<i class="fas fa-fish text-white text-7xl"></i>
</div>
<div class="p-6">
<h3 class="text-xl font-bold text-gray-800 mb-2">Marine Conservation</h3>
<p class="text-gray-600 mb-4">Resources about marine protected areas, sustainable fishing, and ocean conservation efforts.</p>
<a href="https://www.marineconservation.org.au" target="_blank" class="text-purple-600 hover:text-purple-800 font-medium inline-flex items-center">
Learn More <i class="fas fa-external-link-alt ml-2"></i>
</a>
</div>
</div>
<!-- Ocean Literacy -->
<div class="resource-card rounded-lg overflow-hidden shadow-md">
<div class="h-48 bg-red-500 flex items-center justify-center">
<i class="fas fa-book text-white text-7xl"></i>
</div>
<div class="p-6">
<h3 class="text-xl font-bold text-gray-800 mb-2">Ocean Literacy</h3>
<p class="text-gray-600 mb-4">Educational materials about ocean principles, ecosystems, and human-ocean interactions.</p>
<a href="https://oceanliteracy.unesco.org" target="_blank" class="text-red-600 hover:text-red-800 font-medium inline-flex items-center">
Explore <i class="fas fa-external-link-alt ml-2"></i>
</a>
</div>
</div>
<!-- Game Resources -->
<div class="resource-card rounded-lg overflow-hidden shadow-md">
<div class="h-48 bg-teal-500 flex items-center justify-center">
<i class="fas fa-gamepad text-white text-7xl"></i>
</div>
<div class="p-6">
<h3 class="text-xl font-bold text-gray-800 mb-2">Game Resources</h3>
<p class="text-gray-600 mb-4">Download game guides, tutorials, and additional learning materials for Ocean Guardians.</p>
<button class="text-teal-600 hover:text-teal-800 font-medium inline-flex items-center">
Download <i class="fas fa-download ml-2"></i>
</button>
</div>
</div>
</div>
<div class="mt-12 text-center">
<button class="bg-white hover:bg-gray-100 text-blue-600 font-bold py-3 px-8 rounded-lg shadow-lg transition duration-300 inline-flex items-center">
<i class="fas fa-book-open mr-2"></i> View All Resources
</button>
</div>
</section>
<!-- Leaderboard Section -->
<section id="leaderboard" class="py-16 px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto bg-white rounded-xl shadow-lg mt-10">
<div class="text-center mb-12">
<h2 class="text-3xl font-bold text-blue-600 mb-4">Leaderboard</h2>
<div class="w-24 h-1 bg-blue-400 mx-auto"></div>
</div>
<div class="mb-8">
<div class="border-b border-gray-200">
<nav class="-mb-px flex space-x-8">
<button id="tab-daily" class="tab-active whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm">
Daily
</button>
<button id="tab-weekly" class="whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm text-gray-500 hover:text-gray-700 hover:border-gray-300">
Weekly
</button>
<button id="tab-alltime" class="whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm text-gray-500 hover:text-gray-700 hover:border-gray-300">
All-Time
</button>
</nav>
</div>
</div>
<!-- Daily Leaderboard -->
<div id="daily-content" class="tab-content">
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-gray-200">
<thead class="bg-gray-50">
<tr>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Rank</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Player</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Role</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Points</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Level</th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200">
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10 bg-yellow-400 rounded-full flex items-center justify-center">
<span class="text-white font-bold">1</span>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10">
<img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/women/12.jpg" alt="">
</div>
<div class="ml-4">
<div class="text-sm font-medium text-gray-900">Marina Explorer</div>
<div class="text-sm text-gray-500">Fisherman</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">Fisherman</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">1,250</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm text-gray-900">15</div>
<div class="w-full bg-gray-200 rounded-full h-2.5 mt-1">
<div class="bg-blue-600 h-2.5 rounded-full" style="width: 75%"></div>
</div>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10 bg-gray-300 rounded-full flex items-center justify-center">
<span class="text-white font-bold">2</span>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10">
<img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/men/32.jpg" alt="">
</div>
<div class="ml-4">
<div class="text-sm font-medium text-gray-900">Captain Nemo</div>
<div class="text-sm text-gray-500">Ship Captain</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Ship Captain</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">1,120</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm text-gray-900">14</div>
<div class="w-full bg-gray-200 rounded-full h-2.5 mt-1">
<div class="bg-green-600 h-2.5 rounded-full" style="width: 60%"></div>
</div>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10 bg-yellow-600 rounded-full flex items-center justify-center">
<span class="text-white font-bold">3</span>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10">
<img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/women/45.jpg" alt="">
</div>
<div class="ml-4">
<div class="text-sm font-medium text-gray-900">Beach Bum</div>
<div class="text-sm text-gray-500">Tourism Operator</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-purple-100 text-purple-800">Tourism Operator</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">980</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm text-gray-900">12</div>
<div class="w-full bg-gray-200 rounded-full h-2.5 mt-1">
<div class="bg-purple-600 h-2.5 rounded-full" style="width: 80%"></div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="mt-8 flex justify-center">
<button class="bg-blue-500 hover:bg-blue-600 text-white px-6 py-2 rounded-md text-sm font-medium transition duration-300">
View Full Leaderboard
</button>
</div>
</div>
<!-- Weekly Leaderboard -->
<div id="weekly-content" class="tab-content hidden">
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-gray-200">
<thead class="bg-gray-50">
<tr>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Rank</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Player</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Role</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Points</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Level</th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200">
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10 bg-yellow-400 rounded-full flex items-center justify-center">
<span class="text-white font-bold">1</span>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10">
<img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/men/22.jpg" alt="">
</div>
<div class="ml-4">
<div class="text-sm font-medium text-gray-900">Deep Sea Dave</div>
<div class="text-sm text-gray-500">Fisherman</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">Fisherman</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">8,750</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm text-gray-900">25</div>
<div class="w-full bg-gray-200 rounded-full h-2.5 mt-1">
<div class="bg-blue-600 h-2.5 rounded-full" style="width: 45%"></div>
</div>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10 bg-gray-300 rounded-full flex items-center justify-center">
<span class="text-white font-bold">2</span>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10">
<img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/women/28.jpg" alt="">
</div>
<div class="ml-4">
<div class="text-sm font-medium text-gray-900">Ocean O'Reilly</div>
<div class="text-sm text-gray-500">Ship Captain</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Ship Captain</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">8,120</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm text-gray-900">24</div>
<div class="w-full bg-gray-200 rounded-full h-2.5 mt-1">
<div class="bg-green-600 h-2.5 rounded-full" style="width: 90%"></div>
</div>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10 bg-yellow-600 rounded-full flex items-center justify-center">
<span class="text-white font-bold">3</span>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10">
<img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/men/45.jpg" alt="">
</div>
<div class="ml-4">
<div class="text-sm font-medium text-gray-900">Sandy Shore</div>
<div class="text-sm text-gray-500">Tourism Operator</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-purple-100 text-purple-800">Tourism Operator</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">7,980</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm text-gray-900">22</div>
<div class="w-full bg-gray-200 rounded-full h-2.5 mt-1">
<div class="bg-purple-600 h-2.5 rounded-full" style="width: 70%"></div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="mt-8 flex justify-center">
<button class="bg-blue-500 hover:bg-blue-600 text-white px-6 py-2 rounded-md text-sm font-medium transition duration-300">
View Full Leaderboard
</button>
</div>
</div>
<!-- All-Time Leaderboard -->
<div id="alltime-content" class="tab-content hidden">
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-gray-200">
<thead class="bg-gray-50">
<tr>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Rank</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Player</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Role</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Points</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Level</th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200">
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10 bg-yellow-400 rounded-full flex items-center justify-center">
<span class="text-white font-bold">1</span>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10">
<img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/women/65.jpg" alt="">
</div>
<div class="ml-4">
<div class="text-sm font-medium text-gray-900">Aqua Queen</div>
<div class="text-sm text-gray-500">Fisherman</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">Fisherman</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">58,750</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm text-gray-900">50</div>
<div class="w-full bg-gray-200 rounded-full h-2.5 mt-1">
<div class="bg-blue-600 h-2.5 rounded-full" style="width: 95%"></div>
</div>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10 bg-gray-300 rounded-full flex items-center justify-center">
<span class="text-white font-bold">2</span>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10">
<img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/men/72.jpg" alt="">
</div>
<div class="ml-4">
<div class="text-sm font-medium text-gray-900">Neptune</div>
<div class="text-sm text-gray-500">Ship Captain</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Ship Captain</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">48,120</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm text-gray-900">45</div>
<div class="w-full bg-gray-200 rounded-full h-2.5 mt-1">
<div class="bg-green-600 h-2.5 rounded-full" style="width: 80%"></div>
</div>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10 bg-yellow-600 rounded-full flex items-center justify-center">
<span class="text-white font-bold">3</span>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10">
<img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/women/33.jpg" alt="">
</div>
<div class="ml-4">
<div class="text-sm font-medium text-gray-900">Coral Reef</div>
<div class="text-sm text-gray-500">Tourism Operator</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-purple-100 text-purple-800">Tourism Operator</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">37,980</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm text-gray-900">42</div>
<div class="w-full bg-gray-200 rounded-full h-2.5 mt-1">
<div class="bg-purple-600 h-2.5 rounded-full" style="width: 60%"></div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="mt-8 flex justify-center">
<button class="bg-blue-500 hover:bg-blue-600 text-white px-6 py-2 rounded-md text-sm font-medium transition duration-300">
View Full Leaderboard
</button>
</div>
</div>
</section>
<!-- Profile Section -->
<section id="profile" class="py-16 px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto mt-10">
<div class="bg-white rounded-xl shadow-lg overflow-hidden">
<div class="md:flex">
<div class="md:w-1/3 bg-blue-50 p-8">
<div class="text-center">
<div class="relative inline-block">
<img class="h-32 w-32 rounded-full mx-auto" src="https://randomuser.me/api/portraits/women/44.jpg" alt="Profile picture">
<button class="absolute bottom-0 right-0 bg-blue-500 hover:bg-blue-600 text-white p-2 rounded-full">
<i class="fas fa-camera"></i>
</button>
</div>
<h3 class="text-xl font-bold text-gray-800 mt-4">Ocean Explorer</h3>
<p class="text-blue-600">Level 15 Fisherman</p>
<div class="mt-6">
<div class="flex justify-between mb-1">
<span class="text-sm font-medium text-gray-600">Experience</span>
<span class="text-sm font-medium text-gray-600">75%</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2.5">
<div class="bg-blue-600 h-2.5 rounded-full" style="width: 75%"></div>
</div>
</div>
<div class="mt-8">
<h4 class="font-semibold text-gray-700 mb-3">Select Avatar</h4>
<div class="grid grid-cols-3 gap-3">
<div class="avatar-selector p-2 rounded-lg cursor-pointer">
<img src="https://cdn.pixabay.com/photo/2016/04/01/10/04/amusing-1300046_1280.png" alt="Avatar 1" class="w-full">
</div>
<div class="avatar-selector p-2 rounded-lg cursor-pointer selected">
<img src="https://cdn.pixabay.com/photo/2016/04/01/10/11/amusing-1300055_1280.png" alt="Avatar 2" class="w-full">
</div>
<div class="avatar-selector p-2 rounded-lg cursor-pointer">
<img src="https://cdn.pixabay.com/photo/2016/04/01/10/10/amusing-1300054_1280.png" alt="Avatar 3" class="w-full">
</div>
<div class="avatar-selector p-2 rounded-lg cursor-pointer">
<img src="https://cdn.pixabay.com/photo/2016/04/01/10/11/amusing-1300056_1280.png" alt="Avatar 4" class="w-full">
</div>
<div class="avatar-selector p-2 rounded-lg cursor-pointer">
<img src="https://cdn.pixabay.com/photo/2016/04/01/10/10/amusing-1300053_1280.png" alt="Avatar 5" class="w-full">
</div>
<div class="avatar-selector p-2 rounded-lg cursor-pointer">
<img src="https://cdn.pixabay.com/photo/2016/04/01/10/04/amusing-1300047_1280.png" alt="Avatar 6" class="w-full">
</div>
</div>
</div>
</div>
</div>
<div class="md:w-2/3 p-8">
<div class="mb-8">
<h3 class="text-2xl font-bold text-gray-800 mb-4">Player Statistics</h3>
<div class="grid md:grid-cols-2 gap-6">
<div class="bg-gray-50 p-4 rounded-lg">
<div class="flex items-center">
<div class="p-3 rounded-full bg-blue-100 text-blue-600 mr-4">
<i class="fas fa-trophy text-xl"></i>
</div>
<div>
<p class="text-sm text-gray-500">Total Points</p>
<p class="text-2xl font-bold text-gray-800">12,450</p>
</div>
</div>
</div>
<div class="bg-gray-50 p-4 rounded-lg">
<div class="flex items-center">
<div class="p-3 rounded-full bg-green-100 text-green-600 mr-4">
<i class="fas fa-star text-xl"></i>
</div>
<div>
<p class="text-sm text-gray-500">Current Level</p>
<p class="text-2xl font-bold text-gray-800">15</p>
</div>
</div>
</div>
<div class="bg-gray-50 p-4 rounded-lg">
<div class="flex items-center">
<div class="p-3 rounded-full bg-purple-100 text-purple-600 mr-4">
<i class="fas fa-medal text-xl"></i>
</div>
<div>
<p class="text-sm text-gray-500">Highest Rank</p>
<p class="text-2xl font-bold text-gray-800">#3</p>
</div>
</div>
</div>
<div class="bg-gray-50 p-4 rounded-lg">
<div class="flex items-center">
<div class="p-3 rounded-full bg-yellow-100 text-yellow-600 mr-4">
<i class="fas fa-clock text-xl"></i>
</div>
<div>
<p class="text-sm text-gray-500">Play Time</p>
<p class="text-2xl font-bold text-gray-800">42h 15m</p>
</div>
</div>
</div>
</div>
</div>
<div>
<h3 class="text-2xl font-bold text-gray-800 mb-4">Achievements</h3>
<div class="grid md:grid-cols-3 gap-4">
<div class="bg-blue-50 p-4 rounded-lg text-center">
<div class="bg-blue-100 p-3 rounded-full inline-block mb-2">
<i class="fas fa-anchor text-blue-600 text-2xl"></i>
</div>
<h4 class="font-semibold text-gray-800">First Voyage</h4>
<p class="text-sm text-gray-600">Completed tutorial</p>
</div>
<div class="bg-green-50 p-4 rounded-lg text-center">
<div class="bg-green-100 p-3 rounded-full inline-block mb-2">
<i class="fas fa-fish text-green-600 text-2xl"></i>
</div>
<h4 class="font-semibold text-gray-800">Sustainable Fisher</h4>
<p class="text-sm text-gray-600">Caught 100 fish sustainably</p>
</div>
<div class="bg-yellow-50 p-4 rounded-lg text-center">
<div class="bg-yellow-100 p-3 rounded-full inline-block mb-2">
<i class="fas fa-ship text-yellow-600 text-2xl"></i>
</div>
<h4 class="font-semibold text-gray-800">Safe Navigator</h4>
<p class="text-sm text-gray-600">Avoided 10 hazards</p>
</div>
<div class="bg-purple-50 p-4 rounded-lg text-center">
<div class="bg-purple-100 p-3 rounded-full inline-block mb-2">
<i class="fas fa-crown text-purple-600 text-2xl"></i>
</div>
<h4 class="font-semibold text-gray-800">Top Performer</h4>
<p class="text-sm text-gray-600">Reached top 10 in leaderboard</p>
</div>
<div class="bg-red-50 p-4 rounded-lg text-center">
<div class="bg-red-100 p-3 rounded-full inline-block mb-2">
<i class="fas fa-book text-red-600 text-2xl"></i>
</div>
<h4 class="font-semibold text-gray-800">Ocean Scholar</h4>
<p class="text-sm text-gray-600">Completed all learning modules</p>
</div>
<div class="bg-gray-100 p-4 rounded-lg text-center opacity-50">
<div class="bg-gray-200 p-3 rounded-full inline-block mb-2">
<i class="fas fa-question text-gray-500 text-2xl"></i>
</div>
<h4 class="font-semibold text-gray-500">Secret Achievement</h4>
<p class="text-sm text-gray-400">Locked</p>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Login Modal -->
<div id="loginModal" class="fixed z-50 inset-0 overflow-y-auto hidden">
<div class="flex items-center justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0">
<div class="fixed inset-0 transition-opacity" aria-hidden="true">
<div class="absolute inset-0 bg-gray-500 opacity-75"></div>
</div>
<span class="hidden sm:inline-block sm:align-middle sm:h-screen" aria-hidden="true">​</span>
<div class="inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-lg sm:w-full">
<div class="bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4">
<div class="sm:flex sm:items-start">
<div class="mx-auto flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-blue-100 sm:mx-0 sm:h-10 sm:w-10">
<i class="fas fa-user-circle text-blue-600"></i>
</div>
<div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left">
<h3 class="text-lg leading-6 font-medium text-gray-900" id="modal-title">
Login / Register
</h3>
<div class="mt-2">
<p class="text-sm text-gray-500">
Access your Ocean Guardians account or create a new one to start playing.
</p>
</div>
</div>
</div>
<div class="mt-6">
<div class="space-y-6">
<div>
<label for="email" class="block text-sm font-medium text-gray-700">Email address</label>
<div class="mt-1">
<input id="email" name="email" type="email" autocomplete="email" required class="appearance-none block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm placeholder-gray-400 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm">
</div>
</div>
<div>
<label for="password" class="block text-sm font-medium text-gray-700">Password</label>
<div class="mt-1">
<input id="password" name="password" type="password" autocomplete="current-password" required class="appearance-none block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm placeholder-gray-400 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm">
</div>
</div>
<div class="flex items-center justify-between">
<div class="flex items-center">
<input id="remember-me" name="remember-me" type="checkbox" class="h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded">
<label for="remember-me" class="ml-2 block text-sm text-gray-900">
Remember me
</label>
</div>
<div class="text-sm">
<a href="#" class="font-medium text-blue-600 hover:text-blue-500">
Forgot your password?
</a>
</div>
</div>
</div>
</div>
</div>
<div class="bg-gray-50 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse">
<button type="button" class="w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-blue-600 text-base font-medium text-white hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 sm:ml-3 sm:w-auto sm:text-sm">
Sign in
</button>
<button type="button" id="closeModal" class="mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm">
Cancel
</button>
</div>
<div class="px-4 py-3 bg-gray-50 border-t border-gray-200">
<div class="text-sm text-center">
<p class="text-gray-600">
Don't have an account?
<a href="#" class="font-medium text-blue-600 hover:text-blue-500">
Register here
</a>
</p>
</div>
<div class="mt-4">
<div class="relative">
<div class="absolute inset-0 flex items-center">
<div class="w-full border-t border-gray-300"></div>
</div>
<div class="relative flex justify-center text-sm">
<span class="px-2 bg-gray-50 text-gray-500">
Or continue with
</span>
</div>
</div>
<div class="mt-4 grid grid-cols-3 gap-3">
<div>
<a href="#" class="w-full inline-flex justify-center py-2 px-4 border border-gray-300 rounded-md shadow-sm bg-white text-sm font-medium text-gray-500 hover:bg-gray-50">
<i class="fab fa-google text-red-500"></i>
</a>
</div>
<div>
<a href="#" class="w-full inline-flex justify-center py-2 px-4 border border-gray-300 rounded-md shadow-sm bg-white text-sm font-medium text-gray-500 hover:bg-gray-50">
<i class="fab fa-facebook-f text-blue-600"></i>
</a>
</div>
<div>
<a href="#" class="w-full inline-flex justify-center py-2 px-4 border border-gray-300 rounded-md shadow-sm bg-white text-sm font-medium text-gray-500 hover:bg-gray-50">
<i class="fab fa-twitter text-blue-400"></i>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Footer -->
<footer class="bg-gray-800 text-white py-12 px-4 sm:px-6 lg:px-8 mt-16">
<div class="max-w-7xl mx-auto">
<div class="grid grid-cols-2 md:grid-cols-4 gap-8">
<div>
<h3 class="text-lg font-semibold mb-4">Ocean Guardians</h3>
<p class="text-gray-400 text-sm">
A gamified platform for ocean literacy and sustainable development education.
</p>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Quick Links</h3>
<ul class="space-y-2">
<li><a href="#home" class="text-gray-400 hover:text-white text-sm">Home</a></li>
<li><a href="#game-section" class="text-gray-400 hover:text-white text-sm">Game</a></li>
<li><a href="#resources" class="text-gray-400 hover:text-white text-sm">Resources</a></li>
<li><a href="#leaderboard" class="text-gray-400 hover:text-white text-sm">Leaderboard</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Resources</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white text-sm">Game Guide</a></li>
<li><a href="#" class="text-gray-400 hover:text-white text-sm">Ocean Literacy</a></li>
<li><a href="#" class="text-gray-400 hover:text-white text-sm">SDGs</a></li>
<li><a href="#" class="text-gray-400 hover:text-white text-sm">Research Papers</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Connect</h3>
<div class="flex space-x-4">
<a href="#" class="text-gray-400 hover:text-white">
<i class="fab fa-facebook-f"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i class="fab fa-twitter"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i class="fab fa-instagram"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i class="fab fa-youtube"></i>
</a>
</div>
<div class="mt-4">
<p class="text-gray-400 text-sm">Subscribe to our newsletter</p>
<div class="mt-2 flex">
<input type="email" placeholder="Your email" class="px-3 py-2 text-sm text-gray-900 rounded-l-md focus:outline-none">
<button class="bg-blue-600 hover:bg-blue-700 px-3 py-2 text-sm rounded-r-md">
<i class="fas fa-paper-plane"></i>
</button>
</div>
</div>
</div>
</div>
<div class="mt-12 pt-8 border-t border-gray-700">
<div class="md:flex md:items-center md:justify-between">
<div class="flex justify-center md:order-2 space-x-6">
<a href="#" class="text-gray-400 hover:text-white text-sm">Privacy Policy</a>
<a href="#" class="text-gray-400 hover:text-white text-sm">Terms of Service</a>
<a href="#" class="text-gray-400 hover:text-white text-sm">Contact Us</a>
</div>
<div class="mt-8 md:mt-0 md:order-1">
<p class="text-center text-xs text-gray-400">
© 2023 Ocean Guardians. All rights reserved.
</p>
</div>
</div>
</div>
</div>
</footer>
<script>
// Tab functionality for game section
const gameTabs = {
'tab-gameplay': 'gameplay-content',
'tab-roles': 'roles-content',
'tab-tutorial': 'tutorial-content'
};
Object.entries(gameTabs).forEach(([tabId, contentId]) => {
const tab = document.getElementById(tabId);
const content = document.getElementById(contentId);
tab.addEventListener('click', () => {
// Hide all tab contents
document.querySelectorAll('.tab-content').forEach(el => el.classList.add('hidden'));
// Remove active class from all tabs
document.querySelectorAll('[id^="tab-"]').forEach(el => el.classList.remove('tab-active', 'text-blue-600', 'border-blue-500'));
document.querySelectorAll('[id^="tab-"]').forEach(el => el.classList.add('text-gray-500', 'hover:text-gray-700', 'hover:border-gray-300'));
// Show selected content and mark tab as active
</html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Ocean Guardians - Gamified Ocean Literacy</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@300;400;500;600;700&display=swap');
body {
font-family: 'Poppins', sans-serif;
background: linear-gradient(135deg, #1a2980, #26d0ce);
min-height: 100vh;
}
.wave-bg {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 100px;
background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23ffffff"></path><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%23ffffff"></path><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23ffffff"></path></svg>');
background-size: cover;
z-index: -1;
}
.card-hover {
transition: all 0.3s ease;
}
.card-hover:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.progress-bar {
height: 10px;
border-radius: 5px;
background-color: #e0e0e0;
}
.progress-fill {
height: 100%;
border-radius: 5px;
background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%;
transition: width 0.5s ease;
}
.avatar-selector {
transition: all 0.3s ease;
border: 2px solid transparent;
}
.avatar-selector:hover, .avatar-selector.selected {
transform: scale(1.1);
border-color: #3b82f6;
}
.game-card {
perspective: 1000px;
}
.game-card-inner {
transition: transform 0.6s;
transform-style: preserve-3d;
}
.game-card:hover .game-card-inner {
transform: rotateY(10deg);
}
.tab-active {
border-bottom: 3px solid #3b82f6;
color: #3b82f6;
font-weight: 600;
}
.game-container {
background-image: url('https://cdn.pixabay.com/photo/2013/07/12/18/20/sailing-ship-153223_1280.png');
background-size: cover;
background-position: center;
min-height: 500px;
}
.resource-card {
transition: all 0.3s ease;
background: rgba(255, 255, 255, 0.9);
}
.resource-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
</style>
</head>
<body class="text-gray-800">
<!-- Navigation -->
<nav class="bg-white bg-opacity-90 shadow-sm fixed w-full z-10">