/* ==========================================================================
   CineAI: Netflix-Grade Cinematic Streaming Platform Styles
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --cine-bg: #0c0c10;
    --cine-surface: #14141c;
    --cine-surface-card: #191924;
    --cine-surface-hover: #222230;
    --cine-red: #e50914;
    --cine-red-hover: #f40612;
    --cine-red-glow: rgba(229, 9, 20, 0.45);
    --cine-purple: #8b5cf6;
    --cine-cyan: #06b6d4;
    --cine-green-match: #46d369;
    --cine-text: #ffffff;
    --cine-text-muted: #9ca3af;
    --cine-border: rgba(255, 255, 255, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--cine-bg);
    color: var(--cine-text);
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    letter-spacing: -0.01em;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #09090c;
}
::-webkit-scrollbar-thumb {
    background: #262633;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--cine-red);
}

/* ==========================================================================
   Navbar (Netflix Style Transparent to Solid Black)
   ========================================================================== */
.cine-navbar {
    background: linear-gradient(180deg, rgba(12, 12, 16, 0.95) 0%, rgba(12, 12, 16, 0.6) 60%, rgba(12, 12, 16, 0) 100%);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 1.25rem 0;
    z-index: 1040;
}

.cine-navbar.scrolled {
    background: rgba(10, 10, 14, 0.96) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.75rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cine-brand {
    font-size: 1.85rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.1rem;
    font-family: 'Outfit', sans-serif;
}

.cine-brand .brand-red {
    color: var(--cine-red);
    text-shadow: 0 0 16px var(--cine-red-glow);
}

.cine-brand .brand-badge {
    background: linear-gradient(135deg, var(--cine-red) 0%, #b91c1c 100%);
    font-size: 0.62rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-left: 0.4rem;
    text-transform: uppercase;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(229, 9, 20, 0.4);
}

.cine-nav-link {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
}

.cine-nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.cine-nav-link.active {
    color: #ffffff;
    font-weight: 700;
}

/* Search Bar in Navbar */
.cine-nav-search {
    position: relative;
    width: 240px;
    transition: width 0.3s ease;
}

.cine-nav-search:focus-within {
    width: 300px;
}

.cine-nav-search input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50rem;
    color: #ffffff;
    padding: 0.4rem 1rem 0.4rem 2.3rem;
    font-size: 0.85rem;
    width: 100%;
    transition: all 0.25s ease;
}

.cine-nav-search input:focus {
    background: rgba(15, 15, 20, 0.95);
    border-color: var(--cine-red);
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.35);
    outline: none;
    color: #ffffff;
}

.cine-nav-search i {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
    font-size: 0.9rem;
}

/* ==========================================================================
   Hero Billboard Banner (Netflix Master Showcase)
   ========================================================================== */
.cine-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center 20%;
    background-repeat: no-repeat;
    margin-top: -95px;
    padding-top: 130px;
    padding-bottom: 90px;
    overflow: hidden;
}

.cine-hero-backdrop {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 20%;
    background-repeat: no-repeat;
    transform: scale(1.02);
    filter: brightness(0.95);
}

.cine-hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 75% 30%, rgba(229, 9, 20, 0.12) 0%, transparent 60%),
        linear-gradient(to top, var(--cine-bg) 0%, rgba(12, 12, 16, 0.75) 25%, transparent 60%),
        linear-gradient(to right, rgba(12, 12, 16, 0.96) 0%, rgba(12, 12, 16, 0.8) 42%, transparent 85%),
        linear-gradient(to bottom, rgba(12, 12, 16, 0.7) 0%, transparent 18%);
    pointer-events: none;
}

.cine-hero-content {
    position: relative;
    z-index: 5;
    max-width: 680px;
}

/* Top 10 Ribbon Badge */
.cine-top10-ribbon {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(229, 9, 20, 0.15);
    border: 1px solid rgba(229, 9, 20, 0.4);
    color: #f87171;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 0.25rem 0.75rem;
    border-radius: 50rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    box-shadow: 0 0 12px rgba(229, 9, 20, 0.2);
}

.cine-top10-ribbon i {
    color: var(--cine-red);
}

.cine-hero-title {
    font-size: clamp(2.5rem, 5.8vw, 4.2rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 1.1rem;
    color: #ffffff;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9);
}

.cine-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
}

.cine-match-badge {
    color: var(--cine-green-match);
    font-weight: 800;
    font-size: 0.95rem;
}

.cine-badge-age {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #e5e5e5;
    padding: 0.1rem 0.5rem;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.4);
}

.cine-badge-quality {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 0.1rem 0.45rem;
    border-radius: 3px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    background: rgba(0, 0, 0, 0.4);
}

.cine-ai-tools-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f3f4f6;
    padding: 0.2rem 0.65rem;
    border-radius: 50rem;
    font-size: 0.76rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.cine-hero-synopsis {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e5e7eb;
    margin-bottom: 1.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

/* Hero Action Buttons */
.btn-cine-play {
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 50rem;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 0.75rem 2.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.25);
}

.btn-cine-play:hover {
    background: #e50914;
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(229, 9, 20, 0.55);
}

.btn-cine-play i {
    color: #e50914;
    transition: color 0.25s ease;
}

.btn-cine-play:hover i {
    color: #ffffff;
}

