/* ============================================================
   canada22bet.com — 22Bet Canada satellite
   Palette based on 22bet.com style guide + Canadian red/white
   ============================================================ */

:root {
  --c-dark-teal: #054248;
  --c-panel-teal: #054146;
  --c-page-teal: #0a636b;
  --c-teal: #2da6b1;
  --c-teal-bright: #0c909d;
  --c-green: #2eb256;
  --c-green-dark: #2ca331;
  --c-red: #f04c44;
  --c-red-canada: #d52b1e;
  --c-text: #323946;
  --c-text-soft: #333a48;
  --c-gray: #9299a2;
  --c-gray-link: #9198a1;
  --c-bg-soft: #f6f8f9;
  --c-line: #ededed;
  --c-line-blue: #d3dee2;
  --c-login: #185b62;
  --radius: 6px;
  --container: 1200px;
  --font-main: "Open Sans", Arial, sans-serif;
  --font-head: "Roboto Condensed", "Open Sans", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-page-teal);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--c-teal-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============ HEADER ============ */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--c-dark-teal);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 72px;
  gap: 18px;
}

.main-nav { margin: 0 auto; }

.logo-link { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-link img { height: 44px; width: auto; }
.logo-maple { width: 20px; height: 20px; flex-shrink: 0; }

.main-nav { display: flex; align-items: center; gap: 4px; }

.main-nav a {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 10px 18px;
  border-radius: 38px;
  transition: background .2s;
}
.main-nav a:hover { background: rgba(255, 255, 255, .1); text-decoration: none; }
.main-nav a.active { background: var(--c-teal-bright); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.header-cta {
  background: var(--c-green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  padding: 11px 26px;
  border-radius: 38px;
  flex-shrink: 0;
  transition: background .2s;
}
.header-cta:hover { background: var(--c-green-dark); text-decoration: none; }
.header-login { background: var(--c-login); }
.header-login:hover { background: #0c4a50; }

.header-flag {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  flex-shrink: 0;
}
.header-flag svg {
  width: 30px;
  height: 20px;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25);
}

.burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  display: block;
  width: 26px; height: 3px;
  background: #fff;
  border-radius: 2px;
  margin: 5px 0;
  transition: transform .25s, opacity .25s;
}
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav {
  display: none;
  background: var(--c-panel-teal);
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: background .2s;
}
.mobile-nav a:hover { background: rgba(255, 255, 255, .07); text-decoration: none; }

.mobile-nav-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 18px 24px 22px;
}
.mobile-nav-actions a {
  flex: 1 1 0;
  max-width: 190px;
  padding: 13px 18px;
  border: 0;
  border-radius: 38px;
  background: var(--c-green);
  transition: background .2s;
}
.mobile-nav-actions a:hover { background: var(--c-green-dark); }
.mobile-nav-actions a.mobile-login { background: var(--c-login); }
.mobile-nav-actions a.mobile-login:hover { background: #0c4a50; }

/* ============ HERO ============ */

.hero {
  margin-top: 72px;
  background-color: var(--c-dark-teal);
  background-image: linear-gradient(130deg, var(--c-dark-teal) 0%, var(--c-page-teal) 55%, #0c7a85 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(3, 44, 50, .93) 0%, rgba(4, 55, 61, .72) 42%, rgba(5, 66, 72, .12) 75%);
  pointer-events: none;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 64px 0;
  min-height: 380px;
  position: relative;
  z-index: 1;
}

.hero-text { flex: 1 1 auto; max-width: 680px; }

.hero h1 {
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.12;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.hero h1 .accent { color: #ff7a72; }

.hero-sub {
  color: rgba(255, 255, 255, .92);
  font-size: 17px;
  margin-bottom: 26px;
  max-width: 560px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  border-radius: 38px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 700;
}
.rating-badge .star { color: #ffc93c; }
.hero-rating { margin-bottom: 16px; }

/* ============ BUTTONS ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #fff;
  border: 0;
  border-radius: 38px;
  padding: 14px 32px;
  cursor: pointer;
  transition: background .2s, transform .15s;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-green { background: var(--c-green); }
.btn-green:hover { background: var(--c-green-dark); }
.btn-red { background: var(--c-red); }
.btn-red:hover { background: #d93a32; }
.btn-teal { background: var(--c-teal); }
.btn-teal:hover { background: var(--c-teal-bright); }
.btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, .55);
}
.btn-outline:hover { background: rgba(255, 255, 255, .12); }
.btn svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ============ MAIN LAYOUT ============ */

.page-body { padding: 30px 0 50px; }

.content-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 40px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
}

.content-card > *:last-child { margin-bottom: 0; }

.content-card h2 {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--c-text);
  margin: 0 0 6px;
  padding-bottom: 10px;
  position: relative;
}
.content-card h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 3px;
  background: var(--c-teal-bright);
  border-radius: 2px;
}
.content-card h2 { margin-bottom: 18px; }

.content-card h3 {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--c-text-soft);
  margin: 26px 0 12px;
}

.content-card p { margin-bottom: 14px; }
.content-card ul, .content-card ol { margin: 0 0 16px 22px; }
.content-card li { margin-bottom: 8px; }

/* Bulleted lists use branded check marks instead of plain discs. */
.content-card ul {
  list-style: none;
  margin-left: 0;
}
.content-card ul li {
  position: relative;
  padding-left: 30px;
}
.content-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .28em;
  width: 18px;
  height: 18px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%230c909d'/%3E%3Cpath d='M7 12.4l3.3 3.3L17.2 8.8' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.pros-box ul li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%232eb256'/%3E%3Cpath d='M7 12.4l3.3 3.3L17.2 8.8' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.cons-box ul li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23f04c44'/%3E%3Cpath d='M7.6 12h8.8' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

.note {
  font-size: 13.5px;
  color: var(--c-gray);
  font-style: italic;
}

/* ============ BREADCRUMBS ============ */

.breadcrumbs {
  margin-bottom: 14px;
  font-size: 13px;
}
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li { color: rgba(255, 255, 255, .75); }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: rgba(255, 255, 255, .5); }
.breadcrumbs a { color: #fff; }

/* ============ TABLES ============ */

.table-wrap { margin: 18px 0; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  table-layout: auto;
}

thead th {
  background: var(--c-dark-teal);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .03em;
  padding: 11px 12px;
  text-align: left;
  white-space: nowrap;
}
thead th:first-child { border-radius: var(--radius) 0 0 0; }
thead th:last-child { border-radius: 0 var(--radius) 0 0; }

tbody td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--c-line);
  vertical-align: top;
}
tbody tr:nth-child(even) { background: var(--c-bg-soft); }
tbody td, tbody th { transition: background-color .15s ease; }
tbody tr:hover td { background: #e2f1f3; }
tbody tr:hover th { background: #c4d9df; }
tbody th {
  padding: 11px 12px;
  border-bottom: 1px solid var(--c-line);
  text-align: left;
  background: var(--c-line-blue);
  color: var(--c-text-soft);
  font-weight: 600;
  vertical-align: top;
}

table.table-dense { font-size: 12.5px; }
table.table-dense thead th { font-size: 11px; padding: 10px 9px; }
table.table-dense tbody td { padding: 10px 9px; }

/* ============ PROS / CONS ============ */

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 18px 0; }
.pros-box, .cons-box {
  border-radius: var(--radius);
  padding: 20px 22px;
}
.pros-box { background: #edf9f1; border-left: 4px solid var(--c-green); }
.cons-box { background: #fdf0ef; border-left: 4px solid var(--c-red); }
.pros-box h3, .cons-box h3 { margin-top: 0; font-size: 18px; }
.pros-box ul, .cons-box ul { margin: 0; }

/* ============ STEPS ============ */

.steps { counter-reset: step; list-style: none; margin: 16px 0 !important; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 14px 52px;
  margin: 0;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: -2px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--c-teal);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============ BONUS BANNER ============ */

.bonus-banner {
  display: flex;
  align-items: center;
  gap: 30px;
  background: linear-gradient(120deg, var(--c-dark-teal) 0%, #0b7581 70%, #0c8a97 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--radius);
  padding: 34px 36px;
  margin-bottom: 24px;
  min-height: 180px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}
.bonus-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(3, 44, 50, .93) 0%, rgba(4, 55, 61, .72) 42%, rgba(5, 66, 72, .12) 75%);
  pointer-events: none;
}
.bonus-banner.alt::before {
  background: linear-gradient(100deg, rgba(96, 14, 11, .93) 0%, rgba(150, 24, 18, .72) 42%, rgba(213, 43, 30, .12) 75%);
}

.bonus-banner-text { flex: 1; max-width: 400px; position: relative; z-index: 1; }
.bonus-banner-text .bonus-banner-action { margin-top: 18px; }
.bonus-banner-text .kicker {
  color: #ffc93c;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 4px;
}
.bonus-banner-text .headline {
  font-family: var(--font-head);
  font-size: 27px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 6px;
}
.bonus-banner-text .sub { color: rgba(255, 255, 255, .85); font-size: 14px; margin-bottom: 0; }

.bonus-banner-action { flex-shrink: 0; position: relative; z-index: 1; }

/* ============ APP BANNER ============ */

.app-banner {
  display: flex;
  align-items: center;
  gap: 30px;
  background: linear-gradient(115deg, #04333a 0%, var(--c-dark-teal) 60%, #0a5560 100%);
  border-radius: var(--radius);
  padding: 28px 36px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}
.app-banner-media { flex: 0 0 190px; position: relative; z-index: 1; }
.app-banner-media img { border-radius: 8px; }
.app-banner-text { flex: 1; position: relative; z-index: 1; }
.app-banner-text .headline {
  font-family: var(--font-head);
  font-size: 25px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 6px;
}
.app-banner-text .sub { color: rgba(255, 255, 255, .85); font-size: 14px; }
.app-banner-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #10171d;
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  border-radius: 12px;
  padding: 10px 22px 10px 16px;
  transition: background .2s;
  min-width: 210px;
}
.store-btn:hover { background: #1d2831; text-decoration: none; }
.store-btn svg { width: 30px; height: 30px; flex-shrink: 0; }
.store-btn .store-lines { line-height: 1.2; }
.store-btn .store-small { font-size: 11px; opacity: .8; display: block; }
.store-btn .store-big { font-size: 17px; font-weight: 700; display: block; }

/* ============ REVIEWS ============ */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 18px;
  margin-top: 18px;
}
.review-card {
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
}
.review-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 8px; gap: 8px 10px; }
.review-author { font-weight: 700; color: var(--c-text-soft); }
.review-score {
  background: var(--c-green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 38px;
  padding: 3px 12px;
  flex-shrink: 0;
}
.review-stars { color: #ffc93c; font-size: 14px; letter-spacing: 2px; margin-bottom: 8px; }
.review-text { font-style: italic; color: var(--c-text); font-size: 14px; margin: 0; }

/* ============ RATING TABLE / SCORE ============ */

.overall-score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--c-dark-teal);
  color: #fff;
  border-radius: var(--radius);
  padding: 18px 26px;
  margin-top: 18px;
}
.overall-score .num {
  font-family: var(--font-head);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.1;
  color: #ffc93c;
}
.overall-score .label { font-size: 15px; font-weight: 700; text-transform: uppercase; }

/* ============ FAQ ============ */

.faq-list { margin-top: 6px; }
.faq-item { border-bottom: 1px solid var(--c-line); }
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-text-soft);
  padding: 15px 34px 15px 0;
  position: relative;
  list-style: none;
  font-size: 15.5px;
  transition: color .18s ease, padding-left .18s ease;
}
.faq-item summary:hover { color: var(--c-teal-bright); padding-left: 6px; }
.faq-item summary:hover::after { transform: translateY(-50%) scale(1.12); background: var(--c-teal-bright); }
.faq-item[open] summary:hover::after { background: #d93a32; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--c-teal);
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s;
}
.faq-item[open] summary::after { content: "−"; background: var(--c-red); }
.faq-item .faq-answer { padding: 0 0 16px; }
.faq-item .faq-answer p { margin-bottom: 8px; }

