@keyframes multibanner-gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Background animasi */
.multibanner-animated-gradient-bg {
  background: linear-gradient(
    135deg,
    rgba(146, 22, 0, 0.85),
    rgba(240, 156, 0, 0.85),
    rgba(1, 25, 131, 0.85),
    rgba(2, 20, 36, 0.85)
  );
  background-size: 400% 400%;
  animation: multibanner-gradientMove 8s ease infinite;
}

/* Card banner */
.multibanner-banner-card {
  background: rgba(255 255 255 / 0.20);
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  overflow: hidden;
  width: 100%;
  max-width: 20rem;
  position: relative; /* penting untuk tooltip */
}

.multibanner-banner-card:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.2);
}

/* Gambar banner */
.multibanner-banner-image {
  height: 4rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 0.75rem;
}

/* Judul banner */
.multibanner-banner-title {
  font-weight: 600;
  font-size: 1.125rem;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.25rem;
}

/* Statistik banner */
.multibanner-banner-stats {
  font-size: 0.75rem;
  color: #d1d5db;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.multibanner-banner-stats span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.multibanner-banner-stats svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

/* Tooltip custom */
.multibanner-banner-card::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 115%; /* sedikit lebih tinggi biar gak nempel */
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.9);
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  line-height: 1.2;
  white-space: normal;
  text-align: center;
  width: max-content;
  max-width: 240px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 10;
}

/* Animasi muncul tooltip */
.multibanner-banner-card:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

/* Tambah panah kecil di bawah tooltip */
.multibanner-banner-card::before {
  content: "";
  position: absolute;
  bottom: 108%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: rgba(0,0,0,0.9) transparent transparent transparent;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 9;
}

.multibanner-banner-card:hover::before {
  opacity: 1;
}
