ProjectGenesis's picture
<!DOCTYPE html>
6d7a5d2 verified
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
:root {
--primary: #f97316;
--secondary: #eab308;
--dark: #1f2937;
--darker: #111827;
}
body {
font-family: 'Inter', sans-serif;
background-color: var(--darker);
min-height: 100vh;
display: flex;
flex-direction: column;
}
.loot-box {
min-width: 100px;
height: 100px;
background: linear-gradient(145deg, #1f2937, #111827);
border-radius: 16px;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.loot-box::before {
content: '';
position: absolute;
inset: 0;
border-radius: 16px;
padding: 2px;
background: linear-gradient(45deg, var(--primary), var(--secondary));
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
pointer-events: none;
}
.loot-box.selected {
transform: scale(1.1);
box-shadow: 0 0 20px rgba(249, 115, 22, 0.5);
}
.multiplier {
min-width: 80px;
height: 40px;
background: rgba(31, 41, 55, 0.7);
border-radius: 20px;
display: flex;
align-items: center;
justify-content: center;
font-weight: 600;
transition: all 0.3s ease;
}
.multiplier.selected {
background: linear-gradient(45deg, var(--primary), var(--secondary));
color: white;
box-shadow: 0 0 15px rgba(234, 179, 8, 0.5);
}
/* Animation classes */
.animate-spin {
animation: spin 0.5s linear infinite;
}
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.scale-pulse {
animation: pulse 1.5s infinite;
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.05); }
100% { transform: scale(1); }
}