/* Hero Section - Apple-inspired Glassmorphism Design */
.hero-section {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding: 110px 0 60px;
  display: flex;
  align-items: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-dark);
  z-index: -1;
}

/* Glass Card Base */
.glass-card {
  background: var(--glass-light-medium);
  backdrop-filter: var(--blur-md) var(--saturation-enhanced);
  -webkit-backdrop-filter: var(--blur-md) var(--saturation-enhanced);
  border: 1px solid var(--glass-border-light-medium);
  border-radius: 20px;
  padding: 0;
  box-shadow: var(--glass-shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.glass-card:hover {
  background: var(--glass-light-strong);
  border-color: var(--glass-border-light-strong);
  box-shadow: var(--glass-shadow-lg);
  transform: translateY(-5px);
}

/* Carousel Card */
/* .carousel-card {
  height: 100%;
  min-height: auto;
} */

.card-header-glass {
  padding: 20px 25px;
  border-bottom: 1px solid var(--glass-white-3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--glass-white-1);
}

.card-title {
  color: var(--color-white);
  font-size: var(--font-size-title-2);
  font-weight: var(--font-weight-semibold);
  margin: 0;
  font-family: var(--font-display);
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--color-error);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.live-text {
  color: var(--color-white);
  font-size: var(--font-size-body-small);
  font-weight: var(--font-weight-medium);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Hero Carousel */
.hero-carousel {
  height: calc(100% - 80px);
  border-radius: 0 0 20px 20px;
}

.carousel-inner {
  height: 100%;
  border-radius: 0 0 20px 20px;
}

.carousel-item {
  height: 100%;
  position: relative;
}

.carousel-image-wrapper {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
}

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.carousel-item:hover .carousel-image {
  transform: scale(1.01);
}


/* Custom Carousel Controls - Enhanced Apple Style */
.custom-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(28, 28, 30, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 0.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 5;
  opacity: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37),
    0 0 1px rgba(255, 255, 255, 0.1) inset;
}

/* Show controls on hover */
.hero-carousel:hover .custom-control {
  opacity: 1;
}

.custom-control:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45),
    0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.custom-control:active {
  transform: translateY(-50%) scale(0.96);
}

.carousel-control-prev {
  left: 24px;
}

.carousel-control-next {
  right: 24px;
}

.carousel-control-icon {
  color: #ffffff;
  font-size: 1.1rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

/* Carousel Counter - Apple Style */
.carousel-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  padding: 8px 16px;
  background: rgba(28, 28, 30, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 100px;
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.carousel-counter:hover {
  background: rgba(28, 28, 30, 0.85);
  border-color: rgba(255, 255, 255, 0.18);
}

.carousel-counter .current-slide {
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  min-width: 1.5em;
  text-align: right;
}

.carousel-counter .counter-separator {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}

.carousel-counter .total-slides {
  color: rgba(255, 255, 255, 0.7);
  font-variant-numeric: tabular-nums;
  min-width: 1.5em;
  text-align: left;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .carousel-counter {
    bottom: 15px;
    padding: 6px 12px;
    font-size: 12px;
  }
}

/* Custom Indicators - Legacy (keeping for compatibility) */
.custom-indicators {
  bottom: 15px;
  margin-bottom: 0;
}

.custom-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.custom-indicators button.active {
  background: #ffffff;
  transform: scale(1.2);
}

/* Modern Radio Player Styles */
.main-radio {
  min-height: 320px;
  background: linear-gradient(135deg, rgba(10, 10, 40, 0.6), rgba(20, 5, 50, 0.5));
  border: 1px solid var(--glass-border-light-strong);
  backdrop-filter: var(--blur-lg) var(--saturation-vibrant);
  -webkit-backdrop-filter: var(--blur-lg) var(--saturation-vibrant);
  position: relative;
  overflow: hidden;
}

.main-radio:hover {
  background: linear-gradient(135deg, rgba(15, 15, 55, 0.7), rgba(28, 8, 65, 0.6));
}

.main-radio::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.4) 50%,
      transparent 100%);
}

.radio-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Radio Header */
.radio-header-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px;
  margin-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.radio-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.radio-logo-modern {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: transform 0.3s ease;
}

.logo-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  background: linear-gradient(45deg, #667eea, #764ba2);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.main-radio.playing .logo-glow {
  opacity: 0.6;
  animation: logoGlow 2s ease-in-out infinite alternate;
}

@keyframes logoGlow {
  0% {
    opacity: 0.4;
    transform: scale(1);
  }

  100% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.radio-info-modern {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.radio-title-modern {
  color: #ffffff;
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--font-size-title-2);
  font-weight: var(--font-weight-bold);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: var(--letter-spacing-tight);
}

.radio-body-modern {
  padding: 25px;
}

.radio-frequency {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-body-small);
  font-weight: var(--font-weight-medium);
  font-family: var(--font-mono);
}

.status-text-modern {
  font-size: var(--font-size-caption-2);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wider);
  color: var(--color-offline);
  transition: color 0.3s ease;
}

.main-radio.playing .status-text-modern  { color: var(--color-live); }
.main-radio.loading .status-text-modern  { color: var(--color-connecting); }
.main-radio.error   .status-text-modern  { color: var(--color-error); }

.radio-status-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.radio-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--color-offline);
  transition: background 0.3s ease;
  animation: pulse 2s infinite;
}

.main-radio.playing .radio-status-dot { background: var(--color-live); }
.main-radio.loading .radio-status-dot { background: var(--color-connecting); }
.main-radio.error   .radio-status-dot { background: var(--color-error); }

/* Audio Visualizer */
.audio-visualizer-modern {
  position: relative;
  height: 64px;
}

.frequency-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
  gap: 4px;
  padding: 6px 8px;
}

.bar {
  width: 5px;
  height: 4px;
  background: linear-gradient(to top, #ffa502, #ff6b35);
  border-radius: 2px 2px 0 0;
  opacity: 0.35;
  transition: opacity 0.4s ease, height 0.05s ease;
}

.main-radio.playing .bar {
  opacity: 1;
}

/* Now Playing bar */
.now-playing-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 24px;
  overflow: hidden;
}

.now-playing-icon {
  font-size: 0.7rem;
  color: var(--color-live);
  flex-shrink: 0;
  opacity: 0.85;
}

.now-playing-marquee {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.now-playing-text {
  display: inline-block;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  animation: marqueeScroll 18s linear infinite;
}

/* Pause scroll when the container is narrow enough that text fits */
.now-playing-text.fits {
  animation: none;
  padding-left: 0;
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  10%  { transform: translateX(0); }
  90%  { transform: translateX(var(--marquee-offset, -50%)); }
  100% { transform: translateX(var(--marquee-offset, -50%)); }
}

/* Radio Controls — single inline row */
.radio-controls-modern {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mute button */
.mute-btn {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.mute-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  transform: scale(1.08);
}

.mute-btn.muted {
  color: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Main radio refresh button */
.main-refresh-btn {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease,
              border-color 0.2s ease, opacity 0.2s ease;
}

.main-refresh-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  transform: scale(1.08);
}

.main-refresh-btn:active {
  transform: scale(0.94);
}

.main-radio.error .main-refresh-btn {
  border-color: rgba(255, 59, 48, 0.5);
  color: var(--color-error-light);
  background: var(--color-error-bg);
}

.main-refresh-btn:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.main-refresh-btn:disabled i {
  animation: spin 1s linear infinite;
}

.play-pause-btn {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background: #ffbf00;
  color: #ffffff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.btn-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.play-icon,
.pause-icon {
  font-size: 1rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
  position: absolute;
}

.pause-icon {
  opacity: 0;
  transform: scale(0.8);
}

.main-radio.playing .play-icon {
  opacity: 0;
  transform: scale(0.8);
}

.main-radio.playing .pause-icon {
  opacity: 1;
  transform: scale(1);
}

.play-pause-btn:hover {
  transform: scale(1.08);
}

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

.volume-slider-container {
  position: relative;
  flex: 1;
  height: 6px;
  border-radius: 3px;
  cursor: pointer;
}

.volume-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}

.volume-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.volume-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, #ffffff 0%, var(--secondary-color) 100%);
  border-radius: 3px;
  width: 0%;
  transition: width 0.2s ease;
}

.volume-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 14px;
  height: 14px;
  background: #ffffff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  transition: left 0.05s linear, transform 0.15s ease;
}

.volume-slider-container:hover .volume-thumb {
  transform: translate(-50%, -50%) scale(1.25);
}

.volume-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 6px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.volume-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.75);
}

.volume-slider-container.is-dragging .volume-tooltip,
.alt-volume-slider-container.is-dragging .volume-tooltip {
  opacity: 1;
}


/* Loading State */
.main-radio.loading .frequency-bars {
  opacity: 0.3;
}

.main-radio.loading .play-pause-btn {
  pointer-events: none;
}

.main-radio.loading .play-icon,
.main-radio.loading .pause-icon {
  opacity: 0;
}

.main-radio.loading .btn-inner::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


/* Responsive Design */
@media (max-width: 768px) {
  .radio-container {
    padding: 20px;
    gap: 15px;
  }

  .radio-title-modern {
    font-size: 1.2rem;
  }

  .radio-logo-modern {
    width: 40px;
    height: 40px;
  }

  .audio-visualizer-modern {
    height: 50px;
  }

  .frequency-bars {
    gap: 2px;
    padding: 6px 8px;
  }

  .bar {
    width: 2px;
  }
}

