<!DOCTYPE html>
<html class="dark" lang="en"><head>
<meta charset="utf-8"/>
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
<title>User Game Panel Dashboard</title>
<!-- Tailwind CSS -->
<script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>
<!-- Google Fonts -->
<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"/>
<!-- Theme Configuration -->
<script id="tailwind-config">
tailwind.config = {
darkMode: "class",
theme: {
extend: {
colors: {
"primary": "#5b13ec",
"background-light": "#f6f6f8",
"background-dark": "#161022",
"surface-dark": "#2e2839", // Derived from example for consistency
"accent-green": "#0bda6f",
"accent-purple": "#a174ff",
},
fontFamily: {
"display": ["Spline Sans", "sans-serif"]
},
borderRadius: {"DEFAULT": "1rem", "lg": "2rem", "xl": "3rem", "full": "9999px"},
},
},
}
</script>
<style>
/* Custom scrollbar for webkit */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #161022;
}
::-webkit-scrollbar-thumb {
background: #2e2839;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #5b13ec;
}
</style>
</head>
<body class="bg-background-light dark:bg-background-dark text-slate-900 dark:text-slate-100 font-display min-h-screen overflow-hidden flex">
<!-- Sidebar Navigation -->
<aside class="w-20 lg:w-72 flex flex-col justify-between border-r border-white/5 bg-background-dark/50 backdrop-blur-xl h-screen sticky top-0 z-50 transition-all duration-300">
<div class="flex flex-col gap-8 p-4 h-full">
<!-- User Profile (Compact on mobile, expanded on LG) -->
<div class="flex items-center gap-4 p-2 rounded-xl bg-white/5 border border-white/5 hover:bg-white/10 transition-colors cursor-pointer group">
<div class="relative shrink-0">
<div class="bg-center bg-no-repeat bg-cover rounded-full h-12 w-12 border-2 border-primary" data-alt="User Avatar Ranger Alex" style='background-image: url("https://lh3.googleusercontent.com/aida-public/AB6AXuDcWVfKfBXewvO6pdfpC1-Wbpa-9hGpImrcg6eJZ2OH4WhECiIPT2tGMQ4U_9q6RezV0MDiWtHqnUyumWeGOhH0qKo0Wiguy1s0Qsw5GFHL-Aiy4uxsiBQapsNE_MxGfl82BnFx00ua979ibrhR_FDmjKDpEsJ6vY6M59dJ5Q5SUa6n7kM3_OQSu7shgUgqb3z0ADhAI_0rCRf-9o-LOusnZTT0lC1ltGcGN-UvC-gg0si2C6R9b8wGg1zQ1RgrZmE6neQHqDlNRfQh");'></div>
<div class="absolute bottom-0 right-0 h-4 w-4 bg-accent-green rounded-full border-2 border-background-dark"></div>
</div>
<div class="hidden lg:flex flex-col">
<h1 class="text-white text-base font-bold leading-tight group-hover:text-primary transition-colors">Ranger Alex</h1>
<p class="text-slate-400 text-xs font-medium">Lvl 5 Scout</p>
</div>
</div>
<!-- Navigation Links -->
<nav class="flex flex-col gap-2 flex-1">
<!-- Active Item -->
<a class="flex items-center gap-4 px-3 py-3 rounded-full bg-primary/20 border border-primary/30 text-white group transition-all hover:bg-primary/30" href="#">
<span class="material-symbols-outlined text-primary group-hover:scale-110 transition-transform">map</span>
<span class="hidden lg:block text-sm font-bold">My Quests</span>
</a>
<!-- Locked Item -->
<a class="flex items-center gap-4 px-3 py-3 rounded-full hover:bg-white/5 text-slate-400 group transition-all relative" href="#">
<span class="material-symbols-outlined group-hover:text-white transition-colors">lock</span>
<span class="hidden lg:block text-sm font-medium group-hover:text-white transition-colors">Subscription</span>
<span class="absolute right-4 top-1/2 -translate-y-1/2 hidden lg:flex h-5 w-5 items-center justify-center rounded-full bg-white/10">
<span class="material-symbols-outlined text-[12px] text-slate-400">lock_open</span>
</span>
</a>
<a class="flex items-center gap-4 px-3 py-3 rounded-full hover:bg-white/5 text-slate-400 group transition-all" href="#">
<span class="material-symbols-outlined group-hover:text-white transition-colors">account_balance_wallet</span>
<span class="hidden lg:block text-sm font-medium group-hover:text-white transition-colors">Wallet</span>
</a>
<a class="flex items-center gap-4 px-3 py-3 rounded-full hover:bg-white/5 text-slate-400 group transition-all" href="#">
<span class="material-symbols-outlined group-hover:text-white transition-colors">trophy</span>
<span class="hidden lg:block text-sm font-medium group-hover:text-white transition-colors">Leaderboard</span>
</a>
</nav>
<!-- Logout -->
<button class="flex items-center gap-4 px-3 py-3 rounded-full hover:bg-red-500/10 text-slate-400 hover:text-red-400 transition-all mt-auto w-full group">
<span class="material-symbols-outlined">logout</span>
<span class="hidden lg:block text-sm font-bold">Logout</span>
</button>
</div>
</aside>
<!-- Main Content Area -->
<main class="flex-1 flex flex-col h-screen overflow-y-auto relative">
<!-- Background Grid Effect -->
<div class="absolute inset-0 z-0 pointer-events-none opacity-20" style="background-image: radial-gradient(circle at 50% 50%, #5b13ec 1px, transparent 1px); background-size: 40px 40px;">
</div>
<!-- Header / HUD -->
<header class="w-full px-6 py-4 flex flex-col md:flex-row items-start md:items-center justify-between gap-4 z-10 sticky top-0 bg-background-dark/80 backdrop-blur-md border-b border-white/5">
<div>
<h2 class="text-2xl font-bold text-white tracking-tight">Mission Control</h2>
<p class="text-slate-400 text-sm">Sector 7 • Daily Operations</p>
</div>
<!-- Live Ticker -->
<div class="hidden md:flex items-center gap-3 bg-surface-dark/50 border border-white/5 rounded-full pl-2 pr-4 py-1.5 backdrop-blur-sm shadow-lg shadow-primary/5">
<span class="flex h-2 w-2 relative">
<span class="animate-ping absolute inline-flex h-full w-full rounded-full bg-accent-green opacity-75"></span>
<span class="relative inline-flex rounded-full h-2 w-2 bg-accent-green"></span>
</span>
<div class="text-xs text-slate-300 font-medium whitespace-nowrap overflow-hidden">
<span class="font-bold text-white">Live:</span> Sarah M. just won <span class="text-accent-green font-bold">$50</span> in Trivia!
</div>
</div>
<!-- Mobile Menu Toggle (Hidden on Desktop) -->
<button class="md:hidden p-2 text-white bg-surface-dark rounded-full">
<span class="material-symbols-outlined">menu</span>
</button>
</header>
<div class="flex-1 p-6 lg:p-10 z-10 flex flex-col gap-8 max-w-7xl mx-auto w-full">
<!-- Hero Section: Current Mission -->
<div class="@container w-full relative group">
<div class="absolute inset-0 bg-gradient-to-r from-primary to-accent-purple rounded-3xl opacity-20 blur-xl group-hover:opacity-30 transition-opacity duration-500"></div>
<div class="relative w-full h-[300px] md:h-[360px] rounded-3xl overflow-hidden shadow-2xl border border-white/10 bg-surface-dark">
<!-- Background Image with Overlay -->
<div class="absolute inset-0 bg-cover bg-center transition-transform duration-700 group-hover:scale-105" data-alt="Abstract digital hexagonal landscape map" data-location="Cyber Space" style='background-image: url("https://placeholder.pics/svg/300");'>
</div>
<div class="absolute inset-0 bg-gradient-to-t from-background-dark via-background-dark/80 to-transparent"></div>
<!-- Content -->
<div class="absolute inset-0 flex flex-col items-center justify-center text-center p-6 z-20">
<div class="mb-4 inline-flex items-center gap-2 px-3 py-1 rounded-full bg-primary/20 border border-primary/40 backdrop-blur-md">
<span class="material-symbols-outlined text-sm text-primary">timer</span>
<span class="text-xs font-bold text-white uppercase tracking-wider">Ends in 04:22:15</span>
</div>
<h1 class="text-4xl md:text-5xl lg:text-6xl font-black text-white mb-2 tracking-tight drop-shadow-lg">
DAILY TRIVIA
</h1>
<p class="text-lg text-slate-300 mb-8 max-w-lg mx-auto">
Decode the clues, answer the questions, and claim the daily bounty. Difficulty: <span class="text-red-400 font-bold">Hard</span>
</p>
<!-- Central Action Button -->
<button class="relative group/btn">
<div class="absolute -inset-1 bg-gradient-to-r from-primary via-accent-purple to-primary rounded-full blur opacity-70 group-hover/btn:opacity-100 transition duration-200 animate-pulse"></div>
<div class="relative px-10 py-4 bg-background-dark rounded-full leading-none flex items-center divide-x divide-gray-600">
<span class="flex items-center space-x-5">
<span class="pr-6 text-gray-100 font-bold text-lg tracking-wider">START MISSION</span>
</span>
<span class="pl-6 text-accent-green group-hover/btn:text-gray-100 transition duration-200 flex items-center gap-1 font-bold">
<span class="material-symbols-outlined">payments</span>
500 Coins
</span>
</div>
</button>
</div>
<!-- Progress Ring Graphic (Decoration) -->
<div class="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[500px] h-[500px] border border-white/5 rounded-full pointer-events-none opacity-30"></div>
<div class="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[380px] h-[380px] border border-dashed border-white/10 rounded-full pointer-events-none opacity-40 animate-[spin_60s_linear_infinite]"></div>
</div>
</div>
<!-- Stats Grid -->
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 md:gap-6">
<!-- Level Card -->
<div class="bg-surface-dark border border-white/5 p-6 rounded-2xl flex flex-col justify-between relative overflow-hidden group">
<div class="absolute right-0 top-0 p-4 opacity-10 group-hover:opacity-20 transition-opacity">
<span class="material-symbols-outlined text-6xl text-white">military_tech</span>
</div>
<div class="flex flex-col gap-1 z-10">
<span class="text-slate-400 text-sm font-medium uppercase tracking-wider">Current Level</span>
<div class="flex items-baseline gap-2">
<span class="text-3xl font-bold text-white">05</span>
<span class="text-accent-green text-sm font-bold">+80% XP</span>
</div>
</div>
<div class="mt-4 w-full bg-background-dark/50 rounded-full h-2 overflow-hidden">
<div class="bg-gradient-to-r from-primary to-accent-purple h-full rounded-full" style="width: 80%"></div>
</div>
<p class="text-xs text-slate-500 mt-2">1,200 XP to Level 6</p>
</div>
<!-- Coins Card -->
<div class="bg-surface-dark border border-white/5 p-6 rounded-2xl flex flex-col justify-between relative overflow-hidden group">
<div class="absolute right-0 top-0 p-4 opacity-10 group-hover:opacity-20 transition-opacity">
<span class="material-symbols-outlined text-6xl text-white">monetization_on</span>
</div>
<div class="flex flex-col gap-1 z-10">
<span class="text-slate-400 text-sm font-medium uppercase tracking-wider">Wallet Balance</span>
<div class="flex items-baseline gap-2">
<span class="text-3xl font-bold text-white">1,250</span>
<span class="text-accent-green text-sm font-bold">+50 Today</span>
</div>
</div>
<div class="mt-4 flex gap-2">
<button class="flex-1 text-xs bg-white/5 hover:bg-white/10 text-white py-2 rounded-lg transition-colors font-medium">History</button>
<button class="flex-1 text-xs bg-primary text-white py-2 rounded-lg hover:bg-primary/80 transition-colors font-bold shadow-lg shadow-primary/20">Redeem</button>
</div>
</div>
<!-- XP Card -->
<div class="bg-surface-dark border border-white/5 p-6 rounded-2xl flex flex-col justify-between relative overflow-hidden group">
<div class="absolute right-0 top-0 p-4 opacity-10 group-hover:opacity-20 transition-opacity">
<span class="material-symbols-outlined text-6xl text-white">bolt</span>
</div>
<div class="flex flex-col gap-1 z-10">
<span class="text-slate-400 text-sm font-medium uppercase tracking-wider">Total XP</span>
<div class="flex items-baseline gap-2">
<span class="text-3xl font-bold text-white">4,300</span>
<span class="text-accent-green text-sm font-bold">Top 5%</span>
</div>
</div>
<div class="mt-4 flex items-center gap-2 text-xs text-slate-400">
<span class="material-symbols-outlined text-sm">trending_up</span>
<span>Keep playing to maintain streak!</span>
</div>
</div>
</div>
<!-- Secondary Actions / Grid -->
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
<!-- Leaderboard Mini -->
<div class="col-span-1 lg:col-span-2 bg-surface-dark border border-white/5 rounded-2xl p-6">
<div class="flex items-center justify-between mb-6">
<h3 class="text-lg font-bold text-white flex items-center gap-2">
<span class="material-symbols-outlined text-primary">leaderboard</span>
Top Agents
</h3>
<a class="text-xs text-primary hover:text-white transition-colors" href="#">View All</a>
</div>
<div class="space-y-4">
<!-- Row 1 -->
<div class="flex items-center justify-between bg-background-dark/50 p-3 rounded-xl hover:bg-white/5 transition-colors cursor-pointer group">
<div class="flex items-center gap-3">
<span class="text-yellow-500 font-bold w-4">1</span>
<div class="h-8 w-8 rounded-full bg-center bg-cover" data-alt="User Avatar Sara" style='background-image: url("https://lh3.googleusercontent.com/aida-public/AB6AXuA9y-_2MuqKNwpqiS0gXOv56ezDIF968OvV4QOidfzfmI1pPTJau5DDmeb6wo_MRxWEdwQjXKA9KvofqT1juf4iV03XeEBFAdCtKVsOLb4jNX4aj6s_aZuQVodObPhXIiX-d6AqLfn6qwmst2qay5ww2rLVQp_USmGnja7diyMWqUS9zhcse1HJ34Vws8CRRhWDkHMiZAwJi0aPAruck2CrSiZENx4Uen5vCv8F78cMynUb4jgCN9UX5g2nz8DTuT97VUvW_M1uvR_r");'></div>
<span class="text-white font-medium group-hover:text-primary transition-colors">Agent Sarah</span>
</div>
<div class="text-right">
<p class="text-white font-bold text-sm">Level 42</p>
<p class="text-slate-500 text-xs">98,400 XP</p>
</div>
</div>
<!-- Row 2 -->
<div class="flex items-center justify-between bg-background-dark/50 p-3 rounded-xl hover:bg-white/5 transition-colors cursor-pointer group">
<div class="flex items-center gap-3">
<span class="text-slate-400 font-bold w-4">2</span>
<div class="h-8 w-8 rounded-full bg-center bg-cover" data-alt="User Avatar Mike" style='background-image: url("https://lh3.googleusercontent.com/aida-public/AB6AXuDk-b-rUhcUiLaznJ5yIjLcchA0pvxeTx9r4gWw6bejnZp5V5xZAU1Of2Vx-cum4J_DVpZ079JAe4jQr5zPmiZyu4vTtzmoT79i8XYFSZDl_AoI_ygVGBObMY43T8G3znHeup9UK7ISkC1ZTJi3j_dj--sejdojr8WKUV_ihm9Ejo_EdmqKVHXVGaQKWhv3XxDa-Ft-kHk84lAzrdnwafxi8n8AuIKXIWZOU4np-oFc5_AtFJhAmSE_mL7FG9JXsJ-iKDq0XxIwkbyj");'></div>
<span class="text-white font-medium group-hover:text-primary transition-colors">Operative Mike</span>
</div>
<div class="text-right">
<p class="text-white font-bold text-sm">Level 40</p>
<p class="text-slate-500 text-xs">92,100 XP</p>
</div>
</div>
<!-- Row 3 -->
<div class="flex items-center justify-between bg-background-dark/50 p-3 rounded-xl hover:bg-white/5 transition-colors cursor-pointer group">
<div class="flex items-center gap-3">
<span class="text-orange-700 font-bold w-4">3</span>
<div class="h-8 w-8 rounded-full bg-center bg-cover" data-alt="User Avatar John" style='background-image: url("https://lh3.googleusercontent.com/aida-public/AB6AXuAzdK_Keqmx0Sn5RA6yDjjV3_E6guHvDjxZ9CyT4SbF0vlEkXg8JkvCJeqscMya7Qg-M6J1U0G3XPZsEwvM2_6Qcu6fyCvMVvtoitA50eQXoWz7fzk5JKuuWG5nwh408TCxmGX_hS2oECu3SGJg6-wOgmt--Z9B3mFVuXiaaf-t6xcK5ZABM9LQPD-o7T57m6YGZC15y8OcR7gAej8SajuqtxdlKHLt05vJ8vCZDyOJ7vHu7JlSkfNn-EmooR9B90L3_r_7LXBvIA0Y");'></div>
<span class="text-white font-medium group-hover:text-primary transition-colors">Ranger John</span>
</div>
<div class="text-right">
<p class="text-white font-bold text-sm">Level 38</p>
<p class="text-slate-500 text-xs">88,050 XP</p>
</div>
</div>
</div>
</div>
<!-- Subscription Upsell -->
<div class="col-span-1 bg-gradient-to-br from-surface-dark to-primary/10 border border-primary/20 rounded-2xl p-6 relative overflow-hidden flex flex-col justify-center">
<div class="absolute -right-10 -top-10 h-40 w-40 bg-primary/20 rounded-full blur-3xl"></div>
<div class="relative z-10 flex flex-col items-center text-center">
<div class="h-12 w-12 rounded-full bg-primary/20 flex items-center justify-center mb-4 text-primary animate-bounce">
<span class="material-symbols-outlined">lock_open</span>
</div>
<h3 class="text-xl font-bold text-white mb-2">Unlock Premium</h3>
<p class="text-slate-300 text-sm mb-6">Access elite quests, double XP weekends, and exclusive avatars.</p>
<button class="w-full py-3 px-4 rounded-full bg-white text-primary font-bold text-sm hover:bg-slate-100 transition-colors shadow-lg">
Upgrade Now
</button>
</div>
</div>
</div>
</div>
</main>
</body></html>