* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "PLAY", sans-serif;
  background: #d9d9d9;
  overflow-x: hidden;
}


/*DEKSTOP STYLE/*
/*HEADER*/
.header {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  height: 70px;
  align-items: center;
  justify-content: space-between;
  background-color: #222;
  padding: 10px;
  border-block-end: 1px solid #f1c40f;
}
/*HAMBURGER MENU*/
.fa-bars {
  display: none;
}

/*style logo dan navigasi dan bendera dekstop*/
.grup-container {
  display: flex;
  margin-left: 120px;
  padding: 10 20px;
}

/*style logo dekstop*/
.logo-container img {
  width: 200px;
  align-items: center;
}
/*style navigasi sebelah logo dekstop*/
.nav-container {
  display: flex;
  align-items: center;
  margin-left: 20px;
  align-items: center;
}
.nav-links {
  display: flex;
  list-style: none;
}
.nav-links li {
  padding: 5px;
  font-size: 10px;
}
.nav-links a {
  color: #d9d9d9;
  text-transform: uppercase;
  text-decoration: none;
}
.nav-links a:hover {
  color: white;
}

/*bendera dekstop*/
.language-selector {
  display: flex;
  align-items: center;
  color: white;
}
.language-selector span {
  font-size: 15px;
}
.flag-icon {
  width: 30px;
  height: 30px;
  margin-right: 5px;
  border-radius: 100px;
}

/*form input login dekstop*/
.auth-buttons {
  display: flex;
  padding: 5px 10px;
  align-items: center;
  margin-right: 100px;
}
.auth-buttons input {
  padding: 2px;
  width: 100px;
  margin-right: 3px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.auth-buttons input::placeholder {
  font-size: 11px;
  padding: 5px;
  font-style: italic;
}
.auth-buttons i {
  color: #aaa;
  position: absolute;
  margin-left: 180px;
  font-size: 12px;
}
.auth-buttons a {
  padding: 5px;
  font-weight: bold;
  border: none;
  outline: none;
  font-size: 10px;
  cursor: pointer;
  color: white;
  border-radius: 5px;
  text-decoration: none;
}
.login-btn {
  background-color: #555;
}
.register-btn {
  background-color: #f1c40f;
}

/*display none untuk menu responsif hp*/
@media (min-width: 1028px) {
  #menu,
  #menu ul {
    display: none;
    pointer-events: none;
  }
}

.navigasi-menu,
.tombol-container,
small {
  display: none;
}

/*hamburger menu untuk responsif hp*/
@media (max-width: 1028px) {
  .header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 20px;
    border: none;
  }
  .fa-bars {
    display: block;
    color: white;
    font-size: 20px;
  }
  /*menu didalam hamburger menu responsif hp*/
  #menu {
    opacity: 0;
    transform: translateX(100%);
    pointer-events: none;
    transition: all 0.3s ease;
    position: fixed;
    top: 0;
    right: 0;
    background: #222;
    color: white;
    width: 80%;
    height: 100vh;
    box-sizing: border-box;
    overflow-y: auto;
    z-index: 1000;
  }

  /* Saat menu tampil */
  #menu.show {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
  }

  #menu ul {
    display: flex;
    flex-direction: column;
  }
  #menu li {
    list-style: none;
    margin-top: 30px;
    padding: 10px 20px;
  }
  #menu a {
    text-decoration: none;
    color: white;
  }
  #menu small {
    margin-top: 30px;
    font-size: 10px;
    text-align: center;
    display: flex;
    justify-content: center;
    color: #ccccccad;
  }

  /*tombol daftar masuk dan close x responsif hp*/
  .tombol-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
  }
  .log-wrapper {
    background-color: #f1c40f;
    font-size: 10px;
    line-height: 15px;
    border-radius: 5px;
    padding: 10px;
    align-items: center;
    display: flex;
    flex-direction: column;
  }
  .tombol-container span {
    font-size: 20px;
  }
  .batasan {
    border-top: 1px solid white;
    padding-top: 1px;
  }

  /*display off untuk responsif hp*/
  .auth-buttons,
  .nav-container,
  .language-selector {
    display: none;
  }

  /*header responsif hp*/
  .grup-container {
    display: block;
    margin: 0 auto;
    width: 100%;
  }
  .logo-container {
    display: block;
    margin: 0 auto;
    width: 100%;
  }
  .logo-container img {
    max-width: 200px;
  }

  /*navigasi game dalam hamburger menu responsif hp*/
  .navigasi-menu {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    background-color: #333;
    scrollbar-width: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  }
  .navigasi-menu::-webkit-scrollbar {
    display: none;
  }

  .navigasi-menu figure {
    flex: 0 0 20%;
    scroll-snap-align: start;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .navigasi-menu a {
    text-decoration: none;
  }
  .navigasi-menu figure:hover {
    background: #333;
  }
  .navigasi-menu svg {
    width: 25px;
    fill: white;
  }
  .navigasi-menu figcaption {
    font-size: 10px;
    margin-top: 10px;
    font-weight: bold;
    color: white;
    text-align: center;
  }
}

