/* ==========================================================================
   SINEMALARDA / VİZYONDAKİ FİLMLER - ULTRA MODERN SİNEMATİK TASARIM
   ========================================================================== */

:root {
    --cin-accent: #e50914;
    --cin-accent-hover: #ff1f2b;
    --cin-accent-glow: rgba(229, 9, 20, 0.45);
    --cin-bg-dark: #0a0b0e;
    --cin-card-bg: rgba(18, 20, 26, 0.75);
    --cin-border: rgba(255, 255, 255, 0.08);
    --cin-border-hover: rgba(255, 255, 255, 0.2);
    --cin-text: #f3f4f6;
    --cin-text-muted: #9ca3af;
    --cin-gold: #f5c518;
}

/* ==========================================================================
   1. ANASAYFA HERO SPOTLIGHT / VİTRİN (KOMPAKT & MODERN)
   ========================================================================== */
.cin-hero {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 18px;
    background: #090a0d;
    border: 1px solid var(--cin-border);
    box-shadow: 0 16px 45px -10px rgba(0, 0, 0, 0.75), 0 0 1px 1px rgba(255, 255, 255, 0.05);
    isolation: isolate;
    transition: box-shadow 0.3s ease;
}

.cin-hero:hover {
    box-shadow: 0 20px 50px -8px rgba(0, 0, 0, 0.85), 0 0 25px -5px rgba(229, 9, 20, 0.12);
}

/* Çift katmanlı yumuşak crossfade ambient arka plan */
.cin-backdrop-wrap {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.cin-backdrop-layer {
    position: absolute;
    inset: -20px;
    background-size: cover;
    background-position: center 25%;
    filter: blur(28px) saturate(1.25) brightness(0.65);
    transform: scale(1.08);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s ease;
    opacity: 0;
}

.cin-backdrop-layer.active {
    opacity: 0.65;
    transform: scale(1.03);
}

/* Sinematik radial & linear degrade katmanı */
.cin-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 800px 450px at 85% 15%, rgba(229, 9, 20, 0.1), transparent 70%),
        radial-gradient(ellipse 600px 350px at 15% 85%, rgba(245, 197, 24, 0.04), transparent 60%),
        linear-gradient(90deg, #090a0d 0%, rgba(9, 10, 13, 0.93) 42%, rgba(9, 10, 13, 0.55) 100%),
        linear-gradient(0deg, #090a0d 0%, rgba(9, 10, 13, 0.45) 40%, transparent 100%);
}

.cin-hero-inner {
    display: flex;
    flex-direction: column;
    padding: 16px 20px 14px;
    gap: 14px;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Üst Bar (Top Bar)
   ========================================================================== */
.cin-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 10px;
}

.cin-badge-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Segmented Kategori Sekmeleri */
.cin-category-tabs {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(8px);
}

.cin-cat-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: var(--cin-text-muted);
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cin-cat-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.cin-cat-btn.active {
    color: #fff;
    background: linear-gradient(135deg, var(--cin-accent), #ff334b);
    box-shadow: 0 3px 12px var(--cin-accent-glow);
}

.cin-cat-count {
    display: inline-flex;
    padding: 0 6px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.16);
}

.cin-meta-item.badge-upcoming {
    background: rgba(255, 159, 28, 0.15);
    border-color: rgba(255, 159, 28, 0.4);
    color: #ff9f1c;
    font-weight: 700;
}

.cin-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.95), rgba(255, 75, 43, 0.9));
    box-shadow: 0 3px 12px var(--cin-accent-glow);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cin-pulse {
    position: relative;
    display: inline-flex;
    width: 7px;
    height: 7px;
}

.cin-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
}

