@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap');

@font-face {
  font-family: 'Merriweather Sans Regular';
  font-style: normal;
  font-weight: normal;
  src: local('Merriweather Sans Regular'), url('/static/theme/css/fonts/MerriweatherSans-Regular.woff') format('woff');
  font-display: swap;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: "Lexend", sans-serif;
  font-size: 13px;
  background-color: rgb(156 163 175 / 95%);
  letter-spacing: 1px;
}

.starter-template {
  margin: 0 auto;
  position: relative;
  width: 100%;
}

.container {
  position: relative;
  max-width: 1170px;
  /* Maksimum genişlik belirlendi */
  width: 100%;
  /* Her zaman %100 genişlik kullan, max-width'i geçme */
  margin: 0px auto 0 !important;
  background: #e5e7eb;
  padding: 0 15px;
  /* Kenarlara boşluk ekle, mobil taşmaları engellemek için */
  box-sizing: border-box;
  /* Padding'i genişliğe dahil et */
  z-index: 9;
}

.fixed-top {
  width: 100%;
  /* Fixed elementler için de %100 genişlik */
  max-width: 1170px;
  /* Maksimum genişlik */
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 15px;
  /* İç boşluk ekle */
}

.main-header {
  background-color: #e5e7eb;
  color: #000000;
  padding: 15px 0;
  width: 100%;
  /* %100 genişlik */
  max-width: 1170px;
  /* Maksimum genişlik */
  margin: 30px auto 0px;
  box-sizing: border-box;
  /* Padding'i genişliğe dahil et */
  border-radius: 30px 30px 0px 0px;
  z-index: 10;
  position: relative;
}

/* SLİDER CONTENT */
.film-slider-section {
  padding-top: 5px;
  width: 100%;
}

.film-slider-section h2 {
  text-align: center;
  font-size: 28px;
}

.film-slider-section h2 span {
  color: #ff7200;
}

.subtitle {
  text-align: center;
  margin-bottom: 30px;
  color: #ccc;
}

.film-slider::-webkit-scrollbar {
  display: none;
  /* Chrome */
}

.film-slider {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  scroll-behavior: smooth;
  margin: 0 auto;
  height: auto;
  min-height: unset;
  padding-bottom: 15px;
  padding-left: 0px;
  padding-right: 0px;
  box-sizing: border-box;
}

.film-card {
  flex: 0 0 calc((100% - 20px) / 6);
  width: calc((100% - 20px) / 6);
  min-width: 150px;
  /* Çok daralmasını engellemek için min-width verilebilir */
  background: transparent;
  border-radius: 10px;
  position: relative;
  padding-bottom: 10px;
  /* Alttaki metinler ve rating için boşluk */
  user-select: none;
  height: auto;
  /* Kartın yüksekliğinin içeriğine göre ayarlanmasını sağlar */
  box-sizing: border-box;
  /* Padding'i genişliğe dahil et */
}

.film-slider::-webkit-scrollbar {
  display: none;
}

.film-card img {
  width: 100%;
  height: auto;
  /* Resmin en boy oranını koruyarak yüksekliğinin otomatik ayarlanmasını sağlar */
  object-fit: cover;
  border-radius: 10px 10px 10px 10px;
  min-height: 280px;
  border: none;
}

.film-card a:hover {
  text-decoration: none;
}

.film-card:hover .movie-tooltip {
  opacity: 1;
  pointer-events: auto;
}

.film-card:hover .movie-tooltip {
  display: block;
  pointer-events: none;
}

.film-card:hover {
  z-index: 10;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
  transform: translateY(-5px);
  /* Hafif yukarı kayma efekti */
}

.film-card:hover .buttonsaction {
  opacity: 1;
  pointer-events: auto;
}

.film-card:hover .play-icon {
  opacity: 1;
}

.film-card h3 {
  padding: 10px 5px 0px 5px;
  /* Yan boşlukları azalt */
  font-size: 14px;
  margin: 0;
  color: #000000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 700;
}

.film-card .date {
  padding: 10px 5px 5px 5px;
  /* Yan boşlukları azalt */
  font-size: 12px;
  color: #282828;
  font-weight: 600;
}

.slider-wrapper {
  position: relative;
  overflow: hidden;
}

/* Next / Prev Butonları */
.slider-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background-color: rgb(255 255 255 / 80%);
  color: #000000;
  border: none;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 50%;
  z-index: 10;
  transition: background-color 0.3s ease;
  width: 70px;
  height: 70px;
}

.slider-btn .prevleft {
  position: relative;
  left: 10px;
  font-size: 30px;
}

.slider-btn .prevnext {
  position: relative;
  right: 10px;
  font-size: 30px;
}

.slider-btn:hover {
  background-color: #ff7200;
}

.prev {
  left: -30px;
}

.next {
  right: -30px;
}

/* FİLM SECTİON BÖLÜMÜ */
.film-list-section {
  padding: 1px;
  background: #e5e7eb;
  color: #000;
  font-family: inherit;
  margin-top: 1rem;
}

.section-title {
  text-align: center;
  font-size: 28px;
  padding-top: 0.5rem;
  padding-bottom: 1rem;
}

.entry-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
  margin-bottom: 20px;
}

.entry-header h2 {
  font-size: 28px;
  color: #000;
  margin: 0;
}

.film-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 15px;
  /* Satır ve sütun arası boşluk */
}

/* Poster için link */
.film-card-link {
  display: inline-block;
  /* Sadece posteri kapsayacak */
  text-decoration: none;
  color: inherit;
}

.film-poster {
  width: 160px;
  height: auto;
  border: none;
}

/* Film bilgileri */
.film-info {
  margin-left: 15px;
  /* Poster ile bilgiler arasındaki boşluk */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  /* .film-item içinde eşit yükseklik */
}

.film-item {
  display: flex;
  align-items: flex-start;
  /* Poster ve bilgileri yukarıdan hizalayın */
  flex-basis: calc(50% - 10px);
  /* (20px sütun boşluğunun yarısı = 10px) */
  max-height: 295px;
  /* Mevcut stilinizi koruyun */
  flex-shrink: 0;
  flex-grow: 0;
  background: #ededed;
  padding: 5px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.film-item:hover {
  background: #dbf0f9;
  transform: translateY(-5px);
  /* Hafifçe yukarı kaldır */
}

.amy-movie-item-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 10px;
  align-items: center;
}

.film-info h3 {
  font-size: 16px;
  margin-bottom: 5px;
  font-weight: 700;
  color: #0000ff;
}

.meta {
  list-style: none;
  padding: 0;
  font-size: 13px;
  color: #000000;
  line-height: 1.5;
}

.meta li a {
  color: #056095;
  font-weight: 500;
}

.actions {
  margin-top: auto;
  /* Aşağıya sabitlemek için */
  margin-bottom: 10px;
}

.actions button {
  background: #222;
  border: 1px solid #555;
  color: #fff;
  padding: 4px 10px;
  margin-right: 5px;
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.actions button:hover {
  background-color: #333;
  border-color: #777;
}

.pagination-controls {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 20px;
}

.pagination-button {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  background-color: #f9f9f9;
  transition: all 0.3s ease;
  font-weight: 600;
}

.pagination-button:hover {
  background-color: #020466;
  text-decoration: none;
  color: #fff;
}

.change-mode svg {
  width: 1.25rem;
  height: 1.25rem;
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  animation: .2s ease-in-out fadeIn;
}

.change-mode svg.dark-mode {
  fill: #2563eb;
}

.change-mode svg.light-mode {
  fill: #eab308;
  display: none;
}



.change-mode:active svg,
.change-mode:hover svg {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.change-mode:hover svg {
  --tw-rotate: -12deg;
  --tw-scale-x: 1.25;
  --tw-scale-y: 1.25;
}

.change-mode:active svg {
  --tw-scale-x: .95;
  --tw-scale-y: .95;
  animation: none;
}

.change-mode {
  background: 0 0;
  border: none;
}

.pagination-button.active {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

.pagination-button.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: #f0f0f0;
}

/* FİLM CARD CSS */
@media (max-width: 576px) {

  .movie-grid-container {
    grid-template-columns: repeat(auto-fill, minmax(160px, 2fr)) !important;
  }

}

.movie-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  padding: 1rem;
  color: #fff;
  max-width: 100%;
  /* Ekle */

}

.movie-card {
  position: relative;
  background-color: #1a1a1a;
  border-radius: 8px;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); */
  z-index: 1;
  /* transition: box-shadow 0.2s ease, transform 0.2s ease, z-index 0s 0s; */
  overflow: visible;
  /* Tooltip'in taşmasını sağlamak için */

}

