.book-section {
  padding: 130px 20px 60px;
}

.book-section h2 {
  font-family: 'Anton', sans-serif;
  color: var(--accent);
  text-align: center;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 1px;
}

.subtitle {
  text-align: center;
  color: var(--text);
  margin-bottom: 40px;
}

.book-block {
  margin: 50px auto;
  max-width: 1000px;
}

.book-block h3 {
  font-family: 'Anton', sans-serif;
  color: var(--accent2);
  font-size: 1.9rem;
  margin-bottom: 20px;
}

.book-block p {
  color: var(--text);
  line-height: 1.6;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.book-grid img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #222;
}

.video-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.video-wrapper iframe {
  width: 100%;
  height: 450px;
  border-radius: 12px;
}

@media(max-width: 600px) {
  .video-wrapper iframe {
    height: 260px;
  }
}
.book-grid img {
  width: 100%;
  height: 360px;        /* Alto fijo para TODAS las fotos */
  object-fit: cover;    /* Recorta sin deformar */
  border-radius: 12px;
  border: 1px solid #222;
}
/* Animación y estilo de las imágenes */
.book-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #222;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.book-img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(120, 0, 255, 0.4);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  border: 2px solid #555;
  box-shadow: 0 0 35px rgba(0,0,0,0.5);
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}
  