/* ============================================================
   DTV Mobile Carousel  (dtv-mobile-carousel.css)
   Sadece mobil ekranda çalışan kaydırmalı son 5 video oynatıcısı
   ============================================================ */

/* Wrapper */
.dtv-mc {
  position: relative;
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  margin: 0 0 16px;
  background: transparent;
}

/* Track: slaytlar yan yana */
.dtv-mc__track {
  display: flex;
  will-change: transform;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Her slayt */
.dtv-mc__slide {
  flex: 0 0 100%;
  width: 100%;
  padding: 0 2px;
  box-sizing: border-box;
}

/* Kapak resmi alanı */
.dtv-mc__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f1c26;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.22);
}

.dtv-mc__poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.dtv-mc__thumb:hover .dtv-mc__poster {
  transform: scale(1.02);
}

.dtv-mc__poster--blank {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #15344d 0%, #1e4a6e 100%);
}

/* Oynat düğmesi */
.dtv-mc__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.18s ease;
  z-index: 2;
}

.dtv-mc__play svg {
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.6));
  transition: transform 0.18s ease, filter 0.18s ease;
}

.dtv-mc__thumb:hover .dtv-mc__play svg,
.dtv-mc__play:focus svg {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.75));
}

/* Sağ ve Sol Ok Butonları */
.dtv-mc__arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(21, 52, 77, 0.75);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  padding: 0;
  transition: background-color 0.2s, transform 0.15s, opacity 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.dtv-mc__arrow:hover,
.dtv-mc__arrow:focus {
  background: rgba(21, 52, 77, 0.95);
  transform: translateY(-50%) scale(1.08);
  outline: none;
}

.dtv-mc__arrow--prev {
  left: 8px;
}

.dtv-mc__arrow--next {
  right: 8px;
}

.dtv-mc__arrow[disabled] {
  opacity: 0.25;
  pointer-events: none;
}

/* Başlık */
.dtv-mc__title {
  margin: 10px 4px 4px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  color: #15344d;
  line-height: 1.35;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Nokta göstergesi */
.dtv-mc__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 6px 0 2px;
}

.dtv-mc__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd8e5;
  transition: background-color 0.25s ease, transform 0.25s ease;
  cursor: pointer;
}

.dtv-mc__dot.is-active {
  background: #15344d;
  transform: scale(1.35);
}

/* ── Modal (tam ekran video oynatıcı) ───────────────────────── */
.dtv-mc__modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  animation: dtv-mc-in 0.22s ease-out;
}

.dtv-mc__modal[hidden] {
  display: none !important;
}

@keyframes dtv-mc-in {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

.dtv-mc__modal-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 720px;
}

.dtv-mc__close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s;
  padding: 0;
  z-index: 10001;
}

.dtv-mc__close:hover,
.dtv-mc__close:focus {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.08);
  outline: none;
}

.dtv-mc__modal-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.dtv-mc__modal-title {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  padding: 0 8px;
  line-height: 1.4;
}

/* Placeholder div (JS initialize olana kadar gizli) */
#dtv-mobile-carousel-root {
  display: none;
}
