/*
Theme Name: Portal Videos Pro - Cinema Streaming Edition
Author: Especialista Web
Description: Tema Cinema Streaming com Hero Billboard, fileiras horizontais e velocidade otimizada para o Google.
Version: 31.0.0
*/

:root {
    --cine-bg: #0a0a0c;
    --cine-header: rgba(10, 10, 12, 0.95);
    --cine-card-bg: #141418;
    --cine-yellow: #facc15;
    --cine-yellow-hover: #eab308;
    --cine-text: #ffffff;
    --cine-muted: #9ca3af;
    --cine-border: #26262a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body.cinema-streaming-body {
    background-color: var(--cine-bg);
    color: var(--cine-text);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul, ol, li { list-style: none !important; margin: 0; padding: 0; }
li::before, li::marker { content: "" !important; display: none !important; }

/* CABEÇALHO */
.cinema-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 68px;
    background: linear-gradient(180deg, rgba(0,0,0,0.92) 0%, rgba(10,10,12,0.75) 70%, transparent 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
}
.cinema-header-inner {
    max-width: 1560px; margin: 0 auto;
    height: 100%; padding: 0 28px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.cinema-logo {
    font-size: 1.45rem; font-weight: 900;
    color: var(--cine-yellow); text-transform: uppercase;
    letter-spacing: -0.5px; flex-shrink: 0;
}
.cinema-nav { flex: 1; margin-left: 20px; }
.cinema-nav-list { display: flex; align-items: center; gap: 22px; }
.cinema-nav-list li a {
    font-size: 0.88rem; font-weight: 600; color: #d1d5db;
    transition: color 0.2s ease; padding: 6px 0;
}
.cinema-nav-list li.active a, .cinema-nav-list li a:hover {
    color: #fff;
    border-bottom: 2px solid var(--cine-yellow);
}
.cinema-header-right { flex-shrink: 0; }
.cinema-search-form {
    display: flex; align-items: center; background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18); border-radius: 20px; padding: 5px 14px;
}
.cinema-search-input {
    background: transparent; border: none; outline: none;
    color: #ffffff; font-size: 0.88rem; width: 160px;
}
.cinema-search-input::placeholder { color: #9ca3af; }
.cinema-search-btn { background: transparent; border: none; cursor: pointer; color: #fff; font-size: 0.95rem; }

/* HERO BANNER (BILLBOARD) */
.cinema-hero-billboard {
    position: relative;
    width: 100%;
    min-height: 74vh;
    background-size: cover;
    background-position: center top;
    display: flex;
    align-items: center;
    padding: 110px 40px 60px 40px;
}
.hero-gradient-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(10,10,12,0.96) 0%, rgba(10,10,12,0.65) 50%, rgba(10,10,12,0.1) 100%),
                linear-gradient(0deg, #0a0a0c 0%, transparent 40%);
    pointer-events: none;
}
.hero-content-wrap {
    position: relative; z-index: 2;
    max-width: 640px;
}
.hero-title {
    font-size: 3.4rem; font-weight: 900;
    line-height: 1.1; text-transform: uppercase;
    margin-bottom: 14px; text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}
.hero-meta-row {
    display: flex; align-items: center; gap: 10px;
    flex-wrap: wrap; margin-bottom: 16px; font-size: 0.85rem; font-weight: 700;
}
.badge-relevance { color: #22c55e; }
.badge-rating { color: var(--cine-yellow); }
.badge-rating-age {
    background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.3);
    padding: 1px 6px; border-radius: 4px; font-size: 0.75rem;
}
.meta-genre { color: #9ca3af; }
.hero-synopsis {
    font-size: 0.95rem; color: #d1d5db; line-height: 1.6;
    margin-bottom: 24px; display: -webkit-box; -webkit-line-clamp: 3;
    -webkit-box-orient: vertical; overflow: hidden;
}
.hero-actions-row { display: flex; align-items: center; gap: 12px; }
.hero-btn-play {
    background: #ffffff; color: #000000 !important;
    padding: 12px 28px; border-radius: 6px; font-weight: 800; font-size: 0.95rem;
    display: inline-flex; align-items: center; gap: 8px; transition: transform 0.2s, background 0.2s;
}
.hero-btn-play:hover { background: #e5e7eb; transform: scale(1.03); }
.hero-btn-circle {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
    color: #fff; font-size: 1.1rem; cursor: pointer; transition: background 0.2s;
    display: flex; align-items: center; justify-content: center;
}
.hero-btn-circle:hover { background: rgba(255,255,255,0.3); }

/* FILEIRAS DE CAPAS HORIZONTAIS */
.cinema-rails-container {
    max-width: 1560px; margin: 0 auto;
    padding: 10px 28px 60px 28px;
    display: flex; flex-direction: column; gap: 40px;
}
.cinema-rail-row {
    content-visibility: auto;
}
.rail-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px;
}
.rail-title-box { display: flex; align-items: center; gap: 10px; }
.rail-yellow-bar { width: 4px; height: 20px; background: var(--cine-yellow); border-radius: 2px; }
.rail-title-box h2 {
    font-size: 1.15rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.5px; color: #ffffff;
}
.rail-see-all { font-size: 0.82rem; font-weight: 700; color: var(--cine-yellow); }
.rail-see-all:hover { text-decoration: underline; }

/* ROLAGEM HORIZONTAL SUAVE */
.rail-slider-track {
    display: flex; gap: 18px; overflow-x: auto;
    scroll-behavior: smooth; padding-bottom: 12px;
    scrollbar-width: thin; scrollbar-color: #27272a transparent;
}
.rail-slider-track::-webkit-scrollbar { height: 6px; }
.rail-slider-track::-webkit-scrollbar-thumb { background: #27272a; border-radius: 4px; }

/* CARD POSTER VERTICAL LIMPO (SEM A PALAVRA FILME) */
.cinema-card-poster {
    flex: 0 0 180px; width: 180px;
    cursor: pointer; display: flex; flex-direction: column;
    transition: transform 0.25s ease;
}
.cinema-card-poster:hover { transform: translateY(-6px); }

.poster-thumb-wrap {
    position: relative; width: 100%; aspect-ratio: 2 / 3;
    border-radius: 8px; overflow: hidden; background: #141418;
}
.poster-thumb-wrap img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.poster-hover-glow {
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, transparent 60%);
    opacity: 0.6;
}

.poster-meta { margin-top: 8px; }
.poster-title {
    font-size: 0.88rem; font-weight: 700; color: #ffffff;
    line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.poster-subline { font-size: 0.76rem; color: #9ca3af; margin-top: 2px; }

/* RODAPÉ CINEMA */
.cinema-footer {
    background: #060608; border-top: 1px solid var(--cine-border);
    padding: 60px 28px 25px 28px;
}
.cinema-footer-inner {
    max-width: 1560px; margin: 0 auto;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px;
}
.footer-brand-col { max-width: 440px; }
.footer-logo { font-size: 1.4rem; font-weight: 900; color: var(--cine-yellow); margin-bottom: 10px; }
.footer-bio { font-size: 0.88rem; color: var(--cine-muted); line-height: 1.6; }

.footer-links-group { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-nav-col h4 { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-nav-col ul li { margin-bottom: 8px; }
.footer-nav-col ul li a { font-size: 0.85rem; color: var(--cine-muted); transition: color 0.2s; }
.footer-nav-col ul li a:hover { color: #fff; }

.footer-bottom-bar {
    max-width: 1560px; margin: 40px auto 0 auto;
    padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 0.82rem; color: #6b7280;
}

@media (max-width: 900px) {
    .cinema-nav { display: none; }
    .hero-title { font-size: 2.2rem; }
    .cinema-card-poster { flex: 0 0 140px; width: 140px; }
    .footer-links-group { gap: 30px; }
}