/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* iOS input fixes - prevents auto-zoom and improves touch handling */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea {
  font-size: 16px; /* Prevents iOS auto-zoom on focus */
  -webkit-appearance: none;
  appearance: none;
  touch-action: manipulation;
}

:root {
  /* COE22 Brand Colors - V2 Warm Palette */
  --primary: #1C1C1C;
  --primary-dark: #0a0a0a;
  --primary-light: #3A3A3A;
  --accent: #8B2332;
  --accent-light: #A63344;
  --accent-dark: #6B1A26;
  --secondary: #6B6B6B;
  --tertiary: #9A9A9A;
  --gold: #C4A962;
  --gold-light: #E8D9A8;

  /* Text Colors */
  --text: #2D2D2D;
  --text-light: #6B6B6B;
  --text-muted: #9A9A9A;

  /* Background Colors - Warm Cream */
  --bg: #FAF8F5;
  --bg-secondary: #F2EDE6;
  --bg-card: #ffffff;
  --bg-dark: #1C1C1C;

  /* Border Colors */
  --border: #E8E4DE;
  --border-light: #F2EDE6;

  /* Status Colors */
  --success: #12B76A;
  --error: #F04438;
  --youtube: #ff0000;

  /* Shadows - Softer */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.12);

  /* Border Radius */
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Typography */
  --font-serif: ivypresto-display, Georgia, serif;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Dark Theme */
[data-theme="dark"] {
  --text: #E4E7EC;
  --text-light: #98A2B3;
  --text-muted: #667085;
  --bg: #0a0f1a;
  --bg-secondary: #1D2939;
  --bg-card: #1D2939;
  --border: #344054;
  --border-light: #1D2939;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .hero-section::before {
  background: linear-gradient(
    to bottom,
    rgba(10, 15, 26, 0.85) 0%,
    rgba(10, 15, 26, 0.92) 50%,
    rgba(10, 15, 26, 0.98) 100%
  );
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Navigation */
.nav {
  background: #0a0a0a;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo-img {
  height: 32px;
  width: auto;
}

.nav-logo-text {
  color: #ffffff;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.beta-tag {
  background: #800020;
  color: white;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-left: 0.5rem;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.625rem 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: var(--radius-full);
  transition: all 0.2s;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.2s;
  margin-left: 1rem;
}

.theme-toggle:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.theme-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Show sun in dark mode, moon in light mode */
.theme-icon.sun {
  display: none;
}

.theme-icon.moon {
  display: block;
}

[data-theme="dark"] .theme-icon.sun {
  display: block;
}

[data-theme="dark"] .theme-icon.moon {
  display: none;
}

/* Mobile Menu Button - hidden on desktop */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.2s;
}

.mobile-menu-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.hamburger-icon {
  width: 22px;
  height: 22px;
}

/* Mobile Menu Drawer */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu.open .mobile-menu-backdrop {
  opacity: 1;
}

.mobile-menu-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: #ffffff;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .mobile-menu-drawer {
  background: #1a1a1a;
}

.mobile-menu.open .mobile-menu-drawer {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e5e5e5;
  background: #f8f8f8;
}

[data-theme="dark"] .mobile-menu-header {
  background: #252525;
  border-bottom-color: #333333;
}

.mobile-menu-title {
  font-weight: 700;
  font-size: 1.25rem;
  color: #1a1a1a;
}

[data-theme="dark"] .mobile-menu-title {
  color: #ffffff;
}

.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: #666666;
  transition: all 0.2s;
}

[data-theme="dark"] .mobile-menu-close {
  color: #aaaaaa;
}

.mobile-menu-close:hover {
  background: #eeeeee;
  color: #1a1a1a;
}

[data-theme="dark"] .mobile-menu-close:hover {
  background: #333333;
  color: #ffffff;
}

.mobile-menu-close svg {
  width: 24px;
  height: 24px;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.125rem 1.5rem;
  color: #333333;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.2s;
  min-height: 56px;
}

[data-theme="dark"] .mobile-menu-link {
  color: #e0e0e0;
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
  background: #f0f0f0;
  color: #1a1a1a;
}

[data-theme="dark"] .mobile-menu-link:hover,
[data-theme="dark"] .mobile-menu-link.active {
  background: #2a2a2a;
  color: #ffffff;
}

.mobile-menu-link.active {
  color: var(--primary);
  border-left: 4px solid var(--primary);
  padding-left: calc(1.5rem - 4px);
}

.mobile-menu-link svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.mobile-menu-divider {
  height: 1px;
  background: #e0e0e0;
  margin: 0.75rem 1.5rem;
}

[data-theme="dark"] .mobile-menu-divider {
  background: #333333;
}

.mobile-menu-theme {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.125rem 1.5rem;
  min-height: 56px;
}

.mobile-menu-theme-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #333333;
  font-weight: 600;
  font-size: 1.125rem;
}

[data-theme="dark"] .mobile-menu-theme-label {
  color: #e0e0e0;
}

.theme-label-icon {
  width: 24px;
  height: 24px;
}

.mobile-theme-toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.toggle-track {
  display: block;
  width: 52px;
  height: 28px;
  background: #cccccc;
  border-radius: 14px;
  position: relative;
  transition: background 0.2s;
}

[data-theme="dark"] .toggle-track {
  background: #555555;
}

.toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.mobile-theme-toggle[aria-checked="true"] .toggle-track {
  background: var(--primary);
}

.mobile-theme-toggle[aria-checked="true"] .toggle-thumb {
  transform: translateX(24px);
}

/* Desktop only utility */
.desktop-only {
  display: flex;
}

/* App Container */
#app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Main Content */
.main {
  flex: 1;
}

.page {
  display: none;
}

.page.active {
  display: block;
}

