  /* BACKGROUND BG */
  
/* BACKGROUND END */

/* navbar */
  body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #111;
  }

  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Logo kiri, menu kanan */
    background-color: rgba(17, 17, 17, 0.4);
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  /* Logo di kiri */
  .logo img {
    height: 60px;
  }

  /* Tombol menu (hamburger) untuk HP */
  .menu-toggle {
    font-size: 28px;
    background: none;
    border: none;
    color: white;
    display: none;
    cursor: pointer;
  }

  /* List menu horizontal */
  .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
  }

  .nav-links li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
  }

  .nav-links li a:hover {
    color: #ad0cdf;
  }

  /* Responsive untuk HP */
  @media (max-width: 768px) {
    .menu-toggle {
      display: block;
    }

    .nav-links {
      position: absolute;
      top: 60px; /* bawah navbar */
      left: 0;
      width: 100%;
      background-color: rgba(0, 0, 0, 0.95);
      flex-direction: column;
      align-items: center;
      display: none;
      margin: 0;
      padding: 10px 0;
    }

    .nav-links.active {
      display: flex;
    }

    .nav-links li {
      padding: 10px 0;
      width: 100%;
      text-align: center;
    }
  }
/* navbar end */

/* TELEGRAM */

.floating-btn {
  position: fixed;
  left: 12px;
  width: 50px;
  height: 50px;
  z-index: 1000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 0.6s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.telegram-float {
  bottom: 90px;
  background-color: #0088cc00;
}

.whatsapp-float {
  bottom: 30px;
  background-color: #25d36500;
}

.floating-btn:hover {
  transform: scale(1.1);
}

.floating-btn img {
  width: 60%;
  height: auto;
  pointer-events: none;
}

/* Tooltip */
.floating-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 60px;
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.floating-btn:hover::after {
  opacity: 1;
}

/* Fade-in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsif untuk HP */
@media (max-width: 768px) {
  .floating-btn {
    width: 42px;
    height: 42px;
    left: 10px;
  }
  .telegram-float {
    bottom: 80px;
  }
  .whatsapp-float {
    bottom: 25px;
  }
  .floating-btn::after {
    font-size: 11px;
    left: 50px;
  }
}
/* WHATSAPP END */

/* slider */
body {
  margin: 0;
  padding: 0;
  background-color: #111;
  font-family: Arial, sans-serif;
}

/* SLIDER */
.slider-container {
  width: 90%;
  max-width: 1000px;
  margin: 50px auto;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.slide {
  min-width: 100%;
  box-sizing: border-box;
  position: relative;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  border-radius: 15px;
}

/* GRID GAME RESPONSIVE */
.popular-games-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  color: #fff;
}

.section-title {
  font-size: 24px;
  margin-bottom: 20px;
  color: #f8f6f6;
  text-align: center;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
}

.game-card {
  background-color: #3b0059;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s ease-in-out;
  position: relative;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.5);
}

.game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.game-info {
  padding: 15px;
  text-align: left;
}

.game-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
  color: #f0f0f0;
}

.game-category {
  font-size: 12px;
  color: #ccc;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .game-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
  }
  .game-card img {
    height: 160px;
  }
  .game-title {
    font-size: 14px;
  }
  .game-category {
    font-size: 10px;
  }
  .section-title {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .game-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
  }
  .game-card img {
    height: 140px;
  }
}
    /* slider end */

/* MENU TOP UP */
body {
            font-family: Arial, sans-serif;
            background-color: #2a003f; /* Mengambil warna background ungu gelap dari gambar */
            color: #fff;
            margin: 0;
            padding: 20px;
        }

        .popular-games-section {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        .section-title {
            font-size: 24px;
            margin-bottom: 20px;
            color: #f8f6f6;
        }

        .game-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Kolom responsif */
            gap: 20px; /* Jarak antar kotak game */
            justify-content: center;
        }

        .game-card {
            background-color: #3b0059; /* Warna background card lebih terang dari body */
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
            text-decoration: none; /* Hilangkan underline dari link */
            color: inherit; /* Warisi warna teks dari parent */
            display: block; /* Agar seluruh card bisa diklik */
            transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
            position: relative; /* Untuk efek overlay */
        }

        .game-card:hover {
            transform: translateY(-5px); /* Efek angkat saat hover */
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
        }

        .game-card img {
            width: 100%;
            height: 200px; /* Tinggi gambar agar konsisten */
            object-fit: cover; /* Pastikan gambar menutupi area tanpa terdistorsi */
            display: block;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .game-info {
            padding: 15px;
            text-align: left;
        }

        .game-title {
            font-size: 16px;
            font-weight: bold;
            margin-bottom: 5px;
            color: #f0f0f0;
        }

        .game-category {
            font-size: 12px;
            color: #ccc;
        }

        /* Overlay untuk teks yang mungkin ada di atas gambar, seperti di gambar referensi */
        .game-card .overlay-text {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
            padding: 10px;
            box-sizing: border-box;
            color: #fff;
            font-size: 14px;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
            opacity: 1; /* Default visible if desired */
            transition: opacity 0.3s ease;
        }

        /* Jika ingin overlay text muncul saat hover */
        /* .game-card:hover .overlay-text {
            opacity: 1;
        } */


        /* Media queries untuk responsivitas */
        @media (max-width: 768px) {
            .game-grid {
                grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
                gap: 15px;
            }
            .game-card img {
                height: 160px;
            }
            .game-title {
                font-size: 14px;
            }
            .game-category {
                font-size: 10px;
            }
            .section-title {
                font-size: 20px;
            }
        }

        @media (max-width: 480px) {
            .game-grid {
                grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
                gap: 10px;
            }
            .game-card img {
                height: 140px;
            }
        }

/* MENU TOP UP END */

/* FOOTER */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #0f0f0f79;
  color: #fff;
}

footer {
  background-color: #0f0f0f;
  padding: 40px 20px;
  color: #f8f1f1;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 20px;
}

.footer-column {
  flex: 1 1 300px;
  margin: 10px 0;
}

.footer-logo {
  font-size: 26px;
  font-weight: bold;
  color: #00c3ff;
  margin-bottom: 10px;
}

.footer-column p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-column h4 {
  margin-bottom: 15px;
  color: #fff;
  font-size: 16px;
}

.footer-links a {
  display: block;
  color: #f7f7f7;
  text-decoration: none;
  margin-bottom: 8px;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #00c3ff;
}

.social-icons {
  margin-top: 15px;
}

.social-icons a {
  margin-right: 10px;
  display: inline-block;
}

.social-icons img {
  width: 28px;
  height: 28px;
  filter: grayscale(100%);
  transition: 0.3s;
}

.social-icons img:hover {
  filter: none;
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #4d4b4b2d;
  margin-top: 20px;
  font-size: 13px;
  color: #f1eeee;
}

/* Responsif tablet */
@media screen and (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 10px;
  }

  .footer-column {
    width: 100%;
  }

  .footer-logo {
    font-size: 22px;
  }

  .footer-column p,
  .footer-links a {
    font-size: 13px;
  }

  .social-icons img {
    width: 24px;
    height: 24px;
  }
}

/* Responsif HP kecil */
@media screen and (max-width: 480px) {
  .footer-column p,
  .footer-links a,
  .footer-bottom {
    font-size: 12px;
  }

  .footer-logo {
    font-size: 20px;
  }

  .footer-column {
    margin: 8px 0;
  }
}
/* FOOTER END */