/* ==========================================================================
   THE INDIA PENTECOSTAL CHURCH OF GOD (IPC)
   General Headquarters · Kumbanad, Kerala
   Master Editorial UI/UX System — Crafted for Human Warmth & Spiritual Reverence
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Libre+Caslon+Display&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400;1,6..72,500&display=swap');

:root {
  /* Master Modern Dark Theme Color System */
  --color-bg-main: #111318;
  --color-bg-secondary: #191D23;
  --color-bg-elevated: #20252C;
  --color-dark-green: #153D2B;
  --color-dark-green-hover: #103022;
  --color-accent-red: #B2222A;
  --color-accent-red-hover: #961C23;
  --color-text-primary: #F5F2E9;
  --color-text-secondary: #B8BDBA;
  --color-text-muted: #8E9591;
  --color-border: #30353B;
  --color-border-subtle: #23272F;
  --color-gold: #C89B4A;

  /* Aliases for template class compatibility */
  --color-paper: var(--color-bg-main);
  --color-stone: var(--color-bg-secondary);
  --color-cream: var(--color-bg-elevated);
  --color-ink: var(--color-text-primary);
  --color-ink-deep: #0D0F13;
  --color-muted: var(--color-text-secondary);
  --color-line: var(--color-border);
  --color-line-dark: #23272F;
  --color-flame: var(--color-accent-red);
  --color-flame-hover: var(--color-accent-red-hover);
  --color-emerald: var(--color-dark-green);
  --color-emerald-hover: var(--color-dark-green-hover);

  --font-serif: 'Libre Caslon Display', 'Newsreader', Georgia, serif;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-family: var(--font-sans);
  background-color: var(--color-bg-main);
  color: var(--color-text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.65;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  background-color: var(--color-bg-main);
  color: var(--color-text-primary);
}

/* Master Editorial Typography */
/* Master Editorial Typography */
.font-serif {
  font-family: var(--font-serif) !important;
  font-feature-settings: "liga" 1, "kern" 1;
}

.font-sans {
  font-family: var(--font-sans);
}

h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif) !important;
  font-weight: 400;
  line-height: 1.08;
  color: var(--color-ink);
  margin: 0;
  text-wrap: balance;
  overflow-wrap: break-word;
}

h1, .editorial-h1 {
  font-family: var(--font-serif) !important;
  font-size: clamp(28px, 5.8vw, 84px) !important;
  letter-spacing: -0.025em !important;
  line-height: 1.05 !important;
}

h2, .editorial-h2 {
  font-family: var(--font-serif) !important;
  font-size: clamp(24px, 4.2vw, 54px) !important;
  letter-spacing: -0.015em !important;
  line-height: 1.08 !important;
}

h3, .editorial-h3 {
  font-family: var(--font-serif) !important;
  font-size: clamp(18px, 2.6vw, 34px) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.01em !important;
}

em {
  font-style: italic;
  font-family: var(--font-serif);
  color: var(--color-flame);
  font-weight: 400;
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-flame);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.eyebrow-emerald {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-emerald);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Bespoke Editorial Buttons & Links */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 50px;
  padding: 13px 24px;
  background-color: var(--color-accent-red);
  color: #ffffff;
  border: 1px solid var(--color-accent-red);
  border-radius: 2px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(178, 34, 42, 0.35);
}
.btn-primary:hover {
  background-color: var(--color-accent-red-hover);
  border-color: var(--color-accent-red-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(178, 34, 42, 0.45);
}

.btn-flame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 50px;
  padding: 13px 24px;
  background-color: var(--color-accent-red);
  color: #ffffff;
  border: 1px solid var(--color-accent-red);
  border-radius: 2px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(178, 34, 42, 0.35);
}
.btn-flame:hover {
  background-color: var(--color-accent-red-hover);
  border-color: var(--color-accent-red-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(178, 34, 42, 0.45);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 50px;
  padding: 13px 24px;
  background-color: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
  border-radius: 2px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}
.btn-outline:hover {
  border-color: var(--color-accent-red);
  color: var(--color-text-primary);
  background-color: rgba(178, 34, 42, 0.12);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 12px 24px;
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}
.btn-outline-white:hover {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-primary);
  border-bottom: 1px solid var(--color-accent-red);
  padding-bottom: 2px;
  transition: all 0.2s ease;
  text-decoration: none;
}
.text-link:hover {
  color: var(--color-accent-red);
  border-color: var(--color-text-primary);
}

