/* =====================================================================
   yt-facade.css — GDPR "tıkla-yükle" YouTube cephesi (yt-facade.js ile)
   Poster yerel; iframe yalnızca tıklamadan sonra gelir.
   ===================================================================== */
.ytf {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #05080d;
  border: 1px solid rgba(90, 182, 183, 0.22);
}

.ytf-btn {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.ytf-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.82);
  transition: filter 260ms ease, transform 400ms ease;
}
.ytf-btn:hover .ytf-poster,
.ytf-btn:focus-visible .ytf-poster { filter: brightness(0.95); transform: scale(1.02); }

.ytf-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
  padding-inline-start: 5px;            /* optik merkez: ▶ sağa kaçık durur */
  color: #05080d;
  background: linear-gradient(180deg, #fbe6a6, #f0bb3d);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.5);
  transition: transform 220ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.ytf-btn:hover .ytf-play,
.ytf-btn:focus-visible .ytf-play { transform: translate(-50%, -50%) scale(1.08); }

/* GDPR bilgi satırı (ör. "YouTube'a bağlanır") */
.ytf-note {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 12px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(241, 240, 235, 0.86);
  /* Poster'da yanmış altyazı olabiliyor → düz opak şerit, okunurluk garanti */
  background: rgba(5, 8, 13, 0.9);
  border-top: 1px solid rgba(241, 240, 235, 0.1);
  text-align: center;
}

.ytf-frame { width: 100%; height: 100%; border: 0; display: block; }

.ytf-btn:focus-visible { outline: 2px solid #5ab6b7; outline-offset: -3px; }

@media (max-width: 480px) {
  .ytf-play { width: 58px; height: 58px; font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .ytf-poster, .ytf-play { transition: none; }
  .ytf-btn:hover .ytf-poster { transform: none; }
}
