:root {
  --bg1: <?php echo htmlspecialchars($backgroundStyle); ?>;
  --accent: #7c3aed;
  --muted: #fff9;
  --glass: rgba(255,255,255,0.06); /* Primary code’s --glass takes precedence */
  --glass2: rgba(0,0,0,0.35);
  --radius: 14px;
  --card: rgba(255,255,255,0.03);
  --ok: #10b981;
  --danger: #ef4444;
  --radius: 14px; /* Shared by both, kept as-is */
  --mobile-voice: 18px;
}

html, body {
  height: 100%;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

body {
  background: radial-gradient(1200px 600px at 10% 10%, rgba(124,58,237,0.12), transparent),
              radial-gradient(900px 500px at 90% 90%, rgba(16,185,129,0.06), transparent),
              var(--bg1);
  color: #e6eef8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: auto;
}

#topWelcomeBar {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 950;
  pointer-events: none;
  padding: 12px 16px 0;
  box-sizing: border-box;
  font-family: inherit;
  height: 60px;
}

#welcomeSmall {
  font-weight: 600;
  font-size: clamp(12px, 3.8vw, 14px);
  color: #f0e6ff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
  opacity: 0;
  transition: opacity 0.8s ease 0.3s;
  margin-top: 0px !important;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
}

/* Full-bleed verse area */
.verse-screen {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  box-sizing: border-box;
}

.verse-card {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px;
  box-sizing: border-box;
  flex-direction: column;
  gap: 12px;
  margin-top: -80px;
}

.verse-text {
  font-weight: 600;
  max-width: 700px;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.3rem, 4vw, 2rem);
  color: #fff;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
  transform-origin: center;
  transition: transform .45s cubic-bezier(.2,.9,.25,1), opacity .3s;
}

.verse-citation {   
  font-size: 12px;
  padding: 2px 4px;
}

.cross1 img {
  width: 100px;
  height: auto;
  display: block;
  margin: -50px auto 0px auto;
  animation: pulse 2s infinite;
    }

    @keyframes pulse {
      0%, 100% { transform: scale(1); opacity: 1; }
      50% { transform: scale(1.1); opacity: 0.85; }
    }

.verse-message {
  display: inline-block;
  padding: 6px 10px;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  /* glass background */
  background-color: rgba(30, 15, 55, 0.45); /* adjust depth */
  border-radius: 7px;
  /* shadow for readability */
  box-shadow: 0 0 12px rgba(255,219,77,0.9)
}

.verse-message:empty { display: none !important; }

/* Tiny greeting */
.greeting {
  position: absolute;
  left: 35px;
  top: 18px;
  font-size: 13px;
  color: #e6d8ff;
  background: rgba(80,40,130,0.45);
  backdrop-filter: blur(12px);
  padding: 8px 12px 8px 20px;
  border-radius: 17px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  margin-right:10px;
}

/* Share icon appears after 5 seconds and pulses */
.greeting::after {
  content: "➜";  /* Share emoji */
  margin-left: 6px;
  font-size: 14px;
  opacity: 0;               /* Start invisible */
  transform: scale(0.8);    /* Slightly smaller initially */
  animation: fadeInPulse 2.5s infinite alternate;
  animation-delay: 3s;       /* Wait 5 seconds before first pulse */
  animation-fill-mode: forwards; /* Keep final state */
  transition: transform 0.2s, opacity 0.2s;
  cursor: pointer;
}

.greeting::after:hover {
  transform: scale(1.3);
  opacity: 1;
}

/* Combined fade-in + pulse keyframes */
@keyframes fadeInPulse {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  20% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}


.greeting-container {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
}

.greeting-avatar {
  width: 32px;
  height: 32px;
  object-fit: contain;
  position: absolute;
  top: 18px;
  left: 20px;
  z-index: 1;
  background: white;
  border-radius: 16px;
}

/* Bottom control bar */
.controls {
  position: fixed;
  left: 50%;
  justify-content: center;     /* center horizontally */
  align-items: center;         /* center vertically */
  transform: translateX(-50%);
  bottom: 18px;
  display: flex;
  gap: 12px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius: 999px;
  box-shadow: 0 6px 30px rgba(2,6,23,0.6);
  backdrop-filter: blur(10px);
  z-index: 50;
}

.btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: transparent;
  border: 0;
  color: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  font-family: 'Inter', sans-serif; /* From secondary code, non-conflicting */
}

.primary {
  background: linear-gradient(90deg, var(--accent), #06b6d4);
  color: white;
}

.primary:hover {
  filter: brightness(1.1);
}

.primary span {
  display: inline-block;
}

.savedose {
  background: var(--glass) !important;
  color: #fff !important;
  padding: 8px 12px !important;
  border-radius: 1em !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  font-size: 0.6em !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: transform 0.2s !important;
}

.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  opacity: .95;
}