.text-link-white {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 13px;
  font-weight: 500;
  color: #FAF9F5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
  transition: all 0.2s ease;
  text-decoration: none;
}
.text-link-white:hover {
  border-color: #ffffff;
  color: #ffffff;
}

/* Editorial Drop-Cap */
.drop-cap::first-letter {
  font-family: var(--font-serif);
  font-size: 3.6rem;
  line-height: 0.8;
  float: left;
  margin-top: 0.12em;
  margin-right: 0.16em;
  color: var(--color-accent-red);
  font-weight: normal;
}

/* Circular Editorial Icon Buttons */
.round-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg-secondary);
  color: var(--color-text-primary);
  transition: all 0.25s ease;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
}
.round-btn:hover {
  background-color: var(--color-accent-red);
  color: #ffffff;
  border-color: var(--color-accent-red);
  transform: scale(1.05);
}

.round-btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #ffffff;
  transition: all 0.25s ease;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
}
.round-btn-white:hover {
  background-color: #ffffff;
  color: var(--color-text-primary);
  border-color: #ffffff;
  transform: scale(1.05);
}

/* Master Unboxed Event Ledger */
.ledger-row {
  display: grid;
  grid-template-columns: 88px 1fr auto 52px;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid var(--color-border);
  transition: background-color 0.2s ease;
}
.ledger-row:hover {
  background-color: rgba(25, 29, 35, 0.7);
}
.ledger-row:last-child {
  border-bottom: 1px solid var(--color-border);
}

@media (max-width: 768px) {
  .ledger-row {
    grid-template-columns: 70px 1fr auto;
    gap: 1rem;
    padding: 1.5rem 0;
  }
}

/* Unboxed Editorial Photo Stage (Zero Cards, Zero Padding Mats) */
.hero-visual-stage {
  height: 100%;
  min-height: 520px;
  position: relative;
  overflow: hidden;
  align-self: stretch;
}
@media (min-width: 1024px) {
  .hero-visual-stage {
    min-height: 620px;
  }
}
.hero-visual-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-visual-stage::after {
  content: "";
  position: absolute;
  inset: 35% 0 0 0;
  background: linear-gradient(to top, rgba(17, 19, 24, 0.88) 0%, rgba(17, 19, 24, 0.4) 45%, transparent 100%);
  pointer-events: none;
}

/* Architectural Overlapping Editorial Caption Plate */
.hero-caption-plate {
  position: absolute;
  left: 0;
  bottom: 2rem;
  background: var(--color-bg-secondary);
  color: var(--color-text-primary);
  padding: 1.75rem 2rem;
  min-width: 270px;
  max-width: 340px;
  z-index: 10;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
  border-left: 2px solid var(--color-accent-red);
}
@media (min-width: 640px) {
  .hero-caption-plate {
    transform: translateX(-1.5rem);
  }
}

/* ==========================================================================
   ORIGINAL BESPOKE IPC ARCHITECTURAL COMPONENTS
   ========================================================================== */

/* 1. Institutional Keystone Metric Strip */
.keystone-strip {
  background-color: var(--color-bg-secondary);
  border-block: 1px solid var(--color-border);
}
.keystone-grid {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .keystone-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .keystone-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.keystone-item {
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-bottom: 1px solid var(--color-line);
}
@media (min-width: 640px) {
  .keystone-item:nth-child(odd) {
    border-right: 1px solid var(--color-line);
  }
}
@media (min-width: 1024px) {
  .keystone-item {
    border-bottom: none;
    border-right: 1px solid var(--color-line);
  }
  .keystone-item:last-child {
    border-right: none;
  }
}
.keystone-item strong {
  font-family: var(--font-serif);
  font-size: clamp(38px, 4.2vw, 54px);
  color: var(--color-ink);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.keystone-item span.k-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-flame);
  margin-top: 0.6rem;
}
.keystone-item p.k-desc {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.5;
  margin-top: 0.35rem;
}

