/*
 * Heart of Hope — Prayer Wall
 * Sanctuary‑Soft Edition
 * Scoped to: body.page-prayer-wall
 */

/* =========================
   Page Background
   ========================= */

.page-prayer-wall {
  background: rgba(250, 247, 255, 0.45); /* softer, more translucent lavender */
  backdrop-filter: blur(18px) saturate(140%); 
  -webkit-backdrop-filter: blur(18px) saturate(140%);

  border-radius: 32px; /* more ethereal curvature */
  margin: 2.5rem auto;
  padding-bottom: 4rem;
  max-width: 1200px;

  /* Heavenly glow */
  box-shadow:
    0 0 40px rgba(180, 150, 255, 0.25),   /* outer lavender aura */
    0 0 120px rgba(200, 180, 255, 0.20),  /* soft heavenly bloom */
    0 12px 40px rgba(0,0,0,0.06);         /* grounding shadow */
}



/* =========================
   Scripture Watermark (Page-Level)
   ========================= */

.hoh-prayer-wall-list {
  position: relative;
  padding: 4rem 0;
}

.hoh-prayer-wall-list::before {
  content: "“The prayer of a righteous person is powerful and effective.” — James 5:16";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;

  font-family: var(--hoh-font-serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-style: italic;
  line-height: 1.4;
  text-align: center;

  color: rgba(128, 90, 160, 0.10);

  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* =========================
   Banner Subtext
   ========================= */

.hoh-banner-subtext {
  font-family: var(--hoh-font-serif);
  font-size: 1.2rem;
  text-align: center;
  color: var(--hoh-text-muted);
  opacity: 0.85;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}



/* Prayer Wall Title */
.page-prayer-wall .hoh-banner-title {
    font-family: var(--hoh-font-serif);
    font-size: 2.6rem;
    color: #472f85;
    text-align: center;
    letter-spacing: 0.5px;
    font-weight: 600;

    margin-top: 4rem;   /* ⭐ This is the space you want */
    margin-bottom: 1.25rem;

    position: relative;
    z-index: 3;
}

/* Heavenly glow underline */
.page-prayer-wall .hoh-banner-title::after {
    content: "";
    display: block;
    width: 90px;
    height: 5px;
    margin: 0.75rem auto 0;

    background: linear-gradient(
        90deg,
        rgba(128, 90, 160, 0),
        rgba(128, 90, 160, 0.35),
        rgba(128, 90, 160, 0)
    );
    border-radius: 6px;
}



/* =========================
   Prayer Cards
   ========================= */

.hoh-prayer-item {
  background: rgba(255, 255, 255, 0.60); /* 60% white */
  backdrop-filter: blur(6px); /* soft glass effect */
  -webkit-backdrop-filter: blur(6px);

  padding: 2rem;
  border-radius: 24px; /* more rounded */
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);

  max-width: 760px;
  margin: 2.5rem auto;
  position: relative;
  z-index: 2;

  opacity: 0;
  transform: translateY(10px);
  animation: hohPrayerWallFade 0.8s ease forwards;
}


@keyframes hohPrayerWallFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Halo behind each card */
.hoh-prayer-item::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: radial-gradient(
    circle at center,
    rgba(128, 90, 160, 0.08),
    rgba(128, 90, 160, 0) 70%
  );
  z-index: -1;
}

/* =========================
   Text Styling
   ========================= */

.hoh-prayer-text {
  font-family: var(--hoh-font-serif);
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--hoh-text-main);
  opacity: 0.95;
  margin-bottom: 1.25rem;
}

.hoh-prayer-date {
  font-family: var(--hoh-font-sans);
  font-size: 0.9rem;
  color: var(--hoh-text-muted);
  opacity: 0.75;
  margin-bottom: 1.25rem;
  font-style: italic;
}

/* =========================
   Section Dividers
   ========================= */

.hoh-section-divider {
  font-family: var(--hoh-font-serif);
  font-size: 1.6rem;
  color: var(--hoh-purple-dark);
  opacity: 0.9;
  margin: 3.5rem auto 2rem;
  text-align: center;
  position: relative;
}

.hoh-section-divider::before,
.hoh-section-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 28%;
  height: 1px;
  background: rgba(128, 90, 160, 0.25);
}

.hoh-section-divider::before {
  left: 0;
}

.hoh-section-divider::after {
  right: 0;
}

/* =========================
   I Prayed Button
   ========================= */

.hoh-pray-btn {
  margin-top: 1rem;
  background: linear-gradient(135deg, #bfcdf0, #8aa7d6);
  color: white;
  border: none;
  padding: 10px 22px;
  border-radius: 12px;

  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;

  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.hoh-pray-btn:hover {
  background: linear-gradient(135deg, #aebee8, #7b97c4);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.hoh-pray-btn:active {
  transform: scale(0.96);
}

/* Pulse halo on click */
.hoh-pray-btn.clicked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: rgba(138, 167, 214, 0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: hohPulse 0.6s ease-out;
}

@keyframes hohPulse {
  from { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  to   { opacity: 0;   transform: translate(-50%, -50%) scale(12); }
}

/* Amen badge */
.hoh-amen-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: var(--hoh-purple);
  color: white;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: all 0.4s ease;
}

.hoh-amen-badge.show {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   No Prayers Message
   ========================= */

.hoh-no-prayers {
  text-align: center;
  font-family: var(--hoh-font-serif);
  font-size: 1.25rem;
  opacity: 0.7;
  margin-top: 3rem;
}
