/* NOIR SMS — limited-time bonus banners on the public pages (see promo.js) */
.np:empty { display: none; }
.np { color: var(--strong); }
.np-y { color: var(--ok); font-style: normal; }
.np-b { color: #60A5FA; font-style: normal; }
.np-left { display: inline-block; padding: 1px 9px; border-radius: 999px; background: rgba(var(--gold-rgb),.1); border: 1px solid rgba(var(--gold-rgb),.35); color: var(--gold-2); font-family: var(--mono, monospace); font-size: 12px; white-space: nowrap; }
.np svg { flex: none; }

/* thin bar above the site header */
.np--bar { position: relative; z-index: 60; background: radial-gradient(ellipse at 50% 0%, rgba(var(--gold-rgb),.22), transparent 70%), linear-gradient(90deg, var(--surface), var(--surface-2) 50%, var(--surface-3)); border-bottom: 1px solid rgba(var(--gold-rgb),.4); color: var(--text); }
.np-bar { display: flex; align-items: center; justify-content: center; gap: 12px; max-width: 1240px; margin: 0 auto; padding: 9px 16px; font-size: 13.5px; line-height: 1.45; text-align: center; }
.np-bar > svg { width: 18px; height: 18px; fill: none; stroke: var(--gold-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.np-bar em { font-weight: 800; }
.np-bar a { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 5px 12px; border-radius: 999px; background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 45%, var(--gold-3) 100%); color: var(--on-gold); font-weight: 800; font-size: 12.5px; }
.np-bar a svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* big banner */
.np--card, .np--compact {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 22px;
  padding: 24px 28px; border-radius: 24px; border: 1px solid rgba(var(--gold-rgb),.45);
  background:
    radial-gradient(circle at 0% 0%, rgba(var(--gold-rgb),.22), transparent 42%),
    radial-gradient(circle at 100% 110%, rgba(59,130,246,.2), transparent 46%),
    linear-gradient(135deg, var(--surface-2) 0%, var(--surface) 55%, var(--surface-3) 100%);
  box-shadow: 0 40px 90px -55px rgba(var(--gold-rgb),.75), inset 0 1px 0 rgba(var(--ink-rgb),.06);
}
.np--card::before, .np--compact::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18;
  background-image: radial-gradient(rgba(var(--gold-rgb),.7) 1px, transparent 1.4px); background-size: 18px 18px;
  mask-image: linear-gradient(90deg, transparent 30%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); }
.np--card > *, .np--compact > * { position: relative; }
.np-tag { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 9px; border-radius: 999px; background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 45%, var(--gold-3) 100%); color: var(--on-gold); font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.np-tag svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.np h3 { margin: 12px 0 6px; font-size: clamp(20px, 2.2vw, 28px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: var(--strong); }
.np h3 em { font-style: normal; color: var(--gold-2); text-shadow: 0 0 22px rgba(var(--gold-rgb),.35); }
.np p { margin: 0; color: var(--text-2); font-size: 14.5px; line-height: 1.6; }
.np p b { color: var(--strong); }
.np p b.np-y { color: var(--ok); }
.np-offers { display: flex; gap: 12px; }
.np-offer { display: flex; align-items: center; gap: 12px; min-width: 190px; padding: 12px 16px; border-radius: 16px; background: rgba(var(--ink-rgb),.035); border: 1px solid rgba(var(--ink-rgb),.1); }
.np-offer b { display: block; font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.np-offer small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.np-offer--crypto { border-color: rgba(var(--ok-rgb),.4); background: linear-gradient(135deg, rgba(var(--ok-rgb),.1), rgba(var(--ok-rgb),.02)); box-shadow: 0 14px 40px -22px rgba(var(--ok-rgb),.7); }
.np-offer--crypto b { color: var(--ok); }
.np-offer--card { border-color: rgba(96,165,250,.35); background: linear-gradient(135deg, rgba(96,165,250,.1), rgba(96,165,250,.02)); }
.np-offer--card b { color: #60A5FA; }
.np-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: rgba(var(--ink-rgb),.06); border: 1px solid rgba(var(--ink-rgb),.08); }
.np-ic > svg { width: 30px; height: 30px; }
.np-coins { display: inline-flex; }
.np-coins svg { width: 22px; height: 22px; }
.np-coins svg + svg { margin-left: -6px; border-radius: 50%; box-shadow: 0 0 0 2px var(--surface-2); }
.np-cta { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 22px; border-radius: 14px; background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 45%, var(--gold-3) 100%); color: var(--on-gold); font-weight: 800; white-space: nowrap; box-shadow: 0 14px 34px -12px rgba(var(--gold-rgb),.9); transition: transform .2s, filter .2s; }
.np-cta:hover { filter: brightness(1.08); transform: translateY(-1px); }
.np-cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* compact (signup card) */
.np--compact { grid-template-columns: 1fr; gap: 14px; padding: 16px 18px; border-radius: 18px; margin-bottom: 18px; text-align: left; }
.np--compact h3 { margin: 10px 0 4px; font-size: 17px; }
.np--compact p { font-size: 13px; }
.np--compact .np-offers { display: grid; grid-template-columns: 1fr 1fr; }
.np--compact .np-offer { min-width: 0; padding: 10px 12px; gap: 10px; }
.np--compact .np-offer b { font-size: 24px; }
.np--compact .np-offer small { white-space: normal; }
.np--compact .np-ic { width: 38px; height: 38px; }

@media (max-width: 1080px) {
  .np--card { grid-template-columns: 1fr; }
  .np-cta { justify-self: start; }
}
@media (max-width: 640px) {
  .np-bar { flex-wrap: wrap; font-size: 12.5px; gap: 8px; }
  .np--card { padding: 20px; }
  .np--card .np-offers { display: grid; grid-template-columns: 1fr; }
  .np-offer { min-width: 0; }
  .np-cta { width: 100%; justify-content: center; }
}
.promo-wrap { margin-top: -40px; margin-bottom: 40px; }
.promo-wrap:has(> .np:empty) { display: none; }
@media (max-width: 640px) {
  .np--compact .np-offer { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* room kept for the banner until promo.js fills it, so the page below
   doesn't jump (layout shift) when it appears */
[data-promo="bar"]:empty { display: block; min-height: 47px; }
[data-promo="compact"]:empty { display: block; min-height: 245px; }
@media (max-width: 900px) { [data-promo="bar"]:empty { min-height: 60px; } }
@media (max-width: 480px) { [data-promo="bar"]:empty { min-height: 121px; } [data-promo="compact"]:empty { min-height: 311px; } }
@media (max-width: 380px) { [data-promo="bar"]:empty { min-height: 139px; } [data-promo="compact"]:empty { min-height: 332px; } }
