Spaces:
Running
Running
File size: 73,792 Bytes
717c57c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 | <!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> |