body {
  font-family: system-ui, sans-serif;
  background: #f4f4f4;
  padding: 20px;
}

h1 {
  margin-bottom: 20px;
}

a {
  text-decoration: none;
  color: inherit;
}

.back {
  display: inline-block;
  margin-bottom: 15px;
}

.albums {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 15px;
}

.album {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
  text-align: center;
}

.album img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.album span {
  display: block;
  padding: 10px;
  font-weight: 600;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.gallery img {
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

/* LIGHTBOX */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

#lightbox.active {
  display: flex;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
}

#lightbox .nav {
  position: absolute;
  top: 50%;
  font-size: 3rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  transform: translateY(-50%);
}

#lightbox .prev { left: 20px; }
#lightbox .next { right: 20px; }
