/* ============================================================
   CINEMAXTR MASAÜSTÜ OPTİMİZASYON PAKETİ
   Büyük ekranlar için özel stiller, hover efektleri, tipografi
   ============================================================ */

/* === MASAÜSTÜ GENEL AYARLAR (1024px ve üstü) === */
@media (min-width: 1024px) {
    /* Container genişliği */
    .container { max-width: 1400px; padding: 0 32px; }
    
    /* Tipografi */
    body { font-size: 15px; }
    h1 { letter-spacing: -0.5px; }
    
    /* Scrollbar özelleştirme */
    ::-webkit-scrollbar { width: 8px; }
    ::-webkit-scrollbar-track { background: var(--bg); }
    ::-webkit-scrollbar-thumb { background: #2a2a3a; border-radius: 4px; }
    ::-webkit-scrollbar-thumb:hover { background: var(--red); }
    
    /* Header masaüstü */
    .header { padding: 16px 0; }
    .header-inner { gap: 24px; }
    .logo-text { font-size: 26px; }
    .logo-icon { width: 44px; height: 44px; font-size: 18px; }
    .nav-link { padding: 10px 18px; font-size: 14px; }
    .header-actions .btn { padding: 10px 22px; font-size: 14px; }
    
    /* Hero masaüstü */
    .hero { height: 85vh; min-height: 600px; }
    .hero-title { font-size: 52px; }
    .hero-desc { font-size: 15px; max-width: 600px; }
    .hero-badge { font-size: 12px; padding: 6px 16px; }
    .hero-meta { font-size: 15px; gap: 16px; }
    .hero-buttons .btn { font-size: 16px; padding: 16px 32px; }
    .hero-content { padding-bottom: 100px; }
    
    /* Film Grid masaüstü */
    .movie-grid { 
        grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); 
        gap: 22px; 
    }
    .movie-card { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
    .movie-card:hover { 
        transform: translateY(-10px); 
        z-index: 10; 
    }
    .movie-poster { 
        border-radius: 14px; 
        margin-bottom: 12px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.4);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .movie-card:hover .movie-poster {
        box-shadow: 0 16px 40px rgba(229,9,20,0.25);
    }
    .movie-card:hover .movie-poster img {
        transform: scale(1.08);
    }
    .movie-title { font-size: 14px; }
    .movie-year { font-size: 12px; }
    .movie-rating { font-size: 11px; padding: 4px 10px; top: 10px; right: 10px; }
    .movie-quality { font-size: 11px; padding: 4px 10px; top: 10px; left: 10px; }
    .movie-play { width: 50px; height: 50px; font-size: 18px; }
    
    /* Section başlıkları */
    .section-title { font-size: 24px; }
    .section-link { font-size: 14px; }
    .movie-section { margin-bottom: 56px; }
    
    /* Film Detay masaüstü */
    .detail-hero { min-height: 70vh; padding: 140px 0 60px; }
    .detail-content { gap: 40px; }
    .poster { width: 300px; border-radius: 16px; }
    .info h1 { font-size: 42px; letter-spacing: -1px; }
    .tagline { font-size: 16px; }
    .meta { font-size: 15px; gap: 18px; }
    .genre { font-size: 13px; padding: 7px 18px; }
    .overview { font-size: 15px; line-height: 1.8; max-width: 700px; }
    
    /* Player */
    .player-tab { padding: 12px 24px; font-size: 14px; }
    .embed-wrapper { border-radius: 16px; }
    
    /* Cast */
    .cast-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 20px; }
    .cast-card img { width: 90px; height: 90px; }
    .cast-name { font-size: 14px; }
    .cast-char { font-size: 12px; }
    
    /* Yorumlar */
    .comment-form textarea { font-size: 14px; min-height: 100px; }
    .comment-item { padding: 20px; }
    .comment-user { font-size: 15px; }
    .comment-text { font-size: 14px; }
    
    /* Footer */
    .footer { padding: 40px 0 24px; }
    .footer p { font-size: 13px; }
    
    /* Butonlar genel */
    .btn { 
        padding: 12px 28px; 
        font-size: 14px; 
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .btn:hover { transform: translateY(-2px); }
    .btn-red:hover { box-shadow: 0 8px 30px rgba(229,9,20,0.35); }
    .btn-glass:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }
    
    /* Dropdown masaüstü */
    .dropdown-menu { border-radius: 12px; padding: 10px 0; min-width: 200px; }
    .dropdown-menu a { padding: 10px 20px; font-size: 14px; }
    
    /* Hover efektleri - kartlar */
    .movie-card:hover .movie-play { transform: translate(-50%, -50%) scale(1); }
    
    /* Glass morphism efektleri */
    .header.scrolled { backdrop-filter: blur(24px); }
    
    /* Smooth scroll */
    html { scroll-behavior: smooth; }
    
    /* Selection */
    ::selection { background: var(--red); color: white; }
    
    /* Focus */
    a:focus-visible, button:focus-visible, input:focus-visible {
        outline: 2px solid var(--red);
        outline-offset: 2px;
    }
}

