/* ==========================================================================
   Jesus Followers Ministries - Premium Royal & Heavenly Stylesheet
   ========================================================================== */

/* Import Google Fonts: Cinzel (Royal/Serif) and Poppins (Modern/Clean) */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;800;900&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  /* Royal & Heavenly Color Palette (Dark Mode - Default) */
  --bg-space: #030712;
  --bg-deep: #050c1e;
  --bg-sapphire: #0c1c38;
  --bg-royal: #152b52;
  
  --gold-primary: #d4af37;
  --gold-light: #f3e5ab;
  --gold-glow: #ffdf7a;
  --gold-dark: #aa7c11;
  
  --text-light: #f8fafc;
  --text-muted: #94a3b8;
  --text-gold: #f3d060;
  
  --accent-blue: #38bdf8;
  --accent-blue-glow: rgba(56, 189, 248, 0.4);
  
  /* Glassmorphism Styles */
  --glass-bg: rgba(12, 28, 56, 0.45);
  --glass-border: rgba(212, 175, 55, 0.15);
  --glass-border-hover: rgba(212, 175, 55, 0.35);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease-in-out;
}

/* ==========================================================================
   Light Theme Class Override
   ========================================================================== */
body.light-theme {
  --bg-space: #f1f5f9;
  --bg-deep: #ffffff;
  --bg-sapphire: #cbd5e1;
  --bg-royal: #94a3b8;
  
  --gold-primary: #b45309; /* Deep amber gold for legibility */
  --gold-light: #78350f;
  --gold-glow: #d97706;
  --gold-dark: #451a03;
  
  --text-light: #0f172a; /* Slate dark text */
  --text-muted: #475569; /* Slate secondary text */
  --text-gold: #b45309;
  
  --accent-blue: #0284c7;
  --accent-blue-glow: rgba(2, 132, 199, 0.15);
  
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(180, 83, 9, 0.18);
  --glass-border-hover: rgba(180, 83, 9, 0.4);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-space);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.5s ease, color 0.3s ease;
  
  /* NEW PREMIUM SPIRITUAL CROSS MOUSE POINTER */
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path d='M10 2h4v6h6v4h-6v10h-4v-10h-6v-4h6z' fill='%23ffffff' stroke='%23d4af37' stroke-width='1.5' stroke-linejoin='round'/></svg>") 12 12, auto;
}

a, button, select, input, textarea, .playlist-card, .media-item, .filter-btn, .option-card, .book-item-btn {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path d='M10 2h4v6h6v4h-6v10h-4v-10h-6v-4h6z' fill='%23d4af37' stroke='%23ffffff' stroke-width='1.5' stroke-linejoin='round'/></svg>") 12 12, pointer;
}

/* Heavenly Ambient Glow Backgrounds */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 20%, rgba(21, 43, 82, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(5, 12, 30, 0.3) 0%, transparent 100%);
  z-index: -2;
  pointer-events: none;
  transition: background 0.5s ease;
}

body.light-theme::before {
  background: 
    radial-gradient(circle at 10% 20%, rgba(203, 213, 225, 0.5) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(180, 83, 9, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(241, 245, 249, 0.4) 0%, transparent 100%);
}

/* ==========================================================================
   Bilingual Language Switcher Logic
   ========================================================================== */
body.en .lang-kn {
  display: none !important;
}

body.kn .lang-en {
  display: none !important;
}

body.kn {
  font-family: 'Poppins', 'Nirmala UI', sans-serif;
}

/* ==========================================================================
   Custom Scrollbar
   ========================================================================== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-space);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--bg-sapphire), var(--gold-primary));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-glow);
}

/* ==========================================================================
   Typography & Elements
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: 1px;
}

.gold-text-gradient {
  background: linear-gradient(135deg, #FFF5D6 0%, #D4AF37 50%, #AA7C11 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  display: inline-block;
  /* Filter drop-shadow makes gradient text perfectly readable on both light & dark themes */
  filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.85)) drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.4));
  transition: filter 0.3s ease;
}

a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition-fast);
}

button, .btn {
  font-family: 'Poppins', sans-serif;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header {
  position: fixed;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 30px);
  max-width: 1350px;
  z-index: 1000;
  background: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 40px;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

body.light-theme header {
  background: rgba(241, 245, 249, 0.85);
  border: 1px solid rgba(180, 83, 9, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

header.scrolled {
  top: 8px;
  background: rgba(3, 7, 18, 0.92);
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.15);
}

body.light-theme header.scrolled {
  top: 8px;
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(180, 83, 9, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.header-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-container img {
  height: 55px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.3));
  transition: var(--transition-smooth);
}

body.light-theme .logo-container img {
  filter: drop-shadow(0 0 8px rgba(180, 83, 9, 0.2));
}

.logo-container img:hover {
  transform: scale(1.05) rotate(2deg);
}

.ministry-title {
  display: flex;
  flex-direction: column;
}

.ministry-title h1 {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

.ministry-title span {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

nav.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 12px;
  align-items: center;
}

.nav-list a {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 8px;
  position: relative;
  color: var(--text-muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--gold-light), var(--gold-primary));
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.nav-list a:hover, .nav-list a.active {
  color: var(--gold-glow);
}

body.light-theme .nav-list a:hover, body.light-theme .nav-list a.active {
  color: var(--gold-primary);
}

.nav-list a:hover::after, .nav-list a.active::after {
  width: 80%;
}

.lang-switcher-btn {
  background: var(--glass-bg);
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
  transition: var(--transition-smooth);
}

body.light-theme .lang-switcher-btn {
  color: var(--gold-primary);
  box-shadow: 0 0 10px rgba(180, 83, 9, 0.05);
}

.lang-switcher-btn:hover {
  background: var(--gold-primary);
  color: var(--bg-space) !important;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

body.light-theme .lang-switcher-btn:hover {
  box-shadow: 0 0 15px rgba(180, 83, 9, 0.3);
  color: #ffffff !important;
}

.mobile-toggle {
  display: none;
  background: none;
  color: var(--text-light);
  font-size: 1.5rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  z-index: 10;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/hero-bg.png');
  background-size: cover;
  background-position: center;
  z-index: -2;
  transform: scale(1.02);
  filter: brightness(0.65) contrast(1.15);
  animation: bgZoomSlow 25s infinite alternate;
}

body.light-theme .hero-bg {
  filter: brightness(0.85) contrast(1.05);
}

@keyframes bgZoomSlow {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(3, 7, 18, 0.45) 0%,
    rgba(3, 7, 18, 0.2) 60%,
    var(--bg-space) 100%
  );
  z-index: -1;
  transition: background 0.5s ease;
}

body.light-theme .hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(241, 245, 249, 0.5) 60%,
    var(--bg-space) 100%
  );
}

.hero-cross-container {
  margin-bottom: 25px;
  position: relative;
  animation: floatSlow 6s ease-in-out infinite;
}

.hero-cross {
  font-size: 4.5rem;
  color: var(--gold-light);
  filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.85)) drop-shadow(0 0 45px rgba(56, 189, 248, 0.5));
}

