@@ -311,30 +311,62 @@ export const PluginManager: React.FC = () => {
311311 ) . map ( ( stat , index ) => (
312312 < motion . div
313313 key = { stat . label }
314- className = "flex flex-col gap-1 rounded-xl p-4 "
314+ className = "group relative flex cursor-pointer flex-col gap-3 overflow-hidden rounded-2xl p-5 "
315315 style = { {
316316 background : themeStyles . effects . glassMorphism . background ,
317317 border : `1px solid ${ themeStyles . card . borderColor } ` ,
318+ boxShadow : '0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)' ,
318319 } }
319320 initial = { { opacity : 0 , y : 8 } }
320321 animate = { { opacity : 1 , y : 0 } }
321322 transition = { { duration : 0.25 , delay : index * 0.05 } }
322- whileHover = { { y : - 2 } }
323+ whileHover = { {
324+ y : - 4 ,
325+ boxShadow :
326+ '0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)' ,
327+ } }
323328 >
329+ { /* Gradient overlay on hover */ }
330+ < div
331+ className = "absolute inset-0 opacity-0 transition-opacity duration-300 group-hover:opacity-100"
332+ style = { {
333+ background : `linear-gradient(135deg, ${ stat . iconColor } 05 0%, ${ stat . iconColor } 10 100%)` ,
334+ } }
335+ />
336+
324337 < div
325- className = "flex h-10 w-10 items-center justify-center rounded-lg"
326- style = { { background : stat . iconBg } }
338+ className = "relative z-10 flex h-12 w-12 items-center justify-center rounded-xl transition-all duration-300 group-hover:scale-105"
339+ style = { {
340+ background : stat . iconBg ,
341+ boxShadow : '0 0 0 0 transparent' ,
342+ } }
327343 >
328- < stat . Icon className = "h-5 w-5" style = { { color : stat . iconColor } } />
344+ < stat . Icon
345+ className = "h-6 w-6 transition-transform duration-300 group-hover:scale-110"
346+ style = { { color : stat . iconColor } }
347+ />
329348 </ div >
330- < div className = "flex flex-col" >
331- < span className = "text-2xl font-bold" style = { { color : stat . color } } >
349+
350+ < div className = "relative z-10 flex flex-col gap-1" >
351+ < span
352+ className = "origin-left text-3xl font-bold tracking-tight transition-transform duration-300 group-hover:scale-105"
353+ style = { { color : stat . color } }
354+ >
332355 { stat . value }
333356 </ span >
334- < span className = "text-sm" style = { { color : themeStyles . colors . text . secondary } } >
357+ < span
358+ className = "text-sm font-medium"
359+ style = { { color : themeStyles . colors . text . secondary } }
360+ >
335361 { stat . label }
336362 </ span >
337363 </ div >
364+
365+ { /* Bottom accent line */ }
366+ < div
367+ className = "absolute bottom-0 left-0 h-0.5 w-0 transition-all duration-300 group-hover:w-full"
368+ style = { { background : stat . iconColor } }
369+ />
338370 </ motion . div >
339371 ) ) }
340372 </ div >
0 commit comments