/* ==========================================================================
   Avşar Film — yeni sayfalar (detay, izleme, liste) ve ana sayfa eklemeleri.
   Canlı sitenin renk dili: lacivert vurgu, koyu zemin, altın yıldız.
   ========================================================================== */

:root {
    --av-bg: #0f1118;
    --av-bg-2: #131722;
    --av-surface: rgba(255, 255, 255, 0.04);
    --av-surface-2: rgba(255, 255, 255, 0.07);
    --av-line: rgba(255, 255, 255, 0.1);
    --av-text: #ffffff;
    --av-muted: rgba(255, 255, 255, 0.62);
    --av-accent: #345eb2;
    --av-accent-d: #223e77;
    --av-accent-glow: rgba(52, 94, 178, 0.45);
    --av-gold: #ffc929;
    --av-radius: 14px;
}

body {
    background-color: var(--av-bg);
}

/* Turbo: preloader yalnız ilk girişte; üstte ince ilerleme çubuğu */
html[data-av-ready] .preloader {
    display: none !important;
}

.turbo-progress-bar {
    height: 3px;
    background: linear-gradient(90deg, var(--av-accent-d), var(--av-accent), #8fb0f0);
    box-shadow: 0 0 10px var(--av-accent-glow);
}

/* ---------- Ana sayfa hero: kolaj görünsün ---------- */
/* --overlay-opacity ayardan gelir (home_hero_overlay); sol taraf yazı için daha koyu. */
.av-hero.bg-overlay-black::before {
    opacity: 1;
    background: linear-gradient(90deg,
            rgba(15, 17, 24, calc(var(--overlay-opacity, 0.45) + 0.4)) 0%,
            rgba(15, 17, 24, calc(var(--overlay-opacity, 0.45) + 0.15)) 45%,
            rgba(15, 17, 24, var(--overlay-opacity, 0.45)) 100%);
}

.av-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 160px;
    background: linear-gradient(180deg, transparent, var(--av-bg));
    pointer-events: none;
    z-index: 0;
}

.av-hero .container {
    position: relative;
    z-index: 2;
}

.av-hero .banner-content .title {
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.7);
}

/* ---------- Ortak başlık satırı ---------- */
.av-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.av-section-head .section-title {
    margin-bottom: 0;
}

.av-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--av-gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.av-eyebrow i {
    font-size: 18px;
}

/* ---------- TOP 10 ---------- */
.av-top10 {
    overflow: hidden;
}

.av-top10__slider {
    overflow: visible;
}

.av-top10__item {
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-left: 30%;
    text-decoration: none;
}

.av-top10__rank {
    position: absolute;
    left: 0;
    bottom: -10px;
    z-index: 0;
    font-size: clamp(90px, 9vw, 150px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.08em;
    color: var(--av-bg);
    -webkit-text-stroke: 3px rgba(255, 255, 255, 0.55);
    paint-order: stroke fill;
    transition: -webkit-text-stroke-color 0.3s ease, transform 0.3s ease;
    user-select: none;
}

.av-top10__poster {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.av-top10__poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.av-top10__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #ffc61a, #f5b800);
    color: #181d25;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 8px;
    border-radius: 5px;
}

.av-top10__views {
    position: absolute;
    inset: auto 0 0 0;
    padding: 28px 10px 8px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85));
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.av-top10__item:hover .av-top10__poster {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px var(--av-accent-glow);
}

.av-top10__item:hover .av-top10__rank {
    -webkit-text-stroke-color: var(--av-accent);
    transform: translateX(-4px);
}

.av-top10__arrows {
    display: flex;
    gap: 8px;
}

.av-top10__arrows button,
.av-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--av-line);
    background: var(--av-surface);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.av-top10__arrows button:hover,
.av-icon-btn:hover {
    background: var(--av-accent);
    border-color: var(--av-accent);
}

.av-top10__arrows .swiper-button-disabled {
    opacity: 0.35;
    pointer-events: none;
}

/* ---------- Kart altı başlık ---------- */
.av-card-content {
    padding-top: 10px;
}

.movie-item .movie-thumb img {
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

/* ---------- Ortak blok ---------- */
.av-block {
    padding: 60px 0 0;
}

.av-block--last {
    padding-bottom: 80px;
}

.av-muted {
    color: var(--av-muted);
}

.av-crumbs .breadcrumb {
    margin-bottom: 28px;
}

/* ---------- Detay hero ---------- */
.av-detail-hero {
    position: relative;
    padding: 140px 0 70px;
    overflow: hidden;
    isolation: isolate;
}

.av-detail-hero__backdrop {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center 25%;
    transform: scale(1.06);
    animation: av-kenburns 24s ease-in-out infinite alternate;
}

.av-detail-hero__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(15, 17, 24, 0.97) 0%, rgba(15, 17, 24, 0.82) 40%, rgba(15, 17, 24, 0.45) 75%, rgba(15, 17, 24, 0.7) 100%),
        linear-gradient(180deg, rgba(15, 17, 24, 0.55) 0%, transparent 30%, transparent 60%, var(--av-bg) 100%);
}

@keyframes av-kenburns {
    from { transform: scale(1.06) translate3d(0, 0, 0); }
    to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); }
}

.av-detail-hero__grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 48px;
    align-items: center;
}

.av-detail-hero__poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: var(--av-radius);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.av-type-chip {
    display: inline-block;
    background: linear-gradient(135deg, #ffc61a, #f5b800);
    color: #181d25;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 6px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.av-detail-hero__title {
    font-size: clamp(34px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.08;
    margin: 14px 0 18px;
    color: #fff;
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
}

.av-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-weight: 500;
}

.av-meta li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.av-meta li + li::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    margin-right: 14px;
}

.av-meta--sm {
    font-size: 14px;
    margin-bottom: 0;
}

.av-meta__rating i {
    color: var(--av-gold);
}

.av-age {
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    border-radius: 4px;
    padding: 0 6px;
    font-size: 13px;
    font-weight: 700;
}

.av-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.av-genres a,
.av-filters__chips a {
    padding: 6px 16px;
    border-radius: 999px;
    border: 1px solid var(--av-line);
    background: var(--av-surface);
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.av-genres a:hover,
.av-filters__chips a:hover,
.av-filters__chips a.active {
    background: var(--av-accent);
    border-color: var(--av-accent);
    color: #fff;
}

.av-synopsis {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 1.75;
}

.av-synopsis p {
    margin: 0;
}

.av-synopsis.is-clamped {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.av-link-btn {
    background: none;
    border: 0;
    padding: 6px 0 0;
    color: #8fb0f0;
    font-weight: 600;
    font-size: 14px;
}

.av-link-btn:hover {
    color: #fff;
}

.av-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
}

.av-btn-lg {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 10px;
}

.av-btn-lg i {
    position: relative;
    z-index: 2;
}

.av-hero-cast {
    margin: 24px 0 0;
    color: var(--av-muted);
    font-size: 14px;
}

.av-hero-cast strong {
    color: #fff;
}

/* ---------- Sezon sekmeleri + bölüm kartları ---------- */
.av-season-tabs {
    display: flex;
    gap: 6px;
    padding: 5px;
    border-radius: 12px;
    background: var(--av-surface);
    border: 1px solid var(--av-line);
    overflow-x: auto;
}

.av-season-tabs a {
    padding: 8px 18px;
    border-radius: 8px;
    color: var(--av-muted);
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    text-decoration: none;
}

.av-season-tabs a.active {
    background: var(--av-accent);
    color: #fff;
}

.av-episodes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
}

.av-episodes[hidden] {
    display: none;
}

.av-episode {
    display: flex;
    flex-direction: column;
    border-radius: var(--av-radius);
    background: var(--av-surface);
    border: 1px solid var(--av-line);
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.av-episode:hover {
    transform: translateY(-4px);
    border-color: rgba(52, 94, 178, 0.7);
    background: var(--av-surface-2);
}

.av-episode__thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.av-episode__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.av-episode:hover .av-episode__thumb img {
    transform: scale(1.06);
    opacity: 0.7;
}

.av-episode__play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(52, 94, 178, 0.9);
    color: #fff;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.av-episode:hover .av-episode__play {
    opacity: 1;
    transform: scale(1);
}

.av-episode__duration {
    position: absolute;
    right: 8px;
    bottom: 8px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
}

.av-episode__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px 16px;
}

.av-episode__label {
    color: #fff;
    font-weight: 700;
    font-size: 15px;
}

.av-episode__desc {
    color: var(--av-muted);
    font-size: 13px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.av-episode__views {
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
}

/* ---------- Oyuncular ---------- */
.av-cast {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 18px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.av-cast__item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 18px 10px;
    border-radius: var(--av-radius);
    background: var(--av-surface);
    border: 1px solid var(--av-line);
    text-decoration: none;
    height: 100%;
    transition: all 0.25s ease;
}

.av-cast__item a:hover {
    border-color: rgba(52, 94, 178, 0.7);
    background: var(--av-surface-2);
}

.av-cast__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--av-accent), var(--av-accent-d));
    color: #fff;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 0.02em;
    margin-bottom: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.av-cast__avatar--photo {
    overflow: hidden;
    background: #000;
}

.av-cast__avatar--photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.av-cast__name {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
}

.av-cast__role {
    color: var(--av-muted);
    font-size: 12px;
}

/* ---------- Künye ---------- */
.av-credits {
    margin: 0;
    border-radius: var(--av-radius);
    border: 1px solid var(--av-line);
    background: var(--av-surface);
    overflow: hidden;
}

.av-credits > div {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
    padding: 14px 18px;
}

.av-credits > div + div {
    border-top: 1px solid var(--av-line);
}

.av-credits dt {
    color: var(--av-muted);
    font-weight: 500;
    font-size: 14px;
}

.av-credits dd {
    margin: 0;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

/* ---------- İzleme ---------- */
.av-watch {
    position: relative;
    padding: 130px 0 80px;
    overflow: hidden;
    isolation: isolate;
}

.av-watch__glow {
    position: absolute;
    inset: -80px;
    z-index: -1;
    background-size: cover;
    background-position: center;
    filter: blur(70px) saturate(1.3);
    opacity: 0.28;
}

.av-watch::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(15, 17, 24, 0.4), var(--av-bg) 85%);
}

.av-watch__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.av-watch__layout--single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 1140px;
    margin: 0 auto;
}

.av-player {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--av-radius);
    overflow: hidden;
    background: #000;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.av-player iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.av-watch__bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin: 22px 0 14px;
}

.av-watch__series {
    color: #8fb0f0;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
}

.av-watch__title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    color: #fff;
    margin: 6px 0 10px;
}

.av-watch__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.av-watch__nav .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-weight: 600;
    border-radius: 10px;
}

.av-watch__nav .btn i {
    position: relative;
    z-index: 2;
}

.av-watch__desc {
    max-width: none;
    padding: 18px 20px;
    border-radius: var(--av-radius);
    background: var(--av-surface);
    border: 1px solid var(--av-line);
    font-size: 15px;
}

.av-watch__side {
    border-radius: var(--av-radius);
    background: rgba(19, 23, 34, 0.85);
    border: 1px solid var(--av-line);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.av-watch__side-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    border-bottom: 1px solid var(--av-line);
    color: #fff;
}

.av-watch__side-head span {
    color: var(--av-muted);
    font-size: 13px;
}

