body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  color: #fff;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* Background paten */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.075)),
    url('https://i.postimg.cc/d1G74WKh/bg-dauntogel.png') no-repeat center center;
  background-size: cover;
  z-index: -1;
  /* Taruh di belakang konten */
}


.leaderboard-container {
  background: url("https://i.postimg.cc/ZKS9LfhG/image-q80-compressed.webp") no-repeat center center;
  background-size: cover;
  width: 70%;
  margin: 20px auto;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
  border-radius: 10px;
  border: 1px solid #c5f100;
}

/* Untuk tablet */
@media (max-width: 1024px) {
  .leaderboard-container {
    width: 80%;
    padding: 18px;
  }
}

/* Untuk HP */
@media (max-width: 768px) {
  .leaderboard-container {
    width: 95%;
    padding: 15px;
    border-radius: 8px;
  }
}

/* Untuk layar sangat kecil (HP mini) */
@media (max-width: 480px) {
  .leaderboard-container {
    width: 98%;
    padding: 12px;
    border-radius: 6px;
  }
}

/* ðŸ”½ Tambahkan media query untuk HP */
@media (max-width: 60px) {
  .leaderboard-container {
    width: 90%;
    padding: 15px;
    margin: 15px auto;
    border-radius: 8px;
  }
}



.mayathidup-tabel {
  width: 100%;
  margin: 0 auto;
  overflow-x: auto;
  box-sizing: border-box;
}

.mayathidup-tabel h3 {
  text-align: center;
  font-size: 18px;
  margin-bottom: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, #2ee600, #1b5e20, #003300);
  border-radius: 20px;
  box-shadow: 0 0 8px rgba(46, 230, 0, 0.4);
  position: relative;
  overflow: hidden;
  padding: 6px 10px;
  line-height: 1.3;
  transition: all 0.3s ease-in-out;
  border: 1px solid #fbff00;

}

