/* ============================================================
   Promo Card — cross-promotion for FamilyStori (free tier only)
   ============================================================ */

.promo-card {
  background: linear-gradient(135deg, var(--surface-elevated), var(--surface-secondary));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  margin-top: var(--space-6);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.promo-card__badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  font-size: 9px;
  font-weight: var(--weight-semibold);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
}

.promo-card__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  line-height: var(--leading-tight);
}

.promo-card__subtitle {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-4);
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.promo-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-white);
  background: linear-gradient(135deg, #E85D75, #C94B63);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition:
    transform var(--duration-fast) var(--ease-spring),
    box-shadow var(--duration-fast) var(--ease-out);
}

.promo-card__cta:active {
  transform: scale(0.96);
}

.promo-card__cta:hover {
  box-shadow: 0 4px 16px rgba(232, 93, 117, 0.3);
}

.promo-card__dismiss {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  padding: var(--space-1);
  color: var(--text-muted);
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: var(--text-xs);
  opacity: 0.5;
}

.promo-card__dismiss:hover {
  opacity: 1;
}