@media (max-width: 375px) {
  .radio-container {
    padding: 15px;
    gap: 12px;
  }

  .radio-header-modern {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .radio-title-modern {
    font-size: 1.1rem;
  }

  .audio-visualizer-modern {
    height: 45px;
  }

}

/* High contrast mode */
@media (prefers-contrast: high) {
  .main-radio {
    border: 2px solid rgba(255, 255, 255, 0.5);
  }

  .radio-title-modern {
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
  }

  .play-pause-btn {
    border: 2px solid rgba(255, 255, 255, 0.3);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

  .logo-glow {
    animation: none;
  }

  * {
    transition-duration: 0.1s !important;
  }
}

/* Alternative Radio - Modern Design */
.alternative-radio {
  min-height: auto;
  background: linear-gradient(135deg, rgba(10, 10, 40, 0.6), rgba(20, 5, 50, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.4s ease;
  overflow: hidden;
}

.alternative-radio:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: linear-gradient(135deg, rgba(15, 15, 55, 0.7), rgba(28, 8, 65, 0.6));
}

/* Alternative Radio Header */
.alt-radio-header {
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.alt-radio-header:hover {
  background: rgba(255, 255, 255, 0.08);
}

.alt-radio-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.alt-radio-icon {
  position: relative;
  width: 45px;
  height: 45px;
  background: rgba(255, 165, 0, 0.15);
  border: 2px solid rgba(255, 165, 0, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffa502;
  font-size: 1.2rem;
}

.signal-pulse {
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border: 2px solid #ffa502;
  border-radius: 50%;
  opacity: 0;
  animation: signalPulse 3s ease-in-out infinite;
}

@keyframes signalPulse {

  0%,
  100% {
    opacity: 0;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}

.alt-radio-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.alt-radio-title {
  color: #ffffff;
  font-size: var(--font-size-title-3);
  font-weight: var(--font-weight-semibold);
  font-family: var(--font-display);
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.alt-radio-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-caption-2);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wider);
}

.alt-radio-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

.alt-status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.alt-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.alt-status-dot.backup {
  background: #ffa502;
}

.alt-status-dot.active {
  background: #2ed573;
}

.alt-status-dot.error {
  background: #ff4757;
}

.alt-status-text {
  color: #ffa502;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.toggle-btn-modern {
  background: var(--glass-light-subtle);
  border: 1px solid var(--glass-border-light-medium);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: var(--blur-sm) var(--saturation-enhanced);
  -webkit-backdrop-filter: var(--blur-sm) var(--saturation-enhanced);
}

.toggle-btn-modern:hover {
  background: var(--glass-light-soft);
  border-color: var(--glass-border-light-strong);
  transform: scale(1.05);
}

.toggle-icon-wrapper {
  transition: transform 0.3s ease;
}

.toggle-icon {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.toggle-btn-modern.active .toggle-icon-wrapper {
  transform: rotate(180deg);
}

.toggle-btn-modern:hover .toggle-icon {
  color: #ffffff;
}

/* Alternative Content */
.alternative-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.alternative-content.show {
  max-height: 400px;
}

.alt-radio-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Connection Bar */
.alt-connection-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 165, 0, 0.1);
  border: 1px solid rgba(255, 165, 0, 0.2);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.connection-dots {
  display: flex;
  gap: 4px;
}

.connection-dots .dot {
  width: 6px;
  height: 6px;
  background: #ffa502;
  border-radius: 50%;
  animation: connectionDots 1.5s ease-in-out infinite;
}

.connection-dots .dot:nth-child(1) {
  animation-delay: 0s;
}

.connection-dots .dot:nth-child(2) {
  animation-delay: 0.2s;
}

.connection-dots .dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes connectionDots {

  0%,
  80%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }

  40% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.connection-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 500;
}

.alt-connection-bar.connected {
  background: rgba(46, 213, 115, 0.1);
  border-color: rgba(46, 213, 115, 0.2);
}

.alt-connection-bar.connected .dot {
  background: #2ed573;
  animation: none;
  opacity: 1;
}

/* Visualizer */
.alt-visualizer {
  height: 40px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  opacity: 0.35;
  transition: opacity 0.4s ease;
}

.alt-visualizer.playing {
  opacity: 1;
}

.alt-freq-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 100%;
}

.alt-freq-bar {
  width: 3px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(to top, #ffa502, #ff6b35);
  height: 4px;
  transition: height 0.1s ease;
}

.alt-visualizer.playing .alt-freq-bar {
  animation: altBarBounce ease-in-out infinite;
}

@keyframes altBarBounce {
  0%   { height: 4px; }
  50%  { height: var(--bar-max, 24px); }
  100% { height: 4px; }
}

/* Play button */
.alt-play-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffbf00;
  border: none;
  color: #ffffff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.alt-play-btn:hover {
  transform: scale(1.08);
}

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

/* Volume row */
.alt-volume-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.alt-volume-slider-container {
  position: relative;
  flex: 1;
  height: 6px;
  cursor: pointer;
}

.alt-volume-track {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
}

.alt-volume-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ffffff 0%, var(--secondary-color) 100%);
  border-radius: 3px;
  pointer-events: none;
  transition: width 0.05s linear;
}

.alt-volume-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 13px;
  height: 13px;
  background: #ffffff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  transition: left 0.05s linear, transform 0.15s ease;
}

.alt-volume-slider-container:hover .alt-volume-thumb {
  transform: translate(-50%, -50%) scale(1.25);
}

