/* Plus Jakarta Sans — siteden sunulur (Google'a istek gitmez; lisans: /fonts/OFL.txt) */
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0b0b12;
  --bg-2: #13131f;
  --surface: #1a1a28;
  --surface-2: #22222f;
  --text: #f4f4f8;
  --muted: #9a9aae;
  --accent: #f5c518;
  --accent-2: #ffa62b;
  --gold: #f5c518;
  --ink: #1a1508;
  --radius: 16px;
  --shadow: 0 10px 40px rgba(0,0,0,.45);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background:
    linear-gradient(rgba(8,8,14,.82), rgba(8,8,14,.9)),
    url("bg.webp") center top / cover no-repeat fixed,
    var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8,8,12,.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 30px;
  padding: 14px 26px;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: .5px; }
.logo-mark {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 4px 14px rgba(245,197,24,.35);
}
.logo-mark svg { width: 16px; height: 16px; fill: var(--ink); }
.logo-text { color: #fff; }
.logo-text b { color: var(--accent); font-weight: 800; }

.main-nav { display: flex; align-items: center; gap: 6px; flex: 1; }
.nav-link {
  position: relative; background: none; color: var(--muted);
  padding: 8px 14px; border-radius: 8px; font-size: 14.5px; font-weight: 600;
  cursor: pointer; white-space: nowrap; transition: color .18s;
}
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--accent); }
.nav-link.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 0;
  height: 2px; background: var(--accent); border-radius: 2px;
}
.nav-drop { position: relative; }
.nav-drop-menu {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 60;
  background: var(--bg-2); border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: 8px; box-shadow: var(--shadow);
  display: none; grid-template-columns: 1fr 1fr; gap: 2px; min-width: 320px;
}
.nav-drop.open .nav-drop-menu { display: grid; }
.cat-item { padding: 9px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; }
.cat-item:hover { background: var(--surface); color: var(--text); }
.cat-item.active { color: var(--ink); background: var(--accent); }

.search-btn {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--surface); color: var(--text);
}
.search-btn:hover { background: var(--surface-2); }
.search-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.search-bar { max-width: 1280px; margin: 0 auto; padding: 0 26px 14px; }
.search-bar input {
  width: 100%; background: var(--surface); border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px; color: var(--text); padding: 13px 20px; font-size: 15px; font-family: inherit; outline: none;
}
.search-bar input:focus { border-color: var(--accent); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--ink); padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: 14px;
  box-shadow: 0 6px 18px rgba(245,197,24,.3);
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; color: var(--text); padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.btn-ghost:hover { background: var(--surface); }

