/* Estilos para el widget de siguiente programa en index.html */

.programas-widget {
  display: grid;
  gap: 20px;
  margin: 30px 0;
}

.programa-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  padding: 24px;
  color: white;
  position: relative;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.programa-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

/* Badge EN VIVO */
.badge-live {
  display: inline-block;
  background: #ff0033;
  color: white;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  animation: pulseGlow 1.8s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(255, 0, 51, 0.6);
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 0, 51, 0.6);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(255, 0, 51, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 51, 0);
  }
}

/* Badge Siguiente */
.badge-siguiente {
  display: inline-block;
  background: rgba(255, 255, 255, 0.25);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  backdrop-filter: blur(10px);
}

/* Título del programa */
.programa-titulo {
  font-size: 24px;
  font-weight: 800;
  margin: 8px 0;
  color: white;
  line-height: 1.2;
}

/* Conductor */
.programa-conductor {
  font-size: 15px;
  margin: 6px 0;
  opacity: 0.95;
  font-weight: 500;
}

/* Horario */
.programa-horario {
  font-size: 18px;
  font-weight: 700;
  margin: 8px 0;
  color: #ffd700;
  letter-spacing: 0.5px;
}

/* Pill de género */
.programa-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Efecto especial para programa actual */
.programa-actual {
  background: linear-gradient(135deg, #ff0033 0%, #ff4d6d 100%);
  box-shadow: 0 10px 30px rgba(255, 0, 51, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.programa-actual:hover {
  box-shadow: 0 15px 40px rgba(255, 0, 51, 0.5);
}

/* Responsive: en desktop, mostrar en dos columnas si hay 2 programas */
@media (min-width: 768px) {
  .programas-widget {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  .programa-titulo {
    font-size: 26px;
  }
  
  .programa-conductor {
    font-size: 16px;
  }
  
  .programa-horario {
    font-size: 20px;
  }
}

/* Mobile: una sola columna */
@media (max-width: 767px) {
  .programa-box {
    padding: 20px;
  }
  
  .programa-titulo {
    font-size: 20px;
  }
  
  .programa-horario {
    font-size: 16px;
  }
}