.alt-volume-slider {
  position: absolute;
  inset: -6px 0;
  width: 100%;
  height: calc(100% + 12px);
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

/* Alternative Controls Bottom */
.alt-radio-controls-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.alt-control-btn {
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.alt-control-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

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

.alt-mute-btn.muted {
  color: rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.1);
}

/* States */
.alternative-radio.loading .alt-status-dot {
  background: #ffa502;
  animation: pulse 1s infinite;
}

.alternative-radio.loading .alt-play-btn {
  pointer-events: none;
}

.alternative-radio.loading .alt-play-btn i {
  opacity: 0;
}

.alternative-radio.loading .alt-play-btn::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.alternative-radio.connected .alt-status-dot {
  background: #2ed573;
}

.alternative-radio.connected .alt-status-text {
  color: #2ed573;
}

.alternative-radio.error .alt-status-dot {
  background: #ff4757;
}

.alternative-radio.error .alt-status-text {
  color: #ff4757;
}

/* Responsive Design */
@media (max-width: 768px) {
  .alt-radio-header {
    padding: 15px 20px;
  }

  .alt-radio-brand {
    gap: 12px;
  }

  .alt-radio-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .alt-radio-title {
    font-size: 1.1rem;
  }

  .alt-radio-body {
    padding: 20px;
    gap: 15px;
  }

  .alt-radio-controls-bottom {
    padding: 12px 15px;
    gap: 12px;
  }

  .alt-control-btn {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }
}

@media (max-width: 375px) {
  .alt-radio-header {
    padding: 12px 15px;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .alt-radio-controls {
    align-self: flex-end;
  }

  .alt-radio-brand {
    gap: 10px;
  }

  .alt-radio-icon {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .alt-radio-title {
    font-size: 1rem;
  }

  .alt-radio-body {
    padding: 15px;
    gap: 12px;
  }

  .alt-radio-controls-bottom {
    flex-direction: column;
    gap: 15px;
  }

  .alternative-content.show {
    max-height: 450px;
  }
}

/* Animation for smooth expand/collapse */
@keyframes expandContent {
  from {
    max-height: 0;
    opacity: 0;
  }

  to {
    max-height: 400px;
    opacity: 1;
  }
}

@keyframes collapseContent {
  from {
    max-height: 400px;
    opacity: 1;
  }

  to {
    max-height: 0;
    opacity: 0;
  }
}

.alternative-content.show {
  animation: expandContent 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.alternative-content.hide {
  animation: collapseContent 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .alternative-radio {
    border: 2px solid rgba(255, 255, 255, 0.4);
  }

  .alt-radio-title {
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
  }

  .alt-control-btn {
    border: 2px solid rgba(255, 255, 255, 0.3);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

  .signal-pulse,
  .connectionDots,
  .alt-freq-bar {
    animation: none;
  }

  .alternative-content {
    transition: none;
  }

  * {
    transition-duration: 0.1s !important;
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .card-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 992px) {
  .hero-section {
    padding: 100px 0 40px;
  }

  .carousel-card {
    min-height: auto;
    margin-bottom: 20px;
  }

  .radio-section {
    gap: 15px;
  }

  .main-radio {
    min-height: 250px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 90px 0 30px;
    min-height: auto;
  }

  .carousel-card {
    min-height: auto;
    margin-bottom: 15px;
  }

  .card-header-glass {
    padding: 15px 20px;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .card-title {
    font-size: 1.2rem;
  }

  .custom-control {
    width: 40px;
    height: 40px;
  }

  .carousel-control-prev {
    left: 10px;
  }

  .carousel-control-next {
    right: 10px;
  }


}

/* iPhone SE and smaller devices */
@media (max-width: 375px) {
  .hero-section {
    padding: 80px 0 20px;
  }

  .carousel-card {
    min-height: auto;
  }

  .card-header-glass {
    padding: 12px 15px;
  }

  .card-title {
    font-size: 1.1rem;
  }

  .live-text {
    font-size: 0.8rem;
  }

  .custom-control {
    width: 35px;
    height: 35px;
  }

  .carousel-control-icon {
    font-size: 1rem;
  }

  .custom-indicators button {
    width: 10px;
    height: 10px;
    margin: 0 3px;
  }

}

/* Landscape orientation for mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-section {
    padding: 70px 0 20px;
    min-height: auto;
  }

  .carousel-card {
    min-height: 280px;
  }

  .main-radio {
    min-height: 200px;
  }

}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
  .glass-card {
    backdrop-filter: var(--blur-lg) var(--saturation-enhanced);
    -webkit-backdrop-filter: var(--blur-lg) var(--saturation-enhanced);
  }

  .custom-control {
    backdrop-filter: var(--blur-md) var(--saturation-enhanced);
    -webkit-backdrop-filter: var(--blur-md) var(--saturation-enhanced);
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .glass-card {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
  }

  .card-header-glass {
    background: rgba(255, 255, 255, 0.03);
  }

}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

  .floating-circle {
    animation: none;
  }

  .carousel-item:hover .carousel-image {
    transform: none;
  }

  .glass-card:hover {
    transform: none;
  }
}

/* Print styles */
@media print {
  .hero-section {
    background: white;
    color: black;
    padding: 20px 0;
  }

  .glass-card {
    background: white;
    border: 1px solid #ccc;
    box-shadow: none;
  }

}

blockquote::before {
  content: "\201F";
  display: table;
  float: left;
  font-size: 70px;
  margin-top: 4px;
  width: 6%;
  font-weight: 900;
  color: #1151d3;
}

blockquote {
  background: #fff;
  border-color: #1151d3;
}

blockquote {
  width: 100%;
  border-width: 0 0 0 5px;
  border-style: solid;
  padding: 20px;
}

blockquote {
  margin: 0 0 1rem;
}

blockquote p {
  font-style: italic;
  width: 94%;
  display: table;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 0;
  background: linear-gradient(white, white) padding-box,
    url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/80625/sea.jpg) border-box 0 / cover;
}

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

/* INTERACTIVE MAP - Styles moved to global-churches.css */

/* ============================================
   WCAG 2.1 ACCESSIBILITY - TOUCH TARGET SIZES
   ============================================ */

/* Ensure all interactive elements meet minimum 44x44px touch target */
.carousel-control-prev,
.carousel-control-next,
.custom-control {
  min-width: 44px;
  min-height: 44px;
  padding: 12px;
}

.play-pause-btn {
  min-width: 48px;
  min-height: 48px;
}

.alt-control-btn {
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
}

/* Footer social links */
.social-link {
  min-width: 44px;
  min-height: 44px;
}

/* Back to top button */
#back-to-top {
  min-width: 50px;
  min-height: 50px;
}

/* View gallery buttons */
.view-gallery-btn {
  min-height: 44px;
  padding: 12px 24px;
}

/* Ensure proper spacing between touch targets */
.utility-bar__social {
  gap: 8px;
  /* Increased from default for better touch separation */
}

.radio-controls-modern {
  gap: 16px;
  /* Ensure controls don't overlap */
}

/* Mobile-specific touch target improvements */
@media (max-width: 768px) {

  /* Increase touch targets on mobile */
  .nav-link {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 12px 16px;
  }

  .btn-apple {
    min-height: 48px;
    padding: 14px 24px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    min-width: 48px;
    min-height: 48px;
  }

  /* Increase spacing between interactive elements */
  .navbar-nav .nav-item {
    margin-bottom: 4px;
  }

  .utility-bar__social {
    gap: 12px;
  }
}

/* ============================================
   APPLE-INSPIRED LAZY LOADING STYLES
   ============================================ */

/* Lazy image base state */
img.lazy {
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

/* Loading state - subtle blur effect (Apple-style) */
img.lazy-loading {
  opacity: 0.5;
  filter: blur(5px);
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Loaded state - smooth fade in */
img.lazy-loaded {
  opacity: 1;
  filter: blur(0);
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Error state */
img.lazy-error {
  opacity: 0.3;
  filter: grayscale(100%);
}

/* Prevent layout shift - maintain aspect ratio */
img.lazy,
img.carousel-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Carousel image wrapper for aspect ratio */
.carousel-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* Fallback for browsers without aspect-ratio support */
@supports not (aspect-ratio: 16 / 9) {
  .carousel-image-wrapper {
    padding-bottom: 56.25%;
    /* 16:9 ratio */
  }

  .carousel-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

/* Modern aspect-ratio support */
@supports (aspect-ratio: 16 / 9) {
  .carousel-image-wrapper img {
    object-fit: contain;
    height: 100%;
  }
}

/* Skeleton loading animation (Apple-inspired shimmer) */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }

  100% {
    background-position: 1000px 0;
  }
}

.carousel-image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.2) 20%,
      rgba(255, 255, 255, 0.5) 60%,
      rgba(255, 255, 255, 0) 100%);
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Show shimmer only while loading */
.carousel-image-wrapper:has(img.lazy:not(.lazy-loaded))::before,
.carousel-image-wrapper:has(img.lazy-loading)::before {
  opacity: 1;
}

/* Hide shimmer once loaded */
.carousel-image-wrapper:has(img.lazy-loaded)::before {
  opacity: 0;
}

/* Performance optimization: use GPU acceleration */
img.lazy,
img.lazy-loading,
img.lazy-loaded {
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {

  img.lazy,
  img.lazy-loading,
  img.lazy-loaded {
    transition: none !important;
    animation: none !important;
  }

  .carousel-image-wrapper::before {
    animation: none !important;
  }
}/* ============================================
   LIVE EVENTS BANNER - APPLE INSPIRED DESIGN
   Clean White Background with Brand Colors
   ============================================ */

:root {
    /* Brand Colors from website */
    --banner-primary: #004799;
    --banner-primary-light: #0066cc;
    --banner-secondary: #ffbf00;
    --banner-secondary-light: #ffd633;

    /* Accent Colors */
    --banner-accent-blue: #007aff;
    --banner-live-red: #ff3b30;
    --banner-success-green: #34c759;
    --banner-warning-orange: #ff9500;

    /* Neutral Colors */
    --banner-white: #ffffff;
    --banner-black: #000000;
    --banner-gray-50: #f9fafb;
    --banner-gray-100: #f3f4f6;
    --banner-gray-200: #e5e7eb;
    --banner-gray-300: #d1d5db;
    --banner-gray-600: #4b5563;
    --banner-gray-800: #1f2937;
    --banner-gray-900: #111827;

    /* Typography */
    --font-sf: 'Inter', -apple-system, "SF Pro Display", BlinkMacSystemFont, sans-serif;

    /* Shadows - Apple Style */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 24px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-2xl: 0 30px 60px rgba(0, 0, 0, 0.15);

    /* Colored Shadows */
    --shadow-primary: 0 8px 24px rgba(0, 71, 153, 0.15);
    --shadow-secondary: 0 6px 20px rgba(255, 191, 0, 0.2);
}

/* ============================================
   MAIN BANNER CONTAINER
   ============================================ */

.live-events-banner {
    background: var(--banner-white);
    padding: 2.5rem 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    border-bottom: 1px solid var(--banner-gray-200);
}

/* Subtle gradient overlay */
.live-events-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 71, 153, 0.02) 0%,
        rgba(255, 191, 0, 0.02) 100%
    );
    pointer-events: none;
    z-index: 0;
}

/* Decorative corner accents */
.live-events-banner::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(
        circle,
        rgba(255, 191, 0, 0.08) 0%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
}

/* ============================================
   BANNER CONTENT
   ============================================ */

.event-banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
    min-height: 300px;
    justify-content: center;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

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

/* ============================================
   EVENT STATUS BADGE
   ============================================ */

.event-status {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1.5rem;
    background: var(--banner-gray-50);
    border: 1px solid var(--banner-gray-200);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--banner-gray-800);
    box-shadow: var(--shadow-sm);
    animation: bounceIn 0.6s ease-out 0.2s both;
    position: relative;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Status Indicator with Multi-Ring Pulse */
.status-indicator {
    width: 10px;
    height: 10px;
    background: var(--banner-primary);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 0 rgba(0, 71, 153, 0.4);
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 71, 153, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(0, 71, 153, 0);
    }
}

.status-indicator::before,
.status-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid var(--banner-primary);
    border-radius: 50%;
    animation: pulseRing 2s ease-out infinite;
    opacity: 0;
}

.status-indicator::after {
    animation-delay: 1s;
}

@keyframes pulseRing {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

/* Live Status Indicator */
.status-indicator.live {
    background: var(--banner-live-red);
    box-shadow: 0 0 20px rgba(255, 59, 48, 0.5);
}

.status-indicator.live::before,
.status-indicator.live::after {
    border-color: var(--banner-live-red);
}

.status-text {
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.813rem;
}

/* ============================================
   EVENT TITLE
   ============================================ */

.event-title {
    font-family: var(--font-sf);
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--banner-gray-900);
    margin: 0;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease-out 0.3s both;
    position: relative;
}

/* Gradient text highlight on hover */
.event-title:hover {
    background: linear-gradient(
        135deg,
        var(--banner-primary) 0%,
        var(--banner-primary-light) 50%,
        var(--banner-secondary) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

/* ============================================
   EVENT META INFORMATION
   ============================================ */

.event-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--banner-white);
    border: 1.5px solid var(--banner-gray-200);
    border-radius: 100px;
    color: var(--banner-gray-700);
    font-weight: 500;
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.meta-item:hover {
    background: var(--banner-gray-50);
    border-color: var(--banner-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.meta-item i {
    font-size: 1.125rem;
    color: var(--banner-primary);
}

/* ============================================
   COUNTDOWN TIMER - FLIP CARD STYLE
   ============================================ */

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
    width: 100%;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 85px;
    position: relative;
}

/* Countdown Card Container */
.count-wrapper {
    position: relative;
    width: 100%;
    height: 90px;
    perspective: 1000px;
}

.count {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(
        135deg,
        var(--banner-white) 0%,
        var(--banner-gray-50) 100%
    );
    border: 2px solid var(--banner-gray-200);
    border-radius: 16px;
    color: var(--banner-primary);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

/* Subtle gradient overlay */
.count::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.8) 0%,
        transparent 100%
    );
    border-radius: 20px 20px 0 0;
    pointer-events: none;
}

/* Divider line in middle (flip card style) */
.count::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 8%;
    right: 8%;
    height: 1px;
    background: var(--banner-gray-300);
    transform: translateY(-50%);
}

/* Hover effect */
.countdown-item:hover .count {
    transform: translateY(-4px) scale(1.03);
    box-shadow: var(--shadow-xl);
    border-color: var(--banner-primary);
}

/* Countdown Label */
.label {
    margin-top: 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--banner-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Urgency Indicator - Changes color when time is running out */
.countdown-item.urgent .count {
    background: linear-gradient(
        135deg,
        #fff5f5 0%,
        #fee 100%
    );
    border-color: var(--banner-live-red);
    color: var(--banner-live-red);
    animation: urgentPulse 1.5s ease-in-out infinite;
}

@keyframes urgentPulse {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(255, 59, 48, 0.2);
    }
    50% {
        box-shadow: 0 12px 32px rgba(255, 59, 48, 0.35);
    }
}

/* ============================================
   ACTION BUTTONS
   ============================================ */

.event-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn-register,
.btn-reminder,
.btn-share {
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    font-size: 0.938rem;
    font-weight: 600;
    font-family: var(--font-sf);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

/* Primary Button (Register) - Brand Blue */
.btn-register {
    background: linear-gradient(135deg, var(--banner-primary) 0%, var(--banner-primary-light) 100%);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 71, 153, 0.25);
}

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

/* Secondary Button (Reminder) - White with Border */
.btn-reminder {
    background: var(--banner-white);
    color: var(--banner-primary);
    border: 2px solid var(--banner-primary);
    box-shadow: var(--shadow-sm);
}

.btn-reminder:hover {
    background: var(--banner-gray-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Share Button - Gold Accent */
.btn-share {
    background: linear-gradient(135deg, var(--banner-secondary) 0%, var(--banner-secondary-light) 100%);
    color: var(--banner-gray-900);
    box-shadow: var(--shadow-secondary);
}

.btn-share:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 191, 0, 0.3);
}

/* Button Ripple Effect */
.btn-register::before,
.btn-reminder::before,
.btn-share::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-register:active::before,
.btn-reminder:active::before,
.btn-share:active::before {
    width: 300px;
    height: 300px;
}

/* ============================================
   LIVE STATE STYLES - APPLE INSPIRED
   ============================================ */

/* Live Status Badge */
.live-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 1.25rem;
    background: rgba(255, 59, 48, 0.08);
    border: 1.5px solid rgba(255, 59, 48, 0.3);
    border-radius: 100px;
    animation: fadeInUp 0.6s ease-out;
}

