/* ZONAFEROZ — Carruseles de la portada */
.zf-carousel-section{padding-top:8px;padding-bottom:8px}
.zf-carousel{position:relative}
.zf-carousel-track{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;
  padding:6px 2px 14px;scrollbar-width:none;-webkit-overflow-scrolling:touch;outline:none;cursor:grab}
.zf-carousel-track::-webkit-scrollbar{display:none}
.zf-carousel-track.is-dragging{cursor:grabbing;scroll-snap-type:none;scroll-behavior:auto}
.zf-carousel-track.is-dragging a{pointer-events:none}
.zf-carousel-card{flex:0 0 auto;scroll-snap-align:start;display:block;text-decoration:none;color:var(--zf-text);
  background:var(--zf-bg-card);border:1px solid var(--zf-border);border-radius:12px;overflow:hidden;
  transition:transform .25s,border-color .25s,box-shadow .25s}
.zf-carousel-card:hover{transform:translateY(-4px);border-color:rgba(139,92,246,.55);box-shadow:0 12px 30px rgba(109,40,217,.28)}
.zf-carousel--wide .zf-carousel-card{width:300px}
.zf-carousel--poster .zf-carousel-card{width:190px}
.zf-carousel-thumb{position:relative;display:block;overflow:hidden;background:linear-gradient(135deg,#2a2a35,#17171c)}
.zf-carousel--wide .zf-carousel-thumb{aspect-ratio:16/9}
.zf-carousel--poster .zf-carousel-thumb{aspect-ratio:2/3}
.zf-carousel-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .45s}
.zf-carousel-card:hover .zf-carousel-thumb img{transform:scale(1.07)}
.zf-carousel-noimg{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:42px;opacity:.7}
.zf-carousel-thumb:after{content:"";position:absolute;inset:auto 0 0 0;height:55%;background:linear-gradient(to top,rgba(0,0,0,.72),transparent);pointer-events:none}
.zf-carousel-rank{position:absolute;left:10px;top:8px;z-index:2;font-weight:900;font-size:22px;line-height:1;color:#fff;
  text-shadow:0 2px 8px rgba(0,0,0,.8);letter-spacing:-1px}
.zf-carousel-badge{position:absolute;right:8px;top:8px;z-index:2;padding:3px 9px;border-radius:999px;font-size:11px;font-weight:800;
  background:linear-gradient(135deg,var(--zf-purple),var(--zf-purple-dark));color:#fff;box-shadow:0 4px 12px rgba(0,0,0,.4)}
.zf-carousel-play{position:absolute;z-index:2;left:50%;top:50%;width:46px;height:46px;margin:-23px 0 0 -23px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;font-size:16px;color:#fff;background:rgba(139,92,246,.9);
  opacity:0;transform:scale(.7);transition:.25s;padding-left:3px}
.zf-carousel--wide .zf-carousel-play,.zf-carousel--poster .zf-carousel-play{display:flex}
.zf-carousel-games .zf-carousel-play{display:none}
.zf-carousel-card:hover .zf-carousel-play{opacity:1;transform:scale(1)}
.zf-carousel-body{display:block;padding:11px 13px 13px}
.zf-carousel-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-weight:700;font-size:14.5px;line-height:1.3;min-height:2.6em}
.zf-carousel-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.zf-carousel-meta span{font-size:11.5px;color:var(--zf-text-soft);background:rgba(255,255,255,.06);border-radius:999px;padding:2px 9px;
  max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.zf-carousel-btn{position:absolute;top:calc(50% - 30px);z-index:5;width:42px;height:42px;border-radius:50%;border:1px solid var(--zf-border);
  background:rgba(17,17,20,.88);color:#fff;font-size:26px;line-height:1;cursor:pointer;backdrop-filter:blur(6px);
  transition:.2s;display:flex;align-items:center;justify-content:center;padding:0 0 3px}
.zf-carousel-btn:hover{background:var(--zf-purple);border-color:var(--zf-purple)}
.zf-carousel-prev{left:-14px}.zf-carousel-next{right:-14px}
.zf-carousel-btn[disabled]{opacity:0;pointer-events:none}
@media(max-width:720px){
  .zf-carousel--wide .zf-carousel-card{width:240px}
  .zf-carousel--poster .zf-carousel-card{width:150px}
  .zf-carousel-btn{display:none}
  .zf-carousel-track{gap:12px}
}

.zf-carousel-thumb video,.zf-carousel-video{width:100%;height:100%;object-fit:cover;display:block;background:#000;pointer-events:none}