.cin-pulse-ring {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    animation: cinPulseRing 1.8s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes cinPulseRing {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

.cin-top-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cin-counter {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.cin-counter .current {
    color: #fff;
    font-weight: 800;
}

.cin-nav-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cin-nav-btn:hover {
    background: var(--cin-accent);
    border-color: var(--cin-accent);
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 3px 10px var(--cin-accent-glow);
}

.cin-all-link {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.cin-all-link:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    transform: translateX(2px);
}

/* ==========================================================================
   Ana Vitrin Sahnesi (Spotlight Body - Kompakt)
   ========================================================================== */
.cin-spotlight {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    min-height: auto;
}

/* Poster Alanı */
.cin-poster-wrap {
    position: relative;
    width: 140px;
    aspect-ratio: 2 / 3;
    border-radius: 14px;
    overflow: hidden;
    background: #14161b;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.06);
    cursor: pointer;
    text-decoration: none;
    display: block;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.25s ease;
}

.cin-poster-wrap:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(229, 9, 20, 0.5);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.8), 0 0 22px var(--cin-accent-glow);
}

.cin-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cin-poster-wrap:hover .cin-poster-img {
    transform: scale(1.05);
}

/* Poster üstü puan rozeti */
.cin-poster-score {
    position: absolute;
    top: 8px;
    left: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 8px;
    background: rgba(9, 10, 13, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(245, 197, 24, 0.3);
    color: var(--cin-gold);
    font-size: 11.5px;
    font-weight: 800;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.cin-poster-score i {
    font-size: 11px;
    color: var(--cin-gold);
}

/* Poster üstü izleme durumu rozeti */
.cin-poster-badge-status {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #fff;
    backdrop-filter: blur(8px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.cin-poster-badge-status.watched {
    background: rgba(46, 204, 113, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cin-poster-badge-status.watchlist {
    background: rgba(229, 9, 20, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Poster hover overlay (Play Icon) */
.cin-poster-hover-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(9, 10, 13, 0.4);
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 1;
}

.cin-poster-play-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--cin-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    box-shadow: 0 6px 18px var(--cin-accent-glow);
    transform: scale(0.85);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cin-poster-wrap:hover .cin-poster-hover-overlay {
    opacity: 1;
}

.cin-poster-wrap:hover .cin-poster-play-btn {
    transform: scale(1);
}

/* ==========================================================================
   Film Bilgileri (Showcase Info)
   ========================================================================== */
.cin-info-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.cin-info-content {
    animation: cinContentFade 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cinContentFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cin-orig-title {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--cin-accent);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cin-title {
    font-size: clamp(20px, 2.3vw, 28px);
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin: 0 0 8px 0;
    color: #fff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}

.cin-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cin-title a:hover {
    color: #ff334b;
}

/* Meta Satırı (Pill / Badges) */
.cin-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
}

.cin-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3.5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    color: #e2e8f0;
}

.cin-meta-item.rating {
    background: rgba(245, 197, 24, 0.12);
    border-color: rgba(245, 197, 24, 0.3);
    color: var(--cin-gold);
    font-weight: 750;
}

.cin-meta-item.date {
    color: #fff;
    font-weight: 700;
}

.cin-meta-item.genre {
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.05);
}

/* Özet / Sinopsis (2 Satır Kompakt) */
.cin-overview {
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.5;
    max-width: 650px;
    margin: 0 0 14px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

/* Aksiyon Butonları */
.cin-actions-bar {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.cin-btn-main {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, var(--cin-accent), #ff334b);
    box-shadow: 0 5px 16px var(--cin-accent-glow);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.cin-btn-main:hover {
    background: linear-gradient(135deg, #ff1f2b, #ff4d63);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(229, 9, 20, 0.6);
}

.cin-btn-glass {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
    cursor: pointer;
}

.cin-btn-glass:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    transform: translateY(-2px);
}

.cin-btn-glass i {
    font-size: 14px;
    color: #ff4d63;
}

/* ==========================================================================
   İlerleme Çubuğu (Autoplay Progress Bar)
   ========================================================================== */
.cin-progress-container {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
    margin-top: 2px;
}

.cin-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--cin-accent), #ff5a3c);
    box-shadow: 0 0 8px var(--cin-accent-glow);
    border-radius: 999px;
    transition: width 0.1s linear;
}

/* ==========================================================================
   Alt Film Rayı / Minyatür Kartlar (Kompakt Film Rail)
   ========================================================================== */
.cin-rail-wrapper {
    position: relative;
    margin-top: 2px;
}

.cin-rail-wrapper::before,
.cin-rail-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 25px;
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.cin-rail-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, #090a0d 0%, transparent 100%);
}

.cin-rail-wrapper::after {
    right: 0;
    background: linear-gradient(-90deg, #090a0d 0%, transparent 100%);
}

.cin-rail-wrapper.can-scroll-left::before {
    opacity: 1;
}

.cin-rail-wrapper.can-scroll-right::after {
    opacity: 1;
}

.cin-rail {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 2px 8px 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    user-select: none;
    cursor: grab;
}

.cin-rail::-webkit-scrollbar {
    display: none;
}

.cin-rail.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

/* Minyatür İnteraktif Film Kartı (Kompakt 80px) */
.cin-thumb-card {
    flex: 0 0 auto;
    width: 82px;
    border-radius: 11px;
    overflow: hidden;
    position: relative;
    background: rgba(22, 25, 33, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0.65;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.cin-thumb-card:hover {
    opacity: 0.95;
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

.cin-thumb-card.active {
    opacity: 1;
    transform: translateY(-3px);
    border-color: var(--cin-accent);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), 0 0 16px var(--cin-accent-glow);
}

.cin-thumb-poster-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #14161b;
}

.cin-thumb-poster-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.cin-thumb-card:hover .cin-thumb-poster-wrap img {
    transform: scale(1.05);
}

/* Thumb üstündeki puan rozeti */
.cin-thumb-rating {
    position: absolute;
    top: 4px;
    right: 4px;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 1.5px 5px;
    border-radius: 5px;
    background: rgba(9, 10, 13, 0.85);
    backdrop-filter: blur(5px);
    color: var(--cin-gold);
    font-size: 9.5px;
    font-weight: 800;
}

/* Thumb alt bilgi çubuğu */
.cin-thumb-info {
    padding: 4px 6px 5px;
    background: rgba(14, 16, 21, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cin-thumb-title {
    font-size: 10.5px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    margin: 0;
}

.cin-thumb-year {
    font-size: 9.5px;
    color: var(--cin-text-muted);
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Aktif thumb alt gösterge çizgisi */
.cin-thumb-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2.5px;
    background: var(--cin-accent);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.cin-thumb-card.active::after {
    opacity: 1;
}

.cin-rail::-webkit-scrollbar {
    display: none;
}

.cin-rail.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

/* Minyatür İnteraktif Film Kartı */
.cin-thumb-card {
    flex: 0 0 auto;
    width: 110px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    background: rgba(22, 25, 33, 0.85);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    opacity: 0.65;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.cin-thumb-card:hover {
    opacity: 0.95;
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.cin-thumb-card.active {
    opacity: 1;
    transform: translateY(-5px);
    border-color: var(--cin-accent);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 20px var(--cin-accent-glow);
}

.cin-thumb-poster-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #14161b;
}

.cin-thumb-poster-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    transition: transform 0.4s ease;
}

.cin-thumb-card:hover .cin-thumb-poster-wrap img {
    transform: scale(1.06);
}

/* Thumb üstündeki puan rozeti */
.cin-thumb-rating {
    position: absolute;
    top: 6px;
    right: 6px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(9, 10, 13, 0.85);
    backdrop-filter: blur(6px);
    color: var(--cin-gold);
    font-size: 10.5px;
    font-weight: 800;
}

/* Thumb alt bilgi çubuğu */
.cin-thumb-info {
    padding: 7px 8px 8px;
    background: rgba(14, 16, 21, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cin-thumb-title {
    font-size: 11.5px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
    margin: 0;
}

.cin-thumb-year {
    font-size: 10.5px;
    color: var(--cin-text-muted);
    margin-top: 2px;
}

/* Aktif thumb alt gösterge çizgisi */
.cin-thumb-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--cin-accent);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.cin-thumb-card.active::after {
    opacity: 1;
}

/* ==========================================================================
   Fragman Video Modalı (Trailer Modal)
   ========================================================================== */
.cin-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 5, 8, 0.88);
    backdrop-filter: blur(14px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: cinModalFadeIn 0.3s ease;
}

.cin-modal-overlay.active {
    display: flex;
}

@keyframes cinModalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cin-modal-container {
    width: 100%;
    max-width: 900px;
    background: #101217;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 30px var(--cin-accent-glow);
    overflow: hidden;
    position: relative;
    transform: scale(0.95);
    animation: cinModalScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cinModalScaleUp {
    to { transform: scale(1); }
}

.cin-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cin-modal-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cin-modal-title i {
    color: var(--cin-accent);
}

.cin-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.cin-modal-close:hover {
    background: var(--cin-accent);
    transform: rotate(90deg);
}

.cin-modal-video-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
}

.cin-modal-video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================================================
   2. SİNEMALARDA SAYFASI (sinemalarda.php) STİLLERİ
   ========================================================================== */
.cin-page-hero {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    padding: 48px 40px;
    margin-bottom: 28px;
    background:
        radial-gradient(1100px 380px at 85% -20%, rgba(229, 9, 20, 0.35), transparent 60%),
        linear-gradient(135deg, #1b1214 0%, #0c0e12 75%);
    border: 1px solid var(--cin-border);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.cin-page-hero h1 {
    font-size: clamp(30px, 4.2vw, 48px);
    font-weight: 850;
    margin: 14px 0 10px;
    letter-spacing: -0.6px;
    color: #fff;
}

.cin-page-hero p {
    color: #cbd5e1;
    margin: 0;
    max-width: 680px;
    font-size: 15px;
    line-height: 1.6;
}

.cin-tabs {
    display: inline-flex;
    gap: 8px;
    padding: 7px;
    margin-bottom: 26px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--cin-border);
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}

.cin-tabs::-webkit-scrollbar {
    display: none;
}

.cin-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 0;
    border-radius: 11px;
    cursor: pointer;
    background: transparent;
    color: var(--cin-text-muted);
    font-weight: 650;
    font-size: 14px;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cin-tab:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
}

.cin-tab.active {
    color: #fff;
    background: linear-gradient(135deg, var(--cin-accent), #ba0811);
    box-shadow: 0 6px 18px var(--cin-accent-glow);
}

.cin-tab .cnt {
    background: rgba(255, 255, 255, 0.18);
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.cin-panel {
    display: none;
}

.cin-panel.active {
    display: block;
    animation: cinContentFade 0.4s ease;
}

.cin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
    gap: 24px 20px;
}

.cin-card {
    position: relative;
    border-radius: 16px;
}

.cin-card-poster {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    border-radius: 16px;
    overflow: hidden;
    background: #14161b;
    border: 1px solid var(--cin-border);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s;
}

.cin-card-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.cin-card:hover .cin-card-poster {
    transform: translateY(-8px);
    border-color: var(--cin-accent);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 25px var(--cin-accent-glow);
}

.cin-card:hover .cin-card-poster img {
    transform: scale(1.07);
}

.cin-card-poster .cin-score {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 9px;
    border-radius: 8px;
    background: rgba(9, 10, 13, 0.85);
    backdrop-filter: blur(8px);
    color: var(--cin-gold);
    font-weight: 800;
    font-size: 12px;
}

.cin-card-poster .cin-lib {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(46, 204, 113, 0.92);
    color: #fff;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.cin-card-poster .cin-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    background: linear-gradient(0deg, rgba(8, 9, 12, 0.96) 0%, rgba(8, 9, 12, 0.6) 48%, transparent 80%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.cin-overlay p {
    margin: 0 0 10px;
    font-size: 12.5px;
    line-height: 1.5;
    color: #e2e8f0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cin-overlay .go {
    font-size: 12.5px;
    font-weight: 750;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.cin-date-pill {
    position: absolute;
    bottom: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    background: var(--cin-accent);
    color: #fff;
    letter-spacing: 0.3px;
    transition: opacity 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.cin-card:hover .cin-date-pill {
    opacity: 0;
}

.cin-card-title {
    margin: 12px 2px 2px;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.35;
}

.cin-card-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.cin-card-title a:hover {
    color: var(--cin-accent);
}

.cin-card-sub {
    font-size: 12px;
    color: var(--cin-text-muted);
    margin: 3px 2px;
}

.cin-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--cin-text-muted);
    border: 1px dashed var(--cin-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.02);
}

/* ==========================================================================
   RESPONSIVE UYUMLULUK (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 992px) {
    .cin-hero-inner {
        padding: 22px 22px 18px;
    }
    .cin-spotlight {
        grid-template-columns: 200px minmax(0, 1fr);
        gap: 24px;
        min-height: auto;
    }
    .cin-poster-wrap {
        width: 200px;
    }
    .cin-thumb-card {
        width: 96px;
    }
}

@media (max-width: 768px) {
    .cin-hero-inner {
        padding: 18px 16px 14px;
        gap: 18px;
    }
    .cin-hero-top {
        gap: 12px;
    }
    .cin-spotlight {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .cin-poster-wrap {
        width: 140px;
        margin: 0 auto;
    }
    .cin-info-wrap {
        text-align: center;
    }
    .cin-orig-title {
        justify-content: center;
    }
    .cin-meta-row {
        justify-content: center;
    }
    .cin-actions-bar {
        justify-content: center;
    }
    .cin-overview {
        margin: 0 auto 20px;
    }
    .cin-thumb-card {
        width: 86px;
    }
    .cin-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 16px 12px;
    }
    .cin-page-hero {
        padding: 28px 20px;
    }
}
