html, body {
  margin: 0;
  padding: 0;
  height: auto;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at top, #020617, #0f172a);
  color: white;
  overflow-x: hidden;
}

.hero {
  min-height: 100vh;
  padding-top: 100px;
}

/* HERO CENTRADO PERFECTO */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* 🔥 centra horizontal */
  text-align: center;  /* 🔥 centra texto */
}

/* TEXTO */
.hero h1,
.hero p {
  width: 100%;
  text-align: center;
}

/* CONTENEDOR GENERAL */
.section {
  .section {
  scroll-margin-top: 100px;
}
  padding: 60px 20px;
  text-align: center;
}

/* BOTONES */
.btn {
  padding: 12px 25px;
  border-radius: 30px;
  background: #38bdf8;
  color: black;
  text-decoration: none;
  display: inline-block;
  margin-top: 15px;
}

/* PLAYER */
.player {
  margin: 40px auto;
  padding: 30px;
  max-width: 400px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
}

/* BIBLIA */
.biblia-box {
  margin: 30px auto;
  padding: 30px;
  max-width: 600px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
}

/* INPUTS */
select, input, textarea {
  padding: 12px;
  margin: 10px;
  border-radius: 10px;
  border: none;
  width: 40%;
}

/* BOTONES */
button {
  padding: 10px 15px;
  margin: 5px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
}

/* VERSICULOS */
.versiculo {
  padding: 15px;
  margin: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-align: left;
}

/* CARDS */
.cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  margin: 15px;
  padding: 25px;
  width: 250px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
}

/* FOOTER */
footer {
  padding: 30px;
  text-align: center;
}

/* MENU */
.menu {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(2,6,23,0.9);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  padding: 15px;
  z-index: 1000;
}

.menu a {
  color: #38bdf8;
  margin: 0 15px;
  text-decoration: none;
}

.menu a:hover {
  color: #facc15;
}

/* SCROLL SUAVE */
html {
  scroll-behavior: smooth;
}

/* EVITAR QUE TAPE CONTENIDO */
body {
  padding-top: 80px;
}

/* MENU */
.menu {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(2,6,23,0.9);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 15px; /* 🔥 menos espacio */
  z-index: 1000;
}

/* LOGO CONTENEDOR */
.logo {
  display: flex;
  align-items: center;
  margin-left: 0; /* 🔥 pegado al borde */
}

/* LOGO IMAGEN */
.logo img {
  width: 120px;  /* 🔥 más pequeño */
  height: 120px;
  margin-right: 8px;
}

/* TEXTO */
.logo span {
  font-size: 20px;
  font-weight: 700;
  color: #facc15;
}

/* LINKS */
.links a {
  color: white; /* 🔥 letras blancas */
  margin: 0 8px;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 20px;

  /* 🔥 borde dorado */
  border: 1px solid #facc15;

  /* 🔥 efecto suave */
  transition: all 0.3s ease;
}

/* HOVER */
.links a:hover {
  background: #facc15; /* dorado */
  color: black;

  /* 🔥 efecto glow */
  box-shadow: 0 0 10px #facc15, 0 0 20px #facc15;
}

/* BOTÓN ACTIVO (opcional) */
.links a:active {
  transform: scale(0.95);
}

.links a::before {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background: #facc15;
  transition: 0.3s;
}

.links a:hover::before {
  width: 100%;
}

/* FONDO CANVAS */
#estrellas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: black;
}

.player-card {
  background: #170048;
  padding: 30px;
  border-radius: 25px;
  text-align: center;
  max-width: 320px;
  margin: auto;

  /* 🔥 CONTORNO DORADO */
  border: 2px solid #facc15;

  box-shadow: 0 0 25px rgba(250, 204, 21, 0.2);
}

/* TITULO */
.title {
  color: white;
  margin-bottom: 10px;
}

/* METADATA */
#song {
  color: #facc15;
  font-weight: bold;
}

#artist {
  color: #94a3b8;
  font-size: 14px;
}

/* CONTROLES */
.controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

