/* ============================================================
   SPORTS & GAMING — solutions page styles.

   Built on the shared design tokens + @font-face rules in
   styles.css: one 64rem content column, Suisse Intl display
   type, hairline rules instead of cards, white the only accent.

   This page deliberately does NOT repeat the product-page
   template (marquee · stats row · zig-zag rail). iGaming money
   is temporal — it surges before kickoff and again at the final
   whistle — so the page is built around that rhythm:
     · the hero: copy left, a LIVE sportsbook feed right (the
       page's one real animation)
     · the MATCH-DAY TIMELINE — a static volume chart of a game
       day: deposits ramp into kickoff, live bets through the
       match, a half-time bump, payouts at full time
     · three plain text columns (no icons, no graphics)
     · the compliance engine as a quiet, static checklist
     · the finale (closing couplet + email capture)
   ============================================================ */

/* ---------- Brand wordmark typeface (on the homepage this arrives
   via hero/_shared/widget.css; here we load just the two weights
   the wordmark needs, from the same bundled files) ---------- */
@font-face {
  font-family: "Open Sauce One";
  src: url("hero/_shared/assets/fonts/OpenSauceOne-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sauce One";
  src: url("hero/_shared/assets/fonts/OpenSauceOne-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   Solutions hero — the message left, the sportsbook's money in
   motion on the right.
   ============================================================ */
.phero {
  position: relative;
  padding: 4rem 2.5rem 0;      /* no bottom pad — the next section's top owns the gap */
}
.phero-inner {
  max-width: 64rem;            /* the site grid */
  margin: 0 auto;
}
.phero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  column-gap: 4rem;
  align-items: center;
}
.phero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ---- announcement pill (same construction as the homepage hero:
   ring → fill, with a rotating shine) — here a quiet page badge ---- */
.hero-pill {
  position: relative;
  display: inline-flex;
  margin: 0 0 2.5rem;
  padding: 1px;                       /* the 1px ring */
  border-radius: 999px;
  background: #222;                   /* static ring base */
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
}
.hero-pill::before {                  /* a single bright arc travelling around the ring */
  content: "";
  position: absolute;
  inset: -120%;
  z-index: 0;
  background: conic-gradient(from 0deg, transparent 0 60%, rgba(255, 255, 255, 0.5) 78%, transparent 90% 100%);
  animation: hero-pill-spin 5s linear infinite;
}
.hero-pill_inner {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  background: #191919;
}
.hero-pill_label { font-size: 15px; line-height: 1.5; color: #fff; }
@keyframes hero-pill-spin { to { transform: rotate(1turn); } }
@media (prefers-reduced-motion: reduce) { .hero-pill::before { animation: none; } }

.phero-title {
  margin: 0;
  font-family: "Suisse Intl", Georgia, sans-serif;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--gray-12);
  text-wrap: balance;
}
.phero-sub {
  margin: 1.5rem 0 0;
  max-width: 30rem;
  color: var(--gray-10);
  font-size: clamp(1.0625rem, 1.1vw, 1.1875rem);
  line-height: 1.55;
}
.phero-sub .lead { color: #eee; }    /* bright lead clause — the homepage two-tone */

/* ---- the live activity feed: a sportsbook's deposits and
   payouts rolling in (rows are prepended by sports-gaming.js) ---- */
.phero-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 30rem;
}
.feed {
  width: 100%;
  max-width: 23rem;
  border-radius: 0.875rem;
  background-color: var(--gray-2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 0 0 1px var(--border),
    0 28px 80px -26px rgba(0, 0, 0, 0.85),
    0 8px 22px -14px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.feed-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border);
}
.feed-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.125rem;
  height: 2.125rem;
  border-radius: 50%;
  background-color: var(--accent);
  color: var(--accent-fg);
  font-size: 0.9375rem;
  font-weight: 700;
}
.feed-id { flex: 1; min-width: 0; }
.feed-title {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--gray-12);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.feed-sub {
  display: block;
  margin-top: 0.125rem;
  font-size: 0.6875rem;
  color: var(--gray-10);
}
.feed-live {
  display: flex;
  flex: none;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-10);
}
.feed-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gray-12);
  animation: feed-live 2.4s ease-in-out infinite;
}
@keyframes feed-live { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@media (prefers-reduced-motion: reduce) { .feed-live::before { animation: none; } }

.feed-rows {
  height: 17.5rem;             /* five 3.5rem rows — trimming happens off-stage */
  padding: 0.5rem 0.75rem;
  overflow: hidden;
}
.feed-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 3.5rem;
  padding: 0 0.25rem;
}
.feed-row + .feed-row { border-top: 1px solid var(--alpha-2); }
.feed-row.is-new { animation: feed-in 0.45s var(--ease); }
@keyframes feed-in {
  from { height: 0; opacity: 0; transform: translateY(-4px); }
  to   { height: 3.5rem; opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .feed-row.is-new { animation: none; } }
.feed-row img {
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
}
.feed-row_mid { flex: 1; min-width: 0; }
.feed-row_label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-12);
}
.feed-row_time {
  display: block;
  margin-top: 0.125rem;
  font-size: 0.6875rem;
  color: var(--gray-10);
}
.feed-row_amt {
  flex: none;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-12);
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   The match-day timeline — a game day drawn as money. Deposits
   ramp into kickoff, live bets tick through the match, half time
   bumps, and payouts spike at the final whistle. Entirely
   static: the shape tells the story. Bars are built by
   sports-gaming.js from a hand-tuned envelope.
   ============================================================ */
