/* ===== Filmizle görünümü – film-v2.css ===== */
:root {
  --bg: #111214;
  --bg2: #17181b;
  --panel: #151517;
  --border: #2a2d33;
  --text: #e7e7e7;
  --muted: #b8b9bd;
  --red: #e1252c;
  --red-dark: #c01b22;
  --yellow: #ffd42a;
}

/* Eski üst bilgi bloğu görünmesin */
.single .single-content.movie {
  display: none !important;
}

/* ===================== PANEL ===================== */
.film-v2-wrap {
  margin: 12px 0 18px;
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .5) inset, 0 0 18px rgba(0, 0, 0, .35);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  border-radius: 3px;
  overflow: hidden;
}

.film-v2-wrap:before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--red), #8c1318);
}

/* ===================== BAŞLIK SATIRI ===================== */
.fv2-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 10px;
  background: #141416;
  border-bottom: 1px dashed #3a3d44;
}

.fv2-head-title {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
  flex: 1;
}

.fv2-head-title .fv2-head-sub {
  font-size: 13px;
  font-weight: 700;
  color: #ffb3b6;
  margin-left: 6px;
}

.fv2-head-rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fv2-score-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--yellow);
  color: #000;
  font-weight: 800;
  font-size: 12px;
  line-height: 1;
  padding: 6px 8px;
  border-radius: 4px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .3) inset;
}

/* ===================== AÇIKLAMA ===================== */
.fv2-desc {
  padding: 10px 12px 8px;
  color: #e0e0e0;
  font-size: 13px;
  line-height: 1.6;
  background: #121316;
  border-bottom: 1px solid var(--border);
  max-height: none;
  overflow: visible;
  /* kesinlikle scroll olmasın */
}

/* ===================== GRID ===================== */
.fv2-grid {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 12px;
  padding: 12px;
}

.fv2-poster-inner {
  position: relative;
}

.fv2-poster img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  border: 1px solid var(--border);
}

/* Poster köşe etiketi (link) */
.fv2-ribbon {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: #d5333a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 8px;
  border-radius: 4px;
  border: 1px solid #8f0f14;
  text-decoration: none;
}

/* ===================== ETİKET PILL'LERİ ===================== */
/* Üretmeye devam ediyoruz ama görünmesin istendi */
.fv2-pill,
.fv2-pills {
  display: none;
}

/* ===================== TABLO ===================== */
.fv2-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg2);
}

.fv2-table th,
.fv2-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  font-size: 13px;
}

.fv2-table th {
  width: 210px;
  color: #cfd0d4;
  font-weight: 700;
  background: #17181b;
  text-transform: none;
  letter-spacing: .2px;
  text-align: left;
}

.fv2-table th::after {
  content: " :";
  color: #8a8d95;
  margin-left: 8px;
}

.fv2-table td {
  background: #1b1d21;
  color: #e8e8e8;
}

/* Tablo içi linkler – altı çizili olmasın */
.fv2-info a {
  color: #e6e6e6;
  text-decoration: none;
}

.fv2-info a:hover {
  color: #fff;
  text-decoration: none;
}

/* ===================== IMDb YILDIZ BAR ===================== */
.fv2-stars {
  position: relative;
  width: 175px;
  height: 18px;
  font-size: 18px;
  line-height: 18px;
  letter-spacing: 2px;
  overflow: hidden;
}

.fv2-stars-bg,
.fv2-stars-fg {
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  font-family: "Arial Unicode MS", "Segoe UI Symbol", "Noto Sans Symbols", sans-serif;
}

.fv2-stars-bg {
  color: #676a70;
}

.fv2-stars-fg {
  color: #f7cf48;
  width: 0;
  overflow: hidden;
}

/* ===================== MINI ROZETLER ===================== */
/* Label + value bitişik (IMDb 6.3, Film Süre 118 Dk., vb.) */
.fv2-quality {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  /* çiftler arası boşluk */
  align-items: center;
  margin-top: -25px !important;
  /* senin son ayarın */
}

/* Ortak stil */
.fv2-mini-btn,
.fv2-mini-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

/* Sol parça: başlık */
.fv2-mini-btn {
  color: #fff;
  background: var(--red);
  border: 1px solid #8f0f14;
  border-radius: 6px;
}

