/* ── Ultra-Modern Editorial Hero Banner (Centered & Apple Inspired) ── */
.hero-banner-container {
  padding: 10px 4px 24px;
  width: 100%;
}

.hero-banner-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 240, 243, 0.85) 100%);
  border: 1px solid rgba(229, 125, 144, 0.22);
  border-radius: var(--r-xl);
  padding: 38px 24px 30px;
  text-align: center;
  box-shadow: 0 12px 36px -10px rgba(229, 125, 144, 0.16), 0 2px 8px rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

[data-theme="dark"] .hero-banner-card {
  background: linear-gradient(180deg, rgba(30, 26, 32, 0.9) 0%, rgba(20, 18, 22, 0.95) 100%);
  border-color: rgba(229, 125, 144, 0.2);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.5), 0 0 30px rgba(229, 125, 144, 0.1);
}

[data-theme="sepia"] .hero-banner-card {
  background: linear-gradient(180deg, rgba(253, 249, 244, 0.95) 0%, rgba(246, 236, 225, 0.9) 100%);
  border-color: rgba(200, 160, 130, 0.25);
}

/* Ambient glow orb behind card */
.hero-banner-glow {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 180px;
  background: radial-gradient(circle, rgba(229, 125, 144, 0.28) 0%, transparent 70%);
  filter: blur(35px);
  pointer-events: none;
  z-index: 0;
}

/* Elegant Pill Badge */
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(229, 125, 144, 0.3);
  padding: 6px 16px;
  border-radius: var(--r-full);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c1);
  box-shadow: 0 2px 8px rgba(229, 125, 144, 0.12);
  margin-bottom: 16px;
  z-index: 1;
}

[data-theme="dark"] .hero-badge-pill {
  background: rgba(45, 35, 42, 0.7);
  border-color: rgba(229, 125, 144, 0.35);
}

.badge-dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c1);
  box-shadow: 0 0 8px var(--c1);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

/* Main Centered Title */
.hero-banner-title {
  font-family: var(--font-serif);
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 12px;
  z-index: 1;
  background: linear-gradient(135deg, #1C1C1E 20%, #9c344e 85%, #d15671 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  max-width: 620px;
}

[data-theme="dark"] .hero-banner-title {
  background: linear-gradient(135deg, #ffffff 30%, #fca4b4 85%, #e57d90 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Subtitle */
.hero-banner-subtitle {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 520px;
  margin-bottom: 28px;
  z-index: 1;
}

/* ── Modern Spotlight Search Bar ── */
.modern-search-wrapper {
  width: 100%;
  max-width: 580px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-spotlight-bar {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid rgba(229, 125, 144, 0.28);
  border-radius: var(--r-full);
  padding: 6px 8px 6px 18px;
  box-shadow: 0 8px 24px -4px rgba(229, 125, 144, 0.15), 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.25s var(--ease);
}

[data-theme="dark"] .search-spotlight-bar {
  background: rgba(35, 30, 36, 0.95);
  border-color: rgba(229, 125, 144, 0.25);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.4);
}

.search-spotlight-bar:focus-within {
  border-color: var(--c1);
  box-shadow: 0 0 0 4px rgba(229, 125, 144, 0.22), 0 10px 30px -4px rgba(229, 125, 144, 0.25);
  transform: translateY(-1px);
}

.spotlight-icon {
  display: flex;
  align-items: center;
  color: var(--c1);
  margin-right: 12px;
}

.spotlight-icon svg {
  width: 20px;
  height: 20px;
}

.spotlight-input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 500;
  outline: none;
  min-width: 0;
}

.spotlight-input::placeholder {
  color: var(--text-3);
  font-size: 0.92rem;
  font-weight: 400;
}

.spotlight-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--c1) 0%, #d85c74 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--r-full);
  padding: 10px 18px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(229, 125, 144, 0.38);
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}

.spotlight-btn svg {
  width: 15px;
  height: 15px;
}

.spotlight-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(229, 125, 144, 0.48);
}

.spotlight-btn:active {
  transform: scale(0.96);
}

/* Quick Prompts below search */
.quick-prompts-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 6px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 580px) {
  .quick-prompts-scroll {
    justify-content: flex-start;
    flex-wrap: nowrap;
  }
}

.quick-prompts-scroll::-webkit-scrollbar { display: none; }

.prompt-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  padding: 7px 15px;
  border-radius: var(--r-full);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  font-family: var(--font);
  border: 1px solid rgba(229, 125, 144, 0.2);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  white-space: nowrap;
}

[data-theme="dark"] .prompt-pill {
  background: rgba(35, 30, 36, 0.8);
  border-color: rgba(255, 255, 255, 0.1);
}

