Beneath the loot box spin carousel, add a SECOND horizontal RNG slider for the “Multiplier Roll.”
0a557cb
verified
| @keyframes pulse-glow { | |
| 0%, 100% { opacity: 0.7; } | |
| 50% { opacity: 1; } | |
| } | |
| @keyframes float { | |
| 0%, 100% { transform: translateY(0); } | |
| 50% { transform: translateY(-5px); } | |
| } | |
| .loot-box { | |
| position: relative; | |
| width: 120px; | |
| height: 120px; | |
| perspective: 1000px; | |
| cursor: pointer; | |
| animation: float 3s ease-in-out infinite; | |
| } | |
| .loot-box-inner { | |
| position: relative; | |
| width: 100%; | |
| height: 100%; | |
| transform-style: preserve-3d; | |
| transition: transform 0.8s; | |
| } | |
| .loot-box:hover .loot-box-inner { | |
| transform: rotateY(10deg) rotateX(5deg); | |
| } | |
| .loot-box-front, .loot-box-back { | |
| position: absolute; | |
| width: 100%; | |
| height: 100%; | |
| backface-visibility: hidden; | |
| border-radius: 8px; | |
| box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); | |
| background: linear-gradient(145deg, #1a1a1a, #2a2a2a); | |
| border: 2px solid; | |
| } | |
| .loot-box-front { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-weight: bold; | |
| color: white; | |
| } | |
| .loot-box-back { | |
| transform: rotateY(180deg); | |
| background: linear-gradient(145deg, #1a1a1a, #2a2a2a); | |
| } | |
| .common { border-color: rgba(0, 255, 0, 0.3); box-shadow: 0 0 20px rgba(0, 255, 0, 0.1); } | |
| .rare { border-color: rgba(0, 100, 255, 0.3); box-shadow: 0 0 20px rgba(0, 100, 255, 0.1); } | |
| .epic { border-color: rgba(150, 0, 255, 0.3); box-shadow: 0 0 20px rgba(150, 0, 255, 0.1); } | |
| .legendary { border-color: rgba(255, 140, 0, 0.5); box-shadow: 0 0 30px rgba(255, 140, 0, 0.2); } | |
| .loot-box.selected { | |
| animation: pulse-glow 1.5s infinite; | |
| transform: scale(1.15); | |
| z-index: 10; | |
| } | |
| .loot-box.selected.legendary { | |
| box-shadow: 0 0 50px rgba(255, 140, 0, 0.5); | |
| } | |
| .loot-box-lid { | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 20%; | |
| background: inherit; | |
| border-radius: 8px 8px 0 0; | |
| transform-origin: bottom; | |
| transition: transform 0.5s; | |
| } | |
| .particles { | |
| background-image: radial-gradient(ellipse at center, rgba(255, 140, 0, 0.1) 0%, transparent 70%); | |
| background-size: 600px 600px; | |
| background-position: 0 0; | |
| animation: particle-move 20s infinite linear; | |
| } | |
| @keyframes particle-move { | |
| 100% { background-position: 600px 600px; } | |
| } | |
| .light-beam { | |
| animation: beam-pulse 8s infinite alternate; | |
| } | |
| .light-beam-2 { | |
| animation: beam-pulse 12s infinite alternate-reverse; | |
| } | |
| @keyframes beam-pulse { | |
| 0%, 100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.1; } | |
| 50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.3; } | |
| } | |
| .prize-reveal { | |
| position: absolute; | |
| top: -100px; | |
| left: 50%; | |
| transform: translateX(-50%); | |
| font-size: 1.5rem; | |
| font-weight: bold; | |
| color: white; | |
| text-shadow: 0 0 10px rgba(255, 140, 0, 0.8); | |
| animation: prize-float 3s ease-in-out infinite; | |
| } | |
| @keyframes prize-float { | |
| 0%, 100% { transform: translate(-50%, 0); } | |
| 50% { transform: translate(-50%, -10px); } | |
| } | |
| .motion-blur { | |
| filter: blur(3px); | |
| opacity: 0.7; | |
| } | |
| .speed-lines { | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| background: linear-gradient(90deg, transparent, rgba(255, 140, 0, 0.1), transparent); | |
| opacity: 0; | |
| } | |
| .energy-burst { | |
| position: absolute; | |
| border-radius: 50%; | |
| background: radial-gradient(circle, rgba(255, 140, 0, 0.8), transparent 70%); | |
| transform: scale(0); | |
| opacity: 0; | |
| } | |
| /* Multiplier Track Styles */ | |
| .multiplier-track { | |
| position: relative; | |
| width: 100%; | |
| height: 80px; | |
| margin-top: 40px; | |
| } | |
| .multiplier-slider { | |
| position: relative; | |
| display: flex; | |
| align-items: center; | |
| height: 100%; | |
| } | |
| .multiplier-pill { | |
| min-width: 80px; | |
| height: 40px; | |
| background: rgba(255, 255, 255, 0.05); | |
| backdrop-filter: blur(10px); | |
| border: 1px solid rgba(255, 140, 0, 0.2); | |
| border-radius: 20px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| color: #FFD700; | |
| font-weight: bold; | |
| font-size: 1.2rem; | |
| text-shadow: 0 0 10px rgba(255, 140, 0, 0.5); | |
| box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), | |
| inset 0 0 10px rgba(255, 215, 0, 0.1); | |
| transition: all 0.3s ease; | |
| transform: translateY(-5px); | |
| } | |
| .multiplier-pill:hover { | |
| background: rgba(255, 140, 0, 0.1); | |
| box-shadow: 0 0 20px rgba(255, 140, 0, 0.3); | |
| } | |
| .multiplier-selection-frame { | |
| position: absolute; | |
| left: 50%; | |
| top: 50%; | |
| transform: translate(-50%, -50%); | |
| width: 90px; | |
| height: 50px; | |
| border: 2px solid #FF8C00; | |
| border-radius: 25px; | |
| box-shadow: 0 0 15px rgba(255, 140, 0, 0.5), | |
| inset 0 0 10px rgba(255, 140, 0, 0.3); | |
| pointer-events: none; | |
| } | |
| .multiplier-slider.blurred .multiplier-pill:not(.selected) { | |
| filter: blur(1.5px); | |
| opacity: 0.7; | |
| } | |
| .multiplier-pill.selected { | |
| background: rgba(255, 140, 0, 0.15); | |
| box-shadow: 0 0 30px rgba(255, 140, 0, 0.5); | |
| transform: scale(1.1) translateY(-5px); | |
| z-index: 10; | |
| } | |