.av-playlist {
    list-style: none;
    margin: 0;
    padding: 8px;
    max-height: 560px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.av-playlist a {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 8px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.av-playlist a:hover {
    background: var(--av-surface-2);
}

.av-playlist a.is-current {
    background: rgba(52, 94, 178, 0.25);
    box-shadow: inset 3px 0 0 var(--av-accent);
}

.av-playlist__thumb {
    position: relative;
    flex: 0 0 120px;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    overflow: hidden;
    background: #000;
}

.av-playlist__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.av-playlist__now {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 17, 24, 0.6);
    color: #fff;
}

.av-playlist__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.av-playlist__label {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.av-playlist__meta {
    color: var(--av-muted);
    font-size: 12px;
}

.av-watch__all {
    display: block;
    padding: 14px 18px;
    border-top: 1px solid var(--av-line);
    color: #8fb0f0;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

/* ---------- Liste / arama ---------- */
.av-page-banner {
    animation: slideDown 50s linear infinite;
}

.banner-section .banner-content .breadcrumb-item.active {
    color: #8fb0f0;
}

.av-page-banner__subtitle {
    color: rgba(255, 255, 255, 0.8);
    margin: 8px 0 0;
}

.av-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 18px;
}

.av-filters__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.av-filters__sort select {
    min-width: 200px;
    border-radius: 10px;
    border: 1px solid var(--av-line);
    background-color: var(--av-bg-2);
    color: #fff;
}

.av-count {
    color: var(--av-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

.av-empty {
    text-align: center;
    padding: 70px 20px;
    color: var(--av-muted);
}

.av-empty i {
    font-size: 56px;
    color: rgba(255, 255, 255, 0.25);
    display: block;
    margin-bottom: 12px;
}

.av-search {
    position: relative;
    display: flex;
    gap: 10px;
    max-width: 760px;
    margin: 0 auto 40px;
}

.av-search > i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--av-muted);
}

.av-search input {
    flex: 1;
    height: 56px;
    padding: 0 20px 0 50px;
    border-radius: 12px;
    border: 1px solid var(--av-line);
    background: var(--av-surface);
    color: #fff;
    font-size: 16px;
}

.av-search input:focus {
    outline: none;
    border-color: var(--av-accent);
    box-shadow: 0 0 0 3px rgba(52, 94, 178, 0.25);
}

.av-search .btn {
    height: 56px;
    padding: 0 28px;
    border-radius: 12px;
}

.av-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

/* "Toplam … gösteriliyor" metni düğmelerle aynı hizada; tema p/ul alt boşluklarını sıfırla */
.av-pagination > nav > div.d-sm-flex {
    gap: 20px;
}

.av-pagination p,
.av-pagination .pagination {
    margin: 0;
}

.av-pagination p {
    line-height: 1;
    color: var(--av-muted) !important;
}

.av-pagination .page-link {
    background: var(--av-surface);
    border-color: var(--av-line);
    color: #fff;
}

.av-pagination .page-item.active .page-link {
    background: var(--av-accent);
    border-color: var(--av-accent);
}

.av-pagination .page-item.disabled .page-link {
    background: transparent;
    color: rgba(255, 255, 255, 0.3);
}

/* ---------- Panel / form / içerik ---------- */
.av-panel {
    padding: 32px;
    border-radius: var(--av-radius);
    background: var(--av-surface);
    border: 1px solid var(--av-line);
}

.av-form label {
    display: block;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
}

.av-form input,
.av-form textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--av-line);
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
}

.av-form input:focus,
.av-form textarea:focus {
    outline: none;
    border-color: var(--av-accent);
    box-shadow: 0 0 0 3px rgba(52, 94, 178, 0.25);
}

.av-form .is-invalid {
    border-color: #e5484d;
}

.av-error {
    color: #ff8a8d;
    display: block;
    margin-top: 4px;
}

.av-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 10px;
    margin: 16px 0;
    font-weight: 600;
}

.av-alert--ok {
    background: rgba(46, 160, 67, 0.15);
    border: 1px solid rgba(46, 160, 67, 0.4);
    color: #8ee59f;
}

.av-map iframe {
    width: 100% !important;
    height: 380px;
    border: 0;
    border-radius: 10px;
    margin-top: 16px;
}

.av-prose {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.av-prose h2,
.av-prose h3,
.av-prose h4 {
    color: #fff;
    margin: 28px 0 12px;
    font-size: 20px;
}

.av-prose > :first-child {
    margin-top: 0;
}

.av-prose a {
    color: #8fb0f0;
}

/* ---------- Duyarlı ---------- */
@media (max-width: 1199px) {
    .av-watch__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .av-playlist {
        max-height: 420px;
    }
}

@media (max-width: 991px) {
    .av-detail-hero {
        padding-top: 120px;
    }

    .av-detail-hero__grid {
        grid-template-columns: 200px 1fr;
        gap: 28px;
    }
}

@media (max-width: 767px) {
    .av-detail-hero__grid {
        grid-template-columns: 1fr;
    }

    .av-detail-hero__poster {
        max-width: 200px;
    }

    .av-meta {
        gap: 8px 16px;
    }

    .av-meta li + li::before {
        display: none;
    }

    .av-actions .av-btn-lg {
        flex: 1 1 auto;
        justify-content: center;
    }

    .av-credits > div {
        grid-template-columns: 100px 1fr;
    }

    .av-panel {
        padding: 22px;
    }

    .av-search .btn {
        padding: 0 18px;
    }

    .av-top10__rank {
        -webkit-text-stroke-width: 2px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .av-detail-hero__backdrop,
    .av-page-banner,
    .av-hero {
        animation: none !important;
    }
}

/* ==========================================================================
   Üyelik: giriş/kayıt ekleri, kullanıcı menüsü, profil, listem, toast
   ========================================================================== */
/* Giriş/kayıt arka planı mobilde birkaç piksel yana taşıyordu. */
.account-section {
    overflow-x: clip;
}

.av-alert--error {
    background: rgba(220, 53, 69, 0.12);
    border: 1px solid rgba(220, 53, 69, 0.35);
    color: #f8d7da;
    align-items: flex-start;
    font-weight: 500;
}

.av-alert--error i {
    font-size: 20px;
    margin-top: 1px;
}

.av-password {
    position: relative;
}

.av-password input {
    padding-right: 48px;
}

.av-password__toggle {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    font-size: 20px;
}

.av-password__toggle:hover {
    color: #fff;
}

.la-spin {
    display: inline-block;
    animation: av-spin 0.9s linear infinite;
}

@keyframes av-spin {
    to { transform: rotate(360deg); }
}

.submit-btn[disabled],
.btn[disabled] {
    opacity: 0.7;
    cursor: progress;
}

.user-avatar-small {
    overflow: hidden;
}

.av-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.av-list-btn.is-active {
    background: rgba(52, 94, 178, 0.25);
    border-color: var(--av-accent);
}

.av-actions form {
    margin: 0;
}

/* İzlemeye devam et */
.av-continue__row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 1fr);
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

@media (min-width: 1200px) {
    .av-continue__row {
        grid-auto-columns: calc((100% - 54px) / 4);
    }
}

.av-continue__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-decoration: none;
}

.av-continue__thumb,
.av-history__thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
    margin-bottom: 8px;
}

.av-continue__thumb img,
.av-history__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.av-continue__item:hover img,
.av-history__item:hover img {
    transform: scale(1.05);
    opacity: 0.7;
}

.av-continue__item:hover .av-episode__play,
.av-history__item:hover .av-episode__play {
    opacity: 1;
    transform: scale(1);
}

.av-continue__title {
    color: #fff;
    font-weight: 700;
    font-size: 15px;
}

.av-continue__meta {
    color: var(--av-muted);
    font-size: 13px;
}

/* Profil */
.av-profile-hero {
    padding: 140px 0 0;
    background:
        radial-gradient(1200px 400px at 20% -10%, rgba(52, 94, 178, 0.35), transparent 60%),
        linear-gradient(180deg, var(--av-bg-2), var(--av-bg));
    border-bottom: 1px solid var(--av-line);
}

.av-profile-hero__inner {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 32px;
}

.av-profile-hero__avatar {
    width: 88px;
    height: 88px;
    flex: 0 0 88px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--av-accent), var(--av-accent-d));
    color: #fff;
    font-size: 30px;
    font-weight: 800;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08), 0 14px 40px rgba(0, 0, 0, 0.4);
}

.av-profile-hero__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.av-profile-hero__name {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 4px;
}

.av-tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
}

.av-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    color: var(--av-muted);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.av-tabs a span {
    background: var(--av-surface-2);
    border-radius: 999px;
    padding: 0 8px;
    font-size: 12px;
}

.av-tabs a.active,
.av-tabs a:hover {
    color: #fff;
    border-bottom-color: var(--av-accent);
}

.av-history {
    display: grid;
    gap: 12px;
}

.av-history__item {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 12px;
    border-radius: var(--av-radius);
    background: var(--av-surface);
    border: 1px solid var(--av-line);
    text-decoration: none;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.av-history__item:hover {
    border-color: rgba(52, 94, 178, 0.7);
    background: var(--av-surface-2);
}

.av-history__thumb {
    margin: 0;
}

.av-history__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.av-history__body strong {
    color: #fff;
    font-size: 16px;
}

.av-history__body span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.av-history__body small {
    color: var(--av-muted);
}

.av-history__cta {
    color: #8fb0f0;
    font-weight: 600;
    white-space: nowrap;
}

.av-select {
    /* Şablonun genel "select { height: 38px }" kuralı 12px iç boşlukla birlikte yazıyı kesiyordu */
    height: auto;
    min-height: 46px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--av-line);
    background: var(--av-bg-2);
    color: #fff;
    line-height: 1.35;
}

.av-panel--danger {
    border-color: rgba(220, 53, 69, 0.35);
}

.av-btn-danger {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.5);
    color: #ff9aa2;
    font-weight: 600;
}

.av-btn-danger:hover {
    background: #dc3545;
    color: #fff;
}

/* Toast */
.av-toasts {
    position: fixed;
    right: 20px;
    bottom: 90px;
    z-index: 1080;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.av-toast {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 360px;
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(19, 23, 34, 0.96);
    border: 1px solid rgba(52, 94, 178, 0.6);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    animation: av-toast-in 0.35s ease, av-toast-out 0.4s ease 4s forwards;
    pointer-events: auto;
}

.av-toast i {
    color: #7ee08f;
    font-size: 20px;
}

.av-toast--error i {
    color: #ff8a8d;
}

@keyframes av-toast-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}

@keyframes av-toast-out {
    to { opacity: 0; transform: translateY(12px); visibility: hidden; }
}

@media (max-width: 767px) {
    .av-history__item {
        grid-template-columns: 120px 1fr;
    }

    .av-history__cta {
        display: none;
    }

    .av-profile-hero__inner {
        gap: 14px;
    }

    .av-profile-hero__avatar {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
        font-size: 22px;
    }

    .av-toasts {
        left: 16px;
        right: 16px;
    }
}

/* ==========================================================================
   Düğme sistemi — sade, tutarlı, odak halkalı (yeni sayfalarda kullanılır)
   ========================================================================== */
.av-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    padding: 0 20px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.01em;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.av-btn i {
    font-size: 18px;
}

.av-btn .fa-solid {
    font-size: 15px;
}

.av-btn:focus-visible {
    outline: 2px solid #8fb0f0;
    outline-offset: 2px;
}

.av-btn--primary {
    background: #2f5fc4;
    color: #fff;
}

.av-btn--primary:hover {
    background: #3a6dd6;
    color: #fff;
}

.av-btn--secondary {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.av-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.av-btn--secondary.is-active {
    background: rgba(47, 95, 196, 0.2);
    border-color: rgba(98, 140, 230, 0.55);
}

.av-btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.85);
}

.av-btn--ghost:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.av-btn--icon {
    width: 46px;
    padding: 0;
}

.av-btn--sm {
    height: 36px;
    padding: 0 12px;
    font-size: 13px;
    border-radius: 8px;
}

.av-btn--sm.av-btn--icon {
    width: 36px;
    padding: 0;
}

.av-btn--lg {
    height: 52px;
    padding: 0 26px;
    font-size: 15px;
}

.av-btn--block {
    width: 100%;
}

.av-btn[disabled] {
    opacity: 0.6;
    cursor: progress;
}

/* ==========================================================================
   Detay sayfası: bilgiler solda, oynatıcı sağda (tek video, tekrar yok)
   ========================================================================== */
.av-dh {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
    align-items: center;
}

.av-dh--no-media {
    grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
}

.av-dh__kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    margin-bottom: 4px;
}

.av-dh__kicker a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.av-dh__kicker a:hover {
    color: #fff;
}

.av-dh .av-detail-hero__title {
    font-size: clamp(32px, 4vw, 52px);
    margin: 10px 0 14px;
}

.av-dh .av-synopsis {
    font-size: 15px;
}

.av-dh__facts {
    margin: 20px 0 0;
    display: grid;
    gap: 6px;
    font-size: 14px;
}

.av-dh__facts > div {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 12px;
}

.av-dh__facts dt {
    color: var(--av-muted);
    font-weight: 500;
}

.av-dh__facts dd {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.av-dh__facts a {
    color: #8fb0f0;
    text-decoration: none;
}

.av-dh .av-actions {
    margin-top: 26px;
    gap: 10px;
}

.av-dh__media .av-player {
    border-radius: 14px;
}

.av-dh__mediabar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding: 0 4px;
    color: var(--av-muted);
    font-size: 13px;
}

