.gallery-hero {
  padding: 160px 0 70px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.02), rgba(255,255,255,0) 50%, rgba(255,255,255,.02)),
    linear-gradient(180deg, rgba(212,175,55,.06), rgba(212,175,55,.01)),
    #101010;
  border-bottom: 1px solid rgba(212,175,55,.14);
}

.gallery-hero h1 {
  margin: 0;
  color: var(--vip-gold, #d4af37);
  font-size: 54px;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
}

.gallery-section {
  padding: 80px 0 110px;
  background: linear-gradient(180deg, rgba(0,0,0,.96), rgba(10,10,10,.99));
}

.gallery-card {
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 1px solid rgba(212,175,55,.18);
  border-radius: 22px;
  overflow: hidden;
  background: #101010;
  box-shadow: 0 18px 36px rgba(0,0,0,.24);
  transition: transform .25s ease, border-color .25s ease;
  cursor: zoom-in;
  display: block;
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212,175,55,.4);
}

.gallery-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: .45;
  filter: blur(8px);
  transition: opacity .35s ease, filter .35s ease, transform .4s ease;
}

.gallery-media.is-loaded,
.gallery-media.is-error {
  opacity: 1;
  filter: none;
}

.gallery-card:hover .gallery-media {
  transform: scale(1.04);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(0, 0, 0, .92);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 1200;
}

.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-stage {
  max-width: min(1100px, 84vw);
  max-height: 84vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 84vh;
  border-radius: 20px;
  border: 1px solid rgba(212,175,55,.2);
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
  background: #111;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(212,175,55,.24);
  border-radius: 50%;
  background: rgba(17,17,17,.92);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: .25s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--vip-gold, #d4af37);
  color: #111;
}

.lightbox-close {
  top: 24px;
  right: 24px;
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 991.98px) {
  .gallery-hero {
    padding: 140px 0 60px;
  }

  .gallery-hero h1 {
    font-size: 42px;
  }
}

@media (max-width: 767.98px) {
  .gallery-hero h1 {
    font-size: 32px;
  }

  .gallery-section {
    padding: 70px 0 90px;
  }

  .gallery-lightbox {
    padding: 18px;
  }

  .lightbox-nav {
    width: 46px;
    height: 46px;
    bottom: 18px;
    top: auto;
  }

  .lightbox-prev {
    left: calc(50% - 58px);
  }

  .lightbox-next {
    right: calc(50% - 58px);
  }

  .lightbox-close {
    top: 18px;
    right: 18px;
    width: 46px;
    height: 46px;
  }
}
