/* ===========================================================================
   khaybar.css — flagship "Khaybar" feature-film hero + embedded full film.
   Loads after cinema-page.css (overrides .cinema-hero) and before animations.css.
   Roll back: remove this <link>, the .khaybar-hero + #full-film sections in
   cinema.html, the khaybar bits in cinema.js, and the two khaybar-* assets.
   =========================================================================== */

/* ---------------------------- feature-film hero ---------------------------- */
.khaybar-hero {
  text-align: center;
  background: radial-gradient(125% 100% at 50% 0%, #1a1206 0%, #0a0a0f 46%, #000 100%);
}
.khaybar-hero .cinema-hero-video { opacity: 0.6; }
/* warmer, darker cinematic scrim so the title reads over any frame */
.khaybar-hero .cinema-hero-scrim {
  background:
    radial-gradient(120% 95% at 50% 46%, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.6) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.92) 0%, transparent 30%, transparent 60%, rgba(0, 0, 0, 0.86) 100%);
}
/* thin gold "film-frame" rules top & bottom */
.khaybar-hero::before, .khaybar-hero::after {
  content: ""; position: absolute; left: 0; right: 0; height: 3px; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(173, 142, 98, 0.7), transparent);
}
.khaybar-hero::before { top: 0; }
.khaybar-hero::after { bottom: 0; }

.khaybar-kicker {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.22em; font-size: clamp(11px, 1.2vw, 13px); color: var(--gold-hover);
  display: inline-flex; align-items: center; gap: 10px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.75);
}
.kb-star { color: var(--gold); }

.khaybar-title {
  font-family: var(--font-head); font-weight: 800; letter-spacing: -0.02em; line-height: 0.95;
  font-size: clamp(64px, 13vw, 184px); margin-top: 10px;
  color: #fff; /* fallback if background-clip:text is unsupported */
  text-shadow: 0 6px 50px rgba(0, 0, 0, 0.6), 0 0 70px rgba(173, 142, 98, 0.22);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .khaybar-title {
    background: linear-gradient(180deg, #ffffff 42%, #e9d6b0 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
  }
}
.khaybar-arabic {
  font-family: "Amiri", "Times New Roman", serif; font-weight: 700;
  font-size: clamp(40px, 8vw, 104px); line-height: 1; margin-top: 2px;
  color: var(--gold-hover); text-shadow: 0 2px 30px rgba(0, 0, 0, 0.55);
}
.khaybar-logline { max-width: 56ch; margin-inline: auto; color: #d7ddea; }

.khaybar-cta { display: flex; flex-wrap: wrap; gap: 14px 18px; justify-content: center; }
.kb-tri { font-size: 0.85em; line-height: 1; }

.btn--ghost-gold { background: transparent; color: #f0e2c6; border: 1px solid rgba(173, 142, 98, 0.6); }
.btn--ghost-gold:hover {
  background: rgba(173, 142, 98, 0.14); border-color: var(--gold-hover); color: #fff;
  box-shadow: none; transform: translateY(-1px);
}

.khaybar-badge {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: #0c0c0c;
  background: linear-gradient(180deg, var(--gold), #9a7b48);
  padding: 7px 16px; border-radius: 999px;
}

/* --------------------------- embedded full film --------------------------- */
.khaybar-feature { background: linear-gradient(180deg, #04152a, #02060d); }
.kb-em { color: var(--gold-hover); font-style: normal; }

.khaybar-embed {
  position: relative; max-width: 1040px; margin: clamp(34px, 5vw, 60px) auto 0;
  aspect-ratio: 16 / 9; border-radius: clamp(14px, 1.8vw, 22px); overflow: hidden;
  background: #000; border: 1px solid rgba(173, 142, 98, 0.28);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.85), 0 0 70px -36px rgba(173, 142, 98, 0.35);
}
.khaybar-embed-poster { position: absolute; inset: 0; display: block; cursor: pointer; }
.khaybar-embed-poster:focus-visible { outline: 3px solid var(--gold-hover); outline-offset: -3px; }
.khaybar-embed-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.khaybar-embed-poster::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), transparent 46%);
}
.yt-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.6)); transition: transform 0.25s var(--ease);
}
.yt-play svg { display: block; width: clamp(64px, 8vw, 88px); height: auto; }
.khaybar-embed-poster:hover .yt-play, .khaybar-embed-poster:focus-visible .yt-play { transform: translate(-50%, -50%) scale(1.08); }
.khaybar-embed-cap {
  position: absolute; left: 18px; bottom: 16px; z-index: 2;
  font-family: var(--font-head); font-weight: 700; font-size: clamp(12px, 1.4vw, 15px);
  color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}
.khaybar-iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 600px) {
  .khaybar-title { font-size: clamp(52px, 13vw, 92px); }
  .khaybar-cta .btn { width: 100%; justify-content: center; }
}
