@import url("https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&display=swap");
/* =========================
   ALISHAGAMES V2 - BASE
========================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Kalam", cursive;
  color: #fff;
  background:
    linear-gradient(rgba(5, 0, 2, 0.72), rgba(5, 0, 2, 0.86)),
    url("/background-batik.png") center top / cover fixed,
    #050002;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

main {
  width: 100%;
}


/* =========================
   3. LOGO BESAR
========================= */

#header {
  min-height: 54px;
  padding: 3px 14px;

  display: flex;
  align-items: center;

  background: linear-gradient(180deg, #0b0906, #030303);
  border-bottom: 1px solid #b88918;
}

.main-brand {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.main-brand img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 48px;
  object-fit: contain;
}






/* =========================
   4. RUNNING TEXT
========================= */

#tickerSection {
  height: 24px;

  display: flex;
  align-items: center;

  overflow: hidden;

  background: linear-gradient(90deg, #171106, #080704);
  border-top: 1px solid #ffd54a;
  border-bottom: 1px solid #ffd54a;
}

.ticker-icon {
  flex: 0 0 30px;
  text-align: center;
  font-size: 11px;
}

.ticker-window {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

#tickerText {
  display: inline-block;
  padding-left: 0;
  font-size: 10px;
}




/* =========================


/* =========================
   7. QUICK MENU
========================= */

#quickMenu {
  padding: 5px 14px 14px;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.quick-item {
  min-width: 0;
  min-height: 38px;

  border: 1px solid #d6a72a;
  border-radius: 18px;

  background: linear-gradient(145deg, #171208, #070605);

  color: #fff;
  font-weight: 700;
}

.quick-item span {
  display: inline;
  margin-bottom: 0;
  font-size: 16px;
}

.quick-item strong {
  font-size: 10px;
}


/* =========================
   COMMON SECTION
========================= */

.content-section,
#searchSection,
#categorySection,
#statsSection,
#aboutSection {
  padding-left: 14px;
  padding-right: 14px;
}

.section-title h2,
.section-heading h2 {
  font-size: 21px;
}


/* =========================
   8. REKOMENDASI
========================= */



.section-title {
  margin-bottom: 15px;
}




/* =========================
   9. SEARCH
========================= */

#searchSection {
  margin-top: 0;
  padding-top: 0;
}

.search-box {
  height: 33px;

  display: flex;
  align-items: center;

  border: 1px solid #d6a72a;
  border-radius: 28px;

  background: #0c0a07;
}

.search-icon {
  padding-left: 18px;

  color: #ffd54a;
  font-size: 24px;
}

#searchInput {
  flex: 1;
  min-width: 0;
  height: 100%;

  padding: 0 14px;

  border: 0;
  outline: 0;

  background: transparent;
  color: #fff;

  font-size: 16px;
}

#searchInput::placeholder {
  color: #9daea4;
}


/* =========================
   10. CATEGORY
========================= */

#categorySection {
  margin-top: 4px;
  overflow: hidden;
}

/* =========================
   11. APK GRID
========================= */

#appsSection {
  margin-top: 5px;
}

.section-heading {
  margin-bottom: 14px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

#appsCount {
  color: #ffe66d;
  font-size: 11px;
}



#emptyApps {
  padding: 55px 20px;
  text-align: center;
  color: #a0b0a6;
}


/* =========================
   12. STATISTIK
========================= */

#statsSection {
  margin-top: 55px;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.stat-item {
  min-height: 118px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  border: 1px solid #9b771f;
  border-radius: 18px;

  background: linear-gradient(145deg, #171208, #080704);
}

.stat-item strong {
  color: #ffe66d;
  font-size: 31px;
}

.stat-item span {
  margin-top: 8px;

  color: #d3ddd6;
  font-size: 12px;
  font-weight: 700;
}


/* =========================
   13. ABOUT
========================= */

#aboutSection {
  margin-top: 55px;
  padding-top: 40px;
  padding-bottom: 35px;

  border-top: 1px solid #206d38;
}

#aboutSection h2,
.footer-group h2 {
  font-size: 25px;
}

.title-line {
  width: 62px;
  height: 4px;

  margin: 16px 0 28px;

  border-radius: 10px;

  background: #ffd54a;

  box-shadow: 0 0 8px rgba(255, 213, 74, .35);
}

#aboutSection p {
  color: #b4c1b9;

  font-size: 17px;
  line-height: 1.8;
}