.movie-card:hover {
  z-index: 10;
  /*
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    transform: translateY(-5px); /* Hafif yukarı kayma efekti
    */
}

/* Film Afişi ve İçeriği */
.movie-poster {
  position: relative;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  display: block;
  aspect-ratio: 2 / 3;
}

.movie-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  /* 200x300 oranı */
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.movie-info-top {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: bold;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.year,
.rating {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 3px 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
}

.star {
  color: #ffd700;
  margin-right: 3px;
  font-size: 1rem;
}

.movie-info-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
}

.language {
  font-size: 0.75rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  color: #fff;
  gap: 4px
}

.language img {
  height: 12px;
  width: auto;
  margin-right: 5px;
  border-radius: 2px;
}

.titlelist {
  font-size: 1rem;
  font-weight: bold;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
}

/* Tooltip (Açılır Pencere) */
.movie-tooltip {
  position: absolute;
  left: calc(100% + 20px);
  top: 0;
  width: 300px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 15px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.movie-card:hover .movie-tooltip {
  opacity: 1;
  pointer-events: auto;
}

.movie-card:hover .movie-tooltip {
  display: block;
}

.buttonsaction {
  opacity: 0;
  margin-bottom: 5px;
}

.movie-card:hover .buttonsaction {
  opacity: 1;
  pointer-events: auto;
}

.tooltip-content h3 {
  margin: 0 0 10px 0;
  font-size: 16px;
  color: #007bff;
}

#trailerbutton {
  border: none;
  background: #000;
  border-radius: 8px;
  padding: 1px 4px;
}

#trailerbutton svg {
  fill: #fff
}

.movie-title {
  text-decoration: none;
  color: inherit;
}

.tooltip-content p {
  margin: 5px 0;
  font-size: 13px;
  color: #333;
  line-height: 1.4;
}

.tooltip-content p strong {
  color: #000;
}

.tooltip-content a {
  color: #007bff;
  text-decoration: none;
}

.tooltip-content a:hover {
  text-decoration: underline;
}

.added-on .icon {
  font-size: 1.2em;
  vertical-align: middle;
}

.button-group {
  display: flex;
  gap: 7px;
  margin-top: 0px;
}

.btntooltip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-add-favorite {
  background-color: #000;
  color: #fff;
}

.btn-add-favorite .icon {
  font-size: 1.2em;
}

.btn-fragman {
  background-color: #000;
  color: #fff;
}

.btntooltip:hover {
  opacity: 0.8;
}

/* Oynatma ikonu için yeni CSS kuralları */
.play-icon {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  background-color: rgb(0 255 175 / 80%);
  border-radius: 50%;
  padding: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.movie-card:hover .play-icon {
  opacity: 1;
  pointer-events: auto;
}

.feather-play {
  fill: currentColor;
}

/* MOVIDE DETAILS CSS */
.movie-card {
  background-color: #efefef;
  /* Kart arka planı */
  border-radius: 10px;
  overflow: hidden;
  display: flex;
}

.poster-section {
  flex-shrink: 0;
  width: 100%;
  max-width: 400px;
  /* Afişin maksimum genişliği */
}

.poster-section img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.details-section {
  padding: 1.5rem;
  flex-grow: 1;
}

.title {
  font-size: 1.875rem;
  /* text-3xl */
  font-weight: 700;
  /* font-bold */
  margin-bottom: 0.5rem;
  color: #000;
}

.subtitle {
  font-size: 1rem;
  /* text-base */
  color: #b0b0b0;
  margin-bottom: 1rem;
}

.detail-item {
  display: flex;
  margin-bottom: 0.5rem;
}

.detail-label {
  font-weight: 600;
  /* font-semibold */
  width: 125px;
  /* Etiket genişliği */
  color: #505050;
}

.detail-value {
  flex-grow: 1;
  color: #000000;
  width: calc(100% - 125px);
}

.detail-value a {
  font-weight: 500;
  color: #007bff;
}

.summary-section {
  border-radius: 10px;
  margin-top: 1.5rem;
}

.summary-title {
  font-size: 1.5rem;
  /* text-2xl */
  font-weight: 700;
  margin-bottom: 1rem;
  color: #505050;
}

.summary-text {
  line-height: 1.6;
  color: #000;
}

.imdb-rating {
  background-color: #ffad47;
  /* IMDb sarısı */
  color: #333;
  padding: 0.25rem 0.5rem;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.875rem;
  /* text-sm */
  display: inline-flex;
  align-items: center;
  margin-right: 0.5rem;
}

.duration {
  background-color: #4a4a4a;
  color: #e0e0e0;
  padding: 0.25rem 0.5rem;
  border-radius: 5px;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
}

.seriefilmler {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  font-style: italic;
  font-size: 1rem;
}

/* GENEL HEADER STİLLERİ */
.containerheader {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
  /* Sabit 20px yerine 15px, daha iyi mobil uyum için */
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  /* Mobil'de alt alta geçiş için */
  box-sizing: border-box;
}

/* Genel filtre kutularını taşıyan kapsayıcı */
/* Ana kapsayıcı */
.filtre-kapsayici {
  display: flex;
  gap: 12px;
  padding: 20px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
  /* Ortalamak için eklendi */
}

/* Her bir filtre kutusu */
.filtre-kutusu {
  position: relative;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  /* cursor: pointer; */
  /* Artık bir select olduğu için gerek yok */
  min-width: 200px;
  display: flex;
  /* İçindeki başlık ve select'i hizalamak için */
  flex-direction: column;
  /* Dikey sıralama */
}

/* Başlık kısmı */
.secim-baslik {
  padding: 10px 16px;
  font-weight: 600;
  font-size: 14px;
  user-select: none;
  color: #333;
  /* Okunurluk için renk eklendi */
}

/* Filtre dropdown'ları için yeni stil */
.filtre-dropdown {
  width: 100%;
  /* Kapsayıcıya yayılması için */
  padding: 8px 16px;
  border: 1px solid #ddd;
  border-radius: 0 0 10px 10px;
  /* Alttan yuvarlaklık */
  background-color: #f9f9f9;
  font-size: 14px;
  font-family: inherit;
  /* Yazı tipini miras al */
  cursor: pointer;
  appearance: none;
  /* Tarayıcının varsayılan okunu kaldırma */
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><polyline points="6 9 12 15 18 9"></polyline></svg>');
  /* Özel ok ikonu */
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 18px;
  box-sizing: border-box;
  /* Padding'in genişliğe dahil olması için */
}

.filtre-dropdown:focus {
  outline: none;
  border-color: #09c9f4;
  /* Odaklandığında kenarlık rengi */
  box-shadow: 0 0 0 3px rgba(9, 201, 244, 0.2);
}

.filtre-dropdown option {
  padding: 8px;
  /* Seçenekler için padding */
  background-color: white;
  color: #333;
}

.filtre-dropdown option:checked {
  background-color: #09c9f4;
  /* Seçilen seçeneğin arka planı */
  color: white;
}

.linkNameheader {
  color: #000
}

/* LOAD MORE Button Styling */
.load-more-container {
  display: flex;
  justify-content: center;
  padding: 20px;
  width: 100%;
}

.load-more-button {
  background-color: #000;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.load-more-button:hover {
  background-color: #07a6d3;
}

/* LOGO */
.logo {
  width: 200px;
  height: auto;
  border: none !important;
}

.logo img {
  width: 100%;
  height: auto;
  border: none !important;
}

/* MOVİE VE SİDEBAR CONTENT */

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: inherit;
  font-size: 13px;
  text-decoration: none;
}

