body {
  font-family: Arial, sans-serif;
  color: white;
  margin: 0;
  padding: 0;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: #3f3f41;
  background: url("images/background.jpg") no-repeat center center fixed;
  background-size: cover;
}

.header {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  background: rgb(0, 0, 0);
  padding: 10px;
  box-shadow: 0 0 100px rgb(0, 0, 0);
  margin-bottom: 10px;
}

.logo {
  height: 230px;
  width: 250px;
  margin-top: 70px;
  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: 15px 40px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  color: white;
  min-width: 160px;
  text-align: center;
  transition: background-color 0.3s ease;
}

.btn-login {
  background-color: #1800c2; /* biru */
}

.btn-login:hover {
  background-color: #0f0090;
}

.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(153, 245, 250, 0.8);
  background-repeat: no-repeat;
  background-attachment: fixed;
  transition: all 0.1s ease-in-out;
  z-index: 10;
  width: 9.1%;
  height: 18.8%;
}

.play-btn:hover {
  background: #ec700a;
}
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: 42% 30px 42% 30px;
  background-image: linear-gradient(to bottom, #76f301 0%, #5cc904 47%);
  color: #000;
  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: #000080;
  color: white;
  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(255, 255, 255, 0.2);
  color: white;
  border: none;
  font-size: 54px;
  padding: 8px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
}

.arrow.left {
  left: -10px;
}

.arrow.right {
  right: -10px;
}

.arrow:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.container {
  max-width: 960px;
  margin: auto;
  padding: 20px;
  background-color: #000000ce;
}

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: #1e1e1e;
  border: 2px solid #ffee00;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}

.card img {
  width: 100%;
  height: 180px;
}

.rtp-bar {
  background: #333;
  height: 15px;
  border-radius: 5px;
  overflow: hidden;
  margin: 10px;
}

.rtp-fill {
  height: 100%;
  width: 0%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: width 1s ease-in-out;
  color: #000;
  background-size: 300% 300%;
  animation: gradientFlow 4s linear infinite;
  border-radius: 5px;
}

.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: #fff;
}

@keyframes gradientFlow {
  30% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.title {
  font-weight: bold;
  padding: 10px;
  font-size: 14px;
}