/* Sağ parça: değer */
.fv2-mini-badge {
  color: #fff;
  background: #34373c;
  border: 1px solid var(--border);
  border-radius: 6px;
}

/* Aynı satırdaki başlık + değer’i birleştir */
.fv2-quality .fv2-mini-btn+.fv2-mini-badge {
  margin-left: -8px;
  /* container gap’ini iptal et */
  border-left: 0;
  /* aradaki çizgiyi kaldır */
  border-top-left-radius: 0;
  /* birleşik görünüm */
  border-bottom-left-radius: 0;
}

.fv2-quality .fv2-mini-btn {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

/* ===================== SAYFA BAŞLIĞI + BREADCRUMB ===================== */
.fv2-pagehead {
  background: #1e2024;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  margin: 8px 0 10px;
}

.fv2-pagehead--stack .fv2-title {
  margin: 0 0 6px 0;
}

.fv2-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.fv2-crumbs {
  color: #cfd0d4;
  font-size: 12.5px;
}

.fv2-crumbs a {
  color: #e6e6e6;
  text-decoration: none;
}

.fv2-crumbs a:hover {
  color: #fff;
}

.fv2-crumbs .current {
  color: #9ea2a9;
}

/* ===================== Film-V2: Kaynak buton barı ===================== */
.fv2-sourcebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  margin: 0px 0 0px;
  background: #151517;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.fv2-sourcebar-title {
  color: #cfd0d4;
  font-weight: 700;
  margin-right: 4px;
}

/* Nötr buton */
.fv2-sourcebtn {
  display: inline-block;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: #fff;
  text-decoration: none;
  background: #2b2d31;
}

.fv2-sourcebtn:hover {
  background: #34373c;
}




/* ==== Kaynak butonlarında ikonlar ==== */
/* Ortak: ikon için yer açalım */
.fv2-sourcebtn {
  position: relative;
  padding-left: 34px;
  /* ikona yer */
  display: inline-flex;
  align-items: center;
}

/* İkon yerleştirici */
.fv2-sourcebtn::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
}

/* Altyazı ikonu */
.fv2-sourcebtn.lang-sub::before {
  background-image: url("/wp-content/uploads/icons/altyazi.png");
}

/* Dublaj ikonu */
.fv2-sourcebtn.lang-dub::before {
  background-image: url("/wp-content/uploads/icons/dublaj2.png");
}

/* İstersen mobilde biraz daha küçük yap */
@media (max-width: 768px) {
  .fv2-sourcebtn {
    padding-left: 30px;
  }

  .fv2-sourcebtn::before {
    width: 14px;
    height: 14px;
    left: 8px;
  }
}





/* Aktif buton: sadece .active kırmızı */
.fv2-sourcebtn.active {
  background: var(--red);
  border-color: #8f0f14;
  color: #fff;
}

/* Eski açılır kaynak menüsünü gizle (tablo/menü) */
.action-buttons #action-parts,
.action-buttons .old-part-system {
  display: none !important;
}

.action-buttons {
  margin-bottom: 0px !important;
}

/* ===== Yorum formu – Filmizle stili (ikonlu başlık + grid) ===== */
.single #respond.fv2-comment {
  background: #1f2125;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px;
  margin-top: 18px;
  border-top: 3px solid var(--red);
}

/* Başlık & ikon */
.single #respond.fv2-comment .comment-reply-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px 0;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.single #respond.fv2-comment .comment-reply-title .fv2-title-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  object-fit: contain;
}

/* İki kolon: sol 250px, sağ 1fr (textarea tüm içerik genişliği kadar) */
.single #respond.fv2-comment form.comment-form {
  width: 100%;
  display: grid;
  grid-template-columns: 250px 1fr;
  grid-template-areas:
    "author  comment"
    "email   comment"
    "misc    submit";
  gap: 10px 1px;
  align-items: start;
}

/* Grid alanları */
.single #respond.fv2-comment .comment-form-author {
  grid-area: author;
  margin: 0;
}

.single #respond.fv2-comment .comment-form-email {
  grid-area: email;
  margin: 0;
}

.single #respond.fv2-comment .comment-form-comment {
  grid-area: comment;
  margin: 0;
}

.single #respond.fv2-comment .form-submit {
  grid-area: submit;
  justify-self: end;
  margin: 0;
}