section.common-section {
  display: flex;
  flex-direction: column;
}

.sidebar .button-y-container {
  display: flex;
  gap: 0.5rem;
}

.sidebar .button-y-container .film-robotu {
  --tw-bg-opacity: 1;
  background-color: rgb(220 38 38 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(249 250 251 / var(--tw-text-opacity));
}

.sidebar .button-y-container .film-robotu,
.sidebar .button-y-container .film-istekleri {
  display: flex;
  height: 5rem;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  text-decoration: none;
}

.sidebar .button-y-container .film-istekleri {
  --tw-text-opacity: 1;
  color: rgb(0 0 0 / var(--tw-text-opacity));
}

.sidebar .button-y-container .film-istekleri {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}

.sidebar .button-y-container .film-robotu svg,
.sidebar .button-y-container .film-istekleri svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: rgb(255 255 255 / 0.8);
}

.sidebar .button-y-container .film-istekleri svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: #9ca3af;
}

section.common-section .section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

section.common-section .section-header .section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.2rem;
}

section.common-section .section-header .section-title svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: #9ca3af;
}

.sidebar .nav {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0.5rem;
}

.sidebar .nav .nav-link {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.sidebar .nav .nav-link {
  --tw-text-opacity: 1;
  color: rgb(31 41 55 / var(--tw-text-opacity));
}

.sidebar .nav .nav-link {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8375rem;
  line-height: 1.25rem;
  border-radius: 0.5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity));
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  font-family: "Lexend", sans-serif;
  font-weight: 600;
}

.sidebar .button-y-container .film-robotu:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(153 27 27 / var(--tw-bg-opacity));
}

.sidebar .button-y-container .film-istekleri:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity));
}

.mini-poster:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity));
  text-decoration: none;
}

.mini-poster:hover .mini-poster-title {
  --tw-text-opacity: 1;
  color: rgb(0 0 0 / var(--tw-text-opacity));
}

.sidebar .nav.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sidebar .nav .nav-link:hover {
  --tw-shadow: 4px 2px 8px 0 rgb(0 0 0 / 0.5);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
    var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  background: #c7d3d3;
}

.mini-poster .mini-poster-content .mini-poster-meta .mini-poster-imdb-right {
  display: flex;
  min-width: 0px;
  align-items: center;
  gap: 0.25rem;
  right: 10px;
  position: relative;
}

.mini-poster .mini-poster-content .mini-poster-meta .mini-poster-imdb-right {
  display: flex;
  min-width: 0px;
  align-items: center;
  gap: 0.25rem;
  left: 0px;
  position: relative;
}

section.common-section .section-header .section-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity));
  transition-property: color, background-color, border-color,
    text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.sidebar .list-of-poster-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

section.common-section {
  display: flex;
  flex-direction: column;
}

.common-section .section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.common-section .section-header .section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}

.mini-poster {
  display: flex;
  gap: 0.75rem;
  border-radius: 0.75rem;
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity));
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  text-decoration: none;
  height: 65px;
}

.mini-poster:hover {
  --tw-shadow: 4px 2px 8px 0 rgb(0 0 0 / 0.5);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
    var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  background: #c7d3d3;
}

.mini-poster img {
  width: 3.5rem;
  height: 100%;
  min-width: 3.5rem;
  border-top-left-radius: 0.75rem;
  border-bottom-left-radius: 0.75rem;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: top;
  object-position: top;
}

.mini-poster .mini-poster-content {
  display: flex;
  min-width: 0px;
  flex: 1 1 0%;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  line-height: 2rem;
}

.mini-poster-content span {
  font-size: 0.65rem;
  right: 10px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: right;
  color: #000;
}

.font-small a {
  color: #000;
  font-weight: bold;
}

.serieInformation {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 30px;
  font-size: 1.2rem;
  gap: 0.5rem;
}

.mini-poster .mini-poster-content .mini-poster-title {
  transition-property: color, background-color, border-color,
    text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-inline-end: 0.5rem;
  font-size: 13px;
  position: absolute;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity));
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 100%;
  width: 190px;
}

.mini-poster .mini-poster-content .mini-poster-meta {
  display: flex;
  min-width: 0px;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  color: #515151;
  position: relative;
}

.mini-poster .mini-poster-content .mini-poster-meta .mini-poster-imdb svg {
  color: #a70707;
}

.mini-poster .mini-poster-content .mini-poster-meta span.mini-poster-lang {
  display: flex;
  min-width: 0px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  position: relative;
  left: 0px;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  font-size: 10px;
}

.mini-poster .mini-poster-content .mini-poster-meta span {
  display: flex;
  min-width: 0px;
  align-items: center;
  gap: 0.25rem;
  right: 10px;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  font-size: 0.8rem;
}

.mini-poster .mini-poster-content .mini-poster-meta span.mini-poster-lang svg {
  display: inline-flex;
}

