﻿.hero-v3-shell > .hero-v3 {
  position: relative;
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  height: 550px;
  overflow: hidden;
  padding: 32px 0;
  background-size: cover;
  background-position: center center !important;
  color: #fff;
}

.hero-v3-shell .hero-v3::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 2, 14, 0.92) 0%, rgba(8, 2, 14, 0.67) 36%, rgba(8, 2, 14, 0.04) 76%);
  pointer-events: none;
}

.hero-v3-shell .hero-v3__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(1268px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0;
}

.hero-v3-shell .hero-v3__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 14px;
}
.hero-v3-shell .hero-v3__tags span,
.hero-v3-shell .hero-v3__tags a {
  padding: 6px 11px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
  text-decoration: none;
}
.hero-v3-shell .hero-v3__tags a:hover {
  background: rgba(255, 255, 255, 0.26);
}

.hero-v3-shell .hero-v3__title {
  max-width: 999px;
  margin: 0 0 12px;
  padding: 0;
  color: #fff;
  font-size: clamp(42px, 4vw, 58px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
}
.hero-v3-shell .hero-v3__description {
  max-width: 450px;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
}

/* Star actors / director line under the description */
.hero-v3-shell .hero-v3__people {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  max-width: 510px;
  margin: 12px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.5;
}
.hero-v3-shell .hero-v3__people a {
  color: #fff;
  text-decoration: none;
}
.hero-v3-shell .hero-v3__people a:hover {
  text-decoration: underline;
}
.hero-v3-shell .hero-v3__stars a:not(:last-child)::after {
  content: ",";
}

.hero-v3-shell .hero-v3__ratings {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  margin: 26px 0 0;
}
.hero-v3-shell .hero-v3__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: #fff;
}
.hero-v3-shell .hero-v3__rating > svg {
  flex: none;
  width: 27px;
  height: 27px;
  fill: #f8e71c;
}
.hero-v3-shell .hero-v3__rating strong {
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}
.hero-v3-shell .hero-v3__rating span {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-left: 8px;
  color: #fff;
  font-size: 12px;
  line-height: 1.25;
}
.hero-v3-shell .hero-v3__rating a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #fff;
  font-size: 11px;
  text-decoration: none;
}
.hero-v3-shell .hero-v3__rating a svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-v3-shell .hero-v3__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
}
.hero-v3-shell .hero-v3__actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  box-sizing: border-box;
  margin: 0;
  padding: 10px 17px;
  border-radius: 10px;
  font:
    700 12px Inter,
    Arial,
    sans-serif;
  white-space: nowrap;
  cursor: pointer;
}
.hero-v3-shell .hero-v3__actions .goseances {
  min-width: 190px;
  border: 1px solid #f8e71c;
  background: #f8e71c;
  color: #17170d;
}
/* Sale-state variants of the primary CTA (IndexV2 decision tree) */
.hero-v3-shell .hero-v3__actions .goseances.hero-v3__cta--soldout {
  border-color: #d73128;
  background: #d73128;
  color: #fff;
}
.hero-v3-shell .hero-v3__actions .goseances.hero-v3__cta--happened {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
}
.hero-v3-shell .hero-v3__actions .goseances.hero-v3__cta--soon {
  border-color: #6c5ce7;
  background: #6c5ce7;
  color: #fff;
}
.hero-v3-shell .hero-v3__actions .goseances.hero-v3__cta--bipuan {
  border-color: #f8e71c;
  background: #f8e71c;
  color: #17170d;
}
.hero-v3-shell .hero-v3__actions .hero-v3__secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
}
.hero-v3-shell .hero-v3__secondary svg {
  flex: none;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-v3-shell .hero-v3__secondary[aria-pressed="true"] {
  border-color: #f8e71c;
  color: #f8e71c;
}
.hero-v3-shell .hero-v3 button:focus-visible,
.hero-v3-shell .hero-v3 a:focus-visible {
  outline: 2px solid #f8e71c;
  outline-offset: 3px;
}

/* Shared YouTube overlay (hero trailer + BiSoylesi video), driven by v4-hero.js */
.v4-video-overlay {
  position: fixed;
  inset: 0;
  z-index: 110001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.9);
}
.v4-video-overlay[hidden] {
  display: none;
}
.v4-video-overlay__dialog {
  position: relative;
  width: min(1000px, 100%);
  aspect-ratio: 16 / 9;
}
.v4-video-overlay__dialog iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 20px;
  background: #000;
}
.v4-video-overlay__close {
  position: absolute;
  top: -48px;
  right: 0;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  cursor: pointer;
}
.v4-video-overlay__close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.v4-video-overlay__close:focus-visible {
  outline: 2px solid #f8e71c;
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .hero-v3-shell > .hero-v3 {
    height: 520px;
    align-items: flex-end;
    padding: 28px 0;
    background-position: 62% center !important;
  }
  .hero-v3-shell .hero-v3::before {
    background: linear-gradient(0deg, rgba(8, 2, 14, 0.94), rgba(8, 2, 14, 0.55) 65%, rgba(8, 2, 14, 0.08));
  }
  .hero-v3-shell .hero-v3__inner {
    width: calc(100% - 36px);
  }
  .hero-v3-shell .hero-v3__tags {
    margin-bottom: 12px;
  }
  .hero-v3-shell .hero-v3__title {
    margin-bottom: 10px;
    font-size: clamp(34px, 9vw, 44px);
  }
  .hero-v3-shell .hero-v3__description {
    font-size: 14px;
  }
  .hero-v3-shell .hero-v3__people {
    font-size: 12px;
  }
  .hero-v3-shell .hero-v3__ratings {
    margin-top: 20px;
  }
  .hero-v3-shell .hero-v3__actions {
    gap: 8px;
    margin-top: 20px;
  }
  .hero-v3-shell .hero-v3__actions button {
    min-height: 42px;
    padding: 8px 12px;
  }
  .hero-v3-shell .hero-v3__actions .goseances {
    min-width: 145px;
  }
  .v4-video-overlay {
    padding: 12px;
  }
  .v4-video-overlay__dialog iframe {
    border-radius: 0;
  }
}

/* Arka plan yuksekligi sabit: uzun metinler satir sinirlariyla kisaltilir */
.hero-v3-shell .hero-v3__description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.hero-v3-shell .hero-v3__people {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