body.light-theme .hero-cross {
  color: var(--gold-primary);
  filter: drop-shadow(0 0 20px rgba(180, 83, 9, 0.5));
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-content {
  max-width: 900px;
  padding: 0 24px;
  margin-top: 50px;
}

.hero-tagline {
  font-size: 0.95rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-gold);
  font-weight: 600;
  margin-bottom: 15px;
  animation: fadeInDown 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.15;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-scripture {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 40px;
  opacity: 0.95;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  animation: fadeInUp 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}

body.light-theme .hero-scripture {
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.8);
}

.hero-ctas {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 1.6s cubic-bezier(0.16, 1, 0.3, 1);
  flex-wrap: wrap;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 50%, var(--gold-dark) 100%);
  color: var(--bg-space);
  padding: 14px 32px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

body.light-theme .btn-gold {
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(180, 83, 9, 0.25);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
  filter: brightness(1.1);
}

body.light-theme .btn-gold:hover {
  box-shadow: 0 8px 30px rgba(180, 83, 9, 0.45);
}

.btn-outline {
  background: var(--glass-bg);
  border: 1.5px solid var(--gold-primary);
  color: var(--text-light);
  padding: 14px 32px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
}

body.light-theme .btn-outline:hover {
  background: rgba(180, 83, 9, 0.08);
  box-shadow: 0 8px 25px rgba(180, 83, 9, 0.1);
}

/* ==========================================================================
   Common Section Styles
   ========================================================================== */
section {
  padding: 100px 24px;
  position: relative;
  z-index: 10;
  transition: background-color 0.5s ease;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-tagline {
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-gold);
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-family: 'Cinzel', serif !important;
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
}

body.light-theme .section-title:not(.gold-text-gradient) {
  text-shadow: 1px 1px 0px #ffffff, 2px 2px 2px rgba(0, 0, 0, 0.1);
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--gold-primary), transparent);
  margin: 15px auto 0;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 35px;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.05);
}

body.light-theme .glass-card:hover {
  box-shadow: var(--glass-shadow), 0 12px 30px rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   Section 1: Welcome & About
   ========================================================================== */
.welcome-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.welcome-text h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: var(--gold-light);
}

.welcome-text p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 20px;
}

.welcome-quote {
  border-left: 3px solid var(--gold-primary);
  padding-left: 20px;
  font-style: italic;
  color: var(--text-light);
  margin: 30px 0;
}

.welcome-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
  border: 1px solid var(--glass-border);
}

body.light-theme .welcome-image {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.welcome-image img {
  width: 100%;
  display: block;
  transition: var(--transition-smooth);
}

.welcome-image:hover img {
  transform: scale(1.05);
}

.welcome-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(5, 12, 30, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gold-primary);
  padding: 12px 20px;
  border-radius: 4px;
  text-align: center;
}

body.light-theme .welcome-badge {
  background: rgba(255, 255, 255, 0.9);
}

.welcome-badge span {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-primary);
  display: block;
}

.welcome-badge label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ==========================================================================
   Section 2: Vision & Mission
   ========================================================================== */
.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.vision-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.vision-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.vision-card-header i {
  font-size: 2rem;
  color: var(--gold-primary);
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
}

body.light-theme .vision-card-header i {
  filter: drop-shadow(0 0 5px rgba(180, 83, 9, 0.2));
}

.vision-card h3 {
  font-size: 1.5rem;
}

.vision-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.scripture-highlight {
  background: rgba(212, 175, 55, 0.05);
  border: 1px dashed rgba(212, 175, 55, 0.3);
  padding: 20px;
  border-radius: 6px;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-gold);
  line-height: 1.5;
  margin-top: 15px;
}

body.light-theme .scripture-highlight {
  background: rgba(180, 83, 9, 0.03);
  border-color: rgba(180, 83, 9, 0.25);
}

.scripture-source {
  display: block;
  text-align: right;
  margin-top: 8px;
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  color: var(--gold-primary);
  font-weight: 600;
}

/* ==========================================================================
   CHURCH PRAYER TIMES / SCHEDULE STYLES
   ========================================================================== */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}

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

@media (max-width: 650px) {
  .schedule-grid {
    grid-template-columns: 1fr;
  }
}

.schedule-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.schedule-day-badge {
  padding: 15px 20px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cinzel', serif;
}

.schedule-day-badge.sunday {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.05) 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--gold-glow);
}

body.light-theme .schedule-day-badge.sunday {
  background: linear-gradient(135deg, rgba(180, 83, 9, 0.15) 0%, rgba(180, 83, 9, 0.02) 100%);
  border-bottom: 1px solid rgba(180, 83, 9, 0.2);
  color: var(--gold-primary);
}

.schedule-day-badge.weekday {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15) 0%, rgba(56, 189, 248, 0.03) 100%);
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  color: var(--accent-blue);
}

body.light-theme .schedule-day-badge.weekday {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.1) 0%, rgba(2, 132, 199, 0.02) 100%);
  border-bottom: 1px solid rgba(2, 132, 199, 0.15);
  color: var(--accent-blue);
}

.schedule-day-badge.fasting {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.03) 100%);
  border-bottom: 1px solid rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

body.light-theme .schedule-day-badge.fasting {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.08) 0%, rgba(220, 38, 38, 0.02) 100%);
  border-bottom: 1px solid rgba(220, 38, 38, 0.15);
  color: #b91c1c;
}

.schedule-day-badge.youth {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(168, 85, 247, 0.03) 100%);
  border-bottom: 1px solid rgba(168, 85, 247, 0.2);
  color: #c084fc;
}

body.light-theme .schedule-day-badge.youth {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.08) 0%, rgba(147, 51, 234, 0.02) 100%);
  border-bottom: 1px solid rgba(147, 51, 234, 0.15);
  color: #7e22ce;
}

.schedule-details-box {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.schedule-details-box h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-light);
}