.single #respond.fv2-comment .comment-form-cookies-consent,
.single #respond.fv2-comment .spoiler,
.single #respond.fv2-comment .misc {
  grid-area: misc;
  margin: 0;
  color: var(--muted);
}

/* Alan görünümleri */
.single #respond.fv2-comment input[type="text"],
.single #respond.fv2-comment input[type="email"],
.single #respond.fv2-comment textarea {
  width: 100%;
  background: #3b3d43;
  color: #e6e6e6;
  border-radius: 6px;
  padding: 12px;
  font-size: 14px;
}

.single #respond.fv2-comment textarea {
  max-height: 90px;
  resize: vertical;
  margin-left: 5px;
}

.single #respond.fv2-comment ::placeholder {
  color: #b8b9bd;
  opacity: .9;
}

/* Kırmızı gönder butonu */
.single #respond.fv2-comment .button.submit-button {
  background: var(--red);
  color: #fff;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .3px;
  transition: .15s ease;
}

.single #respond.fv2-comment .button.submit-button:hover {
  background: var(--red-dark);
}

.icon-right-open:before {
  display: none;
}

#commentform {
  box-shadow: none;
}

/* Yorum başlık ikonu (varsa) */
#comments.title span::before,
h2 span::before {
  background: url("/wp-content/themes/keremiya/images/yorumlar.png") no-repeat center center /18px 18px !important;
}


.comment-form-author,
.comment-form-email {
  width: 100% !important;
}






/* ===== Film arama kutusu ===== */
.fv2-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  margin: 10px 0 12px;
  background: #151517;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.fv2-search input[type="search"] {
  flex: 1;
  background: #2b2d31;
  border: 1px solid #3a3d44;
  color: var(--text);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
}

.fv2-search input[type="search"]::placeholder {
  color: #b8b9bd;
}

.fv2-search input[type="search"]:focus {
  border-color: #52555d;
}

.fv2-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 40px;
  background: var(--red);
  color: #fff;
  border: 1px solid #8f0f14;
  border-radius: 6px;
  cursor: pointer;
  padding: 0 12px;
  transition: .15s ease;
}

.fv2-search button:hover {
  background: var(--red-dark);
}

input,
textarea {
  margin-bottom: 0px !important;
}


/* Mobil */
@media (max-width:768px) {
  .fv2-search {
    margin: 8px 0 10px;
  }
}









/* ===================== MOBİL ===================== */
/* ===================== MOBİL (≤768px) ===================== */
@media (max-width: 768px) {

  /* Film bilgisi paneli */
  .fv2-grid {
    grid-template-columns: 1fr;
    /* poster üstte, bilgiler altta */
    gap: 10px;
    padding: 10px;
  }

  .fv2-table th {
    width: 42%;
  }

  /* Poster: mobilde daha küçük, ortalanmış */
  .fv2-poster-inner {
    text-align: center;
  }

  .fv2-poster img {
    max-width: 50%;
    height: auto;
    display: inline-block;
  }

  /* Küçük rozetler (IMDb, Yıl vs.) biraz sıkı dursun */
  .fv2-mini-btn,
  .fv2-mini-badge {
    padding: 6px 8px;
    font-size: 11px;
  }

  .fv2-quality {
    gap: 6px;
  }

  /* Kaynak barı satır kırabilsin */
  .fv2-sourcebar {
    flex-wrap: wrap;
  }

  .fv2-sourcebar-title {
    margin-bottom: 4px;
  }

  .fv2-sourcebar-btns .fv2-sourcebtn {
    margin-right: 6px;
  }

  /* Yorum formu: alanları ALT ALTA göster */
  .single #respond.fv2-comment #commentform,
  .single #respond.fv2-comment form.comment-form {
    display: block !important;
    /* grid yerine blok düzen */
  }

  .single #respond.fv2-comment .comment-form-inputs,
  .single #respond.fv2-comment .comment-input-hide,
  .single #respond.fv2-comment .comment-form-author,
  .single #respond.fv2-comment .comment-form-email,
  .single #respond.fv2-comment .comment-form-comment,
  .single #respond.fv2-comment .form-submit {
    display: block;
    width: 100%;
    margin: 0 0 10px 0;
  }

  .single #respond.fv2-comment input[type="text"],
  .single #respond.fv2-comment input[type="email"],
  .single #respond.fv2-comment textarea {
    width: 100%;
    box-sizing: border-box;
  }

  .single #respond.fv2-comment textarea {
    min-height: 110px;
    margin-left: 0;
  }

  .fv2-head {
    flex-direction: column;
    /* yanyana değil, üst-alta */
    align-items: flex-start;
    gap: 6px;
  }

  .fv2-head-title {
    width: 100%;
    overflow: hidden;
    /* taşanı kes */
    text-overflow: ellipsis;
    /* … ile kısalt */
    margin: 0;
    /* extra boşluk olmasın */
  }

  .fv2-head-rating {
    width: 100%;
    order: 2;
    /* başlıktan sonra gelsin */
  }
}

