/* ═══════════════════════════════════════════════════════════════════
   Splurjj Shout promo blocks for index.html (v1)
   Popup, hero panel, huge banner and Goals Slim ad.
   Every selector is scoped with .shx- so it cannot leak into the rest
   of the page. Do NOT link css/shout.v1.css on index.html (global resets).
   NOTE: _headers serves /css/* as immutable for 1 year. When you change
   this file, rename it to shout-promo.v2.css and update index.html.
═══════════════════════════════════════════════════════════════════ */
:root {
  --shx-pink: #e8117a;
  --shx-pink2: #ff3d8f;
  --shx-teal: #2dd4bf;
  --shx-ink: #0b0b12;
}

.shx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Shared: handle field, button, status, pills ─────────────────── */
.shx-form { display: block; width: 100%; margin: 0; }
.shx-field {
  display: flex; align-items: center; gap: 6px;
  height: 58px; padding: 0 20px;
  background: #f4f4f6; border: 2px solid transparent; border-radius: 18px;
  transition: border-color .15s, box-shadow .15s;
  box-sizing: border-box;
}
.shx-field:focus-within { border-color: var(--shx-pink2); box-shadow: 0 0 0 4px rgba(255,61,143,.2); }
.shx-field__pre { font: 700 15px/1 Inter, system-ui, sans-serif; color: #6b6b7a; white-space: nowrap; }
.shx-field input {
  flex: 1; min-width: 0; height: 100%; margin: 0; padding: 0;
  border: 0; outline: 0; box-shadow: none; background: transparent;
  font: 800 16px/1 Inter, system-ui, sans-serif; color: var(--shx-ink);
  letter-spacing: 0;
}
.shx-field input::placeholder { color: #a3a3b0; font-weight: 600; }

.shx-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 58px; margin-top: 12px; padding: 0 20px;
  border: 0; border-radius: 18px; cursor: pointer;
  background: linear-gradient(90deg, var(--shx-pink), var(--shx-pink2));
  color: #fff; font: 800 16px/1 Inter, system-ui, sans-serif; text-decoration: none;
  box-shadow: 0 10px 32px rgba(232,17,122,.45);
  transition: transform .15s, box-shadow .15s, filter .15s;
  box-sizing: border-box;
}
.shx-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 38px rgba(232,17,122,.6); filter: brightness(1.05); }
.shx-btn[disabled] { opacity: .7; cursor: progress; transform: none; }