/* Efek Hover */
.mayathidup-tabel h3:hover {
  color: #fff;
  background: linear-gradient(135deg, #3ffb00, #137d1e, #002200);
  box-shadow: 0 0 12px rgba(63, 251, 0, 0.7), 0 0 20px rgba(63, 251, 0, 0.5);
  transform: translateY(-2px);
}

/* Hilangkan efek shine agar lebih elegan */
.mayathidup-tabel h3::before {
  content: none;
}



/* Table */
.mayathidup-tabel table {
  width: 100%;
  border-collapse: collapse;
  background-color: rgba(0, 0, 0, 0.6);
  table-layout: auto;
  border: 1px solid #d4af37;
}

.mayathidup-tabel th,
.mayathidup-tabel td {
  border: 1px solid #c7eb00;
  padding: 10px 3px;
  font-size: 16px;
  /* Default desktop */
  text-align: center;
  color: #fff3d9;
  word-wrap: break-word;
}

.mayathidup-tabel th {
  background: linear-gradient(135deg, #cdfb00, #137d1e, #cae002);
  font-weight: bold;
  color: #fff3d9;
  box-shadow: inset 0 0 4px rgba(212, 175, 55, 0.5);
  padding: 20px;
  /* Default desktop */
}

/* Responsif untuk HP */
@media (max-width: 600px) {

  .mayathidup-tabel th,
  .mayathidup-tabel td {
    font-size: 10px;
    /* Kecil di HP */
    padding: 6px 2px;
  }

  .mayathidup-tabel th {
    padding: 8px;
    /* Th lebih kecil di HP */
  }
}


.claim-button {
  background: linear-gradient(135deg, #cdfb00, #137d1e, #cae002);
  color: #fff;
  padding: 6px 20px;
  /* Lebih panjang di desktop */
  border-radius: 6px;
  font-size: 12px;

  text-decoration: none;
  display: inline-block;
  box-shadow: 0 0 6px rgba(255, 193, 7, 0.4);
  transition: all 0.3s ease;
  min-width: 90px;
  /* Panjang minimum tombol */
  text-align: center;
}

.claim-button:hover {
  background: linear-gradient(135deg, #ffdd55, #cc7a00, #1a0d00);
  color: #fff;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
  transform: translateY(-1px);
}


/* Responsive */
@media (max-width: 100px) {
  .mayathidup-tabel table {
    display: block;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }

  .mayathidup-tabel h3 {
    font-size: 15px;
    padding: 5px 8px;
  }

  .mayathidup-tabel th,
  .mayathidup-tabel td {
    font-size: 10px;
    padding: 6px 2px;
  }

  .claim-button {
    padding: 4px 8px;
    /* Lebih ramping di HP */
    font-size: 11px;
    min-width: auto;
    /* Hilangkan panjang minimum */
  }
}

.leaderboard-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
}

.leaderboard-nav a {
  margin-right: 0 !important;
  background: linear-gradient(135deg, #2ee600, #1b5e20, #003300);
  color: #ffffff;
  /* Teks putih */
  box-shadow: 0px 0px 6px rgba(46, 230, 0, 0.5);
  width: 80%;
  text-decoration: none;
  border-radius: 12px;
  padding: 18px 24px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
  border: 1px solid #fbff00;

}

.leaderboard-nav a:hover {
  background: linear-gradient(135deg, #3ffb00, #137d1e, #002200);
  color: #fff;
  box-shadow: 0 0 12px rgba(63, 251, 0, 0.8);
  transform: translateY(-2px);
}


.top-bar {
  background-color: #0000008f;
  background-size: cover;
  background-position: center;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 999;
  transition: all 0.3s ease;
}


.logo {
  flex: 1;
  text-align: left;
}

.logo img {
  height: 80px;
  max-width: 100%;
}

.top-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.top-links a {
  padding: 10px 28px;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #2ee600, #1b5e20, #003300);
  /* Gradasi hijau */
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease-in-out;
  position: relative;
  border: 1px solid #fbff00;


}

/* Hover */
.top-links a:hover {
  color: #fff;
  background: linear-gradient(135deg, #3ffb00, #137d1e, #002200);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.6);
  transform: translateY(-2px);
}








/* ðŸ“± Responsif untuk layar kecil / HP */
@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo {
    text-align: center;
    margin-bottom: 10px;
  }

  .logo img {
    height: 60px;
    /* mengecil otomatis */
  }

  .top-links {
    justify-content: center;
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .top-links a {
    width: 90%;
    padding: 8px 20px;
    font-size: 16px;
  }
}

.container {
  max-width: 1000px;
  margin: 20px auto;
  background-color: #0000006b;
  padding: 25px;
  border-radius: 12px;
  border: 3px solid #afcc0e;
  box-shadow: 0 0 20px #fbff0070;
}

.header img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
}

.button-green {
  display: inline-block;
  padding: 12px 40px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #2ee600 0%, #1b5e20 50%, #003300 100%);
  border-radius: 30px;
  text-decoration: none;
  text-align: center;
  position: relative;
  min-width: 200px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease-in-out;
  margin: 10px 0;
  border: none;
  border: 1px solid #fbff00;

}

/* Hover */
.button-green:hover {
  background: linear-gradient(135deg, #3ffb00 0%, #137d1e 50%, #002200 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5);
}

/* RESPONSIVE HP */
@media (max-width: 600px) {
  .button-green {
    padding: 10px 25px;
    font-size: 14px;
    min-width: 160px;
  }
}

.month-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* ðŸ’» Desktop: 4 kolom */
  gap: 10px;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto 30px auto;
  padding: 0 10px;
  box-sizing: border-box;
}

.month-buttons a {
  display: block;
  padding: 10px 6px;
  background: linear-gradient(135deg, #2fe900, #017208ea);
  color: #fff;
  border: 2px solid #e4fd00;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  text-align: center;
  font-weight: bold;
  white-space: nowrap;
  width: 100%;
  box-sizing: border-box;
}

/* Responsif untuk HP */
@media (max-width: 600px) {
  .month-button a {
    font-size: 16px;
    padding: 10px 0;
  }
}

/* Hover Effect */
.month-button a:hover {
  color: #fff;
  background: linear-gradient(135deg, #79b864, #137d1e, #002200);
  box-shadow: 0 0 12px rgba(63, 251, 0, 0.7), 0 0 20px rgba(63, 251, 0, 0.5);
  transform: translateY(-2px);
}

/* Hilangkan Shine untuk elegan */
.month-button a::before {
  content: none;
}



.center-content {
  text-align: center;
  text-decoration: none;
}

h2 {
  color: #ffffff;
  padding: 12px 24px;
  margin: 20px auto;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  background: linear-gradient(135deg, #2ee600, #1b5e20, #003300);
  /* Gradasi hijau */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  position: relative;
  transition: all 0.3s ease-in-out;
  border: 1px solid #fbff00;
}

/* Hover Style */
h2:hover {
  color: #fff;
  background: linear-gradient(135deg, #3ffb00, #137d1e, #002200);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.6);
  transform: translateY(-2px);
}



tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.04);
}

.slider-wrapper {
  position: relative;
  overflow: hidden;
}

.slider-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  position: relative;
}

.slide img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 36px;
  color: rgb(255, 251, 0);
  padding: 12px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  user-select: none;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow-left {
  left: 10px;
}

.arrow-right {
  right: 10px;
}

@media (max-width: 768px) {
  .slider-arrow {
    font-size: 28px;
    padding: 10px;
  }
}

.popup-modal {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.popup-modal img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
}

.popup-modal.active {
  display: flex;
}





/* === LEADERBOARD TABLE === */


/* KOLOM CLAIM */



/* Gambar bawah tabel */
.responsive-img {
  max-width: 90%;
  height: auto;
  display: block;
  margin: 15px auto;
}

/* === LEADERBOARD TABLE === */
.leaderboard-table {
  border-radius: 10px;
  padding: 10px;
  margin: 20px auto;
  overflow-x: auto;
  color: #fff;
  text-align: center;
  /* âœ… Untuk semua teks inline */
}

.leaderboard-table h3 {
  text-align: center;
  color: #ffffff;
  font-size: 19px;
  font-weight: bold;
  margin: 10px 0;
}

/* Table */
.leaderboard-table table {
  width: 80%;
  margin: 0 auto;
  /* âœ… Tengahin tabel */
  border-collapse: collapse;
  font-size: 13px;
  text-align: center;
}


.leaderboard-table thead th {
  background: linear-gradient(135deg, #cdfb00, #137d1e, #cae002);
  color: #e9ffd9;
  /* Hijau muda lembut */
  padding: 20px;
  border: 1px solid #75f100;
  /* Outline hijau cerah */
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  /* Ukuran default desktop */
  box-shadow: 0 0 6px rgba(46, 230, 0, 0.4);
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

/* Shine effect */
.leaderboard-table thead th::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: skewX(-20deg);
  transition: 0.5s;
}

.leaderboard-table thead th:hover::before {
  left: 120%;
}

/* Hover */
.leaderboard-table thead th:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #3ffb00, #137d1e, #002200);
  box-shadow: 0 0 12px rgba(63, 251, 0, 0.7), 0 0 20px rgba(63, 251, 0, 0.5);
}

/* RESPONSIVE HP */
@media (max-width: 600px) {
  .leaderboard-table thead th {
    font-size: 10px;
    /* Ukuran lebih kecil di HP */
    padding: 10px;
  }
}


/* BODY */
.leaderboard-table tbody td {
  background: #0f2b0f;
  /* Hijau gelap */
  color: #ffffff;
  padding: 6px;
  border: 1px solid #d6fc03;
  /* Outline hijau */
  text-align: center;
  transition: background 0.3s ease;
  font-size: 12px;
}

.leaderboard-table tbody td:hover {
  background: #1b3b1b;
}

/* KOLOM CLAIM */
.leaderboard-table tbody td:last-child {
  font-weight: bold;
  color: #ffffff;
  box-shadow: inset 0 0 4px rgba(63, 251, 0, 0.3);
}


/* Gambar bawah tabel */
.responsive-img {
  max-width: 90%;
  height: auto;
  display: block;
  margin: 15px auto;
}

/* Responsive */
@media (max-width: 600px) {
  .leaderboard-table {
    padding: 10px 5px;
  }

  .leaderboard-table table {
    width: 100%;
    font-size: 12px;
    min-width: unset;
    /* âœ… Hapus min-width 500px agar tidak meluber */
  }

  .leaderboard-table h3 {
    font-size: 13px;
  }
}

.footer {
  text-align: center;
  padding: 20px 0;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
}

.carousel {
  width: 100%;
  max-width: 600px;
  margin: 30px auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  background: #111;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.carousel-track img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 12px;
}

/* Tombol panah */
.carousel-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 12px;
}

.carousel-buttons button {
  background-color: #e5ff00;
  color: #000000;
  border: none;
  font-size: 24px;
  padding: 5px 10px border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 0 10px rgba(111, 0, 255, 0.5);
}

.carousel-buttons button:hover {
  background-color: #ffffff;
}

/* Tombol kembali ke home */
.home-button {
  display: inline-block;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  color: black;
  background-color: gold;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
  transition: background-color 0.3s ease;
}

.home-button:hover {
  background-color: #ffcc00;
}