.game-container {
  display: none;
}

/*togel*/
.kolom-togel {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin: 10px;
}
.kolom-togel figure {
  display: flex;
  flex: 1 1 calc(33.333% - 10px);
  box-sizing: border-box;
  flex-direction: column;
  background: white;
  padding: 10px;
  text-align: center;
  font-size: 12px;
  align-items: center;
  border-radius: 10px;
  margin: 0;
}
.kolom-togel h2 {
  font-size: 20px;
}
.kolom-togel p {
  font-size: 9px;
}

/*slot*/
.slot-provider {
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* Jarak antar gambar */
  margin: 10px;
  justify-content: flex-start; /* Biar posisi tetap mulai dari kiri */
}

.slot-provider figure {
  width: calc(33.333% - 6.67px); /* 3 per baris dengan gap */
  box-sizing: border-box;
  margin: 0;
}

.slot-provider img {
  width: 100%;
  display: block;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.slot-provider figcaption {
  display: flex;
  background-color: #333;
  font-size: 10px;
  text-align: center;
  color: white;
  padding: 10px;
  height: 30px;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  justify-content: center;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.slot-provider a {
  text-decoration: none;
}

@media (min-width: 1028px) {
  .slot-provider {
    background-color: white;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Jarak antar gambar */
    margin: 10px;
    justify-content: flex-start; /* Biar posisi tetap mulai dari kiri */
  }

  .slot-provider figure {
    width: calc(33.333% - 6.67px); /* 3 per baris dengan gap */
    box-sizing: border-box;
    margin: 0;
  }

  .slot-provider img {
    width: 100%;
    display: block;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
  }

  .slot-provider figcaption {
    display: flex;
    background-color: #333;
    font-size: 10px;
    text-align: center;
    color: white;
    padding: 10px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
  }

  .slot-provider a {
    text-decoration: none;
  }
}
.promo-box {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
}

.promo-banner img {
  width: 100%;
  display: block;
}

.promo-info {
  padding: 15px 20px;
  background: white;
}

.syarat-info {
  padding: 15px 20px;
  background: white;
  font-size: 14px;
  display: none;
  font-weight: bold;
  color: black;
}
.syarat-info ul {
  padding: 15px 20px;
}
.syarat-info li {
  list-style: number;
}

.promo-info h3 {
  font-size: 14px;
  margin-bottom: 10px;
  color: #111;
  font-weight: bold;
}

.periode {
  font-size: 14px;
  color: #333;
}

.periode .icon {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-right: 6px;
}

@media (max-width: 1028px) {
  .game-container figure.active {
    background-color: #333;
    color: white; /* opsional, biar teks terlihat */
  }

  .game-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    background-color: #f1c40f;
    height: 70px;
  }
  .game-container figure {
    padding: 10px;
    align-items: center;
    display: flex;
    width: 20%;
    height: auto;
    display: flex;
    flex-direction: column;
  }
  .game-container a {
    text-decoration: none;
  }
  .game-container figure:hover {
    background: #333;
  }
  .game-container svg {
    display: block;
    margin: 0 auto;
    width: 25px;
    fill: white;
  }
  .game-container figcaption {
    font-size: 10px;
    margin-top: 10px;
    text-shadow: 1px 1px 0px rgba(0, 0, 1);
    font-weight: bold;
    color: white;
    text-align: center;
  }
}

.banner-container img {
  width: 100%;
  display: block;
  margin: 0;
  padding: 0;
}

.floating-whatsapp {
  position: fixed;
  bottom: 50px;
  left: 0;
  background-color: #333; /* Warna background tombol */
  border-radius: 0px 10px 10px 0px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: width 0.3s;
  width: 20px; /* default width saat tertutup */
  height: 100px;
  z-index: 1000;
  border-top: 5px solid #f1c40f;
  border-bottom: 5px solid #f1c40f;
  border-right: 5px solid #f1c40f;
}

.floating-whatsapp.open {
  width: 80px;
}

.inner-content {
  display: block;
  align-items: center;
  padding: 10px;
  transition: opacity 0.3s;
  text-align: center;
}

.inner-content img.logo-top {
  width: 40px;
}

.inner-content img.whatsapp-icon {
  width: 40px;
}

.toggle-btn {
  position: absolute;
  top: 50%;
  right: -10px;
  transform: translateY(-50%);
  background: #f1c40f;
  width: 30px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: white;
  padding-right: 10px;
}

.toggle-btn span {
  transform: rotate(0deg);
  display: inline-block;
  transition: transform 0.3s;
}

/* Saat floating whatsapp dibuka */
.floating-whatsapp.open .toggle-btn span {
  transform: rotate(180deg);
}
/* style tag MAIN*/
.masukdaftar-container {
  display: none;
}

@media (max-width: 1028px) {
  .masukdaftar-container {
    display: flex;
    width: 100%;
    margin: 0 auto;
    justify-content: center;
  }

  .masukdaftar {
    display: inline-block;
    width: 50%;
    text-align: center;
    margin: 10px;
    padding: 15px;
    justify-content: center;
    align-items: center;
    background-color: #222;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-size: 15px;
  }
  #daftar-btn {
    background-color: #f1c40f;
    text-shadow: 1px 1px 0px rgba(0, 0, 1);
  }
}