.av-dh__mediabar b {
    color: #fff;
    font-weight: 600;
}

.av-dh__mediabar a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.av-dh__mediabar a:hover {
    color: #fff;
}

.av-dh__poster {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
    justify-self: end;
}

@media (max-width: 1199px) {
    .av-dh {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .av-dh__media {
        order: -1;
    }

    .av-dh--no-media .av-dh__media {
        display: none;
    }
}

/* ==========================================================================
   Film / Dizi: kayan kolajlı hero + tür sekmeleri + afiş ızgarası
   ========================================================================== */
.av-browse-hero.banner-section {
    position: relative;
    padding-top: 150px;
    padding-bottom: 56px;
    overflow: hidden;
    background: var(--av-bg);
    /* Kayma animasyonu (transform) ayrı katman açar; açılır menüler altta kalmasın */
    z-index: 5;
}

/* ---------- Afiş duvarı: eğik sıralar, sıra sıra ters yönlere yavaşça akan kapaklar ---------- */
.av-wall {
    --wall-card: clamp(10rem, 17vw, 19rem);
    --wall-gap: 14px;
    --wall-per-card: 5.5s; /* bir kartın geçiş süresi; sıra uzunluğundan bağımsız sabit hız */
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Panelden özel görsel yüklenmişse afiş duvarı yerine sabit görsel */
.av-wall--image {
    background-size: cover;
    background-position: center 30%;
}

.av-wall__tilt {
    position: absolute;
    /* Eğim köşelerde boşluk bırakmasın diye duvar kapsayıcıdan taşar */
    inset: -30% -15%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--wall-gap);
    rotate: -7deg;
}

.av-wall__row {
    display: flex;
    gap: var(--wall-gap);
    width: max-content;
    /* İki kopya arasındaki boşluk da eşit olsun; -50% tam bir kopya eder, döngü dikişsiz */
    padding-right: var(--wall-gap);
    animation: av-wall-scroll calc(var(--n) * var(--wall-per-card) * var(--speed, 1)) linear infinite;
    /* Kendi katmanında, yalnız transform ile kayar: tarayıcı yeniden çizmez, takılma olmaz */
    will-change: transform;
    backface-visibility: hidden;
}

.av-wall__row.is-reverse {
    animation-direction: reverse;
}

.av-wall.is-paused .av-wall__row {
    animation-play-state: paused;
}

.av-wall__row img {
    display: block;
    flex: none;
    width: var(--wall-card);
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 10px;
    background: var(--av-bg-2);
}

@keyframes av-wall-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .av-wall__row {
        animation: none;
    }
}

/* Okunabilirlik: sol taraf (başlık, arama) koyu, sağa doğru açılır; alt kenar sayfa rengine erir */
.av-wall__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        /* Ana sayfa hero'su ile aynı karartma (--overlay-opacity, panel ayarı); sol taraf yazı için daha koyu */
        linear-gradient(90deg,
            rgba(15, 17, 24, calc(var(--overlay-opacity, 0.45) + 0.4)) 0%,
            rgba(15, 17, 24, calc(var(--overlay-opacity, 0.45) + 0.15)) 45%,
            rgba(15, 17, 24, var(--overlay-opacity, 0.45)) 100%),
        linear-gradient(180deg, rgba(15, 17, 24, 0.55) 0%, transparent 30%, transparent 70%, var(--av-bg) 100%);
}

@media (max-width: 767px) {
    .av-wall__shade {
        background: linear-gradient(180deg,
            rgba(15, 17, 24, calc(var(--overlay-opacity, 0.45) + 0.35)) 0%,
            rgba(15, 17, 24, calc(var(--overlay-opacity, 0.45) + 0.2)) 50%,
            var(--av-bg) 100%);
    }
}

.av-browse-hero .av-crumbs .breadcrumb {
    margin-bottom: 18px;
}

.av-browse-hero__title {
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 900;
    color: #fff;
    margin: 0;
    letter-spacing: -0.02em;
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
}

.av-browse-hero__lead {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin: 10px 0 26px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

/* Sayfa içi arama */
.av-insearch {
    position: relative;
    max-width: 560px;
}

.av-insearch > i {
    position: absolute;
    left: 18px;
    top: 50%;
    z-index: 2; /* backdrop-filter'lı input ikonun üstüne çizilmesin */
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 20px;
    pointer-events: none;
}

.av-insearch input {
    width: 100%;
    height: 54px;
    padding: 0 52px 0 50px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    /* Bulanıklık (backdrop-filter) yok: arkadaki afiş duvarı kayarken her karede yeniden hesaplanıp takılma yapıyordu */
    background: rgba(10, 12, 18, 0.86);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.18s ease, background-color 0.18s ease;
}

.av-insearch input::-webkit-search-cancel-button {
    display: none;
}

.av-insearch input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(10, 12, 18, 0.88);
}

.av-insearch__clear {
    position: absolute;
    right: 10px;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 16px;
}

.av-insearch__clear:hover {
    background: rgba(255, 255, 255, 0.16);
}

/* turbo-frame varsayılan olarak satır içi öğedir; yapışkan çubuk için blok olmalı */
turbo-frame.av-browse {
    display: block;
    min-height: 60vh;
}

turbo-frame[busy] .av-results {
    opacity: 0.45;
    transition: opacity 0.15s ease;
    pointer-events: none;
}

.av-filterbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(15, 17, 24, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--av-line);
}

/* Sabit header yukarıdan 1 sn'de iner (animate.css fadeInDown, ease); çubuk da aynı
   sürede onunla birlikte aşağı kaysın, arada boşluk kalmasın. Geri dönüşte anında. */
html.av-header-fixed .av-filterbar {
    top: var(--av-header-h, 79px);
    transition: top 1s ease;
}

.av-filterbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.av-tabs-line {
    display: flex;
    gap: 26px;
    overflow-x: auto;
    scrollbar-width: none;
    min-width: 0;
}

.av-tabs-line::-webkit-scrollbar {
    display: none;
}

.av-tabs-line a {
    position: relative;
    padding: 18px 0 16px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.18s ease;
}

.av-tabs-line a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.av-tabs-line a:hover,
.av-tabs-line a.active {
    color: #fff;
}

.av-tabs-line a.active::after {
    transform: scaleX(1);
}

.av-dd {
    flex-shrink: 0;
}

.av-dd__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 12px 0 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: transparent;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
}

.av-dd__btn:hover,
.av-dd__btn[aria-expanded="true"] {
    border-color: rgba(255, 255, 255, 0.35);
}

.av-dd__label {
    color: var(--av-muted);
    font-weight: 500;
}

/* Görünüm ve açılış animasyonu: "Liste menüleri" bölümünde (şerit menülerle ortak) */
.av-dd__menu {
    min-width: 200px;
    margin-top: 8px !important;
}

.av-dd__menu .dropdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 12px;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.av-dd__menu .dropdown-item:hover,
.av-dd__menu .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.av-dd__menu .dropdown-item.active {
    background: transparent;
    color: #fff;
    font-weight: 700;
}

.av-results {
    padding: 30px 0 80px;
}

.av-results__count {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--av-muted);
    font-size: 14px;
    margin: 0 0 24px;
}

.av-results__count b {
    color: #fff;
}

.av-results__reset {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.av-results__reset:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 767px) {
    .av-filterbar__inner {
        gap: 12px;
    }

    .av-tabs-line {
        gap: 20px;
        -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
        mask-image: linear-gradient(90deg, #000 88%, transparent);
    }

    .av-dd__label {
        display: none;
    }
}

@media (max-width: 575px) {
    .av-browse-hero.banner-section {
        padding-top: 120px;
        padding-bottom: 40px;
    }
}

/* ==========================================================================
   Detay: tam açıklama ve künye bilgi alanında; sağda izleme sayfasına giden video kapağı
   ========================================================================== */
/* "hidden" yapışkan video kapağını bozar; "clip" taşmayı keser ama kaydırma kabı oluşturmaz */
.av-detail-hero {
    overflow: clip;
}

/*
 * Arka plan görseli yakınlaşmaz: animasyon yok ve açıklama uzasa da görsel yalnız üst bölümü
 * sabit yükseklikte kaplar (tüm uzun hero'yu kaplamak için büyütülmez), aşağı doğru zemine erir.
 */
.av-detail-hero__backdrop {
    animation: none;
    transform: none;
    inset: 0 0 auto 0;
    height: min(100%, 820px);
    background-position: center 20%;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}

.av-dh {
    align-items: start;
}

/* Satır kayınca ayırıcı nokta satır başında kalmasın */
.av-dh .av-meta {
    gap: 8px 22px;
}

.av-dh .av-meta li + li::before {
    display: none;
}

.av-dh__about {
    margin-top: 28px;
}

.av-dh__label {
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 8px;
}

.av-dh__text {
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.8;
    max-width: 720px;
}

.av-dh .av-dh__facts {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--av-line);
    gap: 10px;
}

.av-dh__media {
    position: sticky;
    top: 110px;
}

.av-dh__watch {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
    text-decoration: none;
}

.av-dh__watch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.av-dh__watch-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.75) 100%);
}

.av-dh__watch-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 78px;
    height: 78px;
    margin: -39px 0 0 -39px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 5px;
    background: rgba(47, 95, 196, 0.92);
    color: #fff;
    font-size: 26px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.av-dh__watch-caption {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.av-dh__watch-caption b {
    color: #fff;
    font-weight: 700;
}

.av-dh__watch:hover img {
    transform: scale(1.03);
}

.av-dh__watch:hover .av-dh__watch-play {
    transform: scale(1.08);
    background: #3a6dd6;
}

@media (max-width: 1199px) {
    .av-dh__media {
        position: static;
    }
}

/* Header arama penceresi + öneriler */
.av-spotlight {
    width: min(680px, calc(100% - 32px));
    display: block !important;
}

/* Canlının CSS'i input'u kaydırıyor (float); kapsayıcı yüksekliğini kaybetmesin, ikonlar ortalansın */
.av-spotlight__field {
    position: relative;
    display: flow-root;
}

.header-search-form.av-spotlight input {
    float: none;
    display: block;
}

.av-spotlight__field > i,
.av-spotlight__kbd {
    z-index: 2;
}

.av-spotlight__field > i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 22px;
    pointer-events: none;
}

