/* Estilos para el Badge Giratorio */
/* Archivo separado para facilitar modificaciones */

.hero_rotating-badge {
  position: relative;
  display: inline-block;
  width: 150px;
  height: 150px;
  animation: rotate 10s linear infinite;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.hero_rotating-badge:hover {
  transform: scale(1.1);
  animation-play-state: paused;
}

.rotating-badge-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.hero_rotating-badge_arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  z-index: 2;
  animation: bounce 2s ease-in-out infinite;
}

/* Animación de rotación */
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Animación de rebote para la flecha */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  40% {
    transform: translate(-50%, -50%) translateY(-10px);
  }
  60% {
    transform: translate(-50%, -50%) translateY(-5px);
  }
}

/* Estilos para texto circular SVG */
.circle-container {
  width: 200px !important;
  height: 200px !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

.circle-container svg {
  width: 100% !important;
  height: 100% !important;
}

/* Animación del texto alrededor del círculo */
@keyframes textRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.circle-container text {
  transform-origin: center !important;
  animation: textRotate 25s linear infinite !important;
}

/* Responsive */
@media screen and (max-width: 991px) {
  .hero_rotating-badge {
    width: 120px;
    height: 120px;
  }
  
  .circle-container {
    width: 150px !important;
    height: 150px !important;
  }
}

@media screen and (max-width: 767px) {
  .hero_rotating-badge {
    width: 100px;
    height: 100px;
  }
  
  .circle-container {
    width: 120px !important;
    height: 120px !important;
  }
}
