/* Shelf container */
.shelf {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 3rem auto;
  max-width: 1000px;
  padding: 1rem;
  box-sizing: border-box;
}

/* Book item */
.book {
  width: 160px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Anchor style */
.book a {
  display: block;
  text-align: center;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

.book a:hover {
  transform: scale(1.05);
}

/* Image style */
.book img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(0,0,0,0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  filter: grayscale(100%) brightness(0.9);
  transition: filter 0.3s ease;
}

.book img:hover {
  filter: grayscale(0%) brightness(1.1);
}

/* Heading */
h1 {
  text-align: center;
  font-family: 'IBM Plex Sans', sans-serif;
  color: #e6e6e6;
  margin-top: 2rem;
}

/* Reload note */
.reload-note {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1rem;
  text-align: center;
  color: #aaaaaa;
  margin-top: -1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.reload-note span {
  display: block;
  font-style: italic;
  opacity: 0.6;
}