
/* JAKSKY HOME POLISH V1 */

:root {
  --jak-home-border: rgba(111,169,255,.22);
  --jak-home-shadow: 0 12px 32px rgba(0,0,0,.24);
}

/* Banner */
.brandHero {
  background-position:center 35% !important;
  border-radius:24px !important;
  box-shadow:var(--jak-home-shadow);
}

.brandHero h1 {
  font-size:clamp(38px,9vw,64px) !important;
  line-height:1.08 !important;
  letter-spacing:-.045em !important;
}

/* Statistik */
.jakLiveSheetStats {
  border-radius:20px !important;
  box-shadow:var(--jak-home-shadow);
}

.jakLiveSheetStats > * {
  min-width:0;
}

/* Pencarian */
#search {
  width:100% !important;
  min-width:0 !important;
  min-height:58px !important;
  box-sizing:border-box !important;
  border-radius:18px !important;
  font-size:16px !important;
  border:1px solid var(--jak-home-border) !important;
}

#search:focus {
  outline:none !important;
  border-color:#409aff !important;
  box-shadow:0 0 0 3px rgba(64,154,255,.12) !important;
}

/* Kategori */
#filterTabs {
  display:flex !important;
  flex-wrap:nowrap !important;
  gap:9px !important;
  overflow-x:auto !important;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
  padding-bottom:6px;
}

#filterTabs::-webkit-scrollbar {
  display:none;
}

#filterTabs button {
  flex-shrink:0 !important;
  min-height:44px;
  white-space:nowrap;
  border-radius:14px !important;
}

/* Kartu video */
#grid {
  gap:14px !important;
}

#grid > * {
  min-width:0;
}

#grid .card {
  border-radius:18px !important;
  overflow:hidden;
  box-shadow:0 7px 20px rgba(0,0,0,.2);
}

/* Navigasi */
.bottomNav {
  border-radius:20px !important;
  box-shadow:0 10px 30px rgba(0,0,0,.35) !important;
}

/* Smartphone */
@media(max-width:600px) {
  body {
    padding-bottom:calc(110px + env(safe-area-inset-bottom)) !important;
  }

  .brandHero {
    border-radius:0 0 22px 22px !important;
  }

  #grid {
    gap:12px !important;
  }

  #filterTabs {
    gap:8px !important;
  }

  .bottomNav {
    left:10px !important;
    right:10px !important;
    width:auto !important;
    bottom:max(8px,env(safe-area-inset-bottom)) !important;
  }
}

/* Desktop */
@media(min-width:821px) {
  #grid {
    grid-template-columns:
      repeat(auto-fill,minmax(240px,1fr)) !important;
    gap:20px !important;
  }

  #search {
    max-width:100%;
  }
}

/* Accessibility */
@media(prefers-reduced-motion:reduce) {
  #filterTabs {
    scroll-behavior:auto !important;
  }
}