/* Hero Section */
.hero-section {
  position: relative;
  background-image: url('/images/hero-bg.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(250, 248, 245, 0.88) 0%,
    rgba(250, 248, 245, 0.92) 50%,
    rgba(250, 248, 245, 0.98) 100%
  );
  pointer-events: none;
}

.hero {
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s ease-out;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
  opacity: 0.4;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
  animation: fadeUp 0.6s ease-out 0.1s both;
}

.hero-title-nowrap {
  white-space: nowrap;
}

/* Rotating text animation */
.rotating-text {
  display: inline-block;
  position: relative;
  color: var(--accent);
  font-style: italic;
}

.rotating-text.fade-out {
  animation: fadeOut 0.2s ease-out forwards;
}

.rotating-text.fade-in {
  animation: fadeIn 0.2s ease-in forwards;
}

@keyframes fadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-8px); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeUp 0.6s ease-out 0.2s both;
}

/* Search Form */
.search-form {
  margin-bottom: 1.5rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeUp 0.6s ease-out 0.3s both;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius);
  padding: 0.5rem;
  box-shadow: var(--shadow-xl);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-input-wrapper:focus-within {
  box-shadow: var(--shadow-xl), 0 0 0 3px rgba(139, 35, 50, 0.1);
}

.search-icon {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-left: 1rem;
}

.search-input {
  flex: 1;
  padding: 1rem;
  border: none;
  background: transparent;
  font-size: 17px;
  font-family: var(--font-sans);
  color: var(--text);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  touch-action: manipulation;
  -webkit-user-select: text;
  user-select: text;
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-btn {
  padding: 1rem 2rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 120px;
}

.search-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.search-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.search-btn-loading {
  display: none;
}

.search-btn.loading .search-btn-text {
  display: none;
}

.search-btn.loading .search-btn-loading {
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn.loading {
  min-width: 120px;
  padding: 0.875rem 2rem;
}

/* Spinner */
.spinner, .loading-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spinner {
  width: 20px;
  height: 20px;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  color: var(--primary);
}

/* Search Suggestions */
.search-suggestions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  animation: fadeUp 0.6s ease-out 0.4s both;
}

.suggestion {
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid rgba(139, 35, 50, 0.2);
  border-radius: var(--radius-sm);
  color: var(--accent);
  font-size: 0.875rem;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.suggestion:hover {
  border-color: var(--accent);
  color: white;
  background: var(--accent);
}

/* Featured Content Section */
.featured-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  background: var(--bg-card);
  position: relative;
}

.featured-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}

.featured-content.hidden {
  display: none;
}

.featured-header {
  text-align: center;
  margin-bottom: 3rem;
}

.featured-header-title {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
}

.featured-header-subtitle {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.featured-section {
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: none;
}

.featured-section.featured-center {
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-secondary) 100%);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.featured-section.featured-center::before {
  content: '"';
  font-family: var(--font-serif);
  font-size: 200px;
  color: var(--accent);
  opacity: 0.05;
  position: absolute;
  top: -40px;
  right: 20px;
  line-height: 1;
}

.featured-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-light);
}

.featured-section.featured-center .featured-section-header {
  border-bottom-color: rgba(139, 35, 50, 0.15);
}

.featured-section-icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.featured-section-title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin: 0;
}

.featured-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.featured-loading {
  color: var(--text-muted);
  font-size: 0.875rem;
  text-align: center;
  padding: 1.5rem;
}

.featured-item {
  display: flex;
  gap: 0.875rem;
  padding: 0.75rem;
  margin: -0.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: inherit;
}

.featured-item:hover {
  background: var(--bg);
}

.featured-item-thumb {
  width: 80px;
  height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--border);
}

.featured-item-info {
  flex: 1;
  min-width: 0;
}

.featured-item-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.25rem;
}

.featured-item-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.featured-item-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--bg-secondary);
  color: var(--text-muted);
}

.featured-item-badge.sermon { background: rgba(139, 35, 50, 0.1); color: var(--accent); }
.featured-item-badge.story { background: rgba(196, 169, 98, 0.2); color: #8B7028; }
.featured-item-badge.podcast { background: rgba(59, 130, 246, 0.1); color: #2563EB; }

/* Popular searches as clickable pills */
.featured-searches {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.featured-search-pill {
  padding: 0.875rem 1.25rem;
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-family: var(--font-sans);
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow);
  text-align: left;
}

.featured-search-pill:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-lg);
  color: var(--accent);
}

/* Category Filter */
.category-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.category-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.category-pills {
  display: flex;
  gap: 0.5rem;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}

.category-pill {
  padding: 0.625rem 1.25rem;
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-sans);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow);
}