/* BOTÓN PLAY */
.play {
  font-size: 30px;
  background: #454545;
  color: white;
  border: none;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  margin: 0 15px;
  cursor: pointer;
  transition: 0.3s;
}

/* 🔥 GLOW AL ACTIVAR */
.play.active {
  background: #facc15;
  color: black;
  box-shadow: 0 0 20px #facc15;
}

/* BOTONES LATERALES */
.side {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 20px;
  cursor: pointer;
}

.player-ultra {
  position: relative;
  width: 320px;
  margin: auto;
  border-radius: 30px;
  overflow: hidden;
}

/* BORDE ANIMADO */
.border-glow {
  position: absolute;
  inset: 0;
  border-radius: 30px;
  padding: 2px;
  background: linear-gradient(45deg, #facc15, #fde68a, #facc15);
  filter: blur(8px);
  opacity: 0.7;
  z-index: 0;
}

/* CONTENIDO */
.player-content {
  position: relative;
  z-index: 1;
  background: #020617;
  border-radius: 30px;
  padding: 30px;
  text-align: center;
}

/* MARCA */
.brand {
  color: #facc15;
  letter-spacing: 2px;
  font-size: 14px;
}

/* METADATA */
#song {
  font-size: 18px;
  color: white;
  margin-top: 10px;
}

#artist {
  color: #94a3b8;
  font-size: 13px;
}

