/* ==========================================
   DEDICATED LIVE BROADCAST PAGE STYLES
   ========================================== */

.live-page-section {
  padding: 160px 0 160px 0;
  background-color: var(--surface);
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.live-page-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 40px auto;
  padding-top: 10px;
}

.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(229, 9, 20, 0.1);
  color: #e50914;
  border: 1px solid rgba(229, 9, 20, 0.3);
  padding: 6px 16px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.live-dot-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #e50914;
  box-shadow: 0 0 10px #e50914;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 16px #e50914; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.live-page-heading {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.live-page-subtext {
  font-size: 16px;
  color: var(--on-surface-variant);
  line-height: 1.6;
}

/* Player Container */
.live-player-container {
  max-width: 900px;
  margin: 0 auto;
  background-color: #000000;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(140, 113, 111, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
}

.live-player-ratio {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 70vh;
  max-height: 580px;
  min-height: 380px;
  background-color: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.live-player-ratio iframe {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  border: 0;
  display: block;
}

/* Quick Actions Bar below Player */
.live-actions-bar {
  max-width: 1100px;
  margin: 24px auto 48px;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(140, 113, 111, 0.1);
  flex-wrap: wrap;
  gap: 20px;
}

.live-info-left {
  flex: 1;
  min-width: 280px;
}

.live-theme-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.live-stream-title {
  font-size: 22px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.live-watchword {
  font-size: 14px;
  color: var(--on-surface-variant);
  font-style: italic;
  margin: 0;
}

.live-buttons-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-live-social {
  padding: 12px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-live-social.fb-btn {
  background-color: #1877f2;
  color: #ffffff;
}

.btn-live-social.fb-btn:hover {
  background-color: #166fe5;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.3);
}

.btn-live-give {
  padding: 12px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  background-color: var(--primary);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-live-give:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(112, 2, 16, 0.3);
}

/* Service Details Grid */
.live-details-grid {
  max-width: 1100px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.live-detail-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(140, 113, 111, 0.08);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--transition-smooth);
}

.live-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: rgba(112, 2, 16, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.detail-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.detail-content p {
  font-size: 14px;
  color: var(--on-surface-variant);
  line-height: 1.5;
  margin-bottom: 6px;
}

.detail-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.detail-link:hover {
  text-decoration: underline;
  transform: translateX(3px);
}

/* Responsive */
@media (max-width: 992px) {
  .live-page-section {
    padding: 120px 0 100px 0;
  }
  .live-details-grid {
    grid-template-columns: 1fr;
  }
  .live-page-heading {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .live-player-container {
    border-radius: 12px;
    margin: 0;
    background-color: #000000;
    overflow: hidden;
  }

  .live-player-ratio {
    position: relative;
    width: 100%;
    height: 0;
    min-height: 0;
    max-height: none;
    padding-bottom: 56.25%; /* Clean 16:9 box wrapping Facebook video player tightly */
  }

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

  .live-actions-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    margin: 20px 0 36px;
  }
  .live-buttons-right {
    width: 100%;
  }
  .btn-live-social,
  .btn-live-give {
    flex: 1;
    justify-content: center;
  }
}
