body {
  margin: 0;
  font-family: sans-serif;
  background-color: #f9f9f9;
}

#app {
  padding: 2rem;
}

.album, .photo {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.album:hover, .photo:hover {
  transform: scale(1.05);
}

.albums, .photos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.album img {
  width: 150px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-bottom: 0.5rem;
  display: block;
}

.album {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 170px;
  font-weight: 600;
  font-size: 1.1rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 1rem 0.5rem;
}

.albums {
  margin-top: 1.5rem;
}

.photos {
  margin-top: 1.5rem;
}

.photo img {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: block;
}

.photo {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.caption {
  margin-top: 0.5rem;
  font-size: 0.98rem;
  color: #444;
  text-align: center;
  max-width: 180px;
}

.lightbox-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.85);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.lightbox-content {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.18);
  padding: 1.5rem 2.5rem 1.5rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.lightbox-image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-image {
  max-width: 70vw;
  max-height: 70vh;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.lightbox-caption {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: #333;
  text-align: center;
  max-width: 60vw;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  background: none;
  border: none;
  color: #222;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 50%;
  transition: background 0.2s;
}
.lightbox-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 2.2rem;
}
.lightbox-prev {
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-next {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: #f0f0f0;
}
