.button-with-icon {
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  font-family: "Poppins", sans-serif;
  padding: 0 24px 0 6px;
  text-align: center;
  width: 162px;
  height: 48px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 90px;
  outline: none;
  user-select: none;
  cursor: pointer;
  transform: translateY(0px);
  position: relative;
  background: #FFF;
  color: #000;
  transition: 150ms all ease-in-out;
  box-shadow: 0px 4px 16px 0px rgba(255, 109, 8, 0.35);
  text-decoration: none; /* Ensure link doesn't have underline */
}

.button-with-icon .icon {
  margin-right: 12px;
  width: 40px;
  height: 40px;
  transition: all 0.5s ease-in-out;
  flex-shrink: 0; /* Prevent icon from shrinking */
}

/* Ensure SVG inside icon scales correctly if replaced */
.button-with-icon .icon svg,
.button-with-icon .icon i {
    width: 100%;
    height: 100%;
    display: block;
    fill: currentColor;
}

.button-with-icon:hover .text {
  transform: translateX(115px);
}

.button-with-icon:hover .icon {
  transform: translate(45px);
  scale: 1.25;
}

.text {
  transition: all 0.5s ease-in-out;
  white-space: nowrap; /* Prevent text wrapping */
}

/* Modal */
.wintemp-video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.wintemp-video-modal.open {
  display: flex;
}

.wintemp-video-modal__content {
  position: relative;
  width: min(90vw, 960px);
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.wintemp-video-modal__player iframe,
.wintemp-video-modal__player video {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}
.wintemp-video-modal__close {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}


@media (max-width: 768px) {
  .button-with-icon {
    padding: 4px;
    width: 113px;
    height: 27px;
    box-shadow: 0px 4px 16px 0px rgba(255, 109, 8, 0.35) !important;
  }
  .button-with-icon .icon {
    width: 21px;
    height: 21px;
    margin-right: 6px;
  }
  .button-with-icon:hover .text {
    transform: translateX(115px);
  }

  .button-with-icon:hover .icon {
    transform: translate(28px);
    scale: 1.15;
  }
}