body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--background-url);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  filter: blur(8px);
  z-index: -2;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  z-index: -1;
}
  
.overlay-title {
  background: rgba(255, 255, 255, 0);
  border-radius: 1rem;

  padding: 2rem;
  text-align: left;
  width: auto;
  margin: 0 0 4rem auto; /* Moved title lower and added more bottom space */
}

.overlay-title h3 {
  white-space: nowrap;
  font-family: 宋体;
  font-size: 24px;
}
  
  .book-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 1rem;
    overflow: hidden;
  }

  .book-img-wrapper{
    width:100%;
    aspect-ratio: 4 / 3;  /* set any ratio here */
    overflow:hidden;
  }

  .book-img-wrapper img{
    width:100%;
    height:100%;
    object-fit:cover;          /* fill the box, crop if necessary */
    display:block;
  }
  
  .book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }
  
  .book-card img {
    object-fit: cover;
    width: 100%;
  }
  
  .placeholder-image {
    background-color: #f0f0f0;
    color: #888;
    font-size: 1.25rem;
    width:100%;
    height:100%;   
  }
  
  .card-title {
    font-weight: 500;
    font-family: 宋体;
  }
  