.schedule-time {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.schedule-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.communion-notice {
  margin-top: 40px;
  display: flex;
  gap: 15px;
  align-items: center;
  border: 1px dashed var(--gold-primary);
  background: rgba(212, 175, 55, 0.05);
  padding: 20px 30px;
}

body.light-theme .communion-notice {
  background: rgba(180, 83, 9, 0.03);
}

.communion-notice i {
  font-size: 1.5rem;
  color: var(--gold-primary);
}

.communion-notice-text {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ==========================================================================
   Section 3: Bible Verse Widget
   ========================================================================== */
.verse-of-day {
  background: radial-gradient(circle at center, rgba(12, 28, 56, 0.8) 0%, rgba(3, 7, 18, 0.95) 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  text-align: center;
  padding: 80px 24px;
  transition: background 0.5s ease;
}

body.light-theme .verse-of-day {
  background: radial-gradient(circle at center, rgba(226, 232, 240, 0.7) 0%, rgba(241, 245, 249, 0.95) 100%);
  border-color: rgba(180, 83, 9, 0.2);
}

.verse-box {
  max-width: 850px;
  margin: 0 auto;
  position: relative;
}

.verse-box i.quote-icon {
  font-size: 3rem;
  color: rgba(212, 175, 55, 0.15);
  margin-bottom: 15px;
  display: inline-block;
}

body.light-theme .verse-box i.quote-icon {
  color: rgba(180, 83, 9, 0.15);
}

.verse-content {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-light);
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  transition: var(--transition-smooth);
}

body.light-theme .verse-content {
  text-shadow: none;
}

.verse-ref {
  font-size: 0.9rem;
  letter-spacing: 3px;
  color: var(--gold-primary);
  text-transform: uppercase;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.verse-btn {
  margin-top: 30px;
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--text-muted);
  padding: 8px 18px;
  font-size: 0.75rem;
  letter-spacing: 1px;
  border-radius: 20px;
  transition: var(--transition-smooth);
}

body.light-theme .verse-btn {
  border-color: rgba(180, 83, 9, 0.3);
}

.verse-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.05);
}

/* ==========================================================================
   Section 4 & 5: Sermons & Featured Media
   ========================================================================== */
.sermon-highlights {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}

.featured-documentary {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.7);
  border: 1px solid var(--glass-border);
  aspect-ratio: 16/9;
}

body.light-theme .featured-documentary {
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.featured-documentary iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.playlist-sidebar {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.playlist-card {
  display: flex;
  gap: 15px;
  background: rgba(12, 28, 56, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 12px;
  align-items: center;
  transition: var(--transition-smooth);
}

body.light-theme .playlist-card {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(0,0,0,0.05);
}

.playlist-card:hover, .playlist-card.active {
  background: rgba(12, 28, 56, 0.75);
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateX(5px);
}

body.light-theme .playlist-card:hover, body.light-theme .playlist-card.active {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(180, 83, 9, 0.4);
}

.playlist-thumb {
  width: 90px;
  aspect-ratio: 16/9;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.playlist-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.playlist-thumb i {
  position: absolute;
  color: var(--gold-light);
  font-size: 1.2rem;
  filter: drop-shadow(0 0 5px rgba(0,0,0,0.8));
}

.playlist-details {
  flex-grow: 1;
}

.playlist-details h4 {
  font-size: 0.85rem;
  margin-bottom: 4px;
  color: var(--text-light);
  line-height: 1.3;
}

.playlist-details span {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   Section 6, 7 & 8: Ministry Activities
   ========================================================================== */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.activity-card {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.activity-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.activity-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.activity-card:hover .activity-img-wrapper img {
  transform: scale(1.08) rotate(1deg);
}

.activity-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 40%, rgba(5, 12, 30, 0.9) 100%);
}

body.light-theme .activity-img-overlay {
  background: linear-gradient(to bottom, transparent 40%, rgba(241, 245, 249, 0.95) 100%);
}

.activity-info {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.activity-info h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--gold-primary);
}

.activity-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.activity-link {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.activity-link:hover {
  color: var(--gold-glow);
  transform: translateX(4px);
}

/* ==========================================================================
   Section 8.5: Media Archive
   ========================================================================== */
.media-gallery-section {
  background: rgba(3, 7, 18, 0.4);
}

body.light-theme .media-gallery-section {
  background: rgba(255, 255, 255, 0.3);
}

.media-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--glass-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  padding: 10px 22px;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 4px;
  transition: var(--transition-smooth);
}

body.light-theme .filter-btn {
  border-color: rgba(0,0,0,0.06);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gold-primary);
  color: var(--bg-space) !important;
  border-color: var(--gold-primary);
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.25);
  font-weight: 600;
}

body.light-theme .filter-btn:hover, body.light-theme .filter-btn.active {
  color: #ffffff !important;
  box-shadow: 0 5px 20px rgba(180, 83, 9, 0.2);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  transition: var(--transition-smooth);
}

.media-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
  background: rgba(12, 28, 56, 0.2);
}

body.light-theme .media-item {
  background: rgba(255, 255, 255, 0.7);
}

