/**
 * Filmler, Diziler ve Ne İzlesem sayfaları – sinematik, premium görsel dil
 * Anasayfa ile aynı atmosfer: gradient arka plan, cam filtreler, derinlikli kartlar, yumuşak geçişler.
 */

/* ========== Ne İzlesem: Hesabım ile aynı siyah zemin ========== */
body.tab-random {
    min-height: 100vh;
    background: var(--bg-100) !important;
}

/* Normal akış: negatif margin yok, footer doğru yerde, boşluk oluşmaz */
body.tab-random #random-page {
    position: relative;
    overflow: hidden;
    margin: 40px auto 40px auto;
    max-width: 1200px;
    width: 100%;
    padding: 0 24px 60px;
    box-sizing: border-box;
    flex: 1 1 auto;
    flex-shrink: 0;
    min-height: calc(100vh - 200px);
    background: transparent !important;
    color: var(--text-100);
}

body.tab-random #random-page::before,
body.tab-random #random-page::after {
    display: none;
}

body.tab-random #random-page .account-dialog,
body.tab-random #random-page .account-page-inner {
    position: relative;
    z-index: 1;
}

/* Ne İzlesem: kartlar cam hissi */
body.tab-random #random-page .account-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

body.tab-random #random-page .account-header {
    color: rgba(255, 255, 255, 0.95);
}

body.tab-random #random-page .account-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

/* Açık tema: Ne İzlesem arka planı tüm ekran (body), overlay yok */
body:not(.dark).tab-random {
    background: linear-gradient(
        180deg,
        rgba(var(--brand-rgb), 0.08) 0%,
        transparent 40%,
        transparent 70%,
        rgba(0, 0, 0, 0.04) 100%
    ), linear-gradient(
        180deg,
        #e8ecf4 0%,
        #e2e6f0 30%,
        #dce0ec 60%,
        #d8dce8 85%,
        var(--bg-100) 100%
    ) !important;
}

body:not(.dark).tab-random #random-page .account-card {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Ne İzlesem: Bana Öner butonu sadece metin genişliği (üstteki yazı kadar) – tüm ekranlarda */
body.tab-random #random-page #btn-random-pick {
    width: auto !important;
    min-width: fit-content !important;
    align-self: flex-start !important;
    display: inline-flex !important;
}

/* PC: Ne İzlesem kartları sabit yükseklik – büyümesin, sağdaki öneri kutusu içinde kaydırılsın */
@media (min-width: 769px) {
    body.tab-random #random-page .account-grid {
        align-items: start;
    }
    body.tab-random #random-page .account-card {
        height: 420px;
        max-height: 420px;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    /* Sol kart (Tarih/Tür select): liste aşağı açılsın, kesilmesin */
    body.tab-random #random-page .account-card:first-of-type {
        overflow: visible !important;
    }
    body.tab-random #random-page .account-card h4 {
        flex-shrink: 0;
    }
    /* Sol kart (Tercihlerini seç): form sabit, taşmaz */
    body.tab-random #random-page .account-card:first-of-type label,
    body.tab-random #random-page .account-card:first-of-type select,
    body.tab-random #random-page .account-card:first-of-type .account-switch,
    body.tab-random #random-page .account-card:first-of-type .btn {
        flex-shrink: 0;
    }
    /* Sağ kart (Önerilen İçerik): sadece #random-result esneyip kaydırsın */
    body.tab-random #random-page .account-card:last-of-type h4 {
        flex-shrink: 0;
    }
    body.tab-random #random-page .account-card:last-of-type #random-result {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
    }
}

/* ========== Filmler, Diziler, Favorilerim: Hesabım ile aynı siyah zemin ========== */
body.tab-movies,
body.tab-series,
body.tab-favorites {
    min-height: 100vh;
    background: var(--bg-100) !important;
}

body.tab-movies main#catalog.section,
body.tab-series main#catalog.section,
body.tab-favorites main#catalog.section {
    position: relative;
    overflow: hidden;
    margin-top: -60px;
    padding-top: 88px;
    padding-bottom: 0;
    box-sizing: border-box;
    background: var(--bg-100) !important;
    color: var(--text-100);
}

body.tab-movies main#catalog.section::before,
body.tab-movies main#catalog.section::after,
body.tab-series main#catalog.section::before,
body.tab-series main#catalog.section::after,
body.tab-favorites main#catalog.section::before,
body.tab-favorites main#catalog.section::after {
    display: none !important;
}

