/* --- Aina Saga — Single Comic (basic) --- */
.single-comic-wrapper { display: grid; grid-template-columns: 320px 1fr; gap: 30px; align-items: start; padding: 40px 0; }
.comic-chapters-column { background: transparent; }
.chapters-title { font-size: 1.25rem; margin-bottom: 12px; }
.chapters-list { display:flex; flex-direction:column; gap:10px; }
.chapter-item { display:flex; gap:12px; padding:10px; border-radius:8px; align-items:center; text-decoration:none; color:inherit; background:rgba(255,255,255,0.02); }
.chapter-thumb img { width:56px; height:80px; object-fit:cover; border-radius:6px; }
.chapter-middle .chapter-name { font-weight:600; display:block; }
.chapter-meta { margin-left:auto; font-size:0.85rem; color:rgba(255,255,255,0.6); }

.comic-info-column .comic-header { display:flex; gap:20px; align-items:flex-start; margin-bottom:18px; }
.comic-thumbnail img { border-radius:8px; width:160px; height:auto; object-fit:cover; }
.comic-meta .comic-title { font-size:1.6rem; margin:0 0 8px 0; }
.badge { display:inline-block; margin-right:8px; padding:6px 8px; border-radius:6px; font-size:0.85rem; }
.badge-featured { background:#ffdd57; color:#111; }
.badge-locked { background:#e74c3c; color:#fff; }

.comic-buttons { margin-top:18px; display:flex; gap:10px; flex-wrap:wrap; }
.comic-btn { padding:10px 14px; border-radius:8px; text-decoration:none; display:inline-block; background:#111; color:#fff; box-shadow:0 2px 6px rgba(0,0,0,0.25); }
.comic-btn.first-ep { background:linear-gradient(90deg,#ff7a7a,#ffb26b); }

@media (max-width: 900px) {
  .single-comic-wrapper { grid-template-columns: 1fr; padding: 20px 0; }
  .comic-thumbnail img { width:120px; }
}

/* =======================
   Layout
========================== */
.single-comic-section {
  background: #f4eaff;
  padding: 40px 20px;
}

.single-comic-wrapper {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 10px;
  max-width: 1200px;
  margin: auto;
}

/* =======================
   COMIC INFO PANEL (RIGHT)
========================== */
.comic-info-column {
  background: #ffffff;
  padding: 20px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

/* Small/Medium square cover image */
.comic-thumbnail img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 12px;
  margin: 0 auto 15px;
  display: block;
  border: 3px solid #e0e0e0;
}

/* Comic Title */
.comic-title {
  font-size: 1rem;
  font-weight: 500;
  margin-top: 5px;
  margin-bottom: 12px;
  color: #222;
  text-transform: none;
  letter-spacing: 0.5px;
}

/* Excerpt */
.comic-excerpt {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 18px;
  line-height: 1.5;
  text-align: left;
}

/* Full Description */
.comic-full-description {
  margin-top: 12px;
  text-align: left;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.55;
}

/* Buttons */
.comic-buttons {
  margin-top: 20px;
}

/* MATCH FIRST EPISODE BUTTON TO AINA SAGA GRADIENT STYLE */
.comic-btn {
  display: block;
  width: 100%;
  background: linear-gradient(90deg, #ff00cc, #7b2ff7); /* pink → purple */
  color: #fff;
  text-align: center;
  padding: 14px 20px;
  border-radius: 30px;          /* pill shape */
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.25s ease;
}

/* Hover animation */
.comic-btn:hover {
  opacity: 0.9;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.20);
}


/* =======================
   CHAPTER LIST (LEFT)
========================== */
.comic-chapters-column {
  background: #fff;
  padding: 25px;
  border-radius: 20px;
}

.chapters-title {
  font-size: 1.4rem;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

/* Episode Row */
.chapter-item {
  display: grid;
  grid-template-columns: 50px auto 90px;
  gap: 15px;
  padding: 10px 0;
  align-items: center;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: #222;
}

.chapter-item:hover {
  background: #f3f3f3;
  border-radius: 10px;
}

/* Round small thumbnail */
.chapter-thumb img {
  width: 50px;
  height: 50px;
  border-radius: 100%;
  object-fit: cover;
  border: 2px solid #ddd;
}

/* Chapter text */
.chapter-name {
  font-weight: 600;
}

.chapter-date {
  color: #888;
  font-size: 0.85rem;
  text-align: right;
}

/* ===== Pagination Styling ===== */
.chapter-pagination {
  margin-top: 25px;
  text-align: center;
}

.chapter-pagination .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 5px;
  background: #eee;
  color: #444;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}

/* Hover */
.chapter-pagination .page-numbers:hover {
  background: linear-gradient(90deg, #ff00cc, #7b2ff7);
  color: #fff;
}

/* Current page */
.chapter-pagination .current {
  background: linear-gradient(90deg, #ff00cc, #7b2ff7);
  color: #fff;
  cursor: default;
}

/* Prev / Next */
.chapter-pagination .prev,
.chapter-pagination .next {
  border-radius: 30px;
  padding: 8px 18px;
}


/* Responsive */
@media (max-width: 768px) {
  .single-comic-wrapper {
    grid-template-columns: 1fr;
  }
  .comic-chapters-column {
    order: 2;
  }
  .comic-info-column {
    order: 1;
  }
}