/* Floating left mini bar */
.left-mini {
  position: fixed;
  right: 18px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 55;
}

.mini {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--glass);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(2,6,23,0.45);
  position: relative;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

	.entry-count, .fav-count {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
    font-weight: 600;
	}

.fav-count {
  display: flex;
  opacity: 1;
  background: #ff6b6b; /* Red for favorites */
}

.entry-count {
  display: flex;
  opacity: 1;
  background: #06b6d4; /* Blue for reflections */
}

/* Overlay sheets */
.sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0;
  background: linear-gradient(135deg, #1e0533 0%, #3b1b5e 40%, #6b3fa0 100%) !important;
 backdrop-filter: blur(14px);
 -webkit-backdrop-filter: blur(14px);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  overflow: hidden;
  z-index: 70;
  transition: height .32s cubic-bezier(.2,.9,.25,1);
  box-shadow: 0 -20px 60px rgba(2,6,23,0.6);
}

.sheet.open {
  height: 72vh;
  padding-bottom: 80px;
}

.sheet .handle {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.handle .bar {
  width: 64px;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
}

.sheet-content {
  padding: 18px;
  overflow: auto;
  height: calc(72vh - 40px);
}

/* Mood grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mood {
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.2), rgba(255,255,255,0.01));
  text-align: center;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.03);
  text-decoration: none;
  color: inherit;
}

.mood.selected {
  outline: 3px solid rgba(124,58,237,0.18);
  transform: translateY(-6px);
}

/* Prayer modal */
.modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 420px;
  background: linear-gradient(180deg, rgba(125,58,237,0.9), rgba(0,221,235,0.9));
  border-radius: 28px;
  padding: 36px 28px;
  z-index: 90;
  box-shadow: 0 0 12px rgba(255,219,77,0.2);
  display: none;
  backdrop-filter: blur(4px); /* From primary code */
}

.modal.open {
  display: block;
}

/* Prayer Mood Buttons */
.prayer-mood {
  background: linear-gradient(270deg, var(--accent), #06b6d4);
  border: 1px solid rgba(0, 221, 235, 0.2);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.prayer-mood:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 221, 235, 0.25);
  background: linear-gradient(180deg, rgba(0, 221, 235, 0.25), rgba(107, 72, 255, 0.1));
  animation: prayerPulse 0.6s ease-in-out;
}

.prayer-mood.selected {
  outline: 3px solid rgba(0, 221, 235, 0.3);
  transform: translateY(-8px);
}

@keyframes prayerPulse {
  0% { opacity: 1; }
  50% { opacity: 0.7; box-shadow: 0 8px 24px rgba(0, 221, 235, 0.4); }
  100% { opacity: 1; box-shadow: 0 8px 24px rgba(0, 221, 235, 0.25); }
}

#closeSheet {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  color: #fff;
  font-size: 14px;
  transition: background 0.3s ease;
}

#closeSheet:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Panels for facts / jesus / quiz */
.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.card {
  padding: 14px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.03);
}

.small {
  font-size: 13px;
  color: var(--muted);
  margin:0px;
}

.buttn {
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.2), rgba(255,255,255,0.01));
  font-weight: 700;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.03);
  text-decoration: none;
  color: inherit;
}

.buttn.selected {
  outline: 3px solid rgba(124,58,237,0.18);
  transform: translateY(-6px);
}

.share-prompts-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top:20px;
}