.category-pill:hover {
  color: var(--text);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.category-pill.active {
  background: var(--primary);
  color: white;
}

/* Results */
.results {
  padding: 0 1.5rem 3rem;
}

.results-container {
  max-width: 800px;
  margin: 0 auto;
}

.spelling-correction {
  background: #fff9e6;
  border: 1px solid #f0d77d;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  color: var(--text);
}

.spelling-correction strong {
  font-weight: 600;
}

.spelling-original {
  margin-left: 0.5rem;
  color: var(--text-light);
}

.spelling-original a {
  color: var(--primary);
  text-decoration: underline;
  cursor: pointer;
}

.spelling-original a:hover {
  color: var(--primary-dark);
}

.spelling-correction.hidden {
  display: none;
}

/* Bible Verse Suggestion Box */
.bible-verse-suggestion {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.bible-verse-suggestion .suggestion-icon {
  font-size: 1.25rem;
}

.bible-verse-suggestion .suggestion-text {
  color: var(--text);
}

.bible-verse-suggestion .suggestion-text strong {
  font-weight: 600;
}

.bible-verse-suggestion .suggestion-link {
  margin-left: auto;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}

.bible-verse-suggestion .suggestion-link:hover {
  text-decoration: underline;
}

.bible-verse-suggestion.hidden {
  display: none;
}

/* Care Banner for Sensitive Topics */
.care-banner {
  background: linear-gradient(135deg, #fef9c3 0%, #fef08a 100%);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid #eab308;
}

.care-banner-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.care-banner-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.care-banner-text {
  flex: 1;
  color: #713f12;
}

.care-banner-text strong {
  font-size: 1.1rem;
  display: block;
}

.care-banner-text p {
  margin: 0.25rem 0 0;
  opacity: 0.85;
  font-size: 0.9rem;
}

.care-banner-btn {
  background: #ca8a04;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.care-banner-btn:hover {
  background: #a16207;
}

.care-banner.hidden {
  display: none;
}

/* Responsive care banner */
@media (max-width: 600px) {
  .care-banner-content {
    flex-direction: column;
    text-align: center;
  }

  .care-banner-btn {
    width: 100%;
    text-align: center;
  }
}

/* Baptism banner - blue theme */
.baptism-banner {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.baptism-banner .care-banner-text {
  color: #1e40af;
}

.baptism-banner .care-banner-btn {
  background: #2563eb;
}

.baptism-banner .care-banner-btn:hover {
  background: #1d4ed8;
}

/* Dark mode baptism banner */
[data-theme="dark"] .baptism-banner {
  background: linear-gradient(135deg, #1e3a5f 0%, #1e40af 100%);
}

[data-theme="dark"] .baptism-banner .care-banner-text {
  color: #bfdbfe;
}

.answer-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  color: white;
  box-shadow: var(--shadow-lg);
}

.answer-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.answer-header svg {
  width: 18px;
  height: 18px;
}

.answer-content {
  font-size: 1rem;
  line-height: 1.8;
}

.answer-content p {
  margin-bottom: 1rem;
}

.answer-content p:last-child {
  margin-bottom: 0;
}

.answer-content strong {
  font-weight: 600;
  color: #ffffff;
}

.answer-content .timestamp-link {
  color: #93c5fd;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  transition: color 0.2s;
}

.answer-content .timestamp-link:hover {
  color: #bfdbfe;
}

.sources-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.sources-header h2 {
  font-size: 1.125rem;
  font-weight: 600;
}

.sources-count {
  font-size: 0.875rem;
  color: var(--text-muted);
  flex: 1;
}

/* Share Results Button */
.share-results-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.share-results-btn:hover {
  background: var(--bg-card);
  border-color: var(--accent);
  color: var(--accent);
}

.share-results-btn svg {
  flex-shrink: 0;
}

/* Share Toast Notification */
.share-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--primary);
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1000;
}

.share-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Share Menu Dropdown */
.share-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  min-width: 160px;
  z-index: 100;
  overflow: hidden;
}

.share-menu-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  width: 100%;
  padding: 0.625rem 0.875rem;
  background: none;
  border: none;
  font-size: 0.875rem;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease;
}

.share-menu-item:hover {
  background: var(--bg);
}

.share-menu-item svg {
  flex-shrink: 0;
  color: var(--text-light);
}

.share-menu-item:hover svg {
  color: var(--accent);
}

.sources-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.source-card {
  display: flex;
  gap: 1rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.source-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.source-thumbnail {
  width: 120px;
  height: 68px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.source-content {
  flex: 1;
  min-width: 0;
}

.source-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.source-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  margin: 0;
}

.source-timestamp {
  font-size: 0.8rem;
  color: var(--primary);
  background: rgba(16, 24, 40, 0.08);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.source-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.source-excerpt {
  font-size: 0.9rem;
  color: var(--text-light);
  padding: 0.75rem;
  background: var(--border-light);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
  margin-bottom: 1rem;
  font-style: italic;
}

.source-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.source-speaker {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.source-actions {
  display: flex;
  gap: 0.75rem;
}

.source-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s;
  color: var(--primary);
}

.source-link:hover {
  background: rgba(16, 24, 40, 0.08);
}

.source-link.youtube {
  background: var(--youtube);
  color: white;
}

.source-link.youtube:hover {
  background: #cc0000;
}

.source-link svg {
  width: 16px;
  height: 16px;
}

/* Loading */
.loading {
  padding: 4rem 1.5rem;
  text-align: center;
}

.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.loading p {
  color: var(--text-muted);
  transition: opacity 0.15s ease;
}

/* Error */
.error {
  max-width: 500px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  text-align: center;
  color: var(--error);
}

.error svg {
  width: 24px;
  height: 24px;
  margin-bottom: 0.5rem;
}

.retry-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.75rem 1.25rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.retry-btn:hover {
  background: var(--primary-dark, #1a56db);
  transform: translateY(-1px);
}

.retry-btn:active {
  transform: translateY(0);
}

.retry-btn svg {
  width: 16px;
  height: 16px;
  margin: 0;
}

/* Hidden utility */
.hidden {
  display: none !important;
}

/* Page Header */
.page-header {
  text-align: center;
  padding: 4rem 1.5rem 2.5rem;
}

.page-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

.page-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* Browse Toggle */
.browse-toggle-container {
  max-width: 1200px;
  margin: 0 auto 2rem;
  padding: 0 1.5rem;
  display: flex;
  justify-content: center;
}

.browse-toggle {
  display: inline-flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.25rem;
}

.toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.toggle-btn svg {
  width: 18px;
  height: 18px;
}

.toggle-btn:hover {
  color: var(--text);
}

.toggle-btn.active {
  background: var(--primary);
  color: white;
}

/* Browse Views */
.browse-view {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

/* Series Grid */
.series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.series-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
}

.series-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.series-thumbnail {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--border-light);
}

.series-thumbnail-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.series-thumbnail-placeholder svg {
  width: 48px;
  height: 48px;
  color: rgba(255, 255, 255, 0.5);
}

.series-card-content {
  padding: 1rem 1.25rem;
}

.series-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.series-count {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Series Controls */
.series-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

/* Series Breadcrumb */
.series-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.series-sort {
  flex-shrink: 0;
}

/* Series Sermons List */
.series-sermons {
  margin-top: 1rem;
}

.series-header {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.series-header-thumbnail {
  width: 200px;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.series-header-info {
  flex: 1;
}

.series-header-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.series-header-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.series-sermons-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.series-sermon-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
}

.series-sermon-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--primary);
  transform: translateX(4px);
}

.series-sermon-number {
  width: 32px;
  height: 32px;
  background: var(--border-light);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.series-sermon-info {
  flex: 1;
  min-width: 0;
}

.series-sermon-title {
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.series-sermon-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.series-sermon-duration {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--border-light);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

/* Browse Category Filter */
.browse-category-filter {
  max-width: 1200px;
  margin: 0 auto 1.5rem;
  padding: 0 1.5rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.browse-category-pill {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--bg-card);
  color: var(--text-light);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.browse-category-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.browse-category-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

/* Filters */
.filters {
  max-width: 1200px;
  margin: 0 auto 2rem;
  padding: 0 1.5rem;
  display: flex;
  gap: 1rem;
}

.filter-input, .filter-select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  background: var(--bg-card);
  color: var(--text);
}

.filter-input {
  flex: 1;
}

.filter-input:focus, .filter-select:focus {
  outline: none;
  border-color: var(--primary);
}

/* Sermons Grid */
.sermons-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.sermon-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
}

.sermon-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.sermon-card-thumbnail {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--border-light);
}

.sermon-card-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
}

.sermon-card-title, .sermon-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sermon-card-meta, .sermon-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  gap: 0.5rem;
}

