/* --- DAILY REWARD BOX --- */
.daily-reward-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.daily-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    z-index: 0;
    animation: pulse-glow 3s infinite alternate;
}

@keyframes pulse-glow {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}

.daily-chest-container {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.daily-chest-icon {
    font-size: 3rem;
    color: var(--gacha);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Animation d'ouverture gérée par JS */
.chest-shake {
    animation: chest-shake 0.5s ease-in-out infinite;
}

@keyframes chest-shake {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg) scale(1.1); }
    50% { transform: rotate(10deg) scale(1.1); }
    75% { transform: rotate(-10deg) scale(1.1); }
    100% { transform: rotate(0deg); }
}

.chest-open {
    transform: scale(1.2);
    color: #ffc107 !important; /* Devient doré */
    text-shadow: 0 0 20px rgba(255, 193, 7, 0.8);
}