/* V80 - Home hero, Wiki content and Download page fixes.
   Não altera o header/menu global. */

/* HOME HERO: devolve a hero para dentro de uma área própria e remove tela azul/vazia */
html body .v80-home-hero-shell{
  position:relative!important;
  min-height:calc(100vh - 74px)!important;
  height:auto!important;
  overflow:hidden!important;
  background:#050b12!important;
  isolation:isolate!important;
}
html body .v80-home-hero-shell .hero-media{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  z-index:0!important;
  overflow:hidden!important;
  background:#050b12!important;
}
html body .v80-home-hero-shell .hero-media__video,
html body .v80-home-hero-shell .hero-media__image{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}
html body .v80-home-hero-shell .header__box.roi-hero-art-wrap{
  position:relative!important;
  z-index:2!important;
  min-height:calc(100vh - 74px)!important;
  height:auto!important;
  padding:clamp(44px,7vh,76px) 20px clamp(60px,8vh,96px)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
html body .v80-home-hero-shell .hero-logo-title img{
  max-height:min(44vh,430px)!important;
  width:auto!important;
  max-width:min(960px,82vw)!important;
  object-fit:contain!important;
}

/* quando clicar em Central, a box aparece inteira como no print */
html body #home-updates{
  scroll-margin-top:22px!important;
  padding-top:clamp(34px,5vh,58px)!important;
  padding-bottom:clamp(40px,5vh,70px)!important;
}
html body #home-updates .v53-home-hub__panel{
  width:min(1180px, calc(100vw - 360px))!important;
  min-width:980px!important;
  margin:0 auto!important;
}
@media (max-width:1360px){
  html body #home-updates .v53-home-hub__panel{
    width:calc(100vw - 260px)!important;
    min-width:0!important;
  }
}
@media (max-width:980px){
  html body #home-updates .v53-home-hub__panel{
    width:calc(100vw - 28px)!important;
  }
}

/* WIKI: conteúdo visível, menu lateral menor e com rolagem interna */
html body .wiki{
  width:min(1200px, calc(100vw - 72px))!important;
  max-width:1200px!important;
  margin:0 auto!important;
  display:grid!important;
  grid-template-columns:280px minmax(0, 1fr)!important;
  gap:22px!important;
  align-items:start!important;
}
html body .wiki__nav{
  width:280px!important;
  max-width:280px!important;
  flex:0 0 280px!important;
  max-height:calc(100vh - 190px)!important;
  overflow:auto!important;
  border-radius:18px!important;
}
html body .wiki__nav-item{
  min-height:74px!important;
  height:auto!important;
  padding:12px 14px!important;
}
html body .wiki__nav-item-name{
  font-size:14px!important;
  line-height:1.08!important;
}
html body .wiki__nav-item-desc{
  font-size:12px!important;
}
html body .wiki__box{
  width:100%!important;
  min-width:0!important;
  min-height:520px!important;
  border-radius:18px!important;
  background:rgba(6,18,28,.72)!important;
  overflow:visible!important;
}
html body .wiki__content{
  width:100%!important;
  min-width:0!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,rgba(34,34,32,.98),rgba(18,18,17,.98))!important;
  color:#e8ded0!important;
}
html body .wiki__content.active{
  display:block!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  position:relative!important;
}
html body .wiki__content:not(.active){
  display:none!important;
}
html body .wiki__content-main{
  padding:22px 26px 30px!important;
}
html body .wiki-guide-prose,
html body .wiki__content-main,
html body .wiki__content-main p,
html body .wiki__content-main li{
  color:#d8d0c4!important;
  font-size:15px!important;
  line-height:1.7!important;
}
html body .wiki-guide-prose h2,
html body .wiki-guide-prose h3{
  color:#fff1d0!important;
}
@media (max-width:980px){
  html body .wiki{
    width:calc(100vw - 28px)!important;
    grid-template-columns:1fr!important;
  }
  html body .wiki__nav{
    width:100%!important;
    max-width:none!important;
    max-height:360px!important;
  }
}

/* DOWNLOAD V80 - novo estilo, 2 links de client + 1 patch separados */
html body .download-v80-page{
  position:relative!important;
  padding:72px 0 96px!important;
  background:
    radial-gradient(circle at 18% 8%,rgba(255,174,35,.10),transparent 26%),
    radial-gradient(circle at 86% 64%,rgba(65,160,255,.10),transparent 30%),
    linear-gradient(180deg,#06111d 0%,#03070d 100%)!important;
}
html body .download-v80-wrap{
  width:min(1280px, calc(100vw - 80px))!important;
  max-width:1280px!important;
}
html body .download-v80-head{
  min-height:260px!important;
  padding:42px 46px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:28px!important;
  border-radius:30px!important;
  border:1px solid rgba(225,172,54,.30)!important;
  background:
    linear-gradient(90deg,rgba(4,9,15,.94),rgba(4,9,15,.66)),
    url('../images/v80-home-wiki-download-fix-icarus-banner-leviathan.webp') center/cover no-repeat!important;
  box-shadow:0 28px 70px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06)!important;
  margin-bottom:28px!important;
}
html body .download-v80-head h1{
  color:#fff3d9!important;
  font-size:clamp(38px,4.2vw,68px)!important;
  line-height:.95!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
  margin:12px 0 14px!important;
}
html body .download-v80-head p{
  max-width:680px!important;
  color:#d8d0c4!important;
  line-height:1.7!important;
  font-size:16px!important;
}
html body .download-v80-badge{
  flex:0 0 auto!important;
  padding:14px 20px!important;
  border-radius:999px!important;
  border:1px solid rgba(92,255,134,.40)!important;
  color:#8cffad!important;
  background:rgba(19,97,49,.24)!important;
  font-weight:900!important;
  letter-spacing:.12em!important;
  font-size:12px!important;
}
html body .download-v80-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr)!important;
  gap:24px!important;
  align-items:stretch!important;
}
html body .download-v80-panel{
  border-radius:28px!important;
  border:1px solid rgba(225,172,54,.28)!important;
  background:
    radial-gradient(circle at 100% 100%,rgba(255,174,35,.13),transparent 36%),
    linear-gradient(180deg,rgba(7,15,25,.94),rgba(3,8,14,.98))!important;
  box-shadow:0 24px 58px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.05)!important;
  padding:28px!important;
}
html body .download-v80-panel-title{
  display:flex!important;
  align-items:center!important;
  gap:16px!important;
  margin-bottom:22px!important;
}
html body .download-v80-panel-title span{
  width:54px!important;
  height:54px!important;
  border-radius:50%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#1a1208!important;
  background:linear-gradient(180deg,#ffd45c,#f09b06)!important;
  font-weight:900!important;
  box-shadow:0 0 22px rgba(255,171,20,.22)!important;
}
html body .download-v80-panel-title strong{
  display:block!important;
  color:#fff0cd!important;
  font-size:22px!important;
  text-transform:uppercase!important;
  letter-spacing:.08em!important;
}
html body .download-v80-panel-title small{
  color:#bdb5aa!important;
  font-weight:700!important;
}
html body .download-v80-links{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:18px!important;
}
html body .download-v80-link-card,
html body .download-v80-patch-card{
  min-height:260px!important;
  border-radius:22px!important;
  border:1px solid rgba(224,172,56,.25)!important;
  background:
    linear-gradient(180deg,rgba(8,17,28,.70),rgba(2,6,11,.92)),
    url('../images/icarus-card-dark.jpg') center/cover no-repeat!important;
  padding:24px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:space-between!important;
  overflow:hidden!important;
}
html body .download-v80-link-card__top{
  display:grid!important;
  gap:10px!important;
}
html body .download-v80-mirror{
  width:max-content!important;
  padding:8px 12px!important;
  border-radius:999px!important;
  color:#111!important;
  background:linear-gradient(180deg,#ffe071,#efa108)!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.14em!important;
}
html body .download-v80-link-card strong,
html body .download-v80-patch-card h2{
  color:#fff4d8!important;
  font-size:26px!important;
  line-height:1.1!important;
  text-transform:uppercase!important;
  margin:0!important;
}
html body .download-v80-link-card p,
html body .download-v80-patch-card p{
  color:#d5cec4!important;
  line-height:1.65!important;
  margin:16px 0 24px!important;
}
html body .download-v80-btn{
  height:48px!important;
  border-radius:999px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0 22px!important;
  color:#151009!important;
  background:linear-gradient(180deg,#ffc845,#f49805)!important;
  font-weight:900!important;
  letter-spacing:.14em!important;
  text-decoration:none!important;
  box-shadow:0 12px 28px rgba(255,159,0,.20)!important;
}
html body .download-v80-btn:hover{
  transform:translateY(-2px)!important;
  filter:brightness(1.07)!important;
}
html body .download-v80-patch-card{
  min-height:calc(100% - 76px)!important;
  background:
    linear-gradient(180deg,rgba(10,18,29,.78),rgba(2,6,11,.94)),
    url('../images/v80-home-wiki-download-fix-icarus-patch-notes.webp') center/cover no-repeat!important;
}
html body .download-v80-patch-card__icon{
  width:max-content!important;
  padding:10px 14px!important;
  border-radius:12px!important;
  color:#111!important;
  background:linear-gradient(180deg,#70eaff,#37bfdc)!important;
  font-weight:900!important;
  letter-spacing:.12em!important;
}
html body .download-v80-btn--patch{
  background:linear-gradient(180deg,#70eaff,#28b9d9)!important;
}
html body .download-v80-steps{
  margin-top:24px!important;
  display:grid!important;
  grid-template-columns:repeat(3,1fr)!important;
  gap:18px!important;
}
html body .download-v80-step{
  min-height:86px!important;
  border-radius:18px!important;
  border:1px solid rgba(225,172,54,.22)!important;
  background:rgba(7,15,24,.82)!important;
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
  padding:18px!important;
}
html body .download-v80-step b{
  width:38px!important;height:38px!important;border-radius:50%!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  color:#111!important;background:linear-gradient(180deg,#ffd45c,#f09b06)!important;
}
html body .download-v80-step span{
  flex:1!important;
  color:#fff0cd!important;
  font-weight:900!important;
}
html body .download-v80-step a{
  color:#ffd36a!important;
  font-weight:900!important;
  text-decoration:none!important;
}
@media (max-width:1200px){
  html body .download-v80-wrap{width:calc(100vw - 40px)!important;}
  html body .download-v80-grid{grid-template-columns:1fr!important;}
}
@media (max-width:760px){
  html body .download-v80-wrap{width:calc(100vw - 24px)!important;}
  html body .download-v80-head{padding:28px!important;display:block!important;}
  html body .download-v80-badge{display:inline-flex!important;margin-top:18px!important;}
  html body .download-v80-links,
  html body .download-v80-steps{grid-template-columns:1fr!important;}
}
