/* ==========================================================================
   v6.2 — PREMIUM LUXURY UI (Netflix / HBO Max / JustWatch Inspired)
   ========================================================================== */

/* --- PREMIUM HERO --- */
.jw-hero-premium {
    position: relative;
    padding: 100px 0 60px;
    min-height: 550px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center 20%;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.jw-hero-premium__inner { position: relative; z-index: 2; width: 100%; }
.jw-hero-premium__content { max-width: 650px; }

.jw-badge-neon {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    color: #FBC500;
    background: rgba(251,197,0,0.1);
    border: 1px solid rgba(251,197,0,0.3);
    margin-bottom: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(251,197,0,0.2);
}

.jw-title-massive {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    background: linear-gradient(to bottom, #ffffff 40%, #a0aec0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.8));
}

.jw-meta-premium {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #e2e8f0;
}
.jw-score-gold { color: #FBC500; display: flex; align-items: center; gap: 4px; }
.jw-rating-box { border: 1px solid rgba(255,255,255,0.3); padding: 2px 8px; border-radius: 4px; font-size: 0.8rem; }

.jw-hero-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.75);
    margin-bottom: 36px;
    max-width: 550px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.jw-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-play-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: #e50914;
    color: #fff; padding: 12px 32px; border-radius: 4px;
    font-size: 1.1rem; font-weight: 700; text-decoration: none;
    transition: all 0.2s ease;
}
.btn-play-primary:hover { background: #f40612; transform: scale(1.05); }
.btn-trailer-secondary {
    display: inline-flex; align-items: center;
    background: rgba(255,255,255,0.2); backdrop-filter: blur(10px);
    color: #fff; padding: 12px 32px; border-radius: 4px;
    font-size: 1.1rem; font-weight: 700; text-decoration: none;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.2s ease;
}
.btn-trailer-secondary:hover { background: rgba(255,255,255,0.3); transform: scale(1.05); }

/* --- SMART FILTER BAR --- */
.smart-filter-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 16px 32px;
    margin: -30px auto 40px;
    background: rgba(11, 15, 26, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    max-width: 800px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    position: relative;
    z-index: 10;
}
.filter-title { font-weight: 700; color: #a0aec0; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.filter-logos { display: flex; gap: 12px; }
.prov-btn {
    width: 44px; height: 44px; border-radius: 12px; overflow: hidden;
    border: 2px solid transparent; background: #1a202c; cursor: pointer;
    transition: all 0.2s ease; padding: 0; filter: grayscale(50%) opacity(0.7);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; color: #fff; font-size: 0.75rem;
}
.prov-btn img { width: 100%; height: 100%; object-fit: cover; }
.prov-btn:hover { filter: grayscale(0%) opacity(1); transform: translateY(-3px); }
.prov-btn.active { filter: grayscale(0%) opacity(1); border-color: #FBC500; box-shadow: 0 0 15px rgba(251,197,0,0.3); transform: scale(1.1); }

/* --- HORIZONTAL SLIDERS --- */
.slider-section { margin-bottom: 50px; }
.slider-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 16px; padding: 0 4px; }
.slider-header h2 { font-size: 1.4rem; font-weight: 800; color: #e2e8f0; margin: 0; }
.view-all { font-size: 0.85rem; font-weight: 600; color: #FBC500; text-decoration: none; transition: opacity 0.2s; }
.view-all:hover { opacity: 0.8; }

.poster-slider {
    display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; padding: 10px 4px 20px; scroll-behavior: smooth;
    transition: opacity 0.3s ease;
}
.poster-slider::-webkit-scrollbar { display: none; }

.poster-slider .jw-card, .poster-slider .jw-poster-card {
    flex: 0 0 160px;
}

/* FREE SECTION STYLING */
.free-header h2 { color: #fff; display: flex; align-items: center; gap: 10px; }
.free-badge { background: #e50914; padding: 2px 8px; border-radius: 4px; font-size: 0.7rem; }
.card-free { border: 1px solid rgba(229, 9, 20, 0.3) !important; }
.card-free:hover { border-color: #e50914 !important; box-shadow: 0 10px 25px rgba(229, 9, 20, 0.3) !important; }
.card-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.2s; }
.card-free:hover .card-overlay { opacity: 1; }
.card-overlay svg { width: 48px; height: 48px; fill: #e50914; filter: drop-shadow(0 2px 10px rgba(0,0,0,0.5)); }
.poster-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #1a202c; color: #718096; font-size: 0.8rem; text-align: center; padding: 10px; }

@media(max-width: 768px) {
    .jw-hero-premium { min-height: 450px; padding: 80px 0 40px; }
    .jw-title-massive { font-size: 2.2rem; }
    .smart-filter-bar { flex-direction: column; gap: 12px; padding: 16px; margin: -20px 16px 30px; }
    .poster-slider .jw-card, .poster-slider .jw-poster-card { flex: 0 0 120px; }
}