/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --bg: #0f0f1a;
    --bg2: #1a1a2e;
    --bg3: #16213e;
    --border: #2a2a4a;
    --text: #e0e0e0;
    --text2: #aaa;
    --accent: #e50914;
    --accent2: #c40812;
    --green: #22c55e;
    --radius: 10px;
    /* Mobil bottom nav yüksekliği — tüm padding hesaplamalarında kullanılır */
    --bottom-nav-h: 60px;
}
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
/* Mobilde bottom nav için içerik padding */
@media (max-width: 768px) {
    body { padding-bottom: var(--bottom-nav-h); }
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== HEADER ===== */
.site-header { background: rgba(15,15,26,.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 200; }
.header-inner { max-width: 1400px; margin: 0 auto; padding: 0 16px; height: 56px; display: flex; align-items: center; gap: 20px; }
.site-logo { flex-shrink: 0; text-decoration: none; }
.logo-text {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1;
    font-family: 'Segoe UI', system-ui, sans-serif;
    position: relative;
}
.logo-icon-wrap {
    display: flex;
    align-items: center;
    color: var(--accent);
    flex-shrink: 0;
}
.logo-first {
    color: #fff;
    font-weight: 300;
    letter-spacing: -0.5px;
}
.logo-accent {
    color: var(--accent);
    font-weight: 900;
    letter-spacing: -1px;
    position: relative;
}
.logo-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    align-self: flex-end;
    margin-bottom: 4px;
    margin-left: 1px;
    flex-shrink: 0;
}
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a, .nav-dropdown > span { padding: 8px 12px; border-radius: 6px; font-size: 14px; color: var(--text2); cursor: pointer; transition: all .2s; white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }
.main-nav svg { flex-shrink: 0; }
.main-nav a:hover, .nav-dropdown > span:hover { background: var(--bg2); color: var(--text); }
.nav-dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px; min-width: 180px; z-index: 200; }
.nav-dropdown:hover .dropdown-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.dropdown-menu a { display: block; padding: 6px 10px; font-size: 13px; border-radius: 6px; color: var(--text2); }
.dropdown-menu a:hover { background: var(--bg3); color: var(--text); }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.search-form { display: flex; align-items: center; background: var(--bg2); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.search-form input { background: none; border: none; padding: 8px 12px; color: var(--text); font-size: 14px; outline: none; width: 180px; }
.search-form button { background: none; border: none; padding: 8px 12px; cursor: pointer; font-size: 16px; color: var(--text2); min-width: 40px; min-height: 40px; display: flex; align-items: center; justify-content: center; }

/* Canlı arama */
.search-wrap { position: relative; }
.live-search-drop { position: absolute; top: calc(100% + 6px); right: 0; width: 340px; background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 8px 32px rgba(0,0,0,.6); z-index: 999; overflow: hidden; max-height: 480px; overflow-y: auto; }
@media (max-width: 480px) { .live-search-drop { width: calc(100vw - 32px); right: auto; left: 0; } }
.lsd-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; transition: background .15s; cursor: pointer; }
.lsd-item:hover, .lsd-item.lsd-selected { background: var(--bg3); }
.lsd-poster { width: 36px; height: 52px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.lsd-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lsd-title { font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lsd-title mark, .lsd-orig mark { background: var(--accent); color: #fff; padding: 1px 2px; border-radius: 2px; }
.lsd-orig { font-size: 11px; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lsd-meta { font-size: 11px; color: var(--text2); display: flex; align-items: center; gap: 6px; }
.lsd-rating { color: #fbbf24; font-weight: 600; }
.lsd-all { display: block; padding: 10px 12px; font-size: 13px; color: var(--accent); border-top: 1px solid var(--border); text-align: center; transition: background .15s; }
.lsd-all:hover { background: var(--bg3); }
.lsd-loading, .lsd-empty, .lsd-error { padding: 20px; text-align: center; font-size: 13px; color: var(--text2); }
.lsd-loading { color: var(--accent); }
.lsd-error { color: #ef4444; }

/* Mobil arama ikonu (header'da her zaman görünür) */
.mobile-search-btn { display: none; background: none; border: none; color: var(--text2); cursor: pointer; padding: 8px; min-width: 40px; min-height: 40px; align-items: center; justify-content: center; border-radius: 8px; transition: color .2s; }
.mobile-search-btn:hover { color: var(--text); }

/* Mobil arama overlay */
.mobile-search-overlay { display: none; position: fixed; inset: 0; z-index: 500; background: rgba(0,0,0,.7); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); align-items: flex-start; padding-top: 70px; }
.mobile-search-overlay.open { display: flex; }
.mobile-search-inner { width: 100%; max-width: 600px; margin: 0 auto; padding: 0 16px; }
.mobile-search-inner form { display: flex; background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.mobile-search-inner input { flex: 1; background: none; border: none; padding: 14px 16px; color: var(--text); font-size: 16px; outline: none; }
.mobile-search-inner button { background: none; border: none; padding: 14px 16px; color: var(--text2); cursor: pointer; font-size: 18px; }
.mobile-search-drop { margin-top: 8px; background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; max-height: 60vh; overflow-y: auto; }

.btn-login { padding: 8px 16px; background: var(--accent); color: #fff; border-radius: 8px; font-size: 14px; font-weight: 600; transition: background .2s; min-height: 40px; display: inline-flex; align-items: center; }
.btn-login:hover { background: var(--accent2); }
.user-menu { position: relative; cursor: pointer; }
.user-avatar { width: 36px; height: 36px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.user-dropdown { display: none; position: absolute; right: 0; top: calc(100% + 8px); background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 6px; min-width: 180px; z-index: 200; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.user-dropdown.open { display: block; }
.user-dropdown a { display: flex; align-items: center; gap: 8px; padding: 10px 14px; font-size: 14px; border-radius: 6px; color: var(--text2); white-space: nowrap; }
.user-dropdown a:hover { background: var(--bg3); color: var(--text); }
.mobile-menu-btn { display: none; background: none; border: none; color: var(--text); cursor: pointer; padding: 8px; min-width: 40px; min-height: 40px; align-items: center; justify-content: center; }
/* Eski mobil nav — bottom nav ile değiştirildi, sadece fallback */
.mobile-nav { display: none; }

/* ===== MOBİL BOTTOM NAVİGASYON ===== */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: var(--bottom-nav-h);
    background: rgba(15,15,26,.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    z-index: 300;
    /* iOS safe area */
    padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav-inner {
    display: flex;
    align-items: stretch;
    height: 100%;
}
.bn-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--text2);
    font-size: 10px;
    font-weight: 500;
    text-decoration: none;
    transition: color .2s;
    padding: 6px 4px;
    border: none;
    background: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.bn-item svg { flex-shrink: 0; }
.bn-item.active, .bn-item:active { color: var(--accent); }
.bn-item span { letter-spacing: .2px; }

@media (max-width: 768px) {
    .bottom-nav { display: block; }
    .mobile-search-btn { display: flex; }
    .main-nav { display: none; }
    .search-form { display: none; }
    .mobile-menu-btn { display: none; }
    /* Kullanıcı menüsü header'da kalır */
    .header-inner { height: 52px; gap: 8px; }
    .logo-text { font-size: 18px; }
    .logo-dot { width: 5px; height: 5px; margin-bottom: 3px; }
}

/* ===== CONTAINER ===== */
.container { max-width: 1400px; margin: 0 auto; padding: 20px 16px; }
@media (max-width: 768px) { .container { padding: 14px 12px; } }

/* ===== SLIDER WIDE ===== */
.slider-wide { position: relative; height: 520px; overflow: hidden; background: var(--bg); }
.sw-track { position: relative; height: 100%; }
.sw-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; pointer-events: none; }
.sw-slide.active { opacity: 1; pointer-events: auto; }
.sw-bg { position: absolute; inset: 0; background-size: cover; background-position: center top; transition: transform 8s ease; }
.sw-slide.active .sw-bg { transform: scale(1.04); }
.sw-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(15,15,26,.97) 30%, rgba(15,15,26,.5) 65%, rgba(15,15,26,.2)); }

.sw-content { position: absolute; inset: 0; display: flex; align-items: center; max-width: 1400px; margin: 0 auto; padding: 0 40px; gap: 40px; left: 0; right: 0; }
.sw-left { flex: 1; max-width: 560px; }
.sw-right { flex-shrink: 0; }
.sw-poster { width: 180px; border-radius: 12px; box-shadow: 0 24px 60px rgba(0,0,0,.7); transform: perspective(800px) rotateY(-8deg); transition: transform .4s; }
.sw-slide.active .sw-poster { transform: perspective(800px) rotateY(0deg); }

.sw-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.sw-type-badge { padding: 4px 10px; background: var(--accent); color: #fff; border-radius: 4px; font-size: 12px; font-weight: 700; }
.sw-meta-badge { padding: 4px 10px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); border-radius: 4px; font-size: 12px; color: #ccc; }
.sw-title { font-size: 38px; font-weight: 900; line-height: 1.15; margin-bottom: 12px; letter-spacing: -.5px; }
.sw-desc { color: rgba(255,255,255,.65); font-size: 14px; line-height: 1.7; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sw-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.sw-btn-play { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; background: var(--accent); color: #fff; border-radius: 8px; font-size: 15px; font-weight: 700; transition: background .2s; min-height: 48px; }
.sw-btn-play:hover { background: var(--accent2); }
.sw-btn-trailer { display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; border-radius: 8px; font-size: 15px; cursor: pointer; font-family: inherit; transition: background .2s; min-height: 48px; }
.sw-btn-trailer:hover { background: rgba(255,255,255,.18); }

/* Thumbnail nav */
.sw-thumbs { position: absolute; bottom: 0; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; padding: 16px 20px; background: linear-gradient(to top, rgba(15,15,26,.9), transparent); }
.sw-thumb { display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; cursor: pointer; transition: all .2s; max-width: 140px; position: relative; overflow: hidden; }
.sw-thumb.active { background: rgba(229,9,20,.2); border-color: var(--accent); }
.sw-thumb img { width: 28px; height: 40px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.sw-thumb span { font-size: 11px; color: #ccc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-thumb-progress { position: absolute; bottom: 0; left: 0; height: 2px; background: var(--accent); width: 0; transition: width .05s linear; }

/* Ok butonları */
.sw-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.15); color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 24px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; z-index: 10; margin-top: -30px; }
.sw-arrow:hover { background: var(--accent); border-color: var(--accent); }
.sw-prev { left: 16px; }
.sw-next { right: 16px; }

/* Slider responsive */
@media (max-width: 900px) {
    .sw-right { display: none; }
    .sw-title { font-size: 26px; }
    .sw-content { padding: 0 20px; }
}
@media (max-width: 600px) {
    .slider-wide { height: 300px; }
    .sw-title { font-size: 20px; }
    .sw-desc { display: none; }
    .sw-thumbs { display: none; }
    .sw-badges { margin-bottom: 8px; }
    .sw-btn-play { padding: 10px 20px; font-size: 14px; }
    .sw-btn-trailer { padding: 10px 14px; font-size: 14px; }
    .sw-arrow { width: 36px; height: 36px; font-size: 20px; }
}

/* ===== SLIDER CARD ===== */
.slider-card-section { padding: 24px 0 8px; }
.sc-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; padding: 0 16px; max-width: 1400px; margin-left: auto; margin-right: auto; }
.sc-header h2 { font-size: 20px; font-weight: 700; }
.sc-arrows { display: flex; gap: 8px; }
.sc-arrow { width: 36px; height: 36px; background: var(--bg2); border: 1px solid var(--border); border-radius: 50%; color: var(--text); font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.sc-arrow:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.sc-viewport { overflow: hidden; padding: 0 16px; max-width: 1400px; margin: 0 auto; }
.sc-track { display: flex; gap: 12px; transition: transform .4s cubic-bezier(.25,.46,.45,.94); }

.sc-card { flex-shrink: 0; width: calc((100% - 64px) / 5); display: block; border-radius: var(--radius); overflow: hidden; background: var(--bg2); transition: transform .2s; }
.sc-card:hover { transform: translateY(-6px); }
.sc-poster { position: relative; aspect-ratio: 2/3; overflow: hidden; }
.sc-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.sc-card:hover .sc-poster img { transform: scale(1.06); }
.sc-card-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s; }
.sc-card:hover .sc-card-overlay { opacity: 1; }
.sc-play { width: 52px; height: 52px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #fff; }
.sc-type { position: absolute; top: 8px; left: 8px; font-size: 16px; }
.sc-info { padding: 10px 12px; }
.sc-info h3 { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px; }
.sc-meta { display: flex; gap: 8px; font-size: 11px; color: var(--text2); }

.sc-dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.sc-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--border); cursor: pointer; transition: all .2s; }
.sc-dot.active { background: var(--accent); width: 20px; border-radius: 3px; }

/* Responsive */
@media (max-width: 1200px) { .sc-card { width: calc((100% - 48px) / 4); } }
@media (max-width: 900px)  { .sc-card { width: calc((100% - 32px) / 3); } .sw-right { display: none; } .sw-title { font-size: 26px; } }
@media (max-width: 600px)  { .sc-card { width: calc((100% - 20px) / 2.4); } }
@media (max-width: 400px)  { .sc-card { width: calc((100% - 12px) / 2); } }

/* ===== CONTENT SECTIONS ===== */
.content-section { margin-bottom: 32px; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.section-header h2 { font-size: 18px; font-weight: 700; }
.section-header a { font-size: 12px; font-weight: 600; color: var(--text2); letter-spacing: .5px; text-transform: uppercase; padding: 5px 12px; border: 1px solid var(--border); border-radius: 20px; transition: all .15s; display: inline-flex; align-items: center; gap: 5px; }
.section-header a::after { content: '→'; font-size: 13px; }
.section-header a:hover { border-color: var(--accent); color: var(--accent); }

/* Load More Button */
.pagination-wrap { text-align: center; margin-top: 20px; }
.load-more-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 24px; background: var(--bg2); border: 1px solid var(--border);
    border-radius: 8px; color: var(--text); font-size: 14px; font-weight: 500;
    cursor: pointer; transition: all .2s;
}
.load-more-btn:hover { background: var(--bg3); border-color: var(--accent); color: var(--accent); }
.load-more-btn:disabled { opacity: .5; cursor: not-allowed; }

/* Infinite Scroll Loader */
.infinite-loader { padding: 20px; text-align: center; color: #666; font-size: 13px; }

/* Numbered Pagination */
.numbered-pagination { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.page-btn {
    min-width: 36px; height: 36px; padding: 0 10px;
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: 6px; color: var(--text2); font-size: 14px;
    cursor: pointer; transition: all .2s; display: inline-flex;
    align-items: center; justify-content: center;
}
.page-btn:hover { background: var(--bg3); border-color: var(--accent); color: var(--text); }
.page-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.page-btn.active:hover { background: var(--accent2); }
.page-prev, .page-next { font-size: 18px; font-weight: 700; }
.page-dots { color: #555; font-size: 14px; padding: 0 4px; }

/* ===== CONTENT GRID ===== */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}
/* Smart TV ve eski tarayıcılar için fallback */
@supports not (grid-template-columns: repeat(auto-fill, minmax(150px, 1fr))) {
    .content-grid {
        display: flex;
        flex-wrap: wrap;
        margin: -6px;
    }
    .content-card {
        width: calc(16.666% - 12px);
        margin: 6px;
        flex-shrink: 0;
    }
}
@media (max-width: 1200px) {
    @supports not (grid-template-columns: repeat(auto-fill, minmax(150px, 1fr))) {
        .content-card { width: calc(20% - 12px); }
    }
}
@media (max-width: 900px) {
    @supports not (grid-template-columns: repeat(auto-fill, minmax(150px, 1fr))) {
        .content-card { width: calc(25% - 12px); }
    }
}
@media (max-width: 768px) {
    .content-grid { 
        grid-template-columns: repeat(3, 1fr); 
        gap: 10px; 
    }
    @supports not (grid-template-columns: repeat(auto-fill, minmax(150px, 1fr))) {
        .content-card { width: calc(33.333% - 10px); margin: 5px; }
    }
}
@media (max-width: 480px) {
    .content-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    @supports not (grid-template-columns: repeat(auto-fill, minmax(150px, 1fr))) {
        .content-card { width: calc(50% - 10px); }
    }
}
@media (max-width: 360px) {
    .content-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 8px; 
    }
    @supports not (grid-template-columns: repeat(auto-fill, minmax(150px, 1fr))) {
        .content-card { width: calc(50% - 8px); margin: 4px; }
    }
}

/* ===== CARD ===== */
.content-card {
    display: block;
    position: relative;
    aspect-ratio: 2/3;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    background: #0d1117;
    transition: transform .25s, box-shadow .25s;
}
.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(0,0,0,.7);
}

/* Poster arka plan */
.cc-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center top;
    transition: transform .35s;
}
.content-card:hover .cc-bg { transform: scale(1.06); }

/* Alt gradient */
.cc-gradient {
    position: absolute; inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10,12,28,0)    40%,
        rgba(10,12,28,.55)  65%,
        rgba(10,12,28,.92)  85%,
        rgba(10,12,28,.98)  100%
    );
}

/* Üst rozetler */
.cc-top {
    position: absolute;
    top: 8px; left: 8px; right: 8px;
    display: flex; justify-content: space-between; align-items: flex-start;
    z-index: 2;
}
.cc-type-badge {
    display: inline-flex; align-items: center; gap: 3px;
    background: rgba(0,0,0,.55);
    color: rgba(255,255,255,.85); font-size: 10px; font-weight: 600;
    padding: 3px 7px; border-radius: 4px;
    backdrop-filter: blur(4px);
    max-width: 60%;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cc-rating {
    font-size: 11px; font-weight: 700; color: #f5c518;
    background: rgba(0,0,0,.55);
    padding: 2px 6px; border-radius: 4px;
    backdrop-filter: blur(4px);
}

/* Alt bilgi */
.cc-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 10px 10px 12px;
    z-index: 2;
}
.cc-info strong {
    display: block;
    font-size: 12px; font-weight: 700;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    margin-bottom: 2px;
    text-shadow: 0 1px 4px rgba(0,0,0,.9);
}
.cc-orig {
    display: block;
    font-size: 10px; color: rgba(255,255,255,.55);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    margin-bottom: 4px;
}
.cc-meta {
    display: flex; gap: 4px;
    font-size: 11px; color: rgba(255,255,255,.65);
    align-items: center;
}
.cc-rating-inline { color: #f5c518; font-weight: 700; font-size: 11px; }

/* Hover play */
.cc-hover {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity .2s;
    z-index: 3;
    padding-bottom: 50px;
}
.content-card:hover .cc-hover { opacity: 1; }
.cc-play {
    width: 44px; height: 44px;
    background: rgba(229,9,20,.9);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 16px rgba(229,9,20,.5);
}

/* ===== DETAIL PAGE ===== */
.detail-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; margin-bottom: 40px; }
.detail-poster img { width: 100%; border-radius: var(--radius); }
.detail-info { min-width: 0; overflow-wrap: break-word; word-break: break-word; }
.btn-fav { width: 100%; margin-top: 12px; padding: 12px; background: var(--bg2); border: 1px solid var(--border); border-radius: 8px; color: var(--text2); cursor: pointer; font-size: 14px; transition: all .2s; min-height: 44px; }
.btn-fav.active { background: rgba(229,9,20,.15); border-color: var(--accent); color: var(--accent); }
.detail-info h1 { font-size: 32px; font-weight: 800; margin-bottom: 6px; }
.original-title { color: var(--text2); font-size: 16px; margin-bottom: 12px; }
.meta-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.badge { display: inline-block; padding: 4px 10px; background: var(--bg2); border: 1px solid var(--border); border-radius: 6px; font-size: 13px; }
.badge-cat { background: rgba(229,9,20,.1); border-color: rgba(229,9,20,.3); color: var(--accent); }
.description { color: var(--text2); line-height: 1.7; margin-bottom: 20px; }
.btn-trailer { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; background: var(--bg2); border: 1px solid var(--border); border-radius: 8px; font-size: 14px; margin-top: 12px; transition: all .2s; cursor: pointer; color: var(--text); font-family: inherit; min-height: 44px; }
.btn-trailer:hover { border-color: var(--accent); color: var(--accent); }
.btn-watchlist { display: inline-flex; align-items: center; gap: 7px; padding: 10px 20px; background: transparent; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; margin-top: 12px; cursor: pointer; color: var(--text2); font-family: inherit; transition: all .15s; min-height: 44px; }
.btn-watchlist:hover { border-color: #60a5fa; color: #60a5fa; }
.btn-watchlist.active { background: rgba(96,165,250,.1); border-color: #60a5fa; color: #60a5fa; }
.btn-watched { display: inline-flex; align-items: center; gap: 7px; padding: 10px 20px; background: transparent; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; margin-top: 12px; cursor: pointer; color: var(--text2); font-family: inherit; transition: all .15s; min-height: 44px; }
.btn-watched:hover { border-color: #4ade80; color: #4ade80; }
.btn-watched.active { background: rgba(74,222,128,.1); border-color: #4ade80; color: #4ade80; }

@media (max-width: 768px) {
    /* Mobilde poster üstte ortalı */
    .detail-poster { display: flex; flex-direction: column; align-items: center; gap: 10px; }
    .detail-poster img { width: 140px; border-radius: 10px; }
    .detail-poster .btn-fav { width: 140px; }
    .detail-poster .anime-badge { width: 140px; text-align: center; }
    /* Info taşmasın */
    .detail-info { min-width: 0; overflow: hidden; }
    .detail-info h1 { font-size: 20px; }
    .original-title { font-size: 13px; }
    /* Crew taşmasın */
    .crew-item { max-width: 100%; }
    .crew-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 180px; display: inline-block; vertical-align: bottom; }
}

/* ===== PLAYER ===== */
.player-section { margin-bottom: 20px; }
.player-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.player-tab { padding: 8px 16px; background: var(--bg2); border: 1px solid var(--border); border-radius: 8px; color: var(--text2); cursor: pointer; font-size: 13px; transition: all .2s; min-height: 40px; }
.player-tab.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.quality { font-size: 10px; background: rgba(255,255,255,.1); padding: 1px 5px; border-radius: 3px; margin-left: 4px; }
.lang { font-size: 10px; background: rgba(34,197,94,.2); color: var(--green); padding: 1px 5px; border-radius: 3px; margin-left: 2px; }
.player-wrapper { position: relative; padding-bottom: 56.25%; background: #000; border-radius: var(--radius); overflow: hidden; }
.player-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.no-player { padding: 40px; text-align: center; background: var(--bg2); border-radius: var(--radius); color: var(--text2); }

/* ===== SEASONS ===== */
.seasons-section { margin-bottom: 40px; }
.season-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.season-tab { padding: 8px 20px; background: var(--bg2); border: 1px solid var(--border); border-radius: 8px; color: var(--text2); cursor: pointer; font-size: 14px; transition: all .2s; min-height: 44px; }
.season-tab.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.episode-list { display: none; }
.episode-list.active { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }

/* Son satır eksik hücreleri gizle */
.episode-list.active::after { content: ''; background: var(--bg); }

.episode-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: var(--bg);
    transition: background .15s;
    text-decoration: none;
    color: var(--text);
    min-width: 0;
    min-height: 44px;
}
.episode-item:hover { background: var(--bg2); }

.ep-num {
    font-size: 11px;
    font-weight: 700;
    color: var(--text2);
    min-width: 30px;
    flex-shrink: 0;
    letter-spacing: .3px;
}
.episode-item:hover .ep-num { color: var(--accent); }

.ep-thumb {
    width: 60px;
    flex-shrink: 0;
    aspect-ratio: 16/9;
    border-radius: 3px;
    overflow: hidden;
    background: var(--bg3);
    position: relative;
}
.ep-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ep-no-thumb {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; color: var(--text2);
    background: var(--bg2);
}
.ep-thumb-play {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(229,9,20,.7);
    opacity: 0; transition: opacity .15s;
    font-size: 10px; color: #fff;
}
.episode-item:hover .ep-thumb-play { opacity: 1; }

.ep-info { flex: 1; min-width: 0; }
.ep-info strong {
    display: block;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    margin-bottom: 1px;
}
.ep-views { font-size: 10px; color: var(--text2); }

@media (max-width: 768px) {
    .episode-list.active { grid-template-columns: repeat(2, 1fr); }
    .ep-thumb { width: 52px; }
}
@media (max-width: 480px) {
    .episode-list.active { grid-template-columns: 1fr; }
    .ep-thumb { width: 64px; }
}

/* ===== EPISODE PAGE ===== */
.breadcrumb { font-size: 13px; color: var(--text2); margin-bottom: 16px; }
.breadcrumb a { color: var(--accent); }
.episode-title { font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.episode-nav { display: flex; gap: 12px; margin: 20px 0; flex-wrap: wrap; }
.nav-btn { padding: 10px 20px; background: var(--bg2); border: 1px solid var(--border); border-radius: 8px; font-size: 14px; transition: all .2s; min-height: 44px; display: inline-flex; align-items: center; }
.nav-btn:hover { border-color: var(--accent); color: var(--accent); }
.nav-btn.next { background: var(--accent); border-color: var(--accent); color: #fff; margin-left: auto; }
.episode-desc { background: var(--bg2); border-radius: var(--radius); padding: 16px; color: var(--text2); font-size: 14px; }

/* ===== COMMENTS ===== */
.comments-section { margin-bottom: 40px; }
.comments-section h3 { font-size: 18px; margin-bottom: 16px; }
.comment-form { background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 16px; }
.comment-form .guest-name-input { width: 100%; padding: 12px; background: transparent; border: none; border-bottom: 1px solid var(--border); color: var(--text); font-size: 14px; outline: none; margin-bottom: 0; box-sizing: border-box; }
.comment-form .guest-name-input:focus { border-bottom-color: var(--accent); }
.comment-form .guest-name-input::placeholder { color: var(--text2); }
.comment-form textarea { width: 100%; padding: 12px; background: transparent; border: none; color: var(--text); font-size: 14px; resize: vertical; outline: none; min-height: 90px; box-sizing: border-box; }
.comment-form textarea:focus { outline: none; }
.comment-form-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; gap: 10px; border-top: 1px solid var(--border); padding-top: 12px; }
.spoiler-check { display: flex; align-items: center; gap: 5px; cursor: pointer; font-size: 12px; color: var(--text2); user-select: none; padding: 6px 10px; border: 1px solid var(--border); border-radius: 8px; transition: all .15s; }
.spoiler-check:hover { border-color: #f59e0b; color: #f59e0b; }
.spoiler-check:has(input:checked) { background: rgba(245,158,11,.1); border-color: rgba(245,158,11,.4); color: #f59e0b; }
.spoiler-check input { accent-color: #f59e0b; width: 13px; height: 13px; cursor: pointer; }
.spoiler-check span { transition: color .2s; }
.spoiler-check:has(input:checked) span { color: #f59e0b; }
.comment-form button { padding: 10px 24px; background: var(--accent); color: #fff; border: none; border-radius: 8px; cursor: pointer; font-size: 14px; font-weight: 600; }
.comments-list { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.comment-item { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; }
.comment-item.is-spoiler { border-color: rgba(245,158,11,.3); }
.comment-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: nowrap; }
.comment-header strong { font-size: 14px; flex-shrink: 0; }
.comment-time { font-size: 12px; color: var(--text2); flex-shrink: 0; }
.spoiler-badge { font-size: 11px; font-weight: 600; padding: 2px 6px; background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.3); color: #f59e0b; border-radius: 4px; flex-shrink: 0; }
.comment-item p { font-size: 14px; color: var(--text2); line-height: 1.6; }

/* Spoiler body */
.spoiler-body { position: relative; }
.spoiler-text { font-size: 14px; color: var(--text2); line-height: 1.6; filter: blur(6px); user-select: none; transition: filter .3s; }
.spoiler-cover { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(245,158,11,.08); border: 1px dashed rgba(245,158,11,.3); border-radius: 6px; cursor: pointer; z-index: 1; transition: background .2s; }
.spoiler-cover:hover { background: rgba(245,158,11,.15); }
.spoiler-cover span { font-size: 13px; font-weight: 600; color: #f59e0b; }
.spoiler-body.revealed .spoiler-cover { display: none; }
.spoiler-body.revealed .spoiler-text { filter: none; user-select: auto; }

.login-prompt { color: var(--text2); font-size: 14px; }
.login-prompt a { color: var(--accent); }

/* ===== COMMENT VOTES ===== */
.comment-votes { margin-left: auto; display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.cv-btn {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 9px; border-radius: 6px; font-size: 12px; font-weight: 600;
    background: rgba(255,255,255,.04); border: 1px solid var(--border);
    color: var(--text2); cursor: pointer; transition: all .15s; line-height: 1;
}
.cv-btn:hover:not(:disabled) { background: rgba(255,255,255,.08); border-color: #555; color: var(--text); }
.cv-like.active  { background: rgba(34,197,94,.12); border-color: rgba(34,197,94,.35); color: #4ade80; }
.cv-dislike.active { background: rgba(229,9,20,.1); border-color: rgba(229,9,20,.3); color: #f87171; }
.cv-btn:disabled { opacity: .35; cursor: default; }
.cv-count { min-width: 8px; }

/* ===== AUTH ===== */
.auth-card { max-width: 400px; margin: 40px auto; background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 32px; }
.auth-card h1 { font-size: 24px; margin-bottom: 24px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; color: var(--text2); margin-bottom: 6px; }
.form-group input { width: 100%; padding: 10px 14px; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-size: 14px; outline: none; }
.form-group input:focus { border-color: var(--accent); }
.btn-submit { width: 100%; padding: 12px; background: var(--accent); color: #fff; border: none; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; margin-top: 4px; }
.btn-submit:hover { background: var(--accent2); }
.auth-link { text-align: center; margin-top: 16px; font-size: 14px; color: var(--text2); }
.auth-link a { color: var(--accent); }
.alert { padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 16px; }
.alert-error { background: rgba(229,9,20,.15); border: 1px solid rgba(229,9,20,.3); color: #ff6b6b; }
.alert-success { background: rgba(34,197,94,.15); border: 1px solid rgba(34,197,94,.3); color: #4ade80; }

/* ===== PROFILE ===== */
.profile-layout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; }
.profile-sidebar { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; height: fit-content; }
.profile-avatar { text-align: center; margin-bottom: 16px; }
.avatar-circle { width: 72px; height: 72px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; margin: 0 auto; }
.profile-sidebar h2 { text-align: center; font-size: 18px; margin-bottom: 4px; }
.profile-email, .profile-date { text-align: center; font-size: 13px; color: var(--text2); }
.profile-nav { margin-top: 20px; display: flex; flex-direction: column; gap: 4px; }
.profile-nav a { padding: 10px 12px; border-radius: 8px; font-size: 14px; color: var(--text2); transition: all .2s; min-height: 44px; display: flex; align-items: center; }
.profile-nav a:hover, .profile-nav a.active { background: var(--bg3); color: var(--text); }
.logout-link { color: var(--accent) !important; }
.profile-content h2 { font-size: 20px; margin-bottom: 16px; }
.settings-form { max-width: 400px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--text2); font-size: 16px; }

@media (max-width: 768px) {
    .profile-layout { grid-template-columns: 1fr; }
}

/* ===== CATEGORY / SEARCH ===== */
.page-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.page-header h1 { font-size: 22px; font-weight: 700; }
.count { font-size: 14px; color: var(--text2); background: var(--bg2); padding: 4px 10px; border-radius: 20px; }
.filters { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.filter-btn { padding: 8px 16px; background: var(--bg2); border: 1px solid var(--border); border-radius: 8px; font-size: 14px; color: var(--text2); transition: all .2s; min-height: 40px; }
.filter-btn.active, .filter-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.search-form-page { display: flex; gap: 8px; margin-bottom: 24px; }
.search-form-page input { flex: 1; padding: 12px 16px; background: var(--bg2); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-size: 15px; outline: none; }
.search-form-page input:focus { border-color: var(--accent); }
.search-form-page button { padding: 12px 24px; background: var(--accent); color: #fff; border: none; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; min-height: 48px; }

/* ===== PAGINATION ===== */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.page-btn { padding: 8px 14px; background: var(--bg2); border: 1px solid var(--border); border-radius: 8px; font-size: 14px; color: var(--text2); transition: all .2s; }
.page-btn:hover { border-color: var(--accent); color: var(--accent); }
.page-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ===== FOOTER ===== */
.site-footer { background: var(--bg2); border-top: 1px solid var(--border); margin-top: 60px; }
.site-footer.no-top-margin { margin-top: 0; }

/* Anasayfa hakkında bloğu (footer dışında, sadece index.php) */
.footer-about { background: var(--bg2); border-top: 1px solid var(--border); margin-top: 60px; margin-bottom: 0; }
.footer-about-inner { max-width: 1400px; margin: 0 auto; padding: 48px 16px 40px; }
.footer-about-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.footer-about-site-name { font-size: 22px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 8px; }
.footer-about-site-name svg { color: var(--accent); }
.footer-about-text { font-size: 14px; line-height: 1.9; color: #b8b8b8; max-height: 105px; overflow: hidden; position: relative; transition: max-height .4s ease; letter-spacing: 0.2px; }
.footer-about-text::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60px; background: linear-gradient(to bottom, transparent 0%, rgba(26,26,46,0.7) 50%, var(--bg2) 100%); pointer-events: none; transition: opacity .3s; }
.footer-about-text.expanded { max-height: 2000px; }
.footer-about-text.expanded::after { opacity: 0; }
.footer-about-toggle { display: inline-block; margin-top: 18px; background: rgba(229,9,20,.08); border: 1px solid rgba(229,9,20,.3); color: var(--accent); font-size: 13px; font-weight: 600; cursor: pointer; padding: 8px 20px; border-radius: 8px; transition: all .2s; }
.footer-about-toggle:hover { background: rgba(229,9,20,.15); border-color: var(--accent); }

/* SEO metin bloğu (tüm sayfalarda footer içinde) */
.footer-seo { border-bottom: 1px solid var(--border); }
.footer-seo-inner { max-width: 1400px; margin: 0 auto; padding: 28px 16px; font-size: 13px; line-height: 1.85; color: #999; letter-spacing: 0.2px; }
.footer-seo-inner a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(229,9,20,.3); transition: all .15s; }
.footer-seo-inner a:hover { color: var(--accent2); border-bottom-color: var(--accent2); }
.footer-seo-inner p { margin-bottom: 12px; }
.footer-seo-inner p:last-child { margin-bottom: 0; }

.footer-inner { max-width: 1400px; margin: 0 auto; padding: 16px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-copy { font-size: 13px; color: var(--text2); }
@media (max-width: 768px) {
    .footer-about-inner { padding: 32px 16px 28px; }
    .footer-inner { padding: 16px 12px; }
    .footer-seo-inner { padding: 24px 16px; }
}
@media (max-width: 480px) {
    .footer-inner { justify-content: center; text-align: center; }
}

/* ===== COLLECTIONS ===== */
.collections-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.collection-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/7; display: block; }
.collection-card-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .3s; }
.collection-card:hover .collection-card-bg { transform: scale(1.05); }
.collection-card-empty { background: var(--bg2); }
.collection-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85) 40%, rgba(0,0,0,.2)); display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; }
.collection-card-overlay h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.collection-card-overlay span { font-size: 13px; color: rgba(255,255,255,.6); }

/* Koleksiyon detay */
.collection-hero { position: relative; background-size: cover; background-position: center; border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; min-height: 240px; }
.collection-hero-overlay { background: linear-gradient(to right, rgba(15,15,26,.97) 50%, rgba(15,15,26,.5)); padding: 40px; }
.collection-hero-inner { display: flex; gap: 28px; align-items: flex-start; max-width: 800px; }
.collection-poster { width: 120px; flex-shrink: 0; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.5); }
.collection-label { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); margin-bottom: 8px; }
.collection-meta h1 { font-size: 28px; font-weight: 800; margin-bottom: 10px; }
.collection-meta p { color: var(--text2); font-size: 14px; line-height: 1.6; margin-bottom: 12px; }
.collection-count { display: inline-block; padding: 4px 12px; background: var(--bg2); border: 1px solid var(--border); border-radius: 20px; font-size: 13px; color: var(--text2); }

/* Film listesi */
.collection-films { display: flex; flex-direction: column; gap: 8px; }
.collection-film-row { display: flex; align-items: center; gap: 16px; padding: 12px 16px; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .2s; }
.collection-film-row:hover { border-color: var(--accent); }
.col-num { width: 28px; text-align: center; font-size: 18px; font-weight: 800; color: var(--border); flex-shrink: 0; }
.collection-film-row img { width: 52px; height: 74px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.col-info { flex: 1; min-width: 0; }
.col-info strong { display: block; font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.col-original { font-size: 12px; color: var(--text2); display: block; margin-bottom: 6px; }
.col-meta { display: flex; gap: 12px; font-size: 12px; color: var(--text2); margin-bottom: 6px; }
.col-desc { font-size: 13px; color: var(--text2); line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.col-arrow { color: var(--text2); font-size: 12px; flex-shrink: 0; transition: color .2s; }
.collection-film-row:hover .col-arrow { color: var(--accent); }

@media (max-width: 600px) {
    .collection-hero-inner { flex-direction: column; }
    .collection-poster { width: 80px; }
    .col-desc { display: none; }
}

/* ===== TRAILER MODAL ===== */
.trailer-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.trailer-modal.open { display: flex; }

.trailer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
    animation: fadeIn .25s ease;
}

.trailer-box {
    position: relative;
    width: 100%;
    max-width: 960px;
    z-index: 1;
    animation: slideUp .3s cubic-bezier(.16,1,.3,1);
}

.trailer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 12px;
}

.trailer-title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trailer-close {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    flex-shrink: 0;
}
.trailer-close:hover { background: rgba(229,9,20,.7); border-color: transparent; }

.trailer-player {
    position: relative;
    padding-bottom: 56.25%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.06);
}
.trailer-player iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(24px) scale(.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===== CAST & CREW ===== */
.crew-section { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.crew-item { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; background: var(--bg2); border: 1px solid var(--border); border-radius: 6px; font-size: 13px; text-decoration: none; color: inherit; transition: border-color .2s; }
.crew-item:hover { border-color: var(--accent); color: var(--accent); }
.crew-job { color: var(--text2); font-size: 11px; }
.crew-job::after { content: ':'; margin-right: 2px; }
.crew-name { font-weight: 600; color: inherit; }

.cast-section { margin-top: 20px; }
.cast-section h4 { font-size: 14px; color: var(--text2); margin-bottom: 12px; text-transform: uppercase; letter-spacing: .5px; }
.cast-list { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.cast-list::-webkit-scrollbar { height: 4px; }
.cast-list::-webkit-scrollbar-track { background: transparent; }
.cast-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.cast-item { flex-shrink: 0; width: 80px; text-align: center; text-decoration: none; color: inherit; transition: opacity .2s; }
.cast-item:hover { opacity: .8; }
.cast-item img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 6px; border: 2px solid var(--border); transition: border-color .2s; }
.cast-item:hover img { border-color: var(--accent); }
.cast-no-photo { width: 64px; height: 64px; border-radius: 50%; background: var(--bg2); border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 24px; margin: 0 auto 6px; }
.cast-info strong { display: block; font-size: 11px; font-weight: 600; line-height: 1.3; }
.cast-info span { display: block; font-size: 10px; color: var(--text2); margin-top: 2px; line-height: 1.3; }

/* ===== KİŞİ SAYFASI ===== */
.person-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; }
.person-sidebar { min-width: 0; }
.person-photo { width: 100%; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.5); }
.person-no-photo { width: 100%; aspect-ratio: 2/3; background: var(--bg2); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 80px; }
.person-name { font-size: 22px; font-weight: 800; margin: 16px 0 6px; }
.person-dept { display: inline-block; padding: 3px 10px; background: rgba(229,9,20,.15); border: 1px solid rgba(229,9,20,.3); color: var(--accent); border-radius: 4px; font-size: 12px; font-weight: 600; margin-bottom: 12px; }
.person-meta-item { margin-bottom: 10px; font-size: 13px; }
.person-meta-label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--text2); margin-bottom: 2px; }
.person-bio { margin-top: 16px; }
.bio-collapsed { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; color: var(--text2); line-height: 1.7; }
.bio-toggle { background: none; border: none; color: var(--accent); font-size: 13px; cursor: pointer; padding: 4px 0; }
.person-filmography-title { font-size: 18px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }

@media (max-width: 768px) {
    .person-layout { grid-template-columns: 1fr; }
    .person-photo, .person-no-photo { max-width: 160px; }
}

/* ===== PLATFORMS ===== */
.platforms { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.platforms-label { font-size: 13px; color: var(--text2); width: 100%; }
.platform-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; background: var(--bg2); border: 1px solid var(--border); border-radius: 8px; font-size: 13px; color: var(--text); }
.platform-badge img { width: 20px; height: 20px; border-radius: 4px; object-fit: cover; }

/* Platform listesi sayfası */
.platform-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; margin-top: 8px; }
.platform-card { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 16px; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); text-align: center; transition: border-color .2s, transform .2s; }
.platform-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.platform-card img { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; }
.platform-icon { font-size: 48px; }
.platform-card-info strong { display: block; font-size: 14px; font-weight: 600; }
.platform-card-info span { font-size: 12px; color: var(--text2); margin-top: 2px; display: block; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .detail-layout { grid-template-columns: 200px 1fr; gap: 20px; }
}
@media (max-width: 768px) {
    .detail-layout { grid-template-columns: 1fr !important; gap: 16px; }
}

/* ===== YIL SEÇİCİ ===== */
.year-selector { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; }
.year-btn { display: flex; flex-direction: column; align-items: center; padding: 8px 14px; background: var(--bg2); border: 1px solid var(--border); border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--text2); transition: all .2s; line-height: 1.2; }
.year-btn small { font-size: 10px; font-weight: 400; opacity: .6; }
.year-btn.active, .year-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.year-btn.active small { opacity: .8; }

/* Yıl dropdown grid */
.dropdown-menu--years { display: none; grid-template-columns: repeat(4, 1fr); min-width: 220px; }
.nav-dropdown:hover .dropdown-menu--years { display: grid; }

/* ===== LİSTELEME SAYFASI (filmler/diziler/animeler) ===== */
.listing-header { margin-bottom: 20px; }
.listing-header h1 { font-size: clamp(20px, 5vw, 28px); font-weight: 800; display: flex; align-items: center; gap: 10px; }
.listing-count { font-size: 14px; font-weight: 600; color: var(--accent); background: rgba(229,9,20,.12); border: 1px solid rgba(229,9,20,.25); padding: 3px 10px; border-radius: 20px; }

/* Araç çubuğu */
.listing-toolbar { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }

/* Dropdown */
.lt-dropdown { position: relative; }
.lt-drop-btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 9px 14px; background: var(--bg2); border: 1px solid var(--border);
    border-radius: 8px; font-size: 14px; color: var(--text); cursor: pointer;
    font-family: inherit; transition: border-color .2s;
    white-space: nowrap; min-height: 44px;
}
.lt-drop-btn:hover, .lt-dropdown.open .lt-drop-btn { border-color: var(--accent); color: var(--accent); }
.lt-drop-menu {
    display: none; position: absolute; top: calc(100% + 6px); left: 0;
    background: var(--bg2); border: 1px solid var(--border); border-radius: 10px;
    padding: 8px; min-width: 200px; z-index: 300;
    box-shadow: 0 8px 32px rgba(0,0,0,.6);
}
.lt-dropdown.open .lt-drop-menu { display: block; }
.lt-drop-section { margin-bottom: 4px; }
.lt-drop-label { display: block; font-size: 11px; font-weight: 700; color: var(--text2); text-transform: uppercase; letter-spacing: .6px; padding: 4px 10px 6px; }
.lt-drop-item {
    display: block; padding: 8px 12px; font-size: 13px; border-radius: 6px;
    color: var(--text2); transition: all .15s;
}
.lt-drop-item:hover { background: var(--bg3); color: var(--text); }
.lt-drop-item.active { color: var(--accent); background: rgba(229,9,20,.08); }

/* Kategori etiketleri */
.listing-cats-wrap { position: relative; display: flex; align-items: center; gap: 6px; margin-bottom: 20px; }
.listing-cats-wrap--special { margin-top: -12px; }
.lc-label { flex-shrink: 0; font-size: 11px; font-weight: 700; color: var(--text2); text-transform: uppercase; letter-spacing: .6px; white-space: nowrap; }
.lc-arrow {
    flex-shrink: 0; width: 32px; height: 32px;
    background: var(--bg2); border: 1px solid var(--border); border-radius: 50%;
    color: var(--text2); cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all .2s; opacity: 0; pointer-events: none;
}
.lc-arrow:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.listing-cats {
    display: flex; gap: 8px; flex: 1;
    overflow-x: auto; padding-bottom: 2px;
    scrollbar-width: none;
}
.listing-cats::-webkit-scrollbar { display: none; }
.listing-cat {
    flex-shrink: 0; padding: 6px 14px;
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: 20px; font-size: 13px; color: var(--text2);
    transition: all .2s; white-space: nowrap;
}
.listing-cat:hover { border-color: var(--text2); color: var(--text); }
.listing-cat.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.listing-cat--special { border-color: rgba(245,158,11,.3); color: #f59e0b; background: rgba(245,158,11,.06); }
.listing-cat--special:hover { border-color: #f59e0b; background: rgba(245,158,11,.12); color: #f59e0b; }
.listing-cat--special.active { background: #f59e0b; border-color: #f59e0b; color: #000; }

/* ===== FİLTRE BUTONU ===== */
.lt-filter-btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 9px 14px; background: var(--bg2); border: 1px solid var(--border);
    border-radius: 8px; font-size: 14px; color: var(--text); cursor: pointer;
    font-family: inherit; transition: border-color .2s; position: relative;
    min-height: 44px;
}
.lt-filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.lt-filter-badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 18px; height: 18px; background: var(--accent); color: #fff;
    border-radius: 50%; font-size: 11px; font-weight: 700; line-height: 1;
}
.lt-clear-btn {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 9px 12px; font-size: 13px; color: var(--text2);
    border: 1px solid var(--border); border-radius: 8px; transition: all .2s;
    min-height: 44px;
}
.lt-clear-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ===== FİLTRE MODALİ ===== */
.fmodal-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,.7); z-index: 900; backdrop-filter: blur(4px);
}
.fmodal-overlay.open { display: block; }
.fmodal {
    display: none; position: fixed; top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(.96);
    width: min(600px, 94vw); max-height: 85vh;
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: 14px; z-index: 901; flex-direction: column;
    transition: transform .2s, opacity .2s; opacity: 0;
}
.fmodal.open { display: flex; transform: translate(-50%,-50%) scale(1); opacity: 1; }
.fmodal-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px 16px; border-bottom: 1px solid var(--border);
    font-size: 20px; font-weight: 700; flex-shrink: 0;
}
.fmodal-close {
    background: none; border: none; color: var(--text2); cursor: pointer;
    padding: 4px; border-radius: 6px; transition: color .2s;
}
.fmodal-close:hover { color: var(--text); }
.fmodal-body { padding: 20px 24px; overflow-y: auto; flex: 1; }
.fmodal-section { margin-bottom: 24px; }
.fmodal-section:last-child { margin-bottom: 0; }
.fmodal-label {
    font-size: 13px; font-weight: 700; color: var(--text2);
    text-transform: uppercase; letter-spacing: .6px;
    margin-bottom: 12px; display: flex; align-items: center; gap: 10px;
}
.fmodal-year-display { font-size: 13px; font-weight: 600; color: var(--accent); text-transform: none; letter-spacing: 0; }
.fmodal-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip {
    padding: 6px 14px; background: var(--bg3); border: 1px solid var(--border);
    border-radius: 20px; font-size: 13px; color: var(--text2);
    cursor: pointer; transition: all .15s; font-family: inherit;
}
.fchip:hover { border-color: var(--text2); color: var(--text); }
.fchip.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Range slider */
.frange-wrap { position: relative; height: 36px; display: flex; align-items: center; margin-bottom: 6px; }
.frange-track {
    position: absolute; left: 0; right: 0; height: 4px;
    background: var(--border); border-radius: 2px; pointer-events: none;
}
.frange-fill { position: absolute; height: 100%; background: var(--accent); border-radius: 2px; }
.frange {
    position: absolute; width: 100%; height: 4px;
    -webkit-appearance: none; appearance: none;
    background: transparent; outline: none; pointer-events: none;
}
.frange::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--accent); border: 2px solid #fff;
    cursor: pointer; pointer-events: all;
    box-shadow: 0 2px 6px rgba(229,9,20,.4);
    transition: transform .15s;
}
.frange::-webkit-slider-thumb:hover { transform: scale(1.2); }
.frange::-moz-range-thumb {
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--accent); border: 2px solid #fff;
    cursor: pointer; pointer-events: all;
}
.frange-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--text2); }

/* Footer */
.fmodal-foot {
    display: flex; gap: 10px; padding: 16px 24px;
    border-top: 1px solid var(--border); flex-shrink: 0;
}
.fmodal-reset {
    flex: 1; padding: 12px; background: transparent; border: 1px solid var(--border);
    border-radius: 8px; color: var(--text2); font-size: 15px; cursor: pointer;
    font-family: inherit; transition: all .2s;
}
.fmodal-reset:hover { border-color: var(--text); color: var(--text); }
.fmodal-apply {
    flex: 2; padding: 12px; background: var(--accent); border: none;
    border-radius: 8px; color: #fff; font-size: 15px; font-weight: 700;
    cursor: pointer; font-family: inherit; transition: background .2s;
}
.fmodal-apply:hover { background: var(--accent2); }

/* ===== MOBİL GENEL İYİLEŞTİRMELER ===== */
@media (max-width: 768px) {
    /* Yorum formu */
    .comment-form-footer { flex-wrap: wrap; }
    .comment-form button { width: 100%; justify-content: center; }

    /* Auth kart */
    .auth-card { margin: 20px auto; padding: 24px 16px; }

    /* Koleksiyon hero */
    .collection-hero-overlay { padding: 20px 16px; }
    .collection-hero-inner { flex-direction: column; }
    .collection-poster { width: 80px; }

    /* Yıl seçici */
    .year-selector { gap: 4px; }
    .year-btn { padding: 7px 10px; font-size: 13px; }

    /* Pagination */
    .pagination { gap: 4px; }
    .page-btn { padding: 8px 10px; font-size: 13px; }

    /* Kişi sayfası */
    .person-layout { grid-template-columns: 1fr; }
    .person-photo, .person-no-photo { max-width: 160px; }

    /* Platform grid */
    .platform-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }

    /* Koleksiyon grid */
    .collections-grid { grid-template-columns: 1fr; }

    /* Footer */
    .site-footer { margin-top: 32px; }
}

@media (max-width: 480px) {
    /* Bölüm başlıkları */
    .section-header h2 { font-size: 16px; }
    .section-header a { font-size: 13px; }

    /* Player tab'ları scroll */
    .player-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
    .player-tabs::-webkit-scrollbar { display: none; }
    .player-tab { flex-shrink: 0; }

    /* Sezon tab'ları scroll */
    .season-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
    .season-tabs::-webkit-scrollbar { display: none; }
    .season-tab { flex-shrink: 0; }

    /* Filtre modal tam ekran */
    .fmodal { width: 100%; max-height: 90vh; border-radius: 16px 16px 0 0; top: auto; bottom: 0; left: 0; right: 0; transform: none; }
    .fmodal.open { transform: none; top: auto; }
}

/* ===== BOTTOM NAV DRAWER ===== */
#bnDrawer { display: none; }
#bnDrawer.open { display: block; }

.bnd-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 400;
    animation: fadeIn .2s ease;
}

