/*scale-up*/
.video-thumb {
  position: relative;
  display: inline-block;
}

.video-thumb img:first-child {
  display: block;
  width: 100%;
}

/* Play icon centered on top */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150px;
  height: 150px;
  cursor: pointer;
}

/* Hover effect */
.video-thumb:hover .play-btn {
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

/* Your animation — translate baked into keyframes to stay centered */
.scale-up-center {
  -webkit-animation: scale-up-center 4s cubic-bezier(0.390, 0.575, 0.565, 1.000) 1s 50;
          animation: scale-up-center 4s cubic-bezier(0.390, 0.575, 0.565, 1.000) 1s 50;
}
@keyframes scale-up-center {
  0%   { transform: translate(-50%, -50%) scale(0.5); }
  100% { transform: translate(-50%, -50%) scale(1); }
}
@-webkit-keyframes scale-up-center {
  0%   { -webkit-transform: translate(-50%, -50%) scale(0.5); }
  100% { -webkit-transform: translate(-50%, -50%) scale(1); }
}
/*scale-up*/

/*video-modal*/

/* Modal overlay */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.video-modal.is-open {
  display: flex;
}

/* Modal box */
.video-modal__content {
  position: relative;
  width: 90%;
  max-width: 860px;
}

.video-modal__content video,
.video-modal__content iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: none;
}

/* Close button */
.video-modal__close {
  position: absolute;
  top: -36px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

/*video-modal*/

.promo {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.promo-text {
  font-size: 15px;
  font-weight: 500;
  color: #444;
  white-space: nowrap;
}

/* The highlighted badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #F5C518, #D4A017);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.2px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,160,23,0.45); }
  50%       { box-shadow: 0 0 0 6px rgba(212,160,23,0); }
}