/* V82 - Home hero position + Central cards + Download polish
   Não altera header/menu global. */

/* HOME: remove área vazia/azul antes da hero e recoloca o vídeo no topo visual */
html body .wrapper > .header.header-main{
  height:auto!important;
  min-height:74px!important;
  padding-bottom:0!important;
  max-height:none!important;
  background:#03080e!important;
  overflow:visible!important;
}
html body .v80-home-hero-shell{
  margin:0!important;
  padding:0!important;
  min-height:calc(100vh - 74px)!important;
  height:calc(100vh - 74px)!important;
  max-height:860px!important;
  background:#03080e!important;
  overflow:hidden!important;
}
html body .v80-home-hero-shell .hero-media{
  top:0!important;
  bottom:0!important;
  height:100%!important;
  min-height:100%!important;
  transform:none!important;
  background:#03080e url('../images/v82-home-hero-central-download-fix-icarus-hero.jpg') center/cover no-repeat!important;
}
html body .v80-home-hero-shell .hero-media__video{
  opacity:1!important;
  display:block!important;
  object-fit:cover!important;
  object-position:center 44%!important;
  filter:saturate(1.06) contrast(1.05) brightness(.84)!important;
}
html body .v80-home-hero-shell .hero-media__image{
  opacity:.22!important;
  object-position:center 44%!important;
}
html body .v80-home-hero-shell .hero-media::after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  background:linear-gradient(180deg,rgba(2,5,9,.16) 0%,rgba(2,5,9,.08) 38%,rgba(2,5,9,.52) 100%)!important;
  z-index:2!important;
  pointer-events:none!important;
}
html body .v80-home-hero-shell .hero-media__aurora,
html body .v80-home-hero-shell .hero-media__particles{z-index:3!important;}
html body .v80-home-hero-shell .header__box.roi-hero-art-wrap{
  min-height:100%!important;
  height:100%!important;
  padding:clamp(16px,3vh,34px) 20px clamp(32px,5vh,60px)!important;
  align-items:center!important;
  transform:translateY(-18px)!important;
}
html body .v80-home-hero-shell .roi-hero-art__logo{margin-bottom:8px!important;}
html body .v80-home-hero-shell .hero-logo-title img{
  max-height:min(40vh,390px)!important;
  max-width:min(900px,78vw)!important;
}
html body .v80-home-hero-shell .roi-hero-subtitle{margin-top:8px!important;}

