/* ==========================================================
   하나님의 기쁨이들 | Global Next-Gen Prayer Hub CSS
   Design: Sacred Modern, Cosmic Indigo & Amber Gold, Glassmorphism
   ========================================================== */

:root {
  --bg-main: #090D1A;
  --bg-surface: #10162A;
  --bg-card: rgba(22, 30, 56, 0.7);
  --bg-card-hover: rgba(30, 41, 75, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(245, 158, 11, 0.35);

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  --accent-gold: #F59E0B;
  --accent-gold-light: #FDE68A;
  --accent-sky: #38BDF8;
  --accent-indigo: #6366F1;
  --accent-purple: #8B5CF6;
  --accent-emerald: #10B981;

  --font-sans: 'Outfit', 'Plus Jakarta Sans', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition-smooth: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(245, 158, 11, 0.25);
  --shadow-blue-glow: 0 0 25px rgba(56, 189, 248, 0.25);
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Background Glowing Orbs */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.bg-glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #4338CA, transparent 70%);
  top: -100px;
  left: -100px;
}

.bg-glow-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #B45309, transparent 70%);
  top: 35%;
  right: -150px;
  animation-delay: -6s;
}

.bg-glow-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #0369A1, transparent 70%);
  bottom: 5%;
  left: 15%;
  animation-delay: -12s;
}

@keyframes floatOrb {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(40px) scale(1.08); }
  100% { transform: translateY(-30px) scale(0.95); }
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
.gradient-text {
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 50%, #FB923C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-center {
  text-align: center;
}

/* Section Header */
.section-header {
  margin-bottom: 3.5rem;
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.section-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 640px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #0F172A;
  font-weight: 700;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.45);
  filter: brightness(1.08);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: 8px;
}

.btn-icon {
  font-size: 1.15rem;
}

.icon-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  transform: rotate(30deg);
}

/* ================= HEADER ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(9, 13, 26, 0.8);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.9rem 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-icon {
  font-size: 1.6rem;
  filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.5));
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.brand-sub {
  font-size: 0.7rem;
  color: var(--accent-gold);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-gold);
  transition: var(--transition-smooth);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Language Switcher */
.lang-switch-container {
  display: flex;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  padding: 3px;
  border-radius: 10px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 7px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lang-btn.active {
  background: rgba(255, 255, 255, 0.15);
  color: #FFF;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.mobile-toggle-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.mobile-toggle-btn .bar {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* ================= HERO SECTION ================= */
.hero-section {
  padding: 4.5rem 0 5.5rem;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #A5B4FC;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1.8rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 2.2rem;
  line-height: 1.7;
}

/* Scripture Card */
.scripture-card {
  max-width: 680px;
  margin: 0 auto 3rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 16px;
  padding: 1.4rem 2rem;
  position: relative;
  backdrop-filter: blur(8px);
}

.scripture-quote-icon {
  position: absolute;
  top: -15px;
  left: 24px;
  font-size: 2.8rem;
  color: var(--accent-gold);
  line-height: 1;
  opacity: 0.6;
}

.scripture-text {
  font-size: 1.05rem;
  font-style: italic;
  color: #E2E8F0;
  margin-bottom: 0.5rem;
}

.scripture-ref {
  font-size: 0.85rem;
  color: var(--accent-gold);
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* Countdown Box */
.countdown-card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  padding: 2.2rem 2.5rem;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  backdrop-filter: blur(20px);
}

.countdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
  gap: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.2rem;
}

.meeting-meta {
  text-align: left;
}

.meeting-status-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.next-meeting-date {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 0.2rem;
}

.world-clock-badge {
  font-size: 0.82rem;
  color: var(--accent-sky);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-weight: 500;
}

.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin: 2rem 0;
}

.time-block {
  background: rgba(10, 14, 28, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  min-width: 105px;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.5);
}

.time-val {
  font-size: 2.8rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--text-primary);
}

.time-val.highlight {
  color: var(--accent-gold);
}

.time-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.time-sep {
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.25);
}

.countdown-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* Global Multi-Nation Timezone Bar */
.global-times-bar {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.global-times-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 0.9rem;
  letter-spacing: 0.04em;
}

.timezone-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.tz-chip {
  font-size: 0.8rem;
  background: rgba(10, 14, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  color: #E2E8F0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.tz-chip strong {
  color: var(--accent-sky);
  font-weight: 600;
}

/* Participating Nations Showcase Pills */
.nations-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.nations-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.nations-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.nation-pill {
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #C7D2FE;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  transition: var(--transition-smooth);
}

.nation-pill:hover {
  background: rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
  color: #FFF;
}

/* ================= 30-MIN ROUTINE SECTION ================= */
.routine-section {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, transparent, rgba(16, 22, 42, 0.6), transparent);
}

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

.routine-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 1.8rem 1.5rem;
  position: relative;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.routine-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-card);
}

.routine-card.highlight-card {
  border-color: rgba(245, 158, 11, 0.4);
  background: linear-gradient(180deg, rgba(30, 36, 68, 0.8), rgba(20, 24, 48, 0.8));
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.15);
}

.step-time {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-sky);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.step-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  align-self: flex-start;
}

