/* [ALLOW: sites/007-bingo provider-backed Bingo catalog presentation] */
.xbg-catalog,
.xbg-detail {
  width: min(calc(100% - 32px), 1240px);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 52px) 0 72px;
  color: #172033;
}

.xbg-hero,
.xbg-detail-head,
.xbg-policy,
.xbg-source,
.xbg-related {
  border: 1px solid #d9e0ea;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(23, 32, 51, .08);
}

.xbg-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 12px clamp(28px, 5vw, 72px);
  align-items: end;
  padding: clamp(28px, 6vw, 72px);
  background:
    radial-gradient(circle at 88% 18%, rgba(249, 115, 22, .2), transparent 30%),
    radial-gradient(circle at 74% 82%, rgba(37, 99, 235, .15), transparent 34%),
    #fff;
}

.xbg-hero > .xbg-eyebrow,
.xbg-hero > h1 {
  grid-column: 1;
}

.xbg-hero > p:not(.xbg-eyebrow),
.xbg-hero > .xbg-stats {
  grid-column: 2;
}

.xbg-eyebrow {
  margin: 0 0 10px;
  color: #c2410c;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.xbg-hero h1,
.xbg-detail-head h1 {
  max-width: 880px;
  margin: 0;
  font: 800 clamp(2.5rem, 7vw, 5.7rem)/.98 "Space Grotesk", sans-serif;
  letter-spacing: -.055em;
}

.xbg-hero > p:not(.xbg-eyebrow),
.xbg-detail-head > div > p:last-child {
  max-width: 820px;
  color: #536078;
  font-size: 1.08rem;
  line-height: 1.7;
}

.xbg-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0 0;
}

.xbg-stats div {
  min-width: 0;
  padding: 15px 18px;
  border: 1px solid #d9e0ea;
  border-radius: 14px;
  background: rgba(255, 255, 255, .85);
}

.xbg-stats dt {
  color: #6b7280;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.xbg-stats dd {
  margin: 4px 0 0;
  font-size: 1.3rem;
  font-weight: 900;
}

.xbg-provider-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin: 22px 0;
}

.xbg-provider-bar span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef2f7;
  color: #46536a;
  font-size: .82rem;
  font-weight: 800;
}

.xbg-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.xbg-card {
  overflow: hidden;
  border: 1px solid #d9e0ea;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(23, 32, 51, .08);
}

.xbg-card-visual {
  position: relative;
  display: grid;
  min-height: 230px;
  padding: 26px;
  align-content: center;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #172033, #3b4b68);
}

.xbg-provider-gamepix { background: linear-gradient(135deg, #0e7490, #2563eb); }
.xbg-provider-gamemonetize { background: linear-gradient(135deg, #5b21b6, #db2777); }
.xbg-provider-playgama { background: linear-gradient(135deg, #6d28d9, #111827); }
.xbg-provider-madkidgames { background: linear-gradient(135deg, #b45309, #7e22ce); }

.xbg-card-visual > span {
  opacity: .48;
  font: 900 clamp(2.8rem, 7vw, 5rem)/1 "Space Grotesk", sans-serif;
  letter-spacing: .05em;
}

.xbg-card-visual strong {
  position: relative;
  margin-top: 8px;
  font: 800 1.55rem/1.15 "Space Grotesk", sans-serif;
}

.xbg-card-visual em {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  color: #172033;
  font-size: .78rem;
  font-style: normal;
  font-weight: 900;
}

.xbg-card-copy {
  padding: 20px;
}

.xbg-card-copy h2 {
  margin: 0 0 10px;
  font-size: 1.24rem;
}

.xbg-card-copy h2 a {
  color: #172033;
  text-decoration: none;
}

.xbg-card-copy > p:not(.xbg-eyebrow) {
  min-height: 5.8em;
  color: #5f6b80;
  font-size: .9rem;
  line-height: 1.55;
}

.xbg-card-copy > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #edf0f4;
  color: #6b7280;
  font-size: .75rem;
}

.xbg-policy,
.xbg-source,
.xbg-related {
  margin-top: 30px;
  padding: clamp(24px, 4vw, 42px);
}

.xbg-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: #69758a;
  font-size: .85rem;
}

.xbg-detail-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 30px;
  padding: clamp(26px, 5vw, 56px);
}

.xbg-detail-head dl,
.xbg-source dl {
  margin: 0;
}

.xbg-detail-head dl div,
.xbg-source dl div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #edf0f4;
}

.xbg-detail-head dt,
.xbg-source dt {
  color: #6b7280;
  font-size: .78rem;
  font-weight: 800;
}

.xbg-detail-head dd,
.xbg-source dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.xbg-player {
  margin-top: 24px;
  overflow: hidden;
  border-radius: 22px;
  background: #111827;
  color: #fff;
  box-shadow: 0 22px 55px rgba(17, 24, 39, .25);
}

.xbg-player [hidden] {
  display: none !important;
}

.xbg-player-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-height: 56px;
  padding: 10px 16px;
}

.xbg-player-toolbar button,
.xbg-consent button,
.xbg-error button {
  min-height: 42px;
  padding: 0 17px;
  border: 0;
  border-radius: 10px;
  background: #f97316;
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.xbg-consent,
.xbg-error {
  display: grid;
  min-height: min(68vh, 720px);
  padding: clamp(28px, 8vw, 90px);
  place-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(249, 115, 22, .22), transparent 40%),
    #111827;
}

.xbg-consent h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.2rem);
}

.xbg-consent p:not(.xbg-eyebrow) {
  max-width: 700px;
  color: #cbd5e1;
  line-height: 1.65;
}

.xbg-consent button,
.xbg-consent a,
.xbg-error button,
.xbg-error a {
  justify-self: center;
  margin-top: 10px;
}

.xbg-consent a,
.xbg-error a {
  color: #e2e8f0;
}

.xbg-frame {
  position: relative;
  width: 100%;
  aspect-ratio: var(--xbg-ratio);
  min-height: 520px;
  background: #000;
}

.xbg-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.xbg-related > div {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.xbg-related a {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid #d9e0ea;
  border-radius: 12px;
  color: #172033;
  text-decoration: none;
}

.xbg-related span {
  color: #c2410c;
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .xbg-hero {
    grid-template-columns: 1fr;
  }

  .xbg-hero > .xbg-eyebrow,
  .xbg-hero > h1,
  .xbg-hero > p:not(.xbg-eyebrow),
  .xbg-hero > .xbg-stats {
    grid-column: 1;
  }

  .xbg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xbg-detail-head { grid-template-columns: 1fr; }
  .xbg-related > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .xbg-stats { grid-template-columns: 1fr; }
  .xbg-grid { grid-template-columns: 1fr; }
  .xbg-frame { min-height: 68vh; aspect-ratio: auto; }
  .xbg-detail-head dl div,
  .xbg-source dl div { grid-template-columns: 1fr; gap: 3px; }
}