.prompt-pill:hover {
  background: rgba(229, 125, 144, 0.12);
  color: var(--c1);
  border-color: rgba(229, 125, 144, 0.4);
  transform: translateY(-1px);
}

.prompt-pill:active {
  transform: scale(0.96);
}

.section-divider-title {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
  margin: 18px 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-divider-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Mobile responsive adjustments */
@media (max-width: 600px) {
  .hero-banner-card {
    padding: 28px 16px 22px;
    border-radius: var(--r-lg);
  }
  .hero-banner-title {
    font-size: 2.15rem;
    line-height: 1.15;
  }
  .hero-banner-subtitle {
    font-size: 0.92rem;
    margin-bottom: 22px;
  }
  .search-spotlight-bar {
    padding: 5px 6px 5px 14px;
  }
  .spotlight-btn span {
    display: none;
  }
  .spotlight-btn {
    padding: 10px 12px;
  }
  .spotlight-btn svg {
    width: 17px;
    height: 17px;
  }
}





/* Category Chips */
.category-chips-bar { 
  display: flex; gap: 8px; overflow-x: auto; 
  padding: 12px 0 20px; scrollbar-width: none; 
  -webkit-overflow-scrolling: touch;
}
.category-chips-bar::-webkit-scrollbar { display: none; }
.category-chip {
  flex-shrink: 0; background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-2); padding: 7px 16px; border-radius: var(--r-full);
  font-size: 0.84rem; font-weight: 700; cursor: pointer; transition: all 0.2s var(--ease); font-family: var(--font);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.category-chip:hover { color: var(--text); }
.category-chip.active { 
  background: var(--c1); 
  color: #fff; 
  border-color: var(--c1);
  box-shadow: 0 3px 10px rgba(229, 125, 144, 0.35);
}

/* ── Emotion Cards Grid ── */
.emotions-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
  gap: 16px; 
}

@media (max-width: 600px) {
  .emotions-grid { grid-template-columns: 1fr; gap: 12px; }
}

.emotion-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 0.5px solid var(--border); 
  border-radius: var(--r-lg);
  padding: 20px; 
  cursor: pointer; 
  display: flex; 
  flex-direction: column;
  box-shadow: var(--shadow-sm); 
  transition: transform 0.15s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.emotion-card:hover { 
  transform: translateY(-2px); 
  box-shadow: var(--shadow-md); 
  border-color: rgba(229, 125, 144, 0.3);
}
.emotion-card:active {
  transform: scale(0.975);
  transition: transform 0.08s var(--ease);
}


.emotion-card-header { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  margin-bottom: 12px; 
}
.emotion-card-icon {
  width: 38px; height: 38px; border-radius: var(--r-sm); 
  background: rgba(229, 125, 144, 0.12);
  display: flex; align-items: center; justify-content: center; color: var(--c1);
}
.emotion-card-icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.emotion-card-category { font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-3); }

.emotion-card-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; line-height: 1.3; color: var(--text); }
.emotion-card-desc { font-size: 0.88rem; color: var(--text-2); line-height: 1.5; margin-bottom: 16px; flex-grow: 1; }

.emotion-card-verse-preview {
  margin-bottom: 12px;
}
.verse-ref-badge { 
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem; 
  font-weight: 700; 
  color: var(--c1); 
  background: rgba(229, 125, 144, 0.08);
  padding: 3px 8px;
  border-radius: var(--r-sm);
}

.emotion-card-footer { display: flex; align-items: center; justify-content: flex-end; }
.card-action-hint { font-size: 0.8rem; font-weight: 700; color: var(--c1); display: inline-flex; align-items: center; gap: 4px; }

/* ── Emotion Detail Modal Sheet ── */
.emotion-detail-hero { 
  padding: 24px 20px 20px; 
  background: var(--bg-card); 
  border-bottom: 1px solid var(--border); 
}
.detail-badge-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.detail-category-badge { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--c1); }
.detail-fav-btn { 
  background: var(--bg-input); border: none; color: var(--text); 
  padding: 6px 14px; border-radius: var(--r-full); font-size: 0.8rem; font-weight: 700; 
  cursor: pointer; transition: all 0.2s; 
  display: inline-flex; align-items: center; gap: 5px;
}
.detail-fav-btn:hover { background: var(--border-strong); }
.detail-fav-btn.active { background: rgba(229, 125, 144, 0.15); color: var(--c1); }

