/* Cross-promotion banner for our other apps. Each app carries its own palette. */
.app-promo {
  --promo-bg: #fff7ef;
  --promo-border: #eeddd2;
  --promo-ink: #332825;
  --promo-muted: #766864;
  --promo-accent: #c5486e;
  --promo-cta-bg: #c5486e;
  --promo-cta-ink: #fff;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, auto);
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  margin: 28px 0;
  padding: 34px clamp(22px, 3vw, 32px) 26px;
  border: 1px solid var(--promo-border);
  border-radius: 24px;
  background: var(--promo-bg);
  color: var(--promo-ink);
  box-shadow: 0 16px 40px rgba(18, 13, 39, .1);
  font-family: inherit;
}
.app-promo--bimbi {
  background: radial-gradient(ellipse at 100% 0, #fbe9de 0, transparent 60%), #fff7ef;
}
/* Stawka: the four-colour frame of the app icon (yellow, teal, red, purple quarters) around a dark ink card. */
.app-promo--stawka {
  --promo-ink: #f6f4fb;
  --promo-muted: #a9a5b8;
  --promo-accent: #ffc21a;
  --promo-cta-bg: #ffc21a;
  --promo-cta-ink: #16141f;
  border: 3px solid transparent;
  background:
    radial-gradient(ellipse at 8% 0, rgba(255, 194, 26, .14) 0, transparent 55%) padding-box,
    radial-gradient(ellipse at 100% 100%, rgba(154, 117, 255, .16) 0, transparent 55%) padding-box,
    linear-gradient(#16141f, #16141f) padding-box,
    linear-gradient(#ffc21a, #ffc21a) left top / 50% 50% no-repeat border-box,
    linear-gradient(#1ac3b5, #1ac3b5) right top / 50% 50% no-repeat border-box,
    linear-gradient(#ff5c38, #ff5c38) left bottom / 50% 50% no-repeat border-box,
    linear-gradient(#9a75ff, #9a75ff) right bottom / 50% 50% no-repeat border-box;
  color-scheme: dark;
}
.app-promo--runnin {
  --promo-border: rgba(249, 115, 22, .35);
  --promo-ink: #fafaf9;
  --promo-muted: #a8a29e;
  --promo-accent: #f97316;
  --promo-cta-bg: #f97316;
  --promo-cta-ink: #1c0a00;
  background: radial-gradient(ellipse at 12% 0, rgba(249, 115, 22, .2) 0, transparent 60%), #0c0a09;
  color-scheme: dark;
}
/* itti.dev: the creator's socials, in the monochrome itti palette with two outbound buttons. */
.app-promo--itti {
  --promo-border: #2a2a28;
  --promo-ink: #f5f5f1;
  --promo-muted: #a3a39d;
  --promo-accent: #f5f5f1;
  --promo-cta-bg: #f5f5f1;
  --promo-cta-ink: #111110;
  background: radial-gradient(ellipse at 100% 0, rgba(245, 245, 241, .08) 0, transparent 55%), #111110;
  color-scheme: dark;
}
.itti-promo-invite { margin-top: 18px; padding: 16px; display: grid; gap: 10px; max-width: 470px; border: 1px solid rgba(245, 245, 241, .12); border-radius: 18px; background: rgba(245, 245, 241, .05); font-size: 13px; line-height: 1.5; }
.itti-invite-title { color: var(--promo-ink); font-size: 14px; }
.itti-invite-comment { display: flex; align-items: center; gap: 10px; }
.itti-invite-avatar { flex: none; width: 40px; height: 40px; padding: 2px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(from 210deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); }
.itti-invite-avatar img { width: 100%; height: 100%; padding: 4px; border: 2px solid #111110; border-radius: 50%; background: #fff7ef; object-fit: contain; }
.itti-invite-bubble { display: grid; padding: 7px 14px 8px; border-radius: 4px 16px 16px 16px; background: #f5f5f1; color: #111110; line-height: 1.25; }
.itti-invite-bubble small { color: #6b6b66; font-size: 11px; font-weight: 600; }
.itti-invite-bubble b { font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.itti-invite-heart { flex: none; margin-left: auto; color: #ff4d6d; animation: itti-heart 2.4s ease-in-out infinite; }
@keyframes itti-heart { 0%, 70%, 100% { transform: scale(1); } 78% { transform: scale(1.25); } 86% { transform: scale(.95); } }
@media (prefers-reduced-motion: reduce) { .itti-invite-heart { animation: none; } }
.itti-invite-text { color: var(--promo-muted); }
.app-promo--itti { grid-template-columns: minmax(0, 1fr) 290px; }
.itti-promo-actions { flex-direction: column; gap: 10px; align-self: stretch; justify-content: center; padding: 22px; border: 1px solid rgba(245, 245, 241, .12); border-radius: 20px; background: radial-gradient(ellipse at 50% 0, rgba(214, 41, 118, .18) 0, transparent 65%), rgba(245, 245, 241, .04); }
.itti-profile { margin-bottom: 6px; display: grid; justify-items: center; gap: 4px; text-align: center; }
.itti-profile-avatar { width: 84px; height: 84px; margin-bottom: 8px; padding: 3px; border-radius: 50%; background: conic-gradient(from 210deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); }
.itti-profile-avatar img { width: 100%; height: 100%; padding: 0; border: 3px solid #111110; border-radius: 50%; background: #1c1c1a; object-fit: cover; }
.itti-profile strong { color: var(--promo-ink); font-size: 17px; letter-spacing: -.01em; }
.itti-profile span { color: var(--promo-muted); font-size: 12px; line-height: 1.45; }
.itti-promo-actions .app-promo-cta { justify-content: center; text-decoration: none; }
.app-promo-cta--secondary { border: 1px solid rgba(245, 245, 241, .35); background: transparent; color: var(--promo-ink); }
.app-promo-cta:hover { filter: brightness(1.06); }
.app-promo .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* One native link covers the whole banner; the button is only its visual label. */
.app-promo-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.app-promo a:focus-visible { outline: 3px solid var(--promo-accent); outline-offset: 5px; }
.app-promo-label { position: absolute; top: 12px; left: 0; right: 0; text-align: center; color: var(--promo-muted); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.app-promo-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.app-promo-icon { width: 56px; height: 56px; border-radius: 14px; object-fit: contain; }
.app-promo-name { color: var(--promo-ink); font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.app-promo h2 { margin: 0 0 10px; color: var(--promo-ink); font-family: inherit; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.22; font-weight: 800; letter-spacing: -.035em; }
.app-promo p { margin: 0; max-width: 570px; color: var(--promo-muted); font-size: 13px; line-height: 1.65; }
.app-promo-actions { display: flex; justify-content: center; }
.app-promo-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 999px; background: var(--promo-cta-bg); color: var(--promo-cta-ink); font-size: 15px; font-weight: 800; white-space: nowrap; }
.app-promo:hover .app-promo-cta { filter: brightness(1.06); }
@media (max-width: 760px) {
  .app-promo { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .app-promo-actions { justify-content: flex-start; }
  .app-promo--itti { grid-template-columns: minmax(0, 1fr); }
  .itti-promo-actions { flex-direction: row; flex-wrap: wrap; }
  .itti-profile { flex: 1 1 100%; }
  .itti-promo-actions .app-promo-cta { flex: 1 1 140px; }
}
@media (max-width: 380px) {
  .app-promo { padding: 34px 20px 22px; }
  .app-promo-cta { white-space: normal; }
}