/* ===== Geo-Block – TV 404 Screen ===== */

/* --- Ana kapsayıcı: TV ekranı --- */
.geo-block-tv {
  position: relative;
  background: #0a0a0f;
  padding-bottom: 56.25%;
  /* 16:9 player oranı */
  border-radius: 4px;
  overflow: hidden;
  box-shadow:
    0 0 60px 10px rgba(0, 0, 0, .6) inset,
    0 0 1px 0 rgba(225, 37, 44, .35);
}

/* --- Karlı TV statik gürültüsü (CSS animasyonlu) --- */
.geo-block-static {
  position: absolute;
  inset: 0;
  opacity: .06;
  background-image:
    repeating-radial-gradient(circle at 17% 32%, #fff 0px, transparent 1px),
    repeating-radial-gradient(circle at 62% 78%, #fff 0px, transparent 1px),
    repeating-radial-gradient(circle at 89% 14%, #fff 0px, transparent 1px);
  background-size: 3px 3px, 4px 4px, 5px 5px;
  animation: geoStatic .15s infinite steps(3);
  pointer-events: none;
}

@keyframes geoStatic {
  0% {
    background-position: 0 0, 0 0, 0 0
  }

  33% {
    background-position: 1px -1px, -2px 1px, 2px 0
  }

  66% {
    background-position: -1px 2px, 1px -1px, -1px 1px
  }

  100% {
    background-position: 2px 0, 0 2px, 1px -2px
  }
}

/* --- Yatay tarama çizgileri --- */
.geo-block-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to bottom,
      transparent 0px,
      transparent 2px,
      rgba(0, 0, 0, .15) 2px,
      rgba(0, 0, 0, .15) 4px);
  pointer-events: none;
}

/* --- Vignette (kenar kararması) --- */
.geo-block-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center,
      transparent 55%,
      rgba(0, 0, 0, .65) 100%);
  pointer-events: none;
}

/* --- Ortadaki içerik bloğu --- */
.geo-block-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* --- TV ikonu + arkasındaki nabız halkası --- */
.geo-block-icon {
  position: relative;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.geo-block-icon .fa-tv {
  font-size: 34px;
  color: rgba(255, 255, 255, .7);
  filter: drop-shadow(0 0 8px rgba(225, 37, 44, .5));
  z-index: 1;
  position: relative;
}

.geo-block-pulse {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(225, 37, 44, .45);
  border-radius: 50%;
  animation: geoPulse 2s ease-out infinite;
}

@keyframes geoPulse {
  0% {
    transform: scale(.6);
    opacity: .8
  }

  100% {
    transform: scale(1.5);
    opacity: 0
  }
}

/* --- Mesaj metni --- */
.geo-block-tv .geo-block-text {
  color: rgba(255, 255, 255, .65);
  font-size: 15px;
  letter-spacing: .5px;
  font-weight: 500;
  text-shadow: 0 0 12px rgba(225, 37, 44, .3);
  margin-bottom: 14px;
}

/* --- Zıplayan üç nokta (yükleniyor hissi) --- */
.geo-block-dots {
  display: flex;
  gap: 6px;
}

.geo-block-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red, #e1252c);
  opacity: .7;
  animation: geoDot 1.2s ease-in-out infinite;
}

.geo-block-dots span:nth-child(2) {
  animation-delay: .2s
}

.geo-block-dots span:nth-child(3) {
  animation-delay: .4s
}

@keyframes geoDot {

  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: .3
  }

  40% {
    transform: translateY(-8px);
    opacity: 1
  }
}