.media-item:hover {
  transform: translateY(-5px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

body.light-theme .media-item:hover {
  box-shadow: var(--glass-shadow), 0 10px 20px rgba(0,0,0,0.05);
}

.media-item-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
}

.media-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.media-item:hover .media-item-thumb img {
  transform: scale(1.05);
}

.media-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgba(3, 7, 18, 0.8);
  border: 1.5px solid var(--gold-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.1rem;
  transition: var(--transition-smooth);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.media-item:hover .media-play-btn {
  background: var(--gold-primary);
  color: var(--bg-space) !important;
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
}

body.light-theme .media-item:hover .media-play-btn {
  color: #ffffff !important;
  box-shadow: 0 0 25px rgba(180, 83, 9, 0.4);
}

.media-item-info {
  padding: 20px;
}

.media-item-category {
  font-size: 0.65rem;
  color: var(--text-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
}

.media-item-title {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.4;
  height: 2.8em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ==========================================================================
   Section 9: Prayer Wall & Testimony Form
   ========================================================================== */
.prayer-testimonials-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 45px;
}

.prayer-wall-board {
  max-height: 550px;
  overflow-y: auto;
  padding-right: 15px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.prayer-post-card {
  background: rgba(12, 28, 56, 0.3);
  border-left: 3px solid var(--gold-primary);
  border-radius: 0 6px 6px 0;
  padding: 20px;
  position: relative;
}

body.light-theme .prayer-post-card {
  background: rgba(255, 255, 255, 0.7);
}

.prayer-post-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.8rem;
}

.prayer-post-author {
  font-weight: 600;
  color: var(--gold-primary);
}

.prayer-post-date {
  color: var(--text-muted);
}

.prayer-post-text {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.prayer-post-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-pray-heart {
  background: transparent;
  color: var(--text-muted);
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 12px;
  transition: var(--transition-fast);
}

body.light-theme .btn-pray-heart {
  border-color: rgba(0,0,0,0.06);
}

.btn-pray-heart:hover, .btn-pray-heart.prayed {
  color: var(--text-gold);
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.05);
}

.prayer-post-badge {
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-blue);
  border: 1px solid rgba(56, 189, 248, 0.2);
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.prayer-post-badge.testimony {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-primary);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  color: var(--gold-primary);
  font-weight: 500;
}

.form-input {
  width: 100%;
  background: rgba(3, 7, 18, 0.5);
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 12px 16px;
  border-radius: 4px;
  color: var(--text-light);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

body.light-theme .form-input {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(180, 83, 9, 0.25);
}

.form-input:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
  background: rgba(3, 7, 18, 0.8);
}

body.light-theme .form-input:focus {
  background: #ffffff;
  box-shadow: 0 0 15px rgba(180, 83, 9, 0.15);
}

select.form-input option {
  background: var(--bg-deep);
  color: var(--text-light);
}

.btn-form-submit {
  width: 100%;
  padding: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 10px;
}

/* ==========================================================================
   Section 10: Testimonials Slider
   ========================================================================== */
.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}

.testimonial-slide {
  padding: 20px;
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
  margin: 0 auto 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
  background: var(--bg-sapphire);
}

.testimonial-avatar i {
  font-size: 2.2rem;
  color: var(--gold-primary);
  line-height: 80px;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 25px;
  line-height: 1.7;
}

.testimonial-name {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold-primary);
}