.btn-cine-info {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50rem;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.75rem 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.25s ease;
    text-decoration: none;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.btn-cine-info:hover {
    background: rgba(255, 255, 255, 0.28);
    color: #ffffff;
    transform: scale(1.04);
}

.btn-cine-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.25s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.btn-cine-circle:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.12);
}

/* Hero Right Maturity Banner Strip */
.cine-hero-right-strip {
    position: absolute;
    bottom: 90px;
    right: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    background: rgba(18, 18, 24, 0.75);
    border-left: 3px solid #d1d5db;
    padding: 0.45rem 1.4rem 0.45rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    backdrop-filter: blur(8px);
}

/* ==========================================================================
   Horizontal Netflix Slider Rows
   ========================================================================== */
.cine-section-row {
    margin-bottom: 3.25rem;
    position: relative;
    z-index: 10;
}

.cine-row-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
}

.cine-row-title {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #f3f4f6;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.cine-row-see-all {
    color: #9ca3af;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.cine-row-see-all:hover {
    color: var(--cine-red);
    transform: translateX(3px);
}

/* Slider Track */
.cine-slider-wrapper {
    position: relative;
    padding: 0 0.25rem;
}

.cine-slider-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 1.25rem 0.5rem 2rem 0.5rem;
    scrollbar-width: none; /* Firefox */
}

.cine-slider-track::-webkit-scrollbar {
    display: none; /* Chrome & Safari */
}

/* ==========================================================================
   Iconic Netflix Top 10 Numbered Card
   ========================================================================== */
.cine-top10-card-item {
    display: flex;
    align-items: center;
    flex: 0 0 290px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cine-top10-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 9rem;
    line-height: 0.8;
    font-weight: 900;
    color: #0c0c10;
    -webkit-text-stroke: 4px #4b5563;
    position: relative;
    right: -25px;
    z-index: 1;
    user-select: none;
    transition: all 0.3s ease;
}

.cine-top10-card-item:hover .cine-top10-number {
    -webkit-text-stroke: 4px var(--cine-red);
    text-shadow: 0 0 20px rgba(229, 9, 20, 0.6);
}

.cine-top10-card-item .cine-card {
    flex: 0 0 200px;
    z-index: 2;
}

/* Standard Media Cards */
.cine-card {
    flex: 0 0 220px;
    width: 220px;
    height: 330px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: var(--cine-surface-card);
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.35s ease;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 992px) {
    .cine-card {
        flex: 0 0 235px;
        width: 235px;
        height: 350px;
    }
}

.cine-card:hover {
    transform: scale(1.09) translateY(-8px);
    z-index: 30;
    box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.95), 0 0 30px rgba(229, 9, 20, 0.45);
    border-color: rgba(229, 9, 20, 0.6);
}

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

.cine-card:hover .cine-card-poster {
    transform: scale(1.05);
}

.cine-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 40%, rgba(12, 12, 16, 0.95) 85%, #0c0c10 100%);
    opacity: 0.88;
    transition: opacity 0.3s ease;
}

.cine-card:hover .cine-card-overlay {
    opacity: 0.96;
}

.cine-card-top-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.cine-badge-orig-mini {
    background: var(--cine-red);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.18rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 2px 8px rgba(229, 9, 20, 0.5);
}

.cine-badge-rating-pill {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fbbf24;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    backdrop-filter: blur(6px);
}

/* Card Content Details */
.cine-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.1rem 1rem;
    z-index: 3;
}

.cine-card-title {
    font-size: 1.02rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    line-height: 1.25;
    color: #ffffff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.cine-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 0.65rem;
}

.cine-card-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.cine-card-tool-tag {
    font-size: 0.68rem;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: #f3f4f6;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Floating Hover Action Play */
.cine-card-play-hover {
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--cine-red);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    opacity: 0;
    transition: all 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(229, 9, 20, 0.7);
    z-index: 4;
}

.cine-card:hover .cine-card-play-hover {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Slider Left/Right Arrows */
.cine-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 90%;
    background: rgba(12, 12, 16, 0.85);
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
    z-index: 35;
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.cine-slider-wrapper:hover .cine-slider-arrow {
    opacity: 1;
}

.cine-slider-arrow:hover {
    background: rgba(229, 9, 20, 0.85);
    color: #ffffff;
}

.cine-slider-arrow.left {
    left: 0;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.cine-slider-arrow.right {
    right: 0;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

/* ==========================================================================
   Netflix Stili Quick-Info Detay Modalı
   ========================================================================== */
.modal-content.cine-modal-content {
    background: #14141c;
    color: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95);
}

.cine-modal-hero {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center 20%;
}

.cine-modal-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 20, 28, 0.1) 0%, rgba(20, 20, 28, 0.6) 50%, #14141c 100%);
}

.cine-modal-hero-content {
    position: absolute;
    bottom: 24px;
    left: 32px;
    right: 32px;
    z-index: 2;
}

.cine-modal-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(18, 18, 24, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.cine-modal-close-btn:hover {
    background: #ffffff;
    color: #000000;
    transform: scale(1.1);
}

/* ==========================================================================
   Creator Studio & Form Controls
   ========================================================================== */
.cine-form-card {
    background: var(--cine-surface);
    border: 1px solid var(--cine-border);
    border-radius: 14px;
    padding: 2.25rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.cine-input {
    background: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 0.8rem 1rem !important;
    font-size: 0.95rem !important;
}

.cine-input:focus {
    border-color: var(--cine-red) !important;
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.25) !important;
}

.cine-tool-checkbox-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.cine-tool-checkbox-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}
