/* === Promo Modal === */
.promo-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.promo-modal-overlay.active {
  display: flex;
}

.promo-modal {
  background: #1a0a2e;
  border: 1px solid rgba(180, 0, 255, 0.35);
  border-radius: 16px;
  padding: 36px 32px 28px;
  width: 100%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 0 60px rgba(180, 0, 255, 0.25), 0 24px 48px rgba(0,0,0,0.6);
  text-align: center;
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.88) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.promo-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.45);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  padding: 4px 8px;
}
.promo-modal__close:hover { color: #fff; }

/* --- Loading state --- */
.promo-modal__loading {
  padding: 8px 0 12px;
}
.promo-modal__loading-title {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 24px;
  font-family: inherit;
}
.promo-modal__spinner {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  position: relative;
}
.promo-modal__spinner::before,
.promo-modal__spinner::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
}
.promo-modal__spinner::before {
  border-top-color: #b400ff;
  border-right-color: #b400ff;
  animation: spin 0.9s linear infinite;
}
.promo-modal__spinner::after {
  border-bottom-color: rgba(180,0,255,0.3);
  border-left-color: rgba(180,0,255,0.3);
  animation: spin 0.9s linear infinite reverse;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.promo-modal__spinner-text {
  color: rgba(255,255,255,0.45);
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* --- Result state --- */
.promo-modal__result {
  display: none;
}
.promo-modal__badge {
  display: inline-block;
  background: linear-gradient(135deg, #b400ff 0%, #7a00c0 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.promo-modal__bonus-label {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 6px;
  font-family: inherit;
}
.promo-modal__bonus-value {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  font-family: inherit;
  line-height: 1.2;
}
.promo-modal__bonus-value span {
  color: #e040ff;
}

.promo-modal__code-box {
  background: rgba(255,255,255,0.06);
  border: 1.5px dashed rgba(180,0,255,0.5);
  border-radius: 10px;
  padding: 14px 20px;
  margin-bottom: 20px;
}
.promo-modal__code-label {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  font-family: inherit;
}
.promo-modal__code-value {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #f0c0ff;
  font-family: 'Courier New', monospace;
}

.promo-modal__cta {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #c800ff 0%, #8a00d0 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 24px rgba(180,0,255,0.4);
}
.promo-modal__cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.promo-modal__disclaimer {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  line-height: 1.5;
  font-family: inherit;
}