.promo-share-modal {
  position: fixed;
  inset: 0;
  z-index: 10090;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.promo-share-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.promo-share-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 22, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.promo-share-modal__card {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100vw - 24px));
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at top right, rgba(104, 184, 255, 0.16), transparent 30%),
    radial-gradient(circle at bottom left, rgba(121, 255, 206, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(9, 20, 37, 0.98), rgba(5, 13, 26, 0.98));
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.4);
  color: #eef5ff;
}

.promo-share-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.promo-share-modal__eyebrow {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffe2ac;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.promo-share-modal__title {
  margin: 14px 0 10px;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.05;
}

.promo-share-modal__subtitle,
.promo-share-modal__note,
.promo-share-modal__status {
  margin: 0;
  line-height: 1.6;
}

.promo-share-modal__subtitle {
  color: rgba(238, 245, 255, 0.8);
}

.promo-share-modal__comment {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.promo-share-modal__comment-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 226, 172, 0.9);
}

.promo-share-modal__comment-input {
  width: 100%;
  min-height: 86px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #eef5ff;
  font: inherit;
  line-height: 1.5;
  resize: vertical;
  outline: none;
  box-sizing: border-box;
}

.promo-share-modal__comment-input::placeholder {
  color: rgba(238, 245, 255, 0.42);
}

.promo-share-modal__comment-input:focus {
  border-color: rgba(124, 196, 255, 0.42);
  box-shadow: 0 0 0 3px rgba(124, 196, 255, 0.12);
}

.promo-share-modal__note {
  margin-top: 10px;
  color: rgba(238, 245, 255, 0.62);
  font-size: 14px;
}

.promo-share-modal__status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(123, 244, 198, 0.18);
  background: rgba(123, 244, 198, 0.08);
  color: #d9ffe9;
}

.promo-share-modal__status.is-error {
  border-color: rgba(255, 144, 144, 0.22);
  background: rgba(255, 144, 144, 0.1);
  color: #ffe4e4;
}

.promo-share-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.promo-share-modal__btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-height: 98px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.promo-share-modal__btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.promo-share-modal__btn:disabled {
  opacity: 0.66;
  cursor: default;
  transform: none;
}

.promo-share-modal__btn--primary {
  background: linear-gradient(135deg, rgba(53, 110, 255, 0.3), rgba(19, 184, 154, 0.18));
}

.promo-share-modal__btn--joke {
  background: linear-gradient(135deg, rgba(255, 187, 88, 0.18), rgba(255, 120, 120, 0.14));
}

.promo-share-modal__btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  background:
    radial-gradient(circle at left center, rgba(124, 196, 255, 0.34), transparent 34%),
    radial-gradient(circle at right center, rgba(255, 214, 145, 0.24), transparent 32%);
  filter: blur(14px);
  opacity: 0.75;
  z-index: -1;
}

.promo-share-modal__btn-title {
  font-size: 18px;
  font-weight: 800;
}

.promo-share-modal__btn-text {
  color: rgba(238, 245, 255, 0.72);
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 720px) {
  .promo-share-modal__card {
    padding: 20px 16px 16px;
    border-radius: 24px;
  }

  .promo-share-modal__grid {
    grid-template-columns: 1fr;
  }
}
