/* Dizipal1050 Klonu - Ana Stil Dosyası */

/* CSS Variables */
:root {
    --bg-color: #0f1016;
    --card-bg: #1a1f3a;
    --border-color: #2a2f4a;
    --text-primary: #ffffff;
    --text-secondary: #8892b0;
    --accent-color: #ff6b35;
}

/* Genel Stiller */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0f1016 !important;
    color: #fff !important;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* RESPONSIVE SITE WRAPPER */
.page-wrapper {
    padding: 0;
    min-height: 100vh;
}

.site-wrapper {
    width: 100%;
    margin: 0 auto;
    background-color: #161821;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 900;
}

/* PageSkin Reklam Alanları */
.pageskin-left, .pageskin-right {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 180px;
    height: 600px;
    background: rgba(26, 28, 42, 0.9);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    text-align: center;
    z-index: 1000;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    color: #8e8e8e;
    font-size: 14px;
}

.pageskin-left {
    left: 10px;
}

.pageskin-right {
    right: 10px;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 900;
}

/* Header container özel ayarları */
.site-header .container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    max-width: 1800px;
    margin: 0 auto;
}

/* Forum sayfası için özel container ayarları */
body.forum-page .container {
    max-width: 2000px !important;
    width: 2000px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

a:hover {
    color: #e50914;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Utility Classes */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}


/* Header Stiller */

.site-header {
    background-color: #161821;
    padding: 15px 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 2147482000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.header-content {
    max-width: 1800px;
    margin: 0 auto;
    width: 100%;
}
.site-header.shrunk {
    height: 48px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    margin-right: 30px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: #e50914;
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin-right: 16px;
    position: relative;
}

.main-nav ul li.dropdown {
    position: relative;
}

.auth-buttons {
    display: flex;
    align-items: center;
}

.login-button {
    background-color: #e50914;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    box-shadow: none; /* Gölge kaldırıldı */
}

.login-button:hover {
    background-color: #b8070f;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: none; /* Hover durumunda da gölge yok */
}

.main-nav ul li a {
    font-size: 15px;
    font-weight: 500;
    padding: 10px 0;
    display: block;
    position: relative;
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e50914;
    transform: scaleX(1);
    transition: transform 0.3s ease;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e50914;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.main-nav ul li a:hover::after {
    transform: scaleX(1);
}


/* Dropdown Menü - Düzeltilmiş */

.nav-item.dropdown .dropdown-content {
    display: none;
    position: absolute;
    background-color: #1f2130;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 8px;
    top: calc(100% + 5px);
    left: 0;
    max-height: 400px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.nav-item.dropdown .dropdown-content a {
    padding: 10px 15px;
    display: block;
    font-size: 14px;
    white-space: nowrap;
    color: #ccc;
    text-decoration: none;
}

.nav-item.dropdown .dropdown-content a:hover {
    background-color: #2a2c3d;
    color: #00d4aa;
}

.nav-item.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-item.dropdown.active .dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Kategori Grid Dropdown Stilleri */
.dropdown-content.category-grid {
    width: 450px;
    display: none;
    padding: 20px;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.dropdown:hover .dropdown-content.category-grid {
    display: grid;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}


/* Arama Kutusu */

.search-box {
    position: relative;
}

.search-box input {
    background-color: #2a2c3d;
    border: none;
    padding: 10px 40px 10px 15px;
    border-radius: 20px;
    color: #fff;
    width: 250px;
    font-size: 14px;
}

.search-box input::placeholder {
    color: #8e8e8e;
}

.search-box button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #8e8e8e;
    cursor: pointer;
}


/* Mobil Menü Toggle */

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}


/* Slider Bölümü */

.main-slider {
    margin: 30px 0;
    position: relative;
    margin-bottom: 40px;
    overflow: visible;
}

.slider-tabs {
    display: flex;
    margin-bottom: 15px;
}

.slider-tabs .tab {
    padding: 10px 20px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    color: #8e8e8e;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.slider-tabs .tab.active {
    color: #fff;
    border-bottom: 3px solid #e50914;
}

.slider-container {
    position: relative;
    border-radius: 8px;
    /* overflow: hidden; kaldırıldı */
}

.slider-content-wrapper {
    display: none;
}

.slider-content-wrapper.active {
    display: block;
}

.slider-item {
    position: relative;
    border-radius: 8px;
    /* overflow: hidden; kaldırıldı */
    height: 450px;
    display: none;
}

.slider-item.active {
    display: block;
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    /* stronger dark overlay to improve text contrast */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0,0,0,0.6) 30%, transparent 70%);
}

.slider-logo {
    margin-bottom: 15px;
    max-width: 200px;
}

.slider-logo img {
    width: 100%;
    height: auto;
}

.slider-content h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.slider-content h2 {
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.slider-content p {
    font-size: 16px;
    margin-bottom: 15px;
    max-width: 600px;
}

.slider-meta {
    font-size: 14px;
    color: #8e8e8e;
    margin-top: 10px;
}

.slider-meta span {
    margin-right: 5px;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 60px;
    background-color: rgba(229, 9, 20, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    z-index: 100;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
}

.slider-nav:hover {
    background-color: rgba(229, 9, 20, 0.9);
}

.slider-nav.prev {
    left: 10px;
    /* Adjusted position */
    border-radius: 0 8px 8px 0;
    border-left: none;
    padding-right: 5px;
}

.slider-nav.next {
    right: 10px;
    /* Adjusted position */
    border-radius: 8px 0 0 8px;
    border-right: none;
    padding-left: 5px;
}

.slider-nav:hover {
    background-color: rgba(229, 9, 20, 0.9);
    transform: translateY(-50%) scale(1.05);
    border-color: rgba(255, 255, 255, 0.7);
    z-index: 101;
    /* Ensure it stays above other elements */
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #e50914;
}


/* İçerik Bölümleri */

.content-section {
    margin: 60px 0;
    padding-bottom: 60px;
    border-bottom: 1px solid #2a2c3d;
    position: relative;
}

.content-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    height: 1px;
    background: linear-gradient(to right, transparent, #3a3c4d, transparent);
    box-shadow: 0 0 5px rgba(58, 60, 77, 0.5);
}

.last-section {
    border-bottom: none;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.last-section::after {
    display: none;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 26px;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.section-header .view-all {
    font-size: 14px;
    color: #ffffff;
    background-color: #e50914;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.section-header .view-all:hover {
    background-color: #b8070f;
}

.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 263px);
    gap: 25px;
    margin-bottom: 30px;
    justify-content: center;
}

.movie-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background-color: #1a1c2a;
    width: 263px;
    margin: 0 auto;
}

.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Language badges on movie posters */
.movie-card .language-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.movie-card .language-badge {
    background: #252627;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 500;
    min-width: fit-content;
}

.movie-card .movie-bottom-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    min-height: 28px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 3;
}

.movie-card .movie-year {
    color: white;
    font-size: 12px;
    font-weight: 500;
}

.movie-card .movie-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.movie-card .movie-rating svg {
    width: 16px;
    height: 16px;
    fill: rgb(245, 197, 24);
}

.movie-card .movie-rating-score {
    color: white;
    font-size: 12px;
    font-weight: 700;
}

.movie-card .movie-info {
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
    min-height: 80px;
}

.movie-card .movie-title {
    color: white;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}

.movie-card .movie-genre {
    color: #888;
    font-size: 12px;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-poster {
    position: relative;
    height: 380px;
    width: 263px;
}

.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background-color: #0a0a0a;
}

.movie-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.movie-card:hover .movie-overlay {
    opacity: 1;
}

.play-button {
    background-color: rgba(229, 9, 20, 0.9);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.5);
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.play-button:hover {
    transform: scale(1);
    box-shadow: 0 0 30px rgba(229, 9, 20, 0.7);
}

.play-button i {
    font-size: 24px;
}

.movie-info {
    padding: 15px 10px;
    background-color: #1a1c2a;
}

.movie-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #ffffff;
}

.movie-meta {
    display: flex;
    font-size: 14px;
    color: #a0a0a0;
    flex-wrap: wrap;
}

.movie-meta span {
    margin-right: 10px;
    margin-bottom: 5px;
}

.movie-rating {
    color: #e50914;
    font-weight: 600;
}


/* Bölüm Kartı Stilleri */

.episode-section {
    margin-top: 30px;
    margin-bottom: 30px;
}

.episode-card {
    background-color: rgba(10, 10, 10, 0.6);
    border-radius: 6px;
    overflow: hidden;
    width: 560px;
    height: 76px;
    display: flex;
    position: relative;
}

.episode-card .movie-poster {
    position: relative;
    height: 76px;
    width: 135px;
    flex-shrink: 0;
}

.episode-card .movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.episode-link {
    display: flex;
    width: 100%;
    text-decoration: none;
    color: #fff;
}

.episode-card .movie-info {
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    min-width: 0;
}

.episode-card .movie-title {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.episode-meta {
    display: flex;
    font-size: 12px;
    color: #9b9b9b;
    align-items: center;
    gap: 8px;
}

.season-info {
    color: #e50914;
    font-weight: 500;
}

/* Son Eklenen Yabancı Dizi Bölümleri Bölümü Stilleri */
.common-section.recent-episodes {
    padding: 30px 0;
    margin: 20px 0;
    display: block;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
}

.section-content {
    width: 100%;
}

.posters-4-col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.mini-poster {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background-color: #1a1c25;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.mini-poster:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.mini-poster-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.mini-poster-content {
    padding: 12px;
}

.mini-poster-episode-info {
    font-size: 12px;
    color: #64a0ff;
    margin-bottom: 5px;
    font-weight: 500;
}

.mini-poster-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-poster-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #9ca3af;
}

.episode-date {
    display: flex;
    align-items: center;
}

.mini-poster-lang {
    display: flex;
    align-items: center;
    color: #9ca3af;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .posters-4-col {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .posters-4-col {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .posters-4-col {
        grid-template-columns: 1fr;
    }
}

