/* Genre Page Özel CSS */
.genre-movie-card {
    background-color: #2a2a2a; /* Resimdeki gibi koyu arka plan */
    color: #f0f0f0; /* Karttaki genel metinler için açık renk */
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
    flex: 0 0 calc(20% - 16px); /* 5 sütun, 20px boşluk hesaba katılarak */
    max-width: calc(20% - 16px);
    box-sizing: border-box;
    padding-bottom: 10px; /* Posterin/başlığın altında boşluk */
}
.genre-movie-card .genre-movie-poster {
    position: relative;
    overflow: hidden;
}
.genre-movie-card .genre-movie-poster img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
    filter: brightness(0.85);
}
.genre-movie-card:hover .genre-movie-poster img {
    transform: scale(1.1);
    filter: brightness(0.7);
}
.genre-movie-card .genre-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #e50914;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.5);
}
.genre-movie-card:hover .genre-play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}
.genre-movie-card .genre-play-button i {
    font-size: 24px;
    color: white;
}
.genre-movie-card .genre-movie-title { /* H3 elementi */
    text-align: center;
    margin-top: 10px; /* Başlık üstünde boşluk */
    margin-bottom: 5px; /* Başlık altında boşluk */
    padding: 0 5px; /* Başlığın iç boşluğu */
}
.genre-movie-card .genre-movie-title a {
    color: #f0f0f0; /* Başlık metninin rengi */
    text-decoration: none;
    display: block;
    white-space: nowrap; /* Metni tek satırda tut */
    overflow: hidden;     /* Taşan metni gizle */
    text-overflow: ellipsis; /* Taşan metin için üç nokta göster */
    font-size: 1.1em; /* Font boyutu ayarı */
    line-height: 1.3; /* Satır yüksekliği */
}
.genre-movie-card .genre-rating-badge {
    position: absolute;
    left: 10px;
    top: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #f5c518;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    z-index: 2;
}
.genre-movie-card .genre-rating-badge i {
    color: #f5c518;
}
.genre-movie-card .genre-movie-genres-on-poster {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    gap: 5px;
}
.genre-movie-card .genre-genre-display-text-on-poster {
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 0.85em;
    padding: 2px 8px;
    border-radius: 4px;
    margin: 0;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.genre-movie-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}
/* Responsive ayarlar */
@media (max-width: 1200px) {
    .genre-movie-card {
        flex: 0 0 calc(25% - 15px); /* 4 sütun */
        max-width: calc(25% - 15px);
    }
}
@media (max-width: 992px) {
    .genre-movie-card {
        flex: 0 0 calc(33.333% - 13.33px); /* 3 sütun */
        max-width: calc(33.333% - 13.33px);
    }
}
@media (max-width: 768px) {
    .genre-movie-card {
        flex: 0 0 calc(50% - 10px); /* 2 sütun */
        max-width: calc(50% - 10px);
    }
}
@media (max-width: 576px) {
    .genre-movie-card {
        flex: 0 0 calc(50% - 8px); /* 2 sütun mobilde de devam etsin */
        max-width: calc(50% - 8px);
    }
    .genre-movie-grid {
        gap: 10px;
    }
}

.genre-play-button-link {
    display: block; /* Bağlantının div'in boyutunu almasını sağlar */
    text-decoration: none; /* Alt çizgiyi kaldırır */
    position: absolute; /* Oynat tuşunun konumlandırmasını korur */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2; /* Oynat tuşunun diğer öğelerin üzerinde olmasını sağlar */
    width: 60px; /* Play button width */
    height: 60px; /* Play button height */
    border-radius: 50%; /* Play button border-radius */
} 