/* ===== CYBERGROKR — Official GTA VI Screenshots gallery =====
   Neon-noir styling to match cybergrokr.com. Include after the site's
   main stylesheet. All screenshots © Rockstar Games / Take-Two Interactive. */

.cg-shots {
  padding: clamp(48px, 7vw, 96px) 0;
  background:
    radial-gradient(1200px 500px at 15% 0%, rgba(255, 46, 136, .08), transparent 60%),
    radial-gradient(1000px 480px at 85% 20%, rgba(0, 229, 255, .07), transparent 60%),
    #0a0a10;
  border-top: 1px solid rgba(255, 46, 136, .18);
  border-bottom: 1px solid rgba(0, 229, 255, .14);
}

.cg-shots__inner {
  width: min(1280px, 92vw);
  margin: 0 auto;
}

.cg-shots__kicker {
  font: 600 12px/1 "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #00e5ff;
  margin-bottom: 14px;
}

.cg-shots__title {
  font-family: "Bitter", Georgia, serif;
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.02;
  margin: 0 0 12px;
  background: linear-gradient(100deg, #ff2e88 5%, #c86bff 48%, #00e5ff 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cg-shots__lede {
  color: #9aa4b2;
  max-width: 62ch;
  margin: 0 0 8px;
  font-size: 16px;
}

.cg-shots__credit {
  color: #6b7280;
  font-size: 13px;
  margin: 0 0 28px;
}
.cg-shots__credit a { color: #00e5ff; text-decoration: none; }
.cg-shots__credit a:hover { text-decoration: underline; }

.cg-shots__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cg-shot {
  position: relative;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #111118;
  border: 1px solid rgba(255, 255, 255, .08);
  cursor: zoom-in;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.cg-shot:hover,
.cg-shot:focus-within {
  transform: translateY(-4px);
  border-color: rgba(255, 46, 136, .65);
  box-shadow: 0 12px 40px rgba(255, 46, 136, .22), 0 4px 18px rgba(0, 229, 255, .12);
}
.cg-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .4s ease;
}
.cg-shot:hover img { transform: scale(1.045); }
.cg-shot figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 14px 10px;
  font-size: 12.5px;
  color: #e8ecf1;
  background: linear-gradient(transparent, rgba(4, 4, 10, .88));
  opacity: 0;
  transition: opacity .25s ease;
}
.cg-shot:hover figcaption,
.cg-shot:focus-within figcaption { opacity: 1; }

/* ---------- lightbox ---------- */
.cg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(3, 3, 8, .93);
  backdrop-filter: blur(6px);
  padding: 4vmin;
}
.cg-lightbox.open { display: flex; }
.cg-lightbox img {
  max-width: 94vw;
  max-height: 86vh;
  border-radius: 10px;
  border: 1px solid rgba(255, 46, 136, .4);
  box-shadow: 0 0 80px rgba(255, 46, 136, .25);
  object-fit: contain;
}
.cg-lightbox__cap {
  position: absolute;
  bottom: 3.5vh;
  left: 0; right: 0;
  text-align: center;
  color: #c9d2dd;
  font-size: 14px;
}
.cg-lightbox__cap small { display: block; color: #6b7280; font-size: 12px; margin-top: 4px; }
.cg-lightbox button {
  position: absolute;
  background: rgba(10, 10, 18, .72);
  border: 1px solid rgba(0, 229, 255, .45);
  color: #00e5ff;
  width: 46px; height: 46px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.cg-lightbox button:hover { background: rgba(255, 46, 136, .25); transform: scale(1.08); }
.cg-lightbox__close { top: 22px; right: 22px; }
.cg-lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.cg-lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }
.cg-lightbox__prev:hover { transform: translateY(-50%) scale(1.08); }
.cg-lightbox__next:hover { transform: translateY(-50%) scale(1.08); }

@media (max-width: 640px) {
  .cg-shots__grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .cg-lightbox__prev { left: 8px; }
  .cg-lightbox__next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .cg-shot, .cg-shot img, .cg-lightbox button { transition: none; }
}
