/* =============================================
   GARUDA888 — PREMIUM DARK NEON THEME
   Targets the original HTML selectors exactly
   ============================================= */

/* ---------- CSS Custom Properties ---------- */
:root {
  --bg-deep: #000000; /* Deep black background */
  --bg-panel: rgba(34, 34, 34, 0.95); /* Dark panel background */
  --bg-card: rgba(51, 51, 51, 0.95); /* Slightly lighter card background */
  --bg-glass: rgba(255, 255, 255, 0.1); /* Subtle white glass effect */
  --neon-gold: #FFD700; /* Gold color */
  --neon-white: #FFFFFF; /* White for highlights */
  --text-primary: #FFD700; /* Gold text */
  --text-secondary: #CCCCCC; /* Light gray text */
  --text-dim: #666666; /* Dim gray text */
  --border-glow: rgba(255, 215, 0, 0.2); /* Gold border glow */
  --glass-border: rgba(255, 255, 255, 0.1); /* Subtle white border */
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  font-family: var(--font-main);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 80% 50% at 20% 20%, rgba(255, 215, 0, 0.05) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
}

img {
  vertical-align: middle;
  border-style: none;
  max-width: 100%;
}

a:hover {
  text-decoration: none;
}

h1 {
  text-align: center;
  color: var(--text-primary);
}

p {
  margin: 0;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: rgba(6, 6, 18, 0.8); }
::-webkit-scrollbar-thumb { background: rgba(0, 229, 255, 0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0, 229, 255, 0.5); }

/* ---------- Container ---------- */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1024px; } }

/* ---------- Header ---------- */
.header {
  width: 100%;
  height: 64px;
  margin-bottom: 6px;
  background: rgba(6, 6, 18, 0.92);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--border-glow);
  box-shadow: 0 2px 30px rgba(0, 229, 255, 0.06);
  position: fixed;
  z-index: 300;
}

.images-logo {
  padding: 2px;
  width: 250px;
  height: 50px;
  float: left;
  margin-top: 5px;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.25));
  transition: var(--transition-fast);
}

.images-logo:hover {
  filter: drop-shadow(0 0 14px rgba(0, 229, 255, 0.45));
}

.header .title {
  float: right;
  width: auto;
  height: auto;
  margin: 15px;
  border-radius: 42px;
}

.title {
  display: flex;
  justify-content: center;
  margin-top: 12px;
  margin-bottom: 12px;
}

.title-text {
  color: var(--neon-cyan);
  font-size: 14px;
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
}

#header-besar { display: block; }
#header-kecil { display: none; }

/* ---------- Slideshow / Banner ---------- */
.slideshow-images-container {
  max-width: 100%;
  position: relative;
  margin: auto;
  margin-bottom: 6px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 229, 255, 0.05);
}

.slideshow-images {
  display: none;
}

.slideshow-images img {
  border-radius: var(--radius-md);
}

.prev-slideshow-images, .next-slideshow-images {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -14px;
  padding: 14px;
  color: var(--neon-cyan);
  font-weight: bold;
  font-size: 18px;
  transition: var(--transition-fast);
  border-radius: 0 6px 6px 0;
  user-select: none;
  background: rgba(6, 6, 18, 0.5);
  backdrop-filter: blur(8px);
  z-index: 5;
}

.next-slideshow-images {
  right: 0;
  border-radius: 6px 0 0 6px;
}