.header-search-form.av-spotlight input {
    width: 100%;
    height: 62px;
    padding: 0 76px 0 56px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: #131722;
    color: #fff;
    font-family: inherit;
    font-size: 17px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.header-search-form.av-spotlight input,
.header-search-form.av-spotlight input::placeholder {
    min-height: 0;
    font-size: 17px;
}

/* Pencere ekranın üst kısmında açılsın; öneriler aşağı doğru uzasın */
.header-search-area {
    align-items: flex-start;
    padding-top: 14vh;
    background-color: rgba(5, 7, 12, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.header-search-form.av-spotlight input:focus {
    outline: none;
    border-color: rgba(143, 176, 240, 0.6);
}

.header-search-form.av-spotlight input::-webkit-search-cancel-button {
    display: none;
}

.av-spotlight__kbd {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
}

.av-suggest {
    margin-top: 10px;
    padding: 8px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #131722;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    max-height: min(62vh, 560px);
    overflow-y: auto;
}

.av-suggest__head {
    padding: 8px 10px 6px;
    color: var(--av-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.av-suggest__empty {
    margin: 0;
    padding: 6px 10px 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.av-suggest__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 10px;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
}

.av-suggest__item img {
    width: 40px;
    height: 60px;
    flex: 0 0 40px;
    object-fit: cover;
    border-radius: 6px;
    background: #0e1119;
}

.av-suggest__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.av-suggest__text b {
    font-size: 15px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.av-suggest__text small {
    color: var(--av-muted);
    font-size: 12px;
}

.av-suggest__text em {
    color: #9db9f2;
    font-style: normal;
}

.av-suggest__item > i {
    color: rgba(255, 255, 255, 0.35);
    font-size: 16px;
    transition: transform 0.18s ease, color 0.18s ease;
}

/* Kişi önerisi: yuvarlak fotoğraf ya da baş harfler */
.av-suggest__item.av-suggest__item--person img,
.av-suggest__initials {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    margin: 5px 0;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
}

.av-suggest__initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #1d2740, #121621);
    font-size: 15px;
    font-weight: 700;
}

.av-suggest__item:hover,
.av-suggest__item.is-active {
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
}

.av-suggest__item:hover > i,
.av-suggest__item.is-active > i {
    color: #fff;
    transform: translateX(3px);
}

.av-suggest__all {
    display: block;
    margin-top: 4px;
    padding: 12px 10px 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #8fb0f0;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.av-suggest__all:hover {
    color: #fff;
}

@media (max-width: 575px) {
    .header-search-form.av-spotlight input {
        height: 54px;
        font-size: 16px;
    }

    .av-spotlight__kbd {
        display: none;
    }
}

/* ==========================================================================
   İletişim
   ========================================================================== */
.av-contact-hero.banner-section {
    padding-top: 150px;
    padding-bottom: 56px;
}

.av-contact-hero__title {
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}

.av-contact-hero__lead {
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    max-width: 620px;
    margin: 0 0 34px;
}

.av-quick {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.av-quick__card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-radius: 14px;
    border: 1px solid var(--av-line);
    background: rgba(19, 23, 34, 0.75);
    backdrop-filter: blur(10px);
    text-decoration: none;
    transition: border-color 0.18s ease, background-color 0.18s ease;
    min-width: 0;
}

a.av-quick__card:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(26, 31, 46, 0.85);
}

.av-quick__icon {
    flex: 0 0 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(47, 95, 196, 0.18);
    color: #9db9f2;
    font-size: 22px;
}

.av-quick__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.av-quick__body small {
    color: var(--av-muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.av-quick__body b {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.av-quick__cta {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.av-quick__actions {
    display: flex;
    gap: 6px;
}

.av-contact {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 28px;
    align-items: start;
}

.av-contact__form,
.av-contact__aside {
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--av-line);
    background: var(--av-bg-2);
}

.av-contact__heading {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
}

.av-form2 {
    margin-top: 22px;
}

.av-form2__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.av-form2__full {
    grid-column: 1 / -1;
}

/* Kayan etiketli alan */
.av-float {
    position: relative;
}

.av-float input,
.av-float textarea,
.av-float select {
    width: 100%;
    padding: 24px 14px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0e1119;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

/* Canlının genel "select { height: 38px }" kuralı alanı basmasın */
.av-float input,
.av-float select {
    height: 58px;
}

.av-float textarea {
    resize: vertical;
    min-height: 150px;
    padding-bottom: 28px;
}

.av-float select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.av-float select option {
    background: #131722;
}

.av-float label {
    position: absolute;
    left: 15px;
    top: 17px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 15px;
    pointer-events: none;
    transform-origin: left top;
    transition: transform 0.16s ease, color 0.16s ease;
}

.av-float input:focus,
.av-float textarea:focus,
.av-float select:focus {
    outline: none;
    border-color: #4f7fe0;
    box-shadow: 0 0 0 3px rgba(79, 127, 224, 0.2);
}

.av-float input:focus + label,
.av-float input:not(:placeholder-shown) + label,
.av-float textarea:focus + label,
.av-float textarea:not(:placeholder-shown) + label,
.av-float--select label {
    transform: translateY(-9px) scale(0.78);
    color: rgba(255, 255, 255, 0.7);
}

.av-float.is-invalid input,
.av-float.is-invalid textarea,
.av-float.is-invalid select {
    border-color: #e5484d;
}

.av-float__count {
    position: absolute;
    right: 14px;
    bottom: 10px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    pointer-events: none;
}

.av-float .av-error {
    margin-top: 6px;
}

.av-form2__foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.av-form2__note {
    margin: 0;
    color: var(--av-muted);
    font-size: 13px;
    max-width: 420px;
}

.av-form2__note a {
    color: #8fb0f0;
}

.av-contact__logo {
    width: 160px;
    margin-bottom: 16px;
}

.av-contact__list {
    list-style: none;
    padding: 0;
    margin: 22px 0;
    display: grid;
    gap: 14px;
    border-top: 1px solid var(--av-line);
    padding-top: 22px;
}

.av-contact__list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.av-contact__list i {
    color: #9db9f2;
    font-size: 20px;
    margin-top: -1px;
}

.av-contact__list a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.av-contact__list a:hover {
    color: #fff;
}

.av-contact__social {
    display: flex;
    gap: 8px;
    margin-bottom: 22px;
}

.av-contact__social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--av-line);
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    text-decoration: none;
    transition: border-color 0.18s ease, color 0.18s ease;
}

.av-contact__social a:hover {
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

/* Harita koyu temaya uyarlanır */
.av-map2 {
    margin-top: 28px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--av-line);
    height: 380px;
}

.av-map2 iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0;
    display: block;
    filter: invert(0.92) hue-rotate(180deg) saturate(0.6) brightness(0.95);
}

@media (max-width: 991px) {
    .av-quick {
        grid-template-columns: 1fr;
    }

    .av-contact {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .av-contact-hero.banner-section {
        padding-top: 120px;
        padding-bottom: 36px;
    }

    .av-contact__form,
    .av-contact__aside {
        padding: 22px;
    }

    .av-form2__grid {
        grid-template-columns: 1fr;
    }

    .av-form2__foot .av-btn {
        width: 100%;
    }

    .av-map2 {
        height: 300px;
    }
}

/* ==========================================================================
   6 Kas: mobil tür düğmesi, tek kart arama, detay vitrini, oyuncular, şeritler, puan, paylaş, yorumlar
   ========================================================================== */

/* Film/Dizi: telefonda sekmeler yerine "Tür ▾" düğmesi */
.av-genre-dd {
    display: none;
}

.av-genre-dd__menu {
    width: min(92vw, 360px);
    max-height: 60vh;
    overflow-y: auto;
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 2px 6px;
}

.av-genre-dd__menu.show {
    display: grid;
}

.av-genre-dd__menu .dropdown-item span {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

@media (max-width: 767px) {
    .av-tabs-line {
        display: none;
    }

    .av-genre-dd {
        display: block;
    }

    .av-filterbar__inner {
        justify-content: flex-start;
        padding: 12px 0;
    }

    .av-genre-dd .av-dd__label {
        display: inline;
    }
}

/* Header araması: arama satırı ve sonuçlar tek kartta */
.av-spotlight__box {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #121621;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
    overflow: hidden;
}

.av-spotlight__box:focus-within {
    border-color: rgba(143, 176, 240, 0.5);
}

.header-search-form.av-spotlight input,
.header-search-form.av-spotlight input:focus {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.av-suggest {
    margin: 0;
    padding: 6px 8px 8px;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    max-height: min(58vh, 520px);
}

.av-suggest__head {
    padding: 10px 10px 4px;
}

.av-suggest__item {
    gap: 12px;
    padding: 7px 10px;
    border-radius: 8px;
}

.av-suggest__item img {
    width: 34px;
    height: 50px;
    flex-basis: 34px;
    border-radius: 4px;
}

.av-suggest__text b {
    font-size: 14px;
}

.av-suggest__all {
    margin: 4px -8px -8px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.03);
}

/* Beyaz "Oynat" düğmesi (vitrinin birincil eylemi) */
.av-btn--light {
    background: #fff;
    color: #0f1118;
}

.av-btn--light:hover {
    background: rgba(255, 255, 255, 0.85);
    color: #0f1118;
}

/* ---------- Detay vitrini ---------- */
.av-show {
    position: relative;
    min-height: min(88vh, 820px);
    display: flex;
    align-items: flex-end;
    padding: 120px 0 64px;
    /* Kırpma yalnız medya katmanında: puan/paylaş menüleri vitrinin altına taşabilsin */
    isolation: isolate;
    z-index: 3;
}

.av-show__media {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: #000;
    overflow: hidden;
}

.av-show__poster {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 25%;
}

.av-show__video {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
}

.av-show__video.is-playing {
    opacity: 1;
}

/* 16:9 videoyu alanı dolduracak şekilde ortala; YouTube'un üst/alt yazıları kenarda kırpılır */
.av-show__video iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: max(100%, calc(100vh * 16 / 9 * 1.25));
    height: max(125%, calc(100vw * 9 / 16 * 1.25));
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: none;
}

.av-show__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(15, 17, 24, 0.92) 0%, rgba(15, 17, 24, 0.55) 40%, rgba(15, 17, 24, 0.05) 75%),
        linear-gradient(180deg, rgba(15, 17, 24, 0.55) 0%, transparent 25%, transparent 55%, var(--av-bg) 100%);
}

.av-show__inner {
    position: relative;
}

.av-show__inner .av-crumbs {
    position: absolute;
    top: -80px;
}

.av-show__body {
    max-width: 640px;
}

.av-show__title {
    font-size: clamp(36px, 5.5vw, 68px);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 12px 0 14px;
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.55);
}

.av-show__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-weight: 500;
}

.av-show__score {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
}

.av-show__score i {
    color: var(--av-gold);
}

.av-show__score b {
    color: #fff;
    font-size: 17px;
}

.av-show__score small {
    color: rgba(255, 255, 255, 0.55);
}

.av-show__score[hidden] {
    display: none;
}

.av-show__score .av-show__votes {
    margin-left: 2px;
    font-size: 13px;
}

.av-show .av-actions {
    margin-top: 0;
    gap: 10px;
}

/* Önizleme denetimi (sağ alt): ses aç/kapat, bitince tekrar oynat */
.av-show__controls {
    position: absolute;
    right: max(24px, calc((100vw - 1320px) / 2 + 12px));
    bottom: 64px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Video öne çıkınca yazılar sadeleşir: yol, türler ve künye satırı kaybolur, başlık küçülür; düğmeler kalır */
.av-show__shade,
.av-show .av-crumbs,
.av-show .av-dh__kicker,
.av-show .av-show__meta {
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.av-show .av-show__title {
    transform-origin: left bottom;
    transition: transform 0.8s ease;
}

.av-show.is-preview-immersed .av-crumbs,
.av-show.is-preview-immersed .av-dh__kicker,
.av-show.is-preview-immersed .av-show__meta {
    opacity: 0;
    visibility: hidden;
}

.av-show.is-preview-immersed .av-show__title {
    transform: translateY(calc(var(--av-meta-h, 40px))) scale(0.78);
}

.av-show.is-preview-immersed .av-show__shade {
    opacity: 0.75;
}

.av-show__mute {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.18s ease, opacity 0.4s ease;
}

/* Arkada durmuş önizleme yeniden başlarken (YouTube katmanı kalkana dek) oynat düğmesinde dönen halka */
.av-show__toggle {
    position: relative;
}

.av-show.is-preview-waiting .av-show__toggle::after {
    content: "";
    position: absolute;
    inset: -4px;
    border: 2px solid transparent;
    border-top-color: var(--av-gold);
    border-radius: 50%;
    animation: av-spin 0.8s linear infinite;
}

@keyframes av-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Ses düğmesi yalnız oynarken; durdur/oynat düğmesi oynarken, bitince ve kullanıcı durdurmuşken görünür */
.av-show:not(.is-preview-playing) .av-show__mute:not(.av-show__toggle),
.av-show:not(.is-preview-playing):not(.is-preview-ended):not(.is-preview-stopped) .av-show__toggle {
    display: none;
}

.av-show__mute:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Konusu + künye */
.av-about {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.av-about__text .section-title {
    margin-bottom: 14px;
}

.av-about__facts {
    margin: 0;
    padding: 22px 24px;
    border-radius: 14px;
    border: 1px solid var(--av-line);
    background: var(--av-surface);
    display: grid;
    gap: 12px;
}

.av-about__facts > div {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 12px;
    font-size: 14px;
}

.av-about__facts dt {
    color: var(--av-muted);
    font-weight: 500;
}

.av-about__facts dd {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
}

/* ---------- Kayan şeritler ---------- */
.av-rail {
    display: grid;
    grid-auto-flow: column;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 6px;
}

.av-rail::-webkit-scrollbar {
    display: none;
}

.av-rail > * {
    scroll-snap-align: start;
}

.av-rail--posters {
    grid-auto-columns: calc((100% - 5 * 18px) / 6);
}

.av-rail--cast {
    grid-auto-columns: calc((100% - 7 * 18px) / 8);
}

.av-rail__item .movie-item {
    margin: 0;
}

.av-rail__nav {
    display: flex;
    gap: 8px;
}

.av-rail__nav button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--av-line);
    background: var(--av-surface);
    color: #fff;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.av-rail__nav button:hover:not(:disabled) {
    border-color: rgba(255, 255, 255, 0.4);
}

.av-rail__nav button:disabled {
    opacity: 0.3;
    cursor: default;
}

/* Oyuncu kartı: dikey fotoğraf, altında ad ve rol */
.av-person {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-decoration: none;
    color: #fff;
}

.av-person__photo {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(160deg, #1d2740, #121621);
    margin-bottom: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.av-person__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.av-person__initials {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

/* Şerit overflow ile kırptığı için vurgu dışarı taşmaz: çerçeve fotoğrafın içinde, kalkma payı üstte */
.av-rail--cast {
    padding-top: 8px;
    margin-top: -8px;
}

.av-person__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0);
    transition: box-shadow 0.3s ease;
    pointer-events: none;
}

.av-person__photo img {
    transition: transform 0.5s ease;
}

.av-person:hover .av-person__photo {
    transform: translateY(-4px);
}

.av-person:hover .av-person__photo::after {
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.75);
}

.av-person:hover .av-person__photo img {
    transform: scale(1.04);
}

.av-person__name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.av-person:hover,
.av-person:hover .av-person__name {
    color: #fff;
}

.av-nowrap {
    white-space: nowrap;
}

.av-person__go {
    display: inline-flex;
    vertical-align: -3px;
    margin-left: 6px;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid var(--av-line);
    font-size: 11px;
    color: var(--av-muted);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.av-person:hover .av-person__go {
    background: #fff;
    border-color: #fff;
    color: var(--av-bg);
    transform: translateX(2px);
}

.av-about__facts a {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
    text-underline-offset: 3px;
}

.av-about__facts a:hover {
    text-decoration-color: #fff;
}

.av-person__role {
    color: var(--av-muted);
    font-size: 12px;
}

/* ==========================================================================
   Şerit menüler (paylaş, puan ver): düğmenin yanından açılır, içerik sırayla yaylanarak belirir.
   Yerleşim JS'te seçilir: sağda yer varsa sağa, yoksa sola (.is-left), iki yanda da yoksa üste (.is-up).
   ========================================================================== */
.av-tray {
    position: relative;
    display: inline-flex;
}

.av-tray__toggle {
    position: relative;
    z-index: 2;
}

.av-tray.is-open .av-tray__toggle {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
}

.av-tray__panel {
    position: absolute;
    top: 50%;
    left: calc(100% + 10px);
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(18, 22, 34, 0.84);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    white-space: nowrap;
    translate: 0 -50%;
    /* Kapalıyken şerit düğmenin hizasında katlanmış durur; açılırken düğmeden dışa doğru açılır */
    clip-path: inset(0 100% 0 0);
    visibility: hidden;
    transition: clip-path 0.42s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.42s;
}

/* Kapalı şerit sayfa düzeninden tamamen çıkar (görünmez hâliyle bile sağdan taşıp mobilde yatay kaydırma yapıyordu) */
.av-tray__panel[hidden] {
    display: none;
}

/* Açıkken maske şeridin dışına taşar: ikon etiketleri kesilmesin (köşeyi border-radius yuvarlar) */
.av-tray.is-open .av-tray__panel {
    clip-path: inset(-48px -48px -48px -48px);
    visibility: visible;
    transition: clip-path 0.42s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
}

.av-tray.is-left .av-tray__panel {
    left: auto;
    right: calc(100% + 10px);
    clip-path: inset(0 0 0 100%);
}

/* Yanda yer yoksa ya da yandaki düğmenin üstüne binecekse: düğmenin altında (.is-down), altta da yer yoksa üstünde
   (.is-up); sol kenarı düğmeyle hizalı, ekrandan taşacaksa --tray-left kadar kaydırılır */
.av-tray.is-down .av-tray__panel,
.av-tray.is-up .av-tray__panel {
    left: var(--tray-left, 0px);
    translate: none;
}

.av-tray.is-down .av-tray__panel {
    top: calc(100% + 10px);
    clip-path: inset(0 0 100% 0);
}

.av-tray.is-up .av-tray__panel {
    top: auto;
    bottom: calc(100% + 10px);
    clip-path: inset(100% 0 0 0);
}

.av-tray.is-left.is-open .av-tray__panel,
.av-tray.is-down.is-open .av-tray__panel,
.av-tray.is-up.is-open .av-tray__panel {
    clip-path: inset(-48px -48px -48px -48px);
}

/* Şeridin içeriği: --i sırasıyla, yaylanarak belirir */
.av-tray__pop {
    opacity: 0;
    transform: translateX(-14px) scale(0.4);
    transition: transform 0.25s ease, opacity 0.15s ease, background-color 0.2s ease;
}

.av-tray.is-left .av-tray__pop {
    transform: translateX(14px) scale(0.4);
}

.av-tray.is-down .av-tray__pop {
    transform: translateY(-12px) scale(0.4);
}

.av-tray.is-up .av-tray__pop {
    transform: translateY(12px) scale(0.4);
}

.av-tray.is-open .av-tray__pop {
    opacity: 1;
    transform: none;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) calc(0.06s + var(--i, 0) * 0.055s),
        opacity 0.3s ease calc(0.06s + var(--i, 0) * 0.055s), background-color 0.2s ease;
}

/* Yuvarlak ikon düğmesi (paylaş hedefleri) */
.av-tray__item {
    position: relative;
    display: grid;
    place-items: center;
    flex: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 20px;
    text-decoration: none;
}

.av-tray__item[hidden] {
    display: none;
}

.av-tray__item:hover,
.av-tray__item:focus-visible {
    color: #fff;
    outline: none;
}

.av-tray.is-open .av-tray__item:hover,
.av-tray.is-open .av-tray__item:focus-visible {
    transform: translateY(-3px) scale(1.08);
    transition-delay: 0s;
}

/* Ad etiketi: ikonun üstünde küçük balon */
.av-tray__item::after {
    content: attr(data-label);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    padding: 4px 8px;
    border-radius: 6px;
    background: #fff;
    color: #111;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    translate: -50% 4px;
    transition: opacity 0.15s ease, translate 0.15s ease;
}

.av-tray.is-up .av-tray__item::after,
.av-tray.is-down .av-tray__item::after {
    top: calc(100% + 8px);
    bottom: auto;
}

.av-tray__item:hover::after,
.av-tray__item:focus-visible::after {
    opacity: 1;
    translate: -50% 0;
}

@media (prefers-reduced-motion: reduce) {
    .av-tray__panel,
    .av-tray.is-open .av-tray__panel,
    .av-tray__pop,
    .av-tray.is-open .av-tray__pop {
        transition: none;
    }
}

/* ---------- Paylaş: ikon değişimi ve marka renkleri ---------- */
.av-share__toggle i {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
}

.av-share__icon-close {
    position: absolute;
    font-size: 22px;
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

.av-share.is-open .av-share__icon-open {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

.av-share.is-open .av-share__icon-close {
    opacity: 1;
    transform: none;
}

/* Sola açılınca WhatsApp yine düğmeye en yakın dursun */
.av-share.is-left .av-tray__panel {
    flex-direction: row-reverse;
}

.av-share__item--whatsapp:hover, .av-share__item--whatsapp:focus-visible { background: #25d366; }
.av-share__item--x:hover, .av-share__item--x:focus-visible { background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
.av-share__item--facebook:hover, .av-share__item--facebook:focus-visible { background: #1877f2; }
.av-share__item--telegram:hover, .av-share__item--telegram:focus-visible { background: #229ed9; }
.av-share__item--copy:hover, .av-share__item--copy:focus-visible,
.av-share__item--native:hover, .av-share__item--native:focus-visible { background: var(--av-gold); color: #111; }

.av-share__item.is-copied {
    background: #2e9e5b;
}

/* ---------- Puan ver: şeritte 5 yıldız + puan bilgisi ---------- */
.av-rate.is-rated .av-tray__toggle i {
    color: var(--av-gold);
}

.av-rate__panel {
    gap: 12px;
    padding: 6px 18px 6px 10px;
}

.av-rate__form {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
}

/*
 * 5 ayrı yıldız, yarım yıldız destekli. --score 0-10; i. yıldızın dolu oranı (score - 2i) / 2, 0 ile 1 arasında.
 * Tıklama alanları her yıldızın sol (yarım) ve sağ (tam) yarısıdır; görünen dolum ile kaydedilen puan birebir aynı.
 */
.av-rate__stars {
    --score: 0;
    display: flex;
    gap: 2px;
}

.av-rate__star {
    position: relative;
    width: 36px;
    height: 36px;
    flex: none;
}

.av-rate__star svg {
    display: block;
    width: 36px;
    height: 36px;
    fill: rgba(255, 255, 255, 0.16);
}

.av-rate__fill {
    position: absolute;
    inset: 0 auto 0 0;
    overflow: hidden;
    width: calc(clamp(0, (var(--score) - var(--i) * 2) / 2, 1) * 100%);
    pointer-events: none;
    transition: width 0.1s ease;
}

.av-rate__fill svg {
    fill: var(--av-gold);
    filter: drop-shadow(0 0 6px rgba(255, 201, 41, 0.45));
}

.av-rate__hit {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    z-index: 1;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.av-rate__hit--left {
    left: 0;
}

.av-rate__hit--right {
    right: 0;
}

.av-rate__hit:focus-visible {
    outline: 2px solid var(--av-accent);
    outline-offset: 2px;
    border-radius: 4px;
}

.av-rate__info {
    display: flex;
    flex-direction: column;
    min-width: 128px;
    padding-left: 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    line-height: 1.3;
}

.av-rate__hint {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.av-rate__summary {
    margin: 0;
    color: var(--av-muted);
    font-size: 12px;
}

.av-rate__summary b {
    color: #fff;
}

.av-rate__guest {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.av-rate__guest .av-btn {
    padding: 8px 16px;
    font-size: 13px;
}

@media (max-width: 575px) {
    .av-rate__star,
    .av-rate__star svg {
        width: 30px;
        height: 30px;
    }

    .av-rate__info {
        min-width: 0;
    }

    /* Dar ekranda şerit ekrana sığar; misafir yazısı gerekirse iki satıra iner */
    .av-tray__panel {
        max-width: calc(100vw - 32px);
    }

    .av-rate__panel {
        border-radius: 20px;
        white-space: normal;
    }

    .av-rate__guest {
        font-size: 13px;
        line-height: 1.35;
    }

    .av-rate__guest .av-btn {
        flex: none;
    }
}

/* ==========================================================================
   Liste menüleri (tür, sıralama, üye menüsü): şeritlerle aynı cam görünüm;
   açılırken panel hafifçe büyür, öğeler sırayla belirir. Popper konumu transform'la verdiğinden
   animasyon ayrı translate/scale özellikleriyle yapılır (konumla çakışmaz).
   ========================================================================== */
.av-dd__menu,
.user-dropdown-menu {
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(18, 22, 34, 0.86);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.av-dd__menu.show,
.user-dropdown-menu.show {
    animation: av-menu-in 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.av-dd__menu.show > *,
.user-dropdown-menu.show > * {
    animation: av-menu-item-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    animation-delay: calc(0.04s + min(var(--i, 0), 10) * 0.03s);
}

@keyframes av-menu-in {
    from {
        opacity: 0;
        translate: 0 -6px;
        scale: 0.96;
    }
}

@keyframes av-menu-item-in {
    from {
        opacity: 0;
        translate: 0 6px;
    }
}

.av-dd__menu .dropdown-item,
.user-dropdown-menu .dropdown-item {
    border-radius: 10px;
}

.user-dropdown-menu .dropdown-item {
    padding: 10px 14px;
}

.user-dropdown-menu .dropdown-divider {
    margin: 6px 4px;
}

@media (prefers-reduced-motion: reduce) {
    .av-dd__menu.show,
    .user-dropdown-menu.show,
    .av-dd__menu.show > *,
    .user-dropdown-menu.show > * {
        animation: none;
    }
}

/* ---------- Yorumlar (izleme sayfası) ---------- */
.av-comments {
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid var(--av-line);
}

.av-comments__title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 18px;
}

.av-comments__title span {
    color: var(--av-muted);
    font-weight: 500;
    margin-left: 6px;
}

.av-avatar {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2f5fc4, #223e77);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.av-comment-form {
    display: flex;
    gap: 14px;
    margin-bottom: 26px;
}

.av-comment-form__body {
    flex: 1;
    min-width: 0;
}

.av-comment-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    resize: none;
}

.av-comment-form textarea:focus {
    outline: none;
    border-color: rgba(143, 176, 240, 0.6);
}

.av-comment-form__foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.av-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--av-muted);
    font-size: 13px;
    cursor: pointer;
}

.av-check input {
    accent-color: #2f5fc4;
    width: 16px;
    height: 16px;
}

.av-comments__guest {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 24px;
    font-size: 14px;
}

.av-comments__guest i {
    font-size: 24px;
    color: #9db9f2;
}

.av-comments__guest a {
    color: #8fb0f0;
    font-weight: 600;
}

.av-comments__empty {
    color: var(--av-muted);
    font-size: 14px;
}

.av-comments__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 22px;
}

.av-comment {
    display: flex;
    gap: 14px;
}

.av-comment__body {
    flex: 1;
    min-width: 0;
}

.av-comment__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
    font-size: 13px;
}

.av-comment__meta b {
    color: #fff;
    font-size: 14px;
}

.av-comment__meta time {
    color: var(--av-muted);
}

.av-comment__delete {
    margin-left: auto;
}

.av-comment__delete button {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.4);
    font-size: 16px;
}

.av-comment__delete button:hover {
    color: #ff8a8d;
}

.av-comment__text,
.av-comment__text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.65;
    word-wrap: break-word;
}

.av-comment__text.is-spoiler {
    position: relative;
}

.av-comment__text.is-spoiler p {
    filter: blur(6px);
    user-select: none;
}

.av-comment__reveal {
    position: absolute;
    inset: 0;
    z-index: 1;
    border: 0;
    background: transparent;
    color: var(--av-gold);
    font-size: 13px;
    font-weight: 600;
    text-align: left;
}

/* ---------- Duyarlı ---------- */
@media (max-width: 1199px) {
    .av-rail--posters {
        grid-auto-columns: calc((100% - 3 * 18px) / 4);
    }

    .av-rail--cast {
        grid-auto-columns: calc((100% - 5 * 18px) / 6);
    }
}

@media (max-width: 991px) {
    .av-about {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 767px) {
    .av-show {
        min-height: 78vh;
        padding: 110px 0 40px;
    }

    .av-show__shade {
        background: linear-gradient(180deg, rgba(15, 17, 24, 0.5) 0%, rgba(15, 17, 24, 0.25) 35%, rgba(15, 17, 24, 0.85) 70%, var(--av-bg) 100%);
    }

    .av-show__inner .av-crumbs {
        position: static;
        margin-bottom: 8px;
    }

    .av-show__controls {
        top: 92px;
        bottom: auto;
        right: 16px;
    }


    .av-show__mute {
        width: 40px;
        height: 40px;
        font-size: 19px;
    }

    .av-show .av-actions .av-btn--lg {
        height: 46px;
        padding: 0 16px;
    }

    .av-rail--posters {
        grid-auto-columns: 42%;
    }

    .av-rail--cast {
        grid-auto-columns: 30%;
    }
}

/* =====================================================================
 * Profil / Hesabım (6 Kas): görselli üst alan, özet sayılar, sekmeler,
 * izlemeye devam şeridi, puan/yorum listeleri, ayar kartları
 * ===================================================================== */
.av-me {
    position: relative;
    padding: 150px 0 0;
    isolation: isolate;
}

.av-me__media {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(120% 90% at 85% 0%, rgba(52, 94, 178, 0.35), transparent 60%), var(--av-bg);
}

.av-me__cover {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 30%;
    opacity: 0.55;
}

.av-me__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15, 17, 24, 0.92) 0%, rgba(15, 17, 24, 0.55) 55%, rgba(15, 17, 24, 0.35) 100%),
        linear-gradient(180deg, rgba(15, 17, 24, 0.2) 0%, rgba(15, 17, 24, 0.6) 60%, var(--av-bg) 100%);
}

.av-me__head {
    display: flex;
    align-items: center;
    gap: 28px;
}

.av-me__avatar {
    flex: none;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--av-accent), #6c8ee0);
    box-shadow: 0 0 0 4px rgba(15, 17, 24, 0.9), 0 0 0 6px rgba(255, 255, 255, 0.25), 0 18px 40px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.av-me__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.av-me__eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--av-gold);
    margin-bottom: 6px;
}

.av-me__name {
    font-size: clamp(30px, 4.2vw, 50px);
    line-height: 1.05;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
}

.av-me__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
}

.av-me__meta > span:not(.av-me__badge) + span:not(.av-me__badge)::before {
    content: "·";
    margin-right: 18px;
    color: rgba(255, 255, 255, 0.35);
}

.av-me__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.av-me__badge--admin {
    background: rgba(255, 201, 41, 0.14);
    border-color: rgba(255, 201, 41, 0.35);
    color: var(--av-gold);
}

.av-me__badge--admin:hover {
    color: #fff;
    background: rgba(255, 201, 41, 0.25);
}

.av-me__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 44px;
}

.av-me__stat {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    align-items: center;
    padding: 18px 20px;
    border-radius: 16px;
    background: rgba(19, 23, 34, 0.72);
    border: 1px solid var(--av-line);
    backdrop-filter: blur(10px);
    color: #fff;
    transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.av-me__stat i {
    grid-row: span 2;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 24px;
    color: #9db6ee;
    background: rgba(52, 94, 178, 0.18);
}

.av-me__stat strong {
    font-size: 26px;
    line-height: 1.1;
    font-weight: 800;
}

.av-me__stat span {
    font-size: 13px;
    color: var(--av-muted);
}

.av-me__stat:hover,
.av-me__stat.is-active {
    color: #fff;
    border-color: rgba(52, 94, 178, 0.7);
    background: rgba(28, 35, 54, 0.85);
    transform: translateY(-2px);
}

/* Sekmeler: masaüstünde alt çizgili satır, telefonda 3 sütunlu düğme ızgarası (yana kaydırma yok) */
.av-me-tabs {
    border-bottom: 1px solid var(--av-line);
    margin-top: 28px;
}

.av-me-tabs__list {
    display: flex;
    gap: 6px;
}

.av-me-tabs a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 16px 18px;
    font-weight: 600;
    font-size: 15px;
    color: var(--av-muted);
    transition: color 0.2s ease;
}

.av-me-tabs a i {
    font-size: 20px;
}

.av-me-tabs a em {
    font-style: normal;
    font-size: 12px;
    min-width: 22px;
    padding: 1px 7px;
    border-radius: 999px;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
}

.av-me-tabs a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: -1px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--av-accent);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.av-me-tabs a:hover,
.av-me-tabs a.active {
    color: #fff;
}

