.collection-wrap { width: min(1100px, 92vw); margin: 0 auto; padding: 40px 0 64px; }
.collection-title { margin: 0 0 8px; line-height: 1; font-weight: 700; }
.collection-lead  { margin: 0 0 24px; color: #6b7280; }

.collection-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

/* phones */
@media (max-width: 599px) {
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
}

/* tablets */
@media (min-width: 600px) and (max-width: 959px) {
  .collection-grid { grid-template-columns: repeat(3, 1fr); }
}

/* desktop+ */
@media (min-width: 960px) {
  .collection-grid { grid-template-columns: repeat(5, 1fr); }
}

.slot {
  border: 1px solid #f1f1f118;
  border-radius: 14px;
  padding: 12px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: zoom-in;
  transition: transform .12s ease, box-shadow .12s ease;
}
.slot:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.06); }
.slot-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 10px;
  background: #ffffff00;
  transition: filter .6s ease, opacity .4s ease, transform .25s ease;
  opacity: 1;
}
.img--blur {
  filter: blur(8px) saturate(.9) scale(1.02);
  opacity: 0.95;
}
.img--loaded {
  filter: none;
  opacity: 1;
  transform: none;
}
.slot-meta { display: flex; justify-content: center; align-items: center; font-size: 12px; color: #6b7280; }
.slot-index { font-weight: 300; color: #8d8d8d; }

/* Lightbox */
.lb {
  position: fixed; inset: 0; z-index: 60;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(0,0,0,.76);
  backdrop-filter: blur(2px);
}
.lb[aria-hidden="false"] { display: flex; }

.lb-frame {
  position: relative;
  width: min(92vw, 1100px);
  max-height: 88vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  padding: 12px;
  background: #0b0b0b;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

.lb-img-wrap {
  position: relative;
  display: grid;
  place-items: center;
  background: #0b0b0b;
  border-radius: 12px;
  perspective: 900px;
  overflow: hidden;
  width: 100%;
  height: auto;
  min-height: 300px;
  touch-action: none;
  padding: 5%;
}

.lb-img {
  max-width: 80%;
  max-height: 56vh;
  width: auto;
  height: auto;
  object-fit: contain;
  background: transparent;
  transform-origin: 50% 50%;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}

.lb-top, .lb-bottom {
  display: flex; align-items: center; justify-content: space-between; color: #e5e7eb; font-size: 14px;
}
.lb-title { font-weight: 700; }
.lb-close, .lb-prev, .lb-next {
  border: 0; background: rgba(255,255,255,.08);
  color: #fff; padding: 10px 12px; border-radius: 10px;
  cursor: pointer;
  transition: transform .12s ease, background .12s ease;
  user-select: none;
}
.lb-prev, .lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
}
.lb-prev { left: 8px; }
.lb-next { right: 8px; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.14); transform: translateY(-1px); }
.lb-count { opacity: .8; }

@media (max-width: 520px) {
  .lb-prev, .lb-next { top: auto; bottom: 10px; transform: none; }
  .lb-prev { left: 12px; } .lb-next { right: 12px; }
  .lb-img { max-height: 60vh; }
}