/* =========================
   14. SOCIAL
========================= */

#socialSection {
  padding: 5px 18px 38px;

  display: flex;
  gap: 14px;
}

#socialSection button {
  width: 52px;
  height: 52px;

  border-radius: 50%;
  border: 1px solid #b88918;

  background: transparent;

  color: #ffe66d;

  font-size: 25px;
  font-weight: bold;
}


/* =========================
   15. FOOTER
========================= */

#footer {
  padding: 35px 18px 28px;

  background: rgba(0, 25, 16, .55);
}

.footer-group {
  margin-bottom: 42px;
}

.footer-group button {
  width: 100%;

  padding: 11px 0;

  display: flex;
  align-items: center;
  gap: 25px;

  border: 0;

  background: transparent;

  color: #ffe66d;

  font-size: 22px;
  text-align: left;
}

.footer-group button span {
  color: #b1bdb5;
  font-size: 18px;
}

.copyright {
  padding-top: 25px;

  border-top: 1px solid #17482b;

  color: #82a98d;

  text-align: center;
  font-size: 14px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 480px) {


  #heroSlider {
    aspect-ratio: 16 / 7.5;
  }

  #appsGrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* =========================
   HOT APK — FINAL
========================= */
#appsGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3px;
}

#appsGrid .app-card {
  min-width: 0;
  height: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 3px;
  color: #ffe66d;
  font-size: 12px;
}

.app-logo {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 0;
  background: transparent;
}

.app-logo img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.app-card strong {
  margin: 0;
  padding: 0;
  font-size: 11px;
  line-height: 1;
  text-align: center;
}

/* TAP / CLICK FINAL */
button,
a,
[role="button"],
.app-card {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.quick-item:active {
  transform: scale(0.96);
  filter: brightness(1.5);
  box-shadow: 0 0 12px rgba(255,215,80,.65);
}

#appsGrid .app-card:active {
  transform: scale(0.94);
  filter: brightness(1.8) drop-shadow(0 0 10px #ffd84d);
}


/* =========================
   KATEGORI + HOT V2
========================= */

#appsSection .section-heading {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  overflow: visible !important;
}

#appsTitle {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  color: #ffffff !important;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

#appsTitle.active {
  color: #d6a72a !important;
}

#appsTitle:active {
  transform: scale(0.94);
  filter: brightness(1.8) drop-shadow(0 0 8px #ffd84d);
}

#categoryList {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none;
}

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

/* =========================
   DETAIL APK V2
========================= */
.apk-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(5px);
}

.apk-detail-overlay.show {
  display: flex;
}

.apk-detail-modal {
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  border: 1px solid #d6a72a;
  border-radius: 22px;
  background: linear-gradient(145deg,#171208,#050403);
  box-shadow: 0 0 28px rgba(214,167,42,.25);
  color: #fff;
}

.apk-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(214,167,42,.35);
}

.apk-detail-header h2 {
  margin: 0;
  font-size: 18px;
  color: #ffe66d;
}

.apk-detail-close {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffe66d;
  font-size: 30px;
  line-height: 1;
}

.apk-detail-content {
  padding: 18px;
}

.apk-download-area {
  padding: 0 18px 18px;
}

.apk-download-button {
  width: 100%;
  min-height: 50px;
  border: 1px solid #d6a72a;
  border-radius: 16px;
  background: #d6a72a;
  color: #090704;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
}

.apk-download-button:active {
  transform: scale(.97);
  filter: brightness(1.25);
}

.apk-download-note {
  margin-top: 9px;
  text-align: center;
  font-size: 11px;
  opacity: .75;
}



/* =========================
   HERO V2
========================= */
#heroSection {
  position: relative;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

#heroSlider {
  position: relative;
  width: 100%;
  aspect-ratio: 1733 / 907;
  overflow: hidden;
}

#heroSlider .hero-v2-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  transition: opacity .6s ease;
}

#heroSlider .hero-v2-slide.active {
  opacity: 1;
  z-index: 2;
}

#heroSlider .hero-v2-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 1;
  visibility: visible;
}

#heroDots {
  min-height: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

.hero-v2-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #66521c;
}

.hero-v2-dot.active {
  background: #ffd84a;
  box-shadow: 0 0 7px #ffd84a;
}