/* Desktop: 2 per row */
@media (min-width: 900px) {
  .share-prompts-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.share-prompts-row2 {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top:20px;
}

/* Desktop: 2 per row */
@media (min-width: 900px) {
  .share-prompts-row2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* Quiz small */
.quiz-question {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
}

.opt {
  padding: 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.02);
  margin-bottom: 8px;
}

/* Verse actions */
.verse-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.action-btn {
  background: var(--glass) !important;
  color: #fff !important;
  padding: 8px !important;
  border-radius: 1em !important;
  border:0px;
  font-size: 0.9em !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: transform 0.2s !important;
  backdrop-filter: blur(6px) !important; /* From primary code */
}

.action-btn:hover {
  transform: scale(1.05);
  border-color: #7c3aed; /* From primary code */
}

.action-btn.saved .fa-heart {
  color: var(--danger); /* Uses --danger from primary code */
}

.save-btn.saved .fa-heart {
  color: red;
}

.save-btn i.fas.fa-heart.saved {
  color: red;
  animation: heartPulse 0.5s ease-in-out;
}

.save-btn i.fas.fa-heart.unsaved {
  animation: heartFade 0.5s ease-in-out;
}

@keyframes heartPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

@keyframes heartFade {
  0% { color: red; transform: scale(1.3); }
  100% { color: #ccc; transform: scale(1); }
}

/* Share dropdown */
.share-wrapper {
  position: relative;
}

.share-dropdown {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--accent), #06b6d4);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 6px 18px rgba(2,6,23,0.45);
  z-index: 100;
  border: 1px solid #7c3aed; /* From primary code, non-conflicting */
  margin-bottom: 5px; /* From primary code */
}

.share-wrapper:hover .share-dropdown {
  display: block;
}

.share-dropdown button {
  display: block;
  width: 100%;
  padding: 8px 12px;
  background: none;
  border: none;
  color: #fff;
  text-align: left;
  font-size: 13px;
  cursor: pointer;
}

.share-dropdown button:hover {
  background: rgba(255,255,255,0.1);
}

/* Discover */
.discover {
  font-weight: 700;
  margin-top: 45px;
  font-size: 1rem;
  color:#0008;
}
.topbar {
  display: flex;
  justify-content: space-between; /* Distributes .left, .date, .right */
  align-items: center; /* Vertically centers children */
  padding: 5px 20px; /* Consistent padding */
  background: var(--bg1); /* Gradient background from header.php */
  width: 100%;
  box-sizing: border-box;
}

.date {
  flex: 1; /* Allows .date to take available space */
  text-align: center; /* Centers text horizontally */
  font-size: 14px; /* Consistent font size */
  color: #fff; /* Matches Psalm Squad's light text */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); /* Matches .greeting style for cohesion */
}

/* Ensure .left and .right don't disrupt centering */
.left, .right {
  flex: 0 0 auto; /* Prevents .left and .right from growing */
}

/* Mobile-specific adjustments */
@media (max-width: 767px) {
  .topbar {
    padding: 5px 10px; /* Slightly smaller padding for mobile */
  }
  .date {
    font-size: 12px; /* Slightly smaller font for mobile */
    flex: 1; /* Ensures .date takes available space */
    text-align: center; /* Reinforces centering */
  }
}

/* Off-Canvas Menu */
.off-canvas {
  position: fixed;
  top: 0;
  left: -260px;
  width: 260px;
  height: 100%;
  background: linear-gradient(90deg, rgba(124,58,237,0.3), rgba(6,182,212,0.3));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* Safari support */ 
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
  transition: left 0.3s ease;
  z-index: 1001;
  padding-top: 60px;
}

.off-canvas ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.off-canvas li {
  border-bottom: 1px solid #eee !important;
}

.off-canvas a {
  display: block !important;
  padding: 16px 20px !important;
  text-decoration: none !important;
  color: #fff !important;
}

.off-canvas a:hover {
  background-color: #f2f2f2 !important;
  color: #7c3aed !important;
}

.off-canvas .privacy-note {
  margin-top: 50px;
  opacity: 0.8;
}

.privacy-note a {
  padding: 0 !important;
  margin: 0 !important;
  font-size: 0.85em;
  text-decoration: underline;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.off-canvas.active {
  left: 0;
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.share-prompt-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.share-prompt-container {
  display: flex;
  flex-direction: column; /* stack image + text */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

/* Hover effect */
.share-prompt-link:hover .share-prompt-container,
.share-prompt-link:focus .share-prompt-container {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.25);
}

/* Image wrapper */
.share-prompt-image {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Card image */
.share-prompt-image .card-img {
  width: 100%;
  display: block;
  object-fit: cover;
  height: 180px; /* adjust as needed */
  transition: transform 0.3s;
}

/* Optional hover zoom */
.share-prompt-link:hover .card-img {
  transform: scale(1.05);
}

/* Gradient overlay over the image only */
.share-prompt-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 100%);
  pointer-events: none;
  border-radius: inherit;
}

/* Text content below image */
.share-prompt-content {
  padding: 12px 16px;
  text-align: left; /* or center if you prefer */
  color: #1a202c; /* dark text for readability */
  background: #fff; /* optional card background */
}

/* Title and subtitle */
.share-prompt-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.share-prompt-subtitle {
  font-size: 0.9rem;
  line-height: 1.3;
  color: #4a5568; /* slightly muted */
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .share-prompt-image .card-img {
    height: 140px;
  }
  .share-prompt-title {
    font-size: 0.8rem;
  }
  .share-prompt-subtitle {
    font-size: 0.75rem;
  }
  .share-prompt-content {
    padding: 10px 12px;
  }
}


/* Share prompt2 */
.share-prompt-container2 {
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  text-align: center;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.share-prompt2 {
  font-size: 1rem;
  line-height: 1.5;
  color: #ffffff;
  font-weight: 400;
  margin: 0;
}

/* Mobile-specific styles */
@media (max-width: 600px) {
  .share-prompt2 {
    font-size: 0.85rem; /* smaller on mobile */
    line-height: 1.3;   /* optional, tighter spacing */
  }
}


.share-prompt2 span {
  color: #e3d8a0;
  font-weight: 600;
}

.share-prompt2 a {
  color: #ffdb4d;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}

.share-prompt2 a:hover {
  color: #fff;
  transform: scale(1.05);
}

/* Fun Feed card */
.fun-feed-container {
  padding: 12px 16px;
  background: linear-gradient(180deg, rgba(124,58, 237, 0.15), rgba(6, 182, 212, 0.25));
  border-radius: 16px;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  margin-bottom: 12px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.fun-feed-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.fun-feed-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.fun-feed-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
  background: rgba(255,255,255,0.03);
}

/* Inner flex layout */
.fun-feed-inner {
  display: flex;
  align-items: center;
  gap: 12px; 
  background: linear-gradient(180deg, rgba(124,58, 237, 0.15), rgba(6, 182, 212, 0.25));
  border-radius: 16px;
}

/* Icon */
.fun-feed-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin:5px;
}

.fun-feed-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content */
.fun-feed-content {
  flex: 1;
  padding:10px;
}

.fun-feed-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px 0;
}

.fun-feed-text {
  font-size: 14px;
  line-height: 1.4;
  color: #ffffff;
  font-weight: 400;
  margin: 0;
}

.fun-feed-text span {
  color: #e3d8a0;
  font-weight: 600;
}

.fun-feed-text a {
  color: #ffdb4d;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}

.fun-feed-text a:hover {
  color: #fff;
  transform: scale(1.05);
}

/* Mobile */
@media (max-width: 600px) {
  .fun-feed-inner {
    flex-direction: row;
    gap: 12px;
	height: auto;
  }

  .fun-feed-icon {
    width: 70px;  /* mobile size */
    height: 70px;
  }
  
    .fun-feed-title {
    font-size: 0.9rem;
  }

  .fun-feed-text {
    font-size: 0.75rem;
    line-height: 1.2;
  }
}


/* Icon buttons */
.icon-btn, .icon-button, .icon-button2 {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: transparent;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 0;
  font-size: 12px;
  font-family: inherit; /* ← KEY FIX */
  line-height: 1;

  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;

  appearance: none !important;
  -webkit-appearance: none !important;

  color-scheme: only light !important; /* ← DISABLES CHROME AUTO-CONTRAST */

  cursor: pointer;
  transition: transform .2s;
}


.icon-btn:hover { transform: scale(1.05); }

.menu-icon {
  width: 20px;
  height: 20px;
  fill: currentColor; /* adopts your icon-btn white color */
  display: block;
  pointer-events: none;
}

.prayer-card {
  position: relative;
  background: linear-gradient(180deg, rgba(124,58, 237, 0.35), rgba(6, 182, 212, 0.55));
  backdrop-filter: blur(18px);
  border-radius: 28px;
  padding: 36px 28px;
  max-width: 720px;
  margin: 100px auto 40px;
  box-shadow: 
  0 0 12px rgba(255,219,77,0.2);               /* deep shadow + sunrise halo */
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  animation: gentleRise 0.8s ease-out;
  transform: translateY(0);
  transition: transform 0.4s ease;
}

.prayer-card.active {
  transform: translateY(-50px);    /* lifts like it’s floating in grace */
}

/* Sunrise under-glow*/
.prayer-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
              rgba(244,162,97,0.10),
              rgba(231,111,81,0.03));
  border-radius: 28px;
  animation: breathe 10s ease-in-out infinite;
  pointer-events: none;
}

/* Prayer text – hierarchy */
.prayer-card p {
  font-size: 21px;
  line-height: 1.68;
  font-weight: 500;
  margin: 0;
  color: #ffffff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

/* Gold emphasis on key lines (optional but elite) */
.prayer-card strong,
.prayer-card em {
  color: #f4a261;
  font-weight: 700;
  text-shadow: 0 0 16px rgba(244,162,97,0.4);
}

/* Close button – now matches the sunrise gold primary */
.prayer-card-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: 0px;
  color: #fff;
  border-radius: 14px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.prayer-card-close:hover {
  background: rgba(244,162,97,0.18);
  color: #ffffff;
  transform: scale(1.05);
}

/* Animations */
@keyframes gentleRise {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes breathe {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 0.85; }
}

#prayTitle {
  font-size: 1.45rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);  
}

