  @font-face {
  font-family: 'TTNorms';
  src: url('../fonts/TTNorms-Medium.otf') format('opentype');
}

    body, html {
    font-family: 'TTNorms', sans-serif;
    text-decoration: none;
  margin: 0;
  padding: 0;
  min-height: 100%;
  overflow-x: hidden;
}

    body::before {
      content: "";
      position: fixed;
      top: 0; left: 0;
      width: 100%;
      height: 100%;
      background: url('../images/background.jpg') no-repeat center center;
      background-size: cover;
      z-index: -1;
    }

    .mobile-container {
  width: 400px;
  max-width: 100%;
  min-height: 100vh; /* ganti dari height ke min-height */
  margin: 0 auto;
  background-color: rgba(255,255,255,0.9);
  overflow-y: auto;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  position: relative;
  padding-bottom: 70px;
}


    .logo {
  text-align: center;
  padding: 20px 0 10px;
  border-bottom: 1px solid #ddd; /* Tambahkan garis pembatas */
}

    .logo img {
      width: 100px;
    }

.marquee-container {
  display: flex;
  align-items: center;
  padding: 10px;
  background: #fff;
  overflow: hidden;
  position: relative;
  font-weight: bold;
  color: #000;
}

.marquee-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background: #eee;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  font-size: 16px;
  color: #444;
}

