@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(180deg, #080706 0%, #020202 100%);
}

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: 32px;
  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;
}

#categoryList .category-btn {
  flex: 0 0 auto !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #ffffff !important;
  font-family: inherit !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

#categoryList .category-btn.active {
  background: transparent !important;
  color: #d6a72a !important;
  font-weight: 700 !important;
}

/* =========================
   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-main-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.apk-detail-icon {
  width: 82px;
  height: 82px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 18px;
}

.apk-main-copy {
  min-width: 0;
}

.apk-detail-name {
  font-size: 20px;
  font-weight: 700;
}

.apk-category-badge {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 10px;
  border: 1px solid #d6a72a;
  border-radius: 20px;
  color: #ffe66d;
  font-size: 11px;
}

.apk-developer {
  margin-top: 7px;
  font-size: 11px;
  opacity: .75;
}

.apk-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.apk-stat {
  padding: 10px;
  text-align: center;
  border: 1px solid rgba(214,167,42,.45);
  border-radius: 12px;
}

.apk-stat strong {
  display: block;
  color: #ffe66d;
  font-size: 18px;
}

.apk-stat span {
  font-size: 11px;
}

.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: 38px;
  }

  /* 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;
  }
}







/* ===== APKGAMES BLUE BLACK BATIK BACKGROUND ===== */
body {
  background-color: #020712;
  background-image:
    radial-gradient(circle at 15% 20%, transparent 0 22px, rgba(0,91,255,.16) 23px 25px, transparent 26px),
    radial-gradient(circle at 85% 70%, transparent 0 30px, rgba(0,55,160,.18) 31px 34px, transparent 35px),
    repeating-radial-gradient(ellipse at 0 0,
      rgba(10,80,190,.12) 0 2px,
      transparent 3px 18px),
    linear-gradient(135deg,
      rgba(0,45,120,.20) 0%,
      rgba(1,10,28,.94) 38%,
      #02040a 65%,
      rgba(0,35,95,.25) 100%);
  background-attachment: fixed;
  background-size: 150px 150px, 210px 210px, 90px 90px, cover;
}


/* 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;
  }
}

/* ===== APLIKASI TERBARU - LOGO HEADER 2 ===== */
.main-brand img {
  width: min(220px, 60vw);
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* ===== APLIKASI TERBARU — DARK MATCHA GOLD THEME ===== */

body {
  background-color: #07140d !important;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(201, 168, 76, .09) 0 2px, transparent 3px),
    radial-gradient(circle at 75% 75%, rgba(201, 168, 76, .07) 0 2px, transparent 3px),
    repeating-linear-gradient(
      45deg,
      rgba(139, 164, 92, .035) 0 8px,
      transparent 8px 22px
    ) !important;
  color: #f3f0df;
}

/* Nuansa batik emas */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .22;
  background:
    radial-gradient(ellipse at center,
      transparent 0 35%,
      rgba(191, 157, 70, .16) 36% 38%,
      transparent 39% 100%);
  background-size: 70px 42px;
}

/* Header */
#topDownloadBar,
#header {
  background:
    linear-gradient(135deg, #06120b, #17351f 55%, #0a1c10) !important;
  border-color: rgba(207, 174, 82, .45) !important;
}

/* Tombol utama */
button,
.quick-item,
#apkDownloadButton {
  background:
    linear-gradient(135deg, #0b2414, #315c35 52%, #102b18) !important;
  border-color: rgba(202, 170, 76, .55) !important;
  color: #f7f3df !important;
}

/* Efek tombol */
button:hover,
.quick-item:hover,
#apkDownloadButton:hover {
  background:
    linear-gradient(135deg, #17351f, #477846 52%, #16351e) !important;
}

/* Aksen emas */
h1,
h2,
h3,
strong {
  text-shadow: 0 1px 8px rgba(198, 163, 72, .12);
}


