/* ===================================================
   Nazarenas TV – Layout 100% Flex + Ujjina Player
   =================================================== */

/* 1) RESET & LAYOUT */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  height: 100dvh;
  background-color: #3a0041;
}
body {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* 2) PLAYER: flex container */
#player {
  flex: 1 1 0;
  min-height: 0;
  position: relative;
  width: 100%;
  background-image: url(../../img/nazarenas/fondo-tv-nazarenas.png);
  background-size: cover;
  background-position: center;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(80px, 18vh, 200px);
}

/* 3) IFRAME UJJINA PLAYER */
#player #ujjina-player {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 8;
  border: none;
}

/* 4) LOGO Y SLOGAN: encima del iframe */
#player .logo {
  z-index: 11;
  pointer-events: none;
  flex-shrink: 0;
}
#player .logo img {
  width: clamp(100px, 18vw, 300px);
  height: auto;
  display: block;
}
#player .slogan {
  z-index: 11;
  color: #fff;
  text-align: center;
  font-size: clamp(13px, 3vw, 28px);
  line-height: 1.2;
  padding: 0 1rem;
  pointer-events: none;
  flex-shrink: 0;
}

/* 5) FOOTER */
.footer {
  flex: 0 0 auto;
  width: 100%;
  box-sizing: border-box;
  padding: 0.4rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #3a0041;
}
.footer-logo img {
  max-width: clamp(50px, 10vw, 120px);
  height: auto;
  display: block;
}
.social-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}
.follow-label {
  color: #fff;
  font-size: clamp(0.6rem, 1.2vw, 1rem);
  font-weight: bold;
}
.social-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.2rem, 0.8vw, 0.5rem);
}
.social-buttons a {
  color: #fff;
  font-size: clamp(0.9rem, 3vw, 1.8rem);
  opacity: 0.8;
  transition: opacity 0.2s, transform 0.2s;
}
.social-buttons a:hover {
  color: #f39c12;
  opacity: 1;
  transform: translateY(-2px);
}

/* 6) LANDSCAPE MOVIL */
@media (orientation: landscape) and (max-height: 500px) {
  #player .logo,
  #player .slogan {
    display: none;
  }
  .footer {
    padding: 0.2rem 0.5rem;
  }
  .footer-logo img {
    max-width: 60px;
  }
  .social-buttons a {
    font-size: 0.9rem;
  }
  .follow-label {
    font-size: 0.55rem;
  }
}

/* 7) MOVIL VERTICAL: ocultar logo footer (ya esta en el player) */
@media (max-width: 500px) {
  .footer-logo {
    display: none;
  }
  .footer {
    justify-content: center;
  }
}
