.rf-book-feed-container {
  max-width: 950px;
  margin: 0 auto;
  padding: 3rem 0 1rem 0;
}
.rf-book-feed-title {
  color: #fff;
  font-size: 2.5rem;
  text-align: center;
  font-weight: 800;
  margin-bottom: 2rem;
  letter-spacing: -1px;
}

/* CARD efecto glass */
.rf-book-feed-card {
  display: flex;
  align-items: center;
  gap: 2.1rem;
  background: rgba(42, 37, 61, 0.72);
  border-radius: 24px;
  box-shadow: 0 6px 32px 0 rgba(91,46,255,0.08);
  padding: 1.6rem 2.2rem 1.6rem 1.4rem;
  margin-bottom: 2.2rem;
  border: 1.5px solid rgba(120,90,255,0.15);
  backdrop-filter: blur(8px) saturate(140%);
  transition: transform 0.18s, box-shadow 0.18s;
}

.rf-book-feed-card:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 16px 48px 0 rgba(91,46,255,0.13);
}

/* Cover */
.rf-book-feed-cover img, .rf-no-cover {
  width: 110px;
  height: 150px;
  object-fit: cover;
  border-radius: 11px;
  box-shadow: 0 0 13px rgba(100,80,250,0.09);
  background: #232348;
  display: block;
}
.rf-no-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ad86ff;
  font-size: 1em;
  font-weight: 600;
  border: 1.5px solid #6e55e0;
}

/* Info */
.rf-book-feed-info {
  flex: 1 1 350px;
  min-width: 170px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.rf-book-feed-title-row {
  margin-bottom: 0.2rem;
}
.rf-book-feed-title-txt {
  color: #fff;
  font-size: 1.24rem;
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -0.2px;
}
.rf-book-feed-author {
  color: #dbe6ff;
  font-size: 1em;
  font-weight: 500;
  margin-bottom: 1px;
}
.rf-book-feed-likes {
  color: #f87171;
  font-size: 1em;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 1px;
}
.rf-like-icon {
  font-size: 1.25em;
  vertical-align: -2px;
}

/* Botón */
.rf-book-feed-actions {
  margin-left: auto;
  display: flex;
  align-items: flex-end;
}
.rf-book-feed-btn {
  background: linear-gradient(90deg,#5b2eff 0%,#38bdf8 100%);
  color: #fff;
  text-decoration: none;
  padding: 10px 25px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.03em;
  box-shadow: 0 2px 10px 0 rgba(91,46,255,0.12);
  transition: background 0.2s, box-shadow 0.2s, opacity .13s;
  border: none;
  margin-left: 8px;
}
.rf-book-feed-btn:hover {
  opacity: 0.89;
}

/* Responsive */
@media (max-width: 700px) {
  .rf-book-feed-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.2rem .6rem;
  }
  .rf-book-feed-cover img, .rf-no-cover {
    width: 85px;
    height: 110px;
  }
  .rf-book-feed-title-txt {
    font-size: 1.05rem;
  }
}



/* Quitar fondo morado: NO pongas fondo ni gradientes en .rf-book-detail-wrap ni .rf-book-detail-card */

.rf-book-detail-wrap {
  max-width: 850px;
  margin: 0 auto;
  padding: 3rem 0 2rem 0;
}

.rf-book-detail-card {
  background: rgba(36, 36, 46, 0.98); /* Más neutral, menos saturado que el morado */
  border-radius: 22px;
  box-shadow: 0 8px 28px 0 rgba(91,46,255,0.07);
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2.2rem 2rem;
  flex-wrap: wrap;
  border: 1.5px solid #232348;
}

/* Portada */
.rf-book-detail-cover img {
  max-width: 170px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 14px rgba(0,0,0,0.13);
  display: block;
  background: #222046;
  margin-bottom: 8px;
}

.rf-no-cover {
  width: 150px;
  height: 215px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2d2654;
  color: #ad86ff;
  border-radius: 10px;
  font-size: 1.1em;
  font-weight: 600;
}

/* Info general */
.rf-book-detail-info {
  flex: 1 1 350px;
  min-width: 270px;
  display: flex;
  flex-direction: column;
}

.rf-book-detail-info h1 {
  font-size: 2.1rem;
  font-weight: 900;
  color: #fff;
  margin: 0 0 10px 0;
  line-height: 1.13;
  letter-spacing: -1px;
  word-break: break-word;
}

/* Meta items (Author, Year, Recommended) */
.rf-book-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.rf-book-meta-item {
  background: rgba(255,255,255,0.07);
  color: #fff;
  border-radius: 8px;
  padding: 7px 15px;
  font-size: 1em;
  font-weight: 500;
  min-width: 90px;
  line-height: 1.2;
  white-space: normal;
  max-width: 90vw;
  overflow-wrap: break-word;
}

/* Chips/Tags de topics */
.rf-book-topics-label {
  font-size: 1em;
  color: #a077f8;
  margin-bottom: 3px;
  margin-top: 12px;
  font-weight: 700;
}
.rf-book-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 18px;
}
.rf-book-topic-chip {
  background: rgba(110,85,224,0.10);
  color: #d1cfff;
  padding: 6px 16px;
  border-radius: 16px;
  font-size: 0.98em;
  font-weight: 600;
  border: 1px solid #a077f8;
  margin-bottom: 2px;
}

/* Descripción */
.rf-book-detail-desc {
  color: #dbe6ff;
  font-size: 1.09em;
  line-height: 1.6;
  margin-bottom: 11px;
  margin-top: 5px;
  text-align: justify;
  word-break: break-word;
}

.rf-book-detail-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 18px;
}

.rf-book-amazon-btn {
  background: linear-gradient(90deg,#5b2eff 0%,#38bdf8 100%);
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1em;
  transition: background 0.2s, box-shadow 0.2s;
  border: none;
  box-shadow: 0 2px 10px 0 rgba(91,46,255,0.10);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.rf-book-amazon-btn:hover {
  opacity: 0.93;
}

.rf-like-btn {
  background: transparent;
  border: 1.5px solid #a077f8;
  color: #ad86ff;
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 1.13em;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background .18s, color .18s, border .18s;
  margin-left: 0;
}
.rf-like-btn.rf-liked {
  background: #ad86ff;
  color: #fff;
  border-color: #ad86ff;
}
.rf-like-btn:hover {
  background: #38bdf8;
  color: #fff;
  border-color: #38bdf8;
}

@media (max-width: 700px) {
  .rf-book-detail-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem .6rem;
  }
  .rf-book-detail-cover img,
  .rf-no-cover {
    max-width: 100px;
    min-width: 70px;
    width: 100%;
    height: auto;
    min-height: 110px;
  }
  .rf-book-detail-info h1 {
    font-size: 1.12rem;
  }
}
