.website-upgrade-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #00000063;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.website-upgrade-modal {
  position: relative;
  width: 100%;
  max-width: 704px;
  min-height: 495px;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
  background: url('/images/redirect-popup-bg.png') no-repeat center center;
  background-size: cover;
}

.website-upgrade-modal__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 495px;
  padding: 56px 48px 50px;
  text-align: center;
  font-family: "Inter", sans-serif;
}

.website-upgrade-modal__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.website-upgrade-modal__title {
  margin: 0;
  color: #020106;
  font-size: clamp(32px, 5vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.website-upgrade-modal__subtitle {
  margin: 0;
  max-width: 260px;
  color: #020106;
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
}

.website-upgrade-modal__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 320px;
  margin-top: 8px;
}

.website-upgrade-modal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.website-upgrade-modal__btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.website-upgrade-modal__btn--primary {
  border: none;
  background: #020106;
  color: #fff;
  font-weight: 500;
  font-size: 24px;
  line-height: 120%;
  letter-spacing: -4%;
  text-align: center;
  vertical-align: middle;
}

.website-upgrade-modal__btn--secondary {
  border: 1.5px solid #020106;
  background: transparent;
  color: #020106;
}

.website-upgrade-modal__btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.website-upgrade-modal__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.website-upgrade-modal__brand picture {
  display: block;
  line-height: 0;
}

.website-upgrade-modal__brand-logo {
  display: block;
  height: 20px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: invert(1);
}

body.website-upgrade-popup-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .website-upgrade-modal {
    border-radius: 28px;
    min-height: auto;
  }

  .website-upgrade-modal__inner {
    min-height: auto;
    padding: 40px 24px 32px;
    gap: 32px;
  }
}
