body {
  margin: 0;
  font-family: Georgia, serif;
  background: #000;
  color: #fff;
}

main {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  main {
    grid-template-columns: 1fr 2fr;
  }
}

.cover img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #444;
}

.cover button {
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
}

.cover button:hover {
  background: #1d4ed8;
}

.info h2 {
  font-size: 2rem;
}

#autor {
  color: #60a5fa;
  font-style: italic;
}

#sinopsis {
  color: #ccc;
  line-height: 1.6;
}

.meta li {
  color: #aaa;
}

.trilogia {
  border-top: 1px solid #333;
  padding-top: 10px;
}

.trilogia a {
  color: #60a5fa;
  text-decoration: none;
}

.trilogia a:hover {
  text-decoration: underline;
}

/* PLAYER */
.player {
  margin-top: 20px;
  background: #111;
  padding: 15px;
  border-radius: 10px;
}

.player-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.progress-container {
  margin-top: 10px;
  height: 8px;
  background: #333;
  border-radius: 4px;
  cursor: pointer;
}

.progress {
  height: 100%;
  background: #2563eb;
  width: 0%;
}

input[type="range"] {
  accent-color: #2563eb;
}

/* Botón de volver */
.home-button {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 12px 24px;
  background-color: #e01212;
  /* Rojo intenso */
  color: #ffffff !important;
  /* Siempre blanco */
  text-decoration: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid #fff;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(224, 18, 18, 0.4);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.home-button:visited {
  color: #ffffff !important;
}

.home-button:hover {
  background-color: #ffffff;
  color: #e01212 !important;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.home-button i {
  margin-right: 8px;
}