/* SoulCry custom styles layered on top of Tailwind CDN */

.font-serif { font-family: 'Playfair Display', serif; }

.hero-bg {
  background-image: linear-gradient(180deg, rgba(36,26,63,0.55), rgba(36,26,63,0.85)), url('/static/img/hero.jpg');
  background-size: cover;
  background-position: center;
}

.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px rgba(80, 54, 119, 0.25);
}

.prose-scripture {
  font-family: 'Playfair Display', serif;
  font-style: italic;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.spinner {
  border: 3px solid rgba(122,88,172,0.2);
  border-top-color: #7a58ac;
  border-radius: 50%;
  width: 20px; height: 20px;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  max-width: 360px;
}

.badge-free { background: #d1fae5; color: #065f46; }
.badge-paid { background: #fef3c7; color: #92400e; }
