<!DOCTYPE html>
<html class="dark" lang="en"><head>
<meta charset="utf-8"/>
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
<title>Privacy & Notification Settings - QuizMaster</title>
<link href="https://fonts.googleapis.com/css2?family=Spline+Sans:wght@300;400;500;600;700&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"/>
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap" rel="stylesheet"/>
<script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>
<script id="tailwind-config">
tailwind.config = {
darkMode: "class",
theme: {
extend: {
colors: {
"primary": "#5b13ec",
"background-light": "#f6f6f8",
"background-dark": "#131118", // Matching the nav bar provided
"card-dark": "#1e1b24",
"text-main": "#ffffff",
"text-muted": "#a69db9",
},
fontFamily: {
"display": ["Spline Sans", "Noto Sans", "sans-serif"],
"body": ["Spline Sans", "Noto Sans", "sans-serif"]
},
borderRadius: {"DEFAULT": "1rem", "lg": "1.5rem", "xl": "2rem", "2xl": "3rem", "full": "9999px"},
},
},
}
</script>
<style>
/* Custom toggle styles to ensure high energy feel */
.toggle-checkbox:checked {
right: 0;
border-color: #5b13ec;
}
.toggle-checkbox:checked + .toggle-label {
background-color: #5b13ec;
}
/* Juice effect for interactions */
.interactive-hover:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px -5px rgba(91, 19, 236, 0.3);
}
</style>
</head>
<body class="bg-background-light dark:bg-background-dark font-display text-slate-900 dark:text-slate-100 antialiased min-h-screen flex flex-col">
<!-- Top Navigation Bar -->
<header class="sticky top-0 z-50 bg-[#131118]/90 backdrop-blur-md border-b border-[#2e2839]">
<div class="px-4 md:px-10 py-3 flex items-center justify-between whitespace-nowrap">
<div class="flex items-center gap-4 text-white">
<div class="size-8 text-primary">
<span class="material-symbols-outlined text-[32px]">hexagon</span>
</div>
<h2 class="text-white text-xl font-bold leading-tight tracking-[-0.015em]">QuizMaster</h2>
</div>
<div class="hidden md:flex flex-1 justify-end gap-8">
<nav class="flex items-center gap-9">
<a class="text-white hover:text-primary transition-colors text-sm font-medium leading-normal" href="#">Home</a>
<a class="text-white hover:text-primary transition-colors text-sm font-medium leading-normal" href="#">Quizzes</a>
<a class="text-white hover:text-primary transition-colors text-sm font-medium leading-normal" href="#">Leaderboard</a>
<a class="text-white hover:text-primary transition-colors text-sm font-medium leading-normal" href="#">Profile</a>
</nav>
<div class="flex gap-2">
<button class="flex items-center justify-center rounded-full size-10 bg-[#2e2839] hover:bg-[#3d354b] text-white transition-all">
<span class="material-symbols-outlined text-[20px]">notifications</span>
</button>
<button class="flex items-center justify-center rounded-full size-10 bg-[#2e2839] hover:bg-[#3d354b] text-white transition-all">
<span class="material-symbols-outlined text-[20px]">settings</span>
</button>
<div class="bg-center bg-no-repeat bg-cover rounded-full size-10 border-2 border-[#2e2839]" data-alt="User profile avatar" style='background-image: url("https://lh3.googleusercontent.com/aida-public/AB6AXuCHQnGVQFLc1n2Sg6SJRGL2C7ZKVikQ2c_owDcEdlnPDn-6rBUkhWQdo9q6fqeAFuCL2R4tzD9Ih3mhiUY4Zl5U-Q6EfI0YivCxUU8VgflJ4lBR7GsBT6t6dzxAhPyntODo7EvU_9zz9L5ThscNzP864p4gol-w2Jf1fHFD4icRVHcZXZI_tWQ19OkreBbmSHHcKCM6hgvJ686CCeaytBYaCKmXhHPZSNDFTCP1JYYogi1kNJDfecNQ7sTQjwoNfwRLmUXckTMvfFpA");'></div>
</div>
</div>
<!-- Mobile Menu Toggle -->
<button class="md:hidden text-white">
<span class="material-symbols-outlined">menu</span>
</button>
</div>
</header>
<!-- Main Content Area -->
<main class="flex-grow flex justify-center py-8 px-4 md:px-8">
<div class="w-full max-w-[960px] flex flex-col gap-8">
<!-- Page Header -->
<div class="flex flex-col md:flex-row justify-between items-start md:items-center gap-4 animate-fade-in-up">
<div class="flex flex-col gap-2">
<h1 class="text-white text-3xl md:text-5xl font-black leading-tight tracking-[-0.033em]">
Privacy Preference Center
</h1>
<p class="text-text-muted text-lg font-normal leading-normal">
Control your data and notification XP.
</p>
</div>
<div class="flex gap-3">
<button class="px-5 py-2.5 bg-[#2e2839] hover:bg-[#3d354b] text-white font-bold rounded-full text-sm transition-all flex items-center gap-2">
<span class="material-symbols-outlined text-[18px]">history</span>
View History
</button>
</div>
</div>
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
<!-- Main Settings Column -->
<div class="lg:col-span-2 flex flex-col gap-6">
<!-- Notifications Section -->
<div class="bg-card-dark rounded-xl p-1 border border-[#2e2839]">
<h2 class="text-white text-xl font-bold px-6 pt-6 pb-2 flex items-center gap-2">
<span class="material-symbols-outlined text-primary">notifications_active</span>
Notifications
</h2>
<div class="flex flex-col">
<!-- Item 1 -->
<div class="flex items-center gap-4 p-4 md:p-6 hover:bg-[#25212e] rounded-xl transition-colors group">
<div class="text-white flex items-center justify-center rounded-xl bg-[#2e2839] group-hover:bg-primary/20 group-hover:text-primary transition-colors shrink-0 size-14">
<span class="material-symbols-outlined text-[24px]">mail</span>
</div>
<div class="flex flex-col justify-center flex-1">
<p class="text-white text-base font-bold leading-normal">Marketing Emails</p>
<p class="text-text-muted text-sm font-normal leading-normal">Get bonus point alerts and promo news.</p>
</div>
<div class="shrink-0">
<label class="relative inline-flex items-center cursor-pointer">
<input checked="" class="sr-only peer" type="checkbox" value=""/>
<div class="w-14 h-8 bg-[#2e2839] peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[4px] after:start-[4px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-6 after:w-6 after:transition-all peer-checked:bg-primary"></div>
</label>
</div>
</div>
<!-- Item 2 -->
<div class="flex items-center gap-4 p-4 md:p-6 hover:bg-[#25212e] rounded-xl transition-colors group border-t border-[#2e2839]/50">
<div class="text-white flex items-center justify-center rounded-xl bg-[#2e2839] group-hover:bg-primary/20 group-hover:text-primary transition-colors shrink-0 size-14">
<span class="material-symbols-outlined text-[24px]">smartphone</span>
</div>
<div class="flex flex-col justify-center flex-1">
<p class="text-white text-base font-bold leading-normal">In-App Alerts</p>
<p class="text-text-muted text-sm font-normal leading-normal">Know immediately when a friend beats your high score.</p>
</div>
<div class="shrink-0">
<label class="relative inline-flex items-center cursor-pointer">
<input checked="" class="sr-only peer" type="checkbox" value=""/>
<div class="w-14 h-8 bg-[#2e2839] peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[4px] after:start-[4px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-6 after:w-6 after:transition-all peer-checked:bg-primary"></div>
</label>
</div>
</div>
</div>
</div>
<!-- Privacy Section -->
<div class="bg-card-dark rounded-xl p-1 border border-[#2e2839]">
<h2 class="text-white text-xl font-bold px-6 pt-6 pb-2 flex items-center gap-2">
<span class="material-symbols-outlined text-primary">security</span>
Privacy & Visibility
</h2>
<div class="flex flex-col">
<!-- Item 1 -->
<div class="flex items-center gap-4 p-4 md:p-6 hover:bg-[#25212e] rounded-xl transition-colors group">
<div class="text-white flex items-center justify-center rounded-xl bg-[#2e2839] group-hover:bg-primary/20 group-hover:text-primary transition-colors shrink-0 size-14">
<span class="material-symbols-outlined text-[24px]">visibility</span>
</div>
<div class="flex flex-col justify-center flex-1">
<p class="text-white text-base font-bold leading-normal">Public Profile Visibility</p>
<p class="text-text-muted text-sm font-normal leading-normal">Allow other players to see your quiz stats and badges.</p>
</div>
<div class="shrink-0">
<label class="relative inline-flex items-center cursor-pointer">
<input class="sr-only peer" type="checkbox" value=""/>
<div class="w-14 h-8 bg-[#2e2839] peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[4px] after:start-[4px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-6 after:w-6 after:transition-all peer-checked:bg-primary"></div>
</label>
</div>
</div>
<!-- Item 2 -->
<div class="flex items-center gap-4 p-4 md:p-6 hover:bg-[#25212e] rounded-xl transition-colors group border-t border-[#2e2839]/50">
<div class="text-white flex items-center justify-center rounded-xl bg-[#2e2839] group-hover:bg-primary/20 group-hover:text-primary transition-colors shrink-0 size-14">
<span class="material-symbols-outlined text-[24px]">trophy</span>
</div>
<div class="flex flex-col justify-center flex-1">
<div class="flex items-center gap-2">
<p class="text-white text-base font-bold leading-normal">Leaderboard Presence</p>
<span class="bg-primary/20 text-primary text-[10px] font-bold px-2 py-0.5 rounded-full uppercase tracking-wide">Ranked</span>
</div>
<p class="text-text-muted text-sm font-normal leading-normal">Show my username on global weekly leaderboards.</p>
</div>
<div class="shrink-0">
<label class="relative inline-flex items-center cursor-pointer">
<input checked="" class="sr-only peer" type="checkbox" value=""/>
<div class="w-14 h-8 bg-[#2e2839] peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[4px] after:start-[4px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-6 after:w-6 after:transition-all peer-checked:bg-primary"></div>
</label>
</div>
</div>
<!-- Item 3 -->
<div class="flex items-center gap-4 p-4 md:p-6 hover:bg-[#25212e] rounded-xl transition-colors group border-t border-[#2e2839]/50">
<div class="text-white flex items-center justify-center rounded-xl bg-[#2e2839] group-hover:bg-primary/20 group-hover:text-primary transition-colors shrink-0 size-14">
<span class="material-symbols-outlined text-[24px]">cookie</span>
</div>
<div class="flex flex-col justify-center flex-1">
<p class="text-white text-base font-bold leading-normal">Personalized Ads</p>
<p class="text-text-muted text-sm font-normal leading-normal">Allow partners to show ads based on your quiz history.</p>
</div>
<div class="shrink-0">
<label class="relative inline-flex items-center cursor-pointer">
<input class="sr-only peer" type="checkbox" value=""/>
<div class="w-14 h-8 bg-[#2e2839] peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[4px] after:start-[4px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-6 after:w-6 after:transition-all peer-checked:bg-primary"></div>
</label>
</div>
</div>
</div>
</div>
</div>
<!-- Sidebar / Data Management -->
<div class="flex flex-col gap-6">
<!-- Data Control Card -->
<div class="bg-card-dark rounded-xl p-6 border border-[#2e2839] flex flex-col gap-4 sticky top-24">
<div class="flex items-center gap-3 mb-2">
<div class="text-primary bg-primary/10 p-2 rounded-lg">
<span class="material-symbols-outlined text-[24px]">database</span>
</div>
<h3 class="text-white text-lg font-bold">Data Management</h3>
</div>
<p class="text-text-muted text-sm leading-relaxed">
You have full control over your quiz data. Download a copy of your stats or delete your account permanently.
</p>
<button class="w-full h-12 flex items-center justify-center gap-2 rounded-full border border-[#2e2839] text-white font-bold hover:bg-[#2e2839] hover:border-transparent transition-all">
<span class="material-symbols-outlined text-[20px]">download</span>
Download My Data
</button>
<button class="w-full h-12 flex items-center justify-center gap-2 rounded-full border border-red-500/30 text-red-400 font-bold hover:bg-red-500/10 transition-all mt-2">
<span class="material-symbols-outlined text-[20px]">delete</span>
Delete Account
</button>
<div class="h-px w-full bg-[#2e2839] my-2"></div>
<div class="bg-[#25212e] rounded-lg p-4 border border-[#2e2839]/50">
<div class="flex items-center gap-2 text-primary mb-1">
<span class="material-symbols-outlined text-[18px]">info</span>
<span class="text-sm font-bold">Why do we need data?</span>
</div>
<p class="text-xs text-text-muted">We use your data to match you with players of similar skill levels and generate personalized quiz recommendations.</p>
</div>
</div>
</div>
</div>
<!-- Save Action Bar -->
<div class="fixed bottom-6 left-0 right-0 px-4 flex justify-center z-40 pointer-events-none">
<div class="bg-[#1e1b24] p-2 pl-6 pr-2 rounded-full shadow-[0_8px_30px_rgb(0,0,0,0.5)] border border-[#2e2839] flex items-center gap-6 pointer-events-auto transform transition-all hover:scale-[1.02]">
<span class="text-text-muted text-sm font-medium hidden sm:block">You have unsaved changes</span>
<div class="flex gap-2">
<button class="px-6 py-3 rounded-full text-white font-bold text-sm hover:text-primary transition-colors">Cancel</button>
<button class="px-8 py-3 bg-primary hover:bg-primary/90 text-white rounded-full font-bold shadow-[0_0_20px_rgba(91,19,236,0.5)] transition-all flex items-center gap-2">
<span class="material-symbols-outlined text-[20px]">save</span>
Save Changes
</button>
</div>
</div>
</div>
</div>
</main>
<!-- Footer -->
<footer class="border-t border-[#2e2839] mt-10 bg-[#0f0d13]">
<div class="max-w-[960px] mx-auto px-10 py-12 flex flex-col md:flex-row justify-between items-start md:items-center gap-8">
<div class="flex flex-col gap-2">
<div class="flex items-center gap-2 text-white/50">
<span class="material-symbols-outlined text-[24px]">hexagon</span>
<span class="font-bold text-lg">QuizMaster</span>
</div>
<p class="text-text-muted text-sm">© 2024 QuizMaster Inc. Game on.</p>
</div>
<div class="flex flex-wrap gap-8">
<a class="text-text-muted hover:text-white text-sm transition-colors" href="#">Privacy Policy</a>
<a class="text-text-muted hover:text-white text-sm transition-colors" href="#">Terms of Service</a>
<a class="text-text-muted hover:text-white text-sm transition-colors" href="#">Help Center</a>
<a class="text-text-muted hover:text-white text-sm transition-colors" href="#">Cookie Preferences</a>
</div>
</div>
</footer>
</body></html>