.testimonial-role {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   Section 11: Upcoming Events
   ========================================================================== */
.events-timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.event-card {
  display: flex;
  gap: 30px;
  align-items: center;
}

.event-date-box {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 50%, var(--gold-dark) 100%);
  color: var(--bg-space);
  padding: 20px;
  border-radius: 6px;
  text-align: center;
  min-width: 120px;
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

body.light-theme .event-date-box {
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(180, 83, 9, 0.2);
}

.event-day {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  display: block;
}

.event-month {
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  display: block;
  margin-top: 4px;
}

.event-body {
  flex-grow: 1;
}

.event-meta {
  font-size: 0.75rem;
  color: var(--text-gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  display: flex;
  gap: 15px;
  align-items: center;
}

.event-meta i {
  color: var(--gold-primary);
}

.event-body h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.event-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.event-ctas {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* ==========================================================================
   Section 12: Contact Us & Map
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-detail-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-icon-box {
  width: 50px;
  height: 50px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.05);
}

body.light-theme .contact-icon-box {
  background: rgba(180, 83, 9, 0.05);
  border-color: rgba(180, 83, 9, 0.2);
}

.contact-detail-content h4 {
  font-size: 0.95rem;
  color: var(--gold-primary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-detail-content p, .contact-detail-content a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-detail-content a:hover {
  color: var(--gold-primary);
}

.map-container {
  width: 100%;
  height: 320px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  margin-top: 15px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.map-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-gold);
  margin-top: 12px;
}

.map-link-btn:hover {
  color: var(--gold-glow);
}

/* ==========================================================================
   TINY LOST SHEEP CARTOON PLAYGROUND (Jesus searching for lost sheep)
   ========================================================================== */
.lost-sheep-playground {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to top, rgba(12, 28, 56, 0.45) 0%, transparent 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}
body.light-theme .lost-sheep-playground {
  background: linear-gradient(to top, rgba(255, 255, 255, 0.8) 0%, transparent 100%);
  border-top-color: rgba(180, 83, 9, 0.15);
}

.playground-grass {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #10b981;
  opacity: 0.8;
}

.cartoon-jesus {
  position: absolute;
  bottom: 2px;
  left: 100px;
  font-size: 26px;
  display: flex;
  align-items: flex-end;
  transition: left 0.1s linear;
}
.cartoon-jesus-staff {
  font-size: 16px;
  margin-right: -4px;
  transform: rotate(15deg);
}
.cartoon-jesus-face {
  font-size: 24px;
}
.cartoon-jesus-bubble {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(12, 28, 56, 0.9);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  font-size: 8px;
  padding: 2px 6px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
}
body.light-theme .cartoon-jesus-bubble {
  background: #ffffff;
  color: var(--gold-primary);
}
.cartoon-jesus-bubble.active {
  opacity: 1;
}

.cartoon-sheep {
  position: absolute;
  bottom: 2px;
  font-size: 18px;
  transition: left 0.1s linear, bottom 0.2s ease;
}

.cartoon-heart {
  position: absolute;
  font-size: 14px;
  color: #ef4444;
  opacity: 0;
  transform: translateY(0);
  animation: floatHeartTiny 1.5s ease-out forwards;
}

@keyframes floatHeartTiny {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-30px); }
}

/* ==========================================================================
   QUIZ PAGE & BIBLE READER CUSTOM STYLES
   ========================================================================== */
.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

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

.option-card {
  background: rgba(12, 28, 56, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: var(--transition-smooth);
}

.option-card:hover {
  background: rgba(212, 175, 55, 0.05);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.option-letter {
  background: var(--gold-primary);
  color: var(--bg-space);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

body.light-theme .option-letter {
  color: #ffffff;
}

.option-text {
  font-size: 0.95rem;
  color: var(--text-light);
}

.reward-heart-container {
  position: fixed;
  pointer-events: none;
  z-index: 99999;
}

.reward-heart {
  font-size: 32px;
  color: #ef4444;
  position: absolute;
  animation: floatHeartUp 2s cubic-bezier(0.075, 0.82, 0.165, 1) forwards;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

@keyframes floatHeartUp {
  0% {
    transform: translate(-50%, 0) scale(0.6);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -200px) scale(1.4);
    opacity: 0;
  }
}

.bible-reader-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
}

@media (max-width: 768px) {
  .bible-reader-layout {
    grid-template-columns: 1fr;
  }
}

.bible-sidebar {
  height: max-content;
}

.bible-pane {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.bible-verse-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body.light-theme .bible-verse-row {
  border-bottom-color: rgba(0,0,0,0.06);
}

.bible-verse-cell {
  font-size: 0.95rem;
  line-height: 1.6;
}

.verse-num {
  font-weight: 700;
  color: var(--gold-primary);
  margin-right: 8px;
  font-size: 0.85rem;
  font-family: 'Cinzel', serif;
}

/* ==========================================================================
   Floating Quick Action Buttons
   ========================================================================== */
.floating-actions-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.floating-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transition: var(--transition-smooth);
  position: relative;
  border: none;
  cursor: pointer;
}

body.light-theme .floating-btn {
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.float-whatsapp {
  background: #25d366;
  border: 1.5px solid var(--gold-primary);
  animation: pulseGold 2s infinite;
}

.float-whatsapp:hover {
  transform: translateY(-5px) scale(1.08);
  background: #20ba5a;
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

.float-prayer {
  background: linear-gradient(135deg, var(--bg-sapphire), var(--bg-royal));
  border: 1.5px solid var(--gold-primary);
}

.float-prayer:hover {
  transform: translateY(-5px) scale(1.08);
  background: var(--bg-royal);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
}

.float-prayer i {
  color: var(--gold-primary);
}

.floating-btn::before {
  content: attr(data-tooltip);
  position: absolute;
  right: 70px;
  background: rgba(5, 12, 30, 0.95);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

body.light-theme .floating-btn::before {
  background: #ffffff;
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.floating-btn:hover::before {
  opacity: 1;
  transform: translateX(-5px);
}

@keyframes pulseGold {
  0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background: #02050c;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding: 80px 24px 30px;
  position: relative;
  z-index: 10;
  transition: background-color 0.5s ease;
}

body.light-theme footer {
  background: #e2e8f0;
  border-top-color: rgba(180, 83, 9, 0.2);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand img {
  height: 50px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.3));
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.footer-brand .scripture-verse {
  font-style: italic;
  color: var(--text-gold);
  border-left: 2px solid var(--gold-primary);
  padding-left: 12px;
  font-size: 0.8rem;
}

.footer-column h3 {
  font-size: 1rem;
  color: var(--gold-primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--gold-primary);
  padding-left: 6px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.social-btn:hover {
  background: var(--gold-primary);
  color: var(--bg-space);
  border-color: var(--gold-primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

body.light-theme .social-btn:hover {
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(180, 83, 9, 0.25);
}

.newsletter-form {
  margin-top: 15px;
}

.newsletter-form p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.newsletter-input-group {
  display: flex;
}

.newsletter-input {
  flex-grow: 1;
  background: rgba(3, 7, 18, 0.5);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 4px 0 0 4px;
  padding: 10px 14px;
  color: var(--text-light);
  font-size: 0.85rem;
}

body.light-theme .newsletter-input {
  background: #ffffff;
  border-color: rgba(180, 83, 9, 0.3);
}

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

.btn-newsletter {
  background: var(--gold-primary);
  color: var(--bg-space);
  border-radius: 0 4px 4px 0;
  padding: 0 16px;
  font-weight: 600;
  transition: var(--transition-fast);
}

body.light-theme .btn-newsletter {
  color: #ffffff;
}

.btn-newsletter:hover {
  background: var(--gold-glow);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

body.light-theme .footer-bottom {
  border-top-color: rgba(0,0,0,0.06);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: var(--text-muted);
}

.footer-bottom-links a:hover {
  color: var(--gold-primary);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 968px) {
  section {
    padding: 70px 20px;
  }
  
  .hero-title {
    font-size: 2.6rem;
  }
  
  .hero-scripture {
    font-size: 1.1rem;
  }
  
  .welcome-grid, .sermon-highlights, .prayer-testimonials-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  
  .welcome-image {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .vision-mission-grid, .activities-grid, .media-grid {
    grid-template-columns: 1fr;
  }
  
  .playlist-sidebar {
    max-height: 400px;
    overflow-y: auto;
  }
  
} /* Close the @media (max-width: 968px) block early */

/* Mobile menu collapse trigger at 1150px */
@media (max-width: 1150px) {
  .header-container {
    padding: 10px 16px;
  }
  
  .mobile-toggle {
    display: block;
    cursor: pointer;
  }
  
  header {
    top: 10px;
    width: calc(100% - 20px);
    border-radius: 20px;
  }
  
  nav.nav-menu {
    position: fixed;
    top: 86px;
    left: -320px;
    width: 280px;
    height: calc(100vh - 106px);
    background: rgba(3, 7, 18, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
    transition: var(--transition-smooth);
    z-index: 999;
  }
  
  body.light-theme nav.nav-menu {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(180, 83, 9, 0.25);
  }
  
  nav.nav-menu.open {
    left: 10px;
  }
  
  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 20px;
  }
  
  .nav-list li {
    width: 100%;
  }
  
  .nav-list a {
    font-size: 0.95rem;
    display: block;
    width: 100%;
    padding: 10px 0;
  }
  
  .lang-switcher-wrapper {
    margin-top: 30px;
    width: 100%;
  }
  
  .lang-switcher-btn {
    width: 100%;
    justify-content: center;
    padding: 10px 14px;
  }
}

/* Arrange header menu items properly on mid-sized screens to prevent wrapping */
@media (min-width: 1151px) and (max-width: 1300px) {
  .nav-list {
    gap: 10px;
  }
  .nav-list a {
    font-size: 0.72rem;
    padding: 6px 8px;
  }
  .lang-switcher-wrapper {
    margin-left: 10px;
  }
  .logo-container img {
    height: 48px;
  }
  .ministry-title h1 {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-tagline {
    font-size: 0.8rem;
    letter-spacing: 2px;
  }
  
  .hero-cross {
    font-size: 3.5rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
  
  .event-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .event-date-box {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 10px;
  }
  
  .event-month {
    margin-top: 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   Cartoon Lost Sheep Playground Styles
   ========================================================================== */
.cartoon-playground {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 65px;
  z-index: 9998;
  pointer-events: none;
  background: linear-gradient(to top, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.05) 50%, transparent 100%);
  border-top: 1px solid rgba(16, 185, 129, 0.2);
  overflow: visible;
  transition: opacity 0.5s ease;
}

body.light-theme .cartoon-playground {
  background: linear-gradient(to top, rgba(16, 185, 129, 0.25) 0%, rgba(16, 185, 129, 0.08) 50%, transparent 100%);
  border-top-color: rgba(16, 185, 129, 0.35);
}

.cartoon-grass-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(to bottom, #059669, #047857);
}

.cartoon-sheep {
  font-size: 1.4rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  display: inline-block;
  transition: left 4s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.5s ease;
}

.grazing-sheep {
  animation: grazeBob 3s infinite alternate;
}

@keyframes grazeBob {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(2px) rotate(-3deg); }
  100% { transform: translateY(0) rotate(3deg); }
}

.cartoon-jesus {
  display: inline-block;
  transition: left 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.jesus-character-wrapper {
  display: flex;
  align-items: center;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.4));
  transition: transform 0.3s ease;
}

.cartoon-bubble {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: rgba(12, 28, 56, 0.95);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

body.light-theme .cartoon-bubble {
  background: rgba(255, 255, 255, 0.98);
  color: var(--gold-primary);
  border-color: var(--gold-primary);
}

.cartoon-bubble::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: rgba(12, 28, 56, 0.95) transparent transparent transparent;
}

body.light-theme .cartoon-bubble::after {
  border-top-color: rgba(255, 255, 255, 0.98);
}

.cartoon-bubble.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.lost-sheep-jump {
  animation: sheepJump 0.5s infinite alternate;
}

@keyframes sheepJump {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.cartoon-heart {
  position: absolute;
  font-size: 1.2rem;
  animation: heartFloatUp 1.5s forwards;
  z-index: 10;
  pointer-events: none;
}

@keyframes heartFloatUp {
  0% { transform: translateY(0) scale(0.8); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(-40px) scale(1.2); opacity: 0; }
}

/* Hide cartoon playground in case of screen heights that are too tiny */
@media (max-height: 450px) {
  .cartoon-playground {
    display: none !important;
  }
}

/* ==========================================================================
   12. WhatsApp Button & Community Styling
   ========================================================================== */
.btn-whatsapp {
  background: linear-gradient(135deg, #2fe678 0%, #25D366 50%, #1da850 100%);
  color: #ffffff !important;
  padding: 14px 32px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-smooth);
  border: none;
}
.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
  filter: brightness(1.05);
  color: #ffffff !important;
}

/* ==========================================================================
   13. Tabbed Prayer Form Styling
   ========================================================================== */
.prayer-form-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 25px;
  background: rgba(3, 7, 18, 0.3);
  padding: 6px;
  border-radius: 6px;
  border: 1px solid var(--glass-border);
}
body.light-theme .prayer-form-tabs {
  background: rgba(255, 255, 255, 0.6);
}
.prayer-tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: var(--transition-fast);
}
.prayer-tab-btn.active, .prayer-tab-btn:hover {
  background: var(--gold-primary);
  color: var(--bg-space) !important;
}
body.light-theme .prayer-tab-btn.active, body.light-theme .prayer-tab-btn:hover {
  color: #ffffff !important;
}
.prayer-form-content {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}
.prayer-form-content.active {
  display: block;
}

/* Pastor Reply Bubble inside Prayer Post */
.prayer-post-reply {
  background: rgba(212, 175, 55, 0.05);
  border-left: 3px solid var(--gold-primary);
  border-radius: 0 4px 4px 0;
  padding: 15px 20px;
  margin: 15px 0;
  text-align: left;
}
body.light-theme .prayer-post-reply {
  background: rgba(180, 83, 9, 0.04);
}
.reply-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 6px;
}
.prayer-post-reply p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   14. Admin Portal Modal & Dashboard Styling
   ========================================================================== */
.admin-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 10001;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 20px;
}
.admin-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.admin-modal-card {
  width: 100%;
  max-width: 450px;
  background: var(--bg-deep);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 25px;
  transform: translateY(30px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.1);
}
body.light-theme .admin-modal-card {
  background: #ffffff;
}
.admin-modal-overlay.open .admin-modal-card {
  transform: translateY(0);
}
.admin-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid var(--glass-border);
  padding-bottom: 15px;
  margin-bottom: 20px;
}
.admin-modal-header h2, .admin-modal-header h3 {
  margin: 0;
}
.admin-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  line-height: 1;
  transition: var(--transition-fast);
}
.admin-close-btn:hover {
  color: var(--gold-glow);
}

/* Dashboard Overlay/Card size */
.admin-dashboard-card {
  width: 100%;
  max-width: 1000px;
  height: 85vh;
  background: var(--bg-deep);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  transform: translateY(30px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.1);
  overflow: hidden;
  padding: 30px !important;
}
body.light-theme .admin-dashboard-card {
  background: #ffffff;
}
.admin-modal-overlay.open .admin-dashboard-card {
  transform: translateY(0);
}

/* Tabs list inside Admin */
.admin-tabs {
  display: flex;
  gap: 10px;
  border-bottom: 1.5px solid var(--glass-border);
  padding-bottom: 15px;
  margin-bottom: 20px;
  overflow-x: auto;
}
.admin-tab-btn {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: var(--transition-fast);
}
.admin-tab-btn.active, .admin-tab-btn:hover {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold-glow);
}
body.light-theme .admin-tab-btn.active, body.light-theme .admin-tab-btn:hover {
  background: rgba(180, 83, 9, 0.05);
  color: var(--gold-primary);
}

.admin-tab-content {
  display: none;
  flex-direction: column;
  flex-grow: 1;
  overflow-y: auto;
  min-height: 0;
  animation: fadeIn 0.4s ease forwards;
}
.admin-tab-content.active {
  display: flex;
}

.admin-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.admin-table-container {
  overflow-x: auto;
  border-radius: 6px;
  border: 1px solid var(--glass-border);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
  background: rgba(5, 12, 30, 0.3);
}
body.light-theme .admin-table {
  background: rgba(255, 255, 255, 0.6);
}
.admin-table th {
  background: rgba(12, 28, 56, 0.8);
  color: var(--gold-light);
  padding: 12px 16px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
}
body.light-theme .admin-table th {
  background: rgba(203, 213, 225, 0.9);
  color: var(--gold-primary);
}
.admin-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--glass-border);
  vertical-align: middle;
}
.admin-table tr:hover {
  background: rgba(212, 175, 55, 0.03);
}
body.light-theme .admin-table tr:hover {
  background: rgba(180, 83, 9, 0.02);
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 768px) {
  .admin-dashboard-card {
    height: 95vh;
    padding: 20px !important;
  }
  .admin-modal-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .admin-modal-header div {
    width: 100%;
    justify-content: space-between;
  }
}

/* ==========================================================================
   15. Responsive Dropdown Menu Styles
   ========================================================================== */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: rgba(3, 7, 18, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-radius: 6px;
  list-style: none;
  min-width: 220px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1010;
}

body.light-theme .dropdown-menu {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(180, 83, 9, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  padding: 10px 20px !important;
  display: block !important;
  text-transform: none !important;
  font-weight: 500 !important;
  font-size: 0.85rem !important;
  color: var(--text-muted) !important;
  text-align: left;
  width: 100% !important;
}

.dropdown-menu a::after {
  display: none !important; /* Remove line under drop menu items */
}

.dropdown-menu a:hover, .dropdown-menu a.active {
  color: var(--gold-primary) !important;
  background: rgba(212, 175, 55, 0.05) !important;
}

body.light-theme .dropdown-menu a:hover, body.light-theme .dropdown-menu a.active {
  background: rgba(180, 83, 9, 0.04) !important;
}

/* Mobile Dropdown Styling */
@media (max-width: 1150px) {
  .dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: none;
    border: none;
    box-shadow: none;
    padding-left: 20px;
    display: none; /* Toggled by class */
    min-width: 100%;
  }

  .dropdown.open-mobile .dropdown-menu {
    display: block;
  }
  
  .dropdown-toggle i {
    transition: transform 0.3s;
  }
  .dropdown.open-mobile .dropdown-toggle i {
    transform: rotate(180deg);
  }
}

/* ==========================================================================
   CINEMATIC ROYAL 3D BANNER TYPOGRAPHY
   ========================================================================== */
.ministry-banner-title,
.schedule-banner-title,
.prayer-banner-title,
.media-banner-title,
.contact-banner-title {
  font-family: 'Cinzel', serif !important;
  font-size: 3.2rem !important;
  font-weight: 900 !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #FFF5D6 0%, #D4AF37 40%, #AA7C11 75%, #F3E5AB 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  text-shadow: 0 4px 8px rgba(0,0,0,0.8), 0 8px 16px rgba(0,0,0,0.4), 0 16px 32px rgba(212, 175, 55, 0.25) !important;
  margin-bottom: 12px !important;
  display: inline-block;
}

/* Extra 3D pop on hover/active states for rich feel */
.ministry-banner-title:hover,
.schedule-banner-title:hover,
.prayer-banner-title:hover,
.media-banner-title:hover,
.contact-banner-title:hover {
  text-shadow: 0 4px 12px rgba(212, 175, 55, 0.4), 0 12px 24px rgba(0,0,0,0.9), 0 24px 48px rgba(212, 175, 55, 0.3) !important;
}

.ministry-banner-subtitle,
.schedule-banner-subtitle,
.prayer-banner-subtitle,
.media-banner-subtitle,
.contact-banner-subtitle {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px;
  color: #FFF5D6 !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.9), 0 4px 10px rgba(0,0,0,0.6) !important;
  text-transform: uppercase;
  opacity: 0.95;
  margin-top: 5px;
}

@media (max-width: 768px) {
  .ministry-banner-title,
  .schedule-banner-title,
  .prayer-banner-title,
  .media-banner-title,
  .contact-banner-title {
    font-size: 2rem !important;
    letter-spacing: 1px;
  }
  .ministry-banner-subtitle,
  .schedule-banner-subtitle,
  .prayer-banner-subtitle,
  .media-banner-subtitle,
  .contact-banner-subtitle {
    font-size: 0.9rem !important;
    letter-spacing: 0.8px;
  }
}

/* Light Theme Overrides for Gold Gradients and Page Banners */
body.light-theme .gold-text-gradient {
  background: linear-gradient(135deg, #78350F 0%, #D97706 50%, #451A03 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  display: inline-block;
  filter: drop-shadow(0px 1px 1px rgba(255, 255, 255, 0.95)) drop-shadow(1px 2px 2px rgba(0, 0, 0, 0.15)) !important;
}

body.light-theme .ministry-banner-title,
body.light-theme .schedule-banner-title,
body.light-theme .prayer-banner-title,
body.light-theme .media-banner-title,
body.light-theme .contact-banner-title {
  background: linear-gradient(135deg, #78350F 0%, #D97706 50%, #451A03 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  text-shadow: 1px 1px 0px #ffffff, 2px 2px 4px rgba(0, 0, 0, 0.25) !important;
}

body.light-theme .ministry-banner-subtitle,
body.light-theme .schedule-banner-subtitle,
body.light-theme .prayer-banner-subtitle,
body.light-theme .media-banner-subtitle,
body.light-theme .contact-banner-subtitle {
  color: #451A03 !important;
  text-shadow: 1px 1px 0px #ffffff, 2px 2px 3px rgba(0, 0, 0, 0.2) !important;
}

/* Safety override for Light Theme text colors to prevent invisible white text */
body.light-theme p,
body.light-theme span:not(.lang-switcher-btn):not(.btn):not(.btn-gold):not(.badge):not(.fa):not(.fas):not(.far):not(.fab):not(.verse-btn),
body.light-theme li,
body.light-theme strong,
body.light-theme em,
body.light-theme label,
body.light-theme h1:not(.gold-text-gradient):not(.ministry-banner-title):not(.schedule-banner-title):not(.prayer-banner-title):not(.media-banner-title):not(.contact-banner-title),
body.light-theme h2:not(.gold-text-gradient):not(.ministry-banner-title):not(.schedule-banner-title):not(.prayer-banner-title):not(.media-banner-title):not(.contact-banner-title),
body.light-theme h3:not(.gold-text-gradient):not(.ministry-banner-title):not(.schedule-banner-title):not(.prayer-banner-title):not(.media-banner-title):not(.contact-banner-title),
body.light-theme h4:not(.gold-text-gradient):not(.ministry-banner-title):not(.schedule-banner-title):not(.prayer-banner-title):not(.media-banner-title):not(.contact-banner-title),
body.light-theme h5:not(.gold-text-gradient):not(.ministry-banner-title):not(.schedule-banner-title):not(.prayer-banner-title):not(.media-banner-title):not(.contact-banner-title),
body.light-theme h6:not(.gold-text-gradient):not(.ministry-banner-title):not(.schedule-banner-title):not(.prayer-banner-title):not(.media-banner-title):not(.contact-banner-title) {
  color: var(--text-light) !important;
}

/* ==========================================================================
   BIBLE READING TRACKER MODULE STYLING
   ========================================================================== */
.tracker-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 120px auto 60px;
  padding: 0 24px;
}

.tracker-sidebar-card {
  height: fit-content;
}

.tracker-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tracker-nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  color: var(--text-light);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: left;
}

.tracker-nav-btn:hover,
.tracker-nav-btn.active {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

body.light-theme .tracker-nav-btn {
  background: rgba(0, 0, 0, 0.02);
}

body.light-theme .tracker-nav-btn:hover,
body.light-theme .tracker-nav-btn.active {
  background: rgba(180, 83, 9, 0.06);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.tracker-panel {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.tracker-panel.active {
  display: block;
}

/* Stat Grid */
.stat-widget-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}

.stat-widget {
  text-align: center;
  padding: 20px;
}

.stat-widget i {
  font-size: 1.8rem;
  color: var(--gold-primary);
  margin-bottom: 8px;
}

.stat-val {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-light);
  margin: 5px 0;
}

.stat-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Progress calendar */
.tracker-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-top: 15px;
}

.calendar-day-header {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 8px;
}

.calendar-day-cell {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  cursor: pointer;
  transition: var(--transition-fast);
}

.calendar-day-cell:hover {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.05);
}

.calendar-day-cell.completed {
  background: rgba(16, 185, 129, 0.15);
  border-color: #10b981;
  color: #10b981;
}

.calendar-day-cell.active-reading {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

body.light-theme .calendar-day-cell {
  background: rgba(0, 0, 0, 0.02);
}

/* Bookshelf styling */
.bookshelf-shelf {
  background: #3e2723;
  height: 12px;
  border-radius: 4px;
  margin-bottom: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  position: relative;
}

.bookshelf-shelf::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 5%;
  right: 5%;
  height: 8px;
  background: #271510;
  border-radius: 0 0 4px 4px;
  opacity: 0.8;
}

.books-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 10px;
  margin-bottom: 2px;
  align-items: flex-end;
  justify-content: center;
}

.book-spine {
  width: 14px;
  height: 60px;
  background: #546e7a;
  border-radius: 3px 3px 0 0;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  border-right: 1px solid rgba(0, 0, 0, 0.2);
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
  opacity: 0.6;
}

.book-spine:hover {
  transform: translateY(-5px) scale(1.05);
  opacity: 1;
}

.book-spine.completed {
  background: linear-gradient(to top, #d4af37, #f3e5ab);
  opacity: 1;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
}

.book-tooltip {
  visibility: hidden;
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(3, 7, 18, 0.95);
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
  z-index: 100;
  border: 1px solid var(--gold-primary);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.book-spine:hover .book-tooltip {
  visibility: visible;
}

/* Medals */
.medals-flex {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

.medal-card {
  text-align: center;
  padding: 20px;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  opacity: 0.4;
  filter: grayscale(100%);
  transition: var(--transition-smooth);
}

.medal-card.unlocked {
  opacity: 1;
  filter: grayscale(0%);
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.03);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}

.medal-icon {
  font-size: 2.8rem;
  margin-bottom: 12px;
  display: inline-block;
}

/* Reading card widget */
.reading-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 25px;
}

.passage-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  margin-bottom: 12px;
  transition: var(--transition-fast);
}

.passage-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--gold-primary);
}

