/* Base styles */
.text-shadow-orange {
    text-shadow: 0 0 8px rgba(255, 140, 0, 0.7);
}

.text-shadow-gold {
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.8);
}

/* Loot Box Styles */
.loot-box {
    width: 80px;
    height: 80px;
    margin: 0 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.loot-box.common {
    border: 2px solid #2ecc71;
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.5);
}

.loot-box.rare {
    border: 2px solid #3498db;
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.5);
}

.loot-box.epic {
    border: 2px solid #9b59b6;
    box-shadow: 0 0 15px rgba(155, 89, 182, 0.5);
}

.loot-box.legendary {
    border: 2px solid #f1c40f;
    box-shadow: 0 0 20px rgba(241, 196, 15, 0.7);
}

.loot-box.selected {
    transform: scale(1.2) perspective(500px) rotateX(5deg);
    z-index: 10;
}

/* Selection Window */
.selection-window {
    width: 100px;
    height: 100px;
    border: 2px solid #FF8C00;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.7);
    pointer-events: none;
    opacity: 0.8;
    animation: pulse-glow 2s infinite;
}

/* Multiplier Styles */
.multiplier-pill {
    min-width: 80px;
    padding: 8px 16px;
    margin: 0 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: white;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
}

.multiplier-pill.selected {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.8), rgba(255, 215, 0, 0.8));
    transform: scale(1.3);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.7);
}

/* Spin Button */
.spin-button {
    background: linear-gradient(135deg, #f1c40f, #FF8C00);
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
    transition: all 0.3s ease;
}

.spin-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 140, 0, 0.8);
}

.spin-button:active {
    transform: scale(0.95);
}

/* Prize Popup */
.prize-popup {
    width: 200px;
    height: 200px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 2px solid #FF8C00;
    box-shadow: 0 0 40px rgba(255, 140, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    animation: rise-up 0.5s ease-out, glow-intense 1s ease-in-out;
}

/* Animations */
@keyframes pulse-glow {
    0% { box-shadow: 0 0 20px rgba(255, 140, 0, 0.7); }
    50% { box-shadow: 0 0 30px rgba(255, 140, 0, 0.9); }
    100% { box-shadow: 0 0 20px rgba(255, 140, 0, 0.7); }
}

@keyframes rise-up {
    from { transform: translate(-50%, -30%); opacity: 0; }
    to { transform: translate(-50%, -50%); opacity: 1; }
}

@keyframes glow-intense {
    0% { box-shadow: 0 0 20px rgba(255, 140, 0, 0.7); }
    50% { box-shadow: 0 0 60px rgba(255, 215, 0, 0.9); }
    100% { box-shadow: 0 0 40px rgba(255, 140, 0, 0.8); }
}