/* Modal hidden by default */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 9999;
}

/* Modal visible ONLY after click */
.video-modal:target {
  opacity: 1;
  pointer-events: auto;
}

/* Overlay */
.video-modal-overlay {
  position: absolute;
  inset: 0;
}

/* Modal box */
.video-modal-content {
  position: relative;
  max-width: 900px;
  width: 90%;
  margin: 5vh auto;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

/* Close button */
.video-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 28px;
  color: #fff;
  text-decoration: none;
  z-index: 10;
}

/* Video */
.video-modal video {
  width: 100%;
  height: auto;
  display: block;
}



/* Cart count badge */
.cart-count {
  background-color: #F08A41;
  /* orange circle */
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: bold;
  line-height: 1;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -6px;
  /* adjust to your icon */
  right: -10px;
  /* adjust to your icon */
}

.lecture-series-pulse {
  position: relative;
  color: #4a235a;
  font-weight: bold;
  text-align: center;
}

.lecture-series-pulse .rounded-circle {
  background-color: #4a235a;
  width: 16px;
  height: 16px;
  display: inline-block;
  border-radius: 50%;
  animation: pulse 1.8s infinite ease-in-out;
  box-shadow: 0 0 8px rgba(74, 35, 90, 0.5);
}

.pulse-icon {
  font-size: 1rem;
  animation: pulse 1.5s infinite ease-in-out;
  color: #F08A41;
}

@keyframes pulse {
  0% {
    transform: scale(1) translate(-50%, -50%);
    opacity: 0.9;
    text-shadow: 0 0 4px rgba(240, 138, 65, 0.4);
    /* lighter orange glow */
  }

  50% {
    transform: scale(1.4) translate(-50%, -50%);
    opacity: 0.5;
    text-shadow: 0 0 12px rgba(240, 138, 65, 0.6);
    /* stronger glow */
  }

  100% {
    transform: scale(1) translate(-50%, -50%);
    opacity: 0.9;
    text-shadow: 0 0 4px rgba(240, 138, 65, 0.4);
  }
}

.bienal-book-icon {
  font-size: 1.4rem;
  color: #F08A41;
  animation: bookPulse 1.8s infinite ease-in-out;
  text-shadow: 0 0 6px rgba(240, 138, 65, 0.45);
}

@keyframes bookPulse {
  0% {
    transform: scale(1);
    opacity: 0.95;
    text-shadow: 0 0 6px rgba(240, 138, 65, 0.45);
  }

  50% {
    transform: scale(1.25);
    opacity: 0.7;
    text-shadow: 0 0 16px rgba(240, 138, 65, 0.75);
  }

  100% {
    transform: scale(1);
    opacity: 0.95;
    text-shadow: 0 0 6px rgba(240, 138, 65, 0.45);
  }
}

.bienal-highlight-icon {
  font-size: 2rem;
  color: #F08A41;
  animation: highlightPulse 1.8s infinite ease-in-out;
  text-shadow: 0 0 6px rgba(240, 138, 65, 0.45);
}

@keyframes highlightPulse {
  0% {
    transform: scale(1);
    opacity: 0.95;
    text-shadow: 0 0 6px rgba(240, 138, 65, 0.45);
  }

  50% {
    transform: scale(1.3);
    opacity: 0.7;
    text-shadow: 0 0 18px rgba(240, 138, 65, 0.75);
  }

  100% {
    transform: scale(1);
    opacity: 0.95;
    text-shadow: 0 0 6px rgba(240, 138, 65, 0.45);
  }
}

.bienal-leaf-icon {
  font-size: 1.35rem;
  color: #3f7d3c;
  /* deep natural green */
  animation: leafPulse 2.2s infinite ease-in-out;
  text-shadow:
    0 0 6px rgba(120, 85, 55, 0.35);
  /* earth brown glow */
}

@keyframes leafPulse {
  0% {
    transform: scale(1);
    opacity: 0.95;
    text-shadow:
      0 0 6px rgba(120, 85, 55, 0.35);
  }

  50% {
    transform: scale(1.22);
    opacity: 0.75;
    text-shadow:
      0 0 16px rgba(120, 85, 55, 0.55);
  }

  100% {
    transform: scale(1);
    opacity: 0.95;
    text-shadow:
      0 0 6px rgba(120, 85, 55, 0.35);
  }

}

/* ===============================
   BIENAL RISING SUN ICON
   =============================== */

/* Make sure icons are inline-block so transform works */
.bienal-highlight-icon {
  display: inline-block;
  font-size: 1.4rem;
  color: #F08A41;

  /* Animation */
  animation-name: risingSun;
  animation-duration: 2.6s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;

  /* Performance + safety */
  will-change: transform, opacity;
}

/* ===============================
   KEYFRAMES
   =============================== */

@keyframes risingSun {
  0% {
    transform: translateY(6px) scale(0.9);
    opacity: 0.65;
    text-shadow:
      0 0 4px rgba(240, 138, 65, 0.35),
      0 0 8px rgba(240, 138, 65, 0.25);
  }

  50% {
    transform: translateY(-2px) scale(1.1);
    opacity: 0.95;
    text-shadow:
      0 0 10px rgba(240, 138, 65, 0.65),
      0 0 20px rgba(240, 138, 65, 0.45);
  }

  100% {
    transform: translateY(6px) scale(0.9);
    opacity: 0.65;
    text-shadow:
      0 0 4px rgba(240, 138, 65, 0.35),
      0 0 8px rgba(240, 138, 65, 0.25);
  }
}

/* ===============================
   ACCESSIBILITY (OPTIONAL)
   =============================== */
@media (prefers-reduced-motion: reduce) {
  .bienal-highlight-icon {
    animation: none;
  }
}