/* ===== BATIK KUCING — MATCHA & GOLD ===== */
body {
  background-color: #07150d !important;
  background-image:
    /* mata kucing */
    radial-gradient(ellipse at 43% 48%, rgba(210,174,73,.20) 0 2px, transparent 3px),
    radial-gradient(ellipse at 57% 48%, rgba(210,174,73,.20) 0 2px, transparent 3px),

    /* kepala kucing */
    radial-gradient(circle at 50% 52%,
      transparent 0 14px,
      rgba(196,157,62,.13) 15px 17px,
      transparent 18px),

    /* ornamen batik */
    repeating-radial-gradient(
      ellipse at 50% 50%,
      transparent 0 23px,
      rgba(151,178,91,.035) 24px 25px,
      transparent 26px 44px
    ),

    linear-gradient(135deg,#06110a 0%,#102719 50%,#07140d 100%) !important;

  background-size:
    90px 70px,
    90px 70px,
    90px 70px,
    180px 140px,
    100% 100%;

  background-attachment: fixed;
}

/* Lapisan motif telinga kucing emas */
body::before {
  content: "▲     ▲     🐾     ▲     ▲     🐾";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  color: rgba(205, 169, 72, .10);
  font-size: 22px;
  line-height: 72px;
  letter-spacing: 13px;
  word-spacing: 12px;

  overflow: hidden;
  transform: rotate(-8deg) scale(1.15);
  transform-origin: center;
}

/* ===== BATIK KUCING CSS V2 — MATCHA GOLD ===== */

body {
  background-color: #06150c !important;
  background-image:
    radial-gradient(ellipse at 50% 40%,
      transparent 0 17px,
      rgba(203,168,74,.16) 18px 19px,
      transparent 20px),

    radial-gradient(circle at 35% 30%,
      rgba(203,168,74,.10) 0 3px,
      transparent 4px),

    radial-gradient(circle at 65% 30%,
      rgba(203,168,74,.10) 0 3px,
      transparent 4px),

    repeating-radial-gradient(
      ellipse at 50% 100%,
      transparent 0 18px,
      rgba(175,142,61,.07) 19px 20px,
      transparent 21px 38px
    ),

    linear-gradient(
      135deg,
      #06130a 0%,
      #10291a 48%,
      #07170e 100%
    ) !important;

  background-size:
    110px 90px,
    110px 90px,
    110px 90px,
    150px 120px,
    100% 100%;

  background-attachment: fixed;
}

/* Hilangkan motif emoji versi lama */
body::before {
  content: "" !important;
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;

  background:
    repeating-conic-gradient(
      from 45deg at 50% 50%,
      rgba(211,174,75,.055) 0deg 8deg,
      transparent 8deg 42deg
    );

  background-size: 120px 120px;
  opacity: .7;
}

/* ===== KOTAK SENADA TOP 10 ===== */

.search-box {
  background: #101015 !important;
  border-color: rgba(255,190,0,.35) !important;
}

.stat-item {
  background: #101015 !important;
  border-color: rgba(255,190,0,.35) !important;
}


/* ===== WARNA PANEL LANJUTAN ===== */

/* Community */
.community-modal {
  background: #101015 !important;
  border-color: rgba(255,190,0,.35) !important;
}

/* Footer */
#footer {
  background: #101015 !important;
}

/* Garis About + Footer */
#aboutSection {
  border-top-color: rgba(255,190,0,.35) !important;
}

.copyright {
  border-top-color: rgba(255,190,0,.18) !important;
}

/* ===== CATEGORY BUTTON — APLIKASI TERBARU ===== */
#categoryList .category-btn {
  padding: 8px 15px !important;
  border: 1px solid rgba(255,190,0,.35) !important;
  border-radius: 12px !important;
  background: #101015 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

#categoryList .category-btn.active {
  background: rgba(255,190,0,.12) !important;
  border-color: rgba(255,190,0,.65) !important;
  color: #ffd54a !important;
}

/* ===== TOMBOL KATEGORI DINAMIS SAJA ===== */
#categoryList .category-btn:not(#allAppsButton) {
  padding: 7px 14px !important;
  border: 1px solid rgba(255,190,0,.45) !important;
  border-radius: 10px !important;
  background: #101015 !important;
  color: #ffffff !important;
}

#categoryList .category-btn:not(#allAppsButton).active {
  background: rgba(255,190,0,.16) !important;
  border-color: #d6a72a !important;
  color: #ffd54a !important;
}

/* SEMUA APK tetap tanpa bungkus */
#categoryList #allAppsButton {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

/* ===== CATEGORY BUTTON FINAL COMPACT ===== */
#categoryList .category-btn,
#categoryList #allAppsButton {
  width: auto !important;
  min-width: 0 !important;
  height: 27px !important;
  padding: 0 9px !important;
  margin: 0 !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  border: 1px solid rgba(255,190,0,.38) !important;
  border-radius: 8px !important;
  background: #101015 !important;

  color: #ffffff !important;
  font-size: 11px !important;
  line-height: 1 !important;
}

#categoryList .category-btn.active,
#categoryList #allAppsButton.active {
  background: rgba(255,190,0,.14) !important;
  border-color: rgba(255,190,0,.70) !important;
  color: #ffd54a !important;
}

/* RUNNING TEXT — LOOP TERUS */
#tickerText {
  display: inline-block;
  white-space: nowrap;
  animation: tickerLoop 12s linear infinite;
}

@keyframes tickerLoop {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(-100%);
  }
}
