body {
  background: #000;
  color: #fff;
  font-family: sans-serif;
}
.header-top {
  background: #ffcc00;
  padding: 10px 0;
  text-align: center;
}
.header-top a {
  color: #000;
  font-weight: bold;
  margin: 0 15px;
}
.carousel-inner img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
  }
  
  @media (max-width: 768px) {
    .carousel-inner img {
      height: auto;
      object-fit: contain;
    }
  }  
.runtext {
  background: #222;
  color: #fff;
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
}
.runtext span {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 15s linear infinite;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.breadcrumb-nav {
  background: #111;
  padding: 10px;
  text-align: center;
  flex-wrap: wrap;
}
.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  margin: 0 10px;
  color: #fff;
  cursor: pointer;
}
.breadcrumb-item img {
  height: 20px;
  margin-right: 6px;
}
.breadcrumb-item.active {
  color: #dc3545;
  font-weight: bold;
}
.search-bar input {
  padding: 6px 10px;
  border-radius: 5px;
  border: none;
  width: 200px;
}
.game-box {
  background: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  margin-bottom: 20px;
  border: 2px solid #ffcc00;
}
.game-box img {
  width: 120px;
  height: 100%;
  object-fit: cover;
}
.game-info {
  flex: 1;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.rtp-bar {
  height: 10px;
  border-radius: 4px;
  margin-top: 5px;
}
.btn-mainkan {
  background: #ff4500;
  color: white;
}
.btn-lihatrtp {
  border: 1px solid white;
  color: white;
}
.badge-hot {
  background: red;
  color: white;
  padding: 5px;
  font-size: 12px;
  font-weight: bold;
}
@media (max-width: 768px) {
  .col-md-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .game-box {
    flex-direction: column;
    align-items: center;
  }
  .game-box img {
    width: 100%;
    height: auto;
  }
}
.badge-hot {
    background-color: red;
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 5px;
  }
  
  .badge-new {
    background-color: green;
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 5px;
  }
  .login-daftar-bar {
    background-color: #1a1a1a;
  }
  
  .login-daftar-bar .btn {
    border-radius: 30px;
    font-size: 1rem;
  }
  .bg-tb-menu {
    width: 100%;
    overflow-x: auto;
    background: linear-gradient(to bottom, #882d09 0, #301d66 100%);
    border-top: 2px solid #912f11;
  }
  
  .bg-tb-list {
    display: flex;
    justify-content: center;
    padding: 10px;
    margin: 0;
    list-style: none;
    gap: 10px;
    min-width: max-content;
  }
  
  .bg-tb-list li {
    flex: 0 0 auto;
    text-align: center;
    cursor: pointer;
  }
  
  .bg-tb-list li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    font-size: 12px;
    text-decoration: none;
  }
  
  .bg-tb-list li img {
    width: 35px;
    height: 35px;
    margin-bottom: 5px;
    object-fit: contain;
    filter: brightness(1.2);
  }
  
  .bg-tb-list .active a span {
    font-weight: bold;
    color: #ffd700;
  }
  
  .badge-all {
    background-color: #666;
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 5px;
  }
  .game-title {
    font-size: clamp(0.75rem, 1.8vw, 1rem); /* auto scale font */
    line-height: 1.2;
    font-weight: bold;
    margin-bottom: 5px;
  }
  h4.text-warning, h4.text-success, h4.text-white {
    font-weight: bold;
    border-left: 5px solid #ffcc00;
    padding-left: 10px;
  }
  