body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  color: #fff;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

    body::before {
      content: "";
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background:
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('https://i.postimg.cc/8CH5CC1G/BG-REDMITOTO-231351.webp') no-repeat center center;
      background-size: cover;
      z-index: -1;
    } 


.leaderboard-container {
  background: #000000a4;
  width: 70%; /* Default untuk desktop */
  margin: 20px auto;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
  border-radius: 10px;
    border: 1px solid #f16c00; /* Outline hijau cerah */

}

/* 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, #a30c01,  #550701);
  border-radius: 20px;
  box-shadow: 0 0 8px rgba(230, 111, 0, 0.4);
  position: relative;
  overflow: hidden;
  padding: 6px 10px;
  line-height: 1.3;
  transition: all 0.3s ease-in-out;
  border: 1px solid #ff6600;

}

/* Efek Hover */
.mayathidup-tabel h3:hover {
  color: #fff;
  background: linear-gradient(135deg, #eafb00, #eafb00, #eafb00);
  box-shadow: 0 0 12px rgba(251, 184, 0, 0.7), 0 0 20px rgba(251, 121, 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 #eb5600;
  padding: 10px 3px;
  font-size: 16px; /* Default desktop */
  text-align: center;
  color: #fff3d9;
  word-wrap: break-word;
}

.mayathidup-tabel th {
  background: linear-gradient(135deg, #a30c01,  #550701);
  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, #a30c01,  #550701);
  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, #f2f701, #f2f701, #f2f701);
  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, #a30c01,  #550701) ;
    color: #ffffff; /* Teks putih */
    box-shadow: 0px 0px 6px rgba(230, 84, 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 #ff7b00;

}

.leaderboard-nav a:hover {
    background: linear-gradient(135deg, #f7fb00, #f7fb00, #f7fb00);
    color: #fff;
    box-shadow: 0 0 12px rgba(255, 166, 0, 0.8);
    transform: translateY(-2px);
}


.top-bar {
  background-color: #000000;
  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, #a30c01,  #550701); /* 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 #ff7300;

}

/* Hover */
.top-links a:hover {
  color: #fff;
  background: linear-gradient(135deg, #ffee00, #ffee00, #ffee00);
  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: #000000a4;
      padding: 25px;
      border-radius: 12px;
      border: 3px solid #e95d00;
      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, #a30c01,  #550701); /* Gradasi hijau */
  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 #ff7b00;

}

/* Hover */
.button-green:hover {
  background: linear-gradient(135deg, #e5ff00 0%, #e5ff00 50%, #e5ff00 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, #a30c01,  #550701); /* Gradasi hijau */
    color: #fff;
    border: 1px solid #fd7a00;
    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, #eeff00,  #eeff00); /* Gradasi hijau */
  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, #a30c01,  #550701); /* 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 #ff6600;

 }
/* Hover Style */
h2:hover {
  color: #fff;
  background: linear-gradient(135deg, #d0e700,  #d0e700); /* Gradasi hijau */
  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, #a30c01,  #550701); /* Gradasi hijau */
  color: #e9ffd9; /* Hijau muda lembut */
  padding: 20px;
  border: 1px solid #f16c00; /* 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, #fbff00, #fbff00, #fbff00);
  box-shadow: 0 0 12px rgba(255, 60, 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: #000000; /* Hijau gelap */
  color: #ffffff;
  padding: 6px;
  border: 1px solid #fc8803; /* Outline hijau */
  text-align: center;
  transition: background 0.3s ease;
  font-size: 12px;
}

.leaderboard-table tbody td:hover {
  background: #d3eb00;
}

/* 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;
  }

