
/* OPETGAMES — LEFT CORNER GLASS ONLY */

:is(
  #topDownloadBar,
  #heroSection .royal-hero-wrap,
  #quickMenu .quick-item,
  #tickerSection,
  #categoryList .category-btn,
  #statsSection .stat-item
) {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate;
}

/* SATU PANTULAN: KIRI ATAS SAJA */
:is(
  #topDownloadBar,
  #heroSection .royal-hero-wrap,
  #quickMenu .quick-item,
  #tickerSection,
  #categoryList .category-btn,
  #statsSection .stat-item
)::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;

  top: 4px !important;
  left: 4px !important;
  right: auto !important;
  bottom: auto !important;

  width: 46% !important;
  height: 85% !important;

  border-radius: inherit !important; clip-path: ellipse(100% 100% at 0% 0%);
  pointer-events: none !important;
  z-index: 5 !important;
  opacity: 1 !important;

  background: linear-gradient(
    145deg,
    rgba(255,255,255,.98) 0%,
    rgba(245,249,255,.90) 9%,
    rgba(185,195,215,.52) 22%,
    rgba(95,105,125,.18) 43%,
    rgba(0,0,0,0) 70%
  ) !important;

  box-shadow: none !important;
}

/* END LEFT CORNER GLASS */

/* OPETGAMES ROUND LOGO */
.top-app-logo {
  position: relative !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  isolation: isolate;
  box-shadow:
    0 0 8px rgba(0,200,255,.45),
    0 0 14px rgba(255,195,50,.25);
}

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

.top-app-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(255,255,255,.08) 38%,
    rgba(255,255,255,.65) 48%,
    rgba(255,255,255,.08) 58%,
    transparent 75%
  );
  transform: translateX(-160%);
  animation: opetLogoShine 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes opetLogoShine {
  0%, 65% { transform: translateX(-160%); }
  85%, 100% { transform: translateX(160%); }
}

@media (prefers-reduced-motion: reduce) {
  .top-app-logo::after {
    animation: none;
    opacity: 0;
  }
}
/* END OPETGAMES ROUND LOGO */





/* OPETGAMES HEADER LOGO FINAL FIX */
#topDownloadBar::after {
  z-index: 1 !important;
}

#topDownloadBar .top-app-info {
  position: relative !important;
  z-index: 20 !important;
}

#topDownloadBar .top-app-logo {
  position: relative !important;
  z-index: 21 !important;
  isolation: isolate;
  border-radius: 50% !important;
  overflow: hidden !important;
}

#topDownloadBar .opet-header-logo {
  position: relative !important;
  z-index: 2 !important;
}
/* END HEADER LOGO FIX */

/* OPETGAMES — KILAUAN DI ATAS GAMBAR HERO */
#heroSection .royal-hero-wrap #heroSlider {
  position: relative !important;
  overflow: hidden !important;
  border-radius: inherit !important;
  isolation: isolate;
}

#heroSection .royal-hero-wrap #heroSlider::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: inherit !important;
  pointer-events: none !important;
  z-index: 10 !important;

  background: linear-gradient(
    135deg,
    rgba(255,255,255,.58) 0%,
    rgba(255,255,255,.25) 13%,
    rgba(255,255,255,.06) 32%,
    transparent 55%
  ) !important;
}

/* HERO OPETGAMES — TANPA KILAUAN KACA */
#heroSection .royal-hero-wrap::after,
#heroSection .royal-hero-wrap #heroSlider::after {
  content: none !important;
  display: none !important;
}


/* OPETGAMES — BINGKAI KARTU APK SILVER */
#appsGrid .app-card {
  border: 1.5px solid #aeb8c5 !important;
  border-radius: 17px !important;
  box-shadow:
    inset 0 2px 2px rgba(255,255,255,.32),
    0 0 0 1px rgba(235,242,250,.30),
    0 5px 14px rgba(0,0,0,.60),
    0 0 10px rgba(190,205,225,.20) !important;
}

/* OPETGAMES — TEKS PENGUMUMAN DI DEPAN KILAUAN */
#tickerSection .ticker-icon,
#tickerSection .ticker-window {
  position: relative !important;
  z-index: 6 !important;
}

#tickerSection #tickerText {
  position: relative !important;
  z-index: 7 !important;
}