.prev-slideshow-images:hover, .next-slideshow-images:hover {
  background: rgba(0, 229, 255, 0.15);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

.numbertext-slideshow-images {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-family: var(--font-mono);
  padding: 8px 12px;
  position: absolute;
  z-index: 2;
}

.dot-slideshow-images {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 3px;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: inline-block;
  transition: var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.active-slideshow-images, .dot-slideshow-images:hover {
  background-color: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan);
}

.fade-slideshow-images {
  animation: fadeSlide 0.8s ease;
}

@keyframes fadeSlide {
  from { opacity: 0.3; transform: scale(1.01); }
  to { opacity: 1; transform: scale(1); }
}

@media (min-width: 993px) {
  .numbertext-slideshow-images { top: 0; }
}

/* ---------- CTA Buttons (RTP SLOT, DAFTAR, LOGIN) ---------- */
.btn-warning {
  background: linear-gradient(135deg, var(--neon-gold), #FFC107) !important;
  border: none !important;
  color: #000 !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 1px;
  border-radius: var(--radius-sm) !important;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
  transition: var(--transition-fast) !important;
  text-transform: uppercase;
}

.btn-warning:hover {
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
}

.btn-danger {
  background: linear-gradient(135deg, var(--neon-gold), #FF8C00) !important;
  border: none !important;
  color: #333232 !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 1px;
  border-radius: var(--radius-sm) !important;
  box-shadow: 0 0 15px rgba(255, 140, 0, 0.4);
  transition: var(--transition-fast) !important;
  text-transform: uppercase;
}

.btn-danger:hover {
  box-shadow: 0 0 25px rgba(255, 140, 0, 0.6);
}

/* ---------- Running Text / Marquee ---------- */
#running_text_header {
  display: flex;
}

#running_text_header table {
  background: rgba(0, 229, 255, 0.04) !important;
  border: 1px solid rgba(0, 229, 255, 0.08);
  border-radius: var(--radius-sm);
}

#running_text_header h1 {
  font-size: 13px !important;
  color: var(--neon-cyan) !important;
  font-family: var(--font-mono);
  letter-spacing: 0.3px;
}

/* ---------- Slot Section ---------- */
.slot {
  display: block;
  margin-bottom: 100px;
}

/* --- Provider Sidebar --- */
.slot .slot-sidebar {
  float: left;
  width: 19%;
  flex: 0 0 20%;
  max-width: 20%;
  padding-left: 0;
  margin-top: 5px;
  background: var(--bg-panel);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.slot-sidebar-nav {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.slot-sidebar-nav > li {
  width: 100%;
  position: relative;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: var(--transition-fast);
}

.slot-sidebar-nav > li:hover {
  background: rgba(255, 251, 0, 0.06);
}

.slot-sidebar-nav > li > a {
  color: var(--text-secondary);
  font-size: 13px;
  padding: 7px 10px;
  display: block;
  transition: var(--transition-fast);
}

.slot-sidebar-nav > li > a:hover {
  color: var(--text-primary);
}

.btn-provider i { margin-right: 5px; }
.enter { display: none; }

.btn-provider span {
  position: absolute;
  transform: translateY(10px);
  color: var(--text-secondary) !important;
  transition: var(--transition-fast);
}

.btn-provider:hover span {
  color: var(--text-primary) !important;
}

.pragma-logo,
.haba-logo, .idn-logo, .cq9-logo, .pg-logo,
.micro-logo, .isb-logo, .ps-logo, .ttg-logo,
.sg-logo, .rt-logo, .rtg-logo, .sp-logo,
.gmp-logo, .net-logo, .mno-logo {
  display: inline-block;
  background-position: center;
  background-repeat: no-repeat;
  height: 30px;
  width: 32px;
  background-size: 20px;
  filter: brightness(1.2) drop-shadow(0 0 3px rgba(208, 255, 0, 0.2));
  transition: var(--transition-fast);
}

.btn-provider:hover .pragma-logo,
.btn-provider:hover .haba-logo,
.btn-provider:hover .pg-logo,
.btn-provider:hover .micro-logo,
.btn-provider:hover .rt-logo,
.btn-provider:hover .cq9-logo {
  filter: brightness(1.5) drop-shadow(0 0 6px rgba(251, 255, 0, 0.4));
}

.active {
  background: linear-gradient(135deg, rgba(229, 255, 0, 0.15), rgba(238, 255, 0, 0.05)) !important;
  border-left: 3px solid var(--neon-cyan) !important;
}

.active .btn-provider span {
  color: var(--neon-cyan) !important;
}

.next-btn {
  display: none;
  width: 30%;
  background: var(--bg-panel);
  border: 1px solid var(--glass-border);
  color: var(--neon-cyan);
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.next-btn:hover {
  background: rgba(251, 255, 0, 0.1);
}

.mySlides { display: none; }

/* --- Content Area --- */
.slot .content {
  float: right;
  width: 80%;
  padding: 0;
  flex: 0 0 80%;
  max-width: 80%;
}

.wrapper {
  width: 100%;
  padding: 0;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  z-index: 0;
  margin-left: -2px;
}

/* ---------- Search Bar ---------- */
.navbar-search {
  height: 50px;
  width: 100%;
  background: var(--bg-panel);
  border: 1px solid var(--glass-border);
  margin-left: 5px;
  margin-right: 5px;
  margin-top: 5px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(12px);
}

.search-button {
  background: linear-gradient(135deg, var(--neon-cyan), #0088ff) !important;
  border: 0;
  color: #000;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
  margin-right: 10px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.search-button:hover {
  box-shadow: 0 0 12px rgba(251, 255, 0, 0.4);
}

.input-search {
  background: rgba(0, 0, 0, 0.4) !important;
  border: 1px solid rgba(0, 229, 255, 0.1) !important;
  color: var(--text-primary) !important;
  border-radius: 6px !important;
  transition: var(--transition-fast);
}

.input-search:focus {
  border-color: var(--neon-cyan) !important;
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1) !important;
  outline: none;
}

.input-search::placeholder { color: var(--text-dim); }

.search-besar { display: block; }
.search-kecil { display: none; height: auto; }

/* Nav filter buttons (Recent, HOT, NEW) */
.btn-nav-recent,
.btn-nav-hot,
.btn-nav-new {
  border-radius: 6px;
  transition: var(--transition-fast);
}

.btn-nav-recent:hover,
.btn-nav-hot:hover,
.btn-nav-new:hover {
  background: rgba(251, 255, 0, 0.08);
}

.btn-nav-recent strong,
.btn-nav-hot strong,
.btn-nav-new strong {
  color: var(--text-secondary) !important;
  transition: var(--transition-fast);
}

.btn-nav-recent:hover strong { color: var(--neon-cyan) !important; }
.btn-nav-hot:hover strong { color: var(--neon-pink) !important; }
.btn-nav-new:hover strong { color: var(--neon-green) !important; }

/* ---------- Game Cards ---------- */
.card {
  cursor: pointer;
  float: left;
  width: 25%;
  background: transparent;
  border: none;
  text-align: center;
  position: relative;
}

.card-content {
  background: var(--bg-card);
  margin: 5px;
  color: var(--text-primary);
  font-size: 12px;
  border: 1px solid var(--glass-border);
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-sm);
  transition: var(--transition-med);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.card-content:hover {
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 215, 0, 0.2);
}

/* RTP Percent Bar */
.percent {
  height: 26px;
  display: flex;
  overflow: hidden;
  line-height: 0;
  font-size: 0.75rem;
  background-color: #000; /* Black background for all bars */
  position: relative;
  z-index: 1;
}

.percent p {
  z-index: 15;
  position: absolute;
  text-align: center;
  width: 100%;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
  transform: translateY(14px);
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.5px;
}

.percent-bar {
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.1) 25%, transparent 25%,
    transparent 50%, rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.1) 75%, transparent 75%, transparent
  );
  background-size: 1rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  animation: progress-bar-stripes 1s linear infinite;
  z-index: 10;
  position: relative;
}

