/* Bolapelangi Tebak Skor - Unified Hero + Compact Mobile Header v3.2.5 */

/*
 * HERO MASTER
 * Desktop and mobile always use the same --hero-bg image supplied by index.php.
 * Only the frame sizing/typography adapts responsively; no mobile image replacement.
 */
.front-home .hero{
  background:
    linear-gradient(90deg,rgba(2,8,15,.76) 0%,rgba(2,8,15,.57) 44%,rgba(2,8,15,.38) 100%),
    var(--hero-bg) center center / cover no-repeat !important;
  background-position:center center !important;
}

/* Keep the same visual identity on mobile instead of creating a second hero style. */
@media(max-width:768px){
  .front-home header{
    min-height:54px !important;
  }

  .front-home .nav{
    min-height:54px !important;
    padding-top:5px !important;
    padding-bottom:5px !important;
  }

  .front-home .brand img{
    height:34px !important;
    max-height:34px !important;
    max-width:145px !important;
  }

  /* All configured header links fit in one row; no horizontal scrolling. */
  .front-home .header-menu-dynamic{
    width:calc(100% - 12px) !important;
    max-width:560px !important;
    margin:6px auto 8px !important;
    padding:0 !important;
    display:grid !important;
    grid-auto-flow:column !important;
    grid-auto-columns:minmax(0,1fr) !important;
    align-items:stretch !important;
    gap:4px !important;
    overflow:visible !important;
    overflow-x:visible !important;
    flex-wrap:unset !important;
    scrollbar-width:none !important;
  }

  .front-home .header-menu-dynamic a{
    width:100% !important;
    min-width:0 !important;
    min-height:30px !important;
    height:30px !important;
    padding:4px 3px !important;
    gap:4px !important;
    border-radius:999px !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:clip !important;
    justify-content:center !important;
    font-size:clamp(7.5px,2.15vw,10px) !important;
    line-height:1 !important;
    font-weight:760 !important;
    letter-spacing:-.025em !important;
  }

  .front-home .header-menu-dynamic a::before{
    width:5px !important;
    height:5px !important;
    min-width:5px !important;
    box-shadow:0 0 8px var(--c1) !important;
  }

  .front-home .hero{
    min-height:430px !important;
    padding:18px 14px !important;
    align-items:flex-end !important;
    background:
      linear-gradient(180deg,rgba(2,8,15,.27) 0%,rgba(2,8,15,.34) 40%,rgba(2,8,15,.68) 100%),
      var(--hero-bg) center center / cover no-repeat !important;
    background-position:center center !important;
  }

  .front-home .hero-panel{
    width:100% !important;
    max-width:100% !important;
  }
}

@media(max-width:420px){
  .front-home .header-menu-dynamic{
    width:calc(100% - 8px) !important;
    gap:3px !important;
  }

  .front-home .header-menu-dynamic a{
    min-height:29px !important;
    height:29px !important;
    padding-left:2px !important;
    padding-right:2px !important;
    font-size:clamp(7.2px,2.05vw,8.6px) !important;
    gap:3px !important;
  }

  .front-home .header-menu-dynamic a::before{
    width:4px !important;
    height:4px !important;
    min-width:4px !important;
  }

  .front-home .hero{
    min-height:410px !important;
  }
}