.textarea {
  width: 93%;
  min-height: 100px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 14px;
  border-radius: 10px;
  color: #fff;
  resize: vertical;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.textarea:focus {
  border-color: var(--accent);
  outline: none;
}

.guided-prayer {
  font-size: 1.2rem;
  line-height: 1.65;
  color: #fff;
  margin: 22px 5px;
  text-align: center;
}

/* Bottom navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: <?= htmlspecialchars($backgroundStyle) ?>;
  display: none;
  justify-content: space-around;
  padding: 0.2rem 0;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
  z-index: 1000;
  align-items: center;   
}

.sheet.open ~ .bottom-nav {
  display: flex;
}

.bottom-nav button {
  background: none;
  border: none;
  color: white;
  font-size: 1rem;
  cursor: pointer;
}

  .privacy-tooltip {
  position: relative; /* make ::after position relative to this element */
  cursor: pointer;
  font-size: 0.7rem;
  color: #fff9;
  vertical-align: middle;
}

/* Tooltip bubble */
.privacy-tooltip:hover::after {
  content: attr(title);
  position: absolute;
  bottom: 125%; /* place above the text */
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  white-space: normal; /* allows wrapping if long */
  width: 200px;
  z-index: 10;
  opacity: 0;
  animation: fadeInTooltip 0.2s forwards;
}