.date-info {
    color: #8e8e8e;
}

.episode-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 12px;
    gap: 6px;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.badge i {
    font-size: 12px;
    color: #ffffff;
}

.cc-badge {
    background-color: #0077cc;
}

.lang-badge {
    background-color: #e50914;
    color: #ffffff;
}

.lang-badge i {
    color: #ffffff !important;
}

.episode-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: row;
    gap: 3px;
    max-height: 600px;
    overflow-y: auto;
}

/* Recent Episodes Section Styles */
.common-section.recent-episodes {
    margin: 30px 0;
    padding: 20px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 15px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.section-content {
    padding: 0 15px;
}

.posters-4-col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.mini-poster {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
    background-color: #1f2130;
}

.mini-poster:hover {
    transform: translateY(-5px);
}

.mini-poster-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 150%;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.mini-poster-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-poster-content {
    padding: 12px;
}

.mini-poster-episode-info {
    font-size: 12px;
    color: #e50914;
    margin-bottom: 5px;
}

.mini-poster-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-poster-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #8e8e8e;
}

.episode-date {
    color: #8e8e8e;
}

.mini-poster-lang {
    display: flex;
    align-items: center;
}

.mini-poster-lang svg {
    width: 16px;
    height: 16px;
    margin-left: 5px;
}