/* CENTRAL: enquadramento proporcional ao clicar no menu flutuante */
html body #home-updates{
  scroll-margin-top:18px!important;
  padding-top:clamp(24px,3.5vh,42px)!important;
  padding-bottom:clamp(32px,4vh,54px)!important;
}
html body #home-updates .content-area{width:100%!important;}
html body #home-updates .v53-home-hub__panel{
  width:min(1220px, calc(100vw - 380px))!important;
  min-width:1020px!important;
  padding:clamp(26px,3.2vw,42px)!important;
  border-radius:24px!important;
}
html body #home-updates .v53-section-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:end!important;
  gap:24px!important;
  padding-bottom:22px!important;
  margin-bottom:22px!important;
}
html body #home-updates .pro-title{
  font-size:clamp(34px,3.6vw,58px)!important;
  line-height:.98!important;
  max-width:760px!important;
}
html body #home-updates .pro-subtitle{
  max-width:820px!important;
  margin-top:10px!important;
  font-size:14px!important;
  line-height:1.55!important;
}
html body .v59-central-grid{
  display:grid!important;
  gap:20px!important;
}
html body .v59-central-group{min-width:0!important;}
html body .v59-group-title{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  margin:0 0 13px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}
html body .v59-group-title::after{
  content:""!important;
  flex:1 1 auto!important;
  height:1px!important;
  min-width:40px!important;
  background:linear-gradient(90deg,rgba(214,153,33,.65),transparent)!important;
}
html body .v59-group-title span,
html body .v59-group-title strong{
  font-size:12px!important;
  letter-spacing:.14em!important;
  line-height:1!important;
}
html body .v59-news-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr)!important;
  grid-template-rows:repeat(2,128px)!important;
  gap:14px!important;
}
html body .v59-card{
  min-width:0!important;
  overflow:hidden!important;
  background-size:cover!important;
  background-position:center!important;
  border-radius:15px!important;
}
html body .v59-card--hero{grid-row:span 2!important;min-height:270px!important;}
html body .v59-card--line{min-height:128px!important;}
html body .v59-card-content{
  left:18px!important;
  right:18px!important;
  bottom:16px!important;
  max-width:calc(100% - 36px)!important;
}
html body .v59-card-content h3{
  margin:0 0 6px!important;
  line-height:1.05!important;
  letter-spacing:.01em!important;
  overflow:visible!important;
  text-wrap:balance!important;
}
html body .v59-card--hero .v59-card-content h3{font-size:clamp(25px,2vw,34px)!important;}
html body .v59-card--line .v59-card-content h3{font-size:clamp(20px,1.55vw,27px)!important;}
html body .v59-card-content p{
  margin:0!important;
  line-height:1.35!important;
  font-size:13px!important;
  max-width:100%!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
html body .v59-card-tag{
  top:12px!important;
  left:16px!important;
  z-index:4!important;
  font-size:10px!important;
  line-height:1!important;
  padding:7px 13px!important;
}
html body .v59-events-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(260px,.78fr) minmax(260px,.78fr)!important;
  grid-template-rows:116px 116px!important;
  gap:14px!important;
}
html body .v59-event-card--main{grid-row:span 2!important;min-height:246px!important;}
html body .v59-event-card--guild{grid-column:span 2!important;}
html body .v59-event-card .v59-card-content h3{
  font-size:clamp(19px,1.55vw,28px)!important;
  line-height:1.04!important;
  max-width:100%!important;
}
html body .v59-event-card:not(.v59-event-card--main) .v59-card-content h3{
  font-size:clamp(17px,1.25vw,22px)!important;
}
html body .v59-event-card .v59-card-content p{
  font-size:12px!important;
  line-height:1.3!important;
  -webkit-line-clamp:2!important;
}
html body .v59-event-row{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  margin-top:9px!important;
}
html body .v59-event-row strong,
html body .v59-event-row span{
  min-height:26px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:10px!important;
  line-height:1!important;
  padding:0 12px!important;
  white-space:nowrap!important;
}
@media (max-width:1500px){
  html body #home-updates .v53-home-hub__panel{width:calc(100vw - 300px)!important;min-width:0!important;}
  html body .v59-news-grid{grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr)!important;}
}
@media (max-width:1180px){
  html body #home-updates .v53-home-hub__panel{width:calc(100vw - 36px)!important;}
  html body #home-updates .v53-section-head{grid-template-columns:1fr!important;}
  html body .v59-news-grid,
  html body .v59-events-grid{grid-template-columns:1fr!important;grid-template-rows:auto!important;}
  html body .v59-card--hero,
  html body .v59-event-card--main,
  html body .v59-event-card--guild{grid-column:auto!important;grid-row:auto!important;min-height:210px!important;}
  html body .v59-card--line,
  html body .v59-event-card{min-height:160px!important;}
}