/* Catalog içeriği overlay'in üstünde */
body.tab-movies main#catalog.section > *,
body.tab-series main#catalog.section > * {
    position: relative;
    z-index: 1;
}

/* ========== Kategoriler bölümü: yumuşak geçiş, kutu hissi yok ========== */
body.tab-movies #discover-section,
body.tab-series #discover-section {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding-top: 32px;
    padding-bottom: 24px;
}

/* Kategori başlığı – sinematik tipografi */
body.tab-movies #discover-section .discover-title,
body.tab-series #discover-section .discover-title {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

/* ========== Kategori kartları: derinlik, hafif glow, yükselme hissi ========== */
body.tab-movies #discover-section .discover-card,
body.tab-series #discover-section .discover-card,
body.tab-movies .discover-grid .discover-card,
body.tab-series .discover-grid .discover-card {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(0, 0, 0, 0.2) inset,
        0 2px 8px rgba(var(--brand-rgb), 0.08);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.35s ease,
                border-color 0.3s ease;
}

@media (hover: hover) {
    body.tab-movies #discover-section .discover-card:hover,
    body.tab-series #discover-section .discover-card:hover,
    body.tab-movies .discover-grid .discover-card:hover,
    body.tab-series .discover-grid .discover-card:hover {
        transform: translateY(-8px) scale(1.03) translateZ(0);
        box-shadow:
            0 24px 48px rgba(0, 0, 0, 0.45),
            0 0 0 1px rgba(var(--brand-rgb), 0.25),
            0 0 40px rgba(var(--brand-rgb), 0.12);
        border-color: rgba(var(--brand-rgb), 0.35);
        z-index: 10;
    }
    body.tab-movies #discover-section .discover-card:hover::after,
    body.tab-series #discover-section .discover-card:hover::after {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* ========== Filtre / sıralama alanı – Netflix/Disney/Prime tarzı sade bar ========== */

body.tab-home .filters-after-discover,
body.tab-movies .filters-after-discover,
body.tab-series .filters-after-discover,
body.tab-favorites .filters-after-discover,
body.page-favorites .filters-after-discover {
    position: relative;
    padding: 0;
    margin: 32px auto 24px auto;
    display: block;
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
    padding-left: clamp(24px, 5vw, 48px);
    padding-right: clamp(24px, 5vw, 48px);
}

body.tab-home .filters-container,
body.tab-movies .filters-container,
body.tab-series .filters-container,
body.tab-favorites .filters-container,
body.page-favorites .filters-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: flex-end;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
@media (max-width: 900px) {
    body.tab-home .filters-container,
    body.tab-movies .filters-container,
    body.tab-series .filters-container,
    body.tab-favorites .filters-container,
    body.page-favorites .filters-container {
        gap: 12px;
    }
}

body.tab-home .filter-select,
body.tab-movies .filter-select,
body.tab-series .filter-select,
body.page-favorites .filter-select {
    padding: 8px 32px 8px 12px;
    min-width: 150px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 400;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10' fill='none' stroke='%23ffffff' stroke-width='1.5' opacity='0.6'%3E%3Cpath d='M2 3l3 3 3-3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    cursor: pointer;
    transition: all 0.2s ease;
}

@media (hover: hover) {
    body.tab-home .filter-select:hover,
    body.tab-movies .filter-select:hover,
    body.tab-series .filter-select:hover,
    body.page-favorites .filter-select:hover {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.15);
    }
}

body.tab-home .filter-select:focus,
body.tab-movies .filter-select:focus,
body.tab-series .filter-select:focus,
body.page-favorites .filter-select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

body.tab-home .btn-filter,
body.tab-movies .btn-filter,
body.tab-series .btn-filter,
body.page-favorites .btn-filter {
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    min-width: auto;
}
body.tab-home .btn-filter i,
body.tab-movies .btn-filter i,
body.tab-series .btn-filter i,
body.page-favorites .btn-filter i {
    font-size: 14px;
}

body.tab-home .btn-filter.btn-primary,
body.tab-movies .btn-filter.btn-primary,
body.tab-series .btn-filter.btn-primary,
body.page-favorites .btn-filter.btn-primary {
    background: var(--brand);
    border: 1px solid var(--brand);
    color: #ffffff;
}

@media (hover: hover) {
    body.tab-home .btn-filter.btn-primary:hover,
    body.tab-movies .btn-filter.btn-primary:hover,
    body.tab-series .btn-filter.btn-primary:hover,
    body.page-favorites .btn-filter.btn-primary:hover {
        filter: brightness(1.1);
    }
}

