#fd-lite-modal,
#fd-lite-modal * { box-sizing: border-box; }

#fd-lite-modal {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  font-family: Inter, Arial, sans-serif;
  color: #fff;
}

#fd-lite-modal.fd-is-open { display: flex; }

.fd-lite-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 23, .72);
  backdrop-filter: blur(4px);
}

.fd-lite-modal__dialog {
  position: relative;
  isolation: isolate;
  width: min(100%, 1194px);
  max-height: calc(100vh - 44px);
  min-height: 480px;
  overflow: hidden;
  overflow-y: auto;
  border-radius: 21px;
  background: #0b1932;
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
  outline: none;
}

.fd-lite-modal__photo {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 43%;
  background-size: cover;
  background-position: center;
}

.fd-lite-modal__dialog::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #0b1932 0%, #0b1932 39%, rgba(11,25,50,.97) 45%, rgba(11,25,50,.78) 52%, rgba(11,25,50,.18) 68%, transparent 82%);
}

.fd-lite-modal__whole-link {
  position: absolute;
  z-index: 3;
  inset: 0;
  border-radius: inherit;
  text-decoration: none;
}

.fd-lite-modal__close {
  position: absolute;
  z-index: 8;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  background: rgba(5,14,29,.8);
  color: #fff;
  font-size: 29px;
  line-height: 1;
  cursor: pointer;
}

.fd-lite-modal__content {
  position: relative;
  z-index: 2;
  width: 52%;
  min-width: 520px;
  padding: 58px 40px 48px 60px;
  pointer-events: none;
}

.fd-lite-modal__eyebrow {
  margin: 0 0 13px;
  color: #dce8fb;
  font-size: 12px;
  letter-spacing: 1.6px;
  font-weight: 800;
}

.fd-lite-modal__content h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 5.3vw, 64px);
  line-height: 1.04;
  letter-spacing: -2.2px;
  font-weight: 750;
}

.fd-lite-modal__content h2 span,
.fd-lite-modal__price-row strong { color: #ffc83d; }


.fd-lite-modal__bonus {
  display: inline-block;
  margin: 9px 0 0;
  padding: 6px 11px;
  border: 1px solid rgba(255, 200, 61, .65);
  border-radius: 7px;
  background: rgba(255, 200, 61, .12);
  color: #ffc83d;
  font-size: 45px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: .1px;
}

.fd-lite-modal__subtitle {
  max-width: 400px;
  margin: 17px 0 14px;
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.28;
  font-weight: 600;
}

.fd-lite-modal__description {
  max-width: 430px;
  margin: 0;
  color: #e4ebf7;
  font-size: 16px;
  line-height: 1.62;
}

.fd-lite-modal__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin: 26px 0 15px;
}

.fd-lite-modal__price-row strong {
  font-size: clamp(30px, 3.5vw, 43px);
  line-height: 1.1;
  letter-spacing: -1.5px;
  white-space: nowrap;
}

.fd-lite-modal__price-row span { font-size: 15px; color: #f0f4fb; }

.fd-lite-modal__button {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 10px;
  background: #ffc83d;
  color: #07152c;
  font-size: 16px;
  font-weight: 800;
  text-decoration: underline;
}

.fd-lite-modal__note {
  margin: 13px 0 0;
  color: #dce8fb;
  font-size: 12px;
}

.fd-lite-modal__caption {
  position: absolute;
  right: 0;
  bottom: 22px;
  padding: 9px 17px;
  border-radius: 4px 0 0 4px;
  background: rgba(5,14,29,.88);
  color: #fff;
  font-size: 13px;
}

@media (max-width: 700px) {
  #fd-lite-modal { padding: 12px; }
  .fd-lite-modal__dialog {
    width: 100%;
    min-height: 0;
    max-height: calc(100vh - 24px);
    border-radius: 16px;
  }
  .fd-lite-modal__photo {
    inset: 0 0 auto 0;
    height: 235px;
  }
  .fd-lite-modal__dialog::before {
    background: linear-gradient(180deg, rgba(11,25,50,.08) 0, rgba(11,25,50,.24) 135px, #0b1932 230px, #0b1932 100%);
  }
  .fd-lite-modal__content {
    width: 100%;
    min-width: 0;
    padding: 192px 23px 27px;
  }
  .fd-lite-modal__eyebrow { font-size: 10px; letter-spacing: 1.2px; }
  .fd-lite-modal__content h2 { font-size: 45px; letter-spacing: -1.8px; }
  .fd-lite-modal__bonus { margin-top: 7px; font-size: 39px; line-height: 1.1; }
  .fd-lite-modal__subtitle { margin-top: 13px; font-size: 22px; }
  .fd-lite-modal__description { font-size: 14px; line-height: 1.55; }
  .fd-lite-modal__price-row { margin-top: 20px; gap: 7px 10px; }
  .fd-lite-modal__price-row strong { font-size: 34px; }
  .fd-lite-modal__price-row span { font-size: 12px; }
  .fd-lite-modal__button { min-height: 50px; font-size: 14px; }
  .fd-lite-modal__caption { top: 145px; bottom: auto; padding: 7px 10px; font-size: 10px; }
  .fd-lite-modal__close { top: 9px; right: 9px; width: 36px; height: 36px; }
}
