/* =========================================================
   LA PERLA 890 AM — Sección "Videos y Predicaciones"
   Contenido real del canal de YouTube de Impacto Media,
   actualizado automáticamente (sin mantenimiento manual).
   ========================================================= */

.lp-videos-section {
  background-color: #060606;
  padding: 100px 0;
  overflow: hidden;
}

.lp-videos-heading {
  text-align: center;
  margin-bottom: 50px;
}

.lp-videos-heading p {
  color: var(--lp-gold);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}

.lp-videos-heading h2 {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.lp-videos-heading .lp-videos-sub {
  color: var(--lp-text-dim);
  font-size: 15px;
  max-width: 560px;
  margin: 0 auto;
}

.lp-yt-channel-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 8px 18px;
  border-radius: 30px;
  border: 1px solid var(--lp-border);
  color: var(--lp-text-dim);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease;
}

.lp-yt-channel-badge:hover {
  border-color: var(--lp-gold);
  color: var(--lp-gold);
}

.lp-yt-channel-badge i {
  color: #ff0000;
  font-size: 16px;
}

/* ---------------------------------------------------------
   Rolling ticker ("roll bar")
--------------------------------------------------------- */
.lp-ticker {
  border-top: 1px solid var(--lp-border);
  border-bottom: 1px solid var(--lp-border);
  background: linear-gradient(90deg, rgba(212,175,55,0.06), rgba(212,175,55,0.02));
  padding: 12px 0;
  margin-bottom: 56px;
  white-space: nowrap;
}

.lp-ticker-track {
  display: inline-flex;
  align-items: center;
  animation: lp-ticker-scroll 28s linear infinite;
}

.lp-ticker:hover .lp-ticker-track {
  animation-play-state: paused;
}

.lp-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--lp-text-dim);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
  padding: 0 28px;
}

.lp-ticker-item strong {
  color: var(--lp-gold-light);
}

.lp-ticker-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lp-gold);
  flex-shrink: 0;
}

@keyframes lp-ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------------------------------------------------------
   Rollbar de videos de YouTube (carrusel continuo)
   Se llena dinámicamente vía js/youtube-feed.js; lo de abajo
   solo define cómo se ve y cómo se desplaza.
--------------------------------------------------------- */
.lp-yt-roll {
  overflow: hidden;
  margin-bottom: 50px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.lp-yt-roll-track {
  display: inline-flex;
  align-items: stretch;
  gap: 22px;
  width: max-content;
  animation: lp-yt-roll-scroll 60s linear infinite;
}

.lp-yt-roll:hover .lp-yt-roll-track {
  animation-play-state: paused;
}

@keyframes lp-yt-roll-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.lp-yt-card {
  flex: 0 0 260px;
  display: block;
  background: linear-gradient(160deg, #121212 0%, #000 100%);
  border: 1px solid var(--lp-border);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
  transition: transform .25s ease, border-color .25s ease;
}

.lp-yt-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.4);
}

.lp-yt-thumb-wrap {
  position: relative;
  display: block;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #000;
  overflow: hidden;
}

.lp-yt-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp-yt-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.92);
  color: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.92;
  transition: transform .2s ease, opacity .2s ease;
}

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

.lp-yt-card-title {
  display: block;
  padding: 14px 16px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------------------------------------------------------
   Responsive
--------------------------------------------------------- */
@media (max-width: 991px) {
  .lp-videos-section { padding: 70px 0; }
}

@media (max-width: 575px) {
  .lp-videos-section { padding: 56px 0; }
  .lp-videos-heading { margin-bottom: 34px; }
  .lp-videos-heading h2 { font-size: 24px; }
  .lp-videos-heading .lp-videos-sub { font-size: 13.5px; }
  .lp-ticker { margin-bottom: 36px; padding: 10px 0; }
  .lp-ticker-item { font-size: 11.5px; padding: 0 18px; }
  .lp-yt-roll { margin-bottom: 34px; }
  .lp-yt-roll-track { gap: 14px; }
  .lp-yt-card { flex: 0 0 200px; }
  .lp-yt-card-title { font-size: 12px; padding: 10px 12px; }
  .lp-videos-cta a { padding: 12px 24px; font-size: 13px; }
}

/* ---------------------------------------------------------
   CTA — subscribe / full channel
--------------------------------------------------------- */
.lp-videos-cta {
  text-align: center;
  margin-top: 50px;
}

.lp-videos-cta a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--lp-gold);
  color: #0a0a0a;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .3px;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  transition: background .2s ease, transform .15s ease;
}

.lp-videos-cta a:hover {
  background: var(--lp-gold-light);
  transform: translateY(-2px);
  color: #0a0a0a;
}