.av-me-tabs a.active::after {
    transform: scaleX(1);
}

.av-me-tabs a.active em {
    background: var(--av-accent);
    color: #fff;
}

.av-me-body {
    padding-top: 44px;
}

.av-me-section + .av-me-section,
.av-me-section + .row {
    margin-top: 48px;
}

.av-me-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 14px;
    color: #9db6ee;
}

.av-me-more:hover {
    color: #fff;
}

/* İzlemeye devam kartları (16:9) */
.av-rail--resume {
    grid-auto-columns: calc((100% - 3 * 18px) / 4);
}

.av-resume {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #fff;
    min-width: 0;
}

.av-resume:hover {
    color: #fff;
}

.av-resume__thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: var(--av-surface-2);
    margin-bottom: 8px;
}

.av-resume__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.av-resume__thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.55));
}

.av-resume__play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 52px;
    height: 52px;
    margin: -26px 0 0 -26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #0f1118;
    background: #fff;
    font-size: 16px;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.av-resume__play i {
    margin-left: 3px;
}

.av-resume__type {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 1;
    padding: 2px 9px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #0f1118;
    background: var(--av-gold);
}

.av-resume:hover .av-resume__thumb img {
    transform: scale(1.05);
}

.av-resume:hover .av-resume__play {
    opacity: 1;
    transform: scale(1);
}