/* optional small arrow below tooltip */
.privacy-tooltip:hover::before {
  content: "";
  position: absolute;
  bottom: 115%; /* just below the tooltip */
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

@keyframes fadeInTooltip {
  from { opacity: 0; transform: translate(-50%, 5px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

    #arCard {
      background-image: url('../arCard/ar-forest.jpg');
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      color: white;
      padding: 16px;
      border-radius: 16px;
      cursor: pointer;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    #arCard:hover {
      transform: translateY(-4px);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }

/* WIDGET */
.soul-streak-widget {
  background: var(--glass2);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px 4px 7px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  z-index: 9999;
  animation: soulPulse 2.5s infinite alternate;
}

.soul-streak-fire {
  font-size: 1.2rem;
}

.soul-streak-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.soul-streak-text {
  font-size: 12px;
  font-weight: 600;
}

.soul-streak-subtext {
  font-size: 10px;
  color: #eee;
}

@keyframes soulPulse {
  from { box-shadow: 0 0 6px rgba(255,219,77,0.2); }
  to { box-shadow: 0 0 16px rgba(255,219,77,0.8); }
}

/* POPUP (from secondary code) */
.soul-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: linear-gradient(90deg, rgba(124,58, 237, 0.55), rgba(6, 182, 212, 0.75));
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.soul-popup.show {
  display: flex;
}

.soul-popup-content {
  color: #fff;
  padding: 22px 20px;
  border-radius: var(--radius);
  max-width: 320px;
  text-align: center;
}

.btn-group {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 12px;
}

.btn.share-btn {
  background: #fff;
  color: #000;
}

.btn.close-btn {
  background-color: rgba(124, 58, 237, 0.8);
  padding: 13px 17px;
  border-radius: 50px;
}

/* GRID (from secondary code) */
.soul-streak-grid {
  display: none;
  position: fixed;
  top: 45px;
  right: 10px;
  background: var(--glass2);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  z-index: 9999;
  padding: 14px;
  font-family: 'Inter', sans-serif;
  color: #fff;
}

.soul-streak-grid-content {
  display: grid;
  gap: 10px;
  text-align: center;
  font-size: 12px;
}

.soul-streak-grid-content h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

/* SIMULATION PANEL (from secondary code) */
.simulation-panel {
  position: fixed;
  top: 200px;
  right: 10px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 16px;
  font-family: 'Inter', sans-serif;
  color: #fff;
  z-index: 9998;
  box-shadow: 0 0 12px rgba(255,219,77,0.2);
}

.simulation-panel input {
  padding: 6px;
  border-radius: 6px;
  border: none;
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.simulation-panel button {
  padding: 8px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(90deg, var(--accent), #06b6d4);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

/* EMOJI BURST (from secondary code) */
.soul-emoji-burst {
  position: fixed;
  font-size: 2.2rem;
  z-index: 99999;
  pointer-events: none;
  opacity: 0.9;
}

/* Small helpers */
.muted {
  color: var(--muted);
}

.center {
  display: flex;
  align-items: center;
  justify-content: center;
}

footer {
  position: fixed;
  left: 18px;
  bottom: 18px;
  font-size: 12px;
  padding: 2px 5px;
  border-radius:5px;
  background: var(--glass);
  backdrop-filter: blur(10px);
}

/* Media Queries */
@media (min-width: 900px) {
  .panel-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .controls {
    bottom: 22px;
  }
  .left-mini {
    bottom: 80px;
  }
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
  }
  .mood {
    padding: 12px;
    font-size: 13px;
  }
  .prayer-mood {
    padding: 12px;
    font-size: 13px;
  }
  .controls {
    gap: 8px;
    bottom: 28px;
    width: 95%;
    max-width: 320px;
  }
  .controls .btn {
    font-size: 14px;
    gap: 4px;
  }
  .controls .small {
    font-size: 12px;
  }
  footer {
    margin-bottom: -10px;
  }
  .verse-citation {
    margin-bottom: -10px;
  }
  .mini {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }
  .left-mini {
    bottom: 110px;
    gap: 8px;
  }
}

@media (max-width: 500px) {
  .mood {
    padding: 10px;
    font-size: 12px;
  }
  .prayer-mood {
    padding: 10px;
    font-size: 12px;
  }
  .controls {
    bottom: 36px;
    width: 86%;
  }
  .controls .btn {
    font-size: 14px;
  }
  .controls .small {
    font-size: 12px;
  }
  .mini {
    width: 38px;
    height: 38px;
    border-radius: 8px;
  }
  .left-mini {
    bottom: 130px;
    gap: 6px;
  }
  footer {
    margin-bottom: -10px;
  }
  .verse-citation {
    margin-bottom: -10px;
  }
  .soul-streak-widget {
    right: 10px;
    padding: 4px 10px 4px 7px;
  }
  .simulation-panel {
    top: 100px;
    right: 8px;
    padding: 12px;
  }
  .soul-popup-content {
    max-width: 280px;
    padding: 16px;
  }
}
/* ===================== MODAL ===================== */
.sharecard-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(12px);
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 0 12px;
  z-index: 99999;
  transition: opacity 0.25s ease;
}

.sharecard-modal.open {
  display: flex;
  opacity: 1;
}

/* ===================== SHEET ===================== */
.sharecard-sheet {
  width: 100%;
  max-width: 480px;
  background: var(--bg1);
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -20px 50px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: 20px;
}

/* ===================== HEADER ===================== */
.sharecard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, rgba(124,58, 237, 0.35), rgba(6, 182, 212, 0.55));
}

.sharecard-header h3 {
  margin: 0;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.2;
  border-right: 2px solid #fff;  
  margin-right: 5px;   
  padding-right:20px;  
}

.sharecard-header p {
  margin: 4px 0 0;
  font-size: 13.5px;
  font-weight: 600;
  opacity: 0.9;
  letter-spacing: 0.3px;
  padding-left: 7px;
}

.sharecard-header .icon-button {
  font-size: 16px;
  color: #fff;
  background: transparent;
  border: none;
  cursor: pointer;
}

/* ===================== PREVIEW CARD ===================== */
.sharecard-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  background: <?= htmlspecialchars($backgroundStyle); ?>;
  border-radius: 20px;
  overflow: hidden;
  margin: 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* ===================== DRAGGABLE TEXT ===================== */
.sharecard-verse,
.sharecard-ref,
.emoji-node {
  position: absolute;
  cursor: grab;
  user-select: none;
  color: #fff;
  white-space: pre-wrap;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
  transition: transform 0.1s ease;
}

.sharecard-verse { font-size: 36px; font-weight: 700; line-height: 1.2; }
.sharecard-ref { font-size: 18px; bottom: 30px; opacity: 0.85;white-space: nowrap; text-align: center; }
.emoji-node { font-size: 40px; }

/* ===================== TOOLBAR ===================== */
.sharecard-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 5px 24px;
  margin-bottom:7px;
  align-items: center;
  justify-content: flex-start;
  background: rgba(255,255,255,0.05);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.tool-btn {
  font-size: 18px;
  padding: 6px 12px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  color: #fff;
  background: rgba(255,255,255,0.1);
  transition: background 0.2s;
}
.tool-btn.active, .tool-btn:hover {
  background: rgba(255,255,255,0.25);
}

/* ===================== PALETTES ===================== */
.palette {
  display: flex !important;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 7px;
  padding: 0px 24px;
  min-height:55px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.palette::-webkit-scrollbar { display: none; }
.palette .emoji-btn,
.palette .gradient-swatch {
  flex-shrink: 0;
}

.emoji-btn {
  font-size: 20px;
  border-radius: 10px;
  cursor: pointer;
  background: rgba(255,255,255,0.05);
  transition: transform 0.1s ease;
  height: 45px;
  width: 40px;
}
.emoji-btn:hover { transform: scale(1.2); }

.gradient-swatch {
  width: 40px;
  height: 45px;
  border-radius: 12px;
  cursor: pointer;
  flex-shrink: 0;
  border: 2px solid #fff;
}

/* ===================== SHARE BUTTON ===================== */
.sharecard-controls {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}
.btn.primary {
  position: relative;
  overflow: hidden;
  background: rgba(124, 58, 237, 0.8);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.2px;
  border-radius: 22px;
  padding: 18px 24px;             
  cursor: pointer;
  box-shadow: 
    0 16px 50px rgba(234, 88, 12, 0.4),          
    0 0 40px rgba(251, 146, 60, 0.3),       
    inset 0 3px 12px rgba(255,255,255,0.25);     
  transition: all 0.42s cubic-bezier(0.4, 0, 0.2, 1);
  text-shadow: 0 2px 6px rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);                  
}

.btn.primary:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(124, 58, 237, 0.8);
  box-shadow: 
    0 28px 70px rgba(234, 88, 12, 0.55),
    0 0 55px rgba(251, 146, 60, 0.45),
    inset 0 4px 16px rgba(255,255,255,0.35);
}
/
.btn.primary:active {
  transform: translateY(-4px) scale(0.99);
}

.btn.primary::after {
  content: '';
  position: absolute;
  top: -80%; left: -50%;
  width: 60%; height: 200%;
  background: linear-gradient(90deg,
              transparent,
              rgba(255,255,255,0.28),
              transparent);
  transform: rotate(25deg);
  animation: premiumShine 6s ease-in-out infinite;
}

@keyframes premiumShine {
  0%   { transform: translateX(-150%) rotate(25deg); }
  100% { transform: translateX(150%) rotate(25deg); }
}

/* --- primary2 --- */
  .btn.primary2 {
  position: relative;
  overflow: hidden;
  align-items: center;   /* vertical centering */
  justify-content: center;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: 0.2px;
  border-radius: 50%;  
  padding: 10px 18px;  
  cursor: pointer;
  box-shadow: 
    0 16px 50px rgba(234, 88, 12, 0.4),          
    0 0 40px rgba(251, 146, 60, 0.3),       
    inset 0 3px 12px rgba(255,255,255,0.25);     
  transition: all 0.42s cubic-bezier(0.4, 0, 0.2, 1);
  text-shadow: 0 2px 6px rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);                  
}

