body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: linear-gradient(270deg, #333333, #333333, #ffffff);
  background-size: 600% 600%;
  animation: subtleGradient 10s ease infinite;
  min-height: 100vh;
}
@keyframes subtleGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  padding: 10px;
  max-width: 1000px;
  margin: auto;
}
.title{
  text-align: center;
  font-family: 'Special Elite', cursive;
  font-size: 20px;
  color: white;
}
.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  cursor: pointer;
  border-radius: 5px;
  transition: transform 0.3s ease;
}
.gallery img:hover {
  transform: scale(1.05);
}
/* Lightbox styles */
.lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1000;
}
.lightbox.active {
  visibility: visible;
  opacity: 1;
}
.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(255,255,255,0.3);
}
.lightbox .close-btn {
  position: fixed;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: white;
  cursor: pointer;
  user-select: none;
  font-weight: bold;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
}
@media (max-width: 600px) {
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
}