.bonus-jackpot-container {
  background-color: #222;
  width: 100%;
  padding: 40px 0;
  position: relative;
  overflow: hidden;
  border-block: 3px solid #f1c40f;
}

.bonus-jackpot {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #f1c40f;
  font-size: 30px;
  position: relative;
  z-index: 1;
}

.bonus-text {
  line-height: 1.2;
  color: white;
  font-family: "Arial Black";
  font-size: 30px;
  border-right: 2px solid #f1c40f;
  padding-right: 10px;
  margin-right: 20px;
}

.jackpot-amount {
  font-size: 50px;
  margin-left: 100px;
  font-weight: bold;
  font-family: "Press Start 2P", cursive;
}

.dots {
  position: absolute;
  left: 0;
  right: 0;
  height: 10px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 0;
  pointer-events: none;
}

.dots.top {
  top: 10px;
}

.dots.bottom {
  bottom: 10px;
}

.dots div {
  width: 8px;
  height: 8px;
  background-color: #f1c40f;
  border-radius: 50%;
  box-shadow: 0 0 5px #f1c40f;
  transition: background-color 0.2s, box-shadow 0.2s;
}

@media (max-width: 1028px) {
  .bonus-jackpot-container {
    display: flex;
    justify-content: center;
  }
  .jackpot-amount {
    font-size: 20px;
    padding: 0;
    margin: 0;
  }
  .bonus-text {
    font-size: 10px;
  }
}

.game-populer,
.promo-populer {
  display: none;
}
@media (max-width: 1028px) {
  .game-populer {
    display: block;
    width: 100%;
    margin: 0 auto;
    margin-top: 10px;
  }
  .tag-logo {
    display: flex;
    align-items: center;
    font-weight: bold;
  }
  .tag-logo svg {
    margin-left: 10px;
    width: 20px;
    fill: #f1c40f;
    text-shadow: 1px 1px 0px rgba(0, 0, 1);
  }
  .tag-logo span {
    font-size: 15px;
  }
  .figure-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
  }

  .figure-container figure {
    flex: 1 1 calc(33.333% - 10.666px);
    margin: 0;
  }

  .figure-container img {
    width: 100%;
    height: auto;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    display: block;
  }

  .figure-container figcaption {
    color: white;
    text-align: center;
    background: #222;
    padding: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    font-size: 12px;
    height: 30px;
    align-items: center;
  }
  .figure-container a {
    text-decoration: none;
  }
  .figure-container figure:hover {
    transform: scale(1.05);
    transition: transform 0.3s;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.3);
  }
}