.btn.primary2:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(124, 58, 237, 0.8);
  box-shadow: 
    0 28px 70px rgba(234, 88, 12, 0.55),
    0 0 55px rgba(251, 146, 60, 0.45),
    inset 0 4px 16px rgba(255,255,255,0.35);
}
/
.btn.primary2:active {
  transform: translateY(-4px) scale(0.99);
}

.btn.primary2::after {
  content: '';
  position: absolute;
  top: -80%; left: -50%;
  width: 60%; height: 200%;
  background: linear-gradient(90deg,
              transparent,
              rgba(255,255,255,0.28),
              transparent);
  transform: rotate(25deg);
  animation: premiumShine 6s ease-in-out infinite;
}

@keyframes premiumShine {
  0%   { transform: translateX(-150%) rotate(25deg); }
  100% { transform: translateX(150%) rotate(25deg); }
}

.sharecard-watermark {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.5;
  color: #fff;
  user-select: none;
  pointer-events: none;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  white-space: nowrap;
  line-height: 1;    
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 767px) {
    .sharecard-modal {
        align-items: flex-start; /* Start from top to ensure visibility */
        justify-content: center;
        padding: 16px;
        overflow-y: auto;
    }
    .sharecard-sheet {
        max-width: 95%;
        max-height: calc(100vh - 32px);
        margin-top: 16px; /* Ensure top is visible */
        border-radius: 12px;
        padding: 12px;
        box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
    }
    .sharecard-header {
        font-size: 13px;
		border-radius: 24px 24px 0 0;
    }
    .sharecard-preview {
        margin: 12px 0;
        border-radius: 10px;
    }
    .tool-btn {
        font-size: 13px;
        padding: 6px 12px;
    }
	.off-canvas { width: 260px; padding-top: 40px; }
    .off-canvas a { padding: 8px 14px; font-size: 0.9rem; }
}
@media (min-width: 768px) {
  .sharecard-modal {
    align-items: center; /* already good */
    justify-content: center;
    padding: 24px; /* increased from 0 24px */
    overflow-y: auto; /* CRITICAL: allow scroll if content overflows */
    -webkit-overflow-scrolling: touch;
  }

  /* Ensure modal fills full viewport height */
  .sharecard-modal::before {
    content: '';
    display: block;
    height: 100vh;
    width: 1px;
    margin-left: -1px;
    pointer-events: none;
  }

  .sharecard-sheet {
    border-radius: 24px;
    max-width: 520px;
    padding-bottom: 24px;
    box-shadow: 0 10px 60px rgba(0,0,0,0.4);
    max-height: calc(100vh - 48px); /* prevent overflow beyond viewport */
    overflow-y: auto; /* scroll inside sheet if needed */
    margin: auto; /* ensures centering */
  }

  .sharecard-header {
    border-radius: 24px 24px 0 0;
  }

  .sharecard-preview {
    aspect-ratio: 16/9;
    margin: 24px 0;
    border-radius: 16px;
  }

  .sharecard-toolbar {
    justify-content: center;
  }

  .tool-btn {
    font-size: 16px;
  }
  
}

