.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(4, 4, 4, 0.94);
  backdrop-filter: blur(6px);
  padding: 4vh 4vw;
  cursor: zoom-out;
  animation: lbFade 0.25s ease-out;
}

.lightbox.open {
  display: flex;
}

@keyframes lbFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox img {
  max-width: 100%;
  max-height: 92vh;
  object-fit: contain;
  border: 1px solid var(--gold-dim);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.9);
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 1.7rem;
  color: var(--gold);
  background: rgba(8, 8, 8, 0.6);
  border: 1px solid var(--gold-dim);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
}

.lightbox-close:hover {
  background: var(--gold);
  color: var(--bg-deep);
}

.lightbox-hint {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Cinzel', serif;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dim);
}