/* Quick menu final gold */
.quick-item .quick-icon{
  width:27px;
  height:27px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.quick-item .quick-icon{
  color:#e2b43b;
}

.quick-item .quick-icon svg{
  width:25px;
  height:25px;
  display:block;
  fill:currentColor;
}

.quick-item strong{
  color:#e2b43b;
}

/* DETAIL APK — TOMBOL INFO WHATSAPP */
.apk-wa-button {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 10px auto 4px;
  padding: 6px 12px;
  border-radius: 10px;
  background: #25d366;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, .25);
}

.apk-wa-button:active {
  transform: scale(.97);
}
/* SOCIAL — LOGO ASLI PUTIH */
#socialSection button svg {
  width: 25px;
  height: 25px;
  display: block;
  fill: #fff;
}

#socialSection button {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* FOOTER NAV — IKON SVG */
#footer .nav-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: #ffe066;
}

/* QUICK MENU ICON PUTIH */
#quickMenu .quick-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #fff;
  flex: 0 0 24px;
}

#quickMenu .quick-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* QUICK ICON PELANGI BERGERAK */
#quickMenu .quick-icon svg {
  fill: url(#quickRainbow);
}





#quickMenu .quick-icon svg {
  fill: currentColor;
}

/* =========================
   WIDE / LANDSCAPE / TABLET V2
========================= */
@media (min-width: 481px) and (max-width: 1024px) {

  /* Brand lebih proporsional */
  #header {
    min-height: 76px;
    padding: 8px 18px;
  }

  .main-brand img {
    height: 62px;
  }

  /* Hero jangan memenuhi layar terlalu besar */
  #heroSection {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #heroSlider {
    width: min(100%, 760px);
    aspect-ratio: 1733 / 907;
  }

  /* APK lebih cocok untuk layar lebar */
  #appsGrid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px 6px;
  }

  .app-logo,
  .app-logo img {
    width: 88px;
    height: 88px;
  }

  .app-card strong {
    font-size: 12px;
  }
}



/* =========================
   TABLET GRID ONLY
   HP LANDSCAPE TIDAK DISENTUH
========================= */

/* Tablet tegak = 4 kolom */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  #appsGrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Tablet miring = 8 kolom */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  #appsGrid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

/* TABLET LANDSCAPE LEBAR / TOUCH */
@media (min-width: 1025px) and (orientation: landscape) and (pointer: coarse) {
  #appsGrid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

/* TABLET LANDSCAPE - APK LEBIH BESAR */
@media (min-width: 768px) and (orientation: landscape) and (pointer: coarse) {
  #appsGrid .app-logo,
  #appsGrid .app-logo img {
    width: 110px;
    height: 110px;
  }

  #appsGrid .app-logo img {
    border-radius: 18px;
  }

  #appsGrid .app-card strong {
    font-size: 13px;
  }
}







/* HEADER BARIS 2 — BLUE BLACK */
#header {
  background:
    radial-gradient(circle at 15% 50%, rgba(0,90,255,.18), transparent 32%),
    radial-gradient(circle at 85% 40%, rgba(0,55,180,.16), transparent 30%),
    linear-gradient(135deg, #071a3a 0%, #020713 48%, #061b3d 100%);
  border-bottom: 1px solid #145bc7;
}


/* ===== QUICK MENU 2 TOMBOL — FINAL ===== */
#quickMenu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 10px 14px 14px;
}

#quickMenu .quick-item {
  width: 100%;
  min-height: 48px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

#quickMenu .quick-item:active {
  transform: none;
  filter: none;
  box-shadow: none;
}

/* ===== HEADER ATAS APKGAMES ===== */
#topDownloadBar {
  min-height: 58px;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #0b0905, #181205, #0b0905);
  border-bottom: 1px solid #b88918;
}

.top-app-info {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-app-logo {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
}

.top-app-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
}

.top-app-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.top-app-text strong {
  font-size: 17px;
}

.top-app-text span {
  margin-top: 3px;
  max-width: 190px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #c1cec6;
  font-size: 11px;
}

@media (max-width: 480px) {
  .top-app-logo {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
  }

  .top-app-text strong {
    font-size: 15px;
  }
}

/* ===== RUNNING TEXT APKGAMES ===== */
#tickerText {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: tickerAPKGames 16s linear infinite;
}