/* ============ EXPERT BOX ============ */

.expert-box {
  background: var(--c-bg-soft);
  border-left: 4px solid var(--c-teal-bright);
  border-radius: var(--radius);
  padding: 22px 26px;
  font-style: italic;
}
.expert-box .expert-name { font-weight: 700; font-style: normal; color: var(--c-text-soft); }

/* ============ FOOTER ============ */

.site-footer {
  background: var(--c-dark-teal);
  color: rgba(255, 255, 255, .8);
  padding: 44px 0 0;
  margin-top: 20px;
}
.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 30px;
}
.footer-about img { height: 40px; width: auto; margin-bottom: 14px; }
.footer-about p { font-size: 13px; line-height: 1.6; }

.footer-col h4 {
  display: inline-block;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
  padding-bottom: 8px;
  position: relative;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 3px;
  background: var(--c-teal);
  border-radius: 2px;
}
.footer-col ul { list-style: none; margin-top: 12px; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: rgba(255, 255, 255, .7); font-size: 14px; }
.footer-col a:hover { color: #fff; }

.footer-warn {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px 0;
  display: flex;
  align-items: center;
  gap: 18px;
}
.badge-19 {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border: 2px solid var(--c-red);
  color: var(--c-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}
.footer-warn p { font-size: 12.5px; line-height: 1.55; margin: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
}
.footer-bottom .maple { color: var(--c-red); }

/* ============ SCROLL TO TOP ============ */

.scroll-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--c-teal);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s, transform .25s, visibility .25s, background .2s;
  z-index: 90;
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--c-teal-bright); }
.scroll-top svg { width: 22px; height: 22px; }