.tl {
  background-color: var(--gray-1);
  padding: 6.05rem 2.5rem;
}
.tl-inner {
  max-width: 64rem;
  margin: 0 auto;
}
.tl-statement {
  margin: 0 0 4.5rem;
  font-family: "Suisse Intl", Georgia, sans-serif;
  font-size: clamp(2.5rem, 4.8vw, 3.75rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--gray-12);
  text-wrap: balance;
}
.tl-statement span { display: block; }
.tl-legend {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}
.tl-key {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-10);
}
.tl-key::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.18);
}
.tl-key.is-pay::before { background: var(--gray-12); }
.tl-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 5.5rem;
}
.tl-bar {
  flex: 1;
  min-height: 2px;
  border-radius: 1px 1px 0 0;
  background: rgba(255, 255, 255, 0.18);
}
.tl-bar.is-pay { background: var(--gray-12); }
.tl-axis {
  position: relative;
  height: 1px;
  background-color: var(--border-strong);
}
.tl-marks {
  position: relative;
  height: 2.25rem;
}
.tl-mark {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  transform: translateX(-50%);
}
.tl-mark::before {               /* the tick, seated on the axis above */
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--gray-12);
  box-shadow: 0 0 0 3px var(--gray-1);
}
.tl-mark span {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-10);
  white-space: nowrap;
}
.tl-note {
  margin: 2.5rem 0 0;
  font-size: 0.8125rem;
  color: var(--gray-10);
}
.tl-note b { color: var(--gray-12); font-weight: 500; }

/* ============================================================
   Operator features — three plain text columns on hairline
   seats. No icons, no pictures: the claims carry themselves.
   ============================================================ */
.ops {
  background-color: var(--gray-1);
  padding: 0 2.5rem 7rem;
}
.ops-inner {
  max-width: 64rem;
  margin: 0 auto;
}
.ops .products-head { margin-bottom: 3.5rem; }
.ops-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.ops-col {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);   /* the rule that seats each claim */
}
.ops-col h3 {
  margin: 0 0 0.625rem;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--gray-12);
}
.ops-col p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--gray-10);
}
.ops-col .flow-link {
  margin-top: 1rem;
  font-size: 0.875rem;
}

/* ============================================================
   Compliance engine — presented quietly here: the claim on the
   left, and on the right a STATIC checklist of what runs on
   every transaction. Nothing moves; regulation shouldn't.
   ============================================================ */
.comp2 {
  background-color: var(--gray-1);
  padding: 0 2.5rem 7rem;
}
.comp2-inner {
  max-width: 64rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.comp2-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.125rem;
}
.comp2-card {
  width: 100%;
  max-width: 22rem;
  justify-self: center;
  padding: 0.75rem;
  border-radius: 0.875rem;
  background-color: var(--gray-2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 0 0 1px var(--border),
    0 28px 80px -26px rgba(0, 0, 0, 0.85),
    0 8px 22px -14px rgba(0, 0, 0, 0.55);
}
.comp2-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.875rem;
  border-radius: 0.5rem;
  background-color: #0f0f0f;
  box-shadow: inset 0 0 0 1px var(--border);
}
.comp2-row + .comp2-row { margin-top: 0.5rem; }
.comp2-row_icon {
  display: flex;
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
  color: var(--icon);
}
.comp2-row_icon svg { width: 100%; height: 100%; display: block; }
.comp2-row_label {
  flex: 1;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-12);
}
.comp2-check {
  display: grid;
  flex: none;
  place-items: center;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-fg);
}
.comp2-check svg { width: 0.625rem; height: 0.625rem; }

/* ============================================================
   Finale — the quiet close: the couplet and an email capture,
   nothing else (fun.xyz's closing register, in our type).
   ============================================================ */
.finale {
  background-color: var(--gray-1);
  padding: 0 2.5rem 7rem;
}
.finale-inner {
  max-width: 64rem;
  margin: 0 auto;
}
.finale-statement {
  margin: 0;
  font-family: "Suisse Intl", Georgia, sans-serif;
  font-size: clamp(2.5rem, 4.8vw, 3.75rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--gray-12);
  text-wrap: balance;
}
.finale-statement_line { display: block; }
.finale .cta-connect { margin-top: 2.5rem; }

/* ============================================================
   Responsive — aligned to the site's existing breakpoints
   (1024 hero · 991 nav · 720 products · 600 small).
   ============================================================ */
@media (max-width: 1024px) {
  .phero { padding: 3.5rem 1.5rem 0; }
  .phero-grid {
    grid-template-columns: 1fr;
    row-gap: 2.5rem;
  }
  .phero-sub { max-width: 40rem; }
  .phero-media { min-height: 0; }
  .tl { padding: 5rem 1.5rem; }
  .ops { padding: 0 1.5rem 5.5rem; }
  .comp2 { padding: 0 1.5rem 5.5rem; }
  .comp2-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .comp2-card { justify-self: start; }
  .finale { padding: 0 1.5rem 5rem; }
}
@media (max-width: 720px) {
  .tl-statement { margin-bottom: 3rem; }
  .tl-bars { height: 4.25rem; gap: 1px; }
  .tl-mark span { font-size: 0.625rem; letter-spacing: 0.1em; }
  .ops-cols { grid-template-columns: 1fr; gap: 2.25rem; }
}
@media (max-width: 600px) {
  .phero { padding: 2.75rem 1.25rem 0; }
}