/* Shimmer effect on bar */
.percent-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  animation: shimmer 2.5s ease-in-out infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}

@keyframes progress-bar-stripes {
  0% { background-position: 1rem 0; }
  100% { background-position: 0 0; }
}

/* Color coding */
.green {
  background: linear-gradient(90deg, #00c853, var(--neon-green));
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.yellow {
  background: linear-gradient(90deg, #ff8f00, var(--neon-yellow));
  box-shadow: 0 0 10px rgba(255, 214, 0, 0.3);
}

.red {
  background: linear-gradient(90deg, #d50000, var(--neon-red));
  box-shadow: 0 0 10px rgba(255, 61, 61, 0.3);
}

/* Hover overlay */
.hover-btn {
  position: absolute;
  opacity: 0;
  background: linear-gradient(360deg, rgba(0, 0, 0, 0.85) 15%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
  transition: all 0.4s ease;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hover-btn:hover {
  opacity: 1;
}

.hover-btn:hover ~ .img-zoom {
  transform: scale(1.08);
}

.play-btn {
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  color: #d1bd05;
  text-align: center;
  align-items: center;
  width: 100%;
  padding: 8px;
  background: linear-gradient(135deg, var(--neon-cyan), #eeff00);
  bottom: 22px;
  position: absolute;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition-fast);
  box-shadow: 0 -4px 15px rgba(0, 229, 255, 0.2);
}

.demo-btn {
  background: linear-gradient(135deg, var(--neon-pink), #ff0055);
  color: #fff;
  bottom: 60px;
  height: auto;
}

.btn-title {
  bottom: 85px;
  position: absolute;
  width: 100%;
  text-align: center;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.img-zoom {
  transition: all 0.4s ease;
  height: auto;
}

/* ---------- Adv ---------- */
.adv {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
}

/* ---------- Bottom Navigation ---------- */
.menu-bottom {
  display: none;
  height: 73px;
  width: 100vw;
  position: fixed;
  bottom: 0;
  z-index: 500;
  border-top: 1px solid var(--border-glow);
  background: rgba(18, 18, 6, 0.95);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3), 0 -1px 20px rgba(0, 229, 255, 0.04);
}

.sub-menu-bottom {
  width: 25vw;
  height: 100%;
  float: left;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sub-menu-bottom:hover {
  background: rgba(238, 255, 0, 0.08);
}

.icon-menu {
  width: 24px;
  height: 24px;
  margin: 6px;
  filter: brightness(0) invert(1) opacity(0.7);
  transition: var(--transition-fast);
}

.sub-menu-bottom:hover .icon-menu {
  filter: brightness(0) invert(1) opacity(1) drop-shadow(0 0 6px rgba(255, 238, 0, 0.5));
}

.text-menu {
  font-size: 11px;
  padding: 0;
  margin: 0;
  color: var(--text-secondary);
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: var(--transition-fast);
}

.sub-menu-bottom:hover .text-menu {
  color: var(--neon-yellow) !important;
}

/* ---------- Popup Styles ---------- */
.popup-container {
  display: none;
  width: 100vw;
  height: 100vh;
  position: fixed;
  z-index: 1000;
  background: rgba(18, 17, 6, 0.85);
  backdrop-filter: blur(8px);
  top: 0; left: 0; right: 0; bottom: 0;
}

.popup-body {
  width: 380px;
  height: 589px;
  margin: 2% auto;
  background: var(--bg-panel);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 229, 255, 0.05);
  overflow: hidden;
}

@media (max-width: 512px) {
  .popup-body {
    width: 92%;
    max-width: 360px;
    margin: 10% auto;
  }
}

.popup-header {
  height: 48px;
  width: 100%;
  background: linear-gradient(135deg, rgba(251, 255, 0, 0.15), rgba(255, 251, 0, 0.1));
  border-bottom: 1px solid rgba(41, 41, 40, 0.1);
  float: left;
}

.popup-header h6 {
  margin: 13px;
  color: var(--text-primary);
  font-weight: 700;
}

.popup-content {
  width: 100%;
  height: auto;
  padding: 7px 39px;
  float: left;
  font-size: 14px;
  color: var(--text-secondary);
}

.popup-content b {
  color: var(--text-primary);
}

.col2 { width: 50%; }
.left { text-align: left; }
.right { text-align: right; }
.mrtop10 { margin-top: 10px; }

.hr {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 251, 0, 0.15), transparent);
  float: left;
  margin-top: 6px;
}

.popup-label {
  width: 100%;
  float: left;
  background: rgba(238, 255, 0, 0.06);
  border-top: 1px solid rgba(255, 238, 0, 0.08);
  border-bottom: 1px solid rgba(238, 255, 0, 0.08);
  padding: 10px 15px;
  font-size: 12px;
  color: var(--neon-cyan);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.popup-close {
  cursor: pointer;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  float: right;
  padding: 5px;
  border-radius: 50%;
  position: absolute;
  margin-top: -10px;
  margin-left: -9px;
  transition: var(--transition-fast);
  z-index: 10;
  backdrop-filter: blur(8px);
}

.popup-close:hover {
  background: rgba(255, 45, 123, 0.2);
  border-color: rgba(255, 45, 123, 0.3);
  color: var(--neon-pink);
}

.bg-blue-button {
  background: linear-gradient(135deg, var(--neon-cyan), #0088ff);
}

.bg-black-button {
  background: rgba(50, 45, 20, 0.9);
  border-top: 1px solid var(--glass-border);
}

.popip-button {
  cursor: pointer;
  width: 50%;
  float: left;
  height: 40px;
  transition: var(--transition-fast);
}

.popip-button h6 {
  color: #fff !important;
  font-weight: 700;
}

.bg-black-button h6 {
  color: var(--text-secondary) !important;
}

.popip-button:hover {
  filter: brightness(1.2);
  box-shadow: inset 0 0 20px rgba(0, 229, 255, 0.1);
}

.popup-img {
  width: 450px;
  height: 555px;
  margin: 8% auto;
}

.popup-img-close {
  cursor: pointer;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  float: right;
  padding: 5px;
  border-radius: 50%;
  position: absolute;
  margin-left: -7px;
  margin-top: -20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

@media (min-width: 993px) {
  .popup-img-close {
    margin-left: 42px;
    margin-top: -12px;
  }
}

.popup-container-ads {
  background-repeat: no-repeat;
  margin: 10% auto;
  border-radius: 18px;
  background-size: 100%;
}

.popup-body-ads-yt {
  width: 606px;
  height: 390px;
  margin: 8% auto;
  padding: 20px;
  background: var(--bg-panel);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

/* ---------- Filter Popup ---------- */
#popup-container-filter {
  overflow-y: scroll;
  position: fixed;
  height: 100%;
  width: 100%;
  z-index: 12220000;
  background: rgba(6, 6, 18, 0.92);
  backdrop-filter: blur(8px);
  top: 0;
}

#popup-container-filter img {
  filter: brightness(1.2) drop-shadow(0 0 4px rgba(0, 229, 255, 0.2));
  transition: var(--transition-fast);
}

#popup-container-filter img:hover {
  filter: brightness(1.5) drop-shadow(0 0 8px rgba(0, 229, 255, 0.4));
  transform: scale(1.05);
}

.title-filter {
  color: var(--text-secondary);
  text-align: center;
  font-weight: 600;
  transition: var(--transition-fast);
}

#popup-container-filter .col-4:hover .title-filter {
  color: var(--neon-cyan);
}

/* ---------- Bad Popup (Low RTP) ---------- */
#popup-container-bad .popup-body {
  background: var(--bg-panel);
  border: 1px solid rgba(255, 61, 61, 0.15);
}

#popup-container-bad .title-popup {
  color: var(--neon-red);
}

#popup-container-bad #pesan-slot-bad {
  color: var(--text-secondary);
}

/* ---------- Slideshow Text (Tips) ---------- */
.slideshow-containerText {
  position: relative;
}

.mySlidesText {
  display: none;
  padding: 11px 34px;
  text-align: center;
}

.prevText, .nextText {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -30px;
  padding: 16px;
  color: #000;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.nextText {
  position: absolute;
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prevText:hover, .nextText:hover {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
}

.sliderTextTitle {
  color: #000;
  font-weight: 700;
}

/* Override the orange popup-label for tips */
.popup-label[style*="background: #f89501"],
.popup-label[style*="f89501"] {
  background: linear-gradient(135deg, var(--neon-gold), #ff8800) !important;
}

/* ---------- Demo Popup ---------- */
.container-demo {
  width: 650px;
  background: var(--bg-panel);
  margin: 4% auto;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
}

.iframe-demo {
  border: 0;
  width: 650px;
  height: 451px;
}

.header-demo {
  background: rgba(20, 20, 50, 0.9);
}

.btn-fullscreen {
  margin: 6px;
  position: initial;
  width: auto;
  font-size: 12px;
  height: auto;
  border-radius: 10px;
  color: var(--neon-cyan);
}

.footer-demo { display: block; }

.btn-popup-demoplay {
  height: auto;
  font-size: 14px;
  padding: 0px 20px;
  margin-bottom: 6px;
  background: linear-gradient(135deg, var(--neon-cyan), #fffb00) !important;
  border: none !important;
  color: #000 !important;
  font-weight: 700;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-cyan), #e5ff00) !important;
  border: none !important;
}

.header-buttom {
  color: var(--text-primary);
  padding: 5px;
  height: 42px;
}

.header-button-text {
  font-size: 14px;
  margin: 7px;
  float: left;
  color: var(--text-secondary);
}

/* ---------- Responsive Overrides ---------- */
@media (max-width: 992px) {
  .slot-sidebar-nav {
    flex-wrap: nowrap;
  }

  .slot-sidebar {
    float: none !important;
    width: 100% !important;
    flex: none !important;
    max-width: 100% !important;
    padding-right: 0 !important;
    border-radius: var(--radius-sm);
  }

  .content {
    float: none !important;
    width: 100% !important;
    flex: none !important;
    max-width: 100% !important;
  }

  .card {
    width: 33.3% !important;
  }

  .hover-btn {
    opacity: 1;
  }

  .hover-btn:hover ~ .img-zoom {
    transform: scale(1);
    position: relative;
  }

  .btn-provider {
    text-align: center;
    display: block;
  }

  .slot-sidebar-nav > li > a {
    height: 70px;
  }

  .enter { display: block; }

  .btn-provider span {
    position: unset;
    font-size: 10px;
  }

  .btn-provider i { margin: 0; }

  .slot-sidebar-nav li {
    border-left: 1px solid rgba(0, 229, 255, 0.06);
    border-right: 1px solid rgba(0, 229, 255, 0.06);
    border-bottom: none;
  }

  .img-zoom { height: auto; }
  .next-btn { display: block; }
  .res-bar { display: none; }

  .header .title { display: none; }
  .col { flex-basis: auto; }
  .header-button-text { font-size: 12px; margin: 9px; }

  .search-besar { display: none; }
  .search-kecil { display: block; }

  .images-logo {
    width: 120px;
    height: 36px;
    float: left;
    margin-top: 15px;
  }

  #running_text_header { display: none; }

  .hover-btn {
    opacity: 1;
  }

  .btn-title {
    bottom: 75px;
    font-size: 11px;
  }

  .play-btn {
    font-size: 11px;
    font-weight: 700;
    color: #d3d3d3;
    padding: 3px;
    background: linear-gradient(135deg, var(--neon-cyan), #0088ff);
    bottom: 22px;
    position: absolute;
  }

  .demo-btn {
    background: linear-gradient(135deg, var(--neon-pink), #ff0055);
    color: #fff;
    bottom: 45px;
    height: auto;
  }

  #header-besar { display: none; }
  #header-kecil { display: block; }

  .container-demo {
    width: 95%;
    margin: 1% auto;
  }

  .iframe-demo {
    width: 95vw;
    height: 82vh;
  }

  .footer-demo { display: none; }

  .popup-body-ads-yt {
    width: 100%;
    height: 40%;
    margin: 20% auto;
  }

  .menu-bottom { display: block; }
}

@media (min-width: 768px) {
  .menu-bottom { height: 78px; }
}

@media (max-width: 425px) {
  .popup-img {
    max-width: 93%;
    margin: 25% auto;
  }

  .card {
    width: 50% !important;
  }
}

/* ---------- Card Entrance Animation ---------- */
@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: cardFadeIn 0.4s ease backwards;
}

.card:nth-child(1) { animation-delay: 0.02s; }
.card:nth-child(2) { animation-delay: 0.04s; }
.card:nth-child(3) { animation-delay: 0.06s; }
.card:nth-child(4) { animation-delay: 0.08s; }
.card:nth-child(5) { animation-delay: 0.10s; }
.card:nth-child(6) { animation-delay: 0.12s; }
.card:nth-child(7) { animation-delay: 0.14s; }
.card:nth-child(8) { animation-delay: 0.16s; }

/* ---------- Progress bar stripes animation ---------- */
@keyframes progress-bar-stripes {
  0% { background-position: 1rem 0; }
  100% { background-position: 0 0; }
}

/* ---------- Utility Overrides ---------- */
.form-control:focus {
  box-shadow: 0 0 0 3px rgba(255, 251, 0, 0.15) !important;
  border-color: var(--neon-cyan) !important;
}

.input-group-text {
  background: rgba(255, 251, 0, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.15);
  color: var(--text-primary);
}

/* Override Bootstrap card */
.card.border-0,
.card[class*="border"] {
  background: transparent;
  border: none;
}

/* Glow ring on the percent bars when high RTP */
.percent-bar.green {
  background: linear-gradient(90deg, #004d00, #00ff00); /* Dark green to bright green */
  box-shadow: 0 0 12px rgba(0, 255, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.percent-bar.yellow {
  background: linear-gradient(90deg, #4d4d00, #ffff00); /* Dark yellow to bright yellow */
  box-shadow: 0 0 12px rgba(255, 255, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.percent-bar.red {
  background: linear-gradient(90deg, #4d0000, #ff0000); /* Dark red to bright red */
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Ensure .menu-bottom is only visible on mobile and spans full width */
@media (max-width: 768px) {
  .menu-bottom {
    display: flex !important; /* Visible only on mobile */
    width: 100vw; /* Ensure it spans the full viewport width */
    margin: 0; /* Remove any default margins */
    left: 0; /* Align to the very left */
    right: 0; /* Align to the very right */
  }
}

@media (min-width: 769px) {
  .menu-bottom {
    display: none !important; /* Hidden on desktop */
  }
}

/* Background wave animation for black and gold theme */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #000000, #1a1612);
  z-index: -2; /* Farthest back layer */
  overflow: hidden;
  animation: background-wave 10s infinite alternate ease-in-out;
}

@keyframes background-wave {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 50% 50%;
  }
  100% {
    background-position: 100% 100%;
  }
}