.sermon-meta span:not(:last-child)::after {
  content: "•";
  margin-left: 0.5rem;
}

.sermon-card-date {
  color: var(--text-light);
}

.sermon-duration {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--border-light);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  width: fit-content;
}

/* Load More Button */
.load-more-container {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
  margin-top: 1rem;
}

.load-more-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.load-more-btn:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

.load-more-btn:active {
  transform: translateY(0);
}

/* Bible Verse Search */
.verse-search-form {
  max-width: 600px;
  margin: 0 auto 2rem;
  padding: 0 1.5rem;
}

.verse-input-group {
  display: flex;
  gap: 0.75rem;
}

.verse-input {
  flex: 1;
  padding: 0.875rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 16px; /* Prevents iOS auto-zoom */
  background: var(--bg-card);
  -webkit-appearance: none;
  appearance: none;
  touch-action: manipulation;
}

.verse-input:focus {
  outline: none;
  border-color: var(--primary);
}

.verse-search-btn {
  padding: 0.875rem 1.5rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.verse-search-btn:hover {
  background: var(--primary-dark);
}

.verse-results {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.verse-results-header {
  margin-bottom: 1.5rem;
}

.verse-results-header h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
}

.verse-results-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.verse-result-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
}

.verse-result-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.verse-result-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.verse-result-header h4 {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  margin: 0;
}

