/* ==========================================================
   PLATINUM NETWORK - MINING SESSION FX (v2)
   Coin stays completely stable/static at all times.
   Only a golden neon glow pulses BEHIND it, and only while
   .mining-scene-visual has .session-active (toggled by
   mining-session-fx.js based on /api/mining/status)
========================================================== */

.mining-scene-visual .golden-glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 78%;
    height: 78%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255,196,64,0.40) 0%, rgba(255,196,64,0.18) 55%, transparent 78%);
    box-shadow: 0 0 10px 3px rgba(255, 196, 64, 0.20);
    opacity: 0;
}

/* Everything else inside the coin stays above the glow and untouched */
.mining-scene-visual > *:not(.golden-glow-bg) {
    position: relative;
    z-index: 2;
}

/* Session ACTIVE -> glow turns on and pulses. Coin itself is never animated/moved. */

.mining-scene-visual.session-active .golden-glow-bg {
    animation: goldenGlowPulseFX 3.5s ease-in-out infinite;
}

@keyframes goldenGlowPulseFX {
    0%, 100% {
        opacity: 0.5;
        box-shadow: 0 0 8px 2px rgba(255, 196, 64, 0.15);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 16px 6px rgba(255, 196, 64, 0.35);
    }
}