.passage-item.completed {
  border-color: #10b981;
}

/* Quiz questions */
.quiz-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.quiz-option-btn {
  width: 100%;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  color: var(--text-light);
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: left;
}

.quiz-option-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--gold-primary);
}

.quiz-option-btn.correct {
  background: rgba(16, 185, 129, 0.2) !important;
  border-color: #10b981 !important;
  color: #10b981 !important;
}

.quiz-option-btn.wrong {
  background: rgba(239, 68, 68, 0.2) !important;
  border-color: #ef4444 !important;
  color: #ef4444 !important;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .tracker-layout {
    grid-template-columns: 1fr;
  }
  .reading-layout {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   BIBLE CHARACTER CHALLENGE MODULE STYLING
   ========================================================================== */
.game-container {
  max-width: 1200px;
  margin: 120px auto 60px;
  padding: 0 24px;
}

.difficulty-btn {
  padding: 12px 24px;
  border-radius: 30px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.03);
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.difficulty-btn.easy:hover, .difficulty-btn.easy.active {
  background: rgba(16, 185, 129, 0.15);
  border-color: #10b981;
  color: #10b981;
}

.difficulty-btn.medium:hover, .difficulty-btn.medium.active {
  background: rgba(245, 158, 11, 0.15);
  border-color: #f59e0b;
  color: #f59e0b;
}

.difficulty-btn.hard:hover, .difficulty-btn.hard.active {
  background: rgba(239, 68, 68, 0.15);
  border-color: #ef4444;
  color: #ef4444;
}

.difficulty-btn.master:hover, .difficulty-btn.master.active {
  background: rgba(139, 92, 246, 0.15);
  border-color: #8b5cf6;
  color: #8b5cf6;
}

.clue-reveal-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.clue-item-card {
  padding: 18px 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-light);
  animation: slideInLeft 0.4s ease forwards;
  position: relative;
  overflow: hidden;
}

