| @keyframes pulse { | |
| 0%, 100% { | |
| transform: scale(1); | |
| } | |
| 50% { | |
| transform: scale(1.05); | |
| } | |
| } | |
| @keyframes float { | |
| 0%, 100% { | |
| transform: translateY(0); | |
| } | |
| 50% { | |
| transform: translateY(-10px); | |
| } | |
| } | |
| .loot-box { | |
| transition: all 0.3s ease; | |
| min-width: 100px; | |
| height: 120px; | |
| background: linear-gradient(145deg, #2d3748, #1a202c); | |
| border-radius: 12px; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| justify-content: center; | |
| border: 2px solid #4a5568; | |
| box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | |
| } | |
| .loot-box:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2); | |
| } | |
| .loot-box.common { | |
| border-color: #718096; | |
| } | |
| .loot-box.rare { | |
| border-color: #4299e1; | |
| box-shadow: 0 0 15px rgba(66, 153, 225, 0.5); | |
| } | |
| .loot-box.epic { | |
| border-color: #9f7aea; | |
| box-shadow: 0 0 20px rgba(159, 122, 234, 0.6); | |
| } | |
| .loot-box.legendary { | |
| border-color: #f6ad55; | |
| animation: pulse 2s infinite; | |
| box-shadow: 0 0 25px rgba(246, 173, 85, 0.7); | |
| } | |
| .multiplier-chip { | |
| min-width: 80px; | |
| height: 50px; | |
| background: linear-gradient(145deg, #2d3748, #1a202c); | |
| border-radius: 25px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| border: 2px solid #4a5568; | |
| font-weight: bold; | |
| transition: all 0.3s ease; | |
| } | |
| .multiplier-chip:hover { | |
| transform: scale(1.05); | |
| } | |
| .multiplier-chip.active { | |
| background: linear-gradient(145deg, #f6ad55, #f56565); | |
| color: white; | |
| border-color: #f6ad55; | |
| box-shadow: 0 0 15px rgba(245, 101, 101, 0.5); | |
| } | |
| .spinning { | |
| animation: spin 0.1s linear infinite; | |
| } | |
| @keyframes spin { | |
| 0% { | |
| transform: translateX(0); | |
| } | |
| 100% { | |
| transform: translateX(-100%); | |
| } | |
| } | |
| .winner-animation { | |
| animation: float 2s ease-in-out infinite, pulse 1.5s ease-in-out infinite; | |
| } |