/* ===========================
   TruthPoint Church - Watch Page
   Inspired by second.org/watch
   =========================== */

/* --- Watch Hero (Full-width featured video) --- */
.watch-hero {
  position: relative;
  margin-top: var(--header-height);
  background: var(--color-dark);
  overflow: hidden;
}

.watch-hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  min-height: 520px;
}

.watch-hero-video {
  position: relative;
  background: #000;
  display: flex;
  align-items: center;
}

.watch-hero-video a {
  display: block;
  width: 100%;
  position: relative;
}

.watch-hero-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  transition: opacity 0.4s ease;
}

.watch-hero-video a:hover img {
  opacity: 0.85;
}

.watch-hero-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(8, 145, 178, 0.4);
}

.watch-hero-video a:hover .watch-hero-play {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 12px 40px rgba(8, 145, 178, 0.6);
}

.watch-hero-play svg {
  margin-left: 4px;
}

.watch-hero-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 48px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
}

.watch-hero-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.watch-hero-live-dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(8, 145, 178, 0.6); }
  50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(8, 145, 178, 0); }
}

.watch-hero-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 16px;
}

.watch-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.watch-hero-meta span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 6px;
}

.watch-hero-meta svg {
  opacity: 0.7;
}

.watch-hero-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 440px;
}

.watch-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* --- Section Styles --- */
.watch-section {
  padding: 72px 0;
}

.watch-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
}

.watch-section-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-dark);
}

.watch-section-link {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
}

.watch-section-link:hover {
  gap: 10px;
}

/* --- Recently Added (Horizontal Scroll) --- */
.watch-carousel-wrap {
  position: relative;
}

.watch-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
}

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

.watch-carousel .watch-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
}

/* --- Video Cards --- */
.watch-card {
  position: relative;
  transition: transform 0.3s ease;
}

.watch-card:hover {
  transform: translateY(-6px);
}

.watch-card-thumb {
  display: block;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  margin-bottom: 14px;
}

.watch-card-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.watch-card:hover .watch-card-thumb img {
  transform: scale(1.04);
  opacity: 0.9;
}

.watch-card-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.5) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.watch-card:hover .watch-card-thumb::after {
  opacity: 1;
}

.watch-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 2;
}

.watch-card:hover .watch-card-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.watch-card-play svg {
  margin-left: 3px;
  color: var(--color-dark);
}

.watch-card-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  z-index: 2;
}

.watch-card-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 4px;
  line-height: 1.35;
}

.watch-card-title a {
  color: inherit;
  transition: color 0.3s ease;
}

.watch-card-title a:hover {
  color: var(--color-primary);
}

.watch-card-meta {
  font-size: 0.82rem;
  color: var(--color-gray);
  display: flex;
  align-items: center;
  gap: 8px;
}

.watch-card-meta .dot {
  width: 3px;
  height: 3px;
  background: var(--color-gray);
  border-radius: 50%;
  flex-shrink: 0;
}

/* --- All Messages Grid --- */
.watch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* --- Search / Find Section --- */
.watch-find {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.watch-find-text {
  flex: 1;
}

.watch-find-text h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.watch-find-text p {
  font-size: 1rem;
  color: var(--color-gray);
  line-height: 1.6;
}

.watch-find-actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.watch-find-actions .btn {
  white-space: nowrap;
}

/* --- Subscribe Banner --- */
.watch-subscribe {
  background: var(--color-dark);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.watch-subscribe::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(8, 145, 178, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.watch-subscribe .container {
  position: relative;
  z-index: 1;
}

.watch-subscribe h2 {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
}

.watch-subscribe p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.watch-subscribe-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-youtube {
  background: #ff0000;
  color: #fff;
  border-color: #ff0000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-youtube:hover {
  background: #cc0000;
  border-color: #cc0000;
}

/* --- Live Badge in Nav Area --- */
.watch-schedule-bar {
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.watch-schedule-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 12px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.watch-schedule-inner span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.watch-schedule-inner svg {
  opacity: 0.6;
}

.watch-schedule-inner strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .watch-hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .watch-hero-info {
    padding: 40px 32px;
  }

  .watch-hero-title {
    font-size: 2rem;
  }

  .watch-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .watch-find {
    flex-direction: column;
    padding: 40px 32px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .watch-hero-info {
    padding: 32px 24px;
  }

  .watch-hero-title {
    font-size: 1.65rem;
  }

  .watch-hero-meta {
    flex-direction: column;
    gap: 8px;
  }

  .watch-hero-actions {
    flex-direction: column;
  }

  .watch-hero-actions .btn {
    text-align: center;
  }

  .watch-section {
    padding: 48px 0;
  }

  .watch-section-title {
    font-size: 1.35rem;
  }

  .watch-carousel .watch-card {
    flex: 0 0 280px;
  }

  .watch-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .watch-find {
    padding: 32px 24px;
  }

  .watch-subscribe h2 {
    font-size: 1.65rem;
  }

  .watch-subscribe {
    padding: 56px 0;
  }
}
