/* ==========================================================================
   Readybet.co — Showdown page
   Desktop frame: 1440 × 3546 · Mobile frame: 390 × 4743
   ========================================================================== */

/* Shared section head ------------------------------------------------------ */
.sd-head { display: flex; flex-direction: column; gap: 8px; }
.sd-head__title { font-family: var(--f-head); font-weight: 700; font-size: 32px; line-height: 43px; color: var(--ink); }
.sd-head__sub { font-family: var(--f-body); font-size: 15px; line-height: 20px; color: var(--muted); }

/* ==========================================================================
   Intro hero + architecture diagram
   ========================================================================== */
.sd-hero { background: var(--bg); padding: 64px var(--gutter) 48px; display: flex; align-items: flex-start; gap: 32px; }
.sd-hero__left { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.sd-eyebrow { font-family: var(--f-body); font-weight: 700; font-size: 13px; line-height: 17px; letter-spacing: 1.5px; color: var(--orange); }
.sd-title { font-family: var(--f-head); font-weight: 700; font-size: 64px; line-height: 61px; letter-spacing: -2px; color: var(--ink); }
.sd-lead { font-family: var(--f-body); font-weight: 500; font-size: 18px; line-height: 1.5; color: var(--ink); }
.sd-sub { font-family: var(--f-body); font-size: 15px; line-height: 1.6; color: var(--muted); }
.sd-notice { display: flex; align-items: center; gap: 8px; }
.sd-notice__badge { display: inline-flex; background: var(--yellow); color: var(--ink); border-radius: 4px; padding: 4px 8px; font-family: var(--f-body); font-weight: 700; font-size: 11px; line-height: 14px; white-space: nowrap; }
.sd-notice__text { font-family: var(--f-body); font-weight: 600; font-size: 13px; line-height: 17px; color: var(--ink); }

.sd-diagram {
  flex: 0 0 528px; background: var(--white); border-radius: 24px;
  box-shadow: inset 0 0 0 1px var(--line), 0 12px 32px 0 rgba(0, 0, 0, .04); padding: 32px; display: flex; flex-direction: column; gap: 24px;
}
.sd-diagram__head { font-family: var(--f-head); font-weight: 700; font-size: 14px; line-height: 19px; letter-spacing: 1px; color: var(--muted); text-align: center; }
.sd-wallet { border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.sd-wallet--std { background: #eaf4fc; box-shadow: inset 0 0 0 1px var(--sky); }
.sd-wallet--sd { background: #fff5ec; box-shadow: inset 0 0 0 1px var(--orange); }
.sd-wallet__row { display: flex; justify-content: space-between; align-items: center; }
.sd-wallet__title { font-family: var(--f-head); font-weight: 700; font-size: 16px; line-height: 22px; color: var(--ink); white-space: nowrap; }
.sd-wallet--sd .sd-wallet__title { color: var(--orange); }
.sd-wallet__badge { display: inline-flex; border-radius: 4px; padding: 4px 8px; font-family: var(--f-body); font-weight: 700; font-size: 11px; line-height: 14px; white-space: nowrap; }
.sd-wallet--std .sd-wallet__badge { background: var(--sky); color: var(--ink); }
.sd-wallet--sd .sd-wallet__badge { background: var(--orange); color: var(--white); }
.sd-wallet__list { display: flex; flex-direction: column; gap: 6px; }
.sd-wallet__list li { font-family: var(--f-body); font-size: 13px; line-height: 17px; color: var(--muted); }
.sd-wallet--sd .sd-wallet__list li { color: var(--orange); }
.sd-bridge { display: flex; justify-content: center; align-items: center; gap: 12px; }
.sd-bridge__line { width: 100px; height: 1px; background: var(--line); }
.sd-bridge__pill { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 3px 9px; font-family: var(--f-body); font-weight: 700; font-size: 11px; line-height: 14px; color: var(--muted); white-space: nowrap; }

/* ==========================================================================
   Action panel
   ========================================================================== */
.sd-action { padding: 0 var(--gutter) 64px; }
.sd-action__inner {
  background: #fef7d5; box-shadow: inset 0 0 0 1px var(--yellow); border-radius: 20px; padding: 32px;
  display: flex; justify-content: space-between; align-items: center; gap: 32px;
}
.sd-action__left { flex: 0 1 752px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.sd-action__head { display: flex; align-items: center; gap: 12px; }
.sd-action__title { font-family: var(--f-head); font-weight: 700; font-size: 24px; line-height: 32px; color: var(--ink); white-space: nowrap; }
.sd-action__badge { display: inline-flex; background: var(--ink); color: var(--white); border-radius: 4px; padding: 4px 8px; font-family: var(--f-body); font-weight: 700; font-size: 11px; line-height: 14px; white-space: nowrap; }
.sd-action__text { font-family: var(--f-body); font-size: 15px; line-height: 20px; color: var(--muted); }
.sd-action__right { flex: 0 0 416px; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.sd-action__btn {
  display: flex; justify-content: center; align-items: center; width: 100%; padding: 12px 24px;
  background: var(--orange); color: var(--white); border-radius: 999px;
  font-family: var(--f-body); font-weight: 700; font-size: 13px; line-height: 17px; letter-spacing: .5px; white-space: nowrap;
  transition: filter .15s ease;
}
.sd-action__btn:hover { filter: brightness(.96); }
.sd-action__rg { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.sd-action__rg1 { font-family: var(--f-body); font-weight: 700; font-size: 12px; line-height: 16px; color: var(--orange); white-space: nowrap; }
.sd-action__rg2 { font-family: var(--f-body); font-size: 11px; line-height: 14px; color: var(--muted); white-space: nowrap; }

/* ==========================================================================
   Account separation
   ========================================================================== */
.sd-sep { background: var(--white); box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); padding: 64px var(--gutter); display: flex; flex-direction: column; gap: 40px; }
.sd-sep__grid { display: flex; align-items: center; gap: 32px; }
.sd-panel { flex: 1 1 0; min-width: 0; border-radius: 16px; padding: 40px; display: flex; flex-direction: column; gap: 32px; }
.sd-panel--std { background: #eaf4fc; box-shadow: inset 0 0 0 1px var(--sky); }
.sd-panel--sd { background: #fff5ec; box-shadow: inset 0 0 0 1px var(--orange); }
.sd-panel__head { display: flex; flex-direction: column; gap: 12px; }
.sd-panel__eyebrow { font-family: var(--f-body); font-weight: 700; font-size: 12px; line-height: 16px; letter-spacing: 1px; color: var(--muted); }
.sd-panel--sd .sd-panel__eyebrow { color: var(--orange); }
.sd-panel__title { font-family: var(--f-head); font-weight: 700; font-size: 28px; line-height: 38px; color: var(--ink); }
.sd-panel--sd .sd-panel__title { color: var(--orange); }
.sd-panel__line { display: block; height: 1px; margin-bottom: -1px; background: var(--sky); }
.sd-panel--sd .sd-panel__line { background: rgba(242, 92, 5, .3); }
.sd-panel__list { display: flex; flex-direction: column; gap: 16px; }
.sd-panel__list li { display: flex; align-items: center; gap: 12px; font-family: var(--f-body); font-size: 14px; line-height: 18px; color: var(--muted); }
.sd-dot { flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.sd-panel--sd .sd-dot { background: var(--orange); }
.sd-divider { flex: 0 0 120px; background: var(--sand); box-shadow: inset 0 0 0 1px var(--line); border-radius: 8px; padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.sd-divider__label { font-family: var(--f-head); font-weight: 700; font-size: 12px; line-height: 16px; letter-spacing: 1px; color: var(--ink); }
.sd-divider__sub { font-family: var(--f-body); font-size: 10px; line-height: 13px; color: var(--muted); }

/* ==========================================================================
   Responsible gambling notice bar
   ========================================================================== */
.sd-notice-bar { background: #eaf4fc; box-shadow: inset 0 -1px 0 var(--sky); padding: 24px var(--gutter); }
.sd-notice-bar__card { display: flex; align-items: center; gap: 24px; }
.sd-notice-bar__badge { display: inline-flex; flex: 0 0 auto; background: var(--ink); color: var(--white); border-radius: 4px; padding: 4px 8px; font-family: var(--f-body); font-weight: 900; font-size: 11px; line-height: 14px; white-space: nowrap; }
.sd-notice-bar__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.sd-notice-bar__title { font-family: var(--f-head); font-weight: 700; font-size: 18px; line-height: 24px; color: var(--ink); }
.sd-notice-bar__text { font-family: var(--f-body); font-size: 14px; line-height: 18px; color: var(--muted); }

/* ==========================================================================
   How Showdown works
   ========================================================================== */
.sd-how { background: var(--bg); padding: 80px var(--gutter); display: flex; flex-direction: column; gap: 48px; }
.sd-steps { display: flex; flex-direction: column; gap: 24px; }
.sd-step { border-radius: 12px; padding: 32px; }
.sd-step--1 { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.sd-step__main { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 24px; }
.sd-num { font-family: var(--f-head); font-weight: 700; font-size: 48px; line-height: 65px; color: var(--orange); white-space: nowrap; }
.sd-step__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.sd-step__title { font-family: var(--f-head); font-weight: 700; font-size: 18px; line-height: 24px; color: var(--ink); }
.sd-step__text { font-family: var(--f-body); font-size: 14px; line-height: 18px; color: var(--muted); }
.sd-pill {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 11px 23px;
  font-family: var(--f-body); font-weight: 700; font-size: 13px; line-height: 17px; letter-spacing: .5px; color: var(--ink); white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease;
}
.sd-pill:hover { background: var(--bg); }
.sd-pill--ink { background: transparent; border-color: var(--ink); }
.sd-pill--ink:hover { background: rgba(28, 20, 14, .05); }
.sd-pill__arrow { white-space: pre; }
.sd-pill__chev { display: none; width: 10px; height: 10px; }
.sd-steps__row { display: grid; grid-template-columns: 641fr 639fr; gap: 32px; }
.sd-step--2, .sd-step--3 { display: flex; flex-direction: column; gap: 48px; }
.sd-step--2 { background: #eaf4fc; box-shadow: inset 0 0 0 1px var(--sky); }
.sd-step--2 .sd-num { color: var(--ink); }
.sd-step__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.sd-step--3 { background: var(--ink); }
.sd-step--3 .sd-num { color: var(--yellow); }
.sd-step--3 .sd-step__title { color: var(--white); }
.sd-step--3 .sd-step__text { color: var(--sand); }

/* ==========================================================================
   Responsible gambling hub (page overrides on the shared .rg-hub)
   ========================================================================== */
.page-showdown .rg-hub__title { line-height: 43px; }
.page-showdown .rg-hub__sub { line-height: 20px; }
.page-showdown .rg-hub__grid { gap: 24px; }
.page-showdown .rg-card { border: 0; box-shadow: inset 0 0 0 1px var(--line); }
.page-showdown .rg-card__text { line-height: 20px; }
.page-showdown .rg-card__link { line-height: 17px; }
.page-showdown .rg-hub__mark { font-family: var(--f-head); font-weight: 700; font-size: 40px; line-height: 54px; color: var(--ink); opacity: .15; white-space: nowrap; }

/* ==========================================================================
   Mobile (390 reference)
   ========================================================================== */
@media (max-width: 767px) {
  .sd-head { gap: 4px; }
  .sd-head__title { font-size: 28px; line-height: 38px; }
  .sd-head__sub { line-height: 20px; }

  /* Hero */
  .sd-hero { flex-direction: column; align-items: stretch; padding: 16px; gap: 16px; }
  .sd-hero__left { gap: 16px; }
  .sd-eyebrow { font-family: var(--f-head); font-size: 13px; line-height: 18px; letter-spacing: 1px; }
  .sd-title { font-size: 42px; line-height: 44px; letter-spacing: 0; }
  .sd-lead { font-weight: 600; font-size: 17px; line-height: 22px; }
  .sd-sub { font-size: 14px; line-height: 18px; }
  .sd-notice { flex-direction: column; align-items: flex-start; gap: 4px; background: var(--sand); box-shadow: inset 0 0 0 1px var(--yellow); padding: 12px; }
  .sd-notice__badge { background: var(--ink); color: var(--yellow); font-family: var(--f-head); font-size: 9px; line-height: 12px; letter-spacing: .5px; }
  .sd-notice__text { font-weight: 700; }

  .sd-diagram { flex: 0 0 auto; margin-top: 16px; background: var(--bg); border-radius: 12px; box-shadow: inset 0 0 0 1px #e5d9d0; padding: 16px; gap: 16px; }
  .sd-diagram__head { color: var(--ink); text-align: left; }
  .sd-wallet { border-radius: 8px; padding: 14px; gap: 10px; }
  .sd-wallet--std { background: #e8f4fd; box-shadow: none; }
  .sd-wallet--sd { background: #fff0e0; }
  .sd-wallet--sd .sd-wallet__title { color: var(--ink); }
  .sd-wallet__badge { font-family: var(--f-head); font-size: 9px; line-height: 12px; letter-spacing: .5px; }
  .sd-wallet--std .sd-wallet__badge { background: #d1e7dd; color: #0f5132; }
  .sd-wallet__list { gap: 4px; }
  .sd-wallet__list li, .sd-wallet--sd .sd-wallet__list li { color: var(--ink); }
  .sd-bridge { gap: 8px; }
  .sd-bridge__line { flex: 1 1 0; width: auto; background: #e5d9d0; }
  .sd-bridge__pill { background: none; border: 0; padding: 0; font-family: var(--f-head); font-size: 11px; line-height: 15px; letter-spacing: .5px; color: var(--ink); }

  /* Action panel */
  .sd-action { padding: 16px; }
  .sd-action__inner { border-radius: 12px; padding: 20px; flex-direction: column; align-items: center; gap: 16px; }
  .sd-action__left { flex: 0 0 auto; width: 100%; gap: 16px; }
  .sd-action__head { justify-content: center; gap: 8px; }
  .sd-action__badge { font-family: var(--f-head); font-size: 9px; line-height: 12px; letter-spacing: .5px; }
  .sd-action__text { color: var(--ink); text-align: center; }
  .sd-action__right { flex: 0 0 auto; width: 100%; align-items: center; gap: 16px; }
  .sd-action__btn { height: 52px; padding: 0; border-radius: 100px; font-weight: 800; font-size: 14px; line-height: 18px; }
  .sd-action__rg { align-items: center; width: 100%; }
  .sd-action__rg1 { color: var(--ink); text-align: center; }
  .sd-action__rg2 { text-align: center; }

  /* Account separation */
  .sd-sep { background: var(--bg); box-shadow: none; padding: 16px; gap: 16px; }
  .sd-sep__grid { flex-direction: column; align-items: stretch; gap: 16px; }
  .sd-panel { flex: 0 0 auto; border-radius: 12px; padding: 16px; gap: 12px; }
  .sd-panel--std { background: #e8f4fd; box-shadow: inset 0 0 0 1px #c2d6e8; }
  .sd-panel--sd { background: #fff0e0; }
  .sd-panel__eyebrow { letter-spacing: .5px; }
  .sd-panel__title, .sd-panel--sd .sd-panel__title { font-size: 22px; line-height: 30px; color: var(--ink); }
  .sd-panel__line { display: none; }
  .sd-panel__list { gap: 6px; }
  .sd-panel__list li { display: block; color: var(--ink); }
  .sd-panel__list li::before { content: "\2022 "; }
  .sd-dot { display: none; }
  .sd-divider { flex: 0 0 auto; background: none; box-shadow: none; border-radius: 0; padding: 8px 0; gap: 4px; }
  .sd-divider__label { background: var(--ink); color: var(--white); border-radius: 4px; padding: 4px 8px; font-size: 10px; line-height: 13px; letter-spacing: .5px; }
  .sd-divider__sub { font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }

  /* Notice bar */
  .sd-notice-bar { background: var(--bg); box-shadow: none; padding: 16px; }
  .sd-notice-bar__card { flex-direction: column; align-items: flex-start; gap: 12px; background: #eaf4fc; border-radius: 12px; padding: 20px; }
  .sd-notice-bar__badge { color: var(--sky); font-family: var(--f-head); font-weight: 700; font-size: 10px; line-height: 13px; letter-spacing: .5px; }
  .sd-notice-bar__body { gap: 12px; width: 100%; }
  .sd-notice-bar__text { color: var(--ink); }

  /* How it works */
  .sd-how { padding: 16px; gap: 16px; }
  .sd-steps { gap: 16px; }
  .sd-step { padding: 16px; }
  .sd-step--1 { flex-direction: column; align-items: stretch; gap: 12px; box-shadow: inset 0 0 0 1px #e5d9d0; }
  .sd-step__main { flex-direction: column; align-items: stretch; gap: 12px; }
  .sd-num { font-size: 36px; line-height: 48px; }
  .sd-step__body { gap: 12px; }
  .sd-pill, .sd-pill--ink { background: none; border: 0; border-radius: 0; padding: 0; gap: 4px; font-weight: 600; letter-spacing: 0; color: var(--orange); align-self: flex-start; }
  .sd-pill:hover, .sd-pill--ink:hover { background: none; }
  .sd-pill__arrow { display: none; }
  .sd-pill__chev { display: block; }
  .sd-pill__text { text-decoration: underline; }
  .sd-steps__row { display: flex; flex-direction: column; gap: 16px; }
  .sd-step--2, .sd-step--3 { gap: 12px; }
  .sd-step--2 { background: #e8f4fd; box-shadow: inset 0 0 0 1px #c2d6e8; }
  .sd-step__inner { gap: 12px; align-items: stretch; }
  .sd-step--3 .sd-step__title { color: var(--paper); }
  .sd-step--3 .sd-step__text { color: var(--paper); opacity: .9; }

  /* RG hub overrides */
  .page-showdown .rg-hub { padding: 16px; gap: 16px; }
  .page-showdown .rg-hub__head { gap: 4px; }
  .page-showdown .rg-hub__title { font-size: 22px; line-height: 30px; }
  .page-showdown .rg-hub__sub { font-size: 14px; line-height: 20px; color: var(--ink); }
  .page-showdown .rg-hub__grid { gap: 10px; }
  .page-showdown .rg-card { background: var(--bg); box-shadow: inset 0 0 0 1px #e5e1d8; border-radius: 12px; padding: 12px; gap: 8px; }
  .page-showdown .rg-card__title { font-size: 14px; line-height: 19px; }
  .page-showdown .rg-card__text { font-size: 12px; line-height: 16px; }
  .page-showdown .rg-card__link { font-family: var(--f-body); font-size: 12px; line-height: 16px; text-transform: none; display: inline; }
  .page-showdown .rg-hub__mark { padding: 12px 0 4px; text-align: center; font-size: 20px; line-height: 27px; letter-spacing: 1.5px; }
}