/* Responsive styles for posters-4-col */
@media (max-width: 1200px) {
    .posters-4-col {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .posters-4-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .posters-4-col {
        grid-template-columns: 1fr;
    }
}

/* Compact list variant for episode cards (small poster left, info center, badges right) */


.episode-card.compact {
    width: 560px; /* force requested width */
    height: 76px; /* force requested height */
    display: flex;
    align-items: stretch;
    padding: 0;
    background-color: rgba(10,10,10,0.6);
    border-radius: 6px;
    box-shadow: none;
}

.episode-card.compact .movie-poster.small {
    width: 135px;
    height: 76px;
    flex-shrink: 0;
    border-radius: 0;
    overflow: hidden;
    margin-right: 12px;
}

.episode-card.compact .movie-poster.small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.episode-card.compact .movie-info {
    padding: 8px 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    min-width: 0;
}


.episode-card.compact .movie-title {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 3px 0;
}

.episode-card.compact .episode-meta {
    font-size: 12px;
    color: #9b9b9b;
    justify-content: flex-start;
    gap: 6px;
    line-height: 1.1;
}

/* Ensure episode meta and right badges are visible */
.episode-card.compact .episode-meta,
.episode-card.compact .episode-right {
    color: #cfcfcf;
}

.episode-right .badge {
    white-space: nowrap;
}

.episode-right .lang-badge.dual {
    background-color: rgba(229, 9, 20, 0.85);
    color: white;
}

.episode-card.compact .episode-right {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-left: 8px;
    align-items: flex-end;
    justify-content: center;
    padding-right: 8px;
}

.episode-card.compact .badge {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Make the icon inside badges darker to increase contrast per request */
.badge i {
    color: rgba(0,0,0,0.85);
    font-size: 14px;
}

.badge i {
    font-size: 12px;
    line-height: 1;
}


.badge .badge-text {
    display: inline-block; /* show text for debugging and clarity */
    margin-left: 6px;
}

.episode-right .badge {
    padding: 6px 8px;
    min-width: 28px;
    justify-content: center;
    display: inline-flex;
    align-items: center;
}

/* Ensure meta text is visible and not clipped */
.episode-card.compact .episode-meta {
    display: block !important;
    min-height: 18px;
    color: #cfcfcf !important;
}

.episode-card.compact .episode-meta span {
    display: inline-block;
    margin-right: 8px;
}

/* Responsive: two columns on tablet, one column on mobile */
@media (max-width: 992px) {
    .episode-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .episode-grid { grid-template-columns: 1fr; }
}


/* Footer Stiller */

.site-footer {
    background-color: #161821;
    padding: 50px 0 20px;
    margin-top: 70px;
    position: relative;
        max-width: 1800px;
        margin-left: auto;
        margin-right: auto;
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    height: 2px;
    background: linear-gradient(to right, transparent, #4a4c5d, transparent);
    box-shadow: 0 0 8px rgba(74, 76, 93, 0.6);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo h2 {
    font-size: 24px;
    color: #e50914;
    margin-bottom: 10px;
}

.footer-logo p {
    font-size: 14px;
    color: #8e8e8e;
}

.footer-links h3,
.footer-categories h3,
.footer-social h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-links ul li,
.footer-categories ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-categories ul li a {
    font-size: 14px;
    color: #8e8e8e;
}

.footer-links ul li a:hover,
.footer-categories ul li a:hover {
    color: #e50914;
}

.social-icons {
    display: flex;
}

.social-icons a {
    width: 36px;
    height: 36px;
    background-color: #2a2c3d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: #e50914;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2a2c3d;
}

.footer-bottom p {
    font-size: 14px;
    color: #8e8e8e;
    margin-bottom: 10px;
}


/* Top 10 Filmler Slider Stilleri */

.top-movies-slider {
    padding: 40px 0 20px;
    background-color: rgba(10, 10, 10, 0.3);
    margin-bottom: 30px;
}

.top-movies-slider .section-header {
    margin-bottom: 20px;
}

.top-movies-slider .slider-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    gap: 20px;
    scrollbar-width: none;
    /* Firefox */
}

.top-movies-slider .slider-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Edge */
}

.top-movies-slider .slider-item {
    position: relative;
    flex: 0 0 263px;
    height: 380px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.top-movies-slider .slider-item:hover {
    transform: translateY(-5px);
}

.top-movies-slider .slider-poster img {
    width: 263px;
    height: 380px;
    object-fit: cover;
    border-radius: 8px;
}

.top-movies-slider .slider-number {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    background-color: rgba(229, 9, 20, 0.8);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    z-index: 2;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.top-movies-slider .slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.top-movies-slider .slider-item:hover .slider-overlay {
    opacity: 1;
}

.top-movies-slider .slider-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
}

.top-movies-slider .slider-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: white;
}

.top-movies-slider .slider-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #a0a0a0;
}

.top-movies-slider .slider-nav {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 15px;
}

.top-movies-slider .slider-prev,
.top-movies-slider .slider-next {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.top-movies-slider .slider-prev:hover,
.top-movies-slider .slider-next:hover {
    background-color: rgba(229, 9, 20, 0.8);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
}


/* Filmler Sayfası Stilleri */

.movies-page {
    padding: 40px 0;
}

.page-header {
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.breadcrumb {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #8e8e8e;
}

.breadcrumb a {
    color: #e50914;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #ffffff;
}

.breadcrumb .separator {
    margin: 0 8px;
    color: #4a4a4a;
}

.breadcrumb .current {
    color: #8e8e8e;
}

.filter-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 15px 20px;
    background-color: rgba(26, 28, 42, 0.7);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 10;
    position: relative;
}

.filter-options {
    display: flex;
    gap: 20px;
}

.filter-group {
    display: flex;
    align-items: center;
}

.filter-group label {
    margin-right: 10px;
    font-size: 14px;
    color: #8e8e8e;
}

.filter-select {
    background-color: #2a2c3d;
    color: #ffffff;
    border: 1px solid #3a3c4d;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="6" viewBox="0 0 12 6"><path fill="%23ffffff" d="M0 0l6 6 6-6z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}

.filter-select:hover,
.filter-select:focus {
    border-color: #e50914;
    outline: none;
}

.search-filter .search-form {
    display: flex;
    position: relative;
}

.search-filter input {
    background-color: #2a2c3d;
    color: #ffffff;
    border: 1px solid #3a3c4d;
    border-radius: 4px;
    padding: 8px 40px 8px 12px;
    font-size: 14px;
    width: 250px;
    transition: all 0.3s ease;
}

.search-filter input:focus {
    border-color: #e50914;
    outline: none;
    width: 300px;
}

.search-filter button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 40px;
    background: none;
    border: none;
    color: #8e8e8e;
    cursor: pointer;
    transition: color 0.3s ease;
}

.search-filter button:hover {
    color: #e50914;
}

.movies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 263px);
    gap: 25px;
    margin-bottom: 40px;
    justify-content: center;
    position: relative;
    z-index: 5;
    padding-top: 20px;
    clear: both;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 0;
    color: #8e8e8e;
}

