.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid var(--neon-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-cyan);
  font-size: 24px;
  z-index: 2;
  transition: all 0.3s ease;

  i {
    letter-spacing: 0px !important;
  }
}

.grid-item:hover .play-overlay {
  background: var(--neon-cyan);
  color: var(--bg-dark-blue);
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 15px var(--neon-cyan);
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 19, 43, 0.95);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-header {
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
  box-sizing: border-box;
  z-index: 2001;
}

.lightbox-counter {
  color: var(--neon-cyan);
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 2px;
}

.lightbox-close {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.lightbox-close:hover {
  color: var(--neon-cyan);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translatey(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2001;
  transition: all 0.3s ease;

  i {
    letter-spacing: 0px !important;
  }
}

.lightbox-nav:hover {
  background: var(--neon-cyan);
  color: var(--bg-dark-blue);
  box-shadow: 0 0 15px var(--neon-cyan);
}

.lightbox-nav.prev {
  left: 30px;
}

.lightbox-nav.next {
  right: 30px;
}

.lightbox-content-wrapper {
  width: 90%;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-content-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.lightbox-content-wrapper img,
.lightbox-content-wrapper video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  width: auto;
  height: auto;
}

.lightbox-content-wrapper iframe {
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: 100%;
  border-radius: 10px;
  border: none;
}

@media (max-width: 768px) {
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .lightbox-nav.prev {
    left: 10px;
  }

  .lightbox-nav.next {
    right: 10px;
  }

  .lightbox-header {
    padding: 0 20px;
  }
}