/* BOTÓN */
.play-ultra {
  margin-top: 25px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: none;
  font-size: 30px;
  cursor: pointer;

  background: radial-gradient(circle, #facc15, #ca8a04);
  color: black;

  box-shadow: 0 0 20px #facc15;
  transition: 0.3s;
}

/* 🔥 EFECTO AL ACTIVAR */
.play-ultra.active {
  box-shadow: 
    0 0 20px #facc15,
    0 0 40px #facc15,
    0 0 60px #facc15;
  transform: scale(1.1);
}

/* HOVER */
.play-ultra:hover {
  transform: scale(1.05);
}

.biblia-ultra {
  max-width: 600px;
  margin: auto;
  padding: 30px;
  border-radius: 25px;
  background: #020617;
  border: 1px solid #facc15;
  box-shadow: 0 0 20px rgba(250,204,21,0.2);
}

.biblia-controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.biblia-controls select,
.biblia-controls input {
  padding: 10px;
  border-radius: 10px;
  border: none;
}

.biblia-controls button {
  background: #facc15;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
}

.versiculo {
  padding: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.btn-leer {
  background: #facc15;
  border: none;
  padding: 10px 20px;
  border-radius: 15px;
  cursor: pointer;
  margin: 10px 0;
}

.btn-leer:hover {
  box-shadow: 0 0 10px #facc15;
}

.btn-regresar {
  background: #facc15;
  border: none;
  padding: 12px 25px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-regresar:hover {
  box-shadow: 0 0 10px #facc15;
}

/* BOTONES BIBLIA */
.biblia-controls button,
.btn-regresar,
.versiculo button {
  background: transparent;
  color: white;
  border: 1px solid #facc15;
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* HOVER DORADO */
.biblia-controls button:hover,
.btn-regresar:hover,
.versiculo button:hover {
  background: #facc15;
  color: black;
  box-shadow: 0 0 10px #facc15, 0 0 20px #facc15;
  transform: scale(1.05);
}

/* ENTRADA (BAJA) */
.animar-entrada {
  animation: bajar 0.5s ease;
}

@keyframes bajar {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* SALIDA (SUBE) */
.animar-salida {
  animation: subir 0.4s ease;
}

@keyframes subir {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-40px);
  }
}

/* CONTENEDOR */
.selector-libro {
  position: relative;
  width: 250px;
  margin: 10px auto;
}

/* BOTÓN PRINCIPAL */
#libroSeleccionado {
  padding: 12px;
  border: 1px solid #facc15;
  border-radius: 15px;
  color: white;
  cursor: pointer;
  text-align: center;
  transition: 0.3s;
}

#libroSeleccionado:hover {
  background: #facc15;
  color: black;
  box-shadow: 0 0 10px #facc15;
}

/* LISTA */
.lista-libros {
  position: absolute;
  width: 100%;
  background: #020617;
  border: 1px solid #facc15;
  border-radius: 15px;
  max-height: 0;
  overflow: hidden;
  transition: 0.4s ease;
  z-index: 10;
}

/* ACTIVA */
.lista-libros.activa {
  max-height: 300px;
  overflow-y: auto;
}

/* ITEMS */
.lista-libros div {
  padding: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.lista-libros div:hover {
  background: #facc15;
  color: black;
}

.oracion-ultra {
  max-width: 500px;
  margin: auto;
  padding: 30px;
  border-radius: 25px;
  background: #020617;
  border: 1px solid #facc15;
  box-shadow: 0 0 20px rgba(250,204,21,0.2);
  text-align: center;
}

.oracion-ultra input,
.oracion-ultra textarea {
  width: 90%;
  padding: 12px;
  margin: 10px;
  border-radius: 10px;
  border: none;
  background: #0f172a;
  color: white;
}

/* BOTÓN DINÁMICO */
.oracion-ultra button {
  background: transparent;
  color: white;
  border: 1px solid #facc15;
  padding: 12px 25px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.oracion-ultra button:hover {
  background: #facc15;
  color: black;
  box-shadow: 0 0 10px #facc15, 0 0 20px #facc15;
  transform: scale(1.05);
}

.programacion-ultra {
  max-width: 900px;
  margin: auto;
  background: #020617;
  border-radius: 25px;
  border: 1px solid #facc15;
  box-shadow: 0 0 20px rgba(250,204,21,0.2);
  overflow: hidden;
}

/* TABS */
.tabs {
  display: flex;
  justify-content: space-around;
  background: rgba(255,255,255,0.05);
}

.tab {
  padding: 15px;
  cursor: pointer;
  color: white;
  transition: 0.3s;
  position: relative;
}

/* ACTIVO */
.tab.activa {
  color: #facc15;
}

.tab.activa::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 3px;
  background: #facc15;
  box-shadow: 0 0 10px #facc15;
}

/* HOVER */
.tab:hover {
  color: #facc15;
}

/* CONTENIDO */
.contenido-programacion {
  padding: 30px;
}

/* ITEMS */
.programa {
  display: flex;
  margin-bottom: 25px;
  align-items: center;
  animation: fadeIn 0.5s ease;
}

.hora {
  color: #facc15;
  font-weight: bold;
  width: 150px;
}

.info {
  border-left: 3px solid #f97316;
  padding-left: 15px;
}

.info h3 {
  margin: 0;
  color: white;
}

.info p {
  color: #94a3b8;
  margin: 5px 0 0;
}

/* ANIMACIÓN */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ESTILO VERSICULO */
.versiculo-ultra {
  max-width: 600px;
  margin: auto;
  padding: 30px;
  border-radius: 25px;
  background: #020617;
  border: 1px solid #facc15;
  box-shadow: 0 0 20px rgba(250,204,21,0.2);
  text-align: center;
}

/* TEXTO */
.versiculo-texto {
  font-size: 18px;
  color: white;
  margin: 15px 0;
}

.referencia {
  color: #facc15;
  font-weight: bold;
}

.reflexion {
  margin-top: 15px;
  color: #94a3b8;
}

/* ANIMACIÓN */
.fade {
  animation: fade 0.6s ease;
}

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

/* SINTONIZAR */
.escuchar-ultra {
  max-width: 900px;
  margin: auto;
  padding: 30px;
  border-radius: 25px;
  background: #020617;
  border: 1px solid #facc15;
  box-shadow: 0 0 20px rgba(250,204,21,0.2);
  text-align: center;
}

/* GRID */
.escuchar-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

/* ITEMS */
.escuchar-item {
  width: 200px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid transparent;
  transition: 0.3s;
}

/* HOVER DORADO */
.escuchar-item:hover {
  border: 1px solid #facc15;
  box-shadow: 0 0 15px #facc15;
  transform: translateY(-5px);
}

/* TEXTO */
.escuchar-item h3 {
  color: #facc15;
  margin-bottom: 10px;
}

.escuchar-item p {
  color: #94a3b8;
}

/* ANIMACIÓN */
.escuchar-item {
  animation: aparecer 0.6s ease;
}

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

@media (max-width: 768px) {

  .menu {
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }

  .logo {
    justify-content: center;
    margin-bottom: 10px;
  }

  .logo img {
    width: 70px;
    height: 70px;
  }

  .links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .links a {
    font-size: 14px;
    padding: 6px 10px;
  }

}

@media (max-width: 768px) {

  .tabs {
    flex-wrap: wrap;
    justify-content: center;
  }

  .tab {
    font-size: 13px;
    padding: 10px;
    margin: 5px;
  }

  .programa {
    flex-direction: column;
    align-items: flex-start;
  }

  .hora {
    width: 100%;
    margin-bottom: 5px;
  }

  .info {
    border-left: none;
    border-top: 2px solid #f97316;
    padding-top: 10px;
    padding-left: 0;
  }

}
@media (max-width: 768px) {

  .tabs {
    overflow-x: auto;
    white-space: nowrap;
  }

  .tab {
    display: inline-block;
  }

}

/* COMERCIAL */

.video-ultra {
  max-width: 500px;
  margin: auto;
  padding: 25px;
  border-radius: 25px;
  background: #020617;
  border: 1px solid #facc15;
  text-align: center;
}

/* CONTENEDOR */
.video-container {
  position: relative;
  width: 100%;
  margin-top: 20px;
  border-radius: 20px;
  overflow: hidden;
}

/* VIDEO */
.video-container video {
  width: 100%;
  display: block;
  border-radius: 20px;
}

/* BOTÓN */
.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  width: 70px;
  height: 70px;
  border-radius: 50%;

  background: radial-gradient(circle, #facc15, #ca8a04);
  color: black;
  font-size: 25px;

  display: flex;
  justify-content: center;
  align-items: center;

  cursor: pointer;
  z-index: 10; /* 🔥 CLAVE */

  box-shadow: 0 0 20px #facc15;
}

/* HOVER */
.play-overlay:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

/* OCULTAR */
.play-overlay.ocultar {
  animation: desaparecer 0.4s forwards;
}

@keyframes desaparecer {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2);
  }
}

