/* ====== SERIES PAGE STYLING ====== */

.series-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2rem;
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  color: #fff;
}

.series-cover {
  position: relative;
  display: inline-block;
  max-width: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0,0,0,0.5);
}

.series-cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.series-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.series-details h1 {
  font-size: 2rem;
  margin: 0;
}

.series-meta {
  font-size: 0.9rem;
  color: #ddd;
}

.series-description {
  font-size: 1rem;
  line-height: 1.6;
  margin: 1rem 0;
}

.series-stats {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.series-stats span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.read-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  transition: opacity 0.3s ease;
}


.series-cover:hover .read-overlay {
  opacity: 1;
}

/* Funding progress container */
.funding-progress {
    margin-top: 20px;
}

/* Progress bar background */
.progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(270deg, #ff6a00, #ee0979, #ff6a00);
    background-size: 300% 300%;
    border-radius: 10px;
    transition: width 1.5s ease-in-out;
    animation: gradientMove 6s ease infinite;
}

/* Animate gradient */
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Glow when fully funded */
.progress-fill.full {
    box-shadow: 0 0 15px 5px rgba(255, 215, 0, 0.8);
}

#donate-btn.btn.btn-holographic {
    margin-right: 60px;
    margin-left: 5px !important;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .series-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .series-details {
    align-items: center;
  }

  .series-stats {
    justify-content: center;
  }

  .holo-buttons {
    justify-content: center;
  }
}