@keyframes tickerAPKGames {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* KATEGORI — SILVER CHROME FINAL */
#categoryList .category-btn {
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 5px 9px !important;
  border: 2px solid #c9d2dc !important;
  border-radius: 9px 12px 7px 12px / 9px 12px 7px 12px !important;
  background: linear-gradient(155deg,#29252b,#09080b 55%,#020203) !important;
  color: #ffffff !important;
  font-family: inherit !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  box-shadow:
    inset 0 2px 2px rgba(255,255,255,.55),
    inset 0 -3px 4px rgba(35,42,52,.8),
    0 0 0 1px #343b45,
    0 5px 14px rgba(0,0,0,.65) !important;
  cursor: pointer !important;
}
#categoryList .category-btn.active {
  border-color: #c9d2dc !important;
  color: #ffffff !important;
  box-shadow:
    inset 0 2px 2px rgba(255,255,255,.55),
    inset 0 -3px 4px rgba(35,42,52,.8),
    0 0 0 1px #343b45,
    0 0 9px rgba(255,45,75,.35) !important;
  font-weight: 700 !important;
}
/* HEAD1 + HEAD2 TETAP SAAT SCROLL */
#topDownloadBar {
  position: sticky !important;
  top: 0 !important;
  z-index: 1001 !important;
}

#header {
  position: sticky !important;
  top: 58px !important;
  z-index: 1000 !important;
}


/* APKGames - Pencarian di Header 1 */
#topDownloadBar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px;
  top: 0 !important;
}

#topDownloadBar #searchSection {
  flex: 1;
  min-width: 0;
  max-width: 190px;
  margin: 0 !important;
  padding: 0 !important;
}

#topDownloadBar .search-box {
  height: 34px;
}

#topDownloadBar .search-icon {
  padding-left: 10px;
  font-size: 20px;
}

#topDownloadBar #searchInput {
  padding: 0 8px;
  font-size: 12px;
}


/* Ikon pencarian pojok kanan Header 1 */

#topDownloadBar #searchSection {
  flex: 0 0 auto;
  max-width: none;
  margin-left: auto !important;
}

#searchToggle {
  background: transparent;
  border: none;
  box-shadow: none;
  color: #ffd54a;
  font-size: 23px;
  cursor: pointer;
  padding: 6px;
}

#topDownloadBar .search-box {
  background: transparent;
  border: none;
  height: auto;
}

#topDownloadBar #searchInput {
  display: none;
}

#topDownloadBar {
  position: sticky !important;
  isolation: isolate;
}

#topDownloadBar #searchSection.search-open {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: min(145px, calc(100vw - 260px));
  min-width: 120px;
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 10;
}

#topDownloadBar #searchSection.search-open .search-box {
  border: 1px solid #d6a72a;
  border-radius: 20px;
  background: #0c0a07;
}

#topDownloadBar #searchSection.search-open #searchInput {
  display: block;
  min-width: 0;
}

#searchToggle {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
}

/* Perbesar ikon pencarian */
#searchToggle svg {
  width: 28px;
  height: 28px;
}

/* HERO CARD PREMIUM */
#heroSection {
  width: 100%;
  padding: 12px 16px 0 !important;
  box-sizing: border-box;
  overflow: visible;
}

#heroSlider {
  width: 100%;
  aspect-ratio: 1733 / 907;
  overflow: hidden;
  box-sizing: border-box;
}

#heroSlider .hero-v2-slide,
#heroSlider .hero-v2-slide img {
  border-radius: inherit;
}


/* HEADER & PENGUMUMAN KARTU PREMIUM */
#topDownloadBar {
  width: calc(100% - 32px) !important;
  margin: 10px 16px !important;
  border-radius: 20px !important;
  box-sizing: border-box;
  overflow: hidden;
}

#tickerSection {
  width: calc(100% - 32px) !important;
  margin: 0 16px 10px !important;
  border-radius: 20px !important;
  box-sizing: border-box;
  overflow: hidden;
}

#heroSection {
  padding-top: 0 !important;
}


/* ROYAL CYBER FRAME V1 */
#heroSection {
  position: relative;
}

#heroSection #heroFrame {
  position: relative;
}


/* ROYAL FRAME — FINAL ALIGNMENT */
#heroSection .royal-hero-wrap {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
}

#heroSection .royal-hero-wrap #heroSlider {
  border: 0 !important;
  box-shadow: none !important;
  border-radius: inherit !important;
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1733 / 907 !important;
}



/* RAPATKAN HERO, TITIK SLIDER, DAN QUICK MENU */
#heroSection #heroDots {
  margin-top: 3px !important;
}

