/*
 * ============================================================================
 *  ANASAYFA — STİL            Yol: /modules/anasayfa/anasayfa.css
 * ----------------------------------------------------------------------------
 *  Önek: .szh-*  (sadece ana sayfada yüklenir)
 *  - .szh-hero   : sinematik vitrin (arka planda fragman / bulanık poster)
 *  - .szh-top10  : Netflix tarzı büyük numaralı Top 10 rafı
 *  - .szh-promo  : kampanya bandı (1 yıl premium vb.)
 * ============================================================================
 */

/* ---------- VİTRİN ---------- */
.szh-hero { position: relative; height: min(92vh, 860px); min-height: 560px; overflow: hidden; background: #000; isolation: isolate; }
.szh-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s var(--sz-ease), visibility .9s; }
.szh-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.szh-slide__bg { position: absolute; inset: 0; overflow: hidden; }
.szh-slide__bg img {
  position: absolute; inset: -6%; width: 112%; height: 112%; object-fit: cover; object-position: center 25%;
  filter: blur(26px) saturate(1.25) brightness(.62); transform: scale(1.08);
}
.szh-slide.is-active .szh-slide__bg img { animation: szh-kenburns 18s ease-out both; }
@keyframes szh-kenburns { from { transform: scale(1.16); } to { transform: scale(1.06); } }
.szh-slide__video { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s; }
.szh-slide__video.is-on { opacity: 1; }
.szh-slide__video video { width: 100%; height: 100%; object-fit: cover; }
.szh-slide__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6,6,10,.96) 0%, rgba(6,6,10,.78) 30%, rgba(6,6,10,.25) 62%, rgba(6,6,10,.4) 100%),
    linear-gradient(0deg, var(--sz-bg) 0%, rgba(6,6,10,.0) 30%),
    linear-gradient(180deg, rgba(6,6,10,.55) 0%, transparent 22%);
}
.szh-slide__in { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: var(--sz-header-h); padding-bottom: 80px; }
.szh-slide__content { max-width: 720px; }
.szh-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.szh-meta .sz-badge--imdb { height: 36px; font-size: 17px; padding: 0 12px; border-radius: 9px; }
.szh-meta .sz-badge--imdb .sz-ico { width: 17px; height: 17px; }
.szh-meta__txt { font-size: 17px; font-weight: 700; color: #d6d6e2; letter-spacing: .04em; }
.szh-meta__hd { font-size: 16px; font-weight: 800; letter-spacing: .08em; background: var(--sz-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.szh-title { font-family: var(--sz-font-display); font-weight: 400; font-size: clamp(54px, 8.6vw, 128px); line-height: .9; letter-spacing: .005em; text-transform: uppercase; text-shadow: 0 6px 40px rgba(0,0,0,.5); margin-bottom: 22px; }
.szh-title a:hover { opacity: .92; }
.szh-desc { font-size: clamp(15px, 1.3vw, 19px); line-height: 1.6; color: #e1e1ea; max-width: 640px; border-left: 3px solid var(--sz-primary); padding-left: 22px; margin-bottom: 32px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.szh-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.szh-poster {
  flex: none; width: clamp(220px, 21vw, 320px); aspect-ratio: 2/3; border-radius: 22px; overflow: hidden; position: relative;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.12); transform: perspective(1200px) rotateY(-10deg) rotateX(3deg);
  transition: transform .6s var(--sz-ease);
}
.szh-poster:hover { transform: perspective(1200px) rotateY(0) rotateX(0) translateY(-6px); }
.szh-poster img { width: 100%; height: 100%; object-fit: cover; }
.szh-poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.18) 0%, transparent 35%); }
.szh-slide.is-active .szh-slide__content > * { animation: szh-up .9s var(--sz-ease) both; }
.szh-slide.is-active .szh-slide__content > *:nth-child(2) { animation-delay: .08s; }
.szh-slide.is-active .szh-slide__content > *:nth-child(3) { animation-delay: .16s; }
.szh-slide.is-active .szh-slide__content > *:nth-child(4) { animation-delay: .24s; }
.szh-slide.is-active .szh-poster { animation: szh-poster 1.1s var(--sz-ease) both .1s; }
@keyframes szh-up { from { opacity: 0; transform: translateY(26px); } }
@keyframes szh-poster { from { opacity: 0; transform: perspective(1200px) rotateY(-24deg) translateX(40px); } }