/* 2. Auxiliary Fellowships Mosaic (4-Column Original Grid) */
.ministry-mosaic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 640px) {
  .ministry-mosaic-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .ministry-mosaic-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.ministry-card {
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  border-radius: 4px;
}
.ministry-card:hover {
  border-color: var(--color-accent-red);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.5);
}
.ministry-card-image {
  height: 230px;
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg-main);
}
.ministry-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.ministry-card:hover .ministry-card-image img {
  transform: scale(1.06);
}
.ministry-card-body {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

/* 3. Grand Hebron Convention Pavilion */
.convention-pavilion-frame {
  background: linear-gradient(135deg, #191D23 0%, #111318 100%);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
}
.convention-pavilion-frame::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(178, 34, 42, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* 4. Apostolic Cornerstone Plaque (Deep Dark & Red Accent Craft) */
.cornerstone-plaque {
  background: linear-gradient(145deg, #191D23 0%, #111318 100%) !important;
  color: var(--color-text-primary) !important;
  border: 1px solid var(--color-border) !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.5);
  border-radius: 0.75rem;
}
.cornerstone-plaque::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #B2222A, transparent);
}

/* 5. Heritage Archival Photo Frame */
.heritage-photo-frame {
  position: relative;
  height: 290px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-secondary);
}
@media (min-width: 640px) {
  .heritage-photo-frame {
    height: 320px;
  }
}
.heritage-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.heritage-photo-frame:hover img {
  transform: scale(1.03);
}

/* 6. Unboxed Heritage Milestone Strip (Zero Card Boxes) */
.heritage-milestone-strip {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
@media (min-width: 640px) {
  .heritage-milestone-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .heritage-milestone-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}
.heritage-milestone-item {
  padding: 1.75rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: background-color 0.2s ease;
}
.heritage-milestone-item:hover {
  background-color: rgba(25, 29, 35, 0.7);
}
@media (min-width: 640px) {
  .heritage-milestone-item:nth-child(odd) {
    border-right: 1px solid var(--color-border);
  }
}
@media (min-width: 1024px) {
  .heritage-milestone-item {
    border-bottom: none;
    border-right: 1px solid var(--color-border);
  }
  .heritage-milestone-item:last-child {
    border-right: none;
  }
}

/* 7. Unboxed Global Council Ledger (Zero Gray Boxes) */
.global-council-ledger {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
@media (min-width: 640px) {
  .global-council-ledger {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .global-council-ledger {
    grid-template-columns: repeat(4, 1fr);
  }
}
.global-council-col {
  padding: 2.25rem 1.75rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
  background-color: transparent;
}
.global-council-col:hover {
  background-color: var(--color-bg-secondary);
}
@media (min-width: 640px) {
  .global-council-col:nth-child(odd) {
    border-right: 1px solid var(--color-border);
  }
}
@media (min-width: 1024px) {
  .global-council-col {
    border-bottom: none;
    border-right: 1px solid var(--color-border);
  }
  .global-council-col:last-child {
    border-right: none;
  }
}

/* Master Asymmetric Editorial Gallery Preview (Section 8) */
.gallery-home {
  padding-top: 1rem;
}
.gallery-preview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .gallery-preview {
    grid-template-columns: 1.25fr 0.9fr 0.9fr;
    gap: 1.5rem;
  }
  .gallery-preview button:nth-child(2),
  .gallery-preview .gallery-item:nth-child(2) {
    margin-top: 3rem;
  }
  .gallery-preview button:nth-child(3),
  .gallery-preview .gallery-item:nth-child(3) {
    margin-top: 6rem;
  }
}
.gallery-preview button,
.gallery-preview .gallery-item {
  position: relative;
  height: 350px;
  padding: 0;
  border: 0;
  text-align: left;
  overflow: hidden;
  background: var(--color-bg-secondary);
  cursor: pointer;
  display: block;
  width: 100%;
}
.gallery-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-preview button:hover img,
.gallery-preview .gallery-item:hover img {
  transform: scale(1.04);
}
.gallery-preview button span,
.gallery-preview .gallery-item span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 1.25rem 1.25rem;
  background: linear-gradient(to top, rgba(17, 19, 24, 0.95) 0%, rgba(17, 19, 24, 0.45) 60%, transparent 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Unboxed Panoramic Message Art */
.message-art-stage {
  position: relative;
  height: 380px;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .message-art-stage {
    height: 440px;
  }
}
.message-art-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45);
}
.message-play-btn {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-bg-secondary);
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--color-border);
  transition: all 0.25s ease;
  z-index: 10;
}
.message-play-btn:hover {
  background: var(--color-accent-red);
  color: #ffffff;
  border-color: var(--color-accent-red);
  transform: scale(1.08);
}

