/* Hangar Çeviri v4 — alt sayfalarda canlı arka plan, Türkçe Yamalar slider'ı ve sayfalı arşiv.
   v3.css ve v3-pages.css'ten sonra yüklenir; ana sayfaya dokunmaz. */

/* ---------- Canlı arka plan ---------- */
/* Gövde kendi yığın bağlamını kurar; böylece sabit katmanlar içeriğin arkasında, sayfa renginin önünde kalır. */
body.v3.cover-collection { isolation: isolate; background: #0d0d12; }
body.v3.cover-collection::before,
body.v3.cover-collection::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; }
body.v3.cover-collection::before {
  background:
    radial-gradient(40% 36% at 10% 14%, #26bbff24, #26bbff00 72%),
    radial-gradient(34% 32% at 92% 26%, #7c5cff1f, #7c5cff00 72%),
    radial-gradient(44% 40% at 74% 96%, #19e3b114, #19e3b100 72%),
    radial-gradient(30% 30% at 18% 86%, #ff5c8a0f, #ff5c8a00 72%);
  animation: hx-aurora 26s ease-in-out infinite alternate;
}
body.v3.cover-collection::after {
  opacity: .55;
  background-image: linear-gradient(#ffffff07 1px, transparent 1px), linear-gradient(90deg, #ffffff07 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(75% 65% at 50% 35%, #000 10%, transparent 78%);
  mask-image: radial-gradient(75% 65% at 50% 35%, #000 10%, transparent 78%);
}
@keyframes hx-aurora {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-2%, 1.5%, 0) scale(1.06); }
  100% { transform: translate3d(2%, -1%, 0) scale(1.03); }
}
/* İçerik panelleri yarı saydam: üstte sayfa rengi, aşağı indikçe arka plandaki ışık görünür. */
.cover-collection .hx-sheet { background: linear-gradient(180deg, #101014 0, #101014f0 220px, #101014b8 100%); }
.cover-collection .hx-library-bar { background: #101014d9; -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }

/* ---------- Türkçe Yamalar slider'ı ---------- */
.hx-ys { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: clamp(580px, 80svh, 780px); overflow: hidden; background: #060608; }
.hx-ys-stage { position: absolute; inset: 0; z-index: 0; }
.hx-ys-slide { position: absolute; inset: 0; display: flex; align-items: flex-end; visibility: hidden; clip-path: inset(0 0 0 100%); transition: clip-path 1.1s cubic-bezier(.77, 0, .18, 1), visibility 0s 1.1s; }
.hx-ys-slide.is-active { z-index: 2; visibility: visible; clip-path: inset(0); transition: clip-path 1.1s cubic-bezier(.77, 0, .18, 1), visibility 0s; }
.hx-ys-slide.is-leaving { z-index: 1; visibility: visible; clip-path: inset(0); transition: none; }
.hx-ys-slide::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(0deg, #101014 0%, #0b0b0ee6 18%, #0b0b0e00 58%),
    linear-gradient(90deg, #0b0b0eeb 0%, #0b0b0e8c 38%, #0b0b0e00 70%),
    linear-gradient(180deg, #060608d9 0%, #06060800 34%); }
.hx-ys-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; transform: scale(1.12); transition: transform 9s cubic-bezier(.2, .6, .3, 1); will-change: transform; }
.hx-ys-slide.is-active .hx-ys-bg { transform: scale(1.02); }
.hx-ys-content { position: relative; z-index: 2; padding-bottom: clamp(92px, 12vh, 128px); }
.hx-ys-content > * { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--hx-ease), transform .9s var(--hx-ease); }
.hx-ys-slide.is-active .hx-ys-content > * { opacity: 1; transform: none; transition-delay: .3s; }
.hx-ys-slide.is-active .hx-ys-content > :nth-child(2) { transition-delay: .38s; }
.hx-ys-slide.is-active .hx-ys-content > :nth-child(3) { transition-delay: .46s; }
.hx-ys-slide.is-active .hx-ys-content > :nth-child(4) { transition-delay: .54s; }
.hx-ys-tag { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 13px; font-weight: 600; color: var(--hx-soft); }
.hx-ys-tag span { padding: 4px 9px; border-radius: 5px; background: var(--hx-accent); color: #06121a; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.hx-ys-name { max-width: 760px; margin-bottom: 12px; font: 800 clamp(30px, 3.8vw, 58px)/1.02 var(--hx-font); letter-spacing: -.045em; text-wrap: balance; }
.hx-ys-name a { color: inherit; }
.hx-ys-name a:hover { color: var(--hx-accent-hover); }
.hx-ys-desc { max-width: 560px; margin-bottom: 22px; font-size: 15px; line-height: 1.6; color: var(--hx-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hx-ys-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }

.hx-ys-top { position: relative; z-index: 3; padding-top: clamp(26px, 3.6vw, 52px); pointer-events: none; }
.hx-ys-top > * { pointer-events: auto; }
.hx-ys-top .hx-crumbs { margin-bottom: clamp(16px, 2vw, 24px); }
.hx-ys-title { font: 800 clamp(36px, 4.4vw, 64px)/1.02 var(--hx-font); letter-spacing: -.05em; }
.hx-ys-title b { color: var(--hx-accent); }
.hx-ys-lead { max-width: 520px; margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--hx-muted); }
.hx-ys-top .hx-hero-meta { margin-top: 18px; }
.hx-ys-top .hx-pill { background: #0b0b0e80; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

.hx-ys-ui { position: absolute; left: 0; right: 0; bottom: clamp(92px, 12vh, 128px); z-index: 4; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; margin-inline: auto; pointer-events: none; }
.hx-ys-ui > * { pointer-events: auto; }
.hx-ys-nav { display: flex; align-items: center; gap: 8px; }
.hx-ys-count { margin-right: 6px; font: 600 12px/1 ui-monospace, Consolas, monospace; letter-spacing: .08em; color: var(--hx-muted); }
.hx-ys-count b { color: var(--hx-text); font-weight: 600; }
.hx-ys .hx-arrow { width: 38px; height: 38px; background: #ffffff1f; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hx-ys .hx-arrow:hover { background: #ffffff38; }
.hx-ys .hx-arrow[aria-pressed="true"] { background: var(--hx-text); color: var(--hx-bg); }
.hx-ys-rail { display: flex; align-items: flex-end; gap: 10px; }
.hx-ys-rail .hx-rail-item { width: 62px; }
.hx-ys[data-paused] .hx-rail-bar i { animation-play-state: paused !important; }

/* ---------- Arşiv kartları ---------- */
.hx-grid .hx-card-art { transition: box-shadow .45s var(--hx-ease); }
.hx-grid .hx-card:hover .hx-card-art,
.hx-grid .hx-card:focus-visible .hx-card-art { box-shadow: 0 22px 44px #00000099, 0 0 0 1px #ffffff2e, 0 0 36px #26bbff1f; }
.hx-card-type { display: flex; align-items: center; gap: 8px; }
.hx-card-new { padding: 2px 7px; border-radius: 5px; background: var(--hx-accent); color: #06121a; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 4px 14px #26bbff40; }

/* Kaydırdıkça yükleme ve 3 sayfalık sayfalama */
.hx-more { display: flex; justify-content: center; margin-top: 40px; }
.hx-more[hidden] { display: none; }
.hx-pager [aria-disabled="true"] { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 14px; border-radius: 10px; background: #ffffff0f; color: var(--hx-soft); font-size: 14px; font-weight: 600; opacity: .35; }
.hx-pager a { transition: background-color .2s, color .2s, transform .3s var(--hx-ease); }
.hx-pager a:hover { transform: translateY(-2px); }

@media (max-width: 1080px) {
  .hx-ys-rail .hx-rail-item { width: 50px; }
}
@media (max-width: 760px) {
  .hx-ys { min-height: 720px; }
  .hx-ys-content { padding-bottom: 236px; }
  .hx-ys-desc { -webkit-line-clamp: 3; }
  .hx-ys-ui { bottom: 60px; align-items: stretch; gap: 10px; }
  .hx-ys-nav { justify-content: flex-end; }
  .hx-ys-rail { justify-content: space-between; }
  .hx-ys-rail .hx-rail-item { width: calc((100% - 50px) / 6); }
}
@media (prefers-reduced-motion: reduce) {
  body.v3.cover-collection::before { animation: none; }
  .hx-ys-slide, .hx-ys-slide.is-active { transition: none; }
  .hx-ys-bg, .hx-ys-content > * { transition: none; transform: none; }
}