.detail-hero-icon { margin-bottom: 8px; color: var(--c1); }
.detail-hero-icon svg { width: 32px; height: 32px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.detail-hero-title { font-size: 1.6rem; font-weight: 800; line-height: 1.25; margin-bottom: 6px; color: var(--text); }
.detail-hero-subtitle { font-size: 0.95rem; color: var(--text-2); line-height: 1.5; }

.emotion-detail-body { padding: 20px; display: flex; flex-direction: column; gap: 18px; background: var(--bg); }
.detail-section { 
  background: var(--bg-card); 
  border: 1px solid var(--border);
  border-radius: var(--r-lg); 
  padding: 20px; 
  box-shadow: var(--shadow-sm); 
}
.section-label { 
  font-weight: 800; font-size: 0.78rem; color: var(--text-2); 
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 14px; 
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
}
.section-actions { display: flex; gap: 6px; }

.showcase-verse-text { 
  font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.65; 
  color: var(--text); margin-bottom: 16px; font-style: italic; 
}
.showcase-verse-footer { 
  display: flex; justify-content: space-between; align-items: center; 
  padding-top: 14px; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 8px;
}
.showcase-verse-ref { font-weight: 800; font-size: 0.95rem; color: var(--c1); }
.context-jump-btn { 
  background: transparent; border: none; color: var(--c1); 
  font-size: 0.84rem; font-weight: 700; cursor: pointer; 
  display: inline-flex; align-items: center; gap: 4px; 
}
.context-jump-btn:hover { text-decoration: underline; }

.devotional-text p { margin-bottom: 12px; font-size: 0.96rem; line-height: 1.65; color: var(--text); }
.devotional-text p:last-child { margin-bottom: 0; }

.prayer-box { border-left: 3px solid var(--c1); }
.prayer-content p { font-family: var(--font-serif); font-size: 1.05rem; font-style: italic; line-height: 1.65; color: var(--text); }

.action-card-inner p { font-size: 0.95rem; line-height: 1.6; color: var(--text); margin-bottom: 14px; }
.action-buttons-row { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-calm-action, .btn-journal-action {
  flex: 1; min-width: 140px;
  background: var(--bg-input);
  border: none;
  padding: 10px 14px;
  border-radius: var(--r-full);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font);
  transition: all 0.2s;
}
.btn-calm-action:hover { background: rgba(229, 125, 144, 0.15); color: var(--c1); }
.btn-journal-action:hover { background: rgba(229, 125, 144, 0.15); color: var(--c1); }

.additional-verses-list { display: flex; flex-direction: column; gap: 10px; }
.additional-verse-item {
  background: var(--bg);
  padding: 12px 14px;
  border-radius: var(--r-md);
  border-left: 2px solid var(--c1);
}
.add-verse-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.add-verse-header strong { font-size: 0.84rem; color: var(--c1); }
.add-verse-text { font-family: var(--font-serif); font-size: 0.92rem; font-style: italic; color: var(--text); line-height: 1.5; }

/* ── Breathing View (S.O.S Calma) ── */
.breathing-view-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.breathing-mode-picker {
  margin-bottom: 24px;
  width: 100%;
  max-width: 320px;
}

.breathing-mode-select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 10px 18px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  outline: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%22%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2218%22%20height%3D%2218%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%238E8E93%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
}

.breathing-stage {
  width: 230px;
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
  position: relative;
}

.breathing-orb {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 125, 144, 0.45) 0%, rgba(241, 136, 155, 0.15) 70%, transparent 100%);
  border: 2px solid rgba(229, 125, 144, 0.5);
  box-shadow: 0 0 35px rgba(229, 125, 144, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 4s ease-in-out, box-shadow 4s ease-in-out, border-color 1s;
}

.breathing-orb.phase-inhale {
  transform: scale(1.35);
  box-shadow: 0 0 55px rgba(229, 125, 144, 0.5);
  border-color: var(--c1);
}

.breathing-orb.phase-hold,
.breathing-orb.phase-hold-empty {
  transform: scale(1.35);
  border-color: var(--c2);
  box-shadow: 0 0 45px rgba(241, 136, 155, 0.4);
}

.breathing-orb.phase-exhale {
  transform: scale(0.95);
  box-shadow: 0 0 20px rgba(229, 125, 144, 0.15);
  border-color: rgba(229, 125, 144, 0.3);
}

.breathing-orb-content {
  text-align: center;
}

.breathing-timer-display {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--c1);
  letter-spacing: -0.02em;
}

.breathing-action-label {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  min-height: 32px;
}

.breathing-cycle-count {
  font-size: 0.8rem;
  color: var(--text-2);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}

.breathing-controls-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}

.breathing-verse-display-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  max-width: 440px;
  margin: 0 auto;
}

.breathing-verse-text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 8px;
}

.breathing-verse-ref {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--c1);
}
