/* ============================================
   FUNUP – SPIN WHEEL CANVAS STYLES
   ============================================ */

/* Glow overlay on spin win */
.win-glow-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999998;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255,204,0,0.25) 0%, transparent 70%);
  opacity: 0;
  animation: winGlowFx 1s ease forwards;
}

@keyframes winGlowFx {
  0%   { opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 0.8; }
  100% { opacity: 0; }
}

/* Wheel spinning state */
.wheel-spinning #spin-center-btn {
  pointer-events: none;
  opacity: 0.7;
}

/* Sound active state */
.sound-toggle.muted { opacity: 0.4; }

/* Vagas counter urgency */
#vagas-counter, #final-vagas {
  color: #ff4444;
  font-weight: 900;
  font-family: 'Orbitron', sans-serif;
}

/* Live player count flicker */
.live-player-count {
  color: #00ff88;
  font-weight: 800;
  animation: countFlicker 4s ease-in-out infinite;
}

@keyframes countFlicker {
  0%, 90%, 100% { opacity: 1; }
  92% { opacity: 0.6; }
  94% { opacity: 1; }
  96% { opacity: 0.7; }
}

/* Ticker items pulse */
.ticker-item:nth-child(odd) .t-amount { color: #ffcc00; }
.ticker-item:nth-child(even) .t-amount { color: #00ff88; }

/* Step numbers hover effect */
.step-card:hover .step-number { color: rgba(0,255,136,0.2); }

/* Bonus card gradient borders */
.bonus-card.bonus-main::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  background: linear-gradient(135deg, rgba(255,204,0,0.3), rgba(0,255,136,0.2), rgba(255,204,0,0.3));
  z-index: -1;
  animation: borderRotate 4s linear infinite;
}

@keyframes borderRotate {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

/* Game cards inner particle effect */
.game-card:hover .game-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.3) 0%, transparent 60%);
  z-index: 1;
}

/* Hero shimmer effect */
@keyframes heroShimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Notification bounce */
.win-notif:hover {
  transform: translateX(4px) scale(1.01);
  transition: transform 0.2s;
}

/* Mobile: disable heavy animations for performance */
@media (prefers-reduced-motion: reduce) {
  .float-coin, .particle { animation: none; }
  .btn-pulse { animation: none; }
  .wheel-glow-ring { animation: none; }
}

/* Bottom progress bar decoration */
.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,255,136,0.3), rgba(255,204,0,0.3), transparent);
}

.stats-section { position: relative; }

/* Glassmorphism panels */
.glass-panel {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
}

/* Loading animation */
@keyframes skeletonLoad {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
