.promo-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .75);
  backdrop-filter: blur(5px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.promo-modal.visible {
  opacity: 1;
  pointer-events: auto;
}

.promo-content {
  background: #fff;
  width: 90%;
  max-width: 420px;
  border-radius: 20px;
  padding: 0;
  text-align: center;
  position: relative;
  box-shadow: 0 0 20px rgba(135, 125, 211, 0.4), 0 0 40px rgba(85, 120, 184, 0.3);
  transform: translateY(20px);
  transition: transform .3s ease;
  border: 3px solid transparent;
  background-clip: padding-box;
  overflow: hidden;
}

.promo-content::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  margin: -3px;
  border-radius: 22px;
  background: linear-gradient(135deg, #877DD3, #5578B8);
}

.promo-modal.visible .promo-content {
  transform: translateY(0);
}

.promo-modal .promo-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  border: 0;
  font-size: 24px;
  color: #555;
  cursor: pointer;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.promo-step {
  display: none;
  padding: 24px 24px 30px;
  animation: fadeIn .3s ease;
}

.promo-step.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.promo-banner-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.promo-step-1 {
  padding: 20px;
  background: #fff;
  border-radius: 18px;
}

#promo-step-2 {
  padding: 30px 24px;
  background: linear-gradient(135deg, #5578B8 0%, #877DD3 100%);
  border-radius: 18px;
}

#promo-step-2 .promo-title {
  background: none !important;
  -webkit-text-fill-color: #fff !important;
  color: #fff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#promo-step-2 .promo-subtitle {
  color: #fff !important;
  opacity: 0.95;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

#promo-step-2 .promo-disclaimer {
  color: #fff !important;
  opacity: 0.8;
}

#promo-step-2 .promo-close {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

#promo-step-2 .promo-btn {
  background: linear-gradient(90deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 6px 14px rgba(37, 211, 102, 0.4);
  text-transform: uppercase;
  letter-spacing: .02em;
}

#promo-step-2 .promo-btn:hover {
  filter: brightness(1.1);
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.5);
}

.promo-header {
  margin-bottom: 16px;
}

.promo-title {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: #5578B8;
}

.promo-subtitle {
  color: #666;
  font-size: 1rem;
  margin: 0;
  line-height: 1.4;
}

.promo-form {
  display: grid;
  gap: 12px;
  margin-top: 10px;
  text-align: left;
}

.promo-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-family: inherit;
  font-size: 1rem;
  transition: all .2s;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
}

.promo-input:focus {
  outline: none;
  background: #fff;
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.promo-btn {
  background: linear-gradient(90deg, #877DD3 0%, #5578B8 100%);
  color: #fff;
  font-weight: 700;
  padding: 14px;
  border: 0;
  border-radius: 999px;
  font-size: 1.1rem;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 6px 14px rgba(135, 125, 211, 0.35);
  transition: transform .15s, box-shadow .15s, filter .15s;
  width: 100%;
}

.promo-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(135, 125, 211, 0.45);
}

.promo-btn:active {
  transform: scale(.98);
}

.promo-disclaimer {
  margin: 16px 0 0;
  font-size: .85rem;
  color: #999;
  line-height: 1.4;
}

@media (max-width: 480px) {
  .promo-content {
    width: 95%;
  }

  .promo-title {
    font-size: 1.5rem;
  }

  .promo-subtitle {
    font-size: 0.9rem;
  }
}

@media (max-height: 800px) and (min-width: 769px) {
  .promo-modal.visible .promo-content {
    transform: translateY(0) scale(0.75);
  }
}