/* === BÜYÜK MASAÜSTÜ (1440px ve üstü) === */
@media (min-width: 1440px) {
    .container { max-width: 1500px; padding: 0 40px; }
    .movie-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; }
    .hero-title { font-size: 60px; }
    .hero-desc { max-width: 650px; }
}

/* === ULTRA GENİŞ (1920px ve üstü) === */
@media (min-width: 1920px) {
    .container { max-width: 1700px; }
    .movie-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
    .hero-title { font-size: 64px; }
}

/* === MASAÜSTÜ HOVER ANİMASYONLARI === */
@media (min-width: 1024px) {
    /* Dropdown hover animasyonu */
    .dropdown:hover .dropdown-menu {
        animation: dropdownIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }
    @keyframes dropdownIn {
        from { opacity: 0; transform: translateY(8px); }
        to { opacity: 1; transform: translateY(4px); }
    }
    
    /* Nav link hover */
    .nav-link {
        position: relative;
        transition: all 0.2s ease;
    }
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: var(--red);
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }
    .nav-link:hover::after { width: 60%; }
    .nav-link.active::after { width: 60%; }
    
    /* Kart hover glow efekti */
    .movie-card .movie-poster::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: inherit;
        box-shadow: inset 0 0 0 0 rgba(229,9,20,0);
        transition: box-shadow 0.4s ease;
    }
    .movie-card:hover .movie-poster::after {
        box-shadow: inset 0 0 30px rgba(229,9,20,0.15);
    }
}

/* ============================================================
   MASAÜSTÜ DÜZELTMELERİ - Sekme, Grid, Genel
   ============================================================ */

/* Nav düzeltmesi */
@media (min-width: 1024px) {
    .nav { display: flex !important; }
    .nav-list { 
        display: flex !important; 
        flex-direction: row !important;
        align-items: center;
        gap: 6px;
    }
    .nav-link { 
        white-space: nowrap;
        padding: 10px 18px;
    }
    .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .header-actions {
        flex-shrink: 0;
    }
    .mobile-toggle {
        display: none !important;
    }

    /* Film grid düzeltmesi */
    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
        gap: 22px;
    }
}

/* Tüm sayfalarda container tutarlılığı */
.container {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

@media (min-width: 1440px) {
    .container { max-width: 1500px; padding-left: 32px; padding-right: 32px; }
}

/* Buton ve link düzeltmeleri */
.btn, .nav-link, .filter-btn, .player-tab, .watch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
}

/* Header fix */
.header { position: fixed; width: 100%; top: 0; z-index: 1000; }
body { padding-top: 0; }

/* Footer alt boşluk */
.footer { margin-top: 40px; }

/* Modal düzeltme */
.modal, .yt-modal {
    display: flex;
    align-items: center;
    justify-content: center;
}
