a {
  color: #F5F5F5; /* Warna teks link default (putih pudar) */
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
 

.color-1 {
  /* Biarkan background image utama */
  background-image: url('https://wahyu4d.daftargames.com/rtp/wahyu4d-bg1.jpg');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center center;
  background-size: cover;
  width: 100%;
  min-height: 100vh;
}

.color-2 {
  background-color: #424242; /* Abu-abu sedang */
  border-bottom: #d43737 3px solid; /* Border gold */
}
.color-3 {
  background-color: #D4AF37; /* Gold */
}
.color-4 {
  background-color: #212121; /* Abu-abu sangat gelap (charcoal) */
}
.color-5 {
  background-color: #B71C1C; /* Merah gelap */
}
.color-6 {
  background-color: #B71C1C; /* Merah gelap */
}
.color-7 {
  background-image: -webkit-linear-gradient(top, #333333 0%, #212121 80%); /* Gradient abu-abu gelap */
  border-radius: 6px;
}
.color-8 {
  background-color: #212121; /* Abu-abu sangat gelap (charcoal) */
}
.text-justify {
  text-align: justify;
}
.web-logo {
  width: 100%;
  max-width: 150px;
}
.card-game {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-clip: border-box;
  border: 1px solid rgba(212, 175, 55, 0.2); /* Border gold transparan */
  border-radius: 0.25rem;
}
i.icon {
  color: #E53935; /* Merah (lebih lembut dari #ff0000) */
  font-size: 20px;
  line-height: 1;
}
.bi-person-plus-fill {
  margin-right: 0.5rem;
}
.btn-regis {
  font-size: 0.875rem;
  font-weight: 700;
  background: #d43737; /* Gold */
  color: #000;
  border: none;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}
.btn-regis:hover {
  background: #FFD800; /* Gold lebih cerah saat hover */
  color: #B71C1C; /* Teks merah gelap saat hover */
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
}

.mr-n1 {
  margin-right: -1rem;
}
.btn-slide {
  background: #333333; /* Abu-abu gelap */
  
}

.provider-thumbnail {
 display: block;
  margin: 0;
  width: 2rem;
  height: 2rem;
}
.list-group-item {
  
  border: 5px solid transparent;
  background: transparent;
}
 
.list-group-item span {
  margin-left: 0.5rem;
  font-weight: 700;
}

/* Efek default list item */
.list-group-item-action a {
  display: block;
  color: #ffffff;
  text-decoration: none;
  /* Gradient abu-abu ke gold */
  background: linear-gradient(135deg, #424242 0%, #D4AF37 95%);
  border-radius: 8px;
  transition: all 0.35s ease;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  
}

/* Hover & Focus */
.list-group-item-action:hover a,
.list-group-item-action:focus a {
  color: #E53935; /* Teks merah */
  transform: translateY(-3px) scale(1.02);
  /* Gradient abu-abu gelap ke gold cerah */
  background: linear-gradient(135deg, #212121 0%, #FFD800 80%);
  /* Shadow glow gold dan merah */
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.7),
              0 0 8px rgba(33, 33, 33, 0.6);
  text-shadow: 0 0 6px rgba(229, 57, 53, 0.7);
   
}

/* Item aktif */
.list-group-item.active a {
  /* Gradient gold ke merah */
  background: linear-gradient(135deg, #FFD800 0%, #B71C1C 100%);
  color: #ffffff; /* Teks putih */
  border: none;
  font-weight: 700;
  /* Shadow glow gold dan merah */
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.8),
              0 0 10px rgba(183, 28, 28, 0.8);
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
  transition: all 0.4s ease;
  border: 1px solid #D4AF37; /* Border gold */
}

/* Hover pada item aktif */
.list-group-item.active:hover a {
  /* Gradient gold cerah ke merah lebih gelap */
  background: linear-gradient(135deg, #FFD800 0%, #8a1414 80%);
  color: #ffffff;
  box-shadow: 0 0 25px rgba(255, 255, 0, 0.9),
              0 0 12px rgba(183, 28, 28, 0.8);
  transform: translateY(-2px);
}

/* Tambahan efek glowing lembut (disesuaikan ke gold) */
@keyframes glowPulse {
  0% {
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
  }
  50% {
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.9);
  }
  100% {
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
  }
}

.list-group-item.active a {
  animation: glowPulse 2s infinite;
}

.card.card-game {
  display: block;
  position: relative;
  min-height: 100px;
  width: calc((100% - (5px * 3 * 2)) / 3);
  margin: 5px;
  padding: 5px;
  background-color: #212121; /* Abu-abu sangat gelap */
  border-color: #D4AF37; /* Border gold */
  border-radius: 10px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Tambahan shadow */
  transition: all 0.3s ease;
}
.card-img,
.card-img-bottom,
.card-img-top {
  width: 100%;
  height: 100%;
}

.xdp {
  border-radius: 3px;
}
.card.card-game .game-link {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 120px;
  width: auto;
  height: auto;
}
.card.card-game .game-item-img {
  transition: all 500ms ease 0s;
}
.card.card-game:hover .game-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9;
}
.card.card-game:hover .game-item-img {
  transform: scale(1.15) rotate(0deg);
  filter: brightness(50%);
}
.card-game span {
  color: #F5F5F5; /* Teks putih pudar */
  text-transform: capitalize;
  width: 90%;
  margin: 3px auto;
  font-weight: 700;
  text-align: center;
  font-size: 0.65rem;
  overflow: hidden;
  white-space: nowrap;
}
.jam {
  color: #fffdfd;
  background: #383838;
  border-radius: 10px;
  font-weight: bold;
  text-align: center;
}
.jamgacor {
  display: none;
}
.pola {
  padding: 5px;
  color: #ffffff;
}
.jam h5 {
  font-size: 0.8em;
  font-weight: bold;
  border-bottom: 1px solid #FFFFFF;
  width: 85%;
  margin: 3px auto;
  padding: 2px;
}
.pola p {
  margin-bottom: 0.1rem;
  font-size: 0.8em;
}
.btn-game {
  padding: 3px 8px;
  color: #000;
  background: #D4AF37; /* Gold */
  border-radius: 2px;
  font-weight: 700;
  font-size: 12px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}
.btn-game:hover {
  background-color: #FFD800; /* Gold cerah */
  color: #B71C1C; /* Teks merah */
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}
.btn-login {
  border-radius: 0;
  line-height: 1.2;
}
.btn-login small,
.btn-login span {
  animation: blinking 1s step-start infinite;
}
.btn-group span {
  font-weight: 700;
}
input#search {
  width: 100%;
  outline: none;
  border: 0;
  border-radius: 3px;
  background-color: #FFFFFF;
  color: #000;
  font-size: 0.775rem;
  font-family: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.card-provider {
  position: relative;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #333333; /* Abu-abu gelap */
  border-radius: 50%;
  flex: 1 1 auto;
  margin: 0 auto;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}
.card-provider img {
  width: 100%;
}
.card-title {
  text-align: center;
}
.card-deck {
  display: flex;
  flex-flow: row wrap;
  align-items: stretch;
}
.game-item {
  background: #313131;
  height: 0;
  position: relative;
  padding-bottom: 66.44186%;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}
.game-item-img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.2s ease;
}
.owl-item {
  text-align: center;
}
.owl-item .active span {
  color: #FFD800; /* Gold cerah */
}
.owl-item span {
  width: 100%;
  font-weight: 500;
  text-align: center;
  font-size: 0.625rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #E0E0E0; /* Abu-abu muda (teks) */
}
.carousel-game {
  background: #212121; /* Abu-abu sangat gelap */
  border-radius: 3px;
}
.carousel-game .col {
  flex: 0 0 0%;
  height: auto;
}
#owl-game {
  flex: 1 0 auto;
  width: 50%;
  margin: 0 auto;
}
.owl-dots {
  display: none;
}
.animate-charcter {
  display: inline-block;
  text-transform: uppercase;
  color: #000000;
  font-size: 17px;
  font-weight: 500;
  border-radius: 3px;
  margin: 5px;
}
.card.card-game .card-body .game-link {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height: auto;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.6); /* Overlay abu-abu gelap transparan */
}
.card.card-game .card-body:hover .game-link {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9;
}
.percent {
  height: 16px;
  display: flex;
  overflow: hidden;
  line-height: 0;
  font-size: 0.5rem;
  background-color: #4e4e4e;
  border-radius: 0 0 10px 10px;
  position: relative;
  z-index: 1;
}
.percent p {
  z-index: 15;
  position: absolute;
  text-align: center;
  width: 100%;
  font-size: 12px;
  font-weight: bold;
  transform: translateY(8px);
  color: white;
  text-shadow: 0 0 3px #000, 0 0 3px #000, 0 0 3px #000;
}
.percent-bar {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  transition: width 0.6s ease;
  -webkit-animation: progress-bar-stripes 1s linear infinite;
  animation: progress-bar-stripes 1s linear infinite;
  z-index: 10;
}
.yellow {
  position: relative;
  background-color: #FFD800; /* Gold cerah (biarkan) */
}
.green {
  position: relative;
  /* Mengganti hijau dengan abu-abu, sesuai palet */
  background-color: #00d300; 
}
.red {
  position: relative;
  background-color: #B71C1C; /* Merah gelap */
}
.shine {
  position: relative;
}
.yellow:after,
.green:after,
.red:after {
  content: "";
  opacity: 0;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #fff;
  -webkit-animation: animate-shine 2s ease-out infinite;
  -moz-animation: animate-shine 2s ease-out infinite;
  animation: animate-shine 2s ease-out infinite;
}
.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}
.modal-close {
  font-size: 23px;
  cursor: pointer;
}
.modal .modal-dialog .modal-content .modal-header h5 {
  font-size: 18px;
}
.modal .modal-dialog .modal-content .modal-body p.text-list {
  display: block;
  position: relative;
  width: 30px;
  color: #B71C1C; /* Merah gelap */
  font-size: 40px;
  font-weight: 900;
  text-align: center;
}
.modal .modal-dialog .modal-content .modal-body h5,
.modal .modal-dialog .modal-content .modal-body p {
  font-size: 14px;
}
.footer-text {
  background: #212121; /* Abu-abu sangat gelap */
  border-top: 2px solid #D4AF37; /* Border top gold */
}
@keyframes blinking {
  50% {
    opacity: 0;
  }
}

@-webkit-keyframes animate-shine {
  0% {
    opacity: 0;
    width: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    width: 95%;
  }
}
@-moz-keyframes animate-shine {
  0% {
    opacity: 0;
    width: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    width: 95%;
  }
}
@keyframes animate-shine {
  0% {
    opacity: 0;
    width: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    width: 95%;
  }
}
@media (min-width: 576px) {
  .text-xs-left {
    text-align: left;
  }
  .card.card-game {
    flex: 0 0 auto;
    width: calc((100% - (5px * 5 * 2)) / 5);
  }
}
@media (max-width: 576px) {
  .pola p {
    margin-bottom: 0.1rem;
    font-size: 0.7em;
  }
}
@media (min-width: 993px) {
  .modal .modal-dialog .modal-content {
    max-width: 400px;
    margin: 0 auto;
  }
}

.livechat-container {
  position: fixed;
  bottom: 0;
  right: 10px;
  z-index: 10;
  opacity: 0.98;
}

.close-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: transparent;
  color: #E53935; /* Merah */
  border: none;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  font-size: 25px;
  cursor: pointer;
  text-align: center;
  line-height: 2px;
}

.close-btn:hover {
  background-color: #424242; /* Abu-abu sedang */
}