.clue-item-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gold-primary);
}

/* Character collection grid */
.collection-shelf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.char-collection-card {
  text-align: center;
  padding: 20px 15px;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.02);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.char-collection-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.04);
}

.char-collection-card.locked {
  opacity: 0.4;
  filter: grayscale(100%);
}

.char-collection-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

/* Speed Mode timer bar */
.timer-container {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.05);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--glass-border);
}

.timer-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(to right, #10b981, #f59e0b, #ef4444);
  transition: width 0.1s linear;
}

/* Silhouette */
.silhouette-image-box {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  font-size: 5rem;
  background: rgba(0,0,0,0.5);
  border: 2px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: brightness(0);
  transition: filter 0.6s ease;
}

.silhouette-image-box.revealed {
  filter: brightness(1);
}

/* ==========================================================================
   Instagram Daily Bible Posts Shared Styles
   ========================================================================== */
.ig-post-card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg-dark);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--glass-shadow);
}
body.light-theme .ig-post-card {
  background: var(--card-bg-light);
}
.ig-post-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
}
.ig-post-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #000;
}
.ig-post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.ig-post-card:hover .ig-post-media img {
  transform: scale(1.03);
}
.ig-post-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}
.ig-post-caption {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-light);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 15px;
}
body.light-theme .ig-post-caption {
  color: var(--text-dark);
}
.ig-post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 12px;
  margin-top: auto;
}
body.light-theme .ig-post-footer {
  border-top-color: rgba(0,0,0,0.06);
}
.ig-post-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.btn-ig-view {
  color: var(--gold-primary);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.btn-ig-view:hover {
  color: var(--gold-light);
}



