:root {
  --navy: #0E2A47;
  --navy-dark: #091D32;
  --orange: #F26A21;
  --orange-deep: #DC5518;
  --red: #E01F26;
  --ink: #12161B;
  --muted: #5A6673;
  --hairline: #E6E9EE;
  --surface: #F7F9FC;
  --chip: #EAF2FA;
  --white: #FFFFFF;
  --success: #17A34A;
  --radius: 14px;
  --maxw: 1280px;
  --shadow: 0 4px 16px rgba(14, 42, 71, 0.06);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
main, section, .rb-panel, .rb-section, .rb-sports-rail, .rb-table-wrap { min-width: 0; max-width: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--orange-deep); text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}
.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 9999;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { left: 12px; }

/* Header matching reference image */
.rb-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--white);
  border-bottom: 1px solid var(--hairline);
  box-shadow: 0 2px 10px rgba(14, 42, 71, 0.04);
}
.rb-header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 20px;
  min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.rb-brand {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
}
.rb-brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.rb-brand-name {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 24px; letter-spacing: 0.01em;
}
.rb-brand-name .n1 { color: var(--navy); }
.rb-brand-name .n2 { color: var(--orange); }
.rb-brand-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.rb-top-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.rb-top-nav a {
  padding: 8px 13px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink);
  min-height: 44px; display: inline-flex; align-items: center; text-decoration: none;
}
.rb-top-nav a[aria-current="page"], .rb-top-nav a.is-active {
  background: var(--orange-deep); color: var(--white);
}
.rb-top-nav a:hover:not([aria-current="page"]) { background: var(--chip); color: var(--navy); }
.rb-header-actions { display: flex; align-items: center; gap: 10px; }
.rb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: 12px; font-weight: 700; font-size: 14px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}
.rb-btn:hover { transform: translateY(-1px); text-decoration: none; }
.rb-btn-orange {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: var(--white); box-shadow: 0 4px 12px rgba(220, 85, 24, 0.25);
}
.rb-btn-orange:hover { color: var(--white); }
.rb-btn-outline { background: var(--white); border-color: var(--navy); color: var(--navy); }
.rb-btn-navy { background: var(--navy); color: var(--white); }
.rb-btn-navy:hover { color: var(--white); }

/* App shell: Left sidebar + main canvas (from reference image) */
.rb-shell {
  max-width: var(--maxw); margin: 0 auto; padding: 18px 20px 64px;
  display: grid; grid-template-columns: 215px minmax(0, 1fr); gap: 20px; align-items: start;
}
.rb-sidebar {
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 12px; position: sticky; top: 84px; box-shadow: var(--shadow);
}
.rb-side-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink);
  min-height: 44px; margin-bottom: 4px; text-decoration: none;
}
.rb-side-link.is-active { background: var(--navy); color: var(--white); }
.rb-side-link:hover:not(.is-active) { background: var(--chip); color: var(--navy); text-decoration: none; }
.rb-pill-badge {
  background: var(--orange-deep); color: var(--white); font-size: 11px; font-weight: 700;
  padding: 2px 7px; border-radius: 999px;
}

/* Signup/Login Bar above H1 */
.rb-signup-bar {
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 12px 14px; margin-bottom: 16px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr 1fr auto auto auto; gap: 10px; align-items: end;
}
.rb-field { display: flex; flex-direction: column; gap: 4px; }
.rb-field label { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.rb-field input {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: 10px;
  padding: 10px 12px; font-size: 15px; min-height: 44px; color: var(--ink);
}

/* Hero Banner (reference image dark teal-navy banner + orange CTA + cricketer composite) */
.rb-hero {
  background: linear-gradient(110deg, #092235 0%, #0E344D 55%, #164964 100%);
  border-radius: 18px; overflow: hidden; color: var(--white);
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 20px; align-items: center;
  padding: 28px 30px; box-shadow: 0 10px 28px rgba(14, 42, 71, 0.14);
}
.rb-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); color: #FFD9C2; font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 12px;
}
h1 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.08; margin: 0 0 12px; color: var(--white);
}
h1 .accent { color: #FF8C4B; }
h2 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem); line-height: 1.15; margin: 0 0 14px; color: var(--navy);
}
h3 { font-size: 1.15rem; line-height: 1.3; margin: 20px 0 8px; color: var(--navy); }
.rb-hero-media {
  border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.14);
  background: #0B253A;
}

