* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #f4f6fb;
  color: #333;
}

/* Header */
.header {
  text-align: center;
  padding: 30px 10px;
  background: linear-gradient(135deg, #6c8cff, #88e0ef);
  color: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.header h1 {
  font-size: 2rem;
}

/* Container */
.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  padding: 30px;
}

/* Book Card */
.book-card {
  background: white;
  border-radius: 18px;
  width: 220px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.book-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

/* Image */
.book-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
}

/* Title */
.book-card h2 {
  font-size: 1.2rem;
  margin: 12px 0;
}

/* Button */
.book-card button {
  background: #6c8cff;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.2s ease, transform 0.1s ease;
}

.book-card button:hover {
  background: #4f6df5;
}

.book-card button:active {
  transform: scale(0.95);
}

/* Responsive */
@media (max-width: 600px) {
  .book-card {
    width: 90%;
  }

  .book-card img {
    height: 200px;
  }
}