.app-promo-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  /* Use a subtle backdrop and respect safe-area insets on mobile */
  background: transparent;
  color: #e7e9ea;
  padding: 0.5rem 0.75rem calc(0.75rem + env(safe-area-inset-bottom, 0));
  box-shadow: none;
  font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.app-promo-banner__inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0.8rem;
  background: #1a2332;
  border-radius: 12px;
  border: 1px solid #2f3640;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.55);
  position: relative;
}

.app-promo-banner__text {
  flex: 1;
  min-width: 0;
}

.app-promo-banner__title {
  margin: 0 0 0.15rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #e7e9ea;
}

.app-promo-banner__message {
  margin: 0;
  font-size: 0.8rem;
  color: #8b98a5;
}

.app-promo-banner__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: 0.25rem;
}

.app-promo-banner__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: none;
  background: #e74c3c;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.app-promo-banner__cta:hover,
.app-promo-banner__cta:focus {
  background: #c0392b;
}

.app-promo-banner__close {
  background: transparent;
  border: none;
  color: #8b98a5;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.15rem;
  border-radius: 999px;
  position: absolute;
  top: 0.35rem;
  right: 0.45rem;
}

.app-promo-banner__close:hover,
.app-promo-banner__close:focus {
  background: rgba(255, 255, 255, 0.08);
  color: #e7e9ea;
  outline: none;
}

.app-promo-banner__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #2f3640;
  background: rgba(255, 255, 255, 0.02);
  color: #8b98a5;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}

/* Tight layouts: stack content vertically on very small screens */
@media (max-width: 480px) {
  .app-promo-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .app-promo-banner__actions {
    margin-left: 0;
    margin-top: 0.35rem;
  }
}

@media (min-width: 769px) {
  .app-promo-banner {
    display: none;
  }
}