.szh-controls { position: absolute; left: 0; right: 0; bottom: clamp(28px, 6vh, 60px); z-index: 5; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.szh-controls > * { pointer-events: auto; }
.szh-dots { display: flex; gap: 8px; }
.szh-dot { width: 34px; height: 5px; border-radius: 5px; background: rgba(255,255,255,.22); overflow: hidden; transition: width .4s var(--sz-ease); }
.szh-dot.is-active { width: 64px; }
.szh-dot i { display: block; height: 100%; width: 0; background: #fff; border-radius: 5px; }
.szh-dot.is-active i { animation: szh-progress var(--szh-dur, 8s) linear forwards; }
.szh-hero.is-paused .szh-dot.is-active i { animation-play-state: paused; }
@keyframes szh-progress { to { width: 100%; } }
.szh-mute { width: 46px; height: 46px; background: rgba(0,0,0,.35); backdrop-filter: blur(8px); color: #fff; }

.szh-rows { position: relative; z-index: 3; margin-top: -40px; }

@media (max-width: 860px) {
  .szh-hero { height: 78vh; min-height: 520px; max-height: 720px; }
  .szh-slide__bg img { filter: blur(0) saturate(1.1) brightness(.75); inset: 0; width: 100%; height: 100%; object-position: center 20%; transform: none; }
  .szh-slide.is-active .szh-slide__bg img { animation: none; }
  .szh-slide__bg::after { background: linear-gradient(0deg, var(--sz-bg) 3%, rgba(6,6,10,.7) 38%, rgba(6,6,10,.15) 70%, rgba(6,6,10,.5) 100%); }
  .szh-slide__in { align-items: flex-end; padding-bottom: 76px; text-align: center; justify-content: center; }
  .szh-slide__content { width: 100%; }
  .szh-meta { justify-content: center; gap: 10px; margin-bottom: 12px; }
  .szh-meta .sz-badge--imdb { height: 28px; font-size: 13.5px; }
  .szh-meta__txt, .szh-meta__hd { font-size: 13px; }
  .szh-title { margin-bottom: 12px; font-size: clamp(42px, 13vw, 70px); }
  .szh-desc { border: 0; padding: 0; font-size: 14px; -webkit-line-clamp: 2; margin: 0 auto 20px; color: #cfcfdb; }
  .szh-actions { justify-content: center; gap: 10px; }
  .szh-actions .sz-btn--lg { --h: 48px; padding: 0 22px; font-size: 15px; }
  .szh-controls { bottom: 30px; justify-content: center; }
  .szh-mute { display: none; }
  .szh-dot { width: 18px; height: 4px; } .szh-dot.is-active { width: 34px; }
  .szh-rows { margin-top: -10px; }
}

/* ---------- TOP 10 ---------- */
.szh-top10 { grid-auto-columns: clamp(170px, 16vw, 250px); gap: 6px; }
.szh-top { position: relative; display: flex; align-items: flex-end; height: 100%; }
.szh-top__n {
  font-family: var(--sz-font-display); font-size: clamp(120px, 12vw, 200px); line-height: .78; letter-spacing: -.06em; flex: none;
  color: var(--sz-bg); -webkit-text-stroke: 3px rgba(255,255,255,.4); margin-right: -0.12em; position: relative; z-index: 1; transition: -webkit-text-stroke-color .3s;
  text-shadow: 0 0 30px rgba(123,92,255,.0);
}
.szh-top:hover .szh-top__n { -webkit-text-stroke-color: var(--sz-primary); }
.szh-top__p { width: 62%; flex: none; position: relative; z-index: 2; }
.szh-top__p::after { opacity: 0; }
@media (hover: hover) { .szh-top:hover .szh-top__p { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(123,92,255,.55), 0 22px 50px -18px rgba(123,92,255,.55); } }
@media (max-width: 860px) { .szh-top10 { grid-auto-columns: 150px; } .szh-top__n { -webkit-text-stroke-width: 2px; } }

/* ---------- KAMPANYA BANDI ---------- */
.szh-promo {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 24px; padding: clamp(20px, 3vw, 32px) clamp(20px, 3vw, 40px); border-radius: var(--sz-r-xl);
  background: radial-gradient(500px 220px at 0% 0%, rgba(255,211,107,.18), transparent 70%), linear-gradient(120deg, #1b1430 0%, #141a35 100%);
  border: 1px solid rgba(255,211,107,.22);
}
.szh-promo__ico { width: 64px; height: 64px; flex: none; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(135deg, #ffd36b, #ff9f1a); color: #2a1600; box-shadow: 0 10px 30px -8px rgba(255,159,26,.6); }
.szh-promo__ico .sz-ico { width: 32px; height: 32px; }
.szh-promo__txt { flex: 1; }
.szh-promo h3 { font-size: clamp(19px, 2vw, 26px); margin-bottom: 4px; }
.szh-promo p { margin: 0; color: var(--sz-text-2); }
@media (max-width: 700px) { .szh-promo { flex-direction: column; text-align: center; } .szh-promo .sz-btn { width: 100%; } }