.live-pulse-dot {
    width: 10px;
    height: 10px;
    background: var(--banner-live-red);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 12px rgba(255, 59, 48, 0.6);
    animation: livePulseAnimation 2s ease-in-out infinite;
}

@keyframes livePulseAnimation {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 12px rgba(255, 59, 48, 0.6);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 20px rgba(255, 59, 48, 0.8);
    }
}

.live-pulse-dot::before,
.live-pulse-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid var(--banner-live-red);
    border-radius: 50%;
    animation: liveRingPulse 2s ease-out infinite;
    opacity: 0;
}

.live-pulse-dot::after {
    animation-delay: 1s;
}

@keyframes liveRingPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

.live-status-text {
    font-size: 0.813rem;
    font-weight: 700;
    color: var(--banner-live-red);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Live Event Title */
.event-title.live-title {
    color: var(--banner-gray-900);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Live Meta Information */
.live-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.live-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: var(--banner-gray-50);
    border: 1px solid var(--banner-gray-200);
    border-radius: 100px;
    color: var(--banner-gray-700);
    font-size: 0.875rem;
    font-weight: 500;
}

.live-meta-item i {
    color: var(--banner-live-red);
    font-size: 1rem;
}

/* Watch Live Button */
.btn-watch-live {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--banner-live-red) 0%, #ff6b6b 100%);
    color: white;
    border: none;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-sf);
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 59, 48, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    margin-top: 1.25rem;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn-watch-live:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(255, 59, 48, 0.35);
}

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

.btn-watch-live i {
    font-size: 1.25rem;
}

/* Share Live Button */
.btn-share-live {
    padding: 0.75rem 1.5rem;
    background: var(--banner-white);
    color: var(--banner-gray-700);
    border: 1.5px solid var(--banner-gray-300);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-sf);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.btn-share-live:hover {
    background: var(--banner-gray-50);
    border-color: var(--banner-gray-400);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-share-live i {
    font-size: 1rem;
}

/* Ripple effect for live buttons */
.btn-watch-live::before,
.btn-share-live::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-watch-live:active::before,
.btn-share-live:active::before {
    width: 300px;
    height: 300px;
}

/* ============================================
   LIVE STREAM MODAL - APPLE INSPIRED
   ============================================ */

.live-stream-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.live-stream-modal.active {
    opacity: 1;
    pointer-events: all;
}

.live-stream-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
}

.live-stream-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    background: var(--banner-white);
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.live-stream-modal.active .live-stream-modal-content {
    transform: scale(1);
}

/* Modal Header */
.live-stream-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: var(--banner-gray-50);
    border-bottom: 1px solid var(--banner-gray-200);
}

.live-stream-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.live-pulse-dot-small {
    width: 8px;
    height: 8px;
    background: var(--banner-live-red);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 59, 48, 0.6);
    animation: livePulseAnimation 2s ease-in-out infinite;
}

.live-stream-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--banner-gray-900);
}

.live-stream-close-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--banner-white);
    border: 1px solid var(--banner-gray-300);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--banner-gray-600);
}

.live-stream-close-btn:hover {
    background: var(--banner-gray-100);
    border-color: var(--banner-gray-400);
    color: var(--banner-gray-900);
    transform: rotate(90deg);
}

.live-stream-close-btn i {
    font-size: 1rem;
}

/* Video Wrapper */
.live-stream-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background: var(--banner-black);
}

.live-stream-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Responsive Modal */
@media (max-width: 1024px) {
    .live-stream-modal-content {
        width: 95%;
        max-width: 900px;
    }

    .live-stream-modal-header {
        padding: 1rem 1.25rem;
    }

    .live-stream-title {
        font-size: 0.938rem;
    }
}

@media (max-width: 768px) {
    .live-stream-modal-content {
        width: 95%;
        border-radius: 16px;
    }

    .live-stream-modal-header {
        padding: 0.875rem 1rem;
    }

    .live-stream-title {
        font-size: 0.875rem;
    }

    .live-stream-close-btn {
        width: 32px;
        height: 32px;
    }

    .live-stream-close-btn i {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .live-stream-modal-content {
        width: 100%;
        height: 100%;
        border-radius: 0;
        max-width: none;
    }

    .live-stream-modal-header {
        padding: 0.75rem 1rem;
    }

    .live-stream-video-wrapper {
        height: calc(100% - 60px);
        padding-bottom: 0;
    }
}

/* Keyboard accessibility */
.live-stream-close-btn:focus {
    outline: 3px solid rgba(0, 71, 153, 0.5);
    outline-offset: 2px;
}

/* ============================================
   REPLAY MODAL - APPLE INSPIRED
   ============================================ */

.replay-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.replay-modal.active {
    opacity: 1;
    pointer-events: all;
}

.replay-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
}

.replay-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    background: var(--banner-white);
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.replay-modal.active .replay-modal-content {
    transform: scale(1);
}

/* Modal Header */
.replay-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: var(--banner-gray-50);
    border-bottom: 1px solid var(--banner-gray-200);
}

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

.replay-icon {
    color: var(--banner-primary);
    font-size: 1.125rem;
}

.replay-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--banner-gray-900);
}

.replay-close-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--banner-white);
    border: 1px solid var(--banner-gray-300);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--banner-gray-600);
}

.replay-close-btn:hover {
    background: var(--banner-gray-100);
    border-color: var(--banner-gray-400);
    color: var(--banner-gray-900);
    transform: rotate(90deg);
}

.replay-close-btn i {
    font-size: 1rem;
}

/* Video Wrapper */
.replay-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background: var(--banner-black);
}

.replay-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Modal Footer */
.replay-modal-footer {
    padding: 1rem 1.5rem;
    background: var(--banner-gray-50);
    border-top: 1px solid var(--banner-gray-200);
}

.replay-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--banner-gray-600);
    font-size: 0.875rem;
}

.replay-info i {
    color: var(--banner-primary);
}

/* Responsive Modal */
@media (max-width: 1024px) {
    .replay-modal-content {
        width: 95%;
        max-width: 900px;
    }

    .replay-modal-header,
    .replay-modal-footer {
        padding: 1rem 1.25rem;
    }

    .replay-title {
        font-size: 0.938rem;
    }
}

@media (max-width: 768px) {
    .replay-modal-content {
        width: 95%;
        border-radius: 16px;
    }

    .replay-modal-header,
    .replay-modal-footer {
        padding: 0.875rem 1rem;
    }

    .replay-title {
        font-size: 0.875rem;
    }

    .replay-close-btn {
        width: 32px;
        height: 32px;
    }

    .replay-close-btn i {
        font-size: 0.875rem;
    }

    .replay-info {
        font-size: 0.813rem;
    }
}

@media (max-width: 480px) {
    .replay-modal-content {
        width: 100%;
        height: 100%;
        border-radius: 0;
        max-width: none;
    }

    .replay-modal-header {
        padding: 0.75rem 1rem;
    }

    .replay-video-wrapper {
        height: calc(100% - 120px);
        padding-bottom: 0;
    }

    .replay-modal-footer {
        padding: 0.75rem 1rem;
    }
}

/* Keyboard accessibility */
.replay-close-btn:focus {
    outline: 3px solid rgba(0, 71, 153, 0.5);
    outline-offset: 2px;
}

/* ============================================
   ENDED STATE STYLES - APPLE INSPIRED
   ============================================ */

/* Ended Status Badge */
.ended-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 1.25rem;
    background: rgba(52, 199, 89, 0.08);
    border: 1.5px solid rgba(52, 199, 89, 0.3);
    border-radius: 100px;
    animation: fadeInUp 0.6s ease-out;
}

.ended-status-badge i {
    color: var(--banner-success-green);
    font-size: 1rem;
}

.ended-status-text {
    font-size: 0.813rem;
    font-weight: 700;
    color: var(--banner-success-green);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Ended Event Title */
.event-title.ended-title {
    color: var(--banner-gray-900);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Ended Message */
.ended-message {
    font-size: 1rem;
    color: var(--banner-gray-600);
    margin: 0.5rem 0;
    font-weight: 500;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* Ended Meta Information */
.ended-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.ended-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: var(--banner-gray-50);
    border: 1px solid var(--banner-gray-200);
    border-radius: 100px;
    color: var(--banner-gray-700);
    font-size: 0.875rem;
    font-weight: 500;
}

.ended-meta-item i {
    color: var(--banner-primary);
    font-size: 1rem;
}

/* Watch Replay Button */
.btn-watch-replay {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--banner-primary) 0%, var(--banner-primary-light) 100%);
    color: white;
    border: none;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-sf);
    cursor: pointer;
    box-shadow: var(--shadow-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    margin-top: 1.25rem;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.btn-watch-replay:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 71, 153, 0.25);
}

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

.btn-watch-replay i {
    font-size: 1.25rem;
}

