/* videos.css — saját mp4 lejátszó (js/videos.js) + Splide influencer carousel,
   az oldal palettájához igazítva. A lejátszó mérete (360/280/100%) a style.css-ben van. */

/* ─── LEJÁTSZÓ ─────────────────────────────────────── */
.lci-video {
  position: relative;
  aspect-ratio: 9 / 16;
  background: #000;
  overflow: hidden;
}

.lci-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

/* "Első reakció" címke a videó fölött maradjon */
.short-video-label { z-index: 15; }

.lci-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease;
}
.lci-video-overlay:hover { background: rgba(28, 17, 12, 0.18); }
.lci-video.is-playing .lci-video-overlay { display: none; }

.lci-play-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 250, 243, 0.95);
  color: var(--earth-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  transition: transform 0.2s ease;
}
.lci-video-overlay:hover .lci-play-icon { transform: scale(1.08); }

.lci-video-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
  z-index: 12;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.lci-video.is-playing:hover .lci-video-controls {
  opacity: 1;
  pointer-events: auto;
}
/* Érintőképernyőn nincs hover → lejátszás közben mindig látszik */
@media (hover: none) {
  .lci-video.is-playing .lci-video-controls { opacity: 1; pointer-events: auto; }
}

.lci-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}
.lci-btn:hover { background: rgba(255, 255, 255, 0.3); transform: scale(1.05); }

.lci-video:fullscreen { aspect-ratio: auto; width: 100vw; height: 100vh; }
.lci-video:fullscreen video { object-fit: contain; }

/* ─── INFLUENCER CAROUSEL ──────────────────────────── */
.influencer-splide { margin-top: 56px; position: relative; }

/* A track (overflow: hidden) levágná a rács nagy, 60px-es árnyékát → itt
   kisebb árnyék, és pont annyi hely alatta, hogy ne legyen éles vágás. */
.influencer-splide .splide__track { padding: 6px 0 32px; }
.influencer-splide .influencer-card { box-shadow: 0 10px 22px rgba(28, 17, 12, 0.14); }

.influencer-splide .splide__arrow {
  position: absolute;
  top: calc(50% - 30px);
  transform: translateY(-50%);
  z-index: 20;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--earth-deep);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(28, 17, 12, 0.3);
  transition: background 0.2s ease;
}
.influencer-splide .splide__arrow:hover { background: var(--teal-deep); }
.influencer-splide .splide__arrow:disabled { opacity: 0.3; cursor: default; }
.influencer-splide .splide__arrow svg { width: 16px; height: 16px; fill: currentColor; }
.influencer-splide .splide__arrow--prev { left: -23px; }
.influencer-splide .splide__arrow--prev svg { transform: scaleX(-1); }
.influencer-splide .splide__arrow--next { right: -23px; }

.influencer-splide .splide__pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.influencer-splide .splide__pagination__page {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--sand-dark);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.influencer-splide .splide__pagination__page.is-active {
  background: var(--teal-deep);
  transform: scale(1.3);
}

/* ─── RESZPONZÍV (a style.css töréspontjai szerint) ── */
@media (max-width: 768px) {
  .influencer-splide { margin-top: 36px; }
}
