body {
  font-family: Arial, sans-serif;
  color: white;
  text-align: center;
  margin: 0;
  padding: 0;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: #ffffff00;
  background: url("https://i.postimg.cc/VkcYv8Cy/0b056cda4cab0388ad0fff5643ada1b7.jpg")
    no-repeat center center fixed;
  background-size: cover;
}

.header {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  background: rgb(0, 0, 0);
  padding: 10px;
  box-shadow: 0 0 100px rgb(0, 0, 0);
  margin-bottom: 10px;
}

.logo {
  height: 80px;
  width: 180px;
  margin-top: 0px;
  margin-bottom: 0px;
}

.slider {
  width: 100%;
  max-width: 1000px;
  margin: 20px auto;
  position: relative;
}

.slide {
  display: none;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 15px #ff010100;
}

.slide.active {
  display: block;
}

.button-group {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 0px;
  margin-bottom: 5px;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  padding: 10px 140px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: bold;
  color: rgb(255, 255, 255);
  min-width: 160px;
  text-align: center;
  transition: background-color 0.3s ease;
}

.btn-login {
  background-color: #500202; /* Merah */
}

.btn-login:hover {
  background-color: #500202;
}

.btn-daftar {
  background-color: #d6a307; /* kuning emas */
}

.btn-daftar:hover {
  background-color: #b98f00;
}

@media (max-width: 500px) {
  .btn {
    width: 100%;
  }
}

.hover-btn:hover {
  opacity: 100%;
}

.hover-btn {
  position: absolute;
  opacity: 0;
  background-color: rgba(0, 211, 226, 0.8);
  background-repeat: no-repeat;
  background-attachment: fixed;
  transition: all 0.1s ease-in-out;
  z-index: 10;
  width: 175px;
  height: 180px;
}

.play-btn:hover {
  background: #0b7a00;
}
a:hover {
  text-decoration: none;
  color: white;
}
a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.play-btn {
  font-size: 15px;
  text-decoration: none;
  color: rgb(255, 255, 255);
  text-align: center;
  align-items: center;
  /* width: 100%; */
  margin-top: 42%;
  padding: 8px;
  display: block;
  margin-left: 30px;
  margin-right: 30px;
  margin: 80px 30px 30px 30px;
  background-image: linear-gradient(to bottom, #0b7a00 0%, #0b7a00 47%);
  color: #ffffff;
  border-radius: 18px;
  transition: all 0.3s ease;
}

a {
  color: #007bff;
  text-decoration: none;
  background-color: transparent;
}

p {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  background-color: transparent;
}

.carousel-wrapper {
  position: relative;
  max-width: 980px;
  margin: auto;
  overflow: hidden;
  background-color: #0000008c;
  padding: 5px;
  border: 1px solid #000000;
  margin-bottom: 5px;
  border-radius: 8px;
}

.carousel-track {
  display: flex;
  transition: transform 0.3s ease;
  overflow-x: hidden;
}

.carousel-item {
  flex: 0 0 20%;
  height: 130px;
  background-color: #500202;
  color: rgb(0, 0, 0);
  text-align: center;
  padding: 0px;
  border-radius: 6px;
  margin: 0 5px;
}

.carousel-item img {
  width: 100px;
  height: auto;
  margin-bottom: 0px;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(68, 68, 68, 0.301);
  color: rgb(0, 0, 0);
  border: none;
  font-size: 54px;
  padding: 8px;
  cursor: pointer;
  z-index: 10;
  height: 150px;
}

.arrow.left {
  left: -10px;
}

.arrow.right {
  right: -10px;
}

.arrow:hover {
  background-color: rgba(68, 68, 68, 0.233);
}

.container {
  max-width: 960px;
  margin: auto;
  padding: 20px;
  background-color: #0000007e;
}

h1 {
  text-align: center;
  color: #ffffff;
  margin-bottom: 30px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.card {
  background-color: #272424;
  border: 2px solid #660404;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 0 8px rgb(109, 0, 0);
}

.card img {
  width: 185px;
  height: 180px;
}

.rtp-bar {
  background: #333;
  border-radius: 20px;
  overflow: hidden;
  margin: 8px 0;
  height: 26px;
  position: relative;
}

.rtp-fill {
  height: 100%;
  width: 45%; /* Sesuaikan persentase RTP */
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(90deg, #00ff88, #00cc66);
  box-shadow: inset 0 0 6px rgba(255, 0, 0, 0.6);
}

/* Efek aliran */
.rtp-fill::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: repeating-linear-gradient(
    -45deg,
    rgba(0, 0, 0, 0.041) 0,
    rgba(0, 0, 0, 0.3) 25px,
    transparent 50%,
    transparent 50%
  );
  background-size: 50px 50px; /* ukuran pola biar mulus */
  animation: flow 1s linear infinite;
}

@keyframes flow {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50px);
  }
}

.rtp-text {
  position: absolute;
  width: 100%;
  text-align: center;
  font-size: 13px;
  font-weight: bold;
  color: #000000;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.green {
  background: linear-gradient(120deg, #00e676, #00c853, #00e676);
}

.yellow {
  background: linear-gradient(120deg, #fff000, #ffcb00, #fff000);
}

.orange {
  background: linear-gradient(120deg, #ff5722, #ff7043, #ff5722);
  color: #000000;
}

@keyframes gradientFlow {
  30% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.title {
  font-weight: bold;
  padding: 10px;
  font-size: 14px;
}

.copyright {
  text-align: center;
  color: #ffffff;
  margin-bottom: 30px;
  padding: 10px;
}