@media (min-width: 1024px) {
  .sharecard-sheet {
    max-width: 640px;
    padding: 32px;
    border-radius: 20px;
    max-height: calc(100vh - 64px); /* more padding */
  }

  .sharecard-verse { font-size: 42px; }
  .sharecard-ref { font-size: 20px; }
  .emoji-node { font-size: 48px; }
}
/* ---------------- Disabled Card Styling ---------------- */
.disabled-card {
    position: relative;
    overflow: hidden;
    background: var(--card, rgba(255, 255, 255, 0.03));
    border-radius: var(--radius, 12px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    cursor: default;          /* Not clickable */
    pointer-events: none;     /* Completely block clicks */
}

/* Optional: subtle hover glow */
.disabled-card:hover {
    transform: none;          /* no scale */
    box-shadow: none;
    filter: brightness(1);
}

/* Unified Overlay Text with Pulsing 🌿 */
.disabled-card::after {
    content: "Your Daily Soul Nourishment is Growing 🌿";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff8e6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    text-shadow: 0 0 8px #ffe9a9, 0 0 16px #ffdd75;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
    z-index: 3;
    padding: 0 10px;
    pointer-events: none;
}

/* Pulsing 🌿 in overlay */
.disabled-card::after {
    animation: pulseLeaf 2s infinite;
}

@keyframes pulseLeaf {
    0%, 100% { content: "Your Soul Nourishment Awaits 🌱 "; }
    50% { content: "Your Soul Nourishment Awaits 🌿"; }
}

/* Optional shimmer overlay stays */
.disabled-card .shimmer {
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 228, 150, 0.4) 50%,
        transparent 100%
    );
    animation: shimmerMove 4s infinite;
    z-index: 2;
}

