Spaces:
Running
Running
File size: 18,736 Bytes
0975dcf | 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 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AI Classroom - Prizes Showcase</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=Inter:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Inter', sans-serif;
background-color: #F9FBFF;
}
.gradient-text {
background: linear-gradient(90deg, #D6C8F4 0%, #B1D5F7 100%);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.prize-card {
transition: all 0.3s ease;
transform: translateY(0);
}
.prize-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(177, 213, 247, 0.3);
}
.popular-badge {
animation: pulse 2s infinite;
}
.sparkle {
position: absolute;
width: 8px;
height: 8px;
background: #FFD700;
border-radius: 50%;
pointer-events: none;
opacity: 0;
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.05); }
100% { transform: scale(1); }
}
.carousel {
scroll-snap-type: x mandatory;
}
.carousel-item {
scroll-snap-align: start;
}
</style>
</head>
<body class="min-h-screen py-12 px-4 sm:px-6 lg:px-8">
<div class="max-w-7xl mx-auto">
<!-- Section Header -->
<div class="text-center mb-12">
<h2 class="text-4xl md:text-5xl font-bold mb-4">
<span class="gradient-text">🏆 Some Amazing Prizes You Can Win</span>
</h2>
<p class="text-lg text-gray-600 max-w-3xl mx-auto">
We reward your curiosity. Here are just a few of the exciting rewards you could win by participating in weekly contests.
</p>
</div>
<!-- Prizes Grid (Desktop) -->
<div class="hidden md:grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8 mb-8">
<!-- Prize Card 1 -->
<div class="prize-card bg-white rounded-xl p-6 shadow-md relative overflow-hidden hover:shadow-lg transition-all duration-300 cursor-pointer"
onmouseenter="addSparkles(this)">
<div class="absolute top-4 right-4 bg-yellow-100 text-yellow-800 text-xs font-semibold px-2 py-1 rounded-full popular-badge">
Popular
</div>
<div class="flex justify-center mb-6">
<div class="w-40 h-40 bg-gradient-to-br from-purple-100 to-blue-100 rounded-lg flex items-center justify-center">
<i class="fas fa-laptop text-6xl text-purple-500"></i>
</div>
</div>
<h3 class="text-xl font-bold text-gray-800 mb-2">Apple MacBook Air</h3>
<p class="text-gray-600 mb-4">Latest M2 chip, 13-inch Retina display, perfect for coding and design.</p>
<div class="flex items-center">
<span class="bg-purple-100 text-purple-800 text-sm font-medium px-3 py-1 rounded-full">
<i class="fas fa-trophy mr-1"></i> Top 1 Winner
</span>
</div>
</div>
<!-- Prize Card 2 -->
<div class="prize-card bg-white rounded-xl p-6 shadow-md relative overflow-hidden hover:shadow-lg transition-all duration-300 cursor-pointer"
onmouseenter="addSparkles(this)">
<div class="flex justify-center mb-6">
<div class="w-40 h-40 bg-gradient-to-br from-blue-100 to-cyan-100 rounded-lg flex items-center justify-center">
<i class="fas fa-tablet-alt text-6xl text-blue-500"></i>
</div>
</div>
<h3 class="text-xl font-bold text-gray-800 mb-2">Apple iPad Pro</h3>
<p class="text-gray-600 mb-4">12.9-inch Liquid Retina XDR display with M1 chip.</p>
<div class="flex items-center">
<span class="bg-blue-100 text-blue-800 text-sm font-medium px-3 py-1 rounded-full">
<i class="fas fa-medal mr-1"></i> Top 3 Winners
</span>
</div>
</div>
<!-- Prize Card 3 -->
<div class="prize-card bg-white rounded-xl p-6 shadow-md relative overflow-hidden hover:shadow-lg transition-all duration-300 cursor-pointer"
onmouseenter="addSparkles(this)">
<div class="absolute top-4 right-4 bg-green-100 text-green-800 text-xs font-semibold px-2 py-1 rounded-full">
New
</div>
<div class="flex justify-center mb-6">
<div class="w-40 h-40 bg-gradient-to-br from-green-100 to-teal-100 rounded-lg flex items-center justify-center">
<i class="fas fa-watch text-6xl text-green-500"></i>
</div>
</div>
<h3 class="text-xl font-bold text-gray-800 mb-2">Apple Watch Series 8</h3>
<p class="text-gray-600 mb-4">Advanced health monitoring and fitness tracking.</p>
<div class="flex items-center">
<span class="bg-green-100 text-green-800 text-sm font-medium px-3 py-1 rounded-full">
<i class="fas fa-coins mr-1"></i> 750 Coins
</span>
</div>
</div>
<!-- Prize Card 4 -->
<div class="prize-card bg-white rounded-xl p-6 shadow-md relative overflow-hidden hover:shadow-lg transition-all duration-300 cursor-pointer">
<div class="flex justify-center mb-6">
<div class="w-40 h-40 bg-gradient-to-br from-red-100 to-pink-100 rounded-lg flex items-center justify-center">
<i class="fas fa-headphones text-6xl text-red-500"></i>
</div>
</div>
<h3 class="text-xl font-bold text-gray-800 mb-2">Sony WH-1000XM5</h3>
<p class="text-gray-600 mb-4">Industry-leading noise canceling headphones.</p>
<div class="flex items-center">
<span class="bg-red-100 text-red-800 text-sm font-medium px-3 py-1 rounded-full">
<i class="fas fa-medal mr-1"></i> Top 5 Winners
</span>
</div>
</div>
<!-- Prize Card 5 -->
<div class="prize-card bg-white rounded-xl p-6 shadow-md relative overflow-hidden hover:shadow-lg transition-all duration-300 cursor-pointer">
<div class="flex justify-center mb-6">
<div class="w-40 h-40 bg-gradient-to-br from-yellow-100 to-orange-100 rounded-lg flex items-center justify-center">
<i class="fas fa-gamepad text-6xl text-yellow-500"></i>
</div>
</div>
<h3 class="text-xl font-bold text-gray-800 mb-2">PlayStation 5</h3>
<p class="text-gray-600 mb-4">Next-gen gaming console with ultra-high speed SSD.</p>
<div class="flex items-center">
<span class="bg-yellow-100 text-yellow-800 text-sm font-medium px-3 py-1 rounded-full">
<i class="fas fa-trophy mr-1"></i> Top 1 Winner
</span>
</div>
</div>
<!-- Prize Card 6 -->
<div class="prize-card bg-white rounded-xl p-6 shadow-md relative overflow-hidden hover:shadow-lg transition-all duration-300 cursor-pointer">
<div class="flex justify-center mb-6">
<div class="w-40 h-40 bg-gradient-to-br from-indigo-100 to-purple-100 rounded-lg flex items-center justify-center">
<i class="fas fa-graduation-cap text-6xl text-indigo-500"></i>
</div>
</div>
<h3 class="text-xl font-bold text-gray-800 mb-2">Premium Course Bundle</h3>
<p class="text-gray-600 mb-4">Access to all AI Classroom premium courses for 1 year.</p>
<div class="flex items-center">
<span class="bg-indigo-100 text-indigo-800 text-sm font-medium px-3 py-1 rounded-full">
<i class="fas fa-coins mr-1"></i> 300 Coins
</span>
</div>
</div>
</div>
<!-- Prizes Carousel (Mobile) -->
<div class="md:hidden mb-8">
<div class="carousel flex overflow-x-auto pb-4 gap-4" style="scrollbar-width: none;">
<div class="carousel-item flex-none w-64">
<div class="prize-card bg-white rounded-xl p-6 shadow-md relative overflow-hidden hover:shadow-lg transition-all duration-300 cursor-pointer">
<div class="absolute top-4 right-4 bg-yellow-100 text-yellow-800 text-xs font-semibold px-2 py-1 rounded-full popular-badge">
Popular
</div>
<div class="flex justify-center mb-6">
<div class="w-32 h-32 bg-gradient-to-br from-purple-100 to-blue-100 rounded-lg flex items-center justify-center">
<i class="fas fa-laptop text-5xl text-purple-500"></i>
</div>
</div>
<h3 class="text-lg font-bold text-gray-800 mb-2">MacBook Air</h3>
<p class="text-sm text-gray-600 mb-4">M2 chip, 13-inch Retina display</p>
<div class="flex items-center">
<span class="bg-purple-100 text-purple-800 text-xs font-medium px-2 py-1 rounded-full">
<i class="fas fa-trophy mr-1"></i> Top 1
</span>
</div>
</div>
</div>
<div class="carousel-item flex-none w-64">
<div class="prize-card bg-white rounded-xl p-6 shadow-md relative overflow-hidden hover:shadow-lg transition-all duration-300 cursor-pointer">
<div class="flex justify-center mb-6">
<div class="w-32 h-32 bg-gradient-to-br from-blue-100 to-cyan-100 rounded-lg flex items-center justify-center">
<i class="fas fa-tablet-alt text-5xl text-blue-500"></i>
</div>
</div>
<h3 class="text-lg font-bold text-gray-800 mb-2">iPad Pro</h3>
<p class="text-sm text-gray-600 mb-4">12.9-inch with M1 chip</p>
<div class="flex items-center">
<span class="bg-blue-100 text-blue-800 text-xs font-medium px-2 py-1 rounded-full">
<i class="fas fa-medal mr-1"></i> Top 3
</span>
</div>
</div>
</div>
<div class="carousel-item flex-none w-64">
<div class="prize-card bg-white rounded-xl p-6 shadow-md relative overflow-hidden hover:shadow-lg transition-all duration-300 cursor-pointer">
<div class="absolute top-4 right-4 bg-green-100 text-green-800 text-xs font-semibold px-2 py-1 rounded-full">
New
</div>
<div class="flex justify-center mb-6">
<div class="w-32 h-32 bg-gradient-to-br from-green-100 to-teal-100 rounded-lg flex items-center justify-center">
<i class="fas fa-watch text-5xl text-green-500"></i>
</div>
</div>
<h3 class="text-lg font-bold text-gray-800 mb-2">Apple Watch</h3>
<p class="text-sm text-gray-600 mb-4">Series 8 with health monitoring</p>
<div class="flex items-center">
<span class="bg-green-100 text-green-800 text-xs font-medium px-2 py-1 rounded-full">
<i class="fas fa-coins mr-1"></i> 750
</span>
</div>
</div>
</div>
<div class="carousel-item flex-none w-64">
<div class="prize-card bg-white rounded-xl p-6 shadow-md relative overflow-hidden hover:shadow-lg transition-all duration-300 cursor-pointer">
<div class="flex justify-center mb-6">
<div class="w-32 h-32 bg-gradient-to-br from-red-100 to-pink-100 rounded-lg flex items-center justify-center">
<i class="fas fa-headphones text-5xl text-red-500"></i>
</div>
</div>
<h3 class="text-lg font-bold text-gray-800 mb-2">Sony Headphones</h3>
<p class="text-sm text-gray-600 mb-4">WH-1000XM5 noise canceling</p>
<div class="flex items-center">
<span class="bg-red-100 text-red-800 text-xs font-medium px-2 py-1 rounded-full">
<i class="fas fa-medal mr-1"></i> Top 5
</span>
</div>
</div>
</div>
</div>
</div>
<!-- View All Button -->
<div class="text-center mt-8">
<button class="bg-gradient-to-r from-purple-400 to-blue-500 hover:from-purple-500 hover:to-blue-600 text-white font-semibold py-3 px-8 rounded-full shadow-md transition-all duration-300 transform hover:scale-105">
View All Prizes
<i class="fas fa-arrow-right ml-2"></i>
</button>
</div>
</div>
<script>
// Function to add sparkle effects
function addSparkles(element) {
// Only add sparkles to premium prizes
if(element.querySelector('.fa-trophy') || element.querySelector('.popular-badge')) {
const colors = ['#FFD700', '#FFA500', '#FF6347', '#FF69B4', '#9370DB'];
for(let i = 0; i < 15; i++) {
const sparkle = document.createElement('div');
sparkle.classList.add('sparkle');
// Random position
const rect = element.getBoundingClientRect();
const x = Math.random() * rect.width;
const y = Math.random() * rect.height;
sparkle.style.left = `${x}px`;
sparkle.style.top = `${y}px`;
sparkle.style.background = colors[Math.floor(Math.random() * colors.length)];
element.appendChild(sparkle);
// Animate sparkle
setTimeout(() => {
sparkle.style.opacity = '0.8';
sparkle.style.transform = 'scale(1.5)';
setTimeout(() => {
sparkle.style.opacity = '0';
sparkle.style.transform = 'scale(0.5)';
setTimeout(() => {
if(sparkle.parentNode) {
sparkle.parentNode.removeChild(sparkle);
}
}, 300);
}, 500);
}, Math.random() * 300);
}
}
}
// Add tooltip functionality
document.addEventListener('DOMContentLoaded', function() {
const prizeCards = document.querySelectorAll('.prize-card');
prizeCards.forEach(card => {
// Create tooltip
const tooltip = document.createElement('div');
tooltip.className = 'absolute z-10 invisible bg-gray-800 text-white text-xs rounded py-1 px-2 bottom-full mb-2 left-1/2 transform -translate-x-1/2 whitespace-nowrap';
// Set tooltip content based on prize
if(card.querySelector('.fa-trophy')) {
tooltip.textContent = 'Awarded to contest winner with highest score';
} else if(card.querySelector('.fa-medal')) {
tooltip.textContent = 'Awarded to top performers in weekly contest';
} else if(card.querySelector('.fa-coins')) {
tooltip.textContent = 'Redeemable in our rewards marketplace';
}
card.appendChild(tooltip);
// Show/hide tooltip
card.addEventListener('mouseenter', function() {
tooltip.classList.remove('invisible');
});
card.addEventListener('mouseleave', function() {
tooltip.classList.add('invisible');
});
});
});
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Design-28/prizes-section" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |