/* Bolapelangi Tebak Skor - Same Desktop/Mobile Hero Composition v3.2.8 */

/* Master hero composition shared by every viewport. */
.front-home .hero{
  width:100vw !important;
  max-width:none !important;
  min-height:500px !important;
  margin:0 0 18px calc(50% - 50vw) !important;
  padding:34px max(18px,calc((100vw - 1180px)/2 + 18px)) !important;
  border-radius:0 0 28px 28px !important;
  border-top:0 !important;
  border-left:0 !important;
  border-right:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  overflow:hidden !important;
  background:
    linear-gradient(90deg,rgba(2,8,15,.74) 0%,rgba(2,8,15,.55) 43%,rgba(2,8,15,.28) 100%),
    var(--hero-bg) center center / cover no-repeat !important;
}

.front-home .hero::before,
.front-home .hero::after{display:none !important}

.front-home .hero-panel{
  width:100% !important;
  max-width:520px !important;
  margin:0 !important;
  padding:24px 22px 22px !important;
  border-radius:28px !important;
}

.front-home .hero h1{
  max-width:10ch !important;
  font-size:clamp(46px,5.5vw,72px) !important;
  line-height:1.02 !important;
}

/* Mobile: same structure and placement as desktop, only scaled down. */
@media(max-width:768px){
  .front-home .hero{
    min-height:360px !important;
    margin:0 0 15px calc(50% - 50vw) !important;
    padding:18px 14px !important;
    border-radius:0 0 22px 22px !important;
    align-items:center !important;
    justify-content:flex-start !important;
    background:
      linear-gradient(90deg,rgba(2,8,15,.72) 0%,rgba(2,8,15,.54) 54%,rgba(2,8,15,.24) 100%),
      var(--hero-bg) center center / cover no-repeat !important;
  }

  .front-home .hero-panel{
    width:min(88%,390px) !important;
    max-width:390px !important;
    margin:0 !important;
    padding:18px 16px 16px !important;
    border-radius:22px !important;
  }

  .front-home .hero .badge{
    margin-bottom:10px !important;
    padding:6px 9px !important;
    font-size:8.5px !important;
  }

  .front-home .hero h1{
    max-width:11ch !important;
    margin:0 0 9px !important;
    font-size:clamp(27px,8vw,36px) !important;
    line-height:1.02 !important;
  }

  .front-home .hero p{
    max-width:330px !important;
    margin:0 0 14px !important;
    font-size:12.5px !important;
    line-height:1.5 !important;
  }

  .front-home .hero-panel .btn{
    min-width:145px !important;
    min-height:38px !important;
    padding:9px 13px !important;
    font-size:11px !important;
  }
}

@media(max-width:420px){
  .front-home .hero{
    min-height:335px !important;
    padding:16px 12px !important;
  }

  .front-home .hero-panel{
    width:90% !important;
    max-width:350px !important;
    padding:16px 14px 14px !important;
    border-radius:20px !important;
  }

  .front-home .hero h1{
    font-size:clamp(25px,7.7vw,31px) !important;
  }
}
