/* 🌸 Fade-In Animation */
@keyframes np-fade-in {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

.np-fade-in {
  animation: np-fade-in 1.2s ease-out forwards;
  opacity: 0;
}

/* 🌟 Scroll Reveal Animation for Cards */
@keyframes np-scroll-reveal {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.np-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.np-card.np-visible {
  animation: np-scroll-reveal 1s ease-out forwards;
  box-shadow: 0 0 10px rgba(160, 82, 45, 0.2);
}

/* 🔶 Current and Next Padav Cards */
.np-current-point, .np-next-point {
  background: #fdfaf6;
  border-left: 4px solid #a0522d;
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(160, 82, 45, 0.1);
  font-family: "Segoe UI", sans-serif;
}

.np-current-point h3,
.np-next-point h4 {
  margin-top: 0;
  color: #6b4226;
  font-size: 18px;
}

/* 🛕 Ashram & Tirth Card Styling */
.np-ashram-block,
.np-tirth-block {
  margin-top: 20px;
}

.np-card {
  background: #fff8f0;
  border: 1px solid #e0d4c0;
  padding: 12px 15px;
  margin-bottom: 12px;
  border-radius: 8px;
  font-size: 15px;
  color: #4b3b2a;
  font-family: "Segoe UI", sans-serif;
  box-shadow: 0 2px 4px rgba(160, 82, 45, 0.05);
}

/* ✨ Glow on Scroll */
.np-card.np-glow {
  box-shadow: 0 0 10px rgba(160, 82, 45, 0.3);
}

/* 📍 Direction & Distance Badges */
.np-direction,
.np-walk-time,
.np-river-badge {
  display: inline-block;
  margin-right: 10px;
  padding: 4px 8px;
  background: #eee4da;
  border-radius: 4px;
  font-size: 13px;
  color: #5c3d2e;
}

/* 🙏 Blessings Footer */
.np-blessing {
  margin-top: 20px;
  padding: 10px;
  background: #fbeedb;
  border-radius: 8px;
  text-align: center;
  font-style: italic;
  font-size: 15px;
  color: #7b4a2f;
  font-family: "Segoe UI", sans-serif;
}

/* 📴 Offline Mode Badge */
.np-offline-badge {
  background: #fbeedb;
  color: #7b4a2f;
  font-size: 14px;
  font-style: italic;
  padding: 8px 12px;
  border-left: 4px solid #a0522d;
  border-radius: 6px;
  margin-bottom: 15px;
  box-shadow: 0 2px 4px rgba(160, 82, 45, 0.1);
  font-family: "Segoe UI", sans-serif;
}

/* 🔄 GPS Loading Spinner */
.np-loading-spinner {
  text-align: center;
  margin: 20px 0;
  font-family: "Segoe UI", sans-serif;
  color: #7b4a2f;
}

.np-spinner-circle {
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
  border: 4px solid #fbeedb;
  border-top: 4px solid #a0522d;
  border-radius: 50%;
  animation: np-spin 1s linear infinite;
}

@keyframes np-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 🧭 Responsive Layout */
@media screen and (max-width: 600px) {
  .np-current-point, .np-next-point {
    padding: 12px 15px;
  }

  .np-card {
    font-size: 14px;
    padding: 10px 12px;
  }

  .np-direction,
  .np-walk-time,
  .np-river-badge {
    font-size: 12px;
    padding: 3px 6px;
  }

  .np-blessing,
  .np-offline-badge,
  .np-loading-spinner p {
    font-size: 14px;
    padding: 8px;
  }

  .np-spinner-circle {
    width: 30px;
    height: 30px;
    border-width: 3px;
  }
}
