/* ========== GLOBAL ========== */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to bottom, rgb(18, 140, 222), rgb(0, 30, 60));
  color: white;
  text-align: center;
}

header img {
  max-width: 300px;
  margin: 20px auto;
  display: block;
}

h1 {
  color: #fce303;
  font-size: 36px;
}

p.description {
  padding: 0 20px;
  line-height: 1.6;
  font-size: 15px;
}

.description {
  font-size: 16px;
  line-height: 1.8;
  color: white;
  text-align: justify;
  padding: 0 20px;
  max-width: 800px;
  margin: 20px auto;
}

.description a {
  color: #babab3;
  text-decoration: none;
  font-weight: 600;
}

.description a:hover {
  text-decoration: underline;
}

.description .brand {
  color: #babab3;
  font-weight: bold;
}

.logo-pasaran {
  display: block;
  margin: 20px auto;
  width: 300px;          /* Sesuaikan dengan tampilan yang diinginkan */
  height: auto;
  border: 2px solid #00bfff;
  border-radius: 20px;
  padding: 4px;
  background-color: linear-gradient(to bottom, rgb(18, 140, 222), rgb(0, 30, 60)); /* Optional: jika ingin border terlihat jelas */
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* ========== KONTEN ========== */
.kotak-waktu,
.kotak-prediksi {
  margin: 20px auto;
  border-radius: 10px;
  border: 1px solid #00c3ff;
  background: #112;
  padding: 15px;
  max-width: 600px;
}

.kotak-prediksi {
  background: linear-gradient(to bottom, rgb(0, 15, 30), rgb(0, 30, 60));
  color: yellow;
}

.angka-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.angka-item {
  background: #001428;
  border: 1px solid #00c3ff;
  border-radius: 6px;
  padding: 10px 20px;
}

/* ========== FOOTER ========== */
footer {
  background: #000814;
  color: #aaa;
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
  border-top: 1px solid #00c3ff;
  margin-top: auto;
}

/* ========== NAVBAR DESKTOP ========== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #000814;
  padding: 10px 20px;
  border-bottom: 2px solid #00c3ff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-brand a {
  color: #00c3ff;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.nav-links li a {
  color: #00c3ff;
  text-decoration: none;
  font-weight: bold;
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #00c3ff;
  transition: width 0.3s;
}

.nav-links li a:hover::after {
  width: 100%;
}

/* ========== BANNER ========== */
.banner-ads {
  padding: 0;
  text-align: center;
  margin: 0 auto;
  max-width: 100%;
}

.banner-ads img {
  display: block;
  height: 60px;
  max-width: 90%;      /* supaya responsive di layar kecil */
  object-fit: contain; /* jaga proporsi */
  border-radius: 12px; /* sudut lembut */
  transition: transform 0.3s ease;
}

.banner-ads img:hover {
  transform: scale(1.03); /* efek zoom saat hover */
}

/* ========== BANNER BAWAH ========== */
.banner-bawah {
  text-align: center; /* pusatkan isi */
  margin: 20px auto;  /* beri jarak dari atas dan bawah */
}
.banner-bawah img {
  display: inline-block;
  max-width: 90%;
  height: auto;
  border-radius: 12px;
  object-fit: contain; /* jaga proporsi */
  transition: transform 0.3s ease;
}
.banner-bawah img:hover {
  transform: scale(1.03); /* efek zoom saat hover */
}

/* ========== SIDEBAR MOBILE ========== */
.sidebar {
  height: 100%;
  width: 250px;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: -100%;
  background-color: #00171f;
  overflow-x: hidden;
  transition: 0.3s;
  padding-top: 60px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
  display: none; /* hidden by default */
}

.sidebar.active {
  left: 0;
  display: block;
}

.sidebar a {
  padding: 12px 20px;
  text-decoration: none;
  font-size: 18px;
  color: cyan;
  display: block;
  margin: 10px 20px;
  border: 2px solid cyan;        /*  border ditambahkan */
  border-radius: 8px;            /* ✅ ujung membulat */
  background-color: transparent;
  text-align: center;
  transition: all 0.3s ease;
}

.sidebar a:hover {
  background-color: rgba(0, 255, 255, 0.1); /* efek hover */
  color: #fff;
  border-color: #fff;
}

.sidebar .closebtn {
  position: absolute;
  top: 15px;
  right: 25px;
  background-color: white;
  color: #007bff;
  border: 2px solid #007bff;
  border-radius: 6px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 24px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: 0.2s ease-in-out;
}
.sidebar .closebtn:hover {
  background-color: #007bff;
  color: white;
}
/* ========== TOMBOL TOGGLE (MENU) ========== */
.openbtn,
.mobile-toggle {
  display: none;
}

.openbtn {
  font-size: 20px;
  background-color: #005eff;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  border-radius: 5px;
}

.hamburger {
  display: none;
  font-size: 24px;
  color: #fff700;
  cursor: pointer;
}

/* ========== MOBILE MODE ========== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .openbtn,
  .mobile-toggle {
    display: block;
  }
  
  .hamburger {
    display: none;
  }
}