@media (max-width: 1028px) {
  .promo-populer {
    display: block;
    width: 100%;
    margin: 0 auto;
    margin-top: 10px;
  }
  .tag-promo {
    display: flex;
    align-items: center;
    font-weight: bold;
  }
  .tag-promo svg {
    margin-left: 10px;
    width: 20px;
    margin: 0 15px;
    fill: #f1c40f;
    text-shadow: 1px 1px 0px rgba(0, 0, 1);
  }
  .tag-promo span {
    font-size: 15px;
  }
  .figure-container2 {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    padding: 20px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
    scroll-snap-type: x mandatory; /* <- optional, biar nge-snap pas slide */
  }
  .figure-container2::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }

  .figure-container2 figure {
    flex: 0 0 90%;
    min-width: 80%;
    margin: 0;
    scroll-snap-align: center;
    background-color: white;
  }

  .figure-container2 img {
    width: 100%;
    height: 150px;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    display: block;
  }

  .figure-container2 figcaption {
    font-size: 14px;
    margin-bottom: 10px;
    color: #111;
    font-weight: bold;
    padding: 10px;
  }
  .figure-container2 a {
    text-decoration: none;
  }
  .figure-container2 figure:hover {
    transform: scale(1.05);
    transition: transform 0.3s;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.3);
  }
}

.container-bannerdekstop {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin: 20px auto;
  overflow-x: hidden;
  padding: 10px;
}
.figure-wrapper {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 10px;
  width: 100%;
  margin: 0 auto;
  justify-content: flex-start;
  align-items: center;
}
.figure-wrapper figure {
  flex: 0 0 calc(20% - 8px);
  min-width: 120px;
  height: 50px;
  background-color: #222;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}
.figure-wrapper svg {
  width: 30px;
  fill: white;
}
.figure-wrapper figcaption {
  color: white;
  align-items: center;
  font-size: 12px;
  font-weight: bold;
}
.figure-wrapper a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  color: white;
}

.img-dekstop {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  gap: 5px;
}
.img-dekstop figure {
  width: 25%;
}
.img-dekstop img {
  width: 100%;
}

.index-banner {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  width: 100%;
}
.index-banner figure {
  width: 100%;
}
.index-wrapper img,
.index-promo img {
  width: 100%;
  display: block;
}

.carousel-wrapper {
  position: relative;
  background: #ddd; /* Background abu-abu */
  padding: 20px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.provider-container {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.provider-container::-webkit-scrollbar {
  display: none;
}

.provider-container figure {
  flex: 0 0 auto;
  background: white;
  padding: 10px;
  border-radius: 10px;
  width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.provider-container img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  display: block;
  padding: 0;
  margin: 0;
}

button.prev,
button.next {
  color: black;
  border: none;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  background: none;
}

button.prev {
  margin-right: 10px;
}

button.next {
  margin-left: 10px;
}

@media (max-width: 1028px) {
  .container-bannerdekstop {
    display: none;
  }
}
.footer-container {
  background-color: #000;
  color: #fff;
  padding: 30px 20px;
  font-family: Arial, sans-serif;
  margin-top: 30px;
}

.footer-container h4 {
  color: #f1c40f;
  font-size: 16px;
  margin-bottom: 10px;
}

.nav-footer,
.payment-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 25px;
  gap: 10px;
}

.nav-footer span,
.payment-footer figure span {
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  white-space: nowrap;
}

.payment-footer figure {
  display: flex;
  align-items: center;
}

.info-footer {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 25px;
}

.powered-by img {
  max-height: 40px;
  margin-top: 10px;
}

.trusted-logos img,
.responsibility-logos img {
  height: 35px;
  margin: 5px;
  object-fit: contain;
}

.trusted-logos,
.responsibility-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.contact-us .contact-icons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-us .contact-icons div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ccc;
  font-size: 14px;
}

.contact-us img {
  width: 20px;
  height: 20px;
}

@media (min-width: 768px) {
  .info-footer {
    flex-direction: row;
    justify-content: space-between;
  }

  .nav-footer,
  .payment-footer {
    justify-content: start;
    gap: 30px;
  }
}