/* ============ 404 ============ */

.page-404 {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 60px;
}
.page-404 .code {
  font-family: var(--font-head);
  font-size: 130px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  text-shadow: 0 6px 24px rgba(0, 0, 0, .35);
}
.page-404 h1 { color: #fff; font-family: var(--font-head); text-transform: uppercase; font-size: 32px; margin: 12px 0; }
.page-404 p { color: rgba(255, 255, 255, .85); margin-bottom: 26px; }

/* ============ LEGAL PAGES ============ */

.legal-meta { font-size: 13.5px; color: var(--c-gray); margin-bottom: 18px; }

/* ============ RESPONSIVE ============ */

/* Header has to survive the stretch between the desktop layout and the burger. */
@media (max-width: 1080px) {
  .header-inner { gap: 10px; }
  .logo-link img { height: 38px; }
  .main-nav { gap: 2px; }
  .main-nav a { padding: 9px 11px; font-size: 12px; }
  .header-cta { padding: 10px 16px; font-size: 12px; }
  .header-actions { gap: 8px; }
  .header-flag { font-size: 12px; gap: 6px; }
  .header-flag svg { width: 26px; height: 17px; }
}

@media (max-width: 1024px) {
  .hero h1 { font-size: 36px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .content-card { padding: 28px 26px; }

  /* Tables keep readable columns and scroll horizontally instead of squeezing:
     min-width per cell means total width scales with the number of columns. */
  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius);
  }
  .table-wrap table { min-width: 500px; }
  .table-wrap thead th,
  .table-wrap tbody td,
  .table-wrap tbody th { min-width: 140px; }
  .table-wrap table.table-dense thead th,
  .table-wrap table.table-dense tbody td,
  .table-wrap table.table-dense tbody th { min-width: 120px; }
  /* First column carries the row label — give it a little more room */
  .table-wrap tbody tr > *:first-child,
  .table-wrap thead th:first-child { min-width: 160px; }
}