.no-results i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #e50914;
}

.no-results p {
    font-size: 18px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 10px;
}

.page-numbers {
    display: flex;
    gap: 5px;
}

.page-number,
.page-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    background-color: #2a2c3d;
    color: #ffffff;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.page-number:hover,
.page-nav:hover {
    background-color: #3a3c4d;
}

.page-number.active {
    background-color: #e50914;
    font-weight: 600;
}

.page-nav {
    padding: 0 15px;
}

.page-nav i {
    font-size: 12px;
}

.page-nav.prev i {
    margin-right: 5px;
}

.page-nav.next i {
    margin-left: 5px;
}


/* Top 10 Filmler Slider Stilleri */

.top-movies-slider {
    margin-bottom: 40px;
    padding: 30px 0;
    background-color: #111218;
    border-radius: 8px;
}

.slider-container {
    position: relative;
    overflow: hidden;
    padding: 0 40px;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    min-width: 320px;
}

.header-container {
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    display: flex;
    align-items: center;
}

.slider-wrapper {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    padding: 10px 0;
}

.slider-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.top-movies-slider .slider-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    gap: 15px;
}

.top-movies-slider .slider-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.slider-item {
    position: relative;
    flex: 0 0 200px;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.slider-item:hover {
    transform: translateY(-5px);
}

.top-movies-slider .slider-item {
    position: relative;
    min-width: 200px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.top-movies-slider .slider-item:hover {
    transform: translateY(-5px);
}

.slider-number {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    background-color: #e50914;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    z-index: 2;
}

.top-movies-slider .slider-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    background-color: #e50914;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    z-index: 2;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.slider-poster {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.slider-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-info {
    padding: 10px;
    background-color: #1a1c25;
}

.slider-title {
    font-size: 14px;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.slider-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #aaa;
}

.slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    z-index: 3;
}

.top-movies-slider .slider-nav {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 15px;
}

