/* Estilos para la sección de planes */

.plan-card {
  background: rgba(26, 9, 64, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(221, 0, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  padding: 2rem !important;
  border-radius: 1.25rem !important;
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px -10px rgba(221, 0, 255, 0.3);
}

.plan-card.highlighted {
  border: 2px solid rgba(221, 0, 255, 0.5);
  z-index: 1;
  transform: scale(1.03);
}

.plan-card.highlighted:hover {
  transform: scale(1.03) translateY(-8px);
}

.plan-card.glow-effect {
  box-shadow: 0 0 20px rgba(221, 0, 255, 0.4);
  animation: subtle-pulse 3s infinite alternate;
}

.feature-icon {
  color: #dd00ff;
  font-size: 1.25rem;
}

/* Espaciado interno del plan */
.plan-card .text-center {
  margin-bottom: 1.5rem !important;
}

.plan-card .text-4xl {
  font-size: 2.25rem !important;
  margin: 1rem 0 !important;
}

.plan-card .text-2xl {
  margin-bottom: 0.5rem !important;
}

.plan-card .space-y-3 {
  margin: 1.5rem 0 !important;
}

/* Estilo para el botón de canales */
.plan-channels-btn {
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease;
  position: relative;
  padding: 0;
}

.plan-channels-btn:hover {
  transform: translateY(-3px);
}

/* Estilo para la insignia de canales */
.plan-card .plan-channels {
  padding: 0.5rem 1.25rem !important;
  font-weight: 600 !important;
  box-shadow: 0 5px 15px -5px rgba(221, 0, 255, 0.5) !important;
  margin-right: 0.5rem;
}

/* Estilo para el icono de ojo */
.channel-view-icon {
  font-size: 1.25rem;
  color: #dd00ff;
  opacity: 0.8;
  transition: all 0.3s ease;
  background-color: rgba(221, 0, 255, 0.1);
  border-radius: 50%;
  padding: 0.4rem;
  margin-left: 0.5rem;
}

.plan-channels-btn:hover .channel-view-icon {
  opacity: 1;
  transform: scale(1.1);
  background-color: rgba(221, 0, 255, 0.2);
  box-shadow: 0 0 10px rgba(221, 0, 255, 0.4);
}

@keyframes subtle-pulse {
  0% {
    box-shadow: 0 0 15px rgba(221, 0, 255, 0.3);
  }
  100% {
    box-shadow: 0 0 25px rgba(221, 0, 255, 0.5);
  }
}

/* Animaciones para los planes */
.scale-in {
  animation: fadeSlideUp 0.8s cubic-bezier(0.19, 1, 0.22, 1) forwards;
  opacity: 0;
  transform: translateY(30px);
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Rotación 3D para los elementos flotantes */
.rotate-in {
  animation: rotateIn 24s linear infinite;
}

@keyframes rotateIn {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Estilos para botones de plan */
.plan-card .mt-8 a {
  border-radius: 9999px !important;
  background: #dd00ff !important;
  padding: 0.875rem 1.5rem !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  letter-spacing: 0.025em !important;
  position: relative;
  overflow: hidden;
}

.plan-card .mt-8 a::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.6s ease;
}

.plan-card .mt-8 a:hover::after {
  left: 100%;
}

.plan-card .bg-white\/10 {
  border: 1px solid rgba(221, 0, 255, 0.3) !important;
}

.plan-card .bg-\[\#dd00ff\] {
  background: linear-gradient(135deg, #dd00ff, #aa00ff) !important;
}

/* Responsive para la sección de planes */
@media (max-width: 768px) {
  .plan-card {
    max-width: 400px;
    margin: 0 auto 1.5rem auto !important;
    padding: 1.75rem !important;
  }
  
  .plan-card .text-4xl {
    font-size: 1.875rem !important;
  }
  
  .plan-card .text-2xl {
    font-size: 1.5rem !important;
  }
  
  .plan-card .space-y-3 {
    margin: 1.25rem 0 !important;
  }
  
  .plan-card .mt-8 {
    margin-top: 1.25rem !important;
  }
  
  .plan-card .mt-8 a {
    padding: 0.75rem 1.25rem !important;
  }
}