.sf-popup-open {
  overflow: hidden;
}

.sf-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 12, 24, .72);
  backdrop-filter: blur(8px);
}

.sf-popup[hidden] {
  display: none;
}

.sf-popup__panel {
  position: relative;
  width: min(920px, 100%);
  min-height: 520px;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(9, 15, 30, .94) 0%, rgba(9, 15, 30, .82) 42%, rgba(9, 15, 30, .16) 100%),
    url("./assets/popup-muaythai-training.png") center / cover no-repeat;
  box-shadow: 0 32px 90px rgba(0, 0, 0, .42);
  border: 1px solid rgba(255, 255, 255, .16);
}

.sf-popup__content {
  width: min(470px, 100%);
  padding: 54px 46px;
  color: #fff;
}

.sf-popup__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #ef2b2d;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.sf-popup__title {
  margin: 22px 0 14px;
  font-size: 64px;
  line-height: .95;
  letter-spacing: 0;
  color: #fff;
}

.sf-popup__copy {
  margin: 0 0 30px;
  color: rgba(255, 255, 255, .82);
  font-size: 18px;
  line-height: 1.6;
}

.sf-popup__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sf-popup__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  background: #ef2b2d;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(239, 43, 45, .32);
}

.sf-popup__button:hover {
  transform: translateY(-1px);
}

.sf-popup__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.sf-popup__secondary:hover {
  background: rgba(255, 255, 255, .16);
}

.sf-popup__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(10, 16, 30, .72);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.sf-popup__close:hover {
  background: rgba(239, 43, 45, .92);
}

@media (max-width: 720px) {
  .sf-popup {
    padding: 14px;
  }

  .sf-popup__panel {
    min-height: 560px;
    background:
      linear-gradient(180deg, rgba(9, 15, 30, .96) 0%, rgba(9, 15, 30, .76) 55%, rgba(9, 15, 30, .24) 100%),
      url("./assets/popup-muaythai-training.png") center / cover no-repeat;
  }

  .sf-popup__content {
    padding: 58px 24px 28px;
  }

  .sf-popup__title {
    font-size: 46px;
  }

  .sf-popup__copy {
    font-size: 16px;
  }
}
