.section.promo-hero-section {
  padding: 120px 0 0 0;
}

.promo-hero-image {
  width: 100%;
  border-radius: 24px;
}

/* ======================================================
   PROMO SECTION
====================================================== */
.section-promo {
  padding-top: 0px;
}

/* ======================================================
   HEADING
====================================================== */
.wahana-heading.promo-heading {
  margin-bottom: 32px;
}

/* ======================================================
   PROMO BRAND FILTER (TEXT VERSION)
====================================================== */

.promo-brand-filter {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 2rem;
  padding-left: 4rem;
}

.promo-brand-tab {
  font-family: inherit;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;

  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.15s ease;
}

/* Hover */
.promo-brand-tab:hover {
  background: #f1f5f9;
}

/* Active State */
.promo-brand-tab.is-active {
  background: #007cff; /* brand red */
  color: #ffffff;
  border-color: #007cff;
}

/* Focus Accessibility */
.promo-brand-tab:focus-visible {
  outline: 2px solid #31b0ff;
  outline-offset: 2px;
}

/* Optional subtle press effect */
.promo-brand-tab:active {
  transform: scale(0.97);
}

/* ======================================================
   PROMO SLIDER WRAPPER
====================================================== */
.promo-slider {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto 24px;
}

/* ======================================================
   VIEWPORT
====================================================== */
.promo-slider-viewport {
  overflow: hidden;
  border-radius: 16px;
}

/* ======================================================
   TRACK
====================================================== */
.promo-slider-track {
  display: flex;
  gap: 46px;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* ======================================================
   SLIDE
====================================================== */
.promo-slide {
  flex: 0 0 100%;
}

.promo-slide img {
  width: 100%;
  display: block;
  border-radius: 16px;
  object-fit: cover;
}

/* ======================================================
   NAVIGATION
====================================================== */
.promo-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;

  width: 44px;
  height: 44px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.55);

  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.promo-nav:hover {
  background: rgba(0, 0, 0, 0.75);
  transform: translateY(-50%) scale(1.08);
}

.promo-prev {
  left: -16px;
}

.promo-next {
  right: -16px;
}

.promo__nav-icon {
  width: 20px;
  height: 20px;
  color: #ffffff;
  stroke-width: 3px;
}

/* ======================================================
   DOTS (🔥 WAJIB UNTUK JS DOTS)
====================================================== */
promo.promo-slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  z-index: 100;
}

.promo-slider-dots button {
  width: 8px;
  height: 8px;

  border-radius: 50%;
  border: none;

  background: #d1d5db;

  transition:
    background-color 0.25s ease,
    transform 0.2s ease;
}

.promo-slider-dots button.active {
  background: #000000;
  transform: scale(1.3);
}

/* ======================================================
   PROMO MODAL
====================================================== */
.promo-image-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: none;
  align-items: center;
  justify-content: center;
}

.promo-image-modal.is-active {
  display: flex;
}

/* BACKDROP */
.image-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

/* CONTENT */
.image-modal-content {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 90vh;
}

.promo-modal-img {
  width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 16px;
  display: block;
}

/* CLOSE BUTTON */
.promo-modal-close {
  position: fixed;
  top: 24px;
  right: 24px;

  width: 40px;
  height: 40px;

  border-radius: 50%;
  border: none;

  background: rgba(236, 236, 236, 0.85);
  color: #000000;
  font-weight: 700;
  font-size: 20px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  z-index: 3;
}

/* ======================================================
   RESPONSIVE
====================================================== */
@media (max-width: 768px) {
  .promo-brand-filter {
    gap: 12px;
  }

  .promo-brand-tab {
    min-width: 140px;
    height: 60px;
    border-radius: 18px;
  }

  .promo-brand-tab img {
    max-height: 30px;
  }

  .promo-prev {
    left: 0;
  }

  .promo-next {
    right: 0;
  }
}

/* ================= ONGOING EVENTS ================= */
.event-promo-section {
  padding-bottom: 60px;
  padding-top: 120px;
}

.active-events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 992px) {
  .active-events-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

.active-event-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.active-event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1);
}

.active-event-card__image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #f7f7f7;
  overflow: hidden;
}

.active-event-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.active-event-card:hover .active-event-card__img {
  transform: scale(1.08);
}

.active-event-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2;
  letter-spacing: 0.5px;
}

.active-event-card__badge--live {
  background: rgba(255, 59, 48, 0.9);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: pulse-red 2.5s infinite;
}

@keyframes pulse-red {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.5);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(255, 59, 48, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0);
  }
}

.active-event-card__badge--upcoming {
  background: rgba(0, 124, 255, 0.9);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.active-event-card__content {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.active-event-card__title {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin-bottom: 24px;
  line-height: 1.4;
}

.active-event-card__metadata {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.active-event-card__meta-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.active-event-card__icon {
  width: 24px;
  height: 24px;
  color: #007cff;
  flex-shrink: 0;
}

.active-event-card__meta-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.active-event-card__meta-label {
  font-size: 13px;
  font-weight: 500;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.active-event-card__meta-value {
  font-size: 16px;
  font-weight: 600;
  color: #111;
}

.active-event-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.active-event-card__tag {
  background: rgba(0, 124, 255, 0.06);
  color: #007cff;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(0, 124, 255, 0.1);
}

.active-event-card__actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.active-event-card__btn {
  width: 100%;
  padding: 14px 20px;
  font-size: 15px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 640px) {
  .active-event-card__actions {
    grid-template-columns: 1fr;
  }
}