/* Media Theater & Player */
.media-theater {
  background-color: var(--color-bg-secondary);
  color: var(--color-text-primary);
}
.media-theater p {
  color: var(--color-text-secondary);
}

/* Clean Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-main);
}
::-webkit-scrollbar-thumb {
  background: #30353B;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #4B525B;
}

/* Audio Player Range Scrubber */
input[type=range].flame-range {
  accent-color: var(--color-accent-red);
}

/* ==========================================================================
   DARK AESTHETIC FULL-IMAGE HERO CAROUSEL (RESPONSIVE & UNCLUTTERED)
   ========================================================================== */
.hero-light-carousel {
  position: relative;
  background-color: var(--color-bg-main);
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  min-height: 310px;
  border-bottom: 1px solid var(--color-border);
}
@media (min-width: 640px) {
  .hero-light-carousel {
    aspect-ratio: 16 / 9;
    min-height: 480px;
    max-height: 560px;
  }
}
@media (min-width: 1024px) {
  .hero-light-carousel {
    aspect-ratio: 16 / 9;
    min-height: 580px;
    max-height: 720px;
  }
}
@media (min-width: 1440px) {
  .hero-light-carousel {
    aspect-ratio: 16 / 9;
    min-height: 640px;
    max-height: 780px;
  }
}

.hero-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.75s;
  z-index: 1;
}

.hero-carousel-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 10;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Balanced Editorial Center Overlay */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(17, 19, 24, 0.55) 0%, rgba(17, 19, 24, 0.78) 70%, rgba(17, 19, 24, 0.92) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Minimal Dark Caption Pill */
.hero-caption-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  background-color: rgba(25, 29, 35, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text-primary);
  border-radius: 2px;
}

/* Sleek Circular Navigation Arrows */
.hero-arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(25, 29, 35, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 25;
}
@media (min-width: 640px) {
  .hero-arrow-btn {
    width: 44px;
    height: 44px;
  }
}
.hero-arrow-btn:hover {
  background-color: var(--color-accent-red);
  color: #ffffff;
  border-color: var(--color-accent-red);
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(178, 34, 42, 0.4);
}

/* Minimal Slide Indicator Dots */
.hero-dot-indicator {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  cursor: pointer;
}
.hero-dot-indicator.active {
  width: 24px;
  background-color: var(--color-accent-red);
  border-color: var(--color-accent-red);
  box-shadow: 0 2px 8px rgba(178, 34, 42, 0.5);
}

/* Hero Action Buttons */
.btn-primary-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background-color: var(--color-gold);
  color: #05140D !important;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.95rem 1.85rem;
  border: 1px solid var(--color-gold);
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 28px -6px rgba(200, 155, 74, 0.45);
}
.btn-primary-gold:hover {
  background-color: #D4A855;
  border-color: #D4A855;
  color: #020A06 !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -6px rgba(200, 155, 74, 0.6);
}

.btn-primary-flame {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background-color: var(--color-accent-red);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.95rem 1.85rem;
  border: 1px solid var(--color-accent-red);
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 28px -6px rgba(178, 34, 42, 0.45);
}
.btn-primary-flame:hover {
  background-color: var(--color-accent-red-hover);
  border-color: var(--color-accent-red-hover);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -6px rgba(178, 34, 42, 0.6);
}