body.tab-home .btn-filter.btn-secondary,
body.tab-movies .btn-filter.btn-secondary,
body.tab-series .btn-filter.btn-secondary,
body.page-favorites .btn-filter.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
}

@media (hover: hover) {
    body.tab-home .btn-filter.btn-secondary:hover,
    body.tab-movies .btn-filter.btn-secondary:hover,
    body.tab-series .btn-filter.btn-secondary:hover,
    body.page-favorites .btn-filter.btn-secondary:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.2);
    }
}

/* ========== Film/dizi grid: anasayfa ile aynı derinlik hissi ========== */
body.tab-movies .movie-grid,
body.tab-series .movie-grid {
    padding-top: 16px;
    padding-bottom: 64px;
}

body.tab-movies .movie-grid .movie-card,
body.tab-series .movie-grid .movie-card {
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    background: #111;
}

@media (hover: hover) {
    body.tab-movies .movie-grid .movie-card:hover,
    body.tab-series .movie-grid .movie-card:hover {
        transform: translateY(-4px) scale(1.02) translateZ(0);
        box-shadow: 0 12px 32px rgba(0,0,0,0.4);
        border-color: rgba(var(--brand-rgb),0.4);
        z-index: 10;
    }
}

/* Favoriler sayfası için hover efekti */
body.page-favorites .movie-card,
body.page-favorites .favorites-grid .movie-card,
body.page-favorites #favorites-grid .movie-card,
body.tab-favorites .movie-grid .movie-card {
    box-shadow: 0 4px 16px rgba(0,0,0,0.2) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
    background: #111 !important;
}

@media (hover: hover) {
    body.page-favorites .movie-card:hover,
    body.page-favorites .favorites-grid .movie-card:hover,
    body.page-favorites #favorites-grid .movie-card:hover,
    body.tab-favorites .movie-grid .movie-card:hover {
        transform: translateY(-4px) scale(1.02) translateZ(0) !important;
        box-shadow: 0 12px 32px rgba(0,0,0,0.4) !important;
        border-color: rgba(var(--brand-rgb),0.4) !important;
        z-index: 10 !important;
    }
}

/* ========== Daha Fazla Yükle: anasayfa ile aynı mavi (brand) stil ========== */
body.tab-movies .section-actions,
body.tab-series .section-actions {
    padding-bottom: 48px;
}

body.tab-movies .section-actions #load-more,
body.tab-series .section-actions #load-more {
    background: var(--brand);
    color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 30px rgba(var(--brand-rgb), 0.25);
    min-height: 40px;
    padding: 10px 18px;
    border-radius: 6px;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
    font-weight: 500 !important;
    transition: filter 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) {
    body.tab-movies .section-actions #load-more:hover,
    body.tab-series .section-actions #load-more:hover {
        filter: brightness(1.06);
        box-shadow: 0 16px 40px rgba(var(--brand-rgb), 0.32);
    }
}

/* ========== Loading indicator: sinematik ton ========== */
body.tab-movies #loading-indicator,
body.tab-series #loading-indicator {
    color: rgba(255, 255, 255, 0.8);
}

/* ========== Hesabım sayfası: düz zemin, sade tasarım ========== */
body.tab-account {
    min-height: 100vh;
    background: var(--bg-100) !important;
}
/* ========== Hesabım sayfası – sade, profesyonel (cam/gradient yok) ========== */
body.tab-account #account-page {
    position: relative;
    z-index: 1;
    margin-top: 0;
    padding-top: 28px;
    min-height: calc(100vh - 160px);
    background: var(--bg-100) !important;
}
body.tab-account #account-page .account-dialog.account-page-inner {
    background: transparent !important;
}
#account-page .account-grid,
#account-modal .account-grid {
    margin-top: 24px;
}
body.tab-account #account-page::before {
    display: none !important;
}
body.tab-account .account-page .account-header {
    border-bottom-color: rgba(0,0,0,0.08);
    color: var(--text-100);
}
body.dark.tab-account .account-page .account-header {
    border-bottom-color: rgba(255,255,255,0.08);
}
body.tab-account .account-page .account-subtitle {
    color: var(--text-300);
}

