/* --- Ana Kart Tasarımı --- */
.movie-card-container {
    display: flex;
    gap: 30px;
    max-width: 1100px;
    width: 100%;
    margin: 40px auto;
    background: transparent;
}

/* --- Sol Kısım: Afiş ve Butonlar --- */
.left-column {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.poster-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    height: 450px;
    background-color: #1a1a1a;
}

/* Yaş Sınırı İbaresi (+18) */
.age-limit-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    color: white;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 16px;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(2px);
}

.bg-age-red {
    background-color: rgba(220, 53, 69, 0.9);
}

.bg-age-yellow {
    background-color: rgba(255, 193, 7, 0.9);
    color: #000;
}

/* IMDB Rozeti Tasarımı */
.imdb-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #f5c518;
    color: #000;
    padding: 4px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
}

.imdb-badge i {
    font-size: 24px;
    line-height: 1;
}

/* Temsili afiş görseli */
.poster-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: transform 0.3s ease;
}

.poster-wrapper:hover img {
    transform: scale(1.05);
}

.btn-photos {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    z-index: 10;
}

.btn-photos:hover {
    background: rgba(0, 0, 0, 0.9);
}

/* --- Animasyonlu Fragmanı İzle Butonu --- */
.btn-trailer {
    width: 100%;
    padding: 12px;
    background: transparent;
    color: #ff3b30;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: transform 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.btn-trailer::before {
    content: '';
    position: absolute;
    z-index: -2;
    left: -50%;
    top: -50%;
    width: 200%;
    height: 200%;
    background-color: transparent;
    background-image: conic-gradient(transparent, transparent, transparent, #ff3b30);
    animation: rotate-border 2.5s linear infinite;
}

.btn-trailer::after {
    content: '';
    position: absolute;
    z-index: -1;
    left: 2px;
    top: 2px;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    background: #f4f7f6;
    border-radius: 23px;
    transition: background 0.3s ease;
}

@keyframes rotate-border {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.btn-trailer:hover {
    color: white;
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(255, 59, 48, 0.4);
}

.btn-trailer:hover::after {
    background: #ff3b30;
}

/* --- Sağ Kısım: Film Bilgileri --- */
.right-column {
    flex-grow: 1;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.movie-header {
    margin-bottom: 25px;
}

.movie-title {
    font-size: 32px;
    font-weight: 700;
    color: #222;
    margin-bottom: 5px;
}

.original-title-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.original-title-label {
    background-color: #f0f0f0;
    color: #555;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 6px;
}

.original-title-text {
    color: #555;
    font-size: 15px;
    font-style: italic;
    font-weight: 500;
}

/* Tamamen Etiketli Bilgi Alanı */
.movie-tags-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.info-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    color: #444;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.info-tag i {
    color: #ff3b30;
    font-size: 14px;
}

/* Sekmeler (Tabs) Tasarımı */
.cinema-tabs {
    display: flex;
    gap: 30px;
    border-bottom: 2px solid #eee;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.cinema-tab-btn {
    background: none;
    border: none;
    padding-bottom: 10px;
    font-size: 15px;
    color: #777;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cinema-tab-btn:hover {
    color: #ff3b30;
}

.cinema-tab-btn.active {
    color: #222;
    font-weight: 600;
}

.cinema-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ff3b30;
    border-radius: 3px 3px 0 0;
    transition: all 0.3s ease;
}

/* --- Sekme İçerikleri --- */
.cinema-tab-content {
    display: none;
    color: #555;
    line-height: 1.6;
    font-size: 15px;
    animation: fadeIn 0.4s ease;
}

.cinema-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- YENİ: Sanatçılar (Oyuncu Kadrosu) Tasarımı --- */
.cast-section {
    margin-bottom: 35px;
}

.cast-section:last-child {
    margin-bottom: 0;
}

.cast-heading {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin-bottom: 20px;
}

.cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 20px;
}

.cast-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    transition: transform 0.3s ease;
    cursor: pointer;
    text-decoration: none !important;
}

.cast-card:hover {
    transform: translateY(-5px);
}

.cast-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    border: 4px solid #fff;
    transition: box-shadow 0.3s ease;
}

.cast-card:hover .cast-avatar {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.12);
}

.cast-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cast-avatar i {
    font-size: 40px;
    color: #d0d0d0;
}

.cast-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.cast-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

.cast-role {
    font-size: 13px;
    color: #888;
    font-weight: 400;
}

/* --- Sinema Salonları Tasarımı --- */
.cinema-filter-bar {
    margin-bottom: 20px;
}

.cinema-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.cinema-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none !important;
    color: #333;
}

.cinema-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
    border-color: #ff3b30;
}

.cinema-placeholder {
    width: 60px;
    height: 80px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ccc;
    font-size: 24px;
    flex-shrink: 0;
}

.cinema-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.cinema-info p {
    font-size: 13px;
    color: #777;
    margin: 0;
}

/* Platformlar Liste Tasarımı */
.platform-list {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.platform-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    cursor: pointer;
}

.platform-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
    border-color: #e50914;
    color: #e50914;
}

.platform-item i {
    font-size: 24px;
}

/* --- Mobil Uyumluluk --- */
@media (max-width: 768px) {
    .movie-card-container {
        flex-direction: column;
        align-items: center;
    }

    .left-column {
        width: 100%;
        max-width: 350px;
    }

    .right-column {
        padding: 25px;
    }

    .movie-title {
        display: block;
    }

    .cinema-tabs {
        gap: 15px;
    }

    .cast-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}

/* --- Image Modal Tasarımı (Tiyatro Detaydan Uyarlama) --- */
.images-modal-section .modal-inner {
    padding: 60px 110px !important
}

.images-modal-section .modal-inner .images-modal-slider {
    height: 600px
}

.images-modal-section .modal-inner .images-modal-slider .swiper-wrapper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center
}

.images-modal-section .modal-inner .images-modal-slider .swiper-wrapper .swiper-slide .img-wrapper {
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.images-modal-section .modal-inner .images-modal-slider .swiper-wrapper .swiper-slide .img-wrapper img {
    object-fit: contain;
    width: 100%;
    height: 100%
}

.images-modal-section .modal-inner .slide-prev,
.images-modal-section .modal-inner .slide-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2
}

.images-modal-section .modal-inner .slide-prev {
    left: 40px
}

.images-modal-section .modal-inner .slide-next {
    right: 40px
}

@media screen and (max-width: 830px) {
    .images-modal-section .modal-inner {
        max-height: 450px;
        padding: 10px !important
    }

    .images-modal-section .modal-inner .images-modal-slider {
        max-height: 330px
    }

    .images-modal-section .modal-inner .images-modal-slider .swiper-wrapper .swiper-slide img {
        max-width: 100%;
        max-height: 330px
    }
}

@media screen and (max-width: 500px) {
    .modal-inner {
        max-height: 450px;
        padding: 10px !important
    }

    .modal-inner .images-modal-slider {
        max-height: 350px;
        margin: 10px 0;
        margin-bottom: 40px
    }

    .modal-inner .images-modal-slider .swiper-wrapper .swiper-slide img {
        max-width: 100%;
        max-height: 550px
    }
}