/* Share Replay Button */
.btn-share-replay {
    padding: 0.75rem 1.5rem;
    background: var(--banner-white);
    color: var(--banner-gray-700);
    border: 1.5px solid var(--banner-gray-300);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-sf);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn-share-replay:hover {
    background: var(--banner-gray-50);
    border-color: var(--banner-gray-400);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-share-replay i {
    font-size: 1rem;
}

/* Ripple effect for ended buttons */
.btn-watch-replay::before,
.btn-share-replay::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-watch-replay:active::before,
.btn-share-replay:active::before {
    width: 300px;
    height: 300px;
}

/* ============================================
   ADDITIONAL FEATURES
   ============================================ */

/* Attendee Counter */
.attendee-counter {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: rgba(52, 199, 89, 0.1);
    border: 1px solid rgba(52, 199, 89, 0.3);
    border-radius: 100px;
    color: var(--banner-success-green);
    font-weight: 600;
    font-size: 0.875rem;
    margin-top: 1rem;
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

.attendee-counter i {
    color: var(--banner-success-green);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .live-events-banner {
        padding: 2rem 0;
        border-radius: 18px;
    }

    .event-title {
        font-size: clamp(1.5rem, 4vw, 2.25rem);
    }

    .countdown-timer {
        gap: 0.875rem;
    }

    .countdown-item {
        min-width: 75px;
    }

    .count {
        font-size: 2.25rem;
        height: 85px;
    }
}

@media (max-width: 768px) {
    .live-events-banner {
        padding: 1.75rem 1rem;
        border-radius: 16px;
    }

    .event-banner-content {
        gap: 1rem;
        min-height: 280px;
    }

    .event-meta {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        padding: 0 1rem;
    }

    .meta-item {
        padding: 0.5rem 1rem;
        font-size: 0.813rem;
        width: 100%;
        justify-content: center;
    }

    .countdown-timer {
        gap: 0.625rem;
        margin: 1rem 0;
    }

    .countdown-item {
        min-width: 65px;
    }

    .count {
        font-size: 1.75rem;
        height: 70px;
        border-radius: 12px;
    }

    .label {
        font-size: 0.688rem;
        margin-top: 0.5rem;
    }

    .event-actions {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }

    .btn-register,
    .btn-reminder,
    .btn-share {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1.25rem;
    }

    .watch-now-btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.938rem;
    }

    /* LIVE State - Mobile */
    .live-meta {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0 1rem;
    }

    .live-meta-item {
        width: 100%;
        justify-content: center;
    }

    .btn-watch-live {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        padding: 0.875rem 1.75rem;
        font-size: 0.938rem;
    }

    .btn-share-live {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    /* ENDED State - Mobile */
    .ended-meta {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0 1rem;
    }

    .ended-meta-item {
        width: 100%;
        justify-content: center;
    }

    .btn-watch-replay {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        padding: 0.875rem 1.75rem;
        font-size: 0.938rem;
    }

    .btn-share-replay {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .countdown-item {
        min-width: 55px;
    }

    .count {
        font-size: 1.5rem;
        height: 65px;
        border-radius: 10px;
    }

    .event-status {
        font-size: 0.688rem;
        padding: 0.5rem 0.875rem;
    }

    .status-indicator {
        width: 8px;
        height: 8px;
    }

    .event-title {
        font-size: clamp(1.25rem, 4vw, 1.75rem);
    }

    .label {
        font-size: 0.625rem;
    }
}

/* ============================================
   REDUCED MOTION SUPPORT
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .status-indicator::before,
    .status-indicator::after {
        animation: none;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .live-events-banner {
        background: white;
        color: black;
        box-shadow: none;
        border: 1px solid black;
    }

    .event-actions,
    .btn-register,
    .btn-reminder,
    .btn-share {
        display: none;
    }
}

/* ============================================
   FLIP ANIMATION FOR COUNTDOWN
   ============================================ */

.count-wrapper.flipping .count {
    animation: flipNumber 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes flipNumber {
    0% {
        transform: rotateX(0deg);
    }
    50% {
        transform: rotateX(90deg);
        opacity: 0.5;
    }
    100% {
        transform: rotateX(0deg);
    }
}

/* ============================================
   RIPPLE EFFECT FOR BUTTONS
   ============================================ */

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: rippleEffect 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Button container needs position relative for ripple */
.btn-register,
.btn-reminder,
.btn-share {
    position: relative;
}

/* ============================================
   ADDITIONAL SMOOTH ANIMATIONS
   ============================================ */

/* Smooth color transitions for urgency */
.countdown-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Prevent flash of unstyled content */
.live-events-banner {
    opacity: 0;
    animation: fadeInBanner 0.8s ease-out forwards;
}

@keyframes fadeInBanner {
    to {
        opacity: 1;
    }
}

/* Smooth transitions between states */
.event-banner-content {
    transition: opacity 0.3s ease-in-out;
}

/* Enhanced focus states for accessibility */
.btn-register:focus,
.btn-reminder:focus,
.btn-share:focus {
    outline: 3px solid rgba(0, 71, 153, 0.5);
    outline-offset: 2px;
}

.meta-item:focus-within {
    outline: 2px solid var(--banner-primary);
    outline-offset: 2px;
}

/* Loading state for async operations */
.btn-register.loading,
.btn-reminder.loading,
.btn-share.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-register.loading::after,
.btn-reminder.loading::after,
.btn-share.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: buttonSpinner 0.6s linear infinite;
}

@keyframes buttonSpinner {
    to {
        transform: rotate(360deg);
    }
}
/* ========================================
   TEACHINGS SECTION VARIABLES
   ======================================== */
:root {
  --teachings-primary-blue: #004799;
  --teachings-light-blue: #3b82f6;
  --teachings-accent-gold: #d4af37;
  --teachings-gold: #ffbf00;
  --teachings-text-dark: #000000;
  --teachings-text-light: #64748b;
  --teachings-bg-light: #f8fafc;
}

/* ========================================
   TEACHINGS SECTION — layout only
   Card, thumbnail, play, badge, and content
   styles are handled by carousel-shared.css
   ======================================== */

.teachings-carousel-section {
  padding: 40px 0;
  background: #ffffff;
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow: hidden;
}

.teachings-header {
  margin: 0 auto 50px;
  padding: 0 40px;
}

.teachings-label {
  font-size: 0.813rem;
  font-weight: 600;
  color: var(--teachings-accent-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: inline-block;
}

.teachings-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--teachings-text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.1;
}

.teachings-carousel-wrapper {
  position: relative;
  margin: 0 auto;
  padding: 0 40px;
}

.teachings-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 8px 0 20px;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.teachings-carousel::-webkit-scrollbar {
  display: none;
}

.teachings-carousel:active {
  cursor: grabbing;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  .teachings-carousel-section {
    padding: 40px 0;
  }

  .teachings-header,
  .teachings-carousel-wrapper {
    padding: 0 20px;
  }

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

@media (prefers-reduced-motion: no-preference) {
  .teachings-carousel {
    scroll-behavior: smooth;
  }
}

/* ========================================
   VIDEO MODAL
   ======================================== */
.teachings-video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

.teachings-video-modal.active {
  opacity: 1;
}

.teachings-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.teachings-modal-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.teachings-video-modal.active .teachings-modal-content {
  transform: scale(1);
  opacity: 1;
}

.teachings-video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
}

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

.teachings-modal-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0;
  padding: 1.5rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.8);
}

.teachings-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background-color 0.2s ease;
  z-index: 1;
}

.teachings-modal-close:hover {
  background: rgba(0, 0, 0, 0.7);
}

.teachings-modal-close svg {
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease;
}

.teachings-modal-close:hover svg {
  transform: scale(1.1);
}

.teachings-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  border-top-color: #fff;
  animation: teachings-spin 1s linear infinite;
}

@keyframes teachings-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@media (max-width: 768px) {
  .teachings-modal-content {
    width: 95%;
  }

  .teachings-modal-title {
    font-size: 1.2rem;
    padding: 1rem;
  }

  .teachings-modal-close {
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
  }
}
/* ========================================
   HEALING SECTION — layout only
   Card, thumbnail, play, badge, and content
   styles are handled by carousel-shared.css
   ======================================== */

.healing-carousel-section {
    padding: 40px 0;
    background: #ffffff;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow: hidden;
}

.healing-header {
    margin: 0 auto 50px;
    padding: 0 40px;
}

.healing-label {
    font-size: 0.813rem;
    font-weight: 600;
    color: var(--teachings-accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: inline-block;
}

.healing-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--teachings-text-dark);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    line-height: 1.1;
}

.healing-carousel-wrapper {
    position: relative;
    margin: 0 auto;
    padding: 0 40px;
}

.healing-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 8px 0 20px;
    cursor: grab;
    user-select: none;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.healing-carousel::-webkit-scrollbar {
    display: none;
}

.healing-carousel:active {
    cursor: grabbing;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .healing-carousel-section {
        padding: 40px 0;
    }

    .healing-header,
    .healing-carousel-wrapper {
        padding: 0 20px;
    }

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

@media (prefers-reduced-motion: no-preference) {
    .healing-carousel {
        scroll-behavior: smooth;
    }
}
:root {
  /* Brand Colors - Aligned with website */
  --revival-primary: #004799;
  --revival-primary-light: #0066cc;
  --revival-secondary: #ffbf00;
  --revival-secondary-light: #ffd633;

  /* Neutrals */
  --revival-white: #ffffff;
  --revival-black: #000000;
  --revival-gray-50: #f8fafc;
  --revival-gray-100: #f1f5f9;
  --revival-gray-200: #e2e8f0;
  --revival-gray-300: #cbd5e1;
  --revival-gray-600: #475569;
  --revival-gray-700: #334155;
  --revival-gray-800: #1e293b;

  /* Apple-Style Shadows */
  --revival-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --revival-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
  --revival-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --revival-shadow-lg: 0 10px 24px rgba(0, 0, 0, 0.1);
  --revival-shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --revival-transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --revival-transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --revival-transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Section Header */
.revival-header {
  margin: 0 auto 50px;
  padding: 0 40px;
}

.revival-label {
  font-size: 0.813rem;
  font-weight: 600;
  color: var(--revival-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: inline-block;
}

.revival-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--revival-black);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.1;
}

@media (max-width: 768px) {
  .revival-header {
    padding: 0 20px;
  }
}

/* Grid Layout */
.revival-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 0 24px;
}

/* Event Card - Apple Inspired */
.event-card {
  background: var(--revival-white);
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  transition: all var(--revival-transition-slow);
  position: relative;
  border: 1px solid var(--revival-gray-200);
  box-shadow: var(--revival-shadow-md);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

/* Staggered Animation for Cards */
.event-card:nth-child(1)  { animation-delay: 0.1s; }
.event-card:nth-child(2)  { animation-delay: 0.2s; }
.event-card:nth-child(3)  { animation-delay: 0.3s; }
.event-card:nth-child(4)  { animation-delay: 0.4s; }
.event-card:nth-child(5)  { animation-delay: 0.5s; }
.event-card:nth-child(6)  { animation-delay: 0.6s; }
.event-card:nth-child(7)  { animation-delay: 0.7s; }
.event-card:nth-child(8)  { animation-delay: 0.8s; }
.event-card:nth-child(9)  { animation-delay: 0.9s; }
.event-card:nth-child(10) { animation-delay: 1.0s; }
.event-card:nth-child(11) { animation-delay: 1.1s; }
.event-card:nth-child(12) { animation-delay: 1.2s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--revival-shadow-xl);
  border-color: var(--revival-gray-300);
}

/* Image Section */
.event-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg,
    rgba(0, 71, 153, 0.05) 0%,
    rgba(255, 191, 0, 0.05) 100%);
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.event-card:hover .event-image img {
  transform: scale(1.08);
}

.image-count {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--revival-gray-800);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--revival-shadow-md);
}

.image-count i {
  color: var(--revival-primary);
  font-size: 0.875rem;
}

/* Content Section */
.event-content {
  padding: 28px;
}