/* NAVİGASYON MENÜSÜ */
.main-nav {
  order: 2;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.main-nav ul li {
  position: relative;
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  justify-content: space-evenly;
}

.main-nav ul li a {
  color: #000000;
  text-decoration: none;
  padding: 8px 6px;
  display: block;
  font-size: 14px;
  transition: color 0.3s ease;
  font-family: inherit;
  font-weight: 600;
}

.main-nav ul li a:hover {
  color: #00bcd4;
}

/* DROPDOWN MENÜ */
/* --- DROPDOWN MENÜ GENEL STİLLERİ (Hem Büyük Hem Küçük Ekran İçin) --- */
.dropdown-content {
  /* Başlangıçta gizli tutmak için max-height ve overflow kullanıyoruz */
  max-height: 0;
  overflow: hidden;
  /* Taşmayı gizle */
  transition: max-height 0.3s ease-out;
  /* Animasyon için geçiş */
  overflow-y: hidden;
  /* Varsayılan olarak dikey kaydırmayı gizle */
  overflow-x: hidden;
  /* Yatay kaydırmayı gizle */
  margin-left: 10px;
  background-color: #444;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.4);
  z-index: 1;
  /* Diğer içeriklerin üzerinde */
  border-radius: 4px;
}

/* Kaydırma Çubuğu Stilini Özelleştirme (Webkit Tarayıcılar) */
.dropdown-content::-webkit-scrollbar {
  width: 8px;
  /* Kaydırma çubuğu genişliği */
}

.dropdown-content::-webkit-scrollbar-track {
  background: #555;
  /* Kaydırma çubuğu yolu rengi */
  border-radius: 10px;
}

.dropdown-content::-webkit-scrollbar-thumb {
  background-color: #00bcd4;
  /* Kaydırma çubuğu rengi */
  border-radius: 10px;
  border: 2px solid #555;
  /* Etrafındaki boşluk rengi */
}

.dropdown-content::-webkit-scrollbar-thumb:hover {
  background-color: #0097a7;
  /* Hover durumu */
}

.dropdown-content a {
  color: #fff !important;
  /* Genel link rengini override edebilir */
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.dropdown-content a:hover {
  background-color: #555;
  color: #00bcd4 !important;
}

/* Kaydırma Çubuğu Stilini Özelleştirme (Webkit Tarayıcılar - Chrome, Safari, Edge) */
.dropdown-content::-webkit-scrollbar {
  width: 8px;
  /* Kaydırma çubuğu genişliği */
}

.dropdown-content::-webkit-scrollbar-track {
  background: #555;
  /* Kaydırma çubuğu yolu rengi */
  border-radius: 10px;
  /* Kaydırma çubuğu yolu köşeleri */
}

.dropdown-content::-webkit-scrollbar-thumb {
  background-color: #00bcd4;
  /* Kaydırma çubuğu rengi */
  border-radius: 10px;
  /* Kaydırma çubuğu köşeleri */
  border: 2px solid #555;
  /* Kaydırma çubuğunun etrafındaki boşluk rengi */
}

.dropdown-content::-webkit-scrollbar-thumb:hover {
  background-color: #0097a7;
  /* Hover durumunda kaydırma çubuğu rengi */
}

.language-info {
  margin-bottom: 20px;
  padding-top: 1rem;
}

.text-infotelif {
  padding: 10px;
  background: cadetblue;
  color: #fff;
  font-weight: 600;
  text-align: center;
  border-radius: 10px;
}

.lang-label {
  display: inline-block;
  background-color: #1c1c1c;
  color: white;
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: bold;
  margin-top: 20px;
}

.lang-label svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: #ffffff;
}

.player-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.player-btn {
  background-color: #c9d4d4;
  border: none;
  padding: 10px 10px;
  font-size: 14px;
  font-weight: 600;
  color: #000;
  border-radius: 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: 0.2s;
}

.player-btn:hover {
  background-color: coral;
}

.player-btn.active {
  background-color: #b00;
  color: #fff;
}

.player-btn.tr .flag {
  font-size: 18px;
}

.player-btn.cc .cc-icon {
  background-color: #111;
  color: #fff;
  font-weight: bold;
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 12px;
}

.flag-icon {
  width: 26px;
  height: auto;
  vertical-align: middle;
  border-radius: 2px;
}

#reklam1,
#reklam2,
#reklam3 {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

button[id^="muteButton"] {
  left: 10px;
  border: 1px solid #fff;
  border-radius: 5px;
  cursor: pointer;
}

button[id^="muteButton"],
button[id^="skipButton"] {
  position: absolute;
  bottom: 10px;
  padding: 8px 10px;
  background-color: #941027;
  color: #fff;
  font-size: 12px;
  right: 25px;
  width: 150px;
}

.fullscreen-background {
  position: relative;
  width: 100%;
  max-height: 100%;
  overflow: hidden;
  background-image: var(--bg-url);
  background-size: cover;
  background-position: center;
  aspect-ratio: 16 / 9;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.fullscreen-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-height: 100%;
  background-image: var(--bg-url);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.8;
  z-index: 1;
  border-radius: 12px;
}

.item__play {
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  top: 45%;
  left: 50%;
  margin: 0px 0 0 -30px;
  font-size: 24px;
  color: #f9ab00;
  transition: opacity 0.4s, background-color 0.4s, color 0.4s, border-color 0.4s,
    transform 0.4s;
  transform: scale(0.9);
  opacity: 1;
  border: 6px solid rgba(255, 255, 255, 0.15);
  display: flex;
  position: relative;
}

.item__play i {
  width: 100%;
  position: relative;
}

.item__play i {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 100%;
  border-radius: 50%;
  background-color: #fff;
}

.item__play:hover {
  border-color: rgba(249, 171, 0, 0.5);
  color: #f9ab00;
}

#playerview:hover .item__play {
  opacity: 1;
  transform: scale(1);
}

#playerview {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}

.player {
  position: absolute;
  left: 0px;
  right: 0px;
  top: 0px;
  bottom: 0px;
  z-index: 10;
  aspect-ratio: 16 / 9;
  height: 100%;
  width: 100%;
  --tw-bg-opacity: 1;
  background-color: transparent;
}

.comment-form {
  width: 100%;
}

.comment-form p {
  padding: 10px;
  background: aquamarine;
  width: 100%;
  font-weight: 500;
}

textarea {
  width: 100%;
  height: 120px;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  resize: vertical;
  box-sizing: border-box;
  margin-bottom: 15px;
  transition: border-color 0.3s ease;
}

textarea:focus {
  border-color: #007bff;
  outline: none;
}

.spoiler-checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.spoiler-checkbox input[type="checkbox"] {
  margin-right: 10px;
  margin-top: -7px;
  width: 20px;
  height: 20px;
}

.spoiler-checkbox label {
  font-size: 14px;
  color: #333;
}

.submit-btn {
  background-color: #000;
  color: white;
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #0056b3;
}

.comments-title {
  width: 100%;
  font-size: 24px;
  margin: 20px 0;
  position: relative;
}

.comments-title::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background-color: orange;
}

.comment-container {
  width: 100%;
  margin: 0 auto;
}