.marquee-text {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.marquee-text span {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 10s linear infinite;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}



    .slider {
      position: relative;
      width: 100%;
      overflow: hidden;
      touch-action: pan-y;
    }

    .slides {
      display: flex;
      transition: transform 0.4s ease-in-out;
      will-change: transform;
    }

    .slides img {
      width: 100%;
      height: 150px;
      object-fit: cover;
      flex-shrink: 0;
      user-select: none;
      pointer-events: none;
    }

    .slider-buttons {
      position: absolute;
      top: 50%;
      width: 100%;
      display: flex;
      justify-content: space-between;
      transform: translateY(-50%);
      padding: 0 10px;
      box-sizing: border-box;
    }

    .slider-buttons button {
      background: rgba(0,0,0,0.4);
      border: none;
      color: white;
      font-size: 18px;
      padding: 8px 12px;
      cursor: pointer;
      border-radius: 4px;
    }

.menu-toggle {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 1001;
  background-color: #01796F;
  color: white;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 20px;
  cursor: pointer;
  user-select: none;
}

/* Sidebar dalam mobile-container */
.sidebar {
  position: absolute;
  top: 0;
  left: -200px;
  width: 200px;
  height: 95%;
  background: #ffffff;
  box-shadow: 2px 0 10px rgba(0,0,0,0.3);
  padding-top: 60px;
  transition: left 0.3s ease-in-out;
  z-index: 1000;
}

.sidebar a {
  display: block;
  padding: 15px 20px;
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid #eee;
}

.sidebar a:hover {
  background: #f0f0f0;
}

.latest-game-grid-provider {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 15px;
  padding: 15px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding: 15px;
}

.game-card {
  background: #01796F;
  border-radius: 10px;
  text-align: center;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.game-card:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.game-card img {
  width: 80%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;
}

.game-card span {
  text-decoration: none;
  display: block;
  font-weight: bold;
  font-size: 14px;
  color: #fff;
}

.latest-games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding: 15px;
}

.latest-game-card {
  background: #01796F;
  border-radius: 10px;
  text-align: center;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.latest-game-card:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.latest-game-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;
}

.latest-game-card span {
  display: block;
  font-weight: bold;
  font-size: 14px;
  color: #fff;
}

.latest-game-card-nl {
  background: #01796F;
  border-radius: 10px;
  text-align: center;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.latest-game-card-nl:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.latest-game-card-nl img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;
}

.latest-game-card-nl span {
  display: block;
  font-weight: bold;
  font-size: 14px;
  color: #fff;
}

.section-title {
  text-align: center;
  margin: 30px 0 15px;
  position: relative;
}

.section-title span {
  border-radius: 5px;
  display: inline-block;
  background: #01796F;
  padding: 10px 15px;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 1px;
  color: #fff;
  position: relative;
  z-index: 1;
  animation: fadeIn 0.8s ease-in-out;
}

.section-title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 2px;
  background: #ccc;
  z-index: 0;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.usd-counter {
  text-align: center;
  margin: 20px 0;
  font-size: 24px;
  color: #fff;
  font-weight: bold;
  background-image: url('../images/jackpot-bg.png'); /* Ganti dengan path gambar kamu */
  background-size: cover;
  background-position: center;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  position: relative;
  z-index: 1;
}

.usd-counter span {
  margin-right: 10px;
  color: #fff;
}

.footer-menu {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0;
  z-index: 1002;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
}

.footer-menu a {
  text-decoration: none;
  color: #555;
  font-size: 12px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-menu a i {
  font-size: 18px;
  margin-bottom: 4px;
}

.footer-menu a:hover {
  color: #01796F;
}

.footer-menu a.masuk {
  background: #01796F;
  color: #fff;
  border-radius: 12px;
  padding: 6px 10px;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, background 0.3s;
}

.footer-menu a.masuk i {
  font-size: 20px;
  margin-bottom: 2px;
}

.footer-menu a.masuk:hover {
  background: #ffc600;
  transform: scale(1.05);
}

.download-app-section {
  margin: 25px 15px;
  background: linear-gradient(135deg, #ffc600, #01796F);
  border-radius: 10px;
  padding: 15px;
  color: white;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  animation: fadeInUp 0.6s ease-out;
}

.download-app-content {
  display: flex;
  align-items: center;
  width: 100%;
}

.android-icon {
  font-size: 40px;
  margin-right: 15px;
  flex-shrink: 0;
}

.text-content {
  flex-grow: 1;
}

.text-content h3 {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
}

.text-content p {
  margin: 5px 0 0;
  font-size: 12px;
  opacity: 0.9;
}

.download-button {
  background: #fff;
  color: #01796F;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
  transition: background 0.3s, transform 0.2s;
}

.download-button:hover {
  background: #f1f1f1;
  transform: scale(1.05);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.btn-daftar {
  position: absolute;
  top: 20px;
  right: 15px;
  background-color: #01796F;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  z-index: 1001;
  transition: background 0.3s, transform 0.2s;
}

.btn-daftar:hover {
  background-color: #ffc600;
  transform: scale(1.05);
}

.download-bar {
  background: #01796F;
  color: white;
  padding: 10px 15px;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 999;
}

.download-bar-content {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  gap: 10px;
}

.download-bar i {
  font-size: 18px;
}

.download-bar span {
  flex: 1;
}

.unduh-button {
  background: white;
  color: #01796F;
  padding: 6px 10px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  font-size: 13px;
}

.close-button {
  background: transparent;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  margin-left: 8px;
}

/* Modal dasar */
.modal {
  display: none;
  position: fixed;
  z-index: 1005;
  left: 0; top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

/* Konten modal */
.modal-content {
  background-color: #fff;
  padding: 20px;
  width: 90%;
  max-width: 350px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  position: relative;
  animation: fadeInUp 0.3s ease-out;
}

.modal-content h2 {
  margin-top: 0;
  text-align: center;
  color: #01796F;
}

.modal-content label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
  font-size: 14px;
}

.modal-content input {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.modal-content button {
  margin-top: 20px;
  width: 100%;
  padding: 10px;
  background-color: #01796F;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
}

.modal-content button:hover {
  background-color: #ffc600;
}

.modal-content .close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 22px;
  cursor: pointer;
  color: #888;
}


@keyframes slideDown {
  from { transform: translateY(-30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.close {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 24px;
  color: #aaa;
  cursor: pointer;
  font-weight: bold;
}

.close:hover {
  color: #000;
}

.login-form {
  display: flex;
  flex-direction: column;
}

.login-form label {
  font-weight: bold;
  margin-top: 10px;
  font-size: 14px;
  color: #333;
}

.login-form input {
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.login-form button {
  margin-top: 20px;
  padding: 10px;
  background-color: #01796F;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.login-form button:hover {
  background-color: #ffc600;
}

.footer-text {
  text-align: center;
  font-size: 12px;
  color: #777;
  padding: 0px 10px 0px;
  background-color: transparent;
  line-height: 1.4;
}

.footer-text h1,
.footer-text h2,
.footer-text h3,
.footer-text h4,
.footer-text h5 {
  color: #01796F;
  margin: 10px 0;
}

.toast {
  visibility: hidden;
  min-width: 250px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 12px 16px;
  position: fixed;
  z-index: 9999;
  left: 50%;
  bottom: 100px;
  transform: translateX(-50%);
  font-size: 14px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.5s ease, bottom 0.5s ease;
}

.toast.show {
  visibility: visible;
  opacity: 1;
  bottom: 120px;
}


.promo-banner-section {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.promo-banner img {
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  margin: 0 auto;
  display: block;
}

.promo-banner img:hover {
  transform: scale(1.02);
}

/* Modal Style */
.promo-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.promo-modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px 30px;
  border-radius: 10px;
  width: 80%;
  max-width: 400px;
  text-align: center;
  animation: fadeInModal 0.4s ease;
}

.promo-close {
  color: #aaa;
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

.promo-close:hover {
  color: #000;
}

@keyframes fadeInModal {
  from {opacity: 0; transform: translateY(-20px);}
  to {opacity: 1; transform: translateY(0);}
}

        /* Modal */
    .chat-modal {
      display: none; /* Modal disembunyikan secara default */
      position: fixed;
      z-index: 1003;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.7); /* Background gelap transparan */
      opacity: 0;
      transition: opacity 0.4s ease;
    }

    /* Konten modal */
    .chat-modal-content {
      background-color: #fff;
      margin: 5% auto;
      padding: 20px;
      border-radius: 10px;
      width: 80%;
      max-width: 300px; /* Mengatur lebar maksimal modal */
      color: black;
      text-align: center;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
      animation: slideIn 0.6s ease-out;
    }

    @keyframes slideIn {
      from {
        transform: translateY(-50px);
        opacity: 0;
      }
      to {
        transform: translateY(0);
        opacity: 1;
      }
    }

    .close-button:hover {
      color: #ffd700;
    }

    /* Judul */
    .chat-modal-content h2 {
      font-size: 24px;
      margin-bottom: 20px;
      font-family: 'Arial', sans-serif;
      font-weight: 700;
    }

    /* Deskripsi */
    .chat-modal-content p {
      font-size: 15px;
      margin-bottom: 30px;
    }

    /* Layout Grid untuk platform chat */
    .chat-platforms {
      display: grid;
      grid-template-columns: repeat(3, 1fr); /* 2 kolom per baris */
      gap: 10px; /* Jarak antar kolom */
      justify-items: center; /* Menyelaraskan item di tengah */
      margin-bottom: 20px;
    }

    /* Link platform chat */
    .chat-platforms a {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 10px 10px;
      text-decoration: none;
      color: white;
      font-size: 15px;
      margin: 10px 0;
      border-radius: 8px;
      background-color: #01796F;
      transition: background-color 0.3s ease, transform 0.3s ease;
      width: 80%; /* Ukuran logo dan teks agar rata */
    }

    .chat-platforms a:hover {
      background-color: #ffc600;
      transform: translateY(-5px); /* Efek saat hover */
    }

    /* Ikon platform */
    .chat-platforms img {
      width: 40px;
      height: 40px;
      margin-bottom: 10px;
      transition: transform 0.3s ease;
    }

    .chat-platforms a:hover img {
      transform: scale(1.2); /* Efek zoom pada gambar logo saat hover */
    }

    /* Tombol tutup modal */
    #closeModalchat {
      padding: 6px 12px;
      background-color: #01796F;
      color: #fff;
      font-size: 14px;
      font-weight: bold;
      border-radius: 6px;
      border: none;
      cursor: pointer;
    }

    #closeModalchat:hover {
      background-color: #004e3c;
    }