/* =============================================
   STYLES RASENGAN - MANGAVERSE
   Animations pour le bouton d'accès admin
   ============================================= */

@keyframes spin-slow {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes spin-fast {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 5px rgba(99, 102, 241, 0.5); }
  50% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.8), 0 0 30px rgba(147, 51, 234, 0.6); }
}

@keyframes core-vibrate {
  0% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.1) rotate(5deg); }
  100% { transform: translate(-50%, -50%) scale(1) rotate(-5deg); }
}

.rasengan-btn {
  position: relative;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  opacity: 0.3;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
}

.rasengan-btn:hover {
  opacity: 1;
  transform: scale(1.2);
}

.rasengan-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  background: radial-gradient(circle, #60a5fa 0%, #3b82f6 50%, #1e40af 100%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-glow 2s infinite;
}

.rasengan-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.6;
}

.ring-1 {
  width: 20px;
  height: 20px;
  border-color: #60a5fa;
  animation: spin-slow 3s linear infinite;
}

.ring-2 {
  width: 26px;
  height: 26px;
  border-color: #f97316;
  animation: spin-slow 2s linear infinite reverse;
}

.ring-3 {
  width: 32px;
  height: 32px;
  border-color: #f97316;
  animation: spin-slow 4s linear infinite;
}

.rasengan-btn:hover .ring-1 {
  animation: spin-fast 0.3s linear infinite;
  border-color: #3b82f6;
}

.rasengan-btn:hover .ring-2 {
  animation: spin-fast 0.2s linear infinite reverse;
  border-color: #ea580c;
}

.rasengan-btn:hover .ring-3 {
  animation: spin-fast 0.4s linear infinite;
  border-color: #db2777;
}

.rasengan-btn:hover .rasengan-core {
  background: radial-gradient(circle, #ffffff 0%, #60a5fa 30%, #3b82f6 60%, #1e40af 100%);
  animation: pulse-glow 0.5s infinite, core-vibrate 0.2s infinite;
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.8);
}