.shx-status { margin: 12px 0 0; min-height: 20px; text-align: center; font: 700 13px/1.4 Inter, system-ui, sans-serif; color: rgba(255,255,255,.55); }
.shx-status.is-ok   { color: var(--shx-teal); }
.shx-status.is-bad  { color: #ff7a9c; }
.shx-status.is-warn { color: #fbbf24; }

.shx-alt { margin: 14px 0 0; text-align: center; font: 500 14px/1.4 Inter, system-ui, sans-serif; color: rgba(255,255,255,.6); }
.shx-alt a { color: #fff; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

.shx-who { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.shx-who span {
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08);
  font: 700 12px/1 Inter, system-ui, sans-serif; color: rgba(255,255,255,.85);
}

.shx-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(232,17,122,.14); border: 1px solid rgba(255,61,143,.35);
  font: 800 10px/1 Inter, system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--shx-pink2);
}

/* Floating social tiles (popup + banner) */
.shx-float {
  position: absolute; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 13px; color: #fff; font-size: 20px;
  box-shadow: 0 10px 24px rgba(20,10,60,.28);
  animation: shxBob 5s ease-in-out infinite;
}
.shx-float--fb { background: #1877f2; }
.shx-float--ig { background: linear-gradient(45deg, #f9a03f, #e1306c 55%, #833ab4); }
.shx-float--tt { background: #000; border: 2px solid #25f4ee; }
.shx-float--wa { background: #25d366; }
@keyframes shxBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes shxUp { from { opacity: 0; transform: translateY(26px) scale(.97); } to { opacity: 1; transform: none; } }

/* Phone mock (banner + popup mini) */
.shx-phone {
  position: absolute; overflow: hidden;
  background: #14141c; border: 4px solid #23234a; border-radius: 40px;
  box-shadow: 0 30px 60px rgba(20,10,60,.38);
  color: #fff; font-family: Inter, system-ui, sans-serif; text-align: center;
}
.shx-phone__top { height: 30%; background: linear-gradient(135deg, #7c4dff, var(--shx-pink)); }
.shx-phone__badge {
  display: flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; margin: -29px auto 0; position: relative;
  border-radius: 50%; background: #14141c; border: 3px solid #7c4dff; color: #fff; font-size: 22px;
}
.shx-phone__handle { margin-top: 10px; font: 800 20px/1.1 Inter, system-ui, sans-serif; color: #fff; padding: 0 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shx-phone__sub { margin-top: 6px; font: 500 12px/1.3 Inter, system-ui, sans-serif; color: rgba(255,255,255,.6); }
.shx-phone__qr { width: 62%; aspect-ratio: 1; margin: 16px auto 0; padding: 12px; background: #fff; border-radius: 16px; box-sizing: border-box; }
.shx-phone__qr svg { display: block; width: 100%; height: 100%; }
.shx-phone__cta { margin-top: 16px; font: 800 12px/1 Inter, system-ui, sans-serif; letter-spacing: .14em; color: var(--shx-pink2); }
.shx-phone--back { background: #101018; }
.shx-phone--back .shx-phone__top { height: 24%; background: linear-gradient(135deg, #5b3bd6, #c0106a); }
.shx-bars { padding: 18px 16px; display: grid; gap: 12px; }
.shx-bars i { display: block; height: 46px; border-radius: 12px; background: rgba(255,255,255,.07); }

/* ═══ 1. POPUP ═══════════════════════════════════════════════════ */
.shx-pop {
  position: fixed; inset: 0; z-index: 99999; display: none;
  align-items: center; justify-content: center; padding: 16px;
  background: rgba(0,0,0,.84); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.shx-pop.is-open { display: flex; }
.shx-pop__box {
  position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow-y: auto;
  background: #0d0d14; color: #fff; border: 1px solid rgba(255,255,255,.1); border-radius: 28px;
  box-shadow: 0 32px 90px rgba(0,0,0,.85);
  animation: shxUp .35s cubic-bezier(.22,.68,0,1.2) both;
  font-family: Inter, system-ui, sans-serif;
}
.shx-pop__x {
  position: absolute; top: 14px; right: 14px; z-index: 6;
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; padding: 0; cursor: pointer;
  border: 1px solid rgba(11,11,18,.15); background: rgba(255,255,255,.75); color: var(--shx-ink); font-size: 14px;
  transition: background .18s, color .18s;
}
.shx-pop__x:hover { background: var(--shx-pink); color: #fff; }
.shx-pop__top {
  position: relative; height: 150px; overflow: hidden;
  background: linear-gradient(120deg, #e9c6ff 0%, #b8d3ff 40%, #99f0dc 72%, #ffd0c2 100%);
}
.shx-pop__top .shx-phone { left: 50%; top: 22px; width: 132px; height: 190px; margin-left: -66px; border-radius: 24px; border-width: 3px; }
.shx-pop__top .shx-phone__badge { width: 34px; height: 34px; margin-top: -17px; font-size: 13px; border-width: 2px; }
.shx-pop__top .shx-phone__handle { margin-top: 6px; font-size: 12px; }
.shx-pop__top .shx-phone__sub { display: none; }
.shx-pop__top .shx-phone__qr { width: 66px; margin-top: 8px; padding: 6px; border-radius: 10px; }
.shx-pop__top .shx-float { width: 36px; height: 36px; font-size: 16px; border-radius: 11px; }
.shx-pop__top .f1 { left: 12%; top: 18px; }
.shx-pop__top .f2 { right: 12%; top: 14px; animation-delay: -1.2s; }
.shx-pop__top .f3 { left: 18%; bottom: 24px; animation-delay: -2.4s; }
.shx-pop__top .f4 { right: 17%; bottom: 20px; animation-delay: -3.4s; }
.shx-pop__body { padding: 24px 24px 22px; text-align: center; }
.shx-pop__body h2 { margin: 14px 0 8px; font: 900 1.7rem/1.08 Inter, system-ui, sans-serif; letter-spacing: -.035em; color: #fff; }
.shx-pop__body h2 em { font-style: normal; color: var(--shx-pink2); }
.shx-pop__lead { margin: 0 0 18px; font: 400 .9rem/1.55 Inter, system-ui, sans-serif; color: rgba(255,255,255,.62); }
.shx-pop__skip {
  display: inline-block; margin-top: 14px; padding: 6px 10px; background: none; border: 0; cursor: pointer;
  font: 600 .78rem/1 Inter, system-ui, sans-serif; color: rgba(255,255,255,.4); transition: color .15s;
}
.shx-pop__skip:hover { color: rgba(255,255,255,.75); }
.shx-pop .shx-who { margin-top: 14px; }
.shx-pop .shx-who span { padding: 7px 11px; font-size: 11px; }

/* ═══ 2. HERO PANEL (replaces the Live Goals Community text) ════ */
.hp-hero__right .shx-hero-panel { display: flex; flex-direction: column; justify-content: center; gap: 12px; width: 100%; }
.shx-hero-panel__label { margin: 0; font: 800 9px/1 Inter, system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.shx-hero-panel__label i { color: var(--shx-pink2); margin-right: 4px; }
.shx-hero-panel__title { margin: 0; font: 900 1.55rem/1.05 Inter, system-ui, sans-serif; letter-spacing: -.04em; color: #fff; }
.shx-hero-panel__title em { font-style: normal; color: var(--shx-pink2); }
.shx-hero-panel__copy { margin: 0; font: 400 .72rem/1.55 Inter, system-ui, sans-serif; color: rgba(255,255,255,.6); }
.shx-hero-panel__field {
  display: flex; align-items: center; gap: 4px; height: 38px; padding: 0 14px;
  background: #f4f4f6; border-radius: 12px; text-decoration: none;
  font: 700 12px/1 Inter, system-ui, sans-serif; color: #6b6b7a; white-space: nowrap; overflow: hidden;
}
.shx-hero-panel__field b { color: #a3a3b0; font-weight: 700; }
.shx-hero-panel__cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; align-self: flex-start;
  height: 40px; padding: 0 18px; border-radius: 999px;
  background: linear-gradient(90deg, var(--shx-pink), var(--shx-pink2)); color: #fff;
  font: 800 11px/1 Inter, system-ui, sans-serif; letter-spacing: .02em; text-decoration: none;
  box-shadow: 0 8px 22px rgba(232,17,122,.4); transition: transform .15s, filter .15s;
}
.shx-hero-panel__cta:hover { transform: translateY(-1px); filter: brightness(1.08); }
.shx-hero-panel__fine { margin: 0; font: 500 .58rem/1.4 Inter, system-ui, sans-serif; color: rgba(255,255,255,.4); }
@media (max-width: 960px) {
  .hp-hero__right .shx-hero-panel { max-width: 560px; }
}

/* ═══ 3. HUGE BANNER ═════════════════════════════════════════════ */
.shx-banner {
  position: relative; overflow: hidden; box-sizing: border-box;
  padding: clamp(56px, 9vw, 130px) 24px;
  background: linear-gradient(120deg, #e9c6ff 0%, #b8d3ff 38%, #99f0dc 72%, #ffd0c2 100%);
  color: var(--shx-ink); font-family: Inter, system-ui, sans-serif;
}
.shx-banner__in {
  position: relative; z-index: 1; max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center;
}
.shx-banner .shx-eyebrow { background: rgba(255,255,255,.65); border-color: rgba(11,11,18,.08); color: var(--shx-ink); }
.shx-banner h2 {
  margin: 20px 0 22px; font: 900 clamp(2.6rem, 7.4vw, 6.2rem)/.98 Inter, system-ui, sans-serif;
  letter-spacing: -.05em; color: var(--shx-ink);
}
.shx-banner h2 em { font-style: normal; color: #d4116a; }
.shx-banner__lead { margin: 0 0 30px; max-width: 560px; font: 500 clamp(1rem, 1.5vw, 1.2rem)/1.6 Inter, system-ui, sans-serif; color: #2c2c3a; }
.shx-banner .shx-form { max-width: 560px; }
.shx-banner .shx-field { background: #fff; height: 64px; box-shadow: 0 10px 30px rgba(20,10,60,.12); }
.shx-banner .shx-btn { height: 64px; font-size: 18px; }
.shx-banner .shx-status { text-align: left; color: #3a3a4a; }
.shx-banner .shx-status.is-ok { color: #0f766e; }
.shx-banner .shx-status.is-bad { color: #be123c; }
.shx-banner .shx-status.is-warn { color: #a16207; }
.shx-banner .shx-alt { text-align: left; color: #2c2c3a; }
.shx-banner .shx-alt a { color: var(--shx-ink); }
.shx-banner .shx-who { justify-content: flex-start; max-width: 560px; }
.shx-banner .shx-who span { background: rgba(255,255,255,.7); border-color: rgba(11,11,18,.06); color: var(--shx-ink); }

.shx-phones { position: relative; width: 100%; max-width: 480px; height: clamp(440px, 52vw, 600px); margin: 0 auto; }
.shx-phones .shx-phone:not(.shx-phone--back) { left: 50%; top: 0; width: min(300px, 60%); height: 92%; margin-left: -34%; z-index: 2; }
.shx-phones .shx-phone--back { right: 2%; top: 8%; width: min(250px, 52%); height: 78%; transform: rotate(5deg); z-index: 1; opacity: .96; }
.shx-phones .shx-float { width: 58px; height: 58px; font-size: 26px; border-radius: 17px; }
.shx-phones .f1 { left: 0; top: 14%; }
.shx-phones .f2 { right: 0; top: 2%; animation-delay: -1.2s; }
.shx-phones .f3 { left: 4%; bottom: 20%; animation-delay: -2.4s; }
.shx-phones .f4 { right: 4%; bottom: 8%; animation-delay: -3.4s; }
.shx-phones .shx-phone__badge { width: 64px; height: 64px; margin-top: -32px; font-size: 24px; }

@media (max-width: 900px) {
  .shx-banner__in { grid-template-columns: 1fr; }
  .shx-banner h2, .shx-banner__lead { text-align: center; margin-left: auto; margin-right: auto; }
  .shx-banner .shx-eyebrow { display: flex; width: max-content; margin: 0 auto; }
  .shx-banner .shx-form, .shx-banner .shx-who { margin-left: auto; margin-right: auto; }
  .shx-banner .shx-status, .shx-banner .shx-alt { text-align: center; }
  .shx-banner .shx-who { justify-content: center; }
  .shx-phones { height: 460px; max-width: 400px; }
}
@media (max-width: 480px) {
  .shx-banner { padding-left: 16px; padding-right: 16px; }
  .shx-phones { height: 420px; }
  .shx-phones .shx-float { width: 46px; height: 46px; font-size: 20px; }
  .shx-field { padding: 0 14px; }
  .shx-field__pre { font-size: 13px; }
}

/* ═══ 4. GOALS SLIM AD ═══════════════════════════════════════════ */
.shx-slim {
  box-sizing: border-box; padding: clamp(48px, 7vw, 96px) 24px;
  background: radial-gradient(ellipse 70% 60% at 15% 0%, rgba(34,197,94,.2), transparent 60%), #060908;
  border-top: 1px solid rgba(255,255,255,.06); color: #fff; font-family: Inter, system-ui, sans-serif;
}
.shx-slim__in {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center;
}
.shx-slim__img {
  display: block; overflow: hidden; border-radius: 26px; line-height: 0;
  border: 1px solid rgba(255,255,255,.1); box-shadow: 0 30px 70px rgba(0,0,0,.6), 0 0 60px rgba(34,197,94,.12);
  transition: transform .2s;
}
.shx-slim__img:hover { transform: translateY(-3px); }
.shx-slim__img img { display: block; width: 100%; height: auto; }
.shx-slim__soon {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: rgba(34,197,94,.14); border: 1px solid rgba(34,197,94,.45);
  font: 800 11px/1 Inter, system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #4ade80;
}
.shx-slim h2 { margin: 18px 0 14px; font: 900 clamp(2rem, 5vw, 3.6rem)/1.03 Inter, system-ui, sans-serif; letter-spacing: -.045em; color: #fff; }
.shx-slim h2 em { font-style: normal; color: #4ade80; }
.shx-slim__lead { margin: 0 0 22px; font: 500 1.05rem/1.6 Inter, system-ui, sans-serif; color: rgba(255,255,255,.7); max-width: 520px; }
.shx-slim__now {
  margin: 0 0 24px; padding: 16px 18px; max-width: 520px; border-radius: 16px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
  font: 500 .95rem/1.55 Inter, system-ui, sans-serif; color: rgba(255,255,255,.85);
}
.shx-slim__now b { color: #fff; }
.shx-slim__btn {
  display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 16px;
  background: linear-gradient(90deg, #22c55e, #16a34a); color: #04130a;
  font: 800 15px/1 Inter, system-ui, sans-serif; text-decoration: none;
  box-shadow: 0 10px 30px rgba(34,197,94,.35); transition: transform .15s, filter .15s;
}
.shx-slim__btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.shx-slim__fine { margin: 16px 0 0; font: 500 .75rem/1.4 Inter, system-ui, sans-serif; color: rgba(255,255,255,.4); }
.shx-slim__fine a { color: rgba(255,255,255,.7); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 800px) {
  .shx-slim__in { grid-template-columns: 1fr; }
  .shx-slim__img { max-width: 380px; margin: 0 auto; }
  .shx-slim__copy { text-align: center; }
  .shx-slim__lead, .shx-slim__now { margin-left: auto; margin-right: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .shx-float, .shx-pop__box { animation: none; }
}