.step-tag.highlight-tag {
  color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Core Prayer Topic Card */
.core-prayer-card {
  background: rgba(18, 24, 46, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 20px;
  padding: 2.2rem 2.5rem;
  box-shadow: var(--shadow-card);
}

.core-prayer-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 1.6rem;
}

.core-prayer-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.core-prayer-item {
  display: flex;
  gap: 1rem;
}

.core-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(56, 189, 248, 0.4);
  line-height: 1;
}

.core-content strong {
  display: block;
  font-size: 0.98rem;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.core-content p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ================= PRAYER WALL SECTION ================= */
.prayer-wall-section {
  padding: 5.5rem 0;
}

.filter-tabs {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-tab {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-tab:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.filter-tab.active {
  background: var(--accent-gold);
  color: #0F172A;
  font-weight: 700;
  border-color: var(--accent-gold);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.prayer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.prayer-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.prayer-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: var(--shadow-card);
}

.prayer-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.prayer-author-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.country-flag {
  font-size: 1.3rem;
}

.prayer-author-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

.prayer-category-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-sky);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.prayer-content {
  font-size: 0.95rem;
  color: #E2E8F0;
  line-height: 1.65;
  margin-bottom: 1.4rem;
  flex-grow: 1;
  white-space: pre-line;
}

.prayer-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Amen Interactive Button */
.btn-amen {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--accent-gold);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition-smooth);
}

.btn-amen:hover {
  background: rgba(245, 158, 11, 0.25);
  transform: scale(1.05);
}

.btn-amen:active {
  transform: scale(0.95);
}

/* Floating heart animation on amen click */
.floating-amen {
  position: absolute;
  font-size: 1.4rem;
  pointer-events: none;
  animation: floatUpFade 1.2s forwards ease-out;
  z-index: 10;
}

@keyframes floatUpFade {
  0% { opacity: 1; transform: translateY(0) scale(0.8); }
  50% { transform: translateY(-35px) scale(1.2); }
  100% { opacity: 0; transform: translateY(-70px) scale(1); }
}

/* ================= TESTIMONIES SECTION ================= */
.testimonies-section {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, transparent, rgba(16, 22, 42, 0.5), transparent);
}

.testimony-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimony-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 1.8rem;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.testimony-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: var(--shadow-card);
}

.testimony-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

.testimony-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.testimony-quote {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
  flex-grow: 1;
  position: relative;
  padding-left: 0.8rem;
  border-left: 2px solid var(--accent-indigo);
}

/* ================= WORSHIP SECTION ================= */
.worship-section {
  padding: 5.5rem 0 6.5rem;
}

.worship-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.worship-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.worship-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: var(--shadow-card), var(--shadow-blue-glow);
}

.worship-video-preview {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: #000;
}

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

.worship-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.worship-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-sky);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.worship-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.worship-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.worship-lyrics-snippet {
  font-size: 0.85rem;
  color: #CBD5E1;
  font-style: italic;
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.75rem;
  border-radius: 8px;
  border-left: 2px solid var(--accent-sky);
}

/* ================= FOOTER ================= */
.site-footer {
  background: #05070E;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 3rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1fr;
  gap: 3rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 340px;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.footer-buttons {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.copyright-text {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ================= MODALS ================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 7, 14, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #11172E;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  border-radius: 20px;
  width: 100%;
  max-width: 540px;
  padding: 2rem;
  transform: translateY(20px) scale(0.96);
  transition: var(--transition-smooth);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

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

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  color: #FFF;
}

.modal-info-text {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

/* Forms */
.form-group {
  margin-bottom: 1.2rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-group.half {
  flex: 1;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #CBD5E1;
  margin-bottom: 0.45rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: rgba(10, 14, 28, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: #FFF;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: var(--transition-smooth);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.form-textarea {
  resize: vertical;
}

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

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  z-index: 2000;
  pointer-events: none;
}

.toast {
  background: rgba(16, 22, 42, 0.95);
  border: 1px solid var(--accent-gold);
  color: #FFF;
  padding: 0.9rem 1.4rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5), 0 0 15px rgba(245, 158, 11, 0.25);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  backdrop-filter: blur(12px);
  animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transition: opacity 0.3s ease;
}

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

/* ================= RESPONSIVE DESIGN ================= */
@media (max-width: 1024px) {
  .routine-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .core-prayer-list {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .prayer-grid, .testimony-grid, .worship-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.3rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .countdown-card {
    padding: 1.6rem 1.2rem;
  }
  .countdown-grid {
    gap: 0.5rem;
  }
  .time-block {
    min-width: 65px;
    padding: 0.8rem 0.6rem;
  }
  .time-val {
    font-size: 1.8rem;
  }
  .time-sep {
    font-size: 1.4rem;
  }
  .routine-grid {
    grid-template-columns: 1fr;
  }
  .prayer-grid, .testimony-grid, .worship-grid {
    grid-template-columns: 1fr;
  }
  .nav-menu {
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    background: rgba(9, 13, 26, 0.96);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-150%);
    transition: var(--transition-smooth);
  }
  .nav-menu.open {
    transform: translateY(0);
  }
  .mobile-toggle-btn {
    display: flex;
  }
  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .toast-container {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
}