/* ---------- Hero: kapak akışı (coverflow) ---------- */
main { max-width: 1280px; margin: 0 auto; padding: 26px; }
.hero-stage { margin: 10px 0 30px; text-align: center; }
.hero-stage[hidden] { display: none; }
.cf-stage {
  position: relative; height: 400px;
  display: flex; align-items: center; justify-content: center;
  perspective: 1400px;
}
.cf-track { position: relative; width: 260px; height: 100%; transform-style: preserve-3d; }
.cf-card {
  position: absolute; inset: 0; margin: auto; width: 260px; height: 380px;
  border-radius: 18px; background-size: cover; background-position: center;
  box-shadow: 0 20px 50px rgba(0,0,0,.6); cursor: pointer;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), opacity .5s;
  border: 1px solid rgba(255,255,255,.08);
}
.cf-card.is-center { box-shadow: 0 0 0 3px var(--accent), 0 24px 60px rgba(0,0,0,.7); }
.cf-badge {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--ink); font-size: 11px; font-weight: 800;
  padding: 5px 12px; border-radius: 999px; white-space: nowrap; opacity: 0; transition: opacity .4s;
}
.cf-card.is-center .cf-badge { opacity: 1; }
.cf-arrow {
  position: absolute; z-index: 20; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #fff; font-size: 26px; line-height: 1;
}
.cf-arrow:hover { background: var(--accent); color: var(--ink); }
.cf-prev { left: max(10px, calc(50% - 340px)); }
.cf-next { right: max(10px, calc(50% - 340px)); }
.cf-info { margin-top: 22px; }
.cf-info h2 { font-size: 32px; margin: 0 0 12px; }
.cf-info-item[hidden] { display: none; }
.cf-card { overflow: hidden; display: block; }
.cf-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-h1 { font-size: 13px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.cf-tags { display: flex; gap: 8px; justify-content: center; margin-bottom: 18px; flex-wrap: wrap; }
.cf-tags span { font-size: 12.5px; color: #cfcfd8; background: rgba(255,255,255,.08); padding: 6px 14px; border-radius: 999px; }
.cf-play {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--ink);
  font-weight: 800; font-size: 15px; padding: 13px 34px; border-radius: 999px;
  box-shadow: 0 8px 22px rgba(245,197,24,.35);
}
.cf-play:hover { transform: translateY(-1px); }
.cf-dots { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
.cf-dot { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.25); padding: 0; transition: all .2s; }
.cf-dot.active { width: 26px; background: var(--accent); }

/* ---------- Bölüm / satır ---------- */
.section { margin-bottom: 40px; }
.section-head { margin-bottom: 16px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.section-head h1, .section-head h2 { font-size: 22px; margin: 0; }
.section-more { color: var(--accent); font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.section-more:hover { text-decoration: underline; }
.section-head p { color: var(--muted); font-size: 13.5px; margin: 4px 0 0; }
.empty-row { color: var(--muted); padding: 24px 0; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 20px; }
.card { cursor: pointer; position: relative; display: block; }
.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.poster {
  position: relative; border-radius: 14px; overflow: hidden;
  aspect-ratio: 9/16; background: var(--surface);
  box-shadow: 0 6px 20px rgba(0,0,0,.4); transition: transform .2s;
}
.card:hover .poster { transform: translateY(-5px); }
.poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.75)); }
.badge-genre {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  font-size: 10.5px; font-weight: 700; color: #fff; background: rgba(0,0,0,.6);
  padding: 4px 9px; border-radius: 7px; backdrop-filter: blur(4px);
}
.badge-views, .badge-lang {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  font-size: 10.5px; font-weight: 700; color: #fff; background: rgba(0,0,0,.6);
  padding: 4px 8px; border-radius: 7px; backdrop-filter: blur(4px);
}
.poster-play { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; opacity: 0; transition: opacity .2s; }
.card:hover .poster-play { opacity: 1; }
.poster-play span {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--accent); color: var(--ink);
  display: grid; place-items: center; font-size: 20px; padding-left: 4px;
  box-shadow: 0 6px 18px rgba(245,197,24,.5);
}
.card-body { margin-top: 10px; }
.card-title { margin: 0; font-size: 14.5px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-sub { color: var(--muted); font-size: 12.5px; margin-top: 3px; }

/* Sıralı kartlar (büyük 1,2,3 rakamları) */
.grid-ranked { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.grid-ranked .card { display: flex; align-items: flex-end; gap: 0; }
.card-ranked .card-rank {
  font-size: 92px; font-weight: 800; line-height: .8;
  color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.35);
  margin-right: -14px; z-index: 1; flex: 0 0 auto; align-self: flex-end; padding-bottom: 28px;
}
.card-ranked .poster { flex: 0 0 130px; }
.card-ranked .card-body { display: none; }

/* Reklam bölgeleri (site içi banner) */
.ad-zone:empty { display: none; }
.ad-banner {
  position: relative; margin: 6px 0 22px;
  border-radius: 16px; overflow: hidden; background: var(--surface);
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
}
.ad-banner img { display: block; width: 100%; height: auto; max-height: 240px; object-fit: cover; }
.ad-tag { position: absolute; top: 10px; left: 10px; z-index: 2; background: rgba(0,0,0,.6); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 6px; letter-spacing: .5px; }

.empty-state { text-align: center; padding: 80px 20px; color: var(--muted); }
.empty-emoji { font-size: 46px; margin-bottom: 10px; }
.empty-state h3 { color: var(--text); margin: 0 0 6px; }

/* Dizi İste bölümü */
.request-section { max-width: 1240px; margin: 10px auto 0; padding: 20px 24px 40px; }
.request-card {
  background: linear-gradient(135deg, rgba(245,197,24,.12), rgba(255,166,43,.1)), var(--surface);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px; padding: 32px; max-width: 620px; margin: 0 auto; text-align: center;
}
.request-card h2 { margin: 0 0 6px; font-size: 24px; }
.request-card > p { color: var(--muted); font-size: 14.5px; margin: 0 0 22px; }
#requestForm { display: flex; flex-direction: column; gap: 12px; text-align: left; }
#requestForm input, #requestForm textarea {
  width: 100%; background: var(--bg-2); border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; color: var(--text); padding: 13px 16px; font-size: 14.5px; font-family: inherit;
}
#requestForm textarea { resize: vertical; min-height: 70px; }
#requestForm input:focus, #requestForm textarea:focus { outline: none; border-color: var(--accent-2); }
#reqSubmit { margin-top: 4px; padding: 13px; font-size: 15px; border: none; }
#reqSubmit:disabled { opacity: .6; cursor: default; }
.request-msg { text-align: center; font-size: 14px; min-height: 20px; }
.request-msg.ok { color: #7ee2a0; }
.request-msg.err { color: #ff7a9c; }

.site-footer { border-top: 1px solid rgba(255,255,255,.08); margin-top: 30px; padding: 34px 26px 50px; color: var(--muted); font-size: 13px; }
.footer-inner { max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-brand .logo-text { color: #fff; font-size: 18px; font-weight: 800; letter-spacing: .5px; }
.footer-brand .logo-text b { color: var(--accent); }
.footer-brand p { margin: 6px 0 0; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-weight: 600; }
.footer-links a:hover { color: var(--accent); }
.footer-note { max-width: 1280px; margin: 22px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.06); line-height: 1.6; font-size: 12.5px; }
.footer-note a { color: var(--accent); }

/* ---------- Tam Ekran Dikey Oynatıcı ---------- */
.player-overlay {
  position: fixed; inset: 0; z-index: 100; background: #000;
  display: flex; flex-direction: column;
}
.player-overlay[hidden] { display: none; }
.player-close {
  position: absolute; top: 16px; right: 16px; z-index: 30;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(0,0,0,.45); color: #fff; font-size: 18px;
  backdrop-filter: blur(6px);
}
.player-close:hover { background: rgba(0,0,0,.7); }
.player-premium {
  position: absolute; top: 18px; left: 16px; z-index: 30;
  background: linear-gradient(135deg, var(--gold), #ff9a3c); color: #0b0b12;
  font-weight: 700; font-size: 13px; padding: 8px 14px; border-radius: 999px;
}

/* Video akış alanı */
.feed {
  position: relative; flex: 1; min-height: 0; overflow: hidden;
  touch-action: none; background: #000;
}
.video-wrap { position: absolute; inset: 0; will-change: transform, opacity; }
.feed-video, .feed-poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; background: #000;
}
.feed-poster { background-size: cover; background-position: center; object-fit: cover; }

.feed-shade { position: absolute; left: 0; right: 0; z-index: 2; pointer-events: none; }
.feed-shade-top { top: 0; height: 130px; background: linear-gradient(180deg, rgba(0,0,0,.55), transparent); }
.feed-shade-bottom { bottom: 0; height: 180px; background: linear-gradient(0deg, rgba(0,0,0,.7), transparent); }

.feed-top { position: absolute; top: 0; left: 0; right: 70px; z-index: 4; padding: 20px 22px; }
.feed-title { font-size: 19px; font-weight: 700; }
.feed-ep { font-size: 13.5px; color: #d7d7e2; margin-top: 4px; }

.feed-actions {
  position: absolute; right: 16px; bottom: 120px; z-index: 4;
  display: flex; flex-direction: column; gap: 22px; align-items: center;
}
.act { background: none; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.act-ico { font-size: 30px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); }
.act-num { font-size: 12px; font-weight: 600; }
.act.liked .act-ico { color: var(--accent); }
.act[hidden] { display: none; }
.act-ico-txt { font-size: 24px; line-height: 30px; }
.act-cc { font-size: 13px; font-weight: 800; border: 2px solid #fff; border-radius: 6px; padding: 0 5px; line-height: 20px; margin: 4px 0 2px; }
.act.on .act-cc { background: #fff; color: #0b0b12; }
.act .act-num { max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Ses / altyazı seçim menüsü (sağ tarafta, butonların solunda) */
.track-menu {
  position: absolute; right: 84px; bottom: 120px; z-index: 6;
  min-width: 190px; max-height: 60%; overflow-y: auto;
  background: rgba(14,14,22,.94); border: 1px solid rgba(255,255,255,.1); border-radius: 14px;
  padding: 8px; box-shadow: 0 12px 30px rgba(0,0,0,.5);
}
.track-menu[hidden] { display: none; }
.track-menu h4 { margin: 4px 10px 8px; font-size: 12px; font-weight: 700; color: #a9a9bd; text-transform: uppercase; letter-spacing: .5px; }
.track-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  background: none; color: #fff; font-size: 14px; text-align: left; padding: 9px 10px; border-radius: 9px;
}
.track-opt:hover { background: rgba(255,255,255,.08); }
.track-opt.sel { color: var(--gold); font-weight: 700; }
.track-opt.sel::after { content: "✓"; }

/* Oynatma hatası */
.play-error {
  position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; background: rgba(5,5,10,.82); text-align: center; padding: 24px;
}
.play-error[hidden] { display: none; }
.play-error-ico { font-size: 40px; }
.play-error-txt { color: #e4e4ef; font-size: 15px; }
.play-error-next { background: #fff; color: #0b0b12; font-weight: 700; padding: 10px 20px; border-radius: 999px; margin-top: 6px; }

.play-toggle {
  position: absolute; inset: 0; z-index: 3; margin: auto;
  width: 86px; height: 86px; border-radius: 50%;
  background: rgba(0,0,0,.4); color: #fff; font-size: 34px; padding-left: 6px;
  opacity: 0; transition: opacity .2s;
}
.feed.paused .play-toggle { opacity: 1; }

.feed-bottom { position: absolute; bottom: 0; left: 0; right: 0; z-index: 4; padding: 0 22px 18px; }
.feed-progress { height: 4px; background: rgba(255,255,255,.28); border-radius: 999px; overflow: hidden; cursor: pointer; }
.feed-progress-fill { height: 100%; width: 0%; background: var(--accent); border-radius: 999px; }
.feed-meta { font-size: 12.5px; color: #cfcfdd; margin-top: 10px; }

.swipe-hint {
  position: absolute; bottom: 54px; left: 50%; transform: translateX(-50%); z-index: 4;
  font-size: 12.5px; color: rgba(255,255,255,.85); background: rgba(0,0,0,.4);
  padding: 7px 16px; border-radius: 999px; animation: bob 1.6s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0); opacity: .9; } 50% { transform: translate(-50%, -6px); opacity: 1; } }

/* Reklam katmanı */
.ad-layer, .unlock-layer {
  position: absolute; inset: 0; z-index: 10;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #05050a; text-align: center; padding: 30px; gap: 14px;
}
.ad-layer[hidden], .unlock-layer[hidden] { display: none; }
.ad-badge { position: absolute; top: 18px; left: 18px; background: var(--gold); color: #0b0b12; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 6px; letter-spacing: .5px; }
/* Bölüm geçişi reklamı: dikey (4:5) görsel, ekrana sığacak şekilde */
.ad-slot { width: min(86%, 420px); max-height: 68vh; aspect-ratio: 4/5; border-radius: 14px; overflow: hidden; background: #111; }
.ad-slot a, .ad-slot img { display: block; width: 100%; height: 100%; }
.ad-slot img { object-fit: contain; }
.ad-info { color: #cfcfdd; font-size: 13.5px; }
.ad-skip {
  background: #fff; color: #0b0b12; font-weight: 700; font-size: 14px;
  padding: 11px 22px; border-radius: 999px;
}
.ad-skip:disabled { background: rgba(255,255,255,.2); color: rgba(255,255,255,.6); cursor: not-allowed; }

.unlock-lock { font-size: 52px; }
.unlock-layer h3 { margin: 0; font-size: 20px; }
.unlock-layer p { margin: 0; color: var(--muted); font-size: 14px; max-width: 300px; }
.btn-reward {
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff;
  font-weight: 700; font-size: 15px; padding: 13px 26px; border-radius: 999px; margin-top: 6px;
  box-shadow: 0 6px 18px rgba(255,59,107,.35);
}
.btn-premium { background: transparent; color: var(--gold); font-weight: 700; font-size: 14px; padding: 10px; }

/* Bölüm dock (alt) */
.ep-dock {
  flex: 0 0 auto; background: #0b0b12; border-top: 1px solid rgba(255,255,255,.08);
  padding: 12px 20px 14px;
}
.ep-dock-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-size: 14px; font-weight: 700; }
.ep-dock-head span:last-child { color: var(--muted); font-weight: 500; font-size: 12.5px; }
.ep-dock-list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.ep-dock-list::-webkit-scrollbar { height: 6px; }
.ep-dock-list::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 999px; }
.ep-btn {
  flex: 0 0 auto; min-width: 48px; height: 48px; border-radius: 12px;
  background: var(--surface); color: var(--text); font-weight: 700; font-size: 15px; position: relative;
}
.ep-btn:hover { background: var(--surface-2); }
.ep-btn.active { background: var(--accent); color: var(--ink); }
.ep-btn.locked { color: var(--muted); }
.ep-btn.locked::after { content: "🔒"; position: absolute; top: 3px; right: 4px; font-size: 9px; }

/* ---------- Responsive ---------- */
/* Menü daralabilsin, arama düğmesi hiçbir genişlikte ekran dışına itilmesin */
.main-nav { min-width: 0; }
.search-btn { flex: 0 0 auto; }
/* Kapak akışının yan kartları sayfayı yatay taşırmasın */
.hero-stage { overflow-x: clip; }

@media (max-width: 1100px) {
  .header-inner { gap: 16px; }
  .nav-link { padding: 8px 10px; font-size: 14px; }
  .main-nav { overflow-x: auto; scrollbar-width: none; }
  .main-nav::-webkit-scrollbar { display: none; }
  /* Kaydırılabilir menü içinde açılır liste kırpılmasın (başlık çubuğuna göre konumlanır) */
  .nav-drop { position: static; }
  .nav-drop-menu { position: fixed; top: 100%; left: 12px; right: 12px; min-width: 0; max-height: 70vh; overflow-y: auto; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
/* Telefon/tablet: logo + arama üstte, menü altta tam genişlikte kaydırılabilir satır */
@media (max-width: 860px) {
  .header-inner { flex-wrap: wrap; row-gap: 6px; padding: 10px 16px 6px; }
  .logo { flex: 1; font-size: 18px; }
  .main-nav { order: 3; flex: 1 0 100%; margin: 0 -6px; padding-bottom: 4px; }
  .nav-link.active::after { bottom: 2px; }
  .search-bar { padding: 0 16px 12px; }
}
@media (max-width: 640px) {
  main { padding: 16px; }
  .cf-stage { height: 340px; }
  .cf-card { width: 200px; height: 300px; }
  .cf-track { width: 200px; }
  .cf-info h2 { font-size: 24px; }
  .cf-prev { left: 4px; } .cf-next { right: 4px; }
  .feed-actions { bottom: 130px; }
  .track-menu { right: 76px; bottom: 130px; }
  .grid-ranked { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
  .card-ranked .card-rank { font-size: 68px; }
}

/* ---------- Sayfa geçişi ---------- */
body.is-loading #catalog, body.is-loading #hero { opacity: .55; transition: opacity .15s; }

/* ---------- Sayfa yolu (breadcrumb) ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; opacity: .6; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--text); }

/* ---------- Dizi / bölüm sayfası ---------- */
.series-hero { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; margin-bottom: 34px; }
.series-poster { position: relative; aspect-ratio: 9/16; border-radius: 16px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.series-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.series-info h1 { font-size: 30px; margin: 4px 0 14px; line-height: 1.2; }
.series-info .cf-tags { justify-content: flex-start; }
.series-info .cf-tags a { font-size: 12.5px; color: #cfcfd8; background: rgba(255,255,255,.08); padding: 6px 14px; border-radius: 999px; }
.series-info .cf-tags a:hover { background: var(--accent); color: var(--ink); }
.series-desc { color: #d7d7de; font-size: 14.5px; line-height: 1.7; max-width: 720px; margin: 0 0 20px; }
.series-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.series-actions .btn-ghost { border: 1px solid rgba(255,255,255,.14); }
.ep-season { font-size: 16px; margin: 18px 0 10px; color: var(--muted); }
.ep-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: 8px; }
.ep-link { display: grid; place-items: center; height: 44px; border-radius: 10px; background: var(--surface); font-weight: 700; font-size: 14px; color: var(--text); border: 1px solid rgba(255,255,255,.06); }
.ep-link:hover { background: var(--surface-2); color: var(--accent); }
.ep-link.active { background: var(--accent); color: var(--ink); }

/* ---------- Sayfalama ---------- */
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 10px 0 40px; }
.pager a, .pager span { min-width: 40px; height: 40px; padding: 0 12px; display: grid; place-items: center; border-radius: 10px; font-weight: 700; font-size: 14px; }
.pager a { background: var(--surface); }
.pager a:hover { color: var(--accent); }
.pager-cur { background: var(--accent); color: var(--ink); }
.pager-gap { color: var(--muted); }

/* ---------- Ana sayfa: platform linkleri + tanıtım metni ---------- */
.link-cloud h2 { font-size: 22px; margin: 0 0 14px; }
.link-cloud div { display: flex; flex-wrap: wrap; gap: 8px; }
.link-cloud a { background: var(--surface); padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #d7d7de; }
.link-cloud a:hover { color: var(--accent); }
.link-cloud small { color: var(--muted); margin-left: 4px; }
.seo-text { max-width: 860px; color: var(--muted); font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.seo-text h2 { font-size: 17px; color: var(--text); margin: 0 0 8px; }
.empty-state h1 { color: var(--text); margin: 0 0 6px; font-size: 22px; }
@media (max-width: 640px) {
  .series-hero { grid-template-columns: 120px 1fr; gap: 16px; }
  .series-info h1 { font-size: 21px; }
  .series-desc { font-size: 13.5px; }
}

/* ---------- Arama seçenekleri ---------- */
.search-opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.search-opts label { cursor: pointer; position: relative; flex: 0 0 auto; }
.search-opts input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.search-opts span {
  display: inline-block; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: var(--surface); color: var(--muted); border: 1px solid rgba(255,255,255,.08); transition: all .15s;
}
.search-opts label:hover span { color: var(--text); }
.search-opts input:checked + span { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.search-opts input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Bölüm aralıkları (sayfalama) ---------- */
.ep-ranges, .ep-dock-ranges { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 12px; }
.ep-dock-ranges { margin-bottom: 10px; }
.ep-dock-ranges[hidden] { display: none; }
.ep-range {
  flex: 0 0 auto; background: var(--surface); color: var(--muted); font-weight: 700; font-size: 13px;
  padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.06);
}
.ep-range:hover { color: var(--text); }
.ep-range.active { background: rgba(245,197,24,.15); color: var(--accent); border-color: rgba(245,197,24,.5); }
.ep-grid[hidden] { display: none; }

/* ---------- Oynatıcı: filigran ---------- */
.player-watermark {
  position: absolute; top: 16px; left: 18px; z-index: 6; pointer-events: none; user-select: none;
  font-size: 14px; font-weight: 800; letter-spacing: .3px; color: rgba(255,255,255,.55);
  text-shadow: 0 1px 4px rgba(0,0,0,.6);
}
.feed-top { padding-top: 44px; }

/* ---------- Oynatıcı: yükleniyor ---------- */
.player-loading { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; pointer-events: none; }
.player-loading[hidden] { display: none; }
.spinner {
  width: 54px; height: 54px; border-radius: 50%;
  border: 4px solid rgba(255,255,255,.18); border-top-color: var(--accent);
  animation: spin .8s linear infinite; filter: drop-shadow(0 2px 8px rgba(0,0,0,.5));
}
@keyframes spin { to { transform: rotate(360deg); } }
.feed:has(.player-loading:not([hidden])) .play-toggle { opacity: 0; }

/* ---------- Oynatıcı: kontrol çubuğu ---------- */
.feed-controls { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.ctl { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(0,0,0,.35); color: #fff; }
.ctl:hover { background: rgba(255,255,255,.16); }
.ctl.on { color: var(--accent); }
.ctl svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ctl .ico-vol { fill: currentColor; }
.vol { display: flex; align-items: center; gap: 8px; }
.vol .ico-mute, .vol.muted .ico-wave { display: none; }
.vol.muted .ico-mute { display: inline; }
.vol-range {
  --p: 100%; width: 90px; height: 4px; appearance: none; -webkit-appearance: none; border-radius: 999px; cursor: pointer;
  background: linear-gradient(90deg, var(--accent) var(--p), rgba(255,255,255,.3) var(--p));
}
.vol-range::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 13px; border-radius: 50%; background: #fff; }
.vol-range::-moz-range-thumb { width: 13px; height: 13px; border: 0; border-radius: 50%; background: #fff; }
.feed-time { font-size: 12.5px; color: #e4e4ef; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ctl-spacer { flex: 1; }
.ico-fs-out, .is-fs .ico-fs-in { display: none; }
.is-fs .ico-fs-out { display: inline; }
.feed-actions { bottom: 150px; }
.track-menu { bottom: 150px; }

/* ---------- Oynatıcı: sinema modu ---------- */
.player-overlay.cinema .ep-dock { display: none; }
.player-overlay.cinema .feed-top, .player-overlay.cinema .feed-actions, .player-overlay.cinema .feed-bottom,
.player-overlay.cinema .player-close, .player-overlay.cinema .feed-shade, .player-overlay.cinema .swipe-hint {
  opacity: 0; transition: opacity .35s;
}
.player-overlay.cinema.ui-active .feed-top, .player-overlay.cinema.ui-active .feed-actions, .player-overlay.cinema.ui-active .feed-bottom,
.player-overlay.cinema.ui-active .player-close, .player-overlay.cinema.ui-active .feed-shade,
.player-overlay.cinema .feed.paused .feed-top, .player-overlay.cinema .feed.paused .feed-actions, .player-overlay.cinema .feed.paused .feed-bottom {
  opacity: 1;
}
.player-overlay.cinema:not(.ui-active) .feed { cursor: none; }

@media (max-width: 640px) {
  .vol-range { display: none; }          /* telefonda ses tuşları kullanılır, sessize alma düğmesi kalır */
  .feed-actions { bottom: 160px; }
  .track-menu { bottom: 160px; }
  .player-watermark { font-size: 12.5px; top: 14px; left: 16px; }
}

@media (max-width: 640px) {
  .search-opts { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .search-opts::-webkit-scrollbar { display: none; }
}

/* Film (tek video): bölüm çubuğu yok, video tüm alanı kullanır */
.player-overlay.single .ep-dock { display: none; }

/* Afişi olmayan kartların arka planı (satır içi stil yerine — sıkı CSP) */
.g0 { background: linear-gradient(135deg,#ff3b6b,#7b5cff); }
.g1 { background: linear-gradient(135deg,#3a1c71,#d76d77); }
.g2 { background: linear-gradient(135deg,#0f3460,#e94560); }
.g3 { background: linear-gradient(135deg,#134e5e,#71b280); }
.g4 { background: linear-gradient(135deg,#f7971e,#ffd200); }
.g5 { background: linear-gradient(135deg,#8e2de2,#4a00e0); }
.g6 { background: linear-gradient(135deg,#c31432,#240b36); }
.g7 { background: linear-gradient(135deg,#1f4037,#99f2c8); }
.g8 { background: linear-gradient(135deg,#ee9ca7,#ffdde1); }
.g9 { background: linear-gradient(135deg,#2c3e50,#fd746c); }
.g10 { background: linear-gradient(135deg,#42275a,#734b6d); }
.g11 { background: linear-gradient(135deg,#eb3349,#f45c43); }

/* Kullanım koşulları sayfası */
.legal-wrap { max-width: 820px; margin: 0 auto; padding: 30px 24px 70px; }
.legal-wrap h1 { font-size: 30px; margin: 10px 0 4px; }
.legal-updated { color: var(--muted); font-size: 13px; margin-bottom: 30px; }
.legal-wrap h2 { font-size: 19px; margin: 30px 0 10px; color: var(--accent); }
.legal-wrap p, .legal-wrap li { color: #d7d7de; font-size: 14.5px; line-height: 1.7; }
.legal-wrap ul { padding-left: 20px; }
.legal-wrap a { color: var(--accent); }
.legal-back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.legal-back:hover { color: var(--accent); }
.legal-box { background: var(--surface); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 20px 22px; margin-top: 12px; }
.legal-box p:last-child { margin-bottom: 0; }

/* Arama: "Bunu mu demek istediniz?" */
.did-you-mean { margin: 8px 0 0; font-size: 14.5px; color: var(--muted); }
.did-you-mean a { color: var(--accent); font-weight: 700; }

/* Sık sorulanlar */
.faq dl { margin: 0; display: grid; gap: 10px; }
.faq dt { font-weight: 700; font-size: 15px; color: var(--text); }
.faq dd { margin: 0 0 6px; color: #cfcfd8; font-size: 14px; line-height: 1.65; }

/* Tüm diziler (A–Z) */
.az-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 22px; }
.az-nav a, .az-nav span { min-width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; font-weight: 800; font-size: 14px; }
.az-nav a { background: var(--surface); color: var(--text); }
.az-nav a:hover, .az-nav a.active { background: var(--accent); color: var(--ink); }
.az-nav span { color: rgba(255,255,255,.25); }
.az-list { list-style: none; padding: 0; margin: 0; columns: 3 260px; column-gap: 28px; }
.az-list li { break-inside: avoid; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 14.5px; }
.az-list a:hover { color: var(--accent); }
.az-list small { color: var(--muted); font-size: 12px; }