.btn-ghost-white {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.95rem 1.85rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-ghost-white:hover {
  background-color: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.round-btn-translucent {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.round-btn-translucent:hover {
  background: #ffffff;
  color: #05140D;
  border-color: #ffffff;
  transform: scale(1.06);
}

.carousel-progress-fill {
  transition: width 0.1s linear;
}

/* Carousel Tab Button - Translucent Glass */
.carousel-tab-btn {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0.5rem 0.25rem;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.2s ease;
}
.carousel-tab-btn:hover {
  color: #ffffff;
}
.carousel-tab-btn.active,
.carousel-tab-btn[aria-selected="true"] {
  color: #ffffff !important;
  border-bottom-color: var(--color-gold) !important;
  font-weight: 600;
}

/* Lightbox & Dialog Backdrops */
.modal-backdrop {
  background-color: rgba(5, 7, 10, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ==========================================================================
   IMMUTABLE LOGO & HEADER CONSTRAINTS (Zero-Blowup Guarantee)
   ========================================================================== */
.brand-logo,
header img.brand-logo,
a img.brand-logo {
  width: 52px !important;
  height: 52px !important;
  max-width: 52px !important;
  max-height: 52px !important;
  min-width: 52px !important;
  min-height: 52px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
}

.footer-logo,
footer img.footer-logo {
  width: 44px !important;
  height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.drawer-logo {
  width: 40px !important;
  height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  display: block !important;
}

header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: rgba(17, 19, 24, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 0;
  position: relative;
  transition: color 0.15s ease;
}

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

.header-nav a.active {
  color: var(--color-accent-red);
  font-weight: 600;
}

.header-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-accent-red);
}

/* Accessible Dark Form Styling */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="search"],
select,
textarea {
  background-color: #15181E !important;
  border: 1px solid var(--color-border) !important;
  color: var(--color-text-primary) !important;
  border-radius: 4px;
}
input::placeholder,
textarea::placeholder {
  color: #7E8582 !important;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-accent-red) !important;
  outline: none !important;
  box-shadow: 0 0 0 1px var(--color-accent-red) !important;
}

/* ==========================================================================
   BROADCAST-GRADE LIVE STREAM & WEBCAST STUDIO
   ========================================================================== */
.on-air-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-flame);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 2px;
  box-shadow: 0 0 16px rgba(168, 34, 39, 0.55);
}

.live-pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ffffff;
}
.live-pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.7);
  animation: liveRadarPing 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes liveRadarPing {
  0% {
    transform: scale(0.8);
    opacity: 0.9;
  }
  75%, 100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

/* Audio Visualizer Equalizer */
.audio-equalizer {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
  padding: 0 4px;
}

.eq-bar {
  width: 3px;
  background-color: var(--color-gold);
  border-radius: 1px;
  animation: eqBounce 1.2s ease-in-out infinite alternate;
}
.eq-bar:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.eq-bar:nth-child(2) { height: 80%; animation-delay: 0.3s; }
.eq-bar:nth-child(3) { height: 60%; animation-delay: 0.15s; }
.eq-bar:nth-child(4) { height: 100%; animation-delay: 0.4s; }
.eq-bar:nth-child(5) { height: 50%; animation-delay: 0.25s; }
.eq-bar:nth-child(6) { height: 75%; animation-delay: 0.35s; }

@keyframes eqBounce {
  0% { height: 20%; opacity: 0.6; }
  50% { height: 95%; opacity: 1; }
  100% { height: 35%; opacity: 0.8; }
}

/* Broadcast Cinema Player Stage */
.broadcast-player-stage {
  position: relative;
  background-color: #030C07;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85), 0 0 35px -5px rgba(168, 34, 39, 0.15);
}

.broadcast-player-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  border-top: 1px solid rgba(200, 155, 74, 0.35);
  pointer-events: none;
  z-index: 15;
}

/* Channel Switcher Tabs */
.channel-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.channel-pill-btn:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}
.channel-pill-btn.active {
  background-color: var(--color-flame);
  border-color: var(--color-flame);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(168, 34, 39, 0.4);
}

/* Live Prayer Ticker Ribbon */
.live-ticker-wrap {
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  background-color: rgba(5, 20, 13, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.live-ticker-label {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  background-color: #0A2418;
  color: var(--color-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 5;
}
.live-ticker-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
  animation: tickerFlow 38s linear infinite;
  padding-left: 1rem;
}
.live-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
}
.live-ticker-item .flag {
  font-size: 14px;
}
@keyframes tickerFlow {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

