#player {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 998;
}

#reloj-contenedor {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1000;
  color: white;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
  text-align: right;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 1);
  line-height: 1;
}

#hora {
  font-size: 1.5em;
  font-weight: 200;
}

#fecha {
  font-size: 1.5em;
  font-weight: 200;
}

/* Estilo de la imagen inicial (miniatura) */

.miniatura {
  height: 400px;
  width: auto;
  cursor: pointer;
}

/* Lightbox: Estado base y transición */

.lightbox-base {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}

/* ESTADO VISIBLE */

.lightbox-visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0s linear 0s;
}

/* Imagen: Efecto de Zoom y transición */

#imagen-ampliada {
  display: block;
  width: auto;
  height: auto;
  max-width: 100vw;
  max-height: 100vh;
  transform: scale(1);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* CLASE FINAL DE ZOOM: Se añade con JavaScript */

.zoom-final {
  transform: scale(1);
}

/* Estilo del botón de cierre (ajusta si es necesario) */

.cerrar {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}