/* Meta Information - Pill Badges */
.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--revival-gray-50);
  border: 1px solid var(--revival-gray-200);
  border-radius: 100px;
  font-size: 0.813rem;
  color: var(--revival-gray-700);
  font-weight: 500;
  transition: all var(--revival-transition-fast);
}

.meta-item:hover {
  background: var(--revival-gray-100);
  border-color: var(--revival-gray-300);
}

.meta-item i {
  color: var(--revival-primary);
  font-size: 0.813rem;
}

.event-title {
  font-size: clamp(1.375rem, 2vw, 1.625rem);
  font-weight: 700;
  color: var(--revival-gray-800);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  line-height: 1.25;
  transition: color var(--revival-transition-fast);
}

.event-card:hover .event-title {
  color: var(--revival-primary);
}

.event-description {
  font-size: 0.938rem;
  color: var(--revival-gray-600);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* View Gallery Button - Apple Style with Gradient */
.view-gallery-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--revival-primary) 0%, var(--revival-primary-light) 100%);
  color: white;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.938rem;
  transition: all var(--revival-transition-base);
  border: none;
  cursor: pointer;
  box-shadow: var(--revival-shadow-sm);
  position: relative;
  overflow: hidden;
}

.view-gallery-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.view-gallery-btn:active::before {
  width: 300px;
  height: 300px;
}

.view-gallery-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--revival-shadow-md);
  gap: 14px;
}

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

.view-gallery-btn i {
  font-size: 0.875rem;
  transition: transform var(--revival-transition-base);
  position: relative;
  z-index: 1;
}

.view-gallery-btn span {
  position: relative;
  z-index: 1;
}

.event-card:hover .view-gallery-btn i {
  transform: translateX(4px);
}

/* Gallery Modal - Apple Inspired */
.gallery-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-modal.active {
  display: flex;
  opacity: 1;
  animation: modalFadeIn 0.4s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Modal Header - Apple Style */
.modal-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 32px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  background: linear-gradient(to bottom,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    transparent 100%);
  /* backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); */
}

.modal-title {
  color: white;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.modal-meta {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.938rem;
  margin-top: 6px;
  font-weight: 500;
}

.close-modal {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: white;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--revival-transition-base);
}

.close-modal:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.4);
}

.close-modal:active {
  transform: scale(0.95);
}

/* Gallery Container */
.gallery-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Main Image - Apple Style */
.main-image-wrapper {
  max-width: 90%;
  max-height: 85%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: imageZoomIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes imageZoomIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.main-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.3),
    0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Navigation Arrows - Apple Glassmorphism */
.gallery-nav {
  appearance: none;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--revival-transition-base);
  z-index: 10;
  font-size: 1.125rem;
}

.gallery-nav:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.08);
  border-color: rgba(255, 255, 255, 0.4);
}

.gallery-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.gallery-nav.prev {
  left: 48px;
}

.gallery-nav.next {
  right: 48px;
}

/* Thumbnail Strip - Apple Style */
.thumbnail-strip {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  max-width: 90%;
  overflow-x: auto;
  scrollbar-width: none;
  box-shadow: var(--revival-shadow-lg);
}

.thumbnail-strip::-webkit-scrollbar {
  display: none;
}

.thumbnail {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.4;
  transition: all var(--revival-transition-base);
  flex-shrink: 0;
  border: 2px solid transparent;
}

.thumbnail:hover {
  opacity: 0.7;
  transform: scale(1.05);
}

.thumbnail.active {
  opacity: 1;
  border-color: var(--revival-secondary);
  transform: scale(1.1);
  box-shadow:
    0 0 0 3px rgba(255, 191, 0, 0.2),
    var(--revival-shadow-md);
}

/* Image Counter - Apple Style */
.image-counter {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 250px);
  color: white;
  font-size: 0.938rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px 24px;
  border-radius: 100px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--revival-shadow-md);
}

/* Responsive Design - Apple Approach */
@media (max-width: 1440px) {
  .revival-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

@media (max-width: 1024px) {
  .revival-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .event-content {
    padding: 24px;
  }
}

@media (max-width: 768px) {
  .revival-section {
    padding: 60px 0;
  }

  .revival-section .teachings-header {
    margin-bottom: 48px;
  }

  .revival-section .teachings-title {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
  }

  .revival-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 16px;
  }

  .event-content {
    padding: 20px;
  }

  .event-title {
    font-size: 1.25rem;
  }

  .modal-header {
    padding: 24px;
  }

  .modal-title {
    font-size: 1.125rem;
  }

  .modal-meta {
    font-size: 0.875rem;
  }

  .gallery-nav {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }

  .gallery-nav.prev {
    left: 24px;
  }

  .gallery-nav.next {
    right: 24px;
  }

  .thumbnail-strip {
    bottom: 24px;
    padding: 10px 16px;
    gap: 10px;
  }

  .thumbnail {
    width: 52px;
    height: 52px;
    border-radius: 10px;
  }

  .main-image {
    max-height: 60vh;
    border-radius: 12px;
  }

  .image-counter {
    transform: translate(-50%, 180px);
    font-size: 0.875rem;
    padding: 8px 20px;
  }

  .close-modal {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .revival-section {
    padding: 48px 0;
  }

  .revival-section .teachings-header {
    margin-bottom: 36px;
  }

  .revival-grid {
    padding: 0 12px;
  }

  .event-content {
    padding: 18px;
  }

  .event-meta {
    gap: 8px;
  }

  .meta-item {
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  .view-gallery-btn {
    padding: 12px 28px;
    font-size: 0.875rem;
  }

  .modal-header {
    padding: 20px;
  }

  .gallery-nav {
    width: 44px;
    height: 44px;
  }

  .gallery-nav.prev {
    left: 16px;
  }

  .gallery-nav.next {
    right: 16px;
  }

  .thumbnail-strip {
    bottom: 20px;
    padding: 8px 12px;
    gap: 8px;
  }

  .thumbnail {
    width: 48px;
    height: 48px;
  }

  .image-counter {
    transform: translate(-50%, 140px);
  }
}
:root {
  /* Brand Colors - Aligned with website */
  --leaders-primary: #004799;
  --leaders-primary-light: #0066cc;
  --leaders-secondary: #ffbf00;
  --leaders-secondary-light: #ffd633;

  /* Neutrals */
  --leaders-white: #ffffff;
  --leaders-black: #000000;
  --leaders-gray-50: #f8fafc;
  --leaders-gray-100: #f1f5f9;
  --leaders-gray-200: #e2e8f0;
  --leaders-gray-300: #cbd5e1;
  --leaders-gray-600: #475569;
  --leaders-gray-700: #334155;
  --leaders-gray-800: #1e293b;

  /* Apple-Style Shadows */
  --leaders-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --leaders-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
  --leaders-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --leaders-shadow-lg: 0 10px 24px rgba(0, 0, 0, 0.1);
  --leaders-shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --leaders-transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --leaders-transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --leaders-transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Our Leaders Section */
#our-leaders {
  background: var(--leaders-gray-50);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 80px;
}

/* Section Header - Apple Style */
#our-leaders .section-header {
  text-align: center;
  margin-bottom: 64px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

#our-leaders .header-label {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(135deg, rgba(0, 71, 153, 0.08) 0%, rgba(255, 191, 0, 0.08) 100%);
  border: 1.5px solid rgba(0, 71, 153, 0.2);
  border-radius: 100px;
  color: var(--leaders-primary);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow: var(--leaders-shadow-sm);
}

#our-leaders .section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--leaders-gray-800);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

#our-leaders .section-title .highlight {
  background: linear-gradient(135deg, var(--leaders-primary) 0%, var(--leaders-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* Leader Card Container */
.leader-card {
  background: var(--leaders-white);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 48px;
  border: 1px solid var(--leaders-gray-200);
  box-shadow: var(--leaders-shadow-md);
  transition: all var(--leaders-transition-slow);
  opacity: 0;
  transform: translateY(30px);
  animation: cardFadeIn 0.8s ease forwards;
}

.leader-card:nth-child(odd) {
  animation-delay: 0.2s;
}

.leader-card:nth-child(even) {
  animation-delay: 0.4s;
}

@keyframes cardFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.leader-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--leaders-shadow-xl);
  border-color: var(--leaders-gray-300);
}

/* Image Wrapper - Apple Style */
.leader-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--leaders-shadow-lg);
  border: 1px solid var(--leaders-gray-200);
}

.leader-image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
    rgba(0, 71, 153, 0.03) 0%,
    rgba(255, 191, 0, 0.03) 100%);
  pointer-events: none;
  z-index: 1;
}

.leader-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.leader-card:hover .leader-image-wrapper img {
  transform: scale(1.05);
}

/* Leader Content */
.leader-content {
  padding: 0;
}

.leader-name {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--leaders-gray-800);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* Role Badge - Pill Style */
.leader-role {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--leaders-primary) 0%, var(--leaders-primary-light) 100%);
  color: white;
  border-radius: 100px;
  font-size: 0.813rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  box-shadow: var(--leaders-shadow-sm);
  transition: all var(--leaders-transition-base);
}

.leader-role i {
  font-size: 0.875rem;
}

.leader-role:hover {
  transform: translateY(-2px);
  box-shadow: var(--leaders-shadow-md);
}

/* Biography Text */
.leader-bio {
  font-size: 1rem;
  color: var(--leaders-gray-600);
  line-height: 1.75;
  margin-bottom: 28px;
}

/* Scripture Blockquote - Apple Style */
.leader-scripture {
  position: relative;
  padding: 24px 28px;
  background: linear-gradient(135deg,
    rgba(0, 71, 153, 0.04) 0%,
    rgba(255, 191, 0, 0.04) 100%);
  border-left: 4px solid var(--leaders-primary);
  border-radius: 12px;
  margin: 28px 0;
  font-style: italic;
  color: var(--leaders-gray-700);
  font-size: 0.938rem;
  line-height: 1.7;
  box-shadow: var(--leaders-shadow-xs);
  transition: all var(--leaders-transition-base);
}

.leader-scripture:hover {
  box-shadow: var(--leaders-shadow-sm);
  transform: translateX(4px);
}

.leader-scripture::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: -12px;
  font-size: 4rem;
  color: var(--leaders-primary);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
}

.scripture-text {
  position: relative;
  z-index: 1;
}

.scripture-reference {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 6px 14px;
  background: var(--leaders-white);
  border: 1px solid var(--leaders-gray-200);
  border-radius: 100px;
  font-size: 0.813rem;
  font-weight: 600;
  font-style: normal;
  color: var(--leaders-primary);
  box-shadow: var(--leaders-shadow-xs);
}