.bnd-panel {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-radius: 20px 20px 0 0;
    z-index: 401;
    max-height: 80vh;
    overflow-y: auto;
    padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
    animation: slideUp .28s cubic-bezier(.16,1,.3,1);
}

.bnd-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px 12px;
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0;
    background: var(--bg2);
    z-index: 1;
}
.bnd-title { font-size: 16px; font-weight: 700; }
.bnd-close {
    width: 32px; height: 32px;
    background: var(--bg3); border: none; border-radius: 50%;
    color: var(--text2); cursor: pointer; font-size: 14px;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s;
}
.bnd-close:hover { background: var(--border); }

.bnd-body { padding: 8px 0 8px; }

.bnd-item {
    display: flex; align-items: center; gap: 12px;
    padding: 13px 20px;
    font-size: 15px; color: var(--text2);
    text-decoration: none;
    transition: background .15s, color .15s;
    min-height: 48px;
}
.bnd-item:hover, .bnd-item:active { background: var(--bg3); color: var(--text); }
.bnd-item svg { flex-shrink: 0; }
.bnd-logout { color: var(--accent); }

.bnd-divider { height: 1px; background: var(--border); margin: 6px 0; }

.bnd-section {
    display: block;
    padding: 8px 20px 6px;
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .8px;
    color: var(--text2);
}

.bnd-years {
    display: flex; flex-wrap: wrap; gap: 6px;
    padding: 4px 20px 8px;
}
.bnd-year {
    padding: 6px 12px;
    background: var(--bg3); border: 1px solid var(--border);
    border-radius: 6px; font-size: 13px; color: var(--text2);
    text-decoration: none; transition: all .15s;
}
.bnd-year:hover { border-color: var(--accent); color: var(--accent); }

/* ===== LİSTELEME SAYFA HERO BAŞLIĞI ===== */
.listing-page-hero {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 28px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 28px;
}
.lph-accent {
    width: 4px;
    min-height: 48px;
    background: var(--accent);
    border-radius: 2px;
    flex-shrink: 0;
    margin-top: 2px;
}
.lph-content h1 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -.3px;
}
.lph-content p {
    font-size: 14px;
    color: var(--text2);
    line-height: 1.6;
    max-width: 640px;
}
@media (max-width: 768px) {
    .listing-page-hero { padding: 16px; }
    .lph-content h1 { font-size: 20px; }
}

/* ===== PLAYER TOKEN LOADING SPINNER ===== */
@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
