Spaces:
Running
Running
File size: 2,029 Bytes
f2768a5 66ba528 f2768a5 66ba528 f2768a5 66ba528 f2768a5 66ba528 f2768a5 66ba528 f2768a5 66ba528 f2768a5 |
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 |
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
body {
font-family: 'Poppins', sans-serif;
background: radial-gradient(circle at top, #1a0d00 0%, #000 55%);
min-height: 100vh;
}
/* Loot Box Styles */
.loot-box {
width: 90px;
height: 90px;
border-radius: 18px;
background: linear-gradient(145deg, #1e1e1e, #0a0a0a);
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 8px 18px rgba(0, 0, 0, 0.85);
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(135deg, rgba(255, 140, 0, 0.5), rgba(255, 140, 0, 0.1));
-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(255, 140, 0, 0.7);
}
.loot-box-inner {
width: 60px;
height: 60px;
border-radius: 12px;
background: linear-gradient(145deg, #222, #111);
display: flex;
align-items: center;
justify-content: center;
box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}
/* Multiplier Styles */
.multiplier {
min-width: 80px;
height: 40px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.1);
display: flex;
align-items: center;
justify-content: center;
font-weight: 600;
transition: all 0.3s ease;
}
.multiplier.selected {
background: rgba(255, 140, 0, 0.2);
color: #ff8c00;
transform: scale(1.1);
}
/* Animation Classes */
.animate-spin {
animation: spin 0.5s linear infinite;
}
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.fade-in {
animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
} |