.scripture-reference i {
  font-size: 0.75rem;
}

/* Joint Ministry Section */
.joint-ministry-text {
  margin-top: 40px;
  padding: 28px;
  background: var(--leaders-white);
  border: 1px solid var(--leaders-gray-200);
  border-radius: 16px;
  box-shadow: var(--leaders-shadow-sm);
  position: relative;
  overflow: hidden;
}

.joint-ministry-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    var(--leaders-primary) 0%,
    var(--leaders-secondary) 100%);
}

.joint-ministry-text p {
  font-size: 1rem;
  color: var(--leaders-gray-600);
  line-height: 1.75;
  margin-bottom: 0;
}

/* Shalom Closing */
.shalom-closing {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 14px 28px;
  background: linear-gradient(135deg,
    rgba(255, 191, 0, 0.12) 0%,
    rgba(255, 191, 0, 0.06) 100%);
  border: 2px solid var(--leaders-secondary);
  border-radius: 100px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--leaders-gray-800);
  letter-spacing: 0.5px;
  box-shadow: var(--leaders-shadow-sm);
  transition: all var(--leaders-transition-base);
}

.shalom-closing i {
  color: var(--leaders-secondary);
  font-size: 1rem;
}

.shalom-closing:hover {
  transform: translateY(-2px);
  box-shadow: var(--leaders-shadow-md);
}

/* Stats/Info Pills */
.leader-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--leaders-gray-50);
  border: 1px solid var(--leaders-gray-200);
  border-radius: 100px;
  font-size: 0.875rem;
  color: var(--leaders-gray-700);
  font-weight: 500;
  transition: all var(--leaders-transition-fast);
}

.stat-pill:hover {
  background: var(--leaders-gray-100);
  border-color: var(--leaders-gray-300);
}

.stat-pill i {
  color: var(--leaders-secondary);
  font-size: 0.875rem;
}

/* Responsive Design - Apple Approach */
@media (max-width: 1024px) {
  .leader-card {
    padding: 32px;
  }

  .leader-name {
    font-size: clamp(1.5rem, 3vw, 2rem);
  }
}

@media (max-width: 992px) {
  #our-leaders {
    padding: 60px 0;
  }

  #our-leaders .section-header {
    margin-bottom: 48px;
  }

  .leader-card {
    padding: 28px;
    margin-bottom: 36px;
  }

  .leader-content {
    text-align: center;
    margin-top: 32px;
  }

  .leader-image-wrapper {
    margin: 0 auto;
    max-width: 400px;
  }

  .leader-role,
  .scripture-reference,
  .shalom-closing {
    margin-left: auto;
    margin-right: auto;
  }

  .leader-stats {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  #our-leaders {
    padding: 48px 0;
  }

  #our-leaders .section-title {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
  }

  .leader-card {
    padding: 24px;
    margin-bottom: 32px;
  }

  .leader-name {
    font-size: 1.5rem;
  }

  .leader-scripture {
    padding: 20px 24px;
  }

  .joint-ministry-text {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  #our-leaders {
    padding: 40px 0;
  }

  .leader-card {
    padding: 20px;
    border-radius: 20px;
  }

  .leader-image-wrapper {
    border-radius: 16px;
  }

  .leader-role {
    font-size: 0.75rem;
    padding: 8px 16px;
  }

  .leader-bio {
    font-size: 0.938rem;
  }

  .leader-scripture {
    padding: 18px 20px;
    font-size: 0.875rem;
  }

  .scripture-reference {
    font-size: 0.75rem;
    padding: 5px 12px;
  }

  .joint-ministry-text {
    padding: 20px;
  }

  .shalom-closing {
    font-size: 1rem;
    padding: 12px 24px;
  }

  .stat-pill {
    font-size: 0.813rem;
    padding: 8px 14px;
  }
}

/* Smooth Scroll Behavior */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
:root {
  /* Brand Colors - Aligned with website */
  --salvation-primary: #004799;
  --salvation-primary-light: #0066cc;
  --salvation-secondary: #ffbf00;
  --salvation-secondary-light: #ffd633;

  /* Neutrals */
  --salvation-white: #ffffff;
  --salvation-black: #000000;
  --salvation-gray-50: #f8fafc;
  --salvation-gray-100: #f1f5f9;
  --salvation-gray-200: #e2e8f0;
  --salvation-gray-300: #cbd5e1;
  --salvation-gray-600: #475569;
  --salvation-gray-700: #334155;
  --salvation-gray-800: #1e293b;

  /* Apple-Style Shadows */
  --salvation-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --salvation-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
  --salvation-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --salvation-shadow-lg: 0 10px 24px rgba(0, 0, 0, 0.1);
  --salvation-shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --salvation-transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --salvation-transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --salvation-transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Salvation Prayer Section */
#salvation-prayer-section {
  background: linear-gradient(180deg,
    var(--salvation-white) 0%,
    var(--salvation-gray-50) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

#salvation-prayer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%,
    rgba(0, 71, 153, 0.03) 0%,
    transparent 70%);
  pointer-events: none;
}

/* Section Header - Apple Style */
#salvation-prayer-section .salvation-header {
  text-align: center;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  position: relative;
  z-index: 1;
}

#salvation-prayer-section .salvation-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: linear-gradient(135deg, rgba(0, 71, 153, 0.08) 0%, rgba(255, 191, 0, 0.08) 100%);
  border: 1.5px solid rgba(0, 71, 153, 0.2);
  border-radius: 100px;
  color: var(--salvation-primary);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow: var(--salvation-shadow-sm);
}

#salvation-prayer-section .salvation-label i {
  color: var(--salvation-secondary);
  font-size: 0.875rem;
}

#salvation-prayer-section .salvation-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--salvation-gray-800);
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

#salvation-prayer-section .salvation-subtitle {
  font-size: 1.125rem;
  color: var(--salvation-gray-600);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

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

/* Prayer Card - Apple Inspired */
.prayer-card {
  max-width: 1100px;
  margin: 0 auto 48px;
  background: var(--salvation-white);
  border-radius: 28px;
  padding: 48px;
  border: 1px solid var(--salvation-gray-200);
  box-shadow: var(--salvation-shadow-sm);
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: cardZoomIn 0.8s ease 0.3s forwards;
}

@keyframes cardZoomIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.prayer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg,
    var(--salvation-primary) 0%,
    var(--salvation-secondary) 100%);
  border-radius: 28px 28px 0 0;
}

.prayer-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
    rgba(0, 71, 153, 0.02) 0%,
    rgba(255, 191, 0, 0.02) 100%);
  pointer-events: none;
  border-radius: 28px;
}

/* Quote Marks - Apple Style */
.prayer-quote-mark {
  position: absolute;
  top: 40px;
  left: 40px;
  font-size: 8rem;
  font-family: Georgia, serif;
  background: linear-gradient(135deg, var(--salvation-primary) 0%, var(--salvation-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.1;
  line-height: 1;
  z-index: 0;
}

/* Prayer Text */
.prayer-text {
  position: relative;
  z-index: 1;
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--salvation-gray-700);
  text-align: center;
  margin: 0;
  font-weight: 400;
}

.prayer-text strong,
.prayer-text .highlight {
  color: var(--salvation-primary);
  font-weight: 600;
}

/* AMEN Badge - Special Styling */
.amen-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding: 16px 36px;
  background: linear-gradient(135deg,
    rgba(255, 191, 0, 0.15) 0%,
    rgba(255, 191, 0, 0.08) 100%);
  border: 2px solid var(--salvation-secondary);
  border-radius: 100px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--salvation-gray-800);
  letter-spacing: 1px;
  box-shadow: var(--salvation-shadow-md);
  transition: all var(--salvation-transition-base);
  position: relative;
  z-index: 1;
}

.amen-badge i {
  color: var(--salvation-secondary);
  font-size: 1.25rem;
}

.amen-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--salvation-shadow-lg);
}

/* Action Buttons */

/* Next Steps Section */
.next-steps-section {
  max-width: 1200px;
  margin: 48px auto 0;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.6s forwards;
}

.next-steps-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--salvation-gray-800);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.next-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.next-step-card {
  background: var(--salvation-white);
  border: 1px solid var(--salvation-gray-200);
  border-radius: 20px;
  padding: 28px;
  text-align: center;
  transition: all var(--salvation-transition-base);
  box-shadow: var(--salvation-shadow-sm);
}

.next-step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--salvation-shadow-lg);
  border-color: var(--salvation-gray-300);
}

.next-step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg,
    rgba(0, 71, 153, 0.1) 0%,
    rgba(255, 191, 0, 0.1) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--salvation-primary);
  box-shadow: var(--salvation-shadow-sm);
  transition: all var(--salvation-transition-base);
}

.next-step-card:hover .next-step-icon {
  transform: scale(1.1);
  box-shadow: var(--salvation-shadow-md);
}

.next-step-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--salvation-gray-800);
  margin-bottom: 12px;
}

.next-step-description {
  font-size: 0.938rem;
  color: var(--salvation-gray-600);
  line-height: 1.6;
  margin-bottom: 20px;
}

.next-step-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--salvation-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all var(--salvation-transition-fast);
}

.next-step-link:hover {
  gap: 10px;
  color: var(--salvation-primary-light);
}

.next-step-link i {
  font-size: 0.75rem;
  transition: transform var(--salvation-transition-base);
}

.next-step-link:hover i {
  transform: translateX(4px);
}

/* Contact CTA */
.contact-cta {
  max-width: 850px;
  margin: 48px auto 0;
  background: linear-gradient(135deg,
    rgba(0, 71, 153, 0.05) 0%,
    rgba(255, 191, 0, 0.05) 100%);
  border: 1px solid var(--salvation-gray-200);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.9s forwards;
}

.contact-cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--salvation-gray-800);
  margin-bottom: 12px;
}

.contact-cta-text {
  font-size: 1rem;
  color: var(--salvation-gray-600);
  line-height: 1.6;
  margin-bottom: 24px;
}

.contact-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--salvation-primary) 0%, var(--salvation-primary-light) 100%);
  color: white;
  text-decoration: none;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: var(--salvation-shadow-md);
  transition: all var(--salvation-transition-base);
  position: relative;
  overflow: hidden;
}

.contact-cta-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.contact-cta-button:active::before {
  width: 300px;
  height: 300px;
}

.contact-cta-button:hover {
  transform: translateY(-4px);
  box-shadow: var(--salvation-shadow-xl);
  color: white;
}

.contact-cta-button i {
  position: relative;
  z-index: 1;
}