.verse-timestamp {
  font-size: 0.8rem;
  color: var(--primary);
  background: rgba(16, 24, 40, 0.08);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.verse-context {
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.verse-result-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.verse-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(16, 24, 40, 0.08);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.empty-state {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
}

/* Bible Browser */
.bible-browser {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.bible-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.breadcrumb-item {
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
}

.breadcrumb-item:hover {
  color: var(--primary);
}

.breadcrumb-item.active {
  color: var(--text);
  font-weight: 600;
  cursor: default;
}

.breadcrumb-separator {
  color: var(--text-muted);
}

.bible-section {
  margin-bottom: 2rem;
}

.bible-section-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.bible-books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}

.bible-book-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.bible-book-btn:hover:not(:disabled) {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.bible-book-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.bible-book-name {
  font-weight: 600;
  color: var(--text);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.bible-book-count {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Chapters Grid */
.chapters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 0.75rem;
}

.chapter-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}

.chapter-btn:hover {
  border-color: var(--primary);
  background: rgba(16, 24, 40, 0.05);
}

.chapter-number {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.chapter-count {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Chapter Sermons List */
.chapter-sermons-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chapter-sermon-card {
  display: flex;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.chapter-sermon-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.chapter-sermon-thumbnail {
  flex-shrink: 0;
  width: 160px;
  height: 90px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.chapter-sermon-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chapter-sermon-content {
  flex: 1;
  min-width: 0;
}

.chapter-sermon-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.chapter-sermon-title {
  font-weight: 600;
  color: var(--text);
  font-size: 1rem;
  margin: 0;
}

.chapter-sermon-verse {
  font-size: 0.8rem;
  color: var(--primary);
  background: rgba(16, 24, 40, 0.08);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  white-space: nowrap;
}

.chapter-sermon-context {
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.chapter-sermon-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.bible-loading {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
}

/* Admin Page */
.admin-login {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 2rem;
}

.admin-login-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 3rem;
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.admin-login-card h2 {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.admin-login-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.admin-password-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  margin-bottom: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.admin-password-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(68, 76, 231, 0.1);
}

.admin-login-btn {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.admin-login-btn:hover {
  background: var(--accent-light);
}

.admin-login-error {
  color: var(--error);
  margin-top: 1rem;
  font-size: 0.875rem;
}

.admin-stats {
  max-width: 1200px;
  margin: 0 auto 2rem;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.stat-value {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.admin-section h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.admin-sermons-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.admin-sermon-item, .admin-sermon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
}

.admin-sermon-item:hover, .admin-sermon-row:hover {
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.admin-sermon-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.admin-sermon-title {
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-sermon-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.admin-sermon-stats {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-left: 1rem;
}

.admin-sermon-actions {
  display: flex;
  gap: 0.5rem;
}

.admin-btn {
  padding: 0.5rem 0.75rem;
  background: var(--border-light);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.2s;
}

.admin-btn:hover {
  background: var(--primary);
  color: white;
}

/* Admin Pagination */
.admin-pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.pagination-info {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  text-align: center;
}

.load-more-btn {
  padding: 0.75rem 2rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.load-more-btn:hover:not(:disabled) {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.load-more-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Admin Tables */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.admin-table th,
.admin-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.admin-table th {
  background: var(--bg-secondary);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.admin-table tbody tr:hover {
  background: var(--bg-secondary);
}

.admin-table .query-cell {
  font-family: 'SF Mono', Monaco, 'Courier New', monospace;
  word-break: break-word;
  max-width: 300px;
}

.admin-table .count-cell {
  text-align: center;
  font-weight: 500;
}

.admin-table .count-cell.zero {
  color: var(--error);
}

.admin-table .date-cell {
  color: var(--text-muted);
  white-space: nowrap;
}

.admin-table .type-cell {
  text-align: center;
}

.type-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
}

.type-badge.keyword {
  background: var(--primary-bg);
  color: var(--primary);
}

.type-badge.semantic {
  background: rgba(139, 35, 50, 0.1);
  color: var(--primary);
}

.zero-results-row {
  background: rgba(220, 53, 69, 0.05);
}

/* Search Filters */
.search-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: center;
}

.admin-select {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text);
  font-size: 0.875rem;
}

.admin-input {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text);
  font-size: 0.875rem;
  flex: 1;
  min-width: 150px;
}

.admin-btn-small {
  padding: 0.5rem 0.75rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

.admin-btn-small:hover:not(:disabled) {
  background: var(--primary-dark);
}

.admin-btn-small:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  cursor: pointer;
}

.filter-checkbox input {
  accent-color: var(--primary);
}

/* Pagination Controls */
.pagination-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.pagination-buttons {
  display: flex;
  gap: 0.5rem;
}

/* Section Subtitles */
.section-subtitle {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  background: var(--border-light);
  border: none;
  border-radius: var(--radius-full);
  font-size: 1.25rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--error);
  color: white;
}

/* Sermon Detail */
.sermon-detail-header {
  padding: 2rem;
  border-bottom: 1px solid var(--border);
}

.sermon-detail-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.sermon-detail-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.sermon-detail-meta {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.sermon-detail-meta span:not(:last-child)::after {
  content: "•";
  margin-left: 0.5rem;
}

.sermon-detail-actions {
  display: flex;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.sermon-detail-body {
  padding: 2rem;
}

.sermon-detail-section {
  margin-bottom: 2rem;
}

.sermon-detail-section h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.sermon-verses {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
}

.sermon-verses h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.verse-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.verse-tag {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background: rgba(16, 24, 40, 0.08);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
}

.sermon-transcript {
  padding: 1.5rem 2rem 2rem;
}

.sermon-transcript h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.transcript-content {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
  max-height: 400px;
  overflow-y: auto;
  padding: 1rem;
  background: var(--border-light);
  border-radius: var(--radius-sm);
}

.transcript-content p {
  margin-bottom: 1rem;
}

.transcript-content p:last-child {
  margin-bottom: 0;
}

.transcript-preview {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
  max-height: 300px;
  overflow-y: auto;
  padding: 1rem;
  background: var(--border-light);
  border-radius: var(--radius-sm);
}

/* Sermon Detail Page */
.sermon-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.sermon-page-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}

.sermon-page-back:hover {
  color: var(--primary);
}

.sermon-page-back svg {
  width: 18px;
  height: 18px;
}

.sermon-video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
}

.sermon-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.sermon-page-header {
  margin-bottom: 2rem;
}

.sermon-page-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.sermon-page-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0;
  line-height: 1.3;
  flex: 1;
}

.sermon-page-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.sermon-category-badge {
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.sermon-category-sermon {
  background: var(--accent);
  color: white;
}

.sermon-category-story {
  background: #059669;
  color: white;
}

.sermon-category-podcast {
  background: #7c3aed;
  color: white;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.share-btn:hover {
  background: var(--bg);
  border-color: var(--accent);
  color: var(--accent);
}

.share-btn svg {
  width: 16px;
  height: 16px;
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--text);
  color: var(--bg);
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 9999;
  box-shadow: var(--shadow-lg);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Sermon page top bar */
.sermon-page-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.sermon-series-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  background: rgba(128, 0, 32, 0.08);
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.sermon-series-link:hover {
  background: rgba(128, 0, 32, 0.15);
}

.sermon-series-link svg {
  width: 16px;
  height: 16px;
}

/* Sermon navigation */
.sermon-navigation {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 0;
}

.sermon-nav-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s ease;
  max-width: 45%;
  min-width: 0;
}

.sermon-nav-btn:hover {
  border-color: var(--accent);
  background: var(--bg);
}

.sermon-nav-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
}

.sermon-nav-btn:hover svg {
  color: var(--accent);
}

.sermon-nav-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.sermon-nav-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sermon-nav-title {
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sermon-nav-prev .sermon-nav-info {
  text-align: left;
}

.sermon-nav-next .sermon-nav-info {
  text-align: right;
}

.sermon-nav-spacer {
  flex: 1;
}

@media (max-width: 600px) {
  .sermon-page-top-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .sermon-navigation {
    flex-direction: column;
  }

  .sermon-nav-btn {
    max-width: 100%;
  }
}

.sermon-page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.sermon-page-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sermon-page-meta-item svg {
  width: 16px;
  height: 16px;
}

.sermon-page-section {
  margin-bottom: 2rem;
}

.sermon-page-section h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}

.sermon-page-verses {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sermon-page-transcript {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.9;
  max-height: 500px;
  overflow-y: auto;
  padding: 1.5rem;
  background: var(--border-light);
  border-radius: var(--radius);
}

.sermon-page-transcript p {
  margin-bottom: 1.25rem;
}

.sermon-page-transcript p:last-child {
  margin-bottom: 0;
}

/* Transcript timestamp links */
.transcript-timestamp {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  padding: 0.1rem 0.35rem;
  background: rgba(128, 0, 32, 0.08);
  border-radius: 4px;
  transition: all 0.2s ease;
}

.transcript-timestamp:hover {
  background: rgba(128, 0, 32, 0.15);
  text-decoration: underline;
}

/* Related sermons */
.related-sermons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.related-sermon-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.related-sermon-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.related-sermon-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--border);
  overflow: hidden;
}

.related-sermon-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-sermon-duration {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
}

.related-sermon-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.related-sermon-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-sermon-speaker {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.related-sermon-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-container {
    height: 64px;
    padding: 0 1rem;
  }

  .nav-logo {
    flex: 1;
  }

  /* Hide desktop nav elements on mobile */
  .nav-links,
  .desktop-only {
    display: none !important;
  }

  /* Show hamburger menu button on mobile */
  .mobile-menu-btn {
    display: flex;
  }

  .hero-section::before {
    background: linear-gradient(
      to bottom,
      rgba(250, 248, 245, 0.94) 0%,
      rgba(250, 248, 245, 0.96) 50%,
      rgba(250, 248, 245, 0.99) 100%
    );
  }

  .hero {
    padding: 3rem 1.5rem 2.5rem;
  }

  .hero-eyebrow {
    font-size: 11px;
    margin-bottom: 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .featured-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .featured-section.featured-center {
    order: -1;
  }

  .featured-content {
    padding: 3rem 1.5rem;
  }

  .featured-header-subtitle {
    font-size: 1.5rem;
  }

  .search-input-wrapper {
    flex-direction: column;
    padding: 0.75rem;
    border-radius: var(--radius);
  }

  .search-input {
    width: 100%;
    text-align: center;
  }

  .search-btn {
    width: 100%;
    border-radius: var(--radius-sm);
  }

  .search-icon {
    display: none;
  }

  .filters {
    flex-direction: column;
  }

  .verse-input-group {
    flex-direction: column;
  }

  .admin-sermon-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .admin-sermon-actions {
    width: 100%;
  }

  .admin-btn {
    flex: 1;
  }

  /* Series responsive */
  .series-header {
    flex-direction: column;
    gap: 1rem;
  }

  .series-header-thumbnail {
    width: 100%;
  }

  .series-sermon-card {
    flex-wrap: wrap;
  }

  .series-sermon-info {
    flex-basis: calc(100% - 50px);
  }

  .series-sermon-duration {
    margin-left: 44px;
    margin-top: 0.5rem;
  }

  /* Source card responsive */
  .source-card {
    flex-direction: column;
  }

  .source-thumbnail {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
  }

  /* Chapter sermon card responsive */
  .chapter-sermon-card {
    flex-direction: column;
  }

  .chapter-sermon-thumbnail {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
  }

  .chapter-sermon-header {
    flex-direction: column;
  }
}

/* Keyword Search Results */
.keyword-sermon-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 1rem;
}

.keyword-sermon-header {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.keyword-thumbnail-link {
  flex-shrink: 0;
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: opacity 0.2s ease;
}

.keyword-thumbnail-link:hover {
  opacity: 0.85;
}

.keyword-thumbnail {
  width: 120px;
  height: 68px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
}

.keyword-sermon-title-link {
  text-decoration: none;
  color: inherit;
}

.keyword-sermon-title-link:hover .keyword-sermon-title {
  color: var(--accent);
}

.keyword-sermon-info {
  flex: 1;
  min-width: 0;
}

.keyword-sermon-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.keyword-sermon-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.keyword-speaker {
  color: var(--text-light);
}

.keyword-match-count {
  background: var(--accent);
  color: white;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
}

.keyword-matches {
  padding: 0.75rem 1rem;
}

.keyword-match {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
}

.keyword-match:last-child {
  border-bottom: none;
}

.match-timestamp {
  flex-shrink: 0;
  background: var(--primary);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  height: fit-content;
}

.match-timestamp:hover {
  background: var(--accent);
}

.match-text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.search-highlight {
  background: rgba(128, 0, 32, 0.15);
  color: var(--accent);
  padding: 0.1rem 0.2rem;
  border-radius: 3px;
  font-weight: 500;
}

.more-matches {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  padding-top: 0.5rem;
}

.no-results {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-light);
}

.no-results p {
  margin-bottom: 0.5rem;
}

.no-results-hint {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Hide answer card when needed */
.answer-card.hidden {
  display: none;
}

/* Responsive keyword results */
@media (max-width: 640px) {
  .keyword-sermon-header {
    flex-direction: column;
  }

  .keyword-thumbnail {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
  }

  .keyword-match {
    flex-direction: column;
    gap: 0.5rem;
  }

  .match-timestamp {
    align-self: flex-start;
  }
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  padding: 1.5rem;
  text-align: center;
  margin-top: auto;
}

.footer-beta-notice {
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  margin: 0;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin: 0.5rem 0 0 0;
  opacity: 0.7;
}

/* ================================================
   FEEDBACK WIDGET
   ================================================ */

.feedback-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9998;
}

.feedback-trigger {
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.feedback-trigger:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  background: var(--accent-light);
}

.feedback-trigger:active {
  transform: scale(1.05);
}

.feedback-modal {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 340px;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  animation: feedbackSlideUp 0.2s ease-out;
}

@keyframes feedbackSlideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feedback-modal.hidden {
  display: none;
}

.feedback-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.feedback-header h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.feedback-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.2s;
}

.feedback-close:hover {
  color: var(--text);
}

.feedback-body {
  padding: 1.25rem;
}

.feedback-prompt {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  text-align: center;
}

.feedback-sentiment {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.sentiment-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  cursor: pointer;
  transition: all 0.2s;
}

.sentiment-btn:hover {
  border-color: var(--text-muted);
  background: var(--bg);
}

.sentiment-btn.selected {
  border-color: var(--accent);
  background: rgba(128, 0, 32, 0.05);
}

.sentiment-emoji {
  font-size: 1.75rem;
}

.sentiment-label {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
}

.feedback-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
  min-height: 80px;
  margin-bottom: 1rem;
  transition: border-color 0.2s;
}

.feedback-textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.feedback-email-section {
  margin-bottom: 1rem;
}

.feedback-email-input {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.875rem;
  transition: border-color 0.2s;
}

.feedback-email-input:focus {
  outline: none;
  border-color: var(--accent);
}

.feedback-email-input::placeholder {
  color: var(--text-muted);
}

.feedback-screenshot-section {
  margin-bottom: 0.5rem;
}

.feedback-screenshot-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  justify-content: center;
}

.feedback-screenshot-btn:hover {
  background: var(--border-light);
  color: var(--text);
}

.feedback-screenshot-btn.hidden {
  display: none;
}

.screenshot-preview {
  position: relative;
  margin-top: 0.75rem;
}

.screenshot-preview.hidden {
  display: none;
}

.screenshot-preview img {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.remove-screenshot-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.remove-screenshot-btn:hover {
  opacity: 1;
}

.feedback-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.feedback-submit-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}

.feedback-submit-btn:hover:not(:disabled) {
  background: var(--accent-light);
}

.feedback-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Mobile responsive */
@media (max-width: 480px) {
  .feedback-widget {
    bottom: 1rem;
    right: 1rem;
  }

  .feedback-trigger {
    padding: 0.4rem 0.6rem;
    font-size: 0.6rem;
  }

  .feedback-modal {
    width: calc(100vw - 2rem);
    right: 0;
    bottom: 60px;
  }
}

/* ================================================
   ADMIN FEEDBACK VIEW
   ================================================ */

.admin-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

.admin-tab {
  padding: 0.5rem 1rem;
  background: none;
  border: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.admin-tab:hover {
  background: var(--bg);
  color: var(--text);
}

.admin-tab.active {
  background: var(--accent);
  color: white;
}

.admin-tab-content.hidden {
  display: none;
}

.feedback-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feedback-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}

.feedback-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.feedback-sentiment-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
}

.feedback-sentiment-badge.positive {
  background: rgba(18, 183, 106, 0.1);
  color: var(--success);
}

.feedback-sentiment-badge.negative {
  background: rgba(240, 68, 56, 0.1);
  color: var(--error);
}

.feedback-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.feedback-message {
  color: var(--text);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.feedback-message:empty {
  display: none;
}

.feedback-email {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.feedback-email a {
  color: var(--accent);
  text-decoration: none;
}

.feedback-email a:hover {
  text-decoration: underline;
}

.feedback-screenshot-thumb {
  max-width: 200px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: opacity 0.2s;
}

.feedback-screenshot-thumb:hover {
  opacity: 0.8;
}

.feedback-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.feedback-empty {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
}

/* Feedback Type Badge */
.feedback-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
}

.feedback-type-badge.suggestion {
  background: rgba(251, 191, 36, 0.15);
  color: #b45309;
}

.feedback-item.suggestion {
  border-left: 3px solid #f59e0b;
}

.feedback-item.completed {
  opacity: 0.6;
  background: var(--bg);
}

/* Feedback Context Display */
.feedback-context {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--border-light);
}

.context-item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  background: var(--bg);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

/* Feedback List Header */
.feedback-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.feedback-list-header h2 {
  margin: 0;
}

.show-completed-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-light);
  cursor: pointer;
}

.show-completed-toggle input {
  cursor: pointer;
}

/* Feedback Status Badge */
.feedback-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  margin-left: 0.5rem;
}

.feedback-status-badge.completed {
  background: rgba(18, 183, 106, 0.1);
  color: var(--success);
}

/* Feedback Action Buttons */
.feedback-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.feedback-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-light);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.15s;
}