.av-resume strong {
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.av-resume > span:last-child {
    font-size: 13px;
    color: var(--av-muted);
}

.av-me-resume-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 18px;
}

/* Listem ızgarası */
.av-me-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 28px 18px;
}

.av-me-grid__item {
    position: relative;
}

.av-me-grid__item .movie-item {
    margin: 0;
}

.av-me-grid__item form {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
}

.av-me-remove {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: grid;
    place-items: center;
    font-size: 16px;
    color: #fff;
    background: rgba(15, 17, 24, 0.75);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

.av-me-grid__item:hover .av-me-remove,
.av-me-remove:focus-visible {
    opacity: 1;
}

.av-me-remove:hover {
    background: #c0392b;
    border-color: #c0392b;
}

@media (hover: none) {
    .av-me-remove {
        opacity: 1;
    }
}

/* Kartlar ve satırlar */
.av-me-card {
    padding: 26px 28px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
    border: 1px solid var(--av-line);
}

.av-me-card + .av-me-card {
    margin-top: 20px;
}

.av-me-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.av-me-card__head h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.av-me-card__head h2 i {
    font-size: 22px;
    color: #9db6ee;
}

.av-me-card__foot {
    margin-top: 22px;
}

.av-me-card--list {
    padding: 8px 12px;
}

.av-me-card--danger {
    border-color: rgba(231, 76, 60, 0.3);
    background: linear-gradient(180deg, rgba(231, 76, 60, 0.07), rgba(231, 76, 60, 0.02));
}

.av-me-card--danger .av-me-card__head h2 i {
    color: #e86a5c;
}

.av-me-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border-radius: 12px;
    color: #fff;
    transition: background-color 0.2s ease;
}

.av-me-row + .av-me-row {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.av-me-row:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.av-me-row__poster {
    flex: none;
    width: 52px;
    aspect-ratio: 2 / 3;
    border-radius: 8px;
    object-fit: cover;
    background: var(--av-surface-2);
}

.av-me-row__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.av-me-row__body strong {
    font-size: 16px;
    font-weight: 700;
}

.av-me-row__sub {
    font-weight: 500;
    color: var(--av-muted);
}

.av-me-row__text {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.55;
}

.av-me-row__body small {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--av-muted);
}

.av-me-row__go {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.4);
}

.av-me-tag {
    padding: 1px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #ffb4a8;
    background: rgba(231, 76, 60, 0.18);
}

.av-me-tag--muted {
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    text-transform: none;
    letter-spacing: 0;
}

