/* ==========================================================================
   ESTILOS FICHA CINE / TV V4.1 (Optimizado: Variables Nativas)
   Carga solo en single-cine-tv.php
   ========================================================================== */

.movie-page-container { background: var(--bg-color, #fff); padding: 0; }
.movie-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- HERO SECTION --- */
.movie-hero { background-color: #1f1f1f; color: #fff; padding: 40px 0 60px; }
.movie-hero-grid { display: grid; gap: 30px; grid-template-columns: 1fr; }

@media (min-width: 992px) { .movie-hero-grid { grid-template-columns: 240px 1fr 280px; align-items: start; } }

.movie-poster-wrap { width: 100%; max-width: 300px; margin: 0 auto; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.5); background: #000; }
.movie-poster-img { width: 100%; height: auto; display: block; }
.movie-title { font-family: var(--font-titles); font-size: 2.5rem; color: #fff; margin-bottom: 10px; line-height: 1.1; }
.movie-meta-bar { display: flex; align-items: center; gap: 10px; color: #ccc; font-size: 0.95rem; margin-bottom: 20px; }
.movie-rating { font-weight: 700; color: #F5C518; }

.movie-trailer-wrapper { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; border-radius: 12px; overflow: hidden; margin-bottom: 20px; border: 1px solid #333; }
.trailer-preview { width: 100%; height: 100%; position: relative; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.trailer-preview img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; transition: opacity 0.3s; }
.trailer-preview:hover img { opacity: 0.5; }
.trailer-play-btn { position: absolute; width: 60px; height: 60px; background: rgba(0,0,0,0.7); border: 2px solid #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 2; transition: transform 0.2s; }
.trailer-play-btn svg { width: 24px; height: 24px; fill: #fff; margin-left: 4px; }
.trailer-preview:hover .trailer-play-btn { transform: scale(1.1); background: #F5C518; border-color: #F5C518; }
.trailer-preview:hover .trailer-play-btn svg { fill: #000; }
.trailer-label { position: absolute; bottom: 15px; left: 15px; color: #fff; font-weight: 700; text-transform: uppercase; font-size: 0.9rem; z-index: 2; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }

.watch-box, .tech-box { background: #2a2a2a; padding: 20px; border-radius: 8px; margin-bottom: 20px; }
.watch-title { color: #F5C518; margin-bottom: 15px; font-size: 1.1rem; border-bottom: 1px solid #444; padding-bottom: 10px; }
.watch-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.watch-btn { display: flex; align-items: center; gap: 10px; background: #444; color: #fff; padding: 10px; border-radius: 6px; font-weight: 600; font-size: 0.9rem; transition: background 0.2s; }
.watch-btn:hover { background: #555; }
.tech-list { list-style: none; font-size: 0.9rem; color: #ccc; }
.tech-list li { margin-bottom: 8px; }

/* --- BODY SECTION --- */
.movie-body { padding: 40px 0; }
.section-heading { font-size: 1.8rem; margin-bottom: 20px; margin-top: 40px; color: #1a1a1a; border-left: 5px solid #F5C518; padding-left: 15px; }
.movie-synopsis { margin-bottom: 40px; }

/* ACORDEONES */
.cine-category-wrapper { margin-bottom: 20px; border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; background: #fff; }
.cine-summary { background: #f4f4f4; padding: 15px 20px; cursor: pointer; font-weight: 800; font-family: var(--font-titles); font-size: 1.2rem; display: flex; justify-content: space-between; align-items: center; list-style: none; color: var(--text-muted); transition: background 0.2s; }
.cine-summary:hover { background: #e9e9e9; }
.cine-summary::after { content: '+'; font-size: 1.5rem; font-weight: 400; color: #999; }
details[open] .cine-summary::after { content: '-'; }

.cine-list { display: flex; flex-direction: column; }
.cine-item { display: flex; gap: 15px; padding: 15px 20px; border-bottom: 1px solid #eee; align-items: center; background: #fff; transition: background 0.2s; }
.cine-item:last-child { border-bottom: none; }
.cine-item:hover { background: #fafafa; }

.cine-thumb { width: 50px; height: 50px; object-fit: cover; border-radius: 50%; background: #ccc; flex-shrink: 0; }
.cine-info { flex-grow: 1; }

.cine-link { font-weight: 700; font-size: 1rem; color: var(--text-muted); text-decoration: none; display: block; }
.cine-link:hover { color: var(--brand-lime); text-decoration: underline; }
.cine-link.no-link { color: #333; cursor: default; }
.cine-link.no-link:hover { text-decoration: none; color: #333; }

.cine-role { font-size: 0.9rem; color: #666; margin-top: 2px; }
.cine-role span { font-weight: 600; color: var(--brand-lime); }
.cine-role-prod { font-size: 0.8rem; text-transform: uppercase; font-weight: 700; color: #999; margin-bottom: 2px; }