ProjectGenesis's picture
Design a premium, cinematic “Double Spin Loot Box” feature module for an online sweepstakes casino platform called Nioplay.
97e45ce verified
/* Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');
body {
font-family: 'Inter', sans-serif;
color: white;
}
/* Glassmorphism Effects */
.glass-panel {
background: rgba(15, 15, 15, 0.65);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.08);
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.36),
inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.glass-badge {
background: rgba(255, 140, 0, 0.1);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
border: 1px solid rgba(255, 140, 0, 0.15);
}
/* Spin Button */
.spin-button {
background: linear-gradient(135deg, #FFCC66 0%, #FF8C00 100%);
color: rgba(0, 0, 0, 0.8);
box-shadow: 0 4px 20px rgba(255, 140, 0, 0.4),
inset 0 2px 0 rgba(255, 255, 255, 0.2);
}
.glow-effect {
position: relative;
z-index: 1;
}
.glow-effect::after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(135deg, #FFCC66 0%, #FF8C00 100%);
border-radius: 9999px;
z-index: -1;
filter: blur(15px);
opacity: 0.6;
transition: opacity 0.3s ease;
}
.glow-effect:hover::after {
opacity: 0.8;
}
/* Selection Frame Animation */
@keyframes pulse-glow {
0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4); }
70% { box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); }
100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}
/* Loot Box Rarity Colors */
.common { --glow-color: #4CAF50; }
.rare { --glow-color: #2196F3; }
.epic { --glow-color: #9C27B0; }
.legendary { --glow-color: #FF8C00; }
/* Responsive Adjustments */
@media (max-width: 640px) {
.glass-panel {
padding: 1.5rem;
}
}