.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}
.lightbox-close {
  position: fixed;
  top: 24px;
  right: 32px;
  font-size: 34px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.25s;
  z-index: 10000;
  line-height: 1;
}
.lightbox-close:hover {
  opacity: 1;
}

@media (max-width: 560px) {
  .lightbox-img {
    max-width: 96vw;
    max-height: 80vh;
  }
  .lightbox-close {
    top: 16px;
    right: 20px;
    font-size: 28px;
  }
}