/* Trust strip directly under hero (5 badges like reference image) */
.rb-trust-strip {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px;
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 14px 16px; margin-top: 14px; box-shadow: var(--shadow);
}
.rb-trust-item strong { display: block; font-size: 13px; color: var(--navy); }
.rb-trust-item span { font-size: 12px; color: var(--muted); }

/* Live Matches + Match Odds + Promo tiles row (from reference image) */
.rb-live-band {
  display: grid; grid-template-columns: 1.25fr 1fr 0.85fr; gap: 16px; margin-top: 18px;
}
.rb-panel {
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow);
}
.rb-panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px;
}
.rb-live-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--red); display: inline-block;
  margin-right: 6px; animation: rbPulse 1.6s infinite;
}
@keyframes rbPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(1.25); } }
.rb-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.rb-chip {
  background: var(--chip); color: var(--navy); border: none; border-radius: 999px;
  padding: 6px 12px; font-size: 12px; font-weight: 700; cursor: pointer; min-height: 34px;
}
.rb-chip.is-active { background: var(--navy); color: var(--white); }
.rb-odds-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; font-variant-numeric: tabular-nums; }
.rb-odd-back {
  background: #DCEEFF; color: var(--navy); font-weight: 700; font-size: 13px;
  padding: 8px 6px; border-radius: 8px; text-align: center; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
}
.rb-odd-lay {
  background: #FDE5E7; color: #8B111B; font-weight: 700; font-size: 13px;
  padding: 8px 6px; border-radius: 8px; text-align: center; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
}
.rb-promo-stack { display: grid; gap: 12px; }
.rb-promo-card {
  background: linear-gradient(125deg, #0D3A46 0%, #165B63 60%, #DC5518 140%);
  color: var(--white); border-radius: var(--radius); padding: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.rb-promo-card strong { display: block; font-size: 16px; }
.rb-promo-card span { font-size: 12px; color: #E2EEF2; }

/* Popular Sports Horizontal Rail (12 items like reference image) */
.rb-sports-rail {
  display: flex; gap: 10px; overflow-x: auto; padding: 12px 2px; margin-top: 10px;
  scrollbar-width: thin;
}
.rb-sport-pill {
  flex: 0 0 auto; min-width: 96px; background: var(--white); border: 1px solid var(--hairline);
  border-radius: 12px; padding: 12px 10px; text-align: center; font-size: 13px; font-weight: 700;
  color: var(--navy); box-shadow: var(--shadow); text-decoration: none;
}
.rb-sport-pill.is-active { background: var(--orange-deep); color: var(--white); border-color: var(--orange-deep); }

/* Games Grid */
.rb-games-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 12px; margin-top: 12px;
}
.rb-game-card {
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform 200ms ease-out;
  display: flex; flex-direction: column;
}
.rb-game-card:hover { transform: translateY(-2px); border-color: var(--orange); }
.rb-game-card-body { padding: 10px; font-size: 13px; font-weight: 700; color: var(--navy); display: flex; justify-content: space-between; align-items: center; }

/* Content Sections */
.rb-section {
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 28px; margin-top: 28px; box-shadow: var(--shadow);
}
.rb-toc ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 16px; }
.rb-toc a { font-size: 14px; font-weight: 600; }
.rb-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rb-table-wrap { overflow-x: auto; border: 1px solid var(--hairline); border-radius: 12px; margin-top: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
th, td { padding: 11px 14px; border-bottom: 1px solid var(--hairline); text-align: left; }
th { background: var(--chip); color: var(--navy); font-weight: 700; }
.rb-faq details { background: var(--surface); border: 1px solid var(--hairline); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
.rb-faq summary { cursor: pointer; font-weight: 700; color: var(--navy); }

/* Footer */
.rb-footer {
  background: var(--navy); color: #D7E2EE; margin-top: 48px; padding: 42px 0 96px;
}
.rb-footer a { color: #FFFFFF; font-size: 14px; }
.rb-footer-grid {
  max-width: var(--maxw); margin: 0 auto; padding: 0 20px;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px;
}

/* Popup */
.rb-popup-backdrop {
  position: fixed; inset: 0; background: rgba(14, 42, 71, 0.72); z-index: 120;
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.rb-popup-backdrop[hidden] { display: none; }
.rb-popup-card {
  background: var(--white); border-top: 4px solid var(--orange-deep); border-radius: var(--radius);
  max-width: 420px; width: 100%; padding: 24px; position: relative; box-shadow: 0 20px 44px rgba(0,0,0,0.28);
}
.rb-popup-close {
  position: absolute; top: 10px; right: 10px; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid var(--hairline); background: var(--surface); color: var(--navy); cursor: pointer;
}

/* Mobile 390px App Canvas */
.rb-mobile-sticky, .rb-bottom-nav { display: none; }
@media (max-width: 1024px) {
  .rb-shell { grid-template-columns: minmax(0, 1fr); }
  .rb-shell > main { min-width: 0; max-width: 100%; }
  .rb-sidebar { display: none; }
  .rb-live-band { grid-template-columns: minmax(0, 1fr); }
  .rb-hero { grid-template-columns: minmax(0, 1fr); }
  .rb-signup-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rb-trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rb-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .rb-shell { padding: 14px 16px 88px; }
  .rb-top-nav { display: none; }
  .rb-signup-bar, .rb-grid-3 { grid-template-columns: minmax(0, 1fr); }
  .rb-header-inner { padding: 0 12px; gap: 8px; }
  .rb-header-actions { gap: 6px; }
  .rb-header-actions .rb-btn { padding: 8px 12px; font-size: 13px; }
  .rb-section { padding: 20px 16px; }
  .rb-mobile-sticky {
    display: flex; position: fixed; left: 16px; right: 16px; bottom: 66px; z-index: 70;
  }
  .rb-mobile-sticky .rb-btn { width: 100%; }
  .rb-bottom-nav {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 75;
    background: var(--white); border-top: 1px solid var(--hairline); height: 58px;
  }
  .rb-bottom-nav a {
    display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700;
    color: var(--navy); min-height: 44px; text-decoration: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Pillar Pages Responsive Layout (Desktop + 390px Mobile) */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; width: 100%; }
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--white); border-bottom: 1px solid var(--hairline);
  box-shadow: 0 2px 10px rgba(14, 42, 71, 0.04);
}
.header-inner {
  min-height: 68px; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px;
}
.brand-lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-wordmark { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 24px; color: var(--navy); }
.brand-wordmark span { color: var(--orange); }
.main-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.main-nav a {
  padding: 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink);
  min-height: 40px; display: inline-flex; align-items: center; text-decoration: none;
}
.main-nav a[aria-current="page"] { background: var(--orange-deep); color: var(--white); }
.main-nav a:hover:not([aria-current="page"]) { background: var(--chip); color: var(--navy); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 16px; border-radius: 12px; font-weight: 700; font-size: 14px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: var(--white); box-shadow: 0 4px 12px rgba(220, 85, 24, 0.25);
}
.btn-primary:hover { color: var(--white); text-decoration: none; }
.btn-outline { background: var(--white); border-color: var(--navy); color: var(--navy); }
.breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted); padding-top: 16px; padding-bottom: 8px;
}
.pillar-main { padding-top: 12px; padding-bottom: 56px; }
.pillar-article {
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow); max-width: 920px; margin: 0 auto;
}
.pillar-header { border-bottom: 1px solid var(--hairline); padding-bottom: 18px; margin-bottom: 24px; }
.pillar-header h1 { color: var(--navy); margin-bottom: 10px; }
.eyebrow {
  display: inline-block; background: var(--chip); color: var(--navy);
  font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 10px;
}
.pillar-meta { font-size: 14px; color: var(--muted); margin: 0; }
.pillar-article section { margin-top: 28px; }
.pillar-article table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.site-footer { background: var(--navy); color: #D7E2EE; margin-top: 48px; padding: 40px 0 28px; }
.site-footer a { color: #FFFFFF; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.footer-col h3 { color: #FFFFFF; margin-top: 0; font-size: 15px; }
.footer-col ul { list-style: none; padding: 0; margin: 8px 0; line-height: 2; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); margin-top: 24px; padding-top: 16px; font-size: 12px; color: #C4D4E4; }
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .main-nav { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .main-nav a { flex: 0 0 auto; font-size: 13px; padding: 6px 10px; }
  .pillar-article { padding: 20px 16px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}



/* === PILLAR HEADER POLISH === */
.header-inner { flex-wrap: nowrap; gap: 10px; }
.brand-lockup { flex-shrink: 0; }
.main-nav { flex-wrap: nowrap; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a { font-size: 13px; padding: 7px 10px; white-space: nowrap; flex-shrink: 0; min-height: 36px; }
.header-actions { flex-shrink: 0; }
.header-actions .btn { min-height: 38px; padding: 8px 14px; font-size: 13px; white-space: nowrap; }
@media (max-width: 960px) {
  .header-inner { flex-wrap: wrap; row-gap: 6px; }
  .brand-lockup { order: 1; }
  .header-actions { order: 2; }
  .main-nav { order: 3; width: 100%; border-top: 1px solid var(--hairline); padding: 6px 0 2px; gap: 6px; }
  .main-nav a { background: var(--surface); font-size: 12px; padding: 6px 10px; min-height: 32px; }
}


/* === UNIVERSAL HEADER & FOOTER SYNC (2026-12-03) === */
.rb-header-inner {
  max-width: 1360px; margin: 0 auto; padding: 8px 16px;
  min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  flex-wrap: nowrap;
}
.rb-brand { flex-shrink: 0; gap: 8px; }
.rb-brand img { width: 34px; height: 34px; }
.rb-brand-name { font-size: 20px; white-space: nowrap; }
.rb-brand-tag { font-size: 8.5px; white-space: nowrap; }
.rb-top-nav {
  display: flex; align-items: center; justify-content: center; gap: 2px;
  flex-wrap: nowrap; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none;
}
.rb-top-nav::-webkit-scrollbar { display: none; }
.rb-top-nav a {
  padding: 6px 8px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  color: var(--ink); min-height: 34px; display: inline-flex; align-items: center;
  white-space: nowrap; flex-shrink: 0; text-decoration: none;
}
.rb-header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.rb-header-actions .rb-btn {
  min-height: 36px; padding: 7px 12px; font-size: 12.5px; white-space: nowrap; border-radius: 10px;
}
@media (max-width: 1320px) {
  .rb-brand-tag { display: none; }
  .rb-top-nav a { padding: 6px 7px; font-size: 12px; }
}
@media (max-width: 960px) {
  .rb-header-inner { flex-wrap: wrap; padding: 8px 14px; row-gap: 6px; }
  .rb-brand { order: 1; }
  .rb-header-actions { order: 2; }
  .rb-top-nav {
    order: 3; display: flex !important; width: 100%; justify-content: flex-start;
    gap: 6px; padding: 4px 0 2px; border-top: 1px solid var(--hairline);
    overflow-x: auto; -webkit-overflow-scrolling: touch;
  }
  .rb-top-nav a {
    font-size: 12px; padding: 6px 10px; min-height: 32px; background: var(--surface);
  }
  .rb-top-nav a[aria-current="page"] { background: var(--orange-deep); color: var(--white); }
}
/* Sticky Floating WhatsApp CTA across Complete Website */
.rb-wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 95;
  display: inline-flex; align-items: center; gap: 8px;
  background: #17A34A; color: #FFFFFF !important;
  padding: 12px 18px; border-radius: 999px; font-weight: 700; font-size: 14px;
  box-shadow: 0 8px 24px rgba(23, 163, 74, 0.36); text-decoration: none !important;
  border: 2px solid #FFFFFF; transition: transform 180ms ease-out, box-shadow 180ms ease-out;
}
.rb-wa-float:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(23, 163, 74, 0.45); background: #148F40; color: #FFFFFF !important; }
@media (max-width: 768px) {
  .rb-wa-float { right: 12px; bottom: 64px; padding: 10px 14px; font-size: 13px; }
}
