/* ---------- Original vector book-cover mockup ---------- */
.book-cover {
  position: relative;
  aspect-ratio: 2 / 3;
}

/* Page block peeking out from behind the cover's fore-edge */
.book-cover__pages {
  position: absolute;
  right: 0;
  top: 3%;
  bottom: 3%;
  width: 9%;
  border-radius: 0 3px 3px 0;
  background: repeating-linear-gradient(to right, #efe9dc 0px, #ddd2ba 1.4px, #efe9dc 2.8px);
  box-shadow: inset -1px 0 3px rgba(10, 10, 10, 0.25), 1px 2px 4px rgba(10, 10, 10, 0.25);
}

.book-cover__face {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 92%;
  border-radius: 2px 6px 6px 2px;
  padding: 1.3rem 1.2rem 1.3rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  color: var(--cream);
  box-shadow: 0 18px 32px -14px rgba(10, 10, 10, 0.55), 0 4px 10px -4px rgba(10, 10, 10, 0.35);
}

/* Spine shading (left, bound edge) + a soft corner vignette for depth */
.book-cover__face::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 110%, rgba(0, 0, 0, 0.4), transparent 55%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0%, transparent 16%);
  pointer-events: none;
}

/* Glossy diagonal sheen, like light catching a printed cover */
.book-cover__face::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.3) 0%,
    transparent 26%,
    transparent 68%,
    rgba(255, 255, 255, 0.12) 100%
  );
  mix-blend-mode: screen;
  pointer-events: none;
}

.book-cover__genre {
  position: relative;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.75;
}

.book-cover__title {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
  line-height: 1.15;
  font-weight: 700;
}

.book-cover__author {
  position: relative;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.85;
}

/* Palette variants — original vector cover art standing in for licensed artwork */
.cover-1 { background: linear-gradient(150deg, #ff5a1f, #7a1e00); }
.cover-2 { background: linear-gradient(150deg, #1c1c1c, #0a0a0a); }
.cover-3 { background: linear-gradient(150deg, #3a3a3a, #0a0a0a); }
.cover-4 { background: linear-gradient(150deg, #ff7a45, #ff5a1f); }
.cover-5 { background: linear-gradient(150deg, #4a1500, #ff5a1f); }
.cover-6 { background: linear-gradient(150deg, #2b2b2b, #ff5a1f); }
.cover-7 { background: linear-gradient(150deg, #0a0a0a, #ff5a1f); }
.cover-8 { background: linear-gradient(150deg, #262626, #4a1500); }
.cover-9 { background: linear-gradient(150deg, #ff5a1f, #1c1c1c); }
.cover-10 { background: linear-gradient(150deg, #1c1c1c, #ff7a45); }
.cover-11 { background: linear-gradient(150deg, #cc4517, #0a0a0a); }
.cover-12 { background: linear-gradient(150deg, #ff5a1f, #ff7a45); }
