.ma-interest-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(4, 5, 12, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ma-interest-backdrop.is-open {
  display: flex;
}

.ma-interest-modal {
  width: 100%;
  max-width: 520px;
  max-height: min(92vh, 720px);
  overflow-y: auto;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.42);
  background:
    radial-gradient(circle at 20% 0%, rgba(212, 175, 55, 0.1), transparent 55%),
    radial-gradient(circle at 80% 100%, rgba(139, 92, 246, 0.12), transparent 50%),
    linear-gradient(160deg, rgba(12, 14, 28, 0.97), rgba(6, 8, 18, 0.98));
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(212, 175, 55, 0.12),
    0 0 60px rgba(107, 33, 168, 0.1);
  color: #f5f5f5;
  padding: 22px 22px 20px;
}

.ma-interest-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.9);
}

.ma-interest-title {
  margin: 0 0 10px;
  font-size: 1.45rem;
  line-height: 1.25;
  color: #f5e6c8;
}

.ma-interest-program {
  margin: 0 0 12px;
  font-size: 0.88rem;
  color: rgba(212, 175, 55, 0.85);
  letter-spacing: 0.03em;
}

.ma-interest-text {
  margin: 0 0 16px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.ma-interest-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.ma-interest-label {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.ma-interest-input,
.ma-interest-textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 0.94rem;
  padding: 11px 12px;
  outline: none;
  font-family: inherit;
}

.ma-interest-input:focus,
.ma-interest-textarea:focus {
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.14);
}

.ma-interest-textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.5;
}

.ma-interest-hint {
  margin: -4px 0 12px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.48);
}

.ma-interest-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.ma-interest-btn {
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ma-interest-btn--primary {
  flex: 1 1 180px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.95), rgba(139, 92, 246, 0.92));
  color: #fff;
}

.ma-interest-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.ma-interest-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.22);
}

.ma-interest-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.ma-interest-message {
  min-height: 18px;
  margin: 10px 0 0;
  font-size: 0.86rem;
  line-height: 1.45;
}

.ma-interest-message.is-error {
  color: #f3d99d;
}

.ma-interest-message.is-success {
  color: #a7f5cb;
}

.ma-interest-success {
  display: none;
  text-align: center;
  padding: 12px 4px 6px;
}

.ma-interest-success.is-visible {
  display: block;
}

.ma-interest-success h3 {
  margin: 0 0 10px;
  color: #f5e6c8;
  font-size: 1.2rem;
}

.ma-interest-success p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  font-size: 0.92rem;
}

.ma-interest-form.is-hidden {
  display: none;
}

@media (max-width: 520px) {
  .ma-interest-modal {
    padding: 18px 16px 16px;
    border-radius: 16px;
  }

  .ma-interest-title {
    font-size: 1.25rem;
  }
}