.slider-prev,
.slider-next {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.top-movies-slider .slider-prev,
.top-movies-slider .slider-next {
    background-color: #2a2c3d;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.slider-prev:hover,
.slider-next:hover {
    background-color: rgba(229, 9, 20, 0.8);
}

.top-movies-slider .slider-prev:hover,
.top-movies-slider .slider-next:hover {
    background-color: #e50914;
    transform: scale(1.1);
}


/* Film Kategorileri Stilleri */

.movie-categories {
    margin-bottom: 40px;
    padding: 20px;
    background-color: #1a1c25;
    border-radius: 8px;
    position: relative;
    z-index: 10;
}

.categories-title {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.categories-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #e50914;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    background-color: #2a2c3d;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.category-item:hover {
    background-color: #e50914;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(229, 9, 20, 0.3);
    border-color: rgba(229, 9, 20, 0.5);
}

.category-item i {
    font-size: 24px;
    margin-bottom: 8px;
    transition: transform 0.3s ease;
}

.category-item:hover i {
    transform: scale(1.2);
}

.category-item span {
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}
    /* Keşfet Sayfası Stilleri */
    .discover-hero {
        background: linear-gradient(135deg, #0f0f23 0%, #1a1c29 50%, #2a2c3d 100%);
        padding: 80px 0 100px;
        margin-bottom: 40px;
        position: relative;
        overflow: hidden;
        min-height: 100vh;
        display: flex;
        align-items: center;
    }
    .hero-content {
        text-align: center;
        position: relative;
        z-index: 2;
    }
    .hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(229, 9, 20, 0.1);
        border: 1px solid rgba(229, 9, 20, 0.3);
        padding: 8px 20px;
        border-radius: 50px;
        margin-bottom: 25px;
        backdrop-filter: blur(10px);
        animation: fadeInUp 0.8s ease-out;
    }
    .hero-badge i {
        color: #e50914;
        font-size: 1.1rem;
    }
    .hero-badge span {
        color: #fff;
        font-weight: 600;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    .hero-title {
        font-size: 4rem;
        font-weight: 800;
        margin-bottom: 20px;
        background: linear-gradient(45deg, #e50914, #ff6b6b, #ffa726);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        line-height: 1.2;
        animation: fadeInUp 0.8s ease-out 0.2s both;
    }
    .hero-subtitle {
        font-size: 1.3rem;
        color: #b3b3b3;
        margin-bottom: 50px;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.6;
        animation: fadeInUp 0.8s ease-out 0.4s both;
    }
    .hero-search {
        margin-bottom: 50px;
        animation: fadeInUp 0.8s ease-out 0.6s both;
    }
    .search-container {
        position: relative;
        max-width: 600px;
        margin: 0 auto;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 50px;
        padding: 5px;
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }
    .search-container:hover {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(229, 9, 20, 0.3);
        box-shadow: 0 10px 30px rgba(229, 9, 20, 0.2);
    }
    .search-icon {
        position: absolute;
        left: 25px;
        top: 50%;
        transform: translateY(-50%);
        color: #b3b3b3;
        font-size: 1.1rem;
        z-index: 2;
    }
    .hero-search-input {
        width: 100%;
        padding: 18px 25px 18px 60px;
        background: transparent;
        border: none;
        color: #fff;
        font-size: 1.1rem;
        border-radius: 50px;
        outline: none;
        padding-right: 80px;
    }
    .hero-search-input::placeholder {
        color: #888;
    }
    .search-btn {
        position: absolute;
        right: 5px;
        top: 50%;
        transform: translateY(-50%);
        background: linear-gradient(45deg, #e50914, #ff6b6b);
        border: none;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        color: #fff;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .search-btn:hover {
        transform: translateY(-50%) scale(1.05);
        box-shadow: 0 5px 15px rgba(229, 9, 20, 0.4);
    }
    .quick-filters {
        margin-bottom: 50px;
        animation: fadeInUp 0.8s ease-out 0.8s both;
    }
    .filter-section {
        background: rgba(255, 255, 255, 0.03);
        border-radius: 20px;
        padding: 40px;
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        max-width: 1000px;
        margin: 0 auto;
    }
    .filter-group {
        margin-bottom: 35px;
    }
    .filter-group:last-child {
        margin-bottom: 0;
    }
    .filter-header {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 20px;
        justify-content: center;
    }
    .filter-header i {
        color: #e50914;
        font-size: 1.2rem;
    }
    .filter-header h3 {
        font-size: 1.2rem;
        color: #fff;
        font-weight: 600;
        margin: 0;
    }
    .filter-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }
    .filter-btn {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 12px 20px;
        background: rgba(255, 255, 255, 0.05);
        color: #fff;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 30px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 0.9rem;
        font-weight: 500;
        backdrop-filter: blur(10px);
        position: relative;
        overflow: hidden;
    }
    .filter-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transition: left 0.5s ease;
    }
    .filter-btn:hover::before {
        left: 100%;
    }
    .filter-btn:hover {
        background: rgba(229, 9, 20, 0.2);
        border-color: rgba(229, 9, 20, 0.5);
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(229, 9, 20, 0.3);
    }
    .filter-btn.active {
        background: linear-gradient(45deg, #e50914, #ff6b6b);
        border-color: #ff6b6b;
        box-shadow: 0 8px 25px rgba(229, 9, 20, 0.4);
        transform: translateY(-2px);
    }
    .filter-btn i {
        font-size: 0.9rem;
    }
    .hero-actions {
        display: flex;
        gap: 20px;
        justify-content: center;
        flex-wrap: wrap;
        animation: fadeInUp 0.8s ease-out 1s both;
    }
    .action-btn {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 15px 30px;
        border: none;
        border-radius: 50px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 600;
        font-size: 1rem;
        position: relative;
        overflow: hidden;
    }
    .action-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.6s ease;
    }
    .action-btn:hover::before {
        left: 100%;
    }
    .action-btn.primary {
        background: linear-gradient(45deg, #e50914, #ff6b6b);
        color: #fff;
        box-shadow: 0 8px 25px rgba(229, 9, 20, 0.3);
    }
    .action-btn.primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 35px rgba(229, 9, 20, 0.4);
    }
    .action-btn.secondary {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
        border: 1px solid rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
    }
    .action-btn.secondary:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
    }
    .action-btn.tertiary {
        background: linear-gradient(45deg, #ff6b35, #f7931e);
        color: #fff;
        box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    }
    .action-btn.tertiary:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 35px rgba(255, 107, 53, 0.4);
    }
    .hero-bg-animation {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 1;
    }
    .floating-element {
        position: absolute;
        width: 200px;
        height: 200px;
        background: radial-gradient(circle, rgba(229, 9, 20, 0.1) 0%, transparent 70%);
        border-radius: 50%;
        animation: float var(--duration, 20s) ease-in-out infinite;
        animation-delay: var(--delay, 0s);
    }
    .floating-element:nth-child(1) {
        top: 10%;
        left: 10%;
    }
    .floating-element:nth-child(2) {
        top: 60%;
        right: 15%;
        width: 150px;
        height: 150px;
    }
    .floating-element:nth-child(3) {
        bottom: 20%;
        left: 20%;
        width: 100px;
        height: 100px;
    }
    @keyframes float {
        0%,
        100% {
            transform: translateY(0px) rotate(0deg);
        }
        33% {
            transform: translateY(-30px) rotate(120deg);
        }
        66% {
            transform: translateY(20px) rotate(240deg);
        }
    }
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    .refresh-suggestions {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 20px;
        background-color: #2a2c3d;
        color: #fff;
        border: none;
        border-radius: 25px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 0.9rem;
    }
    .refresh-suggestions:hover {
        background-color: #e50914;
        transform: translateY(-2px);
    }
    .refresh-suggestions i {
        transition: transform 0.3s ease;
    }
    .refresh-suggestions:hover i {
        transform: rotate(180deg);
    }
    .discover-tools {
        background-color: #1a1c29;
        padding: 60px 0;
        margin-top: 60px;
    }
    .discover-tools h2 {
        text-align: center;
        font-size: 2.5rem;
        margin-bottom: 40px;
        color: #fff;
    }
    .tools-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
        margin-top: 40px;
    }
    .tool-card {
        background: linear-gradient(135deg, #2a2c3d 0%, #3a3c4d 100%);
        padding: 30px;
        border-radius: 15px;
        text-align: center;
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    .tool-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        border-color: #e50914;
    }
    .tool-icon {
        width: 80px;
        height: 80px;
        background: linear-gradient(45deg, #e50914, #ff6b6b);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        transition: all 0.3s ease;
    }
    .tool-card:hover .tool-icon {
        transform: scale(1.1) rotate(5deg);
    }
    .tool-icon i {
        font-size: 2rem;
        color: #fff;
    }
    .tool-card h3 {
        font-size: 1.4rem;
        margin-bottom: 15px;
        color: #fff;
        font-weight: 600;
    }
    .tool-card p {
        color: #b3b3b3;
        margin-bottom: 25px;
        line-height: 1.6;
    }
    .tool-btn {
        padding: 12px 25px;
        background: linear-gradient(45deg, #e50914, #ff6b6b);
        color: #fff;
        border: none;
        border-radius: 25px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 600;
        font-size: 0.9rem;
    }
    .tool-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(229, 9, 20, 0.4);
    }
    .section-header h2 i {
        margin-right: 10px;
        color: #e50914;
    }
    /* Responsive Tasarım */
    /* AI Buton Stilleri */
    .ai-btn {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border: none;
        color: white;
        position: relative;
        overflow: hidden;
    }
    .ai-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.5s;
    }
    .ai-btn:hover::before {
        left: 100%;
    }
    .ai-pulse {
        animation: aiPulse 2s infinite;
    }
    @keyframes aiPulse {
        0%,
        100% {
            box-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
        }
        50% {
            box-shadow: 0 0 30px rgba(102, 126, 234, 0.8), 0 0 40px rgba(118, 75, 162, 0.6);
        }
    }
    /* Buton Loading Animasyonu */
    .action-btn.loading {
        pointer-events: none;
        opacity: 0.7;
    }
    .action-btn.loading::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 20px;
        height: 20px;
        margin: -10px 0 0 -10px;
        border: 2px solid transparent;
        border-top: 2px solid #fff;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }
    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }
        100% {
            transform: rotate(360deg);
        }
    }
    /* Buton Glow Efekti */
    .btn-glow {
        transition: all 0.3s ease;
    }
    .btn-glow:hover {
        box-shadow: 0 0 25px rgba(229, 9, 20, 0.6);
        transform: translateY(-2px);
    }
    /* Modal Stilleri */
    .modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(5px);
        animation: fadeIn 0.3s ease;
    }
    .modal-content {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
        margin: 5% auto;
        padding: 0;
        border: none;
        border-radius: 20px;
        width: 90%;
        max-width: 600px;
        max-height: 80vh;
        overflow-y: auto;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        animation: slideIn 0.3s ease;
    }
    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
    @keyframes slideIn {
        from {
            transform: translateY(-50px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    .modal-header {
        background: linear-gradient(135deg, #e50914 0%, #b20710 100%);
        color: white;
        padding: 20px 30px;
        border-radius: 20px 20px 0 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .modal-header h2 {
        margin: 0;
        font-size: 1.5rem;
        font-weight: 600;
    }
    .close {
        color: white;
        font-size: 28px;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s ease;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
    }
    .close:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: rotate(90deg);
    }
    .modal-body {
        padding: 30px;
        color: #fff;
    }
    /* AI Modal Özel Stilleri */
    .ai-section {
        margin-bottom: 30px;
    }
    .ai-section h3 {
        color: #e50914;
        margin-bottom: 15px;
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .mood-buttons,
    .duration-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 20px;
    }
    .mood-btn,
    .duration-btn {
        padding: 10px 20px;
        border: 2px solid #444;
        background: transparent;
        color: #fff;
        border-radius: 25px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 14px;
    }
    .mood-btn:hover,
    .duration-btn:hover {
        border-color: #e50914;
        background: rgba(229, 9, 20, 0.1);
        transform: translateY(-2px);
    }
    .mood-btn.selected,
    .duration-btn.selected {
        background: linear-gradient(135deg, #e50914 0%, #b20710 100%);
        border-color: #e50914;
        box-shadow: 0 5px 15px rgba(229, 9, 20, 0.4);
    }
    .genre-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 20px;
    }
    .genre-tag {
        padding: 8px 16px;
        background: #333;
        color: #fff;
        border-radius: 20px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 13px;
        border: 1px solid transparent;
    }
    .genre-tag:hover {
        background: #444;
        transform: translateY(-1px);
    }
    .genre-tag.selected {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-color: #667eea;
        box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
    }
    .ai-generate-btn {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border: none;
        padding: 15px 30px;
        border-radius: 25px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 20px auto;
        position: relative;
        overflow: hidden;
    }
    .ai-generate-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
    }
    .ai-generate-btn:disabled {
        opacity: 0.7;
        cursor: not-allowed;
        transform: none;
    }
    .loading-spinner {
        display: none;
        width: 20px;
        height: 20px;
        border: 2px solid transparent;
        border-top: 2px solid #fff;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }
    /* AI Sonuçları */
    #aiResults {
        display: none;
        margin-top: 20px;
    }
    .ai-recommendations {
        display: grid;
        gap: 15px;
    }
    .ai-recommendation-card {
        background: linear-gradient(135deg, #2d2d2d 0%, #3d3d3d 100%);
        border-radius: 15px;
        padding: 20px;
        border: 1px solid #444;
        transition: all 0.3s ease;
    }
    .ai-recommendation-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
        border-color: #e50914;
    }
    .ai-card-content h4 {
        color: #e50914;
        margin-bottom: 10px;
        font-size: 1.1rem;
    }
    .ai-card-content p {
        margin: 5px 0;
        color: #ccc;
        font-size: 14px;
    }
    .ai-match {
        background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
        color: white;
        padding: 5px 15px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        display: inline-block;
        margin-top: 10px;
    }
    /* Gelişmiş Filtre Modal Stilleri */
    .filter-group {
        margin-bottom: 25px;
    }
    .filter-group label {
        display: block;
        color: #e50914;
        margin-bottom: 8px;
        font-weight: 600;
        font-size: 14px;
    }
    .filter-input {
        width: 100%;
        padding: 12px 15px;
        background: #333;
        border: 1px solid #555;
        border-radius: 8px;
        color: #fff;
        font-size: 14px;
        transition: all 0.3s ease;
        -webkit-appearance: none;
        appearance: none;
    }
    .filter-input:focus {
        outline: none;
        border-color: #e50914;
        box-shadow: 0 0 10px rgba(229, 9, 20, 0.3);
    }
    .range-container {
        position: relative;
        margin-bottom: 10px;
    }
    .range-input {
        width: 100%;
        height: 6px;
        border-radius: 3px;
        background: #333;
        outline: none;
        -webkit-appearance: none;
        appearance: none;
    }
    .range-input::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: linear-gradient(135deg, #e50914 0%, #b20710 100%);
        cursor: pointer;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    }
    .range-input::-moz-range-thumb {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: linear-gradient(135deg, #e50914 0%, #b20710 100%);
        cursor: pointer;
        border: none;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    }
    .range-value {
        position: absolute;
        right: 0;
        top: -25px;
        background: #e50914;
        color: white;
        padding: 2px 8px;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 600;
    }
    .modal-actions {
        display: flex;
        gap: 15px;
        justify-content: flex-end;
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid #444;
    }
    .modal-btn {
        padding: 12px 25px;
        border: none;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    .modal-btn.primary {
        background: linear-gradient(135deg, #e50914 0%, #b20710 100%);
        color: white;
    }
    .modal-btn.primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(229, 9, 20, 0.4);
    }
    .modal-btn.secondary {
        background: #333;
        color: #fff;
        border: 1px solid #555;
    }
    .modal-btn.secondary:hover {
        background: #444;
        border-color: #666;
    }
    /* Son Eklenen Yabancı Dizi Bölümleri Bölümü Stilleri */
    .common-section.recent-episodes {
        margin: 40px 0;
        padding: 20px;
        background-color: #161821;
        border-radius: 10px;
    }
    
    .section-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 24px;
        font-weight: 700;
        color: #fff;
    }
    
    .section-content {
        margin-top: 20px;
    }
    
    .posters-4-col {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    
    .mini-poster {
        position: relative;
        border-radius: 8px;
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        background-color: #1a1c25;
        height: 100%;
    }
    
    .mini-poster:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    }
    
    .mini-poster-image {
        position: relative;
        overflow: hidden;
        border-radius: 8px 8px 0 0;
        aspect-ratio: 2/3;
    }
    
    .mini-poster-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }
    
    .mini-poster:hover .mini-poster-image img {
        transform: scale(1.05);
    }
    
    .mini-poster-content {
        padding: 15px;
    }
    
    .mini-poster-episode-info {
        font-size: 14px;
        color: #e50914;
        margin-bottom: 8px;
        font-weight: 600;
    }
    
    .mini-poster-title {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 10px;
        color: #fff;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .mini-poster-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 13px;
        color: #aaa;
    }
    
    .episode-date {
        font-size: 13px;
    }
    
    .mini-poster-lang {
        display: flex;
        align-items: center;
    }
    
    .mini-poster-lang svg {
        width: 18px;
        height: 18px;
        fill: #aaa;
    }
    
    @media (max-width: 1200px) {
        .posters-4-col {
            grid-template-columns: repeat(3, 1fr);
        }
    }
    
    @media (max-width: 768px) {
        .posters-4-col {
            grid-template-columns: repeat(2, 1fr);
        }
        
        .section-title {
            font-size: 20px;
        }
    }
    
    @media (max-width: 480px) {
        .posters-4-col {
            grid-template-columns: 1fr;
        }
    }
    
    /* Bildirim Sistemi */
    .notification {
        position: fixed;
        top: 20px;
        right: 20px;
        padding: 15px 20px;
        border-radius: 10px;
        color: white;
        font-weight: 600;
        z-index: 10000;
        transform: translateX(400px);
        transition: all 0.3s ease;
        max-width: 350px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }
    .notification.show {
        transform: translateX(0);
    }
    .notification.success {
        background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    }
    .notification.info {
        background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    }
    .notification.trend {
        background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
        max-width: 400px;
    }
    .trend-popup {
        padding: 10px;
    }
    .trend-popup h3 {
        margin: 0 0 15px 0;
        font-size: 1.1rem;
    }
    .trend-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    .trend-item:last-child {
        border-bottom: none;
    }
    @media (max-width: 768px) {
        .discover-hero {
            min-height: auto;
            padding: 60px 0 80px;
        }
        .hero-title {
            font-size: 2.8rem;
        }
        .hero-subtitle {
            font-size: 1.1rem;
            margin-bottom: 40px;
        }
        .search-container {
            max-width: 90%;
        }
        .hero-search-input {
            font-size: 1rem;
            padding: 16px 20px 16px 55px;
            padding-right: 70px;
        }
        .search-btn {
            width: 45px;
            height: 45px;
        }
        .filter-section {
            padding: 30px 20px;
            margin: 0 15px;
        }
        .filter-buttons {
            gap: 8px;
        }
        .filter-btn {
            padding: 10px 16px;
            font-size: 0.85rem;
        }
        .hero-actions {
            flex-direction: column;
            align-items: center;
            gap: 15px;
        }
        .action-btn {
            width: 100%;
            max-width: 280px;
            justify-content: center;
            padding: 14px 25px;
        }
        .tools-grid {
            grid-template-columns: 1fr;
            gap: 20px;
        }
        .discover-tools h2 {
            font-size: 2rem;
        }
        .floating-element {
            display: none;
        }
        .modal-content {
            width: 95%;
            margin: 10% auto;
            max-height: 85vh;
        }
        .modal-header {
            padding: 15px 20px;
        }
        .modal-body {
            padding: 20px;
        }
        .mood-buttons,
        .duration-buttons {
            gap: 8px;
        }
        .mood-btn,
        .duration-btn {
            padding: 8px 16px;
            font-size: 13px;
        }
        .notification {
            right: 10px;
            left: 10px;
            max-width: none;
            transform: translateY(-100px);
        }
        .notification.show {
            transform: translateY(0);
        }
    }
    @media (max-width: 480px) {
        .hero-title {
            font-size: 2.2rem;
        }
        .hero-subtitle {
            font-size: 1rem;
        }
        .filter-section {
            padding: 25px 15px;
        }
        .filter-header h3 {
            font-size: 1.1rem;
        }
        .filter-btn {
            padding: 8px 12px;
            font-size: 0.8rem;
        }
        .action-btn {
            font-size: 0.9rem;
            padding: 12px 20px;
        }
    }

/* SON EKLENEN BÖLÜMLER - LANDSCAPE FORMAT */
.recent-episodes-section .episode-item {
    height: 150px !important;
    max-height: 150px !important;
    width: 100% !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    position: relative !important;
}

.recent-episodes-section .episode-poster {
    height: 150px !important;
    width: 100% !important;
    display: block !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 12px !important;
}

.recent-episodes-section .episode-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    border-radius: 12px !important;
}

.recent-episodes-section .episode-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    border-radius: 12px !important;
}

.recent-episodes-section .episode-subject {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: linear-gradient(transparent, rgba(0,0,0,0.9)) !important;
    padding: 20px 15px 15px !important;
    color: white !important;
    z-index: 2 !important;
}

.recent-episodes-section .episode-title {
    font-size: 16px !important;
    font-weight: bold !important;
    margin-bottom: 5px !important;
    color: white !important;
}

.recent-episodes-section .episode-meta {
    font-size: 13px !important;
    color: rgba(255,255,255,0.8) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.recent-episodes-section .episode-lang-flags {
    display: flex !important;
    gap: 4px !important;
}

.recent-episodes-section .lang-badge {
    background: rgba(255,49,48,0.9) !important;
    color: white !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    font-size: 10px !important;
    font-weight: bold !important;
    display: flex !important;
    align-items: center !important;
    gap: 2px !important;
}

.recent-episodes-section .lang-badge.dual {
    background: rgba(255,193,7,0.9) !important;
    color: #000 !important;
}

.recent-episodes-section .lang-badge.cc {
    background: rgba(40,167,69,0.9) !important;
}

.recent-episodes-section .lang-badge.en {
    background: rgba(108,117,125,0.9) !important;
}

.recent-episodes-section .episode-date {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    z-index: 3 !important;
}

.recent-episodes-section .date-badge {
    background: rgba(255,49,48,0.9) !important;
    color: white !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    font-weight: bold !important;
}