/* Hesabım kartları: solid arka plan, ince border, hover’da sadece border */
body.tab-account .account-page .account-card,
#account-modal .account-card {
    background: var(--bg-200) !important;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    padding: 24px;
    box-shadow: none;
    transition: border-color 0.2s ease;
}
body.dark.tab-account .account-page .account-card,
body.dark #account-modal .account-card {
    border-color: rgba(255,255,255,0.08);
}
body.tab-account .account-page .account-card:hover,
#account-modal .account-card:hover {
    transform: none;
    border-color: rgba(0,0,0,0.12);
}
body.dark.tab-account .account-page .account-card:hover,
body.dark #account-modal .account-card:hover {
    border-color: rgba(255,255,255,0.12);
}
body.tab-account .account-page .account-card h4,
#account-modal .account-card h4 {
    font-family: Inter, system-ui, sans-serif !important;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
    color: var(--text-100);
}
body.tab-account .account-page .account-card h4 i,
#account-modal .account-card h4 i {
    color: var(--text-300);
}
body.tab-account .account-page .account-card input,
body.tab-account .account-page .account-card select,
#account-modal .account-card input,
#account-modal .account-card select {
    background: var(--bg-100);
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 8px;
    padding: 10px 12px;
    transition: border-color 0.2s ease;
}
body.dark.tab-account .account-page .account-card input,
body.dark.tab-account .account-page .account-card select,
body.dark #account-modal .account-card input,
body.dark #account-modal .account-card select {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.12);
}
body.tab-account .account-page .account-card input:focus,
body.tab-account .account-page .account-card select:focus,
#account-modal .account-card input:focus,
#account-modal .account-card select:focus {
    border-color: var(--brand);
    box-shadow: none;
}

/* E-posta doğrulama: sade kutu */
body.tab-account #email-verification-section,
#account-modal #email-verification-section-modal {
    background: var(--bg-100);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}
body.dark.tab-account #email-verification-section,
body.dark #account-modal #email-verification-section-modal {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
}
body.tab-account .security-divider,
#account-modal .security-divider {
    height: 1px;
    background: rgba(0,0,0,0.08);
    margin: 20px 0;
    border: none;
}
body.dark.tab-account .security-divider,
body.dark #account-modal .security-divider {
    background: rgba(255,255,255,0.08);
}

/* Açık tema: Hesabım – düz zemin */
body:not(.dark).tab-account {
    background: var(--bg-100) !important;
}
body:not(.dark).tab-account .account-page .account-card,
body:not(.dark) #account-modal .account-card {
    background: var(--bg-200) !important;
    border-color: rgba(0,0,0,0.08);
    box-shadow: none;
}
body:not(.dark).tab-account .account-page .account-card:hover,
body:not(.dark) #account-modal .account-card:hover {
    border-color: rgba(0,0,0,0.12);
    box-shadow: none;
}
body:not(.dark).tab-account .account-page .account-card input,
body:not(.dark).tab-account .account-page .account-card select,
body:not(.dark) #account-modal .account-card input,
body:not(.dark) #account-modal .account-card select {
    background: #fff;
    border-color: rgba(0,0,0,0.12);
}
body:not(.dark).tab-account #email-verification-section,
body:not(.dark) #account-modal #email-verification-section-modal {
    background: rgba(0,0,0,0.03);
    border-color: rgba(0,0,0,0.08);
}
body:not(.dark).tab-account .security-divider,
body:not(.dark) #account-modal .security-divider {
    background: rgba(0,0,0,0.08);
}

/* Hesabım butonları */
body.tab-account .account-page .account-card .btn,
#account-modal .account-card .btn {
    width: auto;
    min-width: fit-content;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: Inter, system-ui, sans-serif !important;
    font-weight: 500;
}
body.tab-account .account-page .account-card .btn.btn-full,
#account-modal .account-card .btn.btn-full {
    width: 100%;
}
body.tab-account .email-verification-actions .btn,
#account-modal .email-verification-actions .btn {
    flex: none;
    width: auto;
    min-width: fit-content;
}

/* ========== Açık tema: Filmler/Diziler sayfası ========== */
body:not(.dark).tab-movies main#catalog.section,
body:not(.dark).tab-series main#catalog.section {
    background: linear-gradient(
        180deg,
        #e8ecf4 0%,
        #e2e6f0 30%,
        #dce0ec 60%,
        #d8dce8 85%,
        var(--bg-100) 100%
    ) !important;
}

body:not(.dark).tab-movies main#catalog.section::before,
body:not(.dark).tab-series main#catalog.section::before {
    background: linear-gradient(
        180deg,
        rgba(var(--brand-rgb), 0.08) 0%,
        transparent 55%
    );
}

body:not(.dark).tab-movies #discover-section .discover-card,
body:not(.dark).tab-series #discover-section .discover-card {
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(var(--brand-rgb), 0.06);
}

