.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.gallery-item {
  aspect-ratio: 1 / 1;
  background: #0a0000;
  border: 2px solid #ff0000;
  cursor: pointer;
  overflow: visible;
  position: relative;
  z-index: 1;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-item:hover {
  transform: scale(1.02);
  border-color: #ff4444;
  z-index: 2;
}
.gallery-item .tooltip-text {
  visibility: hidden;
  background-color: black;
  border: 1px solid #ff0000;
  color: #ff8888;
  text-align: center;
  padding: 6px 10px;
  border-radius: 0;
  font-size: 0.75rem;
  font-family: 'Turret Road', monospace;
  white-space: normal;
  max-width: 90%;
  word-wrap: break-word;
  position: absolute;
  z-index: 10000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  
}
.gallery-item:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.lightbox.active {
  display: flex;
}
.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border: 3px solid #ff0000;
}
.close-lightbox {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 40px;
  color: #ff0000;
  cursor: pointer;
  font-weight: bold;
  transition: 0.2s;
}
.close-lightbox:hover {
  color: white;
  text-shadow: 0 0 5px red;
}
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}