/* DOWNLOAD V82: mantém base, mas deixa os balões/cards menos genéricos */
html body .download-v80-page{
  padding:64px 0 96px!important;
  background:
    radial-gradient(circle at 18% 18%,rgba(255,185,44,.12),transparent 28%),
    radial-gradient(circle at 86% 12%,rgba(98,213,255,.11),transparent 24%),
    linear-gradient(180deg,#07111d 0%,#04070d 100%)!important;
}
html body .download-v80-head{
  min-height:230px!important;
  border-radius:26px!important;
  background:
    linear-gradient(90deg,rgba(3,8,14,.94),rgba(3,8,14,.55)),
    url('../images/v82-home-hero-central-download-fix-icarus-world-03.jpg') center/cover no-repeat!important;
}
html body .download-v80-grid{grid-template-columns:minmax(0,1.28fr) minmax(360px,.72fr)!important;}
html body .download-v80-panel{position:relative!important;overflow:hidden!important;}
html body .download-v80-panel::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  background:linear-gradient(135deg,rgba(255,255,255,.06),transparent 28%,rgba(255,178,37,.07) 100%)!important;
  pointer-events:none!important;
}
html body .download-v80-link-card,
html body .download-v80-patch-card{
  position:relative!important;
  min-height:285px!important;
  isolation:isolate!important;
  border-width:1px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 18px 44px rgba(0,0,0,.32)!important;
}
html body .download-v80-link-card::before,
html body .download-v80-patch-card::before{
  content:""!important;
  position:absolute!important;
  width:168px!important;
  height:168px!important;
  right:-34px!important;
  top:54px!important;
  border-radius:50%!important;
  border:1px solid rgba(255,255,255,.16)!important;
  background:radial-gradient(circle,rgba(255,255,255,.18),transparent 58%)!important;
  z-index:-1!important;
}
html body .download-v82-client-card--1{
  border-color:rgba(255,184,45,.38)!important;
  background:
    linear-gradient(180deg,rgba(10,16,25,.70),rgba(2,6,11,.94)),
    url('../images/v82-home-hero-central-download-fix-icarus-banner-leviathan.webp') center/cover no-repeat!important;
}
html body .download-v82-client-card--2{
  border-color:rgba(97,213,255,.34)!important;
  background:
    linear-gradient(180deg,rgba(8,20,31,.68),rgba(2,6,11,.94)),
    url('../images/v82-home-hero-central-download-fix-icarus-world-02.jpg') center/cover no-repeat!important;
}
html body .download-v80-patch-card{
  border-color:rgba(128,244,255,.38)!important;
  background:
    linear-gradient(180deg,rgba(9,22,31,.75),rgba(2,6,11,.95)),
    url('../images/v82-home-hero-central-download-fix-icarus-patch-notes.webp') center/cover no-repeat!important;
}
html body .download-v82-card-orb{
  position:absolute!important;
  right:24px!important;
  top:86px!important;
  width:106px!important;
  height:106px!important;
  border-radius:30px!important;
  display:grid!important;
  place-items:center!important;
  color:#fff4d0!important;
  font-weight:1000!important;
  font-size:30px!important;
  letter-spacing:.02em!important;
  border:1px solid rgba(255,255,255,.22)!important;
  background:linear-gradient(145deg,rgba(255,197,63,.88),rgba(122,70,9,.74))!important;
  box-shadow:0 0 32px rgba(255,175,35,.22),inset 0 1px 0 rgba(255,255,255,.32)!important;
  opacity:.92!important;
}
html body .download-v82-client-card--2 .download-v82-card-orb{
  background:linear-gradient(145deg,rgba(92,224,255,.82),rgba(18,82,123,.76))!important;
  box-shadow:0 0 32px rgba(92,224,255,.18),inset 0 1px 0 rgba(255,255,255,.32)!important;
}
html body .download-v80-patch-card .download-v82-card-orb{
  background:linear-gradient(145deg,rgba(136,244,255,.82),rgba(17,120,154,.76))!important;
  box-shadow:0 0 32px rgba(136,244,255,.18),inset 0 1px 0 rgba(255,255,255,.32)!important;
}
html body .download-v80-link-card strong,
html body .download-v80-patch-card h2{max-width:calc(100% - 116px)!important;}
html body .download-v80-link-card p,
html body .download-v80-patch-card p{max-width:calc(100% - 96px)!important;}
html body .download-v80-mirror{box-shadow:0 0 18px rgba(255,183,40,.18)!important;}
html body .download-v80-btn{position:relative!important;z-index:2!important;}
@media (max-width:1200px){html body .download-v80-grid{grid-template-columns:1fr!important;}}
@media (max-width:760px){
  html body .download-v82-card-orb{position:relative!important;right:auto!important;top:auto!important;margin:12px 0!important;width:82px!important;height:82px!important;}
  html body .download-v80-link-card strong,
  html body .download-v80-patch-card h2,
  html body .download-v80-link-card p,
  html body .download-v80-patch-card p{max-width:100%!important;}
}
