/* Custom scrollbar hide for menu slide */
#menu-slide {
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: 1rem;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
  user-select: none;
}
#menu-slide::-webkit-scrollbar {
  display: none;
}
.menu-item {
  flex-shrink: 0;
  width: 5rem;
  height: 5rem;
  border-radius: 0.375rem;
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
}
.menu-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body {
  padding-bottom: 60px; /* space for fixed bottom nav */
}

/* Navbar */
.natop,
.nabot {
  display: flex;
  gap: 1rem;
  background-color: #222;
  padding: 0.5rem 1rem;
}
.natop a,
.nabot a {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}
.natop a:hover,
.nabot a:hover {
  background-color: #444;
}
.natop a.active,
.nabot a.active {
  color: #ffd700 !important; /* kuning */
  font-weight: 600;
  border-bottom: 2px solid rgb(231, 1, 1);
}

.natop span {
  color: rgb(177, 193, 4);
}

.natop a:hover {
  color: tomato;
  background-color: none;
}

/* Progress bar text inside */
.progress {
  position: relative;
  height: 24px;
}
.progress-text {
  position: absolute;
  width: 100%;
  text-align: center;
  font-weight: 700;
  color: rgb(0, 0, 0);
  top: 0;
  left: 0;
  line-height: 24px;
  user-select: none;
  pointer-events: none;
}

header {
  margin-top: 3.5rem;
}

#banner-slider {
  transition: transform 0.7s ease-in-out;
}

#banner-slider img {
  height: 18rem;
  object-fit: fill;
}

.menu-slide {
  width: 5rem;
  height: 5rem;
  cursor: pointer;
}

#cards-container .card img {
  height: 10rem;
  object-fit: fill;
}

.wpb {
  width: 0%;
}

article p {
  text-align: justify;
}

/* ====== FRAME BONUS STYLE ===== */
.mt-bonus {
  margin-top: 5rem;
}

.bonus-card {
  width: 100%;
  max-width: 1220px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgb(0 0 0 / 0.1);
  cursor: pointer;
  background-color: #fff;
  transition: box-shadow 0.3s ease;
  margin-bottom: 1rem;
}
.bonus-card:hover {
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.15);
}
.bonus-img {
  width: 100%;
  height: 8rem;
  display: block;
  user-select: none;
}
.bonus-text {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.4;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.bonus-text.show {
  max-height: 200px;
  padding: 1rem;
}