/* MOSTRAR */
.play-overlay.mostrar {
  animation: aparecer 0.3s;
}

@keyframes aparecer {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* TV EN VIVO */

.tv-ultra {
  max-width: 420px;
  margin: auto;
  padding: 20px;
  border-radius: 25px;
  background: #020617;
  border: 1px solid #facc15;
  box-shadow: 0 0 20px rgba(250,204,21,0.2);
  text-align: center;
}

/* 🔴 STATUS EN VIVO */
.tv-status {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: #facc15;
  font-weight: bold;
  margin-top: 5px;
}

/* 🔴 PUNTO */
.live-dot {
  width: 10px;
  height: 10px;
  background: red;
  border-radius: 50%;
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.3; }
  100% { opacity: 1; }
}

/* 📡 CANAL */
#tvChannel {
  color: #94a3b8;
  margin: 10px 0;
}

/* CONTENEDOR */
.tv-container {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
}

/* IFRAME */
.tv-container iframe {
  width: 100%;
  height: 230px;
  border-radius: 15px;
}

/* BOTÓN PLAY */
.tv-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  width: 70px;
  height: 70px;
  border-radius: 50%;

  background: radial-gradient(circle, #facc15, #ca8a04);
  color: black;
  font-size: 28px;

  display: flex;
  justify-content: center;
  align-items: center;

  cursor: pointer;
  box-shadow: 0 0 20px #facc15;
  z-index: 10;
}

/* HOVER */
.tv-play:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

/* OCULTAR */
.tv-play.ocultar {
  animation: zoomOut 0.4s forwards;
}

@keyframes zoomOut {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2);
  }
}

/* EFECTO STREAMING */
.tv-container::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 15px;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}