body.anime-detail {
  background-color: #f9fafb;
  font-family: 'Vazir', sans-serif;
}

.anime-poster {
  max-height: 450px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.anime-title {
  font-size: 2.25rem;
  font-weight: bold;
  color: #9C27B0;
}

.theme-dark .anime-title {
  font-size: 2.25rem;
  font-weight: bold;
  color: #9C27B0;
}

.genre-badge {
  background-color: #FACC15;
  color: #fff;
  margin-right: 6px;
  margin-bottom: 6px;
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: 12px;
}

.theme-dark .genre-badge {
  background-color: #1E293B;
  color: #fff;
  margin-right: 6px;
  margin-bottom: 6px;
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: 12px;
}

.details-list dt {
  font-weight: 600;
  color: #e2e8f0;
}

.theme-dark .details-list dt {
  font-weight: 600;
  color: #F1F5F9;
}

.details-list dd {
  margin: 0;
  color: #cbd5e1;
}

.theme-dark .details-list dd {
  margin: 0;
  color: #3B82F6;
}

.summary p {
  line-height: 1.6;
}

.btn-outline-secondary {
  border-radius: 8px;
  padding: 10px 20px;
}

.download-box {
  border-radius: 12px;
}

.download-box h3 {
  font-weight: 600;
}

.download-box .btn-outline-light {
  border-radius: 6px;
  margin-right: 4px;
}

#downloadModal .modal-content {
  border-radius: 12px;
}

#downloadModal .list-group-item {
  border: none;
  padding: 12px 0;
}

.comments-section {
  background-color: #1E293B;
  border-radius: 12px;
  padding: 30px;
  color: #F1F5F9;
  font-family: 'Vazir', sans-serif;
}

.rating-overall h2 {
  color: #F1F5F9;
}

.star-rating-input {
  display: inline-flex;
  font-size: 2rem;
  cursor: pointer;
}

.star-rating-input .star {
  color: #64748B;
  transition: color 0.2s;
  margin: 0 4px;
}

.star-rating-input .star.active,
.star-rating-input .star:hover {
  color: #f47272;
}

.comment-form textarea {
  border-radius: 8px;
  background-color: #334155;
  border: 1px solid #64748B;
  color: #F1F5F9;
}

.comment-form .btn-primary {
  background-color: #3B82F6;
  border-color: #3B82F6;
  border-radius: 8px;
}

.comments-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comment {
  padding: 15px 0;
  border-bottom: 1px solid #334155;
}

.comment:last-child {
  border-bottom: none;
}

.comment .avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}

.comment .content .meta span {
  margin-left: 10px;
}

@media (max-width: 576px) {
  .star-rating-input {
    font-size: 1.5rem;
  }
  .comment-form textarea {
    font-size: 0.9rem;
  }
}

/* character */

.anime-characters h2 {
  color: #F1F5F9;
}

.character-card {
  background-color: #1E293B;
  border-radius: 16px;
  transition: transform 0.3s ease;
}

.character-card:hover {
  transform: translateY(-5px);
}

.character-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #3B82F6;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.character-card h5 {
  margin-top: 10px;
  font-weight: bold;
  color: #F472B6;
}

.character-card p {
  font-size: 0.85rem;
}

.table {
  border-radius: 12px;
  overflow: hidden;
}

.table th,
.table td {
  vertical-align: middle;
  text-align: center;
}

.badge {
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 8px;
}