@keyframes shimmerMove {
    0% { left: -150%; }
    50% { left: 100%; }
    100% { left: 150%; }
}

/* Support Card Styling */
.support-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius, 12px);
    background: linear-gradient(135deg, #fff8e6, #f7e4a8); /* Cream to soft gold */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.support-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.support-card::after {
    content: "💛 Your Support Fuels Our Soul Supplement Mission — Spread God’s Word Further 🔥";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0 15px;
    color: #4a2f00; /* Richer dark brown */
    background: rgba(255, 248, 230, 0.4); /* Cream-tinted overlay */
    backdrop-filter: blur(3px); /* Enhanced blur */
    z-index: 3;
}
/* Floating Heart Icon */
.support-card::before {
    content: "💛"; /* Sparkles for glow */
    position: absolute;
    font-size: 2rem;
    left: 50%;
    top: 25%;
    transform: translateX(-50%);
    opacity: 0.9;
    animation: floatSupport 3s ease-in-out infinite;
    z-index: 4;
}
@keyframes floatSupport {
    0% { transform: translate(-50%, -4px); opacity: 0.9; }
    50% { transform: translate(-50%, 4px); opacity: 1; }
    100% { transform: translate(-50%, -4px); opacity: 0.9; }
}
/* CTA Button */
.support-card .btn.primary {
    margin-top: 10px;
    background: #ffcc33; /* Golden yellow */
    color: #333;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 12px;
    transition: background 0.3s ease;
}
.support-card .btn.primary:hover {
    background: #ffdd66; /* Lighter gold hover */
}
/* Responsive Adjustments */
@media (max-width: 767px) {
    .support-card::after {
        font-size: 0.7rem;
        padding: 0 10px;
    }
    .support-card::before {
        font-size: 1.8rem; /* Slightly smaller for mobile */
        top: 20%;
    }
}

/* 2025 TAILORED SOUL DOSE – HOLY EDITION */
.mood-gt {
  backdrop-filter: blur(14px);
  border: 1px solid rgba(244,162,97,0.18);        /* sunrise gold border */
  border-radius: 18px;
  padding: 18px 24px;
  max-width: 90%;
  margin: 24px auto;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.55;
  color: #ffffff;
  text-align: center;
  box-shadow: 
    0 8px 32px rgba(0,0,0,0.4),
    0 0 30px rgba(244,162,97,0.12);              /* subtle sunrise glow */
  position: relative;
  overflow: hidden;
}

/* Breathing sunrise glow underneath */
.mood-gt::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(244,162,97,0.08) 0%, 
    rgba(231,111,81,0.04) 100%);
  border-radius: 18px;
  animation: breathe 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes breathe {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 0.8; }
}

