body {
    background-color: #141414; /* Koyu Zemin */
    color: white;
    font-family: sans-serif;
}

.film-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.film-kart {
    width: 200px;
    background-color: #1f1f1f;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
    position: relative;
    cursor: pointer;
}

.film-kart:hover {
    transform: scale(1.05); /* Üzerine gelince büyüsün */
    z-index: 10;
    box-shadow: 0 0 15px rgba(255,0,0,0.5);
}

.film-resim {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.puan-rozeti {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #e50914;
    color: white;
    padding: 5px;
    border-radius: 5px;
    font-weight: bold;
}

.film-bilgi {
    padding: 10px;
    text-align: center;
}

.film-baslik {
    font-size: 16px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Sığmayan yazıyı ... yap */
}

a { text-decoration: none; color: inherit; }

/* Vitrin Ayarları */
.vitrin {
    height: 80vh; /* Ekranın %80'i */
    background-size: cover;
    background-position: center;
    position: relative;
}

.karartma {
    background: linear-gradient(to right, rgba(0,0,0,0.9), rgba(0,0,0,0.1));
    position: absolute; top:0; bottom:0; left:0; right:0;
}

/* Yatay Kaydırma (Netflix Style) */
.yatay-serit {
    display: flex;
    overflow-x: auto; /* Yanlamasına kaydır */
    gap: 15px;
    padding-bottom: 20px;
    scroll-behavior: smooth;
}

/* Kaydırma çubuğunu gizle (Daha şık durur) */
.yatay-serit::-webkit-scrollbar {
    height: 8px;
}
.yatay-serit::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

/* Kartlar */
.serit-kart {
    flex: 0 0 auto; /* Kartlar sıkışmasın */
    width: 200px;
    transition: transform 0.3s;
}
.serit-kart:hover {
    transform: scale(1.1);
    z-index: 10;
}
.serit-kart img {
    width: 100%;
    border-radius: 5px;
}