body:not(.dark).tab-movies #discover-section .discover-card:hover,
body:not(.dark).tab-series #discover-section .discover-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18), 0 0 32px rgba(var(--brand-rgb), 0.1);
    border-color: rgba(var(--brand-rgb), 0.3);
}

body:not(.dark).tab-home .filters-container,
body:not(.dark).tab-movies .filters-container,
body:not(.dark).tab-series .filters-container,
body:not(.dark).page-favorites .filters-container {
    background: transparent;
    border: none;
}

body:not(.dark).tab-home .filter-select,
body:not(.dark).tab-movies .filter-select,
body:not(.dark).tab-series .filter-select,
body:not(.dark).page-favorites .filter-select {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #111827;
}

body:not(.dark).tab-home .filter-select:focus,
body:not(.dark).tab-movies .filter-select:focus,
body:not(.dark).tab-series .filter-select:focus,
body:not(.dark).page-favorites .filter-select:focus {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.15);
}

@media (hover: hover) {
    body:not(.dark).tab-home .filter-select:hover,
    body:not(.dark).tab-movies .filter-select:hover,
    body:not(.dark).tab-series .filter-select:hover,
    body:not(.dark).page-favorites .filter-select:hover {
        background: rgba(0, 0, 0, 0.05);
        border-color: rgba(0, 0, 0, 0.15);
    }
}

body:not(.dark).tab-home .btn-filter.btn-secondary,
body:not(.dark).tab-movies .btn-filter.btn-secondary,
body:not(.dark).tab-series .btn-filter.btn-secondary,
body:not(.dark).page-favorites .btn-filter.btn-secondary {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.15);
    color: #111827;
}

@media (hover: hover) {
    body:not(.dark).tab-home .btn-filter.btn-secondary:hover,
    body:not(.dark).tab-movies .btn-filter.btn-secondary:hover,
    body:not(.dark).tab-series .btn-filter.btn-secondary:hover,
    body:not(.dark).page-favorites .btn-filter.btn-secondary:hover {
        background: rgba(0, 0, 0, 0.05);
        border-color: rgba(0, 0, 0, 0.2);
    }
}
body:not(.dark).tab-home .btn-filter.btn-primary,
body:not(.dark).tab-movies .btn-filter.btn-primary,
body:not(.dark).tab-series .btn-filter.btn-primary,
body:not(.dark).page-favorites .btn-filter.btn-primary {
    background: var(--brand);
    border: 1px solid var(--brand);
    color: #ffffff;
}
@media (hover: hover) {
    body:not(.dark).tab-home .btn-filter.btn-primary:hover,
    body:not(.dark).tab-movies .btn-filter.btn-primary:hover,
    body:not(.dark).tab-series .btn-filter.btn-primary:hover,
    body:not(.dark).page-favorites .btn-filter.btn-primary:hover {
        filter: brightness(1.1);
    }
}

/* ========== Responsive: Filmler/Diziler sinematik ========== */
@media (max-width: 768px) {
    body.tab-movies main#catalog.section,
    body.tab-series main#catalog.section {
        padding-top: 80px; /* 60px navbar + 20px */
    }
    body.tab-home .filters-container,
    body.tab-movies .filters-container,
    body.tab-series .filters-container,
    body.page-favorites .filters-container {
        gap: 12px;
    }
    body.tab-home .filter-select,
    body.tab-movies .filter-select,
    body.tab-series .filter-select,
    body.page-favorites .filter-select {
        min-width: 120px;
    }
}

@media (max-width: 600px) {
    body.tab-movies main#catalog.section,
    body.tab-series main#catalog.section {
        padding-top: 76px; /* 60px navbar + 16px */
    }
    @media (hover: hover) {
        body.tab-movies #discover-section .discover-card:hover,
        body.tab-series #discover-section .discover-card:hover {
            transform: translateY(-6px) scale(1.02) translateZ(0);
        }
    }
    body.tab-home .filters-container,
    body.tab-movies .filters-container,
    body.tab-series .filters-container,
    body.page-favorites .filters-container {
        gap: 10px;
    }
    body.tab-home .filter-select,
    body.tab-movies .filter-select,
    body.tab-series .filter-select,
    body.page-favorites .filter-select {
        min-width: 100%;
    }
    body.tab-home .btn-filter,
    body.tab-movies .btn-filter,
    body.tab-series .btn-filter,
    body.page-favorites .btn-filter {
        width: 100%;
        justify-content: center;
    }
}
