<!DOCTYPE html>
<html lang="en"><head>
<meta charset="utf-8"/>
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
<title>QuizQuest - Global Leaderboard</title>
<!-- Fonts -->
<link href="https://fonts.googleapis.com" rel="preconnect"/>
<link crossorigin="" href="https://fonts.gstatic.com" rel="preconnect"/>
<link href="https://fonts.googleapis.com/css2?family=Spline+Sans:wght@300;400;500;600;700&display=swap" rel="stylesheet"/>
<!-- Material Symbols -->
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap" rel="stylesheet"/>
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap" rel="stylesheet"/>
<!-- Tailwind CSS -->
<script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>
<!-- Tailwind Config -->
<script id="tailwind-config">
tailwind.config = {
darkMode: "class",
theme: {
extend: {
colors: {
"primary": "#7f13ec",
"primary-light": "#e0c7fd",
"background-light": "#faf8fc",
"background-dark": "#191022",
},
fontFamily: {
"display": ["Spline Sans", "sans-serif"]
},
borderRadius: {"DEFAULT": "0.25rem", "lg": "0.5rem", "xl": "0.75rem", "full": "9999px"},
},
},
}
</script>
<style>
/* Custom scrollbar for table if needed */
.custom-scrollbar::-webkit-scrollbar {
width: 6px;
height: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
background: #f1f1f1;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background: #d1d5db;
border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
background: #9ca3af;
}
</style>
</head>
<body class="bg-background-light text-slate-900 font-display antialiased min-h-screen flex flex-col">
<!-- Top Navigation -->
<header class="sticky top-0 z-50 w-full bg-[#faf8fc]/90 backdrop-blur-md border-b border-[#ede7f3]">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex items-center justify-between h-16">
<!-- Logo -->
<div class="flex items-center gap-2">
<div class="size-8 bg-primary rounded-lg flex items-center justify-center text-white">
<span class="material-symbols-outlined text-[20px]">bolt</span>
</div>
<span class="text-xl font-bold tracking-tight text-[#140d1b]">QuizQuest</span>
</div>
<!-- Desktop Nav -->
<nav class="hidden md:flex items-center gap-8">
<a class="text-sm font-medium text-slate-600 hover:text-primary transition-colors" href="#">Home</a>
<a class="text-sm font-medium text-slate-600 hover:text-primary transition-colors" href="#">Features</a>
<a class="text-sm font-medium text-slate-600 hover:text-primary transition-colors" href="#">Pricing</a>
</nav>
<!-- Auth Buttons -->
<div class="flex items-center gap-4">
<a class="hidden md:block text-sm font-medium text-slate-900 hover:text-primary transition-colors" href="#">Login</a>
<button class="bg-primary hover:bg-[#6b0ec7] text-white px-5 py-2 rounded-lg text-sm font-bold transition-all shadow-lg shadow-primary/20">
Sign Up
</button>
</div>
</div>
</div>
</header>
<main class="flex-grow w-full max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
<!-- Hero Header -->
<div class="mb-10 relative overflow-hidden rounded-2xl bg-gradient-to-br from-white to-[#f3eff8] border border-[#ede7f3] p-8 md:p-12 shadow-sm">
<!-- Decorative Background Element -->
<div class="absolute top-0 right-0 w-64 h-64 bg-primary/5 rounded-full blur-3xl -translate-y-1/2 translate-x-1/3 pointer-events-none"></div>
<div class="relative z-10 flex flex-col md:flex-row md:items-end justify-between gap-6">
<div class="max-w-2xl">
<div class="inline-flex items-center gap-2 px-3 py-1 rounded-full bg-primary/10 text-primary text-xs font-bold mb-4 border border-primary/20">
<span class="material-symbols-outlined text-[16px]">trophy</span>
SEASON 4
</div>
<h1 class="text-4xl md:text-5xl font-black text-[#140d1b] tracking-tight mb-4">
Global Hall of Fame
</h1>
<p class="text-lg text-slate-600 max-w-lg">
Compete with the sharpest minds worldwide. Climb the ranks, earn badges, and prove your mastery.
</p>
</div>
<!-- Quick Stats -->
<div class="flex gap-6">
<div class="flex flex-col">
<span class="text-sm font-medium text-slate-500">Active Players</span>
<span class="text-2xl font-bold text-[#140d1b]">15,420</span>
</div>
<div class="w-px h-12 bg-slate-200"></div>
<div class="flex flex-col">
<span class="text-sm font-medium text-slate-500">Total XP Earned</span>
<span class="text-2xl font-bold text-primary">2.4M</span>
</div>
</div>
</div>
</div>
<!-- Top 3 Podium -->
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-12 items-end">
<!-- 2nd Place -->
<div class="order-2 md:order-1 relative group">
<div class="absolute -inset-0.5 bg-gradient-to-b from-slate-300 to-slate-100 rounded-2xl blur opacity-30 group-hover:opacity-60 transition duration-500"></div>
<div class="relative bg-white border border-slate-200 rounded-xl p-6 flex flex-col items-center shadow-sm h-full hover:-translate-y-1 transition-transform duration-300">
<div class="absolute -top-5 bg-slate-200 text-slate-600 size-10 rounded-full flex items-center justify-center font-bold text-lg border-4 border-white shadow-sm">2</div>
<div class="size-20 rounded-full overflow-hidden mb-4 ring-4 ring-slate-100">
<img alt="Woman smiling in portrait" class="w-full h-full object-cover" data-alt="Portrait of a female user" src="https://lh3.googleusercontent.com/aida-public/AB6AXuAIHEyWhcw1ryfvw74sn3ycpe5oxM-iWoCCswIejAUOLRUPjFlmpmtVCcpRzwndNlwr1rn1niOK0aOgSSNytaL3E0ajAWIEPsJOzazaJ8tuPdeWdckRkw-AFkcyIoxOfdtuL7H7eJVjYSfNSdUzBOI7XvzlxN6ttHW_Oe7GR2LVTTQTVWXTSyLY-urHcb98vIsv8QLJHu0fJgPSYk62zvVMT2ymUkPX9t6qD73PoktMGlatc8Ayhyn5UdmQryWpd87pki7cefk2"/>
</div>
<h3 class="text-xl font-bold text-[#140d1b] mb-1">QuizWiz</h3>
<div class="text-primary font-bold text-lg mb-2">14,200 XP</div>
<div class="flex items-center gap-1 text-slate-400 text-sm">
<span class="material-symbols-outlined text-[16px] filled">military_tech</span>
Silver Master
</div>
</div>
</div>
<!-- 1st Place -->
<div class="order-1 md:order-2 relative group z-10 -mt-8 md:-mt-12">
<div class="absolute -inset-0.5 bg-gradient-to-b from-primary to-primary-light rounded-2xl blur opacity-40 group-hover:opacity-70 transition duration-500"></div>
<div class="relative bg-white border border-primary/20 rounded-xl p-8 flex flex-col items-center shadow-xl h-full hover:-translate-y-1 transition-transform duration-300">
<div class="absolute -top-6 bg-primary text-white size-12 rounded-full flex items-center justify-center font-bold text-xl border-4 border-white shadow-md">
<span class="material-symbols-outlined text-[24px]">crown</span>
</div>
<div class="size-28 rounded-full overflow-hidden mb-5 ring-4 ring-primary/20 p-1 bg-white">
<img alt="Man smiling with glasses" class="w-full h-full object-cover rounded-full" data-alt="Portrait of a male user" src="https://lh3.googleusercontent.com/aida-public/AB6AXuCpIqWhmOL8x4nK7iXApdRzupgENUcEix_y3mow-PvVIcfrXl_10SmGBSMT-3aZJgRYGMvpHkr2KSQN0ixac92hSydjXE8hOB4eBdsJ2IIFU7Xn_NKEELOGZEEgkfsz83YOaO4RnTILTOaDx2LjpEIZuJ1Pz998i3iHjkWTYG7k3eKafkavvLXXs3GueyFvk5dd40JWBgKeyacN1vM4mYhcRaRUlKqO-FslH7uelopxUGnK9ldSRgXudmPGGbeiK8t_pAI6ckbH"/>
</div>
<h3 class="text-2xl font-black text-[#140d1b] mb-1">User123</h3>
<div class="text-primary font-black text-2xl mb-3">15,000 XP</div>
<div class="px-3 py-1 bg-amber-100 text-amber-700 text-sm font-bold rounded-full flex items-center gap-1">
<span class="material-symbols-outlined text-[16px]">emoji_events</span>
Grand Champion
</div>
</div>
</div>
<!-- 3rd Place -->
<div class="order-3 md:order-3 relative group">
<div class="absolute -inset-0.5 bg-gradient-to-b from-amber-700/40 to-amber-100 rounded-2xl blur opacity-30 group-hover:opacity-60 transition duration-500"></div>
<div class="relative bg-white border border-slate-200 rounded-xl p-6 flex flex-col items-center shadow-sm h-full hover:-translate-y-1 transition-transform duration-300">
<div class="absolute -top-5 bg-[#cd7f32] text-white size-10 rounded-full flex items-center justify-center font-bold text-lg border-4 border-white shadow-sm">3</div>
<div class="size-20 rounded-full overflow-hidden mb-4 ring-4 ring-orange-50">
<img alt="Man looking thoughtful" class="w-full h-full object-cover" data-alt="Portrait of a male user" src="https://lh3.googleusercontent.com/aida-public/AB6AXuBLzylVqyxBxxwIz7FIz4AL0j3q9tMBEv7EhY2MDiH8KfeEZPUns5RQgeC97_yj3rPAbi7xBj9z9XmRIhMwh3oEQlpOTlLIZvN-3UElbREXJuJXYCW5BDLiCmLfOtM9P7gJLD4YBuZMb4-s7MdkVltpYi292oJ2nLcGPw9CGUf8Imtv72W7fbHWFGOoe0LiIbf9WX5YA3W8VJl3OUrD5wS0IAeT0a7KXKpg52wCilAhGx5N2FbEvifZGnmbb1p_HNSr2Kvqzo_Q"/>
</div>
<h3 class="text-xl font-bold text-[#140d1b] mb-1">Brainiac</h3>
<div class="text-primary font-bold text-lg mb-2">13,800 XP</div>
<div class="flex items-center gap-1 text-slate-400 text-sm">
<span class="material-symbols-outlined text-[16px] filled">military_tech</span>
Bronze Elite
</div>
</div>
</div>
</div>
<!-- Filters & Search -->
<div class="bg-white rounded-xl border border-slate-200 p-4 mb-6 shadow-sm flex flex-col md:flex-row gap-4 items-center justify-between">
<div class="relative w-full md:w-96">
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
<span class="material-symbols-outlined text-slate-400">search</span>
</div>
<input autocomplete="off" class="block w-full pl-10 pr-3 py-2.5 border border-slate-200 rounded-lg leading-5 bg-slate-50 placeholder-slate-400 focus:outline-none focus:bg-white focus:ring-1 focus:ring-primary focus:border-primary sm:text-sm transition-colors" placeholder="Search by username..." type="text"/>
</div>
<div class="flex items-center gap-3 w-full md:w-auto overflow-x-auto pb-2 md:pb-0">
<button class="px-4 py-2 bg-primary text-white text-sm font-medium rounded-lg shadow-sm whitespace-nowrap">This Week</button>
<button class="px-4 py-2 bg-white text-slate-600 hover:bg-slate-50 border border-slate-200 text-sm font-medium rounded-lg transition-colors whitespace-nowrap">This Month</button>
<button class="px-4 py-2 bg-white text-slate-600 hover:bg-slate-50 border border-slate-200 text-sm font-medium rounded-lg transition-colors whitespace-nowrap">All Time</button>
<div class="h-8 w-px bg-slate-200 mx-1"></div>
<button class="px-3 py-2 bg-white text-slate-600 hover:bg-slate-50 border border-slate-200 rounded-lg flex items-center gap-2 transition-colors">
<span class="material-symbols-outlined text-[20px]">filter_list</span>
<span class="text-sm font-medium hidden sm:inline">Filters</span>
</button>
</div>
</div>
<!-- Leaderboard Table -->
<div class="bg-white border border-slate-200 rounded-xl overflow-hidden shadow-sm">
<div class="overflow-x-auto custom-scrollbar">
<table class="w-full text-left border-collapse">
<thead>
<tr class="bg-slate-50 border-b border-slate-200 text-xs uppercase tracking-wider text-slate-500 font-semibold">
<th class="px-6 py-4 w-20 text-center">Rank</th>
<th class="px-6 py-4">Player</th>
<th class="px-6 py-4 text-right">Quizzes</th>
<th class="px-6 py-4 text-right">Accuracy</th>
<th class="px-6 py-4 text-right">XP Score</th>
<th class="px-6 py-4 text-center">Badges</th>
</tr>
</thead>
<tbody class="divide-y divide-slate-100">
<!-- Row 4 -->
<tr class="hover:bg-slate-50/80 transition-colors group">
<td class="px-6 py-4 text-center font-bold text-slate-400">4</td>
<td class="px-6 py-4">
<div class="flex items-center gap-3">
<div class="size-8 rounded-full bg-blue-100 flex items-center justify-center text-blue-600 font-bold text-xs">NL</div>
<span class="font-medium text-[#140d1b] group-hover:text-primary transition-colors">NeonLight</span>
</div>
</td>
<td class="px-6 py-4 text-right text-slate-600 font-medium">142</td>
<td class="px-6 py-4 text-right">
<div class="flex items-center justify-end gap-2">
<span class="text-sm font-bold text-green-600">92%</span>
<div class="w-16 h-1.5 bg-slate-100 rounded-full overflow-hidden">
<div class="h-full bg-green-500 rounded-full" style="width: 92%"></div>
</div>
</div>
</td>
<td class="px-6 py-4 text-right font-bold text-[#140d1b]">12,450</td>
<td class="px-6 py-4">
<div class="flex items-center justify-center -space-x-2">
<div class="size-6 rounded-full bg-yellow-100 border border-white flex items-center justify-center text-yellow-600" title="Consistent"><span class="material-symbols-outlined text-[14px]">star</span></div>
<div class="size-6 rounded-full bg-purple-100 border border-white flex items-center justify-center text-purple-600" title="Sharpshooter"><span class="material-symbols-outlined text-[14px]">gps_fixed</span></div>
</div>
</td>
</tr>
<!-- Row 5 -->
<tr class="hover:bg-slate-50/80 transition-colors group">
<td class="px-6 py-4 text-center font-bold text-slate-400">5</td>
<td class="px-6 py-4">
<div class="flex items-center gap-3">
<img alt="User avatar" class="size-8 rounded-full object-cover" data-alt="Small avatar of user" src="https://lh3.googleusercontent.com/aida-public/AB6AXuBWGBDAEKp391UcGAcl-9FGeai2GskeKmTQo56P3dwheZusH_Fx-waRIMK_zYdQ5llMTlaf6WUCDoTD0uzZMpPzyo9rK3bCFOlXvVt-jYqvkTX-qA5r5ppEJIafBWPbTpF90kuWHIqyjwf83HEVbeswPXQq2PTsh5zICSSWPMuPkQVm04m_xoI36MKJJwWEH44faoZpXTreThpR5ytmvjOnGuzgoTUnbBc47BdtO9FxYEOsAwNQofFeeMlCWj8yzCM2OG5k3mNi"/>
<span class="font-medium text-[#140d1b] group-hover:text-primary transition-colors">SarahJ_99</span>
</div>
</td>
<td class="px-6 py-4 text-right text-slate-600 font-medium">98</td>
<td class="px-6 py-4 text-right">
<div class="flex items-center justify-end gap-2">
<span class="text-sm font-bold text-slate-600">88%</span>
<div class="w-16 h-1.5 bg-slate-100 rounded-full overflow-hidden">
<div class="h-full bg-slate-400 rounded-full" style="width: 88%"></div>
</div>
</div>
</td>
<td class="px-6 py-4 text-right font-bold text-[#140d1b]">11,200</td>
<td class="px-6 py-4">
<div class="flex items-center justify-center -space-x-2">
<div class="size-6 rounded-full bg-red-100 border border-white flex items-center justify-center text-red-600" title="Hot Streak"><span class="material-symbols-outlined text-[14px]">local_fire_department</span></div>
</div>
</td>
</tr>
<!-- Row 6 -->
<tr class="hover:bg-slate-50/80 transition-colors group">
<td class="px-6 py-4 text-center font-bold text-slate-400">6</td>
<td class="px-6 py-4">
<div class="flex items-center gap-3">
<div class="size-8 rounded-full bg-green-100 flex items-center justify-center text-green-600 font-bold text-xs">TK</div>
<span class="font-medium text-[#140d1b] group-hover:text-primary transition-colors">TriviaKing</span>
</div>
</td>
<td class="px-6 py-4 text-right text-slate-600 font-medium">210</td>
<td class="px-6 py-4 text-right">
<div class="flex items-center justify-end gap-2">
<span class="text-sm font-bold text-slate-600">75%</span>
<div class="w-16 h-1.5 bg-slate-100 rounded-full overflow-hidden">
<div class="h-full bg-slate-400 rounded-full" style="width: 75%"></div>
</div>
</div>
</td>
<td class="px-6 py-4 text-right font-bold text-[#140d1b]">10,850</td>
<td class="px-6 py-4">
<div class="flex items-center justify-center -space-x-2">
<div class="size-6 rounded-full bg-blue-100 border border-white flex items-center justify-center text-blue-600" title="Veteran"><span class="material-symbols-outlined text-[14px]">shield</span></div>
<div class="size-6 rounded-full bg-purple-100 border border-white flex items-center justify-center text-purple-600" title="Sharpshooter"><span class="material-symbols-outlined text-[14px]">gps_fixed</span></div>
<div class="size-6 rounded-full bg-orange-100 border border-white flex items-center justify-center text-orange-600" title="Speedster"><span class="material-symbols-outlined text-[14px]">bolt</span></div>
</div>
</td>
</tr>
<!-- Row 7 -->
<tr class="hover:bg-slate-50/80 transition-colors group">
<td class="px-6 py-4 text-center font-bold text-slate-400">7</td>
<td class="px-6 py-4">
<div class="flex items-center gap-3">
<img alt="User avatar" class="size-8 rounded-full object-cover" data-alt="Small avatar of user" src="https://lh3.googleusercontent.com/aida-public/AB6AXuDpV-b8TKkuMlpk8mURr86M8BBY_ubVCOxLH-xZppCRNiCeZ603Zjcwa6SdN80pPOGqQcToWK2Lq_AyImeW0gstUg4PzauYxub3fth0F42tqc73MeKOnuG1bt5B7Yj4hOoLns5QhY94kYO2_SZTNawTpzptS4RFVosTXLpIsuOBmet1y9XFXOqRwnCVxbqqP3jqOzwTCzxLQS33E_7FK7kcIflHF21IQHfy-3RoaS8LvvTATXQUCCdnerB0v1A-v4xQN-hU_-Ml"/>
<span class="font-medium text-[#140d1b] group-hover:text-primary transition-colors">AlexTheGreat</span>
</div>
</td>
<td class="px-6 py-4 text-right text-slate-600 font-medium">85</td>
<td class="px-6 py-4 text-right">
<div class="flex items-center justify-end gap-2">
<span class="text-sm font-bold text-green-600">95%</span>
<div class="w-16 h-1.5 bg-slate-100 rounded-full overflow-hidden">
<div class="h-full bg-green-500 rounded-full" style="width: 95%"></div>
</div>
</div>
</td>
<td class="px-6 py-4 text-right font-bold text-[#140d1b]">10,100</td>
<td class="px-6 py-4 text-center text-xs text-slate-400 italic">No Badges</td>
</tr>
<!-- Row 8 -->
<tr class="hover:bg-slate-50/80 transition-colors group border-b-0">
<td class="px-6 py-4 text-center font-bold text-slate-400">8</td>
<td class="px-6 py-4">
<div class="flex items-center gap-3">
<div class="size-8 rounded-full bg-pink-100 flex items-center justify-center text-pink-600 font-bold text-xs">QM</div>
<span class="font-medium text-[#140d1b] group-hover:text-primary transition-colors">QuizMaster_X</span>
</div>
</td>
<td class="px-6 py-4 text-right text-slate-600 font-medium">112</td>
<td class="px-6 py-4 text-right">
<div class="flex items-center justify-end gap-2">
<span class="text-sm font-bold text-slate-600">81%</span>
<div class="w-16 h-1.5 bg-slate-100 rounded-full overflow-hidden">
<div class="h-full bg-slate-400 rounded-full" style="width: 81%"></div>
</div>
</div>
</td>
<td class="px-6 py-4 text-right font-bold text-[#140d1b]">9,840</td>
<td class="px-6 py-4">
<div class="flex items-center justify-center -space-x-2">
<div class="size-6 rounded-full bg-indigo-100 border border-white flex items-center justify-center text-indigo-600" title="Scholar"><span class="material-symbols-outlined text-[14px]">school</span></div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Pagination Footer -->
<div class="bg-slate-50 px-6 py-4 flex items-center justify-between border-t border-slate-200">
<span class="text-sm text-slate-500">Showing <span class="font-medium text-slate-900">4-8</span> of <span class="font-medium text-slate-900">15,420</span> players</span>
<div class="flex items-center gap-2">
<button class="size-8 flex items-center justify-center rounded-lg border border-slate-200 bg-white text-slate-400 hover:text-slate-600 hover:border-slate-300 transition-all disabled:opacity-50">
<span class="material-symbols-outlined text-sm">chevron_left</span>
</button>
<button class="size-8 flex items-center justify-center rounded-lg bg-primary text-white text-sm font-medium shadow-sm">1</button>
<button class="size-8 flex items-center justify-center rounded-lg border border-slate-200 bg-white text-slate-600 hover:bg-slate-50 text-sm font-medium transition-all">2</button>
<button class="size-8 flex items-center justify-center rounded-lg border border-slate-200 bg-white text-slate-600 hover:bg-slate-50 text-sm font-medium transition-all">3</button>
<span class="text-slate-400">...</span>
<button class="size-8 flex items-center justify-center rounded-lg border border-slate-200 bg-white text-slate-600 hover:bg-slate-50 text-sm font-medium transition-all">10</button>
<button class="size-8 flex items-center justify-center rounded-lg border border-slate-200 bg-white text-slate-400 hover:text-slate-600 hover:border-slate-300 transition-all">
<span class="material-symbols-outlined text-sm">chevron_right</span>
</button>
</div>
</div>
</div>
<!-- Sticky CTA for User -->
<div class="fixed bottom-6 right-6 z-40 animate-bounce-slow">
<div class="bg-[#140d1b] text-white p-4 rounded-xl shadow-2xl flex items-center gap-4 border border-slate-800 max-w-sm">
<div class="p-2 bg-primary/20 rounded-lg">
<span class="material-symbols-outlined text-primary">login</span>
</div>
<div>
<p class="font-bold text-sm">Where do you stand?</p>
<p class="text-xs text-slate-400">Log in to see your global rank.</p>
</div>
<button class="ml-auto text-sm font-bold text-primary hover:text-primary-light whitespace-nowrap">
Log In
</button>
<button class="text-slate-500 hover:text-slate-300">
<span class="material-symbols-outlined text-sm">close</span>
</button>
</div>
</div>
</main>
</body></html>