@media (max-width: 860px) {
  .main-nav, .header-actions { display: none; }
  .header-flag { margin-left: auto; }
  .burger { display: block; }
  .hero-inner { flex-direction: column; align-items: flex-start; padding: 36px 0; }
  .hero-text { width: 100%; }
  .hero h1 { font-size: 30px; }
  /* Desktop overlay stays; the glyph shadow only adds contrast on top of it. */
  .hero h1,
  .hero-sub,
  .breadcrumbs {
    text-shadow:
      0 0 2px rgba(0, 20, 24, .98),
      0 1px 4px rgba(0, 20, 24, .95),
      0 2px 12px rgba(0, 20, 24, .92),
      0 0 26px rgba(0, 20, 24, .85);
  }
  .pros-cons { grid-template-columns: 1fr; }
  .bonus-banner, .app-banner { flex-direction: column; align-items: flex-start; }
  /* Text moves over the artwork here, so it gets its own frosted plate
     instead of veiling the whole banner. */
  .bonus-banner::before,
  .bonus-banner.alt::before { background: none; }
  .bonus-banner-text {
    max-width: 100%;
    background: rgba(3, 44, 50, .72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: var(--radius);
    padding: 22px 20px;
  }
  .bonus-banner.alt .bonus-banner-text { background: rgba(88, 13, 10, .72); }
  .bonus-banner-media, .app-banner-media { flex-basis: auto; max-width: 280px; }
  .app-banner-buttons { flex-direction: row; flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 700px) {
  .hero { background-position: 70% center; }
}


@media (max-width: 560px) {
  /* Footer stacks into a single column, so everything lines up centred. */
  .footer-cols { grid-template-columns: 1fr; text-align: center; }
  .footer-about img { margin-left: auto; margin-right: auto; }
  .footer-warn { flex-direction: column; text-align: center; }
  .content-card { padding: 22px 16px; }
  .content-card h2 { font-size: 23px; }
  .hero h1 { font-size: 26px; }
  .page-404 .code { font-size: 90px; }

  /* Everything centres up once the rows get too narrow to sit side by side. */
  .hero-text,
  .bonus-banner-text,
  .app-banner-text { text-align: center; width: 100%; }
  .hero-actions,
  .bonus-banner-action,
  .app-banner-buttons,
  .breadcrumbs ol { justify-content: center; }
  .bonus-banner-action,
  .app-banner-buttons { display: flex; width: 100%; }
  .hero-inner,
  .bonus-banner,
  .app-banner { align-items: center; }
  .hero-rating { align-self: center; }
}

@media (max-width: 450px) {
  .container { padding: 0 10px; }
  .header-inner { height: 60px; gap: 10px; }
  .logo-link img { height: 34px; }
  .header-flag svg { width: 26px; height: 17px; }
  .header-flag { font-size: 12px; gap: 6px; }
  .hero { margin-top: 60px; }
  .content-card { padding: 18px 12px; }
  .bonus-banner, .app-banner { padding: 20px 14px; }
  .hero-inner { padding: 28px 0; }
  thead th, tbody td, tbody th { padding: 8px 6px; }
}

@media (max-width: 400px) {
  .mobile-nav-actions { flex-direction: column; align-items: center; }
  .mobile-nav-actions a { flex: 0 0 auto; width: 100%; max-width: 260px; }
}

@media (max-width: 360px) {
  .header-inner { height: 54px; gap: 8px; }
  .logo-link img { height: 28px; }
  .header-flag svg { width: 22px; height: 15px; }
  .header-flag { font-size: 11px; gap: 5px; }
  .burger { padding: 6px; }
  .burger span { width: 22px; height: 2.5px; margin: 4px 0; }
  /* Cross arms must travel exactly one line pitch (height + margin) to meet. */
  .burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .hero { margin-top: 54px; }
  .page-404 { min-height: calc(100vh - 54px); }
}

/* ============ 22BET COUNTRY LINKS ============ */
.footer-countries {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 22px 0 24px;
}
.footer-countries-title {
  display: inline-block;
  position: relative;
  margin: 0 0 16px;
  padding-bottom: 8px;
  color: #fff;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}
.footer-countries-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 3px;
  background: rgb(45, 166, 177);
  border-radius: 2px;
}
.footer-countries-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-country {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.footer-country:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
  text-decoration: none;
}
.footer-country.footer-country--current {
  background: rgba(233, 185, 73, .1);
  border-color: #e9b949;
  color: #fff;
}
.footer-flag {
  flex-shrink: 0;
  width: 24px;
  height: 16px;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25);
}
.footer-flag svg { display: block; width: 100%; height: 100%; }
@media (max-width: 560px) {
  .footer-countries { text-align: center; }
  /* two even columns; every name stays on one line */
  .footer-countries-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .footer-countries-list li { min-width: 0; }
  .footer-country { display: flex; width: 100%; min-width: 0; padding: 7px 10px 7px 7px; font-size: 12.5px; text-align: left; white-space: nowrap; }
  .footer-country-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 380px) {
  .footer-countries-list { gap: 6px; }
  .footer-country { gap: 6px; padding: 6px 8px 6px 6px; font-size: 11.5px; }
  .footer-flag { width: 18px; height: 12px; }
}
@media (max-width: 339px) {
  .footer-country { gap: 5px; padding: 6px 6px 6px 5px; font-size: 11px; letter-spacing: -.01em; }
  .footer-flag { width: 16px; height: 11px; }
}
/* up to 330px: one pill per row, back to the regular size */
@media (max-width: 330px) {
  .footer-countries-list { grid-template-columns: minmax(0, 1fr); }
  .footer-country { gap: 9px; padding: 7px 12px 7px 8px; font-size: 12.5px; letter-spacing: normal; }
  .footer-flag { width: 22px; height: 15px; }
}