.feedback-action-btn:hover {
  background: var(--bg);
  color: var(--text);
}

.feedback-action-btn.complete:hover {
  border-color: var(--success);
  color: var(--success);
}

.feedback-action-btn.reopen:hover {
  border-color: var(--secondary);
  color: var(--secondary);
}

.feedback-action-btn.delete:hover {
  border-color: var(--error);
  color: var(--error);
}

.feedback-action-btn.prompt:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.feedback-action-btn svg {
  flex-shrink: 0;
}

/* AI Prompt Modal */
.prompt-modal-content {
  max-width: 600px;
  width: 90%;
}

.prompt-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.prompt-modal-header h2 {
  margin: 0;
  font-size: 1.1rem;
}

.prompt-modal-body {
  padding: 1.5rem;
}

.generated-prompt {
  width: 100%;
  min-height: 250px;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-family: inherit;
  font-size: 0.9rem;
  line-height: 1.6;
  resize: vertical;
  color: var(--text);
}

.prompt-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-secondary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-light);
}

.btn-secondary:hover {
  background: var(--bg);
  color: var(--text);
}

.btn-primary {
  background: var(--primary);
  border: 1px solid var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-light);
}

/* Feedback Stats Grid */
.feedback-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

/* Feedback Sentiment Bar */
.feedback-sentiment-bar-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.feedback-sentiment-bar-container h3 {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.sentiment-bar-wrapper {
  margin-top: 0.5rem;
}

.sentiment-bar-container {
  display: flex;
  height: 24px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1rem;
}

.sentiment-bar {
  transition: width 0.3s ease;
}

.sentiment-bar.positive {
  background: var(--success);
}

.sentiment-bar.negative {
  background: var(--error);
}

.sentiment-legend {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.sentiment-legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.sentiment-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.sentiment-dot.positive {
  background: var(--success);
}

.sentiment-dot.negative {
  background: var(--error);
}

/* ================================================
   SEARCH ANALYTICS
   ================================================ */

.analytics-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .analytics-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.search-type-breakdown {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.type-bar-container {
  display: flex;
  height: 24px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1rem;
}

.type-bar {
  background: var(--accent);
  transition: width 0.3s ease;
}

.type-bar-semantic {
  background: var(--secondary);
}

.type-legend {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.type-legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.type-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.type-dot.keyword {
  background: var(--accent);
}

.type-dot.semantic {
  background: var(--secondary);
}

.popular-searches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.popular-search-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
}

.popular-search-query {
  color: var(--text);
}

.popular-search-count {
  background: var(--bg);
  color: var(--text-muted);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
}

/* API Costs - Model Usage */
.model-usage-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.model-usage-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.model-name {
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-mono, monospace);
  font-size: 0.9rem;
}

.model-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.model-stat {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
}

.model-stat-label {
  color: var(--text-muted);
}

.model-stat-value {
  color: var(--text);
  font-weight: 500;
}

/* Feedback Stats */
.feedback-stats-bar {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.feedback-stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.feedback-stat-item.positive {
  border-color: var(--success);
  background: rgba(18, 183, 106, 0.05);
}

.feedback-stat-item.negative {
  border-color: var(--error);
  background: rgba(240, 68, 56, 0.05);
}

.feedback-stat-value {
  font-weight: 600;
  font-size: 1.1rem;
}

/* Feedback Type Selector */
.feedback-type-selector {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.feedback-type-btn {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.feedback-type-btn:hover {
  border-color: var(--text-muted);
}

.feedback-type-btn.selected {
  border-color: var(--accent);
  background: rgba(128, 0, 32, 0.05);
}

/* ================== */
/* Dark Mode Overrides */
/* ================== */

/* Search Input in Dark Mode */
[data-theme="dark"] .search-input {
  background: var(--bg-card);
  border-color: var(--border);
  color: var(--text);
}

[data-theme="dark"] .search-input:focus {
  border-color: var(--primary-light);
}

[data-theme="dark"] .search-input::placeholder {
  color: var(--text-muted);
}

/* Source Cards in Dark Mode */
[data-theme="dark"] .source-card {
  background: var(--bg-card);
  border-color: var(--border);
}

[data-theme="dark"] .source-card:hover {
  border-color: var(--primary-light);
}

/* Spelling Correction in Dark Mode */
[data-theme="dark"] .spelling-correction {
  background: rgba(255, 249, 230, 0.1);
  border-color: rgba(240, 215, 125, 0.3);
}

/* Modals in Dark Mode */
[data-theme="dark"] .modal-content,
[data-theme="dark"] .feedback-modal-content,
[data-theme="dark"] .prompt-modal-content {
  background: var(--bg-card);
}

/* Share Menu in Dark Mode */
[data-theme="dark"] .share-menu {
  background: var(--bg-card);
  border-color: var(--border);
}

[data-theme="dark"] .share-menu-item:hover {
  background: var(--bg);
}

/* Toast in Dark Mode */
[data-theme="dark"] .toast {
  background: var(--bg-card);
  color: var(--text);
}

/* Suggestion Pills in Dark Mode */
[data-theme="dark"] .suggestion {
  background: var(--bg-card);
  border-color: var(--border);
  color: var(--text);
}

[data-theme="dark"] .suggestion:hover {
  border-color: var(--primary-light);
}

/* Category Buttons in Dark Mode */
[data-theme="dark"] .category-btn {
  background: var(--bg-card);
  border-color: var(--border);
  color: var(--text);
}

[data-theme="dark"] .category-btn:hover {
  border-color: var(--primary-light);
}

/* Browse Cards in Dark Mode */
[data-theme="dark"] .browse-card {
  background: var(--bg-card);
}

[data-theme="dark"] .browse-card:hover {
  box-shadow: var(--shadow-lg);
}

/* Bible Book Cards in Dark Mode */
[data-theme="dark"] .book-card {
  background: var(--bg-card);
}

[data-theme="dark"] .book-card:hover {
  background: var(--primary-light);
}

/* Footer in Dark Mode */
[data-theme="dark"] .footer {
  background: var(--bg-card);
  border-top-color: var(--border);
}

/* Playlist Page Cards */
[data-theme="dark"] .sermon-page {
  background: var(--bg);
}

[data-theme="dark"] .sermon-card {
  background: var(--bg-card);
}

/* Load More Button in Dark Mode */
[data-theme="dark"] .load-more-btn {
  background: var(--accent);
}

[data-theme="dark"] .load-more-btn:hover {
  background: var(--accent-light);
}

/* Keyword Results in Dark Mode */
[data-theme="dark"] .keyword-results-container {
  background: var(--bg-card);
}

[data-theme="dark"] .keyword-result-item {
  border-bottom-color: var(--border);
}

/* Sermon Modal in Dark Mode */
[data-theme="dark"] .sermon-modal-content {
  background: var(--bg-card);
}

/* Feedback Form in Dark Mode */
[data-theme="dark"] .feedback-textarea,
[data-theme="dark"] .feedback-email-input {
  background: var(--bg);
  border-color: var(--border);
  color: var(--text);
}

