/* Boraflix Ultra SEO/Performance - mobile-first polish */
:root{
  --bf-bg:#070b12;
  --bf-card:#101722;
  --bf-card-2:#141d2a;
  --bf-border:rgba(255,255,255,.08);
  --bf-text:#f7f9ff;
  --bf-muted:rgba(247,249,255,.72);
  --bf-accent:#e50914;
  --bf-accent-2:#ff4d5a;
}
html{scroll-behavior:smooth;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;}
body{background:var(--bf-bg);overflow-x:hidden;}
img{max-width:100%;height:auto;}
a{-webkit-tap-highlight-color:transparent;}
header.main, header.responsive{backdrop-filter:saturate(150%) blur(14px);-webkit-backdrop-filter:saturate(150%) blur(14px);}
header.main .hbox, .fixheadresp header.responsive{box-shadow:0 10px 28px rgba(0,0,0,.22);}
.logo img{height:auto!important;}
.items .item .poster img, .poster img{object-fit:cover;}
.items .item, article.item{transform:translateZ(0);}
.items .item .poster, article.item .poster{border-radius:13px;overflow:hidden;background:#0b111a;box-shadow:0 12px 28px rgba(0,0,0,.22);}
.items .item .data h3, article.item .data h3{line-height:1.25;letter-spacing:-.01em;}
.module .content, .sheader, .dooplay_player, .links_table, .dt-breadcrumb{border-color:var(--bf-border)!important;}
.dooplay_player .play{background:#000!important;}
#dooplay_player_content{max-height:none!important;height:auto!important;}
.pframe{height:450px!important;min-height:300px;overflow:hidden;position:relative;display:block;background:#000;}
.pframe iframe{width:100%!important;height:100%!important;border:0!important;display:block;}
footer.main .fcmpbox{border:1px solid var(--bf-border);border-radius:18px 18px 0 0;background:linear-gradient(180deg,rgba(16,23,34,.96),rgba(7,11,18,.98))!important;}
footer.main .copy{color:var(--bf-muted);}
@media(max-width:768px){
  body{padding-top:0!important;padding-bottom:calc(82px + env(safe-area-inset-bottom))!important;}
  #contenedor{padding-left:10px!important;padding-right:10px!important;}
  .module{margin-bottom:20px!important;}
  .module .content .items{gap:10px;}
  .items .item .poster, article.item .poster{border-radius:12px;}
  .items .item .data h3, article.item .data h3{font-size:13px!important;line-height:1.25!important;}
  .items .item .data span, article.item .data span{font-size:11px!important;}
  .sheader{border-radius:16px;overflow:hidden;}
  .dooplay_player{border-radius:16px;overflow:hidden;}
  .pframe{height:220px!important;min-height:200px!important;}
  #dooplay_player_content{max-height:220px!important;}
  footer.main{margin-bottom:64px;}
}
@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important;}}

/* Boraflix Ultra v2 - SEO técnico, Core Web Vitals e mobile polish */
.bf-home-intro{
  max-width:920px;
  margin:14px auto 18px;
  padding:0 14px;
  text-align:center;
  color:var(--bf-text);
}
.bf-home-intro h1{
  margin:0 0 6px;
  font-size:clamp(20px,3.9vw,30px);
  line-height:1.22;
  letter-spacing:-.02em;
  color:#fff;
  font-weight:800;
}
.bf-home-intro p{
  max-width:760px;
  margin:0 auto;
  color:var(--bf-muted);
  font-size:14px;
  line-height:1.55;
}
.items .item .poster,
article.item .poster,
.sheader .poster{
  aspect-ratio:2/3;
  contain:layout paint;
}
.items .item .poster img,
article.item .poster img,
.sheader .poster img,
.poster img{
  width:100%!important;
  height:100%!important;
  object-fit:cover;
  display:block;
  background:#0b111a;
}
.live-search,
.search_responsive,
.menuresp{
  will-change:transform;
}
.module header h2{
  letter-spacing:-.02em;
}
.bf-footer-seo{
  max-width:860px;
  margin:0 auto 14px;
  padding:0 16px;
  text-align:center;
  color:rgba(247,249,255,.68);
  font-size:13px;
  line-height:1.6;
}
.bf-footer-seo strong{color:#fff;}
@media(max-width:768px){
  .bf-home-intro{
    margin:10px auto 14px;
    padding:0 12px;
  }
  .bf-home-intro h1{
    font-size:20px;
    line-height:1.22;
  }
  .bf-home-intro p{
    font-size:12.5px;
    line-height:1.45;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  header.responsive .logo img{
    max-height:34px!important;
    width:auto!important;
  }
  .fixheadresp header.responsive{
    min-height:54px!important;
  }
  .search_responsive input,
  #form-search-resp input{
    min-height:44px!important;
    font-size:16px!important;
  }
  .menuresp .menu a,
  .menuresp .menu .ctgs{
    min-height:44px;
    display:flex!important;
    align-items:center;
  }
  footer.main .fcmpbox{
    padding-bottom:18px!important;
  }
}


/* Boraflix Ultra v3 - marca, episódios horizontais e LCP visível */
.bf-home-intro{
  max-width:980px;
  margin:18px auto 20px;
  padding:0 14px;
  text-align:center;
  font-family:Inter,Montserrat,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}
.bf-home-intro h1{
  margin:0 0 7px!important;
  font-size:clamp(20px,2.4vw,28px)!important;
  line-height:1.12!important;
  letter-spacing:-.035em!important;
  font-weight:950!important;
  text-transform:uppercase;
  color:#fff!important;
  text-shadow:0 8px 26px rgba(0,0,0,.42);
}
.bf-home-intro .bf-logo-bora{
  color:#fff;
  letter-spacing:.035em;
}
.bf-home-intro .bf-logo-flix{
  color:#ff1f2d;
  letter-spacing:.035em;
  margin-left:8px;
  text-shadow:0 0 22px rgba(229,9,20,.32);
}
.bf-home-intro .bf-title-tail{
  color:rgba(255,255,255,.90);
  text-transform:none;
  letter-spacing:-.02em;
  font-weight:850;
}
.bf-home-intro p{
  max-width:740px!important;
  margin:0 auto!important;
  color:rgba(255,255,255,.72)!important;
  font-size:13px!important;
  line-height:1.45!important;
  font-weight:500;
}
.bf-home-intro p strong{color:#fff;font-weight:850;}

/* Filmes e séries continuam verticais; episódios voltam ao padrão horizontal 16:9 */
.items article.item.episodes .poster,
.items .item.episodes .poster,
#dt-episodes article.item .poster,
#dt-episodes .item .poster{
  aspect-ratio:16/9!important;
  border-radius:12px!important;
}
.items article.item.episodes .poster img,
.items .item.episodes .poster img,
#dt-episodes article.item .poster img,
#dt-episodes .item .poster img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}

/* Evita que a otimização global force altura de poster em itens de episódio */
article.item.episodes,
#dt-episodes article.item{
  contain:layout paint;
}

/* Suaviza o topo e aproxima a estética da logo sem pesar */
header.main .hbox,
.fixheadresp header.responsive{
  background:rgba(12,12,12,.88)!important;
  border-bottom:1px solid rgba(255,255,255,.06);
}
header.main .logo img,
header.responsive .logo img{
  filter:drop-shadow(0 8px 20px rgba(229,9,20,.16));
}

@media(max-width:768px){
  .bf-home-intro{
    margin:10px auto 12px!important;
    padding:0 12px!important;
  }
  .bf-home-intro h1{
    font-size:18px!important;
    line-height:1.16!important;
  }
  .bf-home-intro .bf-logo-flix{margin-left:5px;}
  .bf-home-intro .bf-title-tail{display:block;margin-top:2px;font-size:15px;}
  .bf-home-intro p{
    font-size:12px!important;
    line-height:1.38!important;
    max-width:96%!important;
  }
  #dt-episodes .item .poster,
  .items .item.episodes .poster{
    aspect-ratio:16/9!important;
  }
}