.comment {
  display: flex;
  margin-bottom: 20px;
  background-color: white;
  padding: 15px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.comment.reply {
  margin-left: 50px;
  /* Alt yorumlara kaydırma uygula */
}

.comment-avatar {
  flex-shrink: 0;
  margin-right: 15px;
}

.comment-avatar img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.comment-content {
  flex-grow: 1;
}

.comment-header {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.comment-author {
  font-weight: bold;
  color: #333;
}

.comment-date {
  font-size: 0.9em;
  color: #777;
  margin-left: 10px;
}

.reply-link {
  color: orange;
  text-decoration: none;
  font-size: 0.9em;
  position: absolute;
  right: 20px;
  font-weight: 600;
}

.comment-body {
  font-size: 1em;
  color: #555;
}

/* Spoiler Wrapper ve İçeriği */
.spoiler-wrapper {
  position: relative;
  /* overlay için konumlandırma bağlamı sağlar */
  overflow: hidden;
  /* içerik gizlendiğinde taşmayı engeller */
}

.spoiler-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  /* hafif koyu arka plan */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  z-index: 10;
  /* yorum içeriğinin üstünde olmasını sağlar */
  transition: opacity 0.3s ease-in-out;
  /* geçiş efekti */
}

.spoiler-overlay .show-spoiler-link {
  color: #ffd700;
  /* Altın sarısı gibi belirgin bir renk */
  text-decoration: underline;
  margin-left: 5px;
  cursor: pointer;
}

.spoiler-content {
  filter: blur(5px);
  /* Varsayılan olarak yorumu bulanıklaştır */
  pointer-events: none;
  /* Bulanık içerikle etkileşimi engelle */
  user-select: none;
  /* Metin seçimi engeller */
  transition: filter 0.3s ease-in-out;
  /* geçiş efekti */
}

/* Spoiler Açıldığında */
.spoiler-wrapper.revealed .spoiler-overlay {
  opacity: 0;
  /* Üst katmanı gizle */
  pointer-events: none;
  /* Tıklama olaylarını devre dışı bırak */
}

.spoiler-wrapper.revealed .spoiler-content {
  filter: blur(0);
  /* Bulanıklığı kaldır */
  pointer-events: auto;
  /* Etkileşimi etkinleştir */
  user-select: text;
  /* Metin seçimini etkinleştir */
}

.containerheader .search-box {
  flex: 0 0 150px;
  /* sabit genişlik */
}

.containerheader .main-nav {
  flex: 0 0 auto;
  /* kalan tüm alanı kaplar */
  display: flex;
  justify-content: flex-end;
}

.containerheader .logo {
  flex: 0 0 auto;
}

/* ARAMA KUTUSU */
.search-box,
.modal-search-box {
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid #6089a1;
  height: 30px;
  width: 150px;
}

.modal-search-box {
  background-color: #141414;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
  width: 100%;
}

.search-input {
  flex-grow: 1;
  border: none;
  padding: 5px 5px;
  background-color: transparent;
  color: #0c0c0c;
  font-size: 12px;
  outline: none;
  width: 100%;
  font-weight: 500;
  font-family: "Lexend", sans-serif;
  height: 30px;
}

input::placeholder {
  font-style: normal;
}

.modal-search-box .search-input {
  padding: 12px 15px;
  color: #fff;
  font-size: 14px;
}

.search-input::placeholder {
  color: #bbb;
  font-style: italic;
}

.search-button {
  background-color: transparent;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.modal-search-box .search-button {
  color: #fff;
  padding: 12px 15px;
}

.search-button:hover {
  background-color: #555;
}

.modal-search-box .search-button:hover {
  background-color: #444;
}

.search-button svg {
  width: 20px;
  height: 20px;
}

/* HAMBURGER MENÜ */
.menu-toggle {
  display: none;
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 2;
}

.hamburger-menu span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* SEARCH MODAL */
.search-modal-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
}

.search-modal-content {
  background-color: #000;
  padding: 20px;
  width: 80%;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.search-modal-close-button {
  color: #aaa;
  font-size: 36px;
  font-weight: bold;
  position: absolute;
  top: 16px;
  right: 15px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.search-modal-close-button:hover,
.search-modal-close-button:focus {
  color: #fff;
}

/* SEARCH MODAL SONUÇLARI */
.modal-search-results {
  max-height: 350px;
  overflow-y: auto;
  padding-right: 5px;
  scrollbar-width: auto;
  scrollbar-color: #161515 #000000;
  display: none;
}

.modal-search-results::-webkit-scrollbar {
  width: 20px;
}

.modal-search-results::-webkit-scrollbar-track {
  background: #fc2929;
  border-radius: 10px;
}

.modal-search-results::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 10px;
}

.modal-search-results::-webkit-scrollbar-thumb:hover {
  background: #030461;
}

.modal-search-results .dropdown-section-title {
  color: #bbb;
  font-size: 15px;
  padding: 10px 0;
  border-bottom: 1px solid #333;
  font-weight: bold;
  margin-bottom: 10px;
}

.modal-search-results .search-results-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.modal-search-results .result-item {
  display: flex;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #333;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.modal-search-results .result-item a {
  display: flex;
}

.modal-search-results .result-item:last-child {
  border-bottom: none;
}

.modal-search-results .result-item:hover {
  background-color: #3a3a3a;
}

.modal-search-results .result-thumbnail {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 3px;
  margin-right: 15px;
}

.modal-search-results .result-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.modal-search-results .result-title {
  color: #fff;
  font-size: 14px;
  font-weight: bold;
}

.modal-search-results .result-original-title {
  color: #ccc;
  font-size: 14px;
}

.modal-search-results .result-year,
.modal-search-results .result-score {
  font-size: 13px;
  padding: 3px 6px;
  border-radius: 3px;
  margin-right: 8px;
  white-space: nowrap;
  font-weight: 500;
  color: #000;
}

.modal-search-results .search-result-content {
  line-height: 25px;
}

.modal-search-results .result-year {
  background-color: #00bcd4;
  color: #000;
}

.modal-search-results .result-score {
  background-color: #e6b800;
}

/* FRAGMAN MODULE */

.movie-slider-fragman {
  display: flex;
  gap: 20px;
  background-color: transparent;
  padding: 10px;
  flex-wrap: nowrap;
  flex-direction: row;
  /* Kaydırma çubuğu stili (WebKit tabanlı tarayıcılar için) */
  scrollbar-width: thin;
  /* Firefox için kaydırma çubuğu kalınlığı */
  scrollbar-color: #ff0202 #f1f1f1;
  /* Firefox için kaydırma çubuğu rengi (thumb track) */
}

/* Kaydırma çubuğu stili (WebKit tabanlı tarayıcılar için) */
.movie-slider-fragman::-webkit-scrollbar {
  height: 12px;
  /* Kaydırma çubuğunun kalınlığı */
}

.movie-slider-fragman::-webkit-scrollbar-track {
  background: #f1f1f1;
  /* Kaydırma çubuğu izinin rengi */
  border-radius: 6px;
}

.movie-slider-fragman::-webkit-scrollbar-thumb {
  background: #888;
  /* Kaydırma çubuğu "thumb" rengi */
  border-radius: 6px;
}

.movie-slider-fragman::-webkit-scrollbar-thumb:hover {
  background: #555;
  /* Kaydırma çubuğu "thumb" hover rengi */
}

.movie-cardfragman {
  text-align: center;
  display: flex;
  flex-direction: column;
  width: calc(100% / 7);
  /* Varsayılan olarak 8 fragman */
  transition: transform 0.3s ease;
  position: relative;
  flex-shrink: 0;
  /* Küçülmesini engelle */
}

.movie-cardfragman:hover {
  transform: scale(1.1);
  /* Kartı büyütür */
  z-index: 10;
  cursor: pointer;
  text-decoration: none;
}

.movie-cardfragman a:hover {
  text-decoration: none;
}

.poster {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto;
  border: 4px solid red;
  border-radius: 50%;
  overflow: visible;
  transition: border-color 0.3s ease;
}

.movie-cardfragman:hover .poster {
  border-color: #141414 !important;
  /* Hover sırasında kenarlık rengi değişir */
}

.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.release-date {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #e53935;
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 12px;
  font-weight: bold;
  white-space: nowrap;
}

.movie-title {
  margin-top: 20px;
  font-size: 13px;
  color: #333;
  line-height: 1.2;
  font-weight: 600;
}

/* ANİMASYON */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Fragman Modal Stilleri */
.modal {
  display: none;
  /* Varsayılan olarak gizli */
  position: fixed;
  /* Ekranı kapla */
  z-index: 1000;
  /* Diğer her şeyin üstünde */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  /* İçerik taşarsa kaydırma çubuğu */
  background-color: rgba(0, 0, 0, 0.8);
  /* Yarı şeffaf siyah arka plan */
  justify-content: center;
  /* İçeriği yatayda ortala */
  align-items: center;
  /* İçeriği dikeyde ortala */
  animation: fadeIn 0.3s forwards;
  /* Açılış animasyonu */
}

.modal-content {
  background-color: #000;
  /* Modal içeriğinin arka planı */
  margin: auto;
  /* Dikeyde ve yatayda ortalama için */
  padding: 20px;
  border: 1px solid #888;
  width: 90%;
  /* Genişlik */
  max-width: 900px;
  /* Maksimum genişlik */
  position: relative;
  /* Kapanma butonu için */
  border-radius: 8px;
  /* Yuvarlak köşeler */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  /* Hafif gölge */
  animation: slideIn 0.3s forwards;
  /* Açılış animasyonu */
}

.close-button {
  color: #aaa;
  float: right;
  /* Sağa hizala */
  font-size: 36px;
  font-weight: bold;
  position: absolute;
  /* Modal içeriğinin sağ üst köşesine sabitle */
  top: 10px;
  right: 20px;
  cursor: pointer;
  z-index: 1001;
  /* Butonun videonun üstünde olduğundan emin ol */
}

.close-button:hover,
.close-button:focus {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.modal-video-container {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 en boy oranı (9 / 16 = 0.5625) */
  height: 0;
  overflow: hidden;
  margin-top: 20px;
  /* Kapanma butonundan boşluk */
}

.modal-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.modal.hidden {
  display: none !important;
}

.amy-footer-widgets {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Animasyonlar */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
    display: flex;
  }

  /* display: flex ile ortalamayı sağla */
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.bookmark-button {
  padding: 1px 4px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.1s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background-color: #007bff;
  color: white;
}

.bookmark-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.bookmark-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bookmark-button[data-is-bookmarked="false"] {
  background-color: #000000;
}

.bookmark-button[data-is-bookmarked="false"]:hover {
  background-color: #000000;
}

.bookmark-button[data-is-bookmarked="true"] {
  background-color: #3675ac;
}

.bookmark-button[data-is-bookmarked="true"]:hover {
  background-color: #087bd3;
}

.bookmark-button.loading {
  background-color: #ffc107;
  cursor: not-allowed;
  opacity: 0.8;
}

.bookmark-prompt {
  margin-top: 15px;
  text-align: center;
}

.bookmark-login-link {
  display: inline-block;
  padding: 10px 15px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.bookmark-login-link:hover {
  background-color: #0056b3;
}

#postersection {
  flex-direction: column;
  display: flex;
  gap: 5px;
}

/* PROFILE CONTENT */
/* Tab navigasyon stilleri */
.tab-button {
  padding: 5px 10px;
  font-weight: 500;
  color: #000000;
  /* Gri metin */
  border: none;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  flex-grow: 1;
  /* Butonların eşit genişlikte yayılmasını sağlar */
  text-align: center;
}

.tab-button.active {
  color: #f3f3f3;
  border-bottom: 5px solid #b90000;
  border-left: none;
  border-right: none;
  border-top: none;
  background: black;
}

.tab-button:hover:not(.active) {
  color: #4f46e5;
  font-weight: 600;
  background-color: #eef2ff;
  /* Hafif mor arka plan */
}

/* Tab içerik stilleri */
.tab-content {
  display: none;
  /* Varsayılan olarak gizli */
  padding: 1.5rem;
}

.tab-content.active {
  display: block;
  /* Aktif olanı göster */
}

/* Mesaj kutusu stilleri */
.message-box {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  display: none;
  /* Varsayılan olarak gizli */
}

.message-box.success {
  background-color: #d1fae5;
  color: #065f46;
}

.message-box.error {
  background-color: #fee2e2;
  color: #991b1b;
}

.message-box.info {
  background-color: #e0f2fe;
  color: #0369a1;
}

/* Favori filmler grid ve kart stilleri */
.favorite-movies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,
      minmax(150px, 1fr));
  /* Responsive grid */
  gap: 1rem;
}

.favorite-movie-card {
  background-color: #f9fafb;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  text-align: center;
  padding-bottom: 10px;
}

.favorite-movie-card img {
  width: 100%;
  height: 225px;
  /* Poster yüksekliği */
  object-fit: cover;
  border-bottom: 1px solid #e5e7eb;
}

.favorite-movie-card h4 {
  font-size: 12px;
  font-weight: 600;
  margin-top: 10px;
  color: #000000;
  padding: 0 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.favorite-movie-card a {
  text-decoration: none;
  color: inherit;
}

.favorite-movie-card a:hover h4 {
  color: #4f46e5;
}

.favorite-movie-card .remove-bookmark-btn {
  background-color: #447dd3;
  /* Kırmızı tonu */
  color: white;
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  margin-top: 10px;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s ease;
}

.favorite-movie-card .remove-bookmark-btn:hover {
  background-color: #c82333;
}

/* PROFILE CONTENT END */

@media (max-width: 1200px) {
  .film-card {
    flex: 0 0 calc((100% / 5) - 20px);
    /* 5 kart */
    width: calc((100% / 5) - 20px);
  }

  .movie-cardfragman {
    width: calc((100% / 6) - 16.66px);
    /* 6 fragman, 20px gap için (20/6)*5 = 16.66 */
  }
}

@media (max-width: 992px) {
  .film-card {
    flex: 0 0 calc((100% / 4) - 5px);
    width: calc((100% / 4) - 5px);
  }

  .movie-slider-fragman {
    overflow-x: scroll;
  }

  .film-item {
    max-height: 275px;
  }

  .logo {
    width: 160px;
  }

  .search-box,
  .modal-search-box {
    width: 150px;
  }

  .movie-cardfragman {
    width: calc((100% / 5) - 16px);
    /* 5 fragman, 20px gap için (20/5)*4 = 16 */
  }
}

/* --- BÜYÜK EKRANLAR (769px ve üzeri) --- */
@media (min-width: 769px) {

  /* Önceki 768px max-width kullanıyorsak bu 769px olmalı */
  .main-nav {
    max-height: none;
    /* Mobil max-height'ı sıfırla */
    overflow: visible;
    /* Mobil overflow'u sıfırla */
    /* background-color: transparent; Büyük ekranda nav arka planı yoksa */
  }

  .main-nav .gz {
    display: none;
  }

  .main-nav ul {
    flex-direction: row;
    /* Yan yana geri dön */
  }

  .hamburger-menu {
    display: none;
    /* Hamburger menüyü gizle */
  }

  .menu-toggle {
    display: none;
    /* Checkbox'ı gizle */
  }

  /* Dropdown içeriği mutlak konumlandırılmış */
  .dropdown-content {
    position: absolute;
    /* Mutlak konumlandırma */
    top: 100%;
    /* Üst menü linkinin altına */
    left: 0;
    /* Sol kenara hizalı */
    min-width: 160px;
    /* Sabit genişlik */
  }

  /* Hover durumunda DROPDOWN'ı aç */
  .dropdown:hover .dropdown-content {
    max-height: 500px;
    /* Açıkken yeterli yükseklik, ihtiyaca göre ayarla */
    overflow-y: auto;
    /* İçerik taşarsa kaydırma çubuğunu göster */
  }
}

@media (max-width: 768px) {
  .film-card {
    flex: 0 0 calc((100% / 3) - 5px);
    width: calc((100% / 3) - 5px);
  }

  .slider-btn {
    width: 60px;
    /* Butonları biraz küçült */
    height: 60px;
    font-size: 16px;
  }

  .slider-btn .prevleft,
  .slider-btn .prevnext {
    font-size: 25px;
  }

  .sidebar {
    margin-top: 2rem;
  }

  .prev {
    left: -20px;
    /* Kenara biraz daha yaklaşsın */
  }

  .next {
    right: -20px;
  }

  /* Film Listesi Bölümü (aşağıdaki "EN SON EKLENEN FİLMLER" kısmı) */
  .film-list {
    gap: 20px 10px;
    /* Mobil için boşlukları azalt */
  }

  .film-item {
    flex-basis: calc(50% - 5px);
    /* %50 genişlik, 10px boşluğun yarısı */
    max-height: unset;
    /* Yüksekliği sınırlamayın, içeriğe göre ayarlansın */
    flex-direction: row;
    /* Tekrar satır düzenine dönün */
    align-items: flex-start;
    padding: 10px;
  }

  .film-poster {
    width: 120px;
    /* Poster genişliğini küçült */
    height: auto;
  }

  .film-info {
    margin-left: 10px;
    text-align: left;
    /* Metinleri sola hizala */
  }

  .film-info h3 {
    font-size: 20px;
  }

  .meta {
    font-size: 13px;
    text-align: left;
    padding-left: 1rem;
    line-height: 24px;
  }

  .amy-movie-item-meta {
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
  }

  .actions button {
    padding: 3px 8px;
    font-size: 16px;
    font-weight: 500;
  }

  /* Film Detay Sayfası (.movie-card) */
  .movie-card {
    flex-direction: column;
    /* Tablet ve mobil'de alt alta sırala */
    align-items: center;
  }

  .poster-section {
    width: 70%;
    /* Afişin daha büyük görünmesini sağla */
    max-width: 300px;
    /* Maksimum genişlik ver */
    margin-bottom: 20px;
  }

  .movie-slider-fragman {
    overflow-x: scroll;
  }

  .details-section {
    padding: 1rem;
    text-align: center;
    /* Detay metinlerini ortala */
  }

  .detail-item {
    flex-direction: column;
    /* Detay etiketlerini ve değerlerini alt alta al */
    align-items: center;
    margin-bottom: 10px;
  }

  .detail-label {
    width: auto;
    /* Genişlik kısıtlamasını kaldır */
    margin-bottom: 5px;
  }

  .detail-value {
    width: 100%;
  }

  .summary-section {
    padding: 1rem;
  }

  .movie-cardfragman {
    width: calc((100% / 4) - 15px);
    /* 4 fragman, 20px gap için (20/4)*3 = 15 */
  }

  .film-item {
    flex-direction: column;
    align-items: center;
    width: 100%;
    /* Küçük ekranlarda tam genişlik */
  }

  .film-card-link {
    margin-bottom: 10px;
    /* Mobilde poster ile bilgiler arasına boşluk */
  }

  .film-info {
    text-align: center;
    margin-left: 0;
    /* Mobilde sol boşluğu kaldır */
  }

  .modal-content {
    width: 95%;
    padding: 10px;
  }

  .close-button {
    font-size: 30px;
    top: 5px;
    right: 10px;
  }

  .movie-card {
    flex-direction: column;
  }

  .poster-section {
    width: 65%;
    /* Tablet ve masaüstü için afiş genişliği */
  }

  .main-header .containerheader {
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
  }

  .search-box {
    order: 3;
    width: 100%;
    margin: 15px 0;
    max-width: none;
  }

  .main-nav {
    order: 4;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    background-color: #333;
  }

  /* Hamburger menü checkboksa bağlı açılıp kapanır */
  .menu-toggle:checked~.main-nav {
    max-height: 500px;
    /* Menünüzün tüm içeriğini kapsayacak yeterli bir değer */
    overflow-y: auto;
    /* Menü içeriği taşarsa kaydırma çubuğu çıksın */
  }

  .hamburger-menu {
    display: flex;
    /* Bu zaten hamburger menu'nuzu görünür yapıyor */
    order: 2;
    position: static;
  }

  .menu-toggle {
    display: none;
    /* Checkbox'ı gizle ama işlevsel kalsın */
  }

  .main-nav ul {
    flex-direction: column;
    padding: 10px 0;
    border-top: 1px solid #444;
  }

  .main-nav ul li {
    border-bottom: 1px solid #444;
  }

  .main-nav ul li:last-child {
    border-bottom: none;
  }

  .main-nav ul li a {
    padding: 15px 20px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* İçeriği sola hizala */
    gap: 10px;
    /* İkon ile yazı arasına boşluk */
  }

  .main-nav ul li a svg {
    /* SVG ikonlarınızın boyutunu ve rengini burada ayarlayabilirsiniz */
    width: 24px;
    height: 24px;
    stroke: #f0f0f0;
    /* Örneğin */
  }

  .menu-toggle:checked+.hamburger-menu span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle:checked+.hamburger-menu span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked+.hamburger-menu span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .modal-content {
    width: 95%;
    padding: 15px;
  }

  .modal-search-box .search-input {
    font-size: 16px;
    padding: 10px 12px;
    height: 40px;
  }

  .modal-search-box .search-button {
    padding: 10px 12px;
  }

  .modal-search-results .result-thumbnail {
    width: 40px;
    height: 60px;
  }

  .modal-search-results .result-title {
    font-size: 15px;
  }

  .modal-search-results .result-original-title {
    font-size: 12px;
  }

  /* Normalde hover ile açılan dropdown'ı gizle ve konumunu statik yap */
  .dropdown-content {
    position: static;
    /* Mutlak konumlandırmayı kaldırır */
    box-shadow: none;
    /* Gölgeyi kaldırır */
    border-top: 1px solid #555;
    /* Ayırıcı */
    background-color: #444;
    /* Biraz farklı arka plan */
    margin-left: 0px;
    /* Max-height ve overflow ile gizli olacak, JS kontrol edecek */
    max-height: 0;
    /* Başlangıçta kapalı */
    overflow: hidden;
    /* Taşmayı gizle */
    transition: max-height 0.3s ease-out;
    /* Animasyon */
  }

  /* Mobil görünümdeki kaydırma çubuğu için de aynı stilleri uygulayabiliriz */
  .dropdown-content::-webkit-scrollbar {
    width: 8px;
  }

  .dropdown-content::-webkit-scrollbar-track {
    background: #555;
    border-radius: 10px;
  }

  .dropdown-content::-webkit-scrollbar-thumb {
    background-color: #00bcd4;
    border-radius: 10px;
    border: 2px solid #555;
  }

  .dropdown-content::-webkit-scrollbar-thumb:hover {
    background-color: #0097a7;
  }

  /* Dropdown içeriğindeki bağlantılar için girinti */
  .dropdown-content a {
    padding-left: 40px;
    /* İçeriği girintile */
    background-color: #444 !important;
    /* Hover renkleriyle çakışmayı önle */
  }

  .dropdown-content a:hover {
    background-color: #555 !important;
  }

  /* Dropdown başlığının (dropbtn) sağındaki ok ikonu */
  .dropdown .dropbtn {
    position: relative;
    /* Ok için konumlandırma */
    display: flex;
    align-items: center;
    width: 100%;
  }

  .dropdown .dropbtn::after {
    content: "▼";
    /* Aşağı ok */
    font-size: 0.7em;
    margin-left: auto;
    /* Sağa hizala */
    transition: transform 0.3s ease;
    color: #f0f0f0;
  }

  /* Dropdown açıkken ok ikonunu yukarı çevir */
  .dropdown.active .dropbtn::after {
    content: "▲";
    /* Yukarı ok */
    transform: rotate(0deg);
    /* Zaten ▲ olduğu için döndürmeye gerek yok, sadece içeriği değiştiriyoruz */
  }

  /* Mobil modda hover'ı tamamen kapat */
  .dropdown:hover .dropdown-content {
    max-height: 0;
    /* Hover ile açılmasın */
    overflow: hidden;
  }

  /* JavaScript'in ekleyeceği sınıf ile açılma */
  .dropdown-content.open {
    max-height: 500px;
    /* Açıkken yeterli yükseklik, ihtiyaca göre ayarla */
    overflow-y: auto;
    /* İçerik taşarsa kaydırma çubuğunu göster */
  }

  .movie-card:hover .buttonsaction,
  .movie-card:hover .movie-tooltip,
  .movie-card:hover .play-icon {
    display: none !important;
    pointer-events: none !important;
    opacity: 0 !important;
  }

  .movie-card:hover .buttonsaction {
    pointer-events: none !important;
    opacity: 0 !important;
  }

  .film-card:hover .buttonsaction,
  .film-card:hover .movie-tooltip,
  .film-card:hover .play-icon {
    display: none !important;
    pointer-events: none !important;
    opacity: 0 !important;
  }

  .film-card:hover .buttonsaction {
    pointer-events: none !important;
    opacity: 0 !important;
  }

  .btntooltip:hover {
    opacity: 1 !important;
    /* ya da 0, görünmesini istemiyorsan */
    pointer-events: none !important;
  }

  .movie-card a {
    position: relative;
    pointer-events: auto;
  }

  /* Geri kalan her şeyi devre dışı bırak: */
  .movie-card *:not(a):not(button) {
    pointer-events: none;
  }

}

@media (max-width: 576px) {
  .film-card {
    flex: 0 0 calc((100% / 2) - 5px);
    width: calc((100% / 2) - 5px);
    min-width: unset;
    /* Minimum genişliği kaldırın, iki karta tam sığsın */
  }

  .slider-btn {
    width: 50px;
    /* Butonları daha da küçült */
    height: 50px;
    font-size: 14px;
  }

  .slider-btn .prevleft,
  .slider-btn .prevnext {
    font-size: 20px;
  }

  .prev {
    left: -10px;
    /* Kenara daha da yaklaşsın */
  }

  .next {
    right: -10px;
  }

  /* Kart içeriğindeki font boyutlarını daha fazla küçültün */
  .film-card h3 {
    font-size: 18px;
    padding: 8px 5px 5px 5px;
  }

  .film-card .date {
    font-size: 14px;
    padding: 0 5px 5px 5px;
  }

  .movie-cardfragman {
    width: calc((100% / 3) - 13.33px);
    /* 3 fragman, 20px gap için (20/3)*2 = 13.33 */
  }
}

@media (max-width: 480px) {

  /* Film Listesi Bölümü */
  .film-slider {
    gap: 10px;
    /* Çok küçük ekranlarda kartlar arası boşluğu azalt */
    padding-left: 0px;
    padding-right: 0px;
  }

  .film-card {
    flex: 0 0 calc((100% - 10px) / 2);
    /* 2 kart için, aradaki 10px gap'i çıkar */
    width: calc((100% - 10px) / 2);
  }

  .film-card h3 {
    font-size: 14px;
    /* Daha küçük font */
    padding: 6px 3px 0px 3px;
  }

  .film-card .date {
    font-size: 12px;
    padding: 6px 3px 3px 3px;
  }

  .film-card .rating {
    width: 22px;
    height: 22px;
    font-size: 9px;
    bottom: 2px;
    left: 2px;
  }

  .film-card .etiket {
    font-size: 13px;
    top: 8px;
    left: 6px;
    padding: 1px 3px;
  }

  .slider-btn {
    width: 55px;
    height: 55px;
    font-size: 12px;
    top: 40%;
  }

  .slider-btn .prevleft,
  .slider-btn .prevnext {
    font-size: 22px;
    color: #fff;
  }

  .prev {
    left: -25px;
  }

  .next {
    right: -25px;
  }

  .movie-slider-fragman {
    overflow-x: scroll;
  }

  .movie-slider {
    overflow-x: auto;
  }

  .movie-cardfragman {
    width: calc(100% / 2);
  }

  .movie-cardfragman {
    width: calc(50% - 10px);
    /* 375px ve altında 2 fragman (20px boşluğun yarısı) */
  }

  .entry-header h2 {
    font-size: 24px;
  }

  .film-item {
    flex-basis: 100%;
    max-height: unset;
  }
}

@media (max-width: 375px) {

  /* film-card için 576px'deki ayarlar geçerli kalacak (2 kart) */
  /* Burada daha fazla küçültme gerekiyorsa ayarlayın */
  .film-slider {
    gap: 10px;
    /* Çok küçük ekranlarda kartlar arası boşluğu azalt */
    padding-left: 0px;
    padding-right: 0px;
  }

  .film-card {
    flex: 0 0 calc((100% - 10px) / 2);
    /* 2 kart için, aradaki 10px gap'i çıkar */
    width: calc((100% - 10px) / 2);
  }

  .film-card h3 {
    font-size: 14px;
    /* Daha küçük font */
    padding: 6px 3px 0px 3px;
  }

  .film-card .date {
    font-size: 12px;
    padding: 6px 3px 3px 3px;
  }

  .film-card .rating {
    width: 22px;
    height: 22px;
    font-size: 9px;
    bottom: 2px;
    left: 2px;
  }

  .film-card .etiket {
    font-size: 13px;
    top: 8px;
    left: 6px;
    padding: 1px 3px;
  }

  .slider-btn {
    width: 55px;
    height: 55px;
    font-size: 12px;
    top: 40%;
  }

  .slider-btn .prevleft,
  .slider-btn .prevnext {
    font-size: 22px;
    color: #fff;
  }

  .prev {
    left: -25px;
  }

  .next {
    right: -25px;
  }

  .movie-slider-fragman {
    overflow-x: scroll;
  }

  .movie-slider {
    overflow-x: auto;
  }

  .movie-cardfragman {
    width: calc(100% / 2);
  }

  .movie-cardfragman {
    width: calc(50% - 10px);
    /* 375px ve altında 2 fragman (20px boşluğun yarısı) */
  }

  .entry-header h2 {
    font-size: 24px;
  }
}

/* Breadcrumb Navigation - Global Styles */
.breadcrumb-nav {
  background: transparent;
  padding: 1rem 0;
  margin-bottom: 1.5rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 0.75rem 1rem;
  margin-bottom: 0;
  list-style: none;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  font-size: 0.9rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item+.breadcrumb-item::before {
  display: inline-block;
  padding-right: 0.5rem;
  padding-left: 0.5rem;
  color: #6c757d;
  content: "›";
  font-size: 1.2rem;
}

.breadcrumb-item a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb-item a:hover {
  color: #0056b3;
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: #6c757d;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 25px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  min-width: 310px;
}

.search-box:hover {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.25);
}

.search-box:focus-within {
  background: rgba(0, 0, 0, 0.5);
  border-color: var(--amy-primary-color, #ffd700);
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14px;
  padding: 0;
  margin-left: 10px;
  height: auto;
  line-height: normal;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
  font-size: 11px;
  font-style: normal;
}

.search-icon {
  color: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.search-box:focus-within .search-icon {
  color: var(--amy-primary-color, #ffd700);
}


@media (max-width: 768px) {
  .search-box {
    display: none;
  }
}

.mobile-search-icon {
  display: none;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.mobile-search-icon:hover {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.25);
}

.mobile-search-icon svg {
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .mobile-search-icon {
    display: flex;
  }
}

.footer-top {
  padding: 40px 0 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: 16px;
  color: rgba(0, 0, 0, 0.9);
  margin: 15px 0 10px;
  font-weight: 500;
}

.footer-copyright {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.6);
  margin: 0 0 30px 0;
}

/* Promotional Text Section */
.footer-promo-text {
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.footer-promo-text h3 {
  font-size: 22px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 15px;
  text-align: center;
}

.footer-promo-text p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.75);
  margin-bottom: 20px;
}

.footer-promo-text strong {
  color: rgba(0, 0, 0, 0.95);
  font-weight: 600;
}

.footer-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin: 25px 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.7);
  white-space: nowrap;
}

.feature-item>div {
  display: inline;
}

.feature-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.footer-cta {
  text-align: center;
  font-size: 15px !important;
  margin-bottom: 0 !important;
}

@media (max-width: 768px) {
  .footer-promo-text {
    padding: 20px;
  }

  .footer-promo-text h3 {
    font-size: 18px;
  }

  .footer-features {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.footer-sitemap {
  padding: 50px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-sitemap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: left;
}

.footer-sitemap-column h5 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 10px;
  padding-left: 5px;
  text-align: left;
}

.footer-sitemap-column h5:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--amy-primary-color, #ff6b6b), transparent);
}

.footer-sitemap-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Two column layout for categories */
.footer-sitemap-links.two-columns {
  column-count: 2;
  column-gap: 15px;
}

.footer-sitemap-links li {
  margin-bottom: 10px;
  break-inside: avoid;
}

.footer-sitemap-links a {
  color: rgba(0, 0, 0, 0.75);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-sitemap-links a:hover {
  color: #a75b5b;
  transform: translateX(5px);
}

.footer-sitemap-links a:before {
  content: '▸';
  opacity: 0;
  margin-right: 5px;
  transition: opacity 0.3s;
}

.footer-sitemap-links a:hover:before {
  opacity: 1;
}

/* Disclaimer Section */
.footer-disclaimer {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
  padding: 30px;
  border-radius: 10px;
  margin-top: 20px;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-disclaimer h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: rgba(0, 0, 0, 0.9);
}

.footer-disclaimer p {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.6);
  margin: 0;
}

@media (max-width: 992px) {
  .footer-sitemap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-sitemap-grid {
    grid-template-columns: 1fr;
  }

  .footer-sitemap-column h5 {
    margin-top: 20px;
    margin-bottom: 15px;
  }
}

/* Performance: reserve media and ad space to reduce layout shifts. */
.movie-poster,
#postersection,
.poster,
.film-card > a:first-child {
  aspect-ratio: 2 / 3;
  overflow: hidden;
}

.movie-poster picture,
#postersection picture,
.poster picture,
.movie-poster img,
#postersection img,
.poster img,
.film-poster {
  display: block;
  width: 100%;
  height: 100%;
}

.movie-poster img,
#postersection img,
.poster img,
.film-poster {
  object-fit: cover;
}

.ad-slot {
  display: block;
  width: 100%;
  min-height: 120px;
  contain: layout paint;
}

@media (min-width: 768px) {
  .ad-slot {
    min-height: 90px;
  }
}