.av-me-score {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.av-me-score__stars {
    font-size: 18px;
    letter-spacing: 2px;
    line-height: 1;
    background: linear-gradient(90deg, var(--av-gold) var(--value), rgba(255, 255, 255, 0.18) var(--value));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.av-me-score b {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}

.av-me-score b i {
    font-style: normal;
    font-size: 12px;
    font-weight: 600;
    color: var(--av-muted);
}

/* Hoş geldin (hiç etkinlik yokken) */
.av-me-welcome {
    text-align: center;
    padding: 56px 24px;
    border-radius: 20px;
    border: 1px dashed rgba(255, 255, 255, 0.16);
    background: radial-gradient(80% 120% at 50% 0%, rgba(52, 94, 178, 0.16), transparent 70%);
}

.av-me-welcome > i {
    font-size: 54px;
    color: #9db6ee;
}

.av-me-welcome h2 {
    margin: 12px 0 8px;
    font-size: 26px;
    color: #fff;
}

.av-me-welcome p {
    max-width: 520px;
    margin: 0 auto;
    color: var(--av-muted);
}

.av-me-welcome__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

/* Hesap ayarları */
.av-me-settings {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.av-me-settings__side .av-me-card + .av-me-card {
    margin-top: 20px;
}

.av-optional {
    font-weight: 400;
    color: var(--av-muted);
}

.av-phone {
    display: flex;
    gap: 10px;
}

.av-phone .av-select {
    flex: none;
    width: auto;
}

.av-me-connected {
    display: flex;
    align-items: center;
    gap: 14px;
}

.av-me-connected__icon {
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 24px;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.av-me-connected__body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.av-me-connected__body strong {
    color: #fff;
}

.av-me-connected__body small {
    color: var(--av-muted);
}

@media (max-width: 1199px) {
    .av-me-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .av-me-tabs a {
        padding-inline: 12px;
    }
}

@media (max-width: 991px) {
    .av-me {
        padding-top: 120px;
    }

    .av-me__stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .av-me-tabs a span {
        display: none;
    }

    .av-me-tabs a.active span {
        display: inline;
    }

    .av-rail--resume {
        grid-auto-columns: calc((100% - 18px) / 2.2);
    }

    .av-me-resume-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .av-me-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .av-me-settings {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .av-me {
        padding-top: 104px;
    }

    .av-me__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .av-me__avatar {
        width: 84px;
        height: 84px;
        font-size: 30px;
    }

    .av-me__meta {
        font-size: 14px;
        gap: 6px 12px;
    }

    .av-me__meta > span:not(.av-me__badge) + span:not(.av-me__badge)::before {
        display: none;
    }

    .av-me__meta > span:not(.av-me__badge) {
        flex-basis: 100%;
    }

    .av-me__stats {
        gap: 10px;
        margin-top: 28px;
    }

    .av-me__stat {
        padding: 12px 14px;
        column-gap: 10px;
    }

    .av-me__stat i {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }

    .av-me__stat strong {
        font-size: 20px;
    }

    .av-me__stat span {
        font-size: 12px;
    }

    .av-me-tabs {
        border-bottom: 0;
        margin-top: 20px;
    }

    .av-me-tabs__list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .av-me-tabs a,
    .av-me-tabs a.active {
        flex-direction: column;
        gap: 4px;
        padding: 12px 6px;
        border-radius: 12px;
        font-size: 12px;
        text-align: center;
        background: var(--av-surface);
        border: 1px solid var(--av-line);
    }

    .av-me-tabs a span,
    .av-me-tabs a.active span {
        display: block;
        line-height: 1.2;
    }

    .av-me-tabs a em,
    .av-me-tabs a::after {
        display: none;
    }

    .av-me-tabs a.active {
        background: rgba(52, 94, 178, 0.22);
        border-color: rgba(52, 94, 178, 0.75);
    }

    .av-me-body {
        padding-top: 28px;
    }

    .av-rail--resume {
        grid-auto-columns: 78%;
    }

    .av-me-resume-grid {
        grid-template-columns: 1fr;
    }

    .av-me-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px 14px;
    }

    .av-me-card {
        padding: 20px 18px;
    }

    .av-me-card--list {
        padding: 4px 6px;
    }

    .av-me-row {
        gap: 12px;
        padding: 10px 8px;
    }

    .av-me-row__poster {
        width: 44px;
    }

    .av-me-score__stars {
        font-size: 14px;
    }

    .av-phone .av-select {
        max-width: 42%;
    }
}

/* ---------- Oyuncu sayfası (/oyuncu/{slug}) ---------- */
.av-pp {
    position: relative;
    padding: 130px 0 50px;
    overflow: hidden;
    isolation: isolate;
}

.av-pp__backdrop {
    position: absolute;
    inset: -40px;
    z-index: -2;
    background-size: cover;
    background-position: center 25%;
    filter: blur(28px) saturate(1.1);
    opacity: 0.55;
}

.av-pp::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(15, 17, 24, 0.95) 0%, rgba(15, 17, 24, 0.7) 55%, rgba(15, 17, 24, 0.45) 100%),
        linear-gradient(180deg, rgba(15, 17, 24, 0.4) 0%, transparent 40%, var(--av-bg) 100%);
}

.av-pp .av-crumbs {
    margin-bottom: 28px;
}

.av-pp__head {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.av-pp__photo {
    position: relative;
    aspect-ratio: 2 / 3;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(160deg, #1d2740, #121621);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.av-pp__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.av-pp__photo .av-person__initials {
    font-size: 64px;
}

.av-pp__jobs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.av-pp__jobs span {
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--av-line);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.av-pp__jobs span:first-child {
    background: var(--av-gold);
    border-color: var(--av-gold);
    color: #111;
}

.av-pp__name {
    margin: 0 0 22px;
    font-size: clamp(34px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.05;
    color: #fff;
}

.av-pp__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 40px;
    margin: 0 0 24px;
    padding: 18px 0;
    border-top: 1px solid var(--av-line);
    border-bottom: 1px solid var(--av-line);
}

.av-pp__facts dt {
    margin-bottom: 4px;
    color: var(--av-muted);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.av-pp__facts dd {
    margin: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.av-pp__facts dd .av-muted {
    font-weight: 400;
}

.av-pp__bio {
    max-width: 760px;
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.75;
}

.av-pp__credits {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 18px;
}

.av-pp__credit {
    display: flex;
    gap: 18px;
    padding: 14px;
    border-radius: var(--av-radius);
    background: var(--av-surface);
    border: 1px solid var(--av-line);
    color: #fff;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.av-pp__credit:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.av-pp__poster {
    flex: none;
    width: 104px;
    aspect-ratio: 2 / 3;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
}

.av-pp__poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.av-pp__credit-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    padding: 4px 0;
}

.av-pp__credit-meta {
    color: var(--av-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.av-pp__credit-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

.av-pp__credit-role {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.av-pp__credit-role span {
    color: var(--av-muted);
    margin-right: 4px;
}

.av-pp__credit-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--av-gold);
}

.av-pp__credit-cta i {
    font-size: 10px;
}

@media (max-width: 991px) {
    .av-pp__head {
        grid-template-columns: 200px minmax(0, 1fr);
        gap: 30px;
    }
}

@media (max-width: 767px) {
    .av-pp {
        padding: 100px 0 30px;
    }

    .av-pp__head {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .av-pp__photo {
        width: 180px;
    }

    .av-pp__facts {
        gap: 12px 28px;
    }

    .av-pp__credits {
        grid-template-columns: 1fr;
    }

    .av-pp__poster {
        width: 84px;
    }
}

/* Arama sayfası: kişiler */
.av-search__heading {
    margin: 10px 0 20px;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

.av-search__people {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 18px;
    margin-bottom: 44px;
}

/* IMDb puanı rozeti (ana sayfa listeleri): üye puanıyla karışmasın diye kaynağıyla birlikte */
.av-imdb-score {
    gap: 6px;
}

.av-imdb {
    display: inline-block;
    padding: 1px 5px;
    border-radius: 4px;
    background: #f5c518;
    color: #000;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

/* ==========================================================================
   Profil (puan merkezli): ortalama puan, puan bekleyenler, puan dağılımı, sevilen türler, Puanlarım ızgarası
   ========================================================================== */
.av-me__stat--score i {
    color: var(--av-gold);
}

.av-me__stat strong small {
    margin-left: 2px;
    font-size: 0.55em;
    font-weight: 600;
    color: var(--av-muted);
}

.av-me-lead {
    margin: 4px 0 0;
    color: var(--av-muted);
    font-size: 14px;
}

.av-me-lead b {
    color: #fff;
}

.av-me-lead b i {
    color: var(--av-gold);
    font-size: 12px;
}

.av-me-card--fill {
    height: 100%;
}

/* Puanlanmış / puan bekleyen kart: afişin altında senin puanın ve yıldızlar */
.av-rated {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.av-rated__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.av-rated__mine {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.av-rated__mine i {
    color: var(--av-gold);
    font-size: 12px;
}

.av-rated__avg {
    color: var(--av-muted);
    font-size: 12px;
}

/* Satır içi yıldızlar (profil kartları): detaydaki yıldızlarla aynı davranış, küçük boy */
.av-stars-input {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.av-stars-input .av-rate__stars {
    gap: 0;
}

.av-stars-input .av-rate__star,
.av-stars-input .av-rate__star svg {
    width: 24px;
    height: 24px;
}

.av-stars-input__hint {
    color: var(--av-muted);
    font-size: 12px;
    white-space: nowrap;
}

/* Puanlarım ızgarasında yıldızlar fareyle üstüne gelince/odakta görünür; dokunmatikte hep açık */
.av-me-grid .av-rated .av-stars-input {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.av-me-grid .av-rated:hover .av-stars-input,
.av-me-grid .av-rated:focus-within .av-stars-input {
    opacity: 1;
}

@media (hover: none) {
    .av-me-grid .av-rated .av-stars-input {
        opacity: 1;
    }
}

/* Puan dağılımı: 0,5 … 5 yıldız için dikey çubuklar */
.av-dist {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    align-items: end;
    gap: 8px;
    height: 190px;
    margin-top: 22px;
}

.av-dist__col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    height: 100%;
}

.av-dist__col em {
    color: #fff;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    min-height: 16px;
}

.av-dist__bar {
    display: block;
    width: 100%;
    max-width: 34px;
    height: var(--h);
    min-height: 3px;
    border-radius: 6px 6px 2px 2px;
    background: linear-gradient(180deg, var(--av-gold), #d99a00);
    transform-origin: bottom;
    animation: av-bar-grow 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.av-dist__col:nth-child(odd) .av-dist__bar {
    opacity: 0.75;
}

.av-dist__col small {
    color: var(--av-muted);
    font-size: 11px;
}

@keyframes av-bar-grow {
    from {
        transform: scaleY(0);
    }
}

/* Sevilen türler: yatay çubuklar */
.av-genres {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.av-genres li {
    display: grid;
    grid-template-columns: 92px 1fr auto;
    align-items: center;
    gap: 12px;
}

.av-genres__name {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.av-genres__track {
    height: 8px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.av-genres__track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--av-accent), #6f95e6);
}

.av-genres__meta {
    color: var(--av-muted);
    font-size: 12px;
    white-space: nowrap;
}

.av-genres__meta i {
    color: var(--av-gold);
    font-size: 10px;
}

/* Puanlarım: tür süzgeci ve sıralama */
.av-me-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 28px;
}

.av-me-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.av-me-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 99px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.av-me-chip em {
    color: var(--av-muted);
    font-size: 12px;
    font-style: normal;
}

.av-me-chip:hover {
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.av-me-chip.is-active {
    border-color: #fff;
    background: #fff;
    color: #111;
}

.av-me-chip.is-active em {
    color: rgba(0, 0, 0, 0.55);
}

/* Ayar anahtarı (toggle) */
.av-switch {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
}

/* Gerçek kutu görünmez ama erişilebilir; genel input stili (width: 100%) sayfayı yana taşırmasın */
.av-switch input {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

.av-switch__track {
    position: relative;
    flex: none;
    width: 44px;
    height: 24px;
    margin-top: 2px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.18);
    transition: background-color 0.2s ease;
}

.av-switch__track::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.av-switch input:checked + .av-switch__track {
    background: var(--av-accent);
}

.av-switch input:checked + .av-switch__track::after {
    transform: translateX(20px);
}

.av-switch input:focus-visible + .av-switch__track {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.av-switch__text {
    display: grid;
    gap: 4px;
}

.av-switch__text strong {
    color: #fff;
    font-size: 15px;
}

.av-switch__text small {
    color: var(--av-muted);
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 575px) {
    .av-dist {
        gap: 4px;
        height: 150px;
    }

    .av-genres li {
        grid-template-columns: 80px 1fr auto;
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .av-dist__bar {
        animation: none;
    }
}

/* Devam serisi şeridi (yapım sayfası): sıra numarası, bulunulan yapım işaretli */
.av-collection__lead {
    margin: 4px 0 0;
    color: var(--av-muted);
    font-size: 14px;
}

.av-collection__item {
    position: relative;
}

.av-collection__no {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 4;
    display: grid;
    place-items: center;
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    border-radius: 99px;
    background: rgba(15, 17, 24, 0.85);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.av-collection__item.is-current .av-collection__no {
    background: var(--av-gold);
    color: #111;
    box-shadow: none;
}

.av-collection__item.is-current .movie-thumb,
.av-collection__item.is-current img {
    outline: 2px solid var(--av-gold);
    outline-offset: 2px;
}

.av-collection__here {
    display: inline-block;
    margin-top: 4px;
    color: var(--av-gold);
    font-size: 12px;
    font-weight: 700;
}

/* Kar yağışı (panel ayarı) — tıklamaları engellemez */
.av-snow { position: fixed; inset: 0; z-index: 9990; pointer-events: none; }

/* ---------- Popup (Panel > Reklam > Popuplar) ---------- */
.av-popup {
    max-width: min(92vw, 640px);
    max-height: 90vh;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: transparent;
    overflow: visible;
}
.av-popup::backdrop { background: rgba(5, 6, 10, 0.72); backdrop-filter: blur(3px); }
.av-popup[open] { animation: av-popup-in 0.28s ease both; }
.av-popup img { display: block; max-width: 100%; max-height: 86vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.av-popup__close {
    position: absolute;
    top: -14px;
    right: -14px;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #111;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}
.av-popup__close:focus-visible { outline: 3px solid #e50914; outline-offset: 2px; }
@keyframes av-popup-in { from { opacity: 0; transform: translateY(12px) scale(0.97); } to { opacity: 1; transform: none; } }
@media (max-width: 575px) { .av-popup__close { top: 8px; right: 8px; } }
@media (prefers-reduced-motion: reduce) { .av-popup[open] { animation: none; } }

/* ---------- Video reklam (izleme sayfası) ---------- */
.av-ad { position: absolute; inset: 0; z-index: 5; background: #000; }
.av-ad video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; cursor: pointer; }
.av-ad__top, .av-ad__bottom { position: absolute; left: 14px; right: 14px; display: flex; align-items: center; gap: 10px; pointer-events: none; }
.av-ad__top { top: 12px; }
.av-ad__bottom { bottom: 14px; justify-content: flex-end; flex-wrap: wrap; }
.av-ad__top > *, .av-ad__bottom > * { pointer-events: auto; }
.av-ad__badge, .av-ad__time { padding: 3px 10px; border-radius: 6px; background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 12px; font-weight: 700; }
.av-ad__badge { background: #f5c518; color: #111; }
.av-ad__visit, .av-ad__mute, .av-ad__skip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.av-ad__visit { margin-right: auto; }
.av-ad__visit:hover, .av-ad__mute:hover, .av-ad__skip:not(:disabled):hover { background: #fff; color: #111; }
.av-ad__skip:disabled { cursor: default; opacity: 0.75; }
.av-ad__play { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 76px; height: 76px; margin: -38px 0 0 -38px; border: 0; border-radius: 50%; background: rgba(229, 9, 20, 0.92); color: #fff; font-size: 34px; cursor: pointer; }
.av-ad [hidden] { display: none !important; }
@media (max-width: 575px) {
    .av-ad__visit, .av-ad__mute, .av-ad__skip { min-height: 34px; padding: 6px 10px; font-size: 12.5px; }
}

/* ---------- Yorum yanıtları, beğeni ve bildirim zili ---------- */
.av-avatar--sm { flex-basis: 30px; width: 30px; height: 30px; font-size: 12px; }

.av-comment { scroll-margin-top: 110px; }
.av-comment.is-new > .av-comment__body,
.av-comment:target > .av-comment__body { animation: av-comment-flash 2.4s ease-out; border-radius: 12px; }
@keyframes av-comment-flash {
    0%, 35% { background: rgba(52, 94, 178, 0.28); box-shadow: 0 0 0 8px rgba(52, 94, 178, 0.28); }
    100% { background: transparent; box-shadow: 0 0 0 8px transparent; }
}

.av-comment__actions { display: flex; align-items: center; gap: 4px; margin: 6px 0 0 -8px; }
.av-comment__act {
    display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 9px;
    border: 0; border-radius: 99px; background: transparent;
    color: var(--av-muted); font-size: 13px; font-weight: 600; cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.av-comment__act i { font-size: 17px; }
.av-comment__act:hover { background: rgba(255, 255, 255, 0.07); color: #fff; text-decoration: none; }
.av-comment__act:focus-visible { outline: 2px solid rgba(143, 176, 240, 0.8); outline-offset: 1px; }
.av-comment__like.is-on { color: #ff6b81; }
.av-comment__like.is-on i { animation: av-like-pop 0.3s ease; }
.av-comment__like span:empty { display: none; }
@keyframes av-like-pop { 50% { transform: scale(1.35); } }

.av-comment__replies {
    list-style: none; margin: 14px 0 0; padding: 2px 0 2px 16px;
    display: grid; gap: 16px;
    border-left: 2px solid rgba(255, 255, 255, 0.09);
}
.av-comment--reply { gap: 11px; }
.av-comment--reply .av-comment__text, .av-comment--reply .av-comment__text p { font-size: 14.5px; }

.av-comment-form--reply { margin: 14px 0 0; gap: 11px; }
.av-comment-form--reply[hidden] { display: none; }
.av-comment-form__buttons { display: inline-flex; gap: 8px; }
.av-comment-form__foot { gap: 10px; flex-wrap: wrap; }

@media (max-width: 575px) {
    .av-comment__replies { padding-left: 10px; }
}

.av-bell { display: inline-flex; align-items: center; margin-right: 6px; }
.av-bell__btn {
    position: relative; display: grid; place-items: center; width: 40px; height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 50%; background: rgba(255, 255, 255, 0.05);
    color: #fff; font-size: 20px; cursor: pointer; transition: background-color 0.15s ease, border-color 0.15s ease;
}
.av-bell__btn:hover, .av-bell__btn[aria-expanded="true"] { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.3); }
.av-bell__count {
    position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px;
    border-radius: 99px; border: 2px solid var(--av-bg); background: #e5484d; color: #fff;
    font-size: 10.5px; font-weight: 700; line-height: 14px; text-align: center;
}
.av-bell__menu { width: min(360px, calc(100vw - 24px)); padding: 6px; }
.av-bell__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px 10px; color: #fff; font-size: 14px; }
.av-bell__head button { border: 0; background: transparent; color: #8fb0f0; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.av-bell__head button:hover { text-decoration: underline; }
.av-bell__item { display: flex; gap: 11px; padding: 10px; border-radius: 10px; color: rgba(255, 255, 255, 0.82); }
.av-bell__item:hover { background: rgba(255, 255, 255, 0.07); color: #fff; text-decoration: none; }
.av-bell__item.is-unread { background: rgba(52, 94, 178, 0.2); }
.av-bell__text { display: grid; gap: 2px; min-width: 0; font-size: 13.5px; line-height: 1.4; }
.av-bell__text b { color: #fff; }
.av-bell__text em { font-style: normal; color: var(--av-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.av-bell__text small { color: rgba(255, 255, 255, 0.45); font-size: 12px; }
.av-bell__empty { margin: 0; padding: 14px 10px 16px; color: var(--av-muted); font-size: 13.5px; }

/* ---------- İçeriğe geç bağlantısı (klavye) ve 404 sayfası ---------- */
.av-skip { position: fixed; top: 10px; left: 10px; z-index: 10000; padding: 10px 16px; border-radius: 10px; background: #fff; color: #0f1118; font-weight: 700; transform: translateY(-200%); }
.av-skip:focus { transform: none; color: #0f1118; }

.av-error-page { padding: 190px 0 110px; text-align: center; }
.av-error-page__code { margin: 0; color: rgba(143, 176, 240, 0.9); font-size: clamp(64px, 14vw, 132px); font-weight: 900; line-height: 1; letter-spacing: -0.03em; }
.av-error-page h1 { margin: 10px 0 12px; color: #fff; font-size: clamp(26px, 4vw, 38px); font-weight: 800; }
.av-error-page__lead { max-width: 520px; margin: 0 auto 26px; color: var(--av-muted); font-size: 16px; line-height: 1.6; }
.av-error-page__search { max-width: 520px; margin: 0 auto 22px; }
.av-error-page__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ---------- İzledim işareti, sıradaki bölüm geri sayımı, reklam engelleyici uyarısı ---------- */
.av-watched-btn.is-on { border-color: rgba(46, 196, 130, 0.6); color: #5fe0a6; }
.av-watched-mark {
    position: absolute; top: 6px; left: 6px; z-index: 2; display: none; place-items: center; width: 22px; height: 22px;
    border-radius: 50%; background: #1fa971; color: #fff; font-size: 13px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
.is-watched .av-watched-mark { display: grid; }
.av-playlist__thumb, .av-episode__thumb { position: relative; }
.av-playlist a.is-watched:not(.is-current) img, .av-episode.is-watched img { opacity: 0.6; }
.av-watched-count { margin-left: 10px; color: #5fe0a6; font-size: 14px; font-weight: 600; white-space: nowrap; }

.av-next, .av-adwall {
    position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; padding: 18px;
    background: rgba(8, 10, 16, 0.86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.av-adwall { background: rgba(8, 10, 16, 0.96); }
.av-next__card, .av-adwall__card { display: grid; justify-items: center; gap: 8px; max-width: 460px; text-align: center; color: #fff; }
.av-next__eyebrow { color: var(--av-gold); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.av-next__title { font-size: clamp(18px, 3vw, 26px); font-weight: 800; }
.av-next__count { color: var(--av-muted); font-size: 14px; }
.av-next__buttons, .av-adwall__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }
.av-adwall__card > i { font-size: 44px; color: var(--av-gold); }
.av-adwall__card strong { font-size: clamp(17px, 2.6vw, 22px); }
.av-adwall__card p { margin: 0; color: rgba(255, 255, 255, 0.78); font-size: 14.5px; line-height: 1.6; }
.av-avatar--icon { background: linear-gradient(135deg, #c9951a, #8a6410); font-size: 14px; }
.av-mylist { padding-top: 46px; }

/* ---------- Ana sayfa üye şeritleri (İzlemeye Devam Et, Listem) ve oynat kapısı ---------- */
.av-member-slider { position: relative; overflow: hidden; }
.av-member-rail .movie-section-header .av-link-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; }
.av-member-rail .movie-badge { max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.av-member-rail .swiper-button-lock, .av-member-rail .swiper-button-disabled.swiper-button-lock { display: none; }
.av-member-rail .slider-prev.swiper-button-disabled, .av-member-rail .slider-next.swiper-button-disabled { opacity: 0.35; cursor: default; }

.av-playgate {
    position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; width: 100%; padding: 0; border: 0;
    background: #000 center / cover no-repeat; cursor: pointer;
}
.av-playgate::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 10, 16, 0.25), rgba(8, 10, 16, 0.6)); }
.av-playgate__icon {
    position: relative; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
    background: var(--av-accent); color: #fff; font-size: 38px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.av-playgate:hover .av-playgate__icon, .av-playgate:focus-visible .av-playgate__icon { transform: scale(1.08); background: #4070cf; }
@media (max-width: 575px) { .av-playgate__icon { width: 64px; height: 64px; font-size: 30px; } }

/* Yorum onayı: bekleyen yorumu yalnız yazarı görür */
.av-comment.is-pending > .av-comment__body > .av-comment__text,
.av-comment.is-pending > .av-avatar { opacity: 0.6; }
.av-comment__pending {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(245, 197, 24, 0.12);
    color: #f5c518;
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
}
.av-comments__note {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: -6px 0 18px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12.5px;
}

/* Şeritler fareyle tutulup sürüklenir (ana sayfadaki kaydırıcılar gibi) */
.av-rail img { -webkit-user-drag: none; }

@media (hover: hover) and (pointer: fine) {
    .av-rail.is-draggable { cursor: grab; }

    .av-rail.is-dragging {
        cursor: grabbing;
        scroll-snap-type: none;
        scroll-behavior: auto;
        user-select: none;
    }

    /* Sürüklerken kartların üzerine gelme efektleri ve bağlantıları devreye girmesin */
    .av-rail.is-dragging > * { pointer-events: none; }
}

/* Dil seçici (üst menü): zil düğmesiyle aynı cam görünüm; bayrak + dil kodu, açılır listede bayraklı diller */
.av-flag {
    display: inline-block;
    flex: none;
    width: 22px;
    height: 22px;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.av-flag svg {
    display: block;
    width: 100%;
    height: 100%;
}

.av-lang { display: inline-flex; align-items: center; flex: none; margin-right: 6px; }

.av-lang__btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 10px 0 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.av-lang__btn:hover,
.av-lang__btn[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

.av-lang__chev {
    font-size: 12px;
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.av-lang__btn[aria-expanded="true"] .av-lang__chev { transform: rotate(180deg); }

.av-lang__menu { min-width: 170px; }

.av-lang__item {
    display: flex !important;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.av-lang__item.is-active { color: #fff; background: rgba(255, 255, 255, 0.08); }

.av-lang__check {
    margin-left: auto;
    color: var(--av-accent-2, #6f95e8);
    font-size: 16px;
}

@media (max-width: 575px) {
    .av-lang { margin-right: 4px; }
    .av-lang__btn { width: 40px; padding: 0; justify-content: center; }
    .av-lang__code,
    .av-lang__chev { display: none; }
}