.contact-cta-button span {
  position: relative;
  z-index: 1;
}

/* Responsive Design - Apple Approach */
@media (max-width: 1024px) {
  #salvation-prayer-section {
    padding: 60px 0;
  }

  .prayer-card {
    padding: 40px;
  }

  .prayer-text {
    font-size: 1.125rem;
  }
}

@media (max-width: 768px) {
  #salvation-prayer-section {
    padding: 48px 0;
  }

  #salvation-prayer-section .salvation-title {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
  }

  .prayer-card {
    padding: 32px 24px;
    border-radius: 24px;
  }

  .prayer-quote-mark {
    font-size: 6rem;
    top: 30px;
    left: 20px;
  }

  .prayer-text {
    font-size: 1.063rem;
  }

  .amen-badge {
    font-size: 1.25rem;
    padding: 14px 32px;
  }

  .next-steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-cta {
    padding: 32px 24px;
  }
}

@media (max-width: 576px) {
  #salvation-prayer-section {
    padding: 40px 0;
  }

  .prayer-card {
    padding: 28px 20px;
    border-radius: 20px;
  }

  .prayer-quote-mark {
    font-size: 4rem;
    top: 20px;
    left: 15px;
  }

  .prayer-text {
    font-size: 1rem;
    line-height: 1.7;
  }

  .amen-badge {
    font-size: 1.125rem;
    padding: 12px 28px;
  }

.next-step-card {
    padding: 24px 20px;
  }

  .contact-cta {
    padding: 28px 20px;
  }

  .contact-cta-title {
    font-size: 1.25rem;
  }
}

/* Print Styles */
@media print {
  .next-steps-section,
  .contact-cta {
    display: none;
  }

  .prayer-card {
    box-shadow: none;
    border: 2px solid #000;
  }
}

/* Smooth Scroll Behavior */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  to {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
}
:root {
  /* Brand Colors - Aligned with website */
  --churches-primary: #004799;
  --churches-primary-light: #0066cc;
  --churches-secondary: #ffbf00;
  --churches-secondary-light: #ffd633;

  /* Neutrals */
  --churches-white: #ffffff;
  --churches-black: #000000;
  --churches-gray-50: #f8fafc;
  --churches-gray-100: #f1f5f9;
  --churches-gray-200: #e2e8f0;
  --churches-gray-300: #cbd5e1;
  --churches-gray-600: #475569;
  --churches-gray-700: #334155;
  --churches-gray-800: #1e293b;

  /* Apple-Style Shadows */
  --churches-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --churches-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
  --churches-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --churches-shadow-lg: 0 10px 24px rgba(0, 0, 0, 0.1);
  --churches-shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --churches-transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --churches-transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --churches-transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Churches Section */
#global-churches-section {
  background: var(--churches-white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* Section Header - Apple Style */
#global-churches-section .churches-header {
  text-align: center;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

#global-churches-section .churches-label {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(135deg, rgba(0, 71, 153, 0.08) 0%, rgba(255, 191, 0, 0.08) 100%);
  border: 1.5px solid rgba(0, 71, 153, 0.2);
  border-radius: 100px;
  color: var(--churches-primary);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow: var(--churches-shadow-sm);
}

#global-churches-section .churches-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--churches-gray-800);
  margin: 0 0 32px 0;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

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

/* Map Container - Apple Style */
#church-map {
  height: 600px;
  width: 100%;
  border-radius: 24px;
  border: 1px solid var(--churches-gray-200);
  box-shadow: var(--churches-shadow-lg);
  margin-bottom: 48px;
  overflow: hidden;
  position: relative;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.4s forwards;
}

#church-map::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
    rgba(0, 71, 153, 0.02) 0%,
    rgba(255, 191, 0, 0.02) 100%);
  pointer-events: none;
  z-index: 1000;
  border-radius: 24px;
}

/* Custom Map Controls - Apple Style */
.leaflet-control-zoom {
  border: none !important;
  box-shadow: var(--churches-shadow-md) !important;
  border-radius: 12px !important;
  overflow: hidden;
}

.leaflet-control-zoom a {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--churches-gray-200) !important;
  color: var(--churches-primary) !important;
  font-weight: 700;
  transition: all var(--churches-transition-fast) !important;
}

.leaflet-control-zoom a:hover {
  background: var(--churches-primary) !important;
  color: white !important;
  transform: scale(1.05);
}

/* Map Popup - Apple Style */
.leaflet-popup-content-wrapper {
  background: var(--churches-white);
  border-radius: 16px;
  box-shadow: var(--churches-shadow-xl);
  border: 1px solid var(--churches-gray-200);
  padding: 0;
  overflow: hidden;
}

.leaflet-popup-tip {
  background: var(--churches-white);
  border: 1px solid var(--churches-gray-200);
  box-shadow: var(--churches-shadow-md);
}

.church-popup {
  padding: 24px;
  max-width: 320px;
}

.church-popup h3 {
  margin: 0 0 16px 0;
  color: var(--churches-gray-800);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--churches-gray-100);
}

.church-popup p {
  margin: 12px 0;
  color: var(--churches-gray-600);
  font-size: 0.938rem;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.church-popup p strong {
  color: var(--churches-gray-700);
  font-weight: 600;
  min-width: 90px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.church-popup p strong i {
  color: var(--churches-primary);
  font-size: 0.875rem;
}

.popup-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--churches-gray-100);
}

.map-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--churches-primary) 0%, var(--churches-primary-light) 100%);
  color: white;
  text-decoration: none;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--churches-transition-base);
  box-shadow: var(--churches-shadow-sm);
  position: relative;
  overflow: hidden;
}

.map-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.map-btn:active::before {
  width: 300px;
  height: 300px;
}

.map-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--churches-shadow-md);
  color: white;
}

.map-btn i {
  font-size: 0.875rem;
  position: relative;
  z-index: 1;
}

.map-btn span {
  position: relative;
  z-index: 1;
}

.map-btn:last-child {
  background: var(--churches-white);
  color: var(--churches-primary);
  border: 1.5px solid var(--churches-primary);
}

.map-btn:last-child:hover {
  background: var(--churches-gray-50);
}

/* Church List Container */
#church-list-container {
  margin-top: 48px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.6s forwards;
}

.church-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

/* Church Item Card - Apple Style */
.church-item {
  background: var(--churches-white);
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--churches-gray-200);
  box-shadow: var(--churches-shadow-md);
  cursor: pointer;
  transition: all var(--churches-transition-base);
  position: relative;
  overflow: hidden;
}

.church-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    var(--churches-primary) 0%,
    var(--churches-secondary) 100%);
  transform: scaleX(0);
  transition: transform var(--churches-transition-base);
}

.church-item:hover::before {
  transform: scaleX(1);
}

.church-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--churches-shadow-xl);
  border-color: var(--churches-gray-300);
}

.church-item h4 {
  margin: 0 0 16px 0;
  color: var(--churches-gray-800);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.church-item h4 i {
  color: var(--churches-primary);
  font-size: 1.125rem;
}

.church-info-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--churches-gray-50);
  border: 1px solid var(--churches-gray-200);
  border-radius: 12px;
  margin-bottom: 10px;
  font-size: 0.875rem;
  color: var(--churches-gray-700);
  transition: all var(--churches-transition-fast);
}

.church-info-pill:hover {
  background: var(--churches-gray-100);
  border-color: var(--churches-gray-300);
}

.church-info-pill i {
  color: var(--churches-primary);
  font-size: 0.875rem;
  min-width: 16px;
}

.church-info-pill strong {
  font-weight: 600;
  color: var(--churches-gray-800);
  min-width: 80px;
}

/* Service Time Badge */
.service-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: linear-gradient(135deg,
    rgba(255, 191, 0, 0.12) 0%,
    rgba(255, 191, 0, 0.06) 100%);
  border: 1.5px solid var(--churches-secondary);
  border-radius: 100px;
  margin: 16px 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--churches-gray-800);
}

.service-time-badge i {
  color: var(--churches-secondary);
  font-size: 0.875rem;
}

/* Church Actions */
.church-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--churches-gray-100);
}

.list-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--churches-primary) 0%, var(--churches-primary-light) 100%);
  color: white;
  text-decoration: none;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--churches-transition-base);
  box-shadow: var(--churches-shadow-sm);
  position: relative;
  overflow: hidden;
}

.list-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.list-btn:active::before {
  width: 300px;
  height: 300px;
}

.list-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--churches-shadow-md);
  color: white;
}

.list-btn i {
  font-size: 0.875rem;
  position: relative;
  z-index: 1;
}

.list-btn span {
  position: relative;
  z-index: 1;
}

.list-btn:last-child {
  background: var(--churches-white);
  color: var(--churches-primary);
  border: 1.5px solid var(--churches-primary);
}

.list-btn:last-child:hover {
  background: var(--churches-gray-50);
}

/* Country Flag Badge */
.country-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--churches-gray-50);
  border: 1px solid var(--churches-gray-200);
  border-radius: 100px;
  font-size: 0.813rem;
  font-weight: 600;
  color: var(--churches-gray-700);
  margin-bottom: 12px;
}

/* Responsive Design - Apple Approach */
@media (max-width: 1024px) {
  #global-churches-section {
    padding: 60px 0;
  }

  #church-map {
    height: 500px;
  }

  .church-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  #global-churches-section {
    padding: 48px 0;
  }

  #global-churches-section .churches-title {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
    margin-bottom: 24px;
  }

  #church-map {
    height: 400px;
    border-radius: 20px;
    margin-bottom: 36px;
  }

  .church-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .church-item {
    padding: 24px;
  }

  .church-item h4 {
    font-size: 1.25rem;
  }

  .church-popup {
    padding: 20px;
  }

  .church-popup h3 {
    font-size: 1.125rem;
  }

  .popup-actions,
  .church-actions {
    flex-direction: column;
  }

  .map-btn,
  .list-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  #global-churches-section {
    padding: 40px 0;
  }

  #church-map {
    height: 350px;
    border-radius: 16px;
  }

  .church-item {
    padding: 20px;
    border-radius: 16px;
  }

  .church-item h4 {
    font-size: 1.125rem;
  }

  .church-info-pill {
    padding: 8px 14px;
    font-size: 0.813rem;
  }

  .service-time-badge {
    padding: 8px 16px;
    font-size: 0.813rem;
  }

  .map-btn,
  .list-btn {
    padding: 10px 18px;
    font-size: 0.813rem;
  }
}

/* Smooth Scroll Behavior */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