#quickMenu {
  padding-top: 3px !important;
}

/* JABRANGAMES — RED BLACK PREMIUM */

:root {
  --jabran-red: #ff173d;
  --jabran-dark: #080308;
  --jabran-gloss: linear-gradient(
    155deg,
    #444047 0%,
    #171419 18%,
    #070609 48%,
    #020203 100%
  );
}


/* BATIK KAWUNG MERAH GELAP */
html, body {
  background-color: #080207 !important;
}
html, body {
  background-image:
    radial-gradient(ellipse at center,
      transparent 34%,
      rgba(220,20,55,.32) 36% 39%,
      transparent 42%),
    radial-gradient(ellipse at center,
      transparent 34%,
      rgba(220,20,55,.32) 36% 39%,
      transparent 42%),
    linear-gradient(145deg,#170008,#080308 55%,#020203) !important;
  background-size:
    76px 76px,
    76px 76px,
    cover !important;
  background-position:
    0 0,
    38px 38px,
    center !important;
  background-attachment: scroll !important;
}
/* TOMBOL MENU HITAM MENGKILAP */
#quickMenu .quick-item,
.quick-item {
  background: var(--jabran-gloss) !important;
  border: 2px solid #c9d2dc !important;
  border-radius: 9px 18px 7px 18px / 9px 18px 7px 18px !important;
  box-shadow:
    inset 0 2px 2px rgba(255,255,255,.55),
    inset 0 -3px 4px rgba(35,42,52,.8),
    0 0 0 1px #343b45,
    0 5px 14px rgba(0,0,0,.65) !important;
}

/* KARTU APK */
#appsGrid .app-card,
.app-card {
  background: var(--jabran-gloss) !important;
  border: 1px solid rgba(255,80,100,.4) !important;
  border-radius: 17px !important;
  box-shadow:
    inset 0 2px 2px rgba(255,255,255,.15),
    0 8px 20px rgba(0,0,0,.55),
    0 0 12px rgba(255,0,40,.12) !important;
}

/* PANEL STATISTIK */
#statsSection,
.stat-item {
  background: linear-gradient(
    155deg,#262027,#080609 45%,#020203
  ) !important;
  border-color: rgba(255,60,80,.35) !important;
}

/* Aksen merah tetap digunakan pada indikator slider. */

.hero-v2-dot.active {
  background: #ff173d !important;
  box-shadow: 0 0 10px #ff173d !important;
}

/* EFEK SENTUH */
.quick-item:active,
.app-card:active {
  transform: scale(.97);
  box-shadow: 0 0 20px rgba(255,0,50,.45) !important;
}

/* RAMAH PERFORMA HP */
@media (max-width: 600px) {
  body {
    background-attachment: scroll !important;
  }
}

/* JABRANGAMES — TEKS PUTIH SERAGAM */
#top10Button,
#top10Button strong,
#top10Button .quick-icon,
#communityButton,
#communityButton strong,
#communityButton .quick-icon,
#categoryList .category-btn,
#categoryList .category-btn.active,
#statsSection .stat-item,
#statsSection .stat-item strong,
#statsSection .stat-item span {
  color: #ffffff !important;
}

/* JARAK ATAS LOGO APK */
#appsGrid .app-card {
  padding-top: 10px !important;
  box-sizing: border-box;
}

/* JARAK LOGO APK DARI BINGKAI ATAS */
#appsGrid .app-card .app-logo {
  margin-top: 12px !important;
}

/* JARAK LOGO APK SEIMBANG */
#appsGrid .app-card {
  padding: 6px !important;
}
#appsGrid .app-card .app-logo {
  margin-top: 0 !important;
}

/* KOMUNITAS TAMBAHAN JABRANGAMES */
.jabran-extra-communities {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0;
}
.jabran-community-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,70,90,.55);
  background: linear-gradient(135deg,#201014,#08080c);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(0,0,0,.4);
}
.jabran-community-link img {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}
.jabran-community-link:active {
  transform: scale(.98);
}

/* URUTAN KOMUNITAS JABRANGAMES */
#communityPanel .community-modal {
  display: flex;
  flex-direction: column;
}
#communityPanel .nusantara-community-btn {
  order: 1;
}
#communityPanel .community-item {
  order: 2;
}
#communityPanel .jabran